Skip to content

Commit b3d58ff

Browse files
Bump rubocop-govuk from 4.10.0 to 4.14.0 (#724)
* Bump rubocop-govuk from 4.10.0 to 4.14.0 Bumps [rubocop-govuk](https://github.com/alphagov/rubocop-govuk) from 4.10.0 to 4.14.0. - [Changelog](https://github.com/alphagov/rubocop-govuk/blob/main/CHANGELOG.md) - [Commits](alphagov/rubocop-govuk@v4.10.0...v4.14.0) --- updated-dependencies: - dependency-name: rubocop-govuk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Updating test wording --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Pepler <andrew.pepler@digital.justice.gov.uk>
1 parent 12cd4c4 commit b3d58ff

File tree

4 files changed

+31
-25
lines changed

4 files changed

+31
-25
lines changed

Gemfile.lock

+26-20
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ GEM
165165
highline (2.1.0)
166166
html-attributes-utils (1.0.2)
167167
activesupport (>= 6.1.4.4)
168-
i18n (1.14.1)
168+
i18n (1.14.4)
169169
concurrent-ruby (~> 1.0)
170170
i18n-debug (1.2.0)
171171
i18n (< 2)
@@ -188,7 +188,8 @@ GEM
188188
rails-dom-testing (>= 1, < 3)
189189
railties (>= 4.2.0)
190190
thor (>= 0.14, < 2.0)
191-
json (2.6.3)
191+
json (2.7.1)
192+
language_server-protocol (3.17.0.3)
192193
listen (3.8.0)
193194
rb-fsevent (~> 0.10, >= 0.10.3)
194195
rb-inotify (~> 0.9, >= 0.9.10)
@@ -234,8 +235,8 @@ GEM
234235
mini_portile2 (~> 2.8.2)
235236
racc (~> 1.4)
236237
pagy (6.5.0)
237-
parallel (1.23.0)
238-
parser (3.2.2.3)
238+
parallel (1.24.0)
239+
parser (3.3.0.5)
239240
ast (~> 2.4.1)
240241
racc
241242
pg (1.5.3)
@@ -286,7 +287,7 @@ GEM
286287
rb-fsevent (0.11.2)
287288
rb-inotify (0.10.1)
288289
ffi (~> 1.0)
289-
regexp_parser (2.8.1)
290+
regexp_parser (2.9.0)
290291
reline (0.3.4)
291292
io-console (~> 0.5)
292293
request_store (1.5.1)
@@ -313,35 +314,40 @@ GEM
313314
rspec-mocks (~> 3.12)
314315
rspec-support (~> 3.12)
315316
rspec-support (3.12.1)
316-
rubocop (1.44.1)
317+
rubocop (1.60.2)
317318
json (~> 2.3)
319+
language_server-protocol (>= 3.17.0)
318320
parallel (~> 1.10)
319-
parser (>= 3.2.0.0)
321+
parser (>= 3.3.0.2)
320322
rainbow (>= 2.2.2, < 4.0)
321323
regexp_parser (>= 1.8, < 3.0)
322324
rexml (>= 3.2.5, < 4.0)
323-
rubocop-ast (>= 1.24.1, < 2.0)
325+
rubocop-ast (>= 1.30.0, < 2.0)
324326
ruby-progressbar (~> 1.7)
325327
unicode-display_width (>= 2.4.0, < 3.0)
326-
rubocop-ast (1.24.1)
327-
parser (>= 3.1.1.0)
328-
rubocop-capybara (2.18.0)
328+
rubocop-ast (1.30.0)
329+
parser (>= 3.2.1.0)
330+
rubocop-capybara (2.20.0)
329331
rubocop (~> 1.41)
330-
rubocop-govuk (4.10.0)
331-
rubocop (= 1.44.1)
332-
rubocop-ast (= 1.24.1)
333-
rubocop-rails (= 2.17.4)
332+
rubocop-factory_bot (2.25.1)
333+
rubocop (~> 1.41)
334+
rubocop-govuk (4.14.0)
335+
rubocop (= 1.60.2)
336+
rubocop-ast (= 1.30.0)
337+
rubocop-rails (= 2.23.1)
334338
rubocop-rake (= 0.6.0)
335-
rubocop-rspec (= 2.18.1)
336-
rubocop-rails (2.17.4)
339+
rubocop-rspec (= 2.26.1)
340+
rubocop-rails (2.23.1)
337341
activesupport (>= 4.2.0)
338342
rack (>= 1.1)
339343
rubocop (>= 1.33.0, < 2.0)
344+
rubocop-ast (>= 1.30.0, < 2.0)
340345
rubocop-rake (0.6.0)
341346
rubocop (~> 1.0)
342-
rubocop-rspec (2.18.1)
343-
rubocop (~> 1.33)
347+
rubocop-rspec (2.26.1)
348+
rubocop (~> 1.40)
344349
rubocop-capybara (~> 2.17)
350+
rubocop-factory_bot (~> 2.22)
345351
ruby-progressbar (1.13.0)
346352
rubyzip (2.3.2)
347353
sass (3.7.4)
@@ -392,7 +398,7 @@ GEM
392398
concurrent-ruby (~> 1.0)
393399
uglifier (4.2.0)
394400
execjs (>= 0.3.0, < 3)
395-
unicode-display_width (2.4.2)
401+
unicode-display_width (2.5.0)
396402
view_component (3.10.0)
397403
activesupport (>= 5.2.0, < 8.0)
398404
concurrent-ruby (~> 1.0)

spec/forms/steps/conviction/known_date_form_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
it_behaves_like "a date question form", attribute_name: :known_date do
77
before do
8-
allow(form).to receive(:after_conviction_date?).and_return(true) # rubocop:disable RSpec/SubjectStub
8+
allow(form).to receive(:after_conviction_date?).and_return(true) # rubocop:disable RSpec/SubjectStub
99
end
1010
end
1111

spec/services/calculators/multiples/multiple_offenses_calculator_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
end
7474

7575
# See graph in docs/results/06_relevant_order_1.png
76-
context "conviction A with 2 sentences (relevant and non relevant)," \
76+
context "when conviction A with 2 sentences (relevant and non relevant)," \
7777
"conviction B with 1 relevant order sentence, conviction C with 1 non relevant sentence" do
7878
# conviction with:
7979
# 1 relevant order, the longest of both, spent_date: 1 Jan 2005
@@ -120,7 +120,7 @@
120120
end
121121

122122
# See graph in docs/results/07_relevant_order_2.png
123-
context "conviction A with 2 sentences (relevant & non-relevant) conviction B with 1 non-relevant sentence - overlaps A," \
123+
context "when conviction A with 2 sentences (relevant & non-relevant) conviction B with 1 non-relevant sentence - overlaps A," \
124124
"conviction C with 1 non-relevant sentence - overlaps non-relevant sentence of conviction A" do
125125
# conviction with:
126126
# 1 relevant order, the longest of both, spent_date: 1 June 2008

spec/services/check_result_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
context "when a caution" do
1313
let(:kind) { :adult_caution }
1414

15-
it "will call a calculator" do
15+
it "calls a calculator" do
1616
expect(check_result).to receive(:calculator).and_call_original # rubocop:disable RSpec/SubjectStub
1717
check_result.expiry_date
1818
end
@@ -23,7 +23,7 @@
2323
context "when a conviction" do
2424
let(:kind) { :dto_conviction }
2525

26-
it "will call method on a calculator" do
26+
it "calls method on a calculator" do
2727
expect(check_result).to receive(:calculator).and_call_original # rubocop:disable RSpec/SubjectStub
2828
check_result.expiry_date
2929
end

0 commit comments

Comments
 (0)