File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments