From 426fcb8421585fe41b71e6a893468eea6c5744bb Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Wed, 20 Sep 2023 00:02:51 +0900 Subject: [PATCH] Bump version v2.19.0 --- CHANGELOG.md | 6 ++++-- config/default.yml | 6 +++--- docs/antora.yml | 2 +- docs/modules/ROOT/pages/cops_capybara.adoc | 2 +- docs/modules/ROOT/pages/cops_capybara_rspec.adoc | 4 ++-- lib/rubocop/capybara/version.rb | 2 +- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27a6c7ce..0dffc141 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 a3341c6e..4f6506e4 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 8ec12200..f8978faa 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 61eaa2e3..ca301ff0 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 847d601d..fe2cc427 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 94846727..8a18be64 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