From 2e837212ca1452da785547a47dd7062f6b58c7df Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 2 Jan 2024 18:45:36 +0900 Subject: [PATCH] Bump version v2.20.0 --- CHANGELOG.md | 2 ++ config/default.yml | 6 +++--- docs/antora.yml | 2 +- docs/modules/ROOT/pages/cops_capybara.adoc | 6 +++--- lib/rubocop/capybara/version.rb | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a1b4de9..f1edb750 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Edge (Unreleased) +## 2.20.0 (2024-01-03) + - Change to default `EnforcedStyle: link_or_button` for `Capybara/ClickLinkOrButtonStyle` cop. ([@ydah]) - Fix a false negative for `RSpec/HaveSelector` when first argument is dstr node. ([@ydah]) - Add new `Capybara/RedundantWithinFind` cop. ([@ydah]) diff --git a/config/default.yml b/config/default.yml index bc7954bb..97f888a5 100644 --- a/config/default.yml +++ b/config/default.yml @@ -13,7 +13,7 @@ Capybara/ClickLinkOrButtonStyle: Description: Checks for methods of button or link clicks. Enabled: pending VersionAdded: '2.19' - VersionChanged: "<>" + VersionChanged: '2.20' EnforcedStyle: link_or_button SupportedStyles: - link_or_button @@ -37,7 +37,7 @@ Capybara/NegationMatcher: Description: Enforces use of `have_no_*` or `not_to` for negated expectations. Enabled: pending VersionAdded: '2.14' - VersionChanged: "<>" + VersionChanged: '2.20' EnforcedStyle: have_no SupportedStyles: - have_no @@ -47,7 +47,7 @@ Capybara/NegationMatcher: Capybara/RedundantWithinFind: Description: Checks for redundant `within find(...)` calls. Enabled: pending - VersionAdded: "<>" + VersionAdded: '2.20' Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RedundantWithinFind Capybara/SpecificActions: diff --git a/docs/antora.yml b/docs/antora.yml index 8ec12200..d6837ab5 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,5 +1,5 @@ name: rubocop-capybara title: RuboCop Capybara -version: ~ +version: '2.20' nav: - modules/ROOT/nav.adoc diff --git a/docs/modules/ROOT/pages/cops_capybara.adoc b/docs/modules/ROOT/pages/cops_capybara.adoc index 54596192..74c71029 100644 --- a/docs/modules/ROOT/pages/cops_capybara.adoc +++ b/docs/modules/ROOT/pages/cops_capybara.adoc @@ -9,7 +9,7 @@ | Yes | No | 2.19 -| <> +| 2.20 |=== Checks for methods of button or link clicks. @@ -170,7 +170,7 @@ expect(page).to match_style(display: 'block') | Yes | Yes | 2.14 -| <> +| 2.20 |=== Enforces use of `have_no_*` or `not_to` for negated expectations. @@ -225,7 +225,7 @@ expect(page).not_to have_css('a') | Pending | Yes | Yes -| <> +| 2.20 | - |=== diff --git a/lib/rubocop/capybara/version.rb b/lib/rubocop/capybara/version.rb index 8a18be64..ef5fa608 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.19.0' + STRING = '2.20.0' end end end