diff --git a/CHANGELOG.md b/CHANGELOG.md index 27a6c7c..0dffc14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,14 @@ ## Edge (Unreleased) -- Drop Ruby 2.6 support. ([@ydah]) +## 2.19.0 (2023-09-20) + - Add new `Capybara/RSpec/PredicateMatcher` cop. ([@ydah]) -- Fix a false positive for `Capybara/SpecificFinders` when `find` with kind option. ([@ydah]) - Add new `Capybara/RSpec/HaveSelector` cop. ([@ydah]) - Add new `Capybara/ClickLinkOrButtonStyle` cop. ([@ydah]) +- Fix a false positive for `Capybara/SpecificFinders` when `find` with kind option. ([@ydah]) - Fix an incorrect autocorrect for `Capybara/CurrentPathExpectation`. ([@ydah]) +- Drop Ruby 2.6 support. ([@ydah]) ## 2.18.0 (2023-04-21) diff --git a/config/default.yml b/config/default.yml index a3341c6..4f6506e 100644 --- a/config/default.yml +++ b/config/default.yml @@ -12,7 +12,7 @@ Capybara: Capybara/ClickLinkOrButtonStyle: Description: Checks for click button or link style. Enabled: pending - VersionAdded: "<>" + VersionAdded: '2.19' EnforcedStyle: strict SupportedStyles: - strict @@ -75,7 +75,7 @@ Capybara/RSpec/HaveSelector: Description: Use `have_css` or `have_xpath` instead of `have_selector`. Enabled: pending DefaultSelector: css - VersionAdded: "<>" + VersionAdded: '2.19' Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RSpec/HaveSelector Capybara/RSpec/PredicateMatcher: @@ -87,5 +87,5 @@ Capybara/RSpec/PredicateMatcher: SupportedStyles: - inflected - explicit - VersionAdded: "<>" + VersionAdded: '2.19' Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RSpec/PredicateMatcher diff --git a/docs/antora.yml b/docs/antora.yml index 8ec1220..f8978fa 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-capybara title: RuboCop Capybara -version: ~ +version: '2.19' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_capybara.adoc b/docs/modules/ROOT/pages/cops_capybara.adoc index 61eaa2e..ca301ff 100644 --- a/docs/modules/ROOT/pages/cops_capybara.adoc +++ b/docs/modules/ROOT/pages/cops_capybara.adoc @@ -8,7 +8,7 @@ | Pending | Yes | No -| <> +| 2.19 | - |=== diff --git a/docs/modules/ROOT/pages/cops_capybara_rspec.adoc b/docs/modules/ROOT/pages/cops_capybara_rspec.adoc index 847d601..fe2cc42 100644 --- a/docs/modules/ROOT/pages/cops_capybara_rspec.adoc +++ b/docs/modules/ROOT/pages/cops_capybara_rspec.adoc @@ -8,7 +8,7 @@ | Pending | Yes | Yes -| <> +| 2.19 | - |=== @@ -75,7 +75,7 @@ expect(foo).to have_xpath('bar') | Pending | Yes | Yes -| <> +| 2.19 | - |=== diff --git a/lib/rubocop/capybara/version.rb b/lib/rubocop/capybara/version.rb index 9484672..8a18be6 100644 --- a/lib/rubocop/capybara/version.rb +++ b/lib/rubocop/capybara/version.rb @@ -4,7 +4,7 @@ module RuboCop module Capybara # Version information for the Capybara RuboCop plugin. module Version - STRING = '2.18.0' + STRING = '2.19.0' end end end