Skip to content

Commit 846b59b

Browse files
Merge pull request #870 from davidsiaw/dependabot/bundler/rubocop-rails-2.27.0
2 parents e197746 + 680b93d commit 846b59b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,10 @@ GEM
397397
rubocop (~> 1.41)
398398
rubocop-factory_bot (2.26.1)
399399
rubocop (~> 1.61)
400-
rubocop-rails (2.25.1)
400+
rubocop-rails (2.27.0)
401401
activesupport (>= 4.2.0)
402402
rack (>= 1.1)
403-
rubocop (>= 1.33.0, < 2.0)
403+
rubocop (>= 1.52.0, < 2.0)
404404
rubocop-ast (>= 1.31.1, < 2.0)
405405
rubocop-rspec (3.2.0)
406406
rubocop (~> 1.61)

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Application < Rails::Application
3737
config.generators.system_tests = nil
3838

3939
config.paths.add File.join('app', 'apis'), glob: File.join('**', '*.rb')
40-
config.autoload_paths += Dir[Rails.root.join('app/apis/*')]
40+
config.autoload_paths += Rails.root.glob('app/apis/*')
4141
config.active_job.queue_adapter = :sidekiq
4242

4343
# Use default logging formatter so that PID and timestamp are not suppressed.

spec/rails_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# directory. Alternatively, in the individual `*_spec.rb` files, manually
2424
# require only the support files necessary.
2525
#
26-
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
26+
Rails.root.glob('spec/support/**/*.rb').each { |f| require f }
2727

2828
# Checks for pending migrations and applies them before tests are run.
2929
# If you are not using ActiveRecord, you can remove these lines.

0 commit comments

Comments
 (0)