diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 8badbab31..1c0692fd9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 400` -# on 2025-11-17 17:32:59 UTC using RuboCop version 1.81.7. +# on 2026-02-02 14:59:16 UTC using RuboCop version 1.84.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -152,7 +152,7 @@ RSpec/MessageExpectation: - 'spec/tasks/remove_old_stories_spec.rb' - 'spec/utils/i18n_support_spec.rb' -# Offense count: 26 +# Offense count: 25 # Configuration parameters: Max. RSpec/MultipleExpectations: Exclude: @@ -161,7 +161,6 @@ RSpec/MultipleExpectations: - 'spec/commands/feed/import_from_opml_spec.rb' - 'spec/repositories/feed_repository_spec.rb' - 'spec/repositories/story_repository_spec.rb' - - 'spec/requests/feeds_controller_spec.rb' - 'spec/tasks/remove_old_stories_spec.rb' - 'spec/utils/feed_discovery_spec.rb' - 'spec/utils/i18n_support_spec.rb' @@ -253,6 +252,24 @@ Rails/Validation: Exclude: - 'app/models/story.rb' +# Offense count: 16 +# This cop supports unsafe autocorrection (--autocorrect-all). +# Configuration parameters: EnforcedStyle. +# SupportedStyles: brackets, fetch +Style/HashLookupMethod: + Exclude: + - 'app/commands/story/mark_as_read.rb' + - 'app/commands/story/mark_as_starred.rb' + - 'app/commands/story/mark_as_unread.rb' + - 'app/commands/story/mark_as_unstarred.rb' + - 'app/controllers/application_controller.rb' + - 'app/controllers/feeds_controller.rb' + - 'app/controllers/stories_controller.rb' + - 'config/application.rb' + - 'spec/repositories/feed_repository_spec.rb' + - 'spec/repositories/story_repository_spec.rb' + - 'spec/repositories/user_repository_spec.rb' + # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: diff --git a/Gemfile.lock b/Gemfile.lock index 457ee6388..82f383973 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -158,7 +158,7 @@ GEM raabro (~> 1.4) globalid (1.3.0) activesupport (>= 6.1) - good_job (4.13.1) + good_job (4.13.2) activejob (>= 6.1.0) activerecord (>= 6.1.0) concurrent-ruby (>= 1.3.1) @@ -224,7 +224,7 @@ GEM pp (0.6.3) prettyprint prettyprint (0.2.0) - prism (1.8.0) + prism (1.9.0) pry (0.16.0) coderay (~> 1.1) method_source (~> 1.0) @@ -315,8 +315,8 @@ GEM rspec-expectations (~> 3.13) rspec-mocks (~> 3.13) rspec-support (~> 3.13) - rspec-support (3.13.6) - rubocop (1.82.1) + rspec-support (3.13.7) + rubocop (1.84.0) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -324,7 +324,7 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.48.0, < 2.0) + rubocop-ast (>= 1.49.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) rubocop-ast (1.49.0) @@ -380,7 +380,7 @@ GEM activesupport (>= 6.1) sprockets (>= 3.0.0) stringio (3.2.0) - stripe (18.2.0) + stripe (18.3.0) sync (0.5.0) term-ansicolor (1.11.3) tins (~> 1)