From: Tom Hughes Date: Wed, 15 Sep 2021 17:38:25 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/3324' X-Git-Tag: live~2059 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/5652e9f6b95c1e44db597c0136a985aef5e28ad5?hp=dfcecb0118cc6d0451f0ffd74aa0e735f97f2d77 Merge remote-tracking branch 'upstream/pull/3324' --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 0a7edc2a5..90bfaa8f9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -140,12 +140,6 @@ Rails/BulkChangeTable: - 'db/migrate/20120208194454_add_domain_to_acl.rb' - 'db/migrate/20120404205604_add_user_and_description_to_redaction.rb' -# Offense count: 43 -# Cop supports --auto-correct. -Rails/ContentTag: - Exclude: - - 'test/lib/locale_test.rb' - # Offense count: 2 # Configuration parameters: Include. # Include: app/models/**/*.rb diff --git a/Gemfile b/Gemfile index 6b1049ec7..75cb1054b 100644 --- a/Gemfile +++ b/Gemfile @@ -145,7 +145,7 @@ group :test do gem "rubocop" gem "rubocop-minitest" gem "rubocop-performance" - gem "rubocop-rails" + gem "rubocop-rails", "~> 2.11.3" # Bug in 2.12.0, fixed in master after 2.12.2 gem "rubocop-rake" gem "selenium-webdriver" gem "simplecov", :require => false diff --git a/Gemfile.lock b/Gemfile.lock index 211e673cd..4daf0bb81 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -421,7 +421,7 @@ GEM rubocop-performance (1.11.5) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.12.2) + rubocop-rails (2.11.3) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.7.0, < 2.0) @@ -560,7 +560,7 @@ DEPENDENCIES rubocop rubocop-minitest rubocop-performance - rubocop-rails + rubocop-rails (~> 2.11.3) rubocop-rake sanitize sassc-rails