Skip to content

Commit ae32988

Browse files
authored
Merge pull request #88 from rubocop/bump-version
Bump version v2.20.0
2 parents 1e11df9 + 2e83721 commit ae32988

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Edge (Unreleased)
44

5+
## 2.20.0 (2024-01-03)
6+
57
- Change to default `EnforcedStyle: link_or_button` for `Capybara/ClickLinkOrButtonStyle` cop. ([@ydah])
68
- Fix a false negative for `RSpec/HaveSelector` when first argument is dstr node. ([@ydah])
79
- Add new `Capybara/RedundantWithinFind` cop. ([@ydah])

config/default.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Capybara/ClickLinkOrButtonStyle:
1313
Description: Checks for methods of button or link clicks.
1414
Enabled: pending
1515
VersionAdded: '2.19'
16-
VersionChanged: "<<next>>"
16+
VersionChanged: '2.20'
1717
EnforcedStyle: link_or_button
1818
SupportedStyles:
1919
- link_or_button
@@ -37,7 +37,7 @@ Capybara/NegationMatcher:
3737
Description: Enforces use of `have_no_*` or `not_to` for negated expectations.
3838
Enabled: pending
3939
VersionAdded: '2.14'
40-
VersionChanged: "<<next>>"
40+
VersionChanged: '2.20'
4141
EnforcedStyle: have_no
4242
SupportedStyles:
4343
- have_no
@@ -47,7 +47,7 @@ Capybara/NegationMatcher:
4747
Capybara/RedundantWithinFind:
4848
Description: Checks for redundant `within find(...)` calls.
4949
Enabled: pending
50-
VersionAdded: "<<next>>"
50+
VersionAdded: '2.20'
5151
Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RedundantWithinFind
5252

5353
Capybara/SpecificActions:

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rubocop-capybara
22
title: RuboCop Capybara
3-
version: ~
3+
version: '2.20'
44
nav:
55
- modules/ROOT/nav.adoc

docs/modules/ROOT/pages/cops_capybara.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| Yes
1010
| No
1111
| 2.19
12-
| <<next>>
12+
| 2.20
1313
|===
1414

1515
Checks for methods of button or link clicks.
@@ -170,7 +170,7 @@ expect(page).to match_style(display: 'block')
170170
| Yes
171171
| Yes
172172
| 2.14
173-
| <<next>>
173+
| 2.20
174174
|===
175175

176176
Enforces use of `have_no_*` or `not_to` for negated expectations.
@@ -225,7 +225,7 @@ expect(page).not_to have_css('a')
225225
| Pending
226226
| Yes
227227
| Yes
228-
| <<next>>
228+
| 2.20
229229
| -
230230
|===
231231

lib/rubocop/capybara/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RuboCop
44
module Capybara
55
# Version information for the Capybara RuboCop plugin.
66
module Version
7-
STRING = '2.19.0'
7+
STRING = '2.20.0'
88
end
99
end
1010
end

0 commit comments

Comments
 (0)