From c5095e5d6c06feda945423b040eaeaad081dff68 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Wed, 24 Aug 2022 08:18:08 +0900 Subject: [PATCH] Fix incorrect documentation URLs when using `rubocop --show-docs-url` --- CHANGELOG.md | 1 + config/default.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d3af2fe1..fc1edf26f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ * Add `NegatedMatcher` configuration option to `RSpec/ChangeByZero`. ([@ydah][]) * Add new `RSpec/Capybara/SpecificFinders` cop. ([@ydah][]) * Add support for numblocks to `RSpec/AroundBlock`, `RSpec/EmptyLineAfterHook`, `RSpec/ExpectInHook`, `RSpec/HookArgument`, `RSpec/HooksBeforeExamples`, `RSpec/IteratedExpectation`, and `RSpec/NoExpectationExample`. ([@ydah][]) +* Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura][]) ## 2.12.1 (2022-07-03) diff --git a/config/default.yml b/config/default.yml index 8df64c7a6..a3cd4f47d 100644 --- a/config/default.yml +++ b/config/default.yml @@ -2,6 +2,7 @@ RSpec: Enabled: true StyleGuideBaseURL: https://rspec.rubystyle.guide + DocumentationBaseURL: https://docs.rubocop.org/rubocop-rspec Include: &1 - "**/*_spec.rb" - "**/spec/**/*"