Skip to content

Commit

Permalink
Merge pull request #70 from rubocop/bump-version
Browse files Browse the repository at this point in the history
Bump version v2.19.0
  • Loading branch information
ydah authored Sep 19, 2023
2 parents 8696fdd + 426fcb8 commit 749c1c3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Capybara:
Capybara/ClickLinkOrButtonStyle:
Description: Checks for click button or link style.
Enabled: pending
VersionAdded: "<<next>>"
VersionAdded: '2.19'
EnforcedStyle: strict
SupportedStyles:
- strict
Expand Down Expand Up @@ -75,7 +75,7 @@ Capybara/RSpec/HaveSelector:
Description: Use `have_css` or `have_xpath` instead of `have_selector`.
Enabled: pending
DefaultSelector: css
VersionAdded: "<<next>>"
VersionAdded: '2.19'
Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RSpec/HaveSelector

Capybara/RSpec/PredicateMatcher:
Expand All @@ -87,5 +87,5 @@ Capybara/RSpec/PredicateMatcher:
SupportedStyles:
- inflected
- explicit
VersionAdded: "<<next>>"
VersionAdded: '2.19'
Reference: https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/Capybara/RSpec/PredicateMatcher
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.19'
nav:
- modules/ROOT/nav.adoc
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_capybara.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Pending
| Yes
| No
| <<next>>
| 2.19
| -
|===

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/cops_capybara_rspec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Pending
| Yes
| Yes
| <<next>>
| 2.19
| -
|===

Expand Down Expand Up @@ -75,7 +75,7 @@ expect(foo).to have_xpath('bar')
| Pending
| Yes
| Yes
| <<next>>
| 2.19
| -
|===

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.18.0'
STRING = '2.19.0'
end
end
end

0 comments on commit 749c1c3

Please sign in to comment.