diff --git a/Gemfile b/Gemfile index 773069fc9..aec042b2f 100644 --- a/Gemfile +++ b/Gemfile @@ -25,8 +25,9 @@ group :development do gem "rake" gem "rspec" gem "pry" - gem "rubocop" + gem "rubocop", "~> 1.70.0" if RUBY_VERSION > "3.2" gem "test-unit" + gem "logger" # Explicitly add webrick because it has been removed from stdlib in Ruby 3.0 gem "webrick" end diff --git a/Gemfile.lock b/Gemfile.lock index 799664e48..aae6a9b10 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -83,6 +83,7 @@ GEM json (2.9.1) json (2.9.1-java) language_server-protocol (3.17.0.3) + logger (1.7.0) matrix (0.4.2) method_source (1.1.0) mini_mime (1.1.5) @@ -186,7 +187,7 @@ DEPENDENCIES rackup rake rspec - rubocop + rubocop (~> 1.70.0) simplecov! test-unit webrick diff --git a/test_projects/rails/rspec_rails/Gemfile b/test_projects/rails/rspec_rails/Gemfile index 986f08a00..edc605b2e 100644 --- a/test_projects/rails/rspec_rails/Gemfile +++ b/test_projects/rails/rspec_rails/Gemfile @@ -3,6 +3,7 @@ source "https://rubygems.org" # added gems +gem "logger" gem "rspec-rails" gem "simplecov", path: "../../.." diff --git a/test_projects/rails/rspec_rails/config/application.rb b/test_projects/rails/rspec_rails/config/application.rb index 3bae3ab6f..edda9f85f 100644 --- a/test_projects/rails/rspec_rails/config/application.rb +++ b/test_projects/rails/rspec_rails/config/application.rb @@ -1,5 +1,6 @@ require_relative "boot" +require "logger" require "rails" # Pick the frameworks you want: require "active_model/railtie"