From cbd8bd735c4ff750bf0eeaa4437b9282b413c39b Mon Sep 17 00:00:00 2001 From: zzak Date: Mon, 1 Jan 2024 02:18:17 +0900 Subject: [PATCH] Add rubocop-rails-omakase as development dependency (#50495) This gem is used in Railties tests so it must be a development dependency. Due to the fixture rails app tmp/rails/app_template faking Bundler and using the repo's Gemfile: https://github.com/rails/rails/blob/0fb5f67ac413d62df64b8b59094b4fe85999b5c1/railties/test/isolation/abstract_unit.rb#L618-L622 See also: e4b0488851 --- Gemfile | 3 +++ Gemfile.lock | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/Gemfile b/Gemfile index a972ebfaf64..8674cb2a521 100644 --- a/Gemfile +++ b/Gemfile @@ -56,6 +56,9 @@ group :rubocop do gem "rubocop-performance", require: false gem "rubocop-rails", require: false gem "rubocop-md", require: false + + # This gem is used in Railties tests so it must be a development dependency. + gem "rubocop-rails-omakase", require: false end group :mdl do diff --git a/Gemfile.lock b/Gemfile.lock index 8a9cd6a8004..d18371595b0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -469,6 +469,11 @@ GEM activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) + rubocop-rails-omakase (1.0.0) + rubocop + rubocop-minitest + rubocop-performance + rubocop-rails ruby-progressbar (1.13.0) ruby-vips (2.1.4) ffi (~> 1.12) @@ -632,6 +637,7 @@ DEPENDENCIES rubocop-packaging rubocop-performance rubocop-rails + rubocop-rails-omakase rubyzip (~> 2.0) sdoc! selenium-webdriver (>= 4.11.0)