Skip to content

Commit

Permalink
Add rubocop-rails-omakase as development dependency (#50495)
Browse files Browse the repository at this point in the history
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: e4b0488
  • Loading branch information
zzak committed Dec 31, 2023
1 parent fe39741 commit cbd8bd7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions Gemfile.lock
Expand Up @@ -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)
Expand Down Expand Up @@ -632,6 +637,7 @@ DEPENDENCIES
rubocop-packaging
rubocop-performance
rubocop-rails
rubocop-rails-omakase
rubyzip (~> 2.0)
sdoc!
selenium-webdriver (>= 4.11.0)
Expand Down

0 comments on commit cbd8bd7

Please sign in to comment.