rubocop-govuk 4.17.1 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16014fc69087f59de05259a5ada91cb2153a6330056e767ba15ab751ac916bec
4
- data.tar.gz: a85997bdd00601d8ab8ecf4ee5b2e34d2f9078b812ede0697ea3b565fe1eb494
3
+ metadata.gz: 36280cc4a712f00b506c05b517ae5ecb27ed67718482fcc2098d797a6053c2b4
4
+ data.tar.gz: d9382b62d850b2cdd0ec81374cadbf55f2e8935fdd17a47f3b0df1bac7222d4b
5
5
  SHA512:
6
- metadata.gz: 06ac34e0a296702b03bfecca60b944e1c6ad34187043414cb3e315ab2bc7f385fd4cab0983ced7422bb4d3964bd6bc27071ecff36cc1eee73b78e4766ff92454
7
- data.tar.gz: 474f61d394943f3d59055ead94938839c6f8f7527fbb8be8d63b8e17b972eb0678d1f3a6168aab82b3a98f1a957b192d2257dcb394f373dd0b22862c4a099bb3
6
+ metadata.gz: 294c80aab2363a31be819c2b0ac5f457d3f8c776a362521a85954f07c6278ee2f5b2283ca7873aa93195f359e166515d53f0639684b824e0f708ab871be139c3
7
+ data.tar.gz: e9dc1b072785b2020deb429510d02adfe61a3557855412288926bcacd7068b57666f264665304ef9cf5989d0269004c578f2a47ac2fe27ca14595b4d4e20f95e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 5.0.0
2
+
3
+ - 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
+
5
+ # 4.18.0
6
+
7
+ * Drop support for Ruby 3.0
8
+
1
9
  # 4.17.1
2
10
 
3
11
  * Update dependencies
data/config/capybara.yml CHANGED
@@ -1,6 +1,6 @@
1
+ require: rubocop-capybara
2
+
1
3
  # Within GOV.UK we use Capybara test method syntax of feature,
2
- # scenario. We don't want this outside of feature or system specs though.
3
- RSpec/Capybara/FeatureMethods:
4
- Exclude:
5
- - 'spec/features/**/*.rb'
6
- - 'spec/system/**/*.rb'
4
+ # scenario.
5
+ Capybara:
6
+ Enabled: true
data/config/rspec.yml CHANGED
@@ -51,3 +51,20 @@ RSpec/ContextWording:
51
51
  - without
52
52
  - and
53
53
  - but
54
+
55
+ # Within GOV.UK we use Capybara test method syntax of feature,
56
+ # scenario.
57
+ # We don't want this cop outside of feature or system specs though.
58
+ RSpec/Dialect:
59
+ # Disables all Capybara-specific methods that have the same native
60
+ # RSpec method (e.g. are just aliases)
61
+ PreferredMethods:
62
+ background: :before
63
+ scenario: :it
64
+ xscenario: :xit
65
+ given: :let
66
+ given!: :let!
67
+ feature: :describe
68
+ Exclude:
69
+ - 'spec/features/**/*.rb'
70
+ - 'spec/system/**/*.rb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-govuk
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.17.1
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-17 00:00:00.000000000 Z
11
+ date: 2024-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.63.5
33
+ version: 1.64.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.63.5
40
+ version: 1.64.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-ast
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.31.3
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-capybara
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.21.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 2.21.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rubocop-rails
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +100,14 @@ dependencies:
86
100
  requirements:
87
101
  - - '='
88
102
  - !ruby/object:Gem::Version
89
- version: 2.29.2
103
+ version: 3.0.1
90
104
  type: :runtime
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - '='
95
109
  - !ruby/object:Gem::Version
96
- version: 2.29.2
110
+ version: 3.0.1
97
111
  description: Shared RuboCop rules for Ruby projects in GOV.UK
98
112
  email:
99
113
  - govuk-dev@digital.cabinet-office.gov.uk
@@ -125,14 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
139
  requirements:
126
140
  - - ">="
127
141
  - !ruby/object:Gem::Version
128
- version: '3.0'
142
+ version: '3.1'
129
143
  required_rubygems_version: !ruby/object:Gem::Requirement
130
144
  requirements:
131
145
  - - ">="
132
146
  - !ruby/object:Gem::Version
133
147
  version: '0'
134
148
  requirements: []
135
- rubygems_version: 3.5.10
149
+ rubygems_version: 3.5.14
136
150
  signing_key:
137
151
  specification_version: 4
138
152
  summary: RuboCop GOV.UK