diff --git a/.github/workflows/activerecord.yml b/.github/workflows/activerecord.yml index 0e0bf764..7d2f50c7 100644 --- a/.github/workflows/activerecord.yml +++ b/.github/workflows/activerecord.yml @@ -6,17 +6,17 @@ jobs: continue-on-error: true strategy: matrix: - gemfile: [activerecord_4, activerecord_5, activerecord_6] - ruby: [2.5.9, 2.6.10, 2.7.7] + gemfile: [activerecord_6] + ruby: [2.7.7] include: - gemfile: activerecord_7 - ruby: '3.2' + ruby: "3.2" - gemfile: activerecord_7 - ruby: '3.1' + ruby: "3.1" - gemfile: activerecord_7 - ruby: '3.0' + ruby: "3.0" - gemfile: activerecord_6 - ruby: '3.0' + ruby: "3.0" env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile ADAPTER: active_record diff --git a/.github/workflows/mongoid.yml b/.github/workflows/mongoid.yml index 654666e8..51d79500 100644 --- a/.github/workflows/mongoid.yml +++ b/.github/workflows/mongoid.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: gemfile: [mongoid_5] - ruby: [2.5.9, 2.6.10, 2.7.7] + ruby: [2.7.7] env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile ADAPTER: mongoid diff --git a/gemfiles/activerecord_4.gemfile b/gemfiles/activerecord_4.gemfile deleted file mode 100644 index 201a18a9..00000000 --- a/gemfiles/activerecord_4.gemfile +++ /dev/null @@ -1,20 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "sqlite3", "~> 1.3.6" -gem "activerecord", "~> 4.2.11", require: "active_record" -gem "bigdecimal", "1.4.2" - -group :test do - gem "codeclimate-test-reporter", require: nil - gem "coveralls", require: false - gem "database_cleaner", "~> 1.6.2" - gem "its" - gem "test-unit" - gem "byebug" - gem "pry" - gem "pry-byebug" -end - -gemspec path: "../" diff --git a/gemfiles/activerecord_5.gemfile b/gemfiles/activerecord_5.gemfile deleted file mode 100644 index db7cba05..00000000 --- a/gemfiles/activerecord_5.gemfile +++ /dev/null @@ -1,22 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "sqlite3", "~> 1.3.6" -gem "activerecord", "~> 5.2.4", require: "active_record" -gem "actionpack", "~> 5.2.4" -gem "activemodel", "~> 5.2.4" -gem "railties", "~> 5.2.4" - -group :test do - gem "codeclimate-test-reporter", require: nil - gem "coveralls", require: false - gem "database_cleaner", "~> 1.6.2" - gem "its" - gem "test-unit" - gem "byebug" - gem "pry" - gem "pry-byebug" -end - -gemspec path: "../" diff --git a/spec/generators_helper.rb b/spec/generators_helper.rb index e4ccc2fb..d98cb7e4 100644 --- a/spec/generators_helper.rb +++ b/spec/generators_helper.rb @@ -5,6 +5,7 @@ require 'rolify' require 'rolify/matchers' +require 'logger' require 'rails/all' require_relative 'support/stream_helpers' include StreamHelpers diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e10b4e73..e7355fdd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,6 +6,7 @@ require 'rolify' require 'rolify/matchers' +require "logger" require 'rails' begin require 'its'