Skip to content

Commit

Permalink
Merge pull request #88 from rubocop/bump-version
Browse files Browse the repository at this point in the history
Bump version v2.20.0
  • Loading branch information
ydah authored Jan 2, 2024
2 parents 1e11df9 + 2e83721 commit ae32988
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
6 changes: 3 additions & 3 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Capybara/ClickLinkOrButtonStyle:
Description: Checks for methods of button or link clicks.
Enabled: pending
VersionAdded: '2.19'
VersionChanged: "<<next>>"
VersionChanged: '2.20'
EnforcedStyle: link_or_button
SupportedStyles:
- link_or_button
Expand All @@ -37,7 +37,7 @@ Capybara/NegationMatcher:
Description: Enforces use of `have_no_*` or `not_to` for negated expectations.
Enabled: pending
VersionAdded: '2.14'
VersionChanged: "<<next>>"
VersionChanged: '2.20'
EnforcedStyle: have_no
SupportedStyles:
- have_no
Expand All @@ -47,7 +47,7 @@ Capybara/NegationMatcher:
Capybara/RedundantWithinFind:
Description: Checks for redundant `within find(...)` calls.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.20'
Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RedundantWithinFind

Capybara/SpecificActions:
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rubocop-capybara
title: RuboCop Capybara
version: ~
version: '2.20'
nav:
- modules/ROOT/nav.adoc
6 changes: 3 additions & 3 deletions docs/modules/ROOT/pages/cops_capybara.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| Yes
| No
| 2.19
| <<next>>
| 2.20
|===

Checks for methods of button or link clicks.
Expand Down Expand Up @@ -170,7 +170,7 @@ expect(page).to match_style(display: 'block')
| Yes
| Yes
| 2.14
| <<next>>
| 2.20
|===

Enforces use of `have_no_*` or `not_to` for negated expectations.
Expand Down Expand Up @@ -225,7 +225,7 @@ expect(page).not_to have_css('a')
| Pending
| Yes
| Yes
| <<next>>
| 2.20
| -
|===

Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/capybara/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ae32988

Please sign in to comment.