Skip to content

Commit 39321fa

Browse files
authored
Merge pull request #837 from alphagov/dependabot/bundler/rubocop-govuk-5.2.1
Bump rubocop-govuk from 5.2.0 to 5.2.1
2 parents a624bc2 + ca4c81e commit 39321fa

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

Gemfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ GEM
476476
table_print (~> 1.5)
477477
term-ansicolor (~> 1.7)
478478
thor (>= 0.20, < 2.0)
479-
parallel (1.27.0)
480-
parser (3.3.10.1)
479+
parallel (1.28.0)
480+
parser (3.3.11.1)
481481
ast (~> 2.4.1)
482482
racc
483483
parslet (2.0.0)
@@ -584,26 +584,26 @@ GEM
584584
rspec-support (3.13.7)
585585
rss (0.3.2)
586586
rexml
587-
rubocop (1.82.1)
587+
rubocop (1.86.0)
588588
json (~> 2.3)
589589
language_server-protocol (~> 3.17.0.2)
590590
lint_roller (~> 1.1.0)
591591
parallel (~> 1.10)
592592
parser (>= 3.3.0.2)
593593
rainbow (>= 2.2.2, < 4.0)
594594
regexp_parser (>= 2.9.3, < 3.0)
595-
rubocop-ast (>= 1.48.0, < 2.0)
595+
rubocop-ast (>= 1.49.0, < 2.0)
596596
ruby-progressbar (~> 1.7)
597597
unicode-display_width (>= 2.4.0, < 4.0)
598-
rubocop-ast (1.49.0)
598+
rubocop-ast (1.49.1)
599599
parser (>= 3.3.7.2)
600600
prism (~> 1.7)
601601
rubocop-capybara (2.22.1)
602602
lint_roller (~> 1.1)
603603
rubocop (~> 1.72, >= 1.72.1)
604-
rubocop-govuk (5.2.0)
605-
rubocop (= 1.82.1)
606-
rubocop-ast (= 1.49.0)
604+
rubocop-govuk (5.2.1)
605+
rubocop (= 1.86.0)
606+
rubocop-ast (= 1.49.1)
607607
rubocop-capybara (= 2.22.1)
608608
rubocop-rails (= 2.34.3)
609609
rubocop-rake (= 0.7.1)

lib/collectors/global_prometheus_collector.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def metrics
2121
def get_oldest_postcode
2222
# Cache metric to prevent needless expensive calls to the database
2323
Rails.cache.fetch("metrics:oldest_postcode", expires_in: 1.hour) do
24-
(Time.zone.now.to_i - Postcode.os_places.order(updated_at: :asc).first.updated_at.to_i)
24+
Time.zone.now.to_i - Postcode.os_places.order(updated_at: :asc).first.updated_at.to_i
2525
end
2626
end
2727
end

0 commit comments

Comments
 (0)