Skip to content

Commit

Permalink
Merge pull request #393 from alphagov/new-release
Browse files Browse the repository at this point in the history
Release 5.0.0
  • Loading branch information
AgaDufrat authored Jun 25, 2024
2 parents 57aaeed + 3cfe11c commit 6f199ed
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 5.0.0

- BREAKING: Update rubocop-rspec to 3.0 which enables by default previously pending cops. See [rubocop-rspec's changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md#300-2024-06-11) for details.

# 4.18.0

* Drop support for Ruby 3.0
Expand Down
6 changes: 0 additions & 6 deletions config/capybara.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ require: rubocop-capybara
# scenario.
Capybara:
Enabled: true

# We don't want this cop outside of feature or system specs though.
RSpec/Dialect:
Exclude:
- 'spec/features/**/*.rb'
- 'spec/system/**/*.rb'
17 changes: 17 additions & 0 deletions config/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,20 @@ RSpec/ContextWording:
- without
- and
- but

# Within GOV.UK we use Capybara test method syntax of feature,
# scenario.
# We don't want this cop outside of feature or system specs though.
RSpec/Dialect:
# Disables all Capybara-specific methods that have the same native
# RSpec method (e.g. are just aliases)
PreferredMethods:
background: :before
scenario: :it
xscenario: :xit
given: :let
given!: :let!
feature: :describe
Exclude:
- 'spec/features/**/*.rb'
- 'spec/system/**/*.rb'
2 changes: 1 addition & 1 deletion rubocop-govuk.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "rubocop-govuk"
spec.version = "4.18.0"
spec.version = "5.0.0"
spec.authors = ["Government Digital Service"]
spec.email = ["[email protected]"]

Expand Down

0 comments on commit 6f199ed

Please sign in to comment.