diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 515cef5..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,29 +0,0 @@ -version: 2.1 -jobs: - build: - # working_directory: ~/appName - docker: - - image: cimg/ruby:3.1.6 - environment: - PG_HOST: localhost - PG_USER: ubuntu - - image: cimg/postgres:15.1 - environment: - POSTGRES_USER: ubuntu - POSTGRES_DB: circle_test - POSTGRES_PASSWORD: $POSTGRES_DB_PASSWORD - steps: - - checkout - - run: - name: Install Ruby Dependencies - command: bundle install - - run: - name: Install Appraisals Dependencies - command: bundle exec appraisal install - - run: - name: Run Appraisals Tests - environment: - POSTGRES_DB_USERNAME: ubuntu - POSTGRES_DB_DATABASE: circle_test - POSTGRES_DB_PASSWORD: $POSTGRES_DB_PASSWORD - command: bundle exec appraisal rspec diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db86d64..a72c105 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,8 +11,8 @@ jobs: strategy: matrix: os: [ubuntu-latest] - ruby: ['3.1'] - postgres: ['15.1'] + ruby: ['3.2', '3.3', '3.4'] + postgres: ['15.1', '15.14'] runs-on: ${{ matrix.os }} services: postgres: diff --git a/Appraisals b/Appraisals index b44f752..7cf46a0 100644 --- a/Appraisals +++ b/Appraisals @@ -24,3 +24,21 @@ appraise "activerecord_7_1_with_strong_migrations" do gem "activerecord", "~> 7.1.0" gem "strong_migrations" end + +appraise "activerecord_8_0" do + gem "activerecord", "~> 8.0.0" +end + +appraise "activerecord_8_0_with_strong_migrations" do + gem "activerecord", "~> 8.0.0" + gem "strong_migrations" +end + +appraise "activerecord_8_1" do + gem "activerecord", "~> 8.1.0" +end + +appraise "activerecord_8_1_with_strong_migrations" do + gem "activerecord", "~> 8.1.0" + gem "strong_migrations" +end diff --git a/CHANGELOG.md b/CHANGELOG.md index e68291f..66bde9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [Unreleased] + +## [2.0.0] +### Removed +- Dropped support for Ruby 3.1 +### Added +- Support for Rails 8.0 and 8.1 + ## [1.5.0] ### Removed - Dropped support for Rails 6.0 and earlier diff --git a/Gemfile b/Gemfile index 05b6f6a..825f7a3 100644 --- a/Gemfile +++ b/Gemfile @@ -7,8 +7,13 @@ gemspec group :development, :test do gem 'appraisal', require: false + gem 'base64', require: false + gem 'bigdecimal', require: false + gem 'benchmark', require: false gem 'database_cleaner', require: false gem 'pg', '~> 1.1', require: false + gem 'logger', require: false + gem 'mutex_m', require: false gem 'rake', '~> 13', require: false gem 'rspec', '~> 3.2', require: false end diff --git a/Gemfile.lock b/Gemfile.lock index 6769808..fa44bcc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,65 +1,68 @@ PATH remote: . specs: - migration-lock-timeout (1.5.0) - activerecord (>= 6.1, < 8.0) + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) GEM remote: https://rubygems.org/ specs: - activemodel (7.1.3.4) - activesupport (= 7.1.3.4) - activerecord (7.1.3.4) - activemodel (= 7.1.3.4) - activesupport (= 7.1.3.4) - timeout (>= 0.4.0) - activesupport (7.1.3.4) + activemodel (7.0.10) + activesupport (= 7.0.10) + activerecord (7.0.10) + activemodel (= 7.0.10) + activesupport (= 7.0.10) + activesupport (7.0.10) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) - connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) mutex_m + securerandom (>= 0.3) tzinfo (~> 2.0) appraisal (2.5.0) bundler rake thor (>= 0.14.0) - base64 (0.2.0) - bigdecimal (3.1.8) - concurrent-ruby (1.3.3) - connection_pool (2.4.1) - database_cleaner (2.0.2) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + database_cleaner (2.1.0) database_cleaner-active_record (>= 2, < 3) - database_cleaner-active_record (2.2.0) + database_cleaner-active_record (2.2.2) activerecord (>= 5.a) - database_cleaner-core (~> 2.0.0) + database_cleaner-core (~> 2.0) database_cleaner-core (2.0.1) - diff-lcs (1.5.1) - drb (2.2.1) - i18n (1.14.5) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) concurrent-ruby (~> 1.0) - minitest (5.24.1) - mutex_m (0.2.0) - pg (1.5.7) - rake (13.2.1) - rspec (3.13.0) + logger (1.7.0) + minitest (5.27.0) + mutex_m (0.3.0) + pg (1.6.3) + pg (1.6.3-arm64-darwin) + rake (13.3.1) + rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.6) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.7) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - thor (1.3.1) - timeout (0.4.1) + rspec-support (3.13.7) + securerandom (0.4.1) + thor (1.5.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) @@ -69,8 +72,13 @@ PLATFORMS DEPENDENCIES appraisal + base64 + benchmark + bigdecimal database_cleaner + logger migration-lock-timeout! + mutex_m pg (~> 1.1) rake (~> 13) rspec (~> 3.2) diff --git a/gemfiles/activerecord_6_1.gemfile b/gemfiles/activerecord_6_1.gemfile index 7edfe38..105ca50 100644 --- a/gemfiles/activerecord_6_1.gemfile +++ b/gemfiles/activerecord_6_1.gemfile @@ -6,8 +6,13 @@ gem "activerecord", "~> 6.1.0" group :development, :test do gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false gem "database_cleaner", require: false gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false gem "rake", "~> 13", require: false gem "rspec", "~> 3.2", require: false end diff --git a/gemfiles/activerecord_6_1.gemfile.lock b/gemfiles/activerecord_6_1.gemfile.lock index 6eab6b2..2d83994 100644 --- a/gemfiles/activerecord_6_1.gemfile.lock +++ b/gemfiles/activerecord_6_1.gemfile.lock @@ -1,18 +1,18 @@ PATH remote: .. specs: - migration-lock-timeout (1.5.0) - activerecord (>= 6.1, < 8.0) + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) GEM remote: https://rubygems.org/ specs: - activemodel (6.1.7.8) - activesupport (= 6.1.7.8) - activerecord (6.1.7.8) - activemodel (= 6.1.7.8) - activesupport (= 6.1.7.8) - activesupport (6.1.7.8) + activemodel (6.1.7.10) + activesupport (= 6.1.7.10) + activerecord (6.1.7.10) + activemodel (= 6.1.7.10) + activesupport (= 6.1.7.10) + activesupport (6.1.7.10) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -22,36 +22,44 @@ GEM bundler rake thor (>= 0.14.0) - concurrent-ruby (1.3.3) - database_cleaner (2.0.2) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + database_cleaner (2.1.0) database_cleaner-active_record (>= 2, < 3) - database_cleaner-active_record (2.2.0) + database_cleaner-active_record (2.2.2) activerecord (>= 5.a) - database_cleaner-core (~> 2.0.0) + database_cleaner-core (~> 2.0) database_cleaner-core (2.0.1) - diff-lcs (1.5.1) - i18n (1.14.5) + diff-lcs (1.6.2) + i18n (1.14.8) concurrent-ruby (~> 1.0) - minitest (5.24.1) - pg (1.5.7) - rake (13.2.1) - rspec (3.13.0) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.6) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.7) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - thor (1.3.1) + rspec-support (3.13.7) + thor (1.5.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - zeitwerk (2.6.17) + zeitwerk (2.7.4) PLATFORMS arm64-darwin-22 @@ -60,8 +68,13 @@ PLATFORMS DEPENDENCIES activerecord (~> 6.1.0) appraisal + base64 + benchmark + bigdecimal database_cleaner + logger migration-lock-timeout! + mutex_m pg (~> 1.1) rake (~> 13) rspec (~> 3.2) diff --git a/gemfiles/activerecord_6_1_with_strong_migrations.gemfile b/gemfiles/activerecord_6_1_with_strong_migrations.gemfile index 728c4d2..90c4f9b 100644 --- a/gemfiles/activerecord_6_1_with_strong_migrations.gemfile +++ b/gemfiles/activerecord_6_1_with_strong_migrations.gemfile @@ -7,8 +7,13 @@ gem "strong_migrations", "0.2" group :development, :test do gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false gem "database_cleaner", require: false gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false gem "rake", "~> 13", require: false gem "rspec", "~> 3.2", require: false end diff --git a/gemfiles/activerecord_6_1_with_strong_migrations.gemfile.lock b/gemfiles/activerecord_6_1_with_strong_migrations.gemfile.lock index b83448f..2927825 100644 --- a/gemfiles/activerecord_6_1_with_strong_migrations.gemfile.lock +++ b/gemfiles/activerecord_6_1_with_strong_migrations.gemfile.lock @@ -1,18 +1,18 @@ PATH remote: .. specs: - migration-lock-timeout (1.5.0) - activerecord (>= 6.1, < 8.0) + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) GEM remote: https://rubygems.org/ specs: - activemodel (6.1.7.8) - activesupport (= 6.1.7.8) - activerecord (6.1.7.8) - activemodel (= 6.1.7.8) - activesupport (= 6.1.7.8) - activesupport (6.1.7.8) + activemodel (6.1.7.10) + activesupport (= 6.1.7.10) + activerecord (6.1.7.10) + activemodel (= 6.1.7.10) + activesupport (= 6.1.7.10) + activesupport (6.1.7.10) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -22,38 +22,46 @@ GEM bundler rake thor (>= 0.14.0) - concurrent-ruby (1.3.3) - database_cleaner (2.0.2) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + database_cleaner (2.1.0) database_cleaner-active_record (>= 2, < 3) - database_cleaner-active_record (2.2.0) + database_cleaner-active_record (2.2.2) activerecord (>= 5.a) - database_cleaner-core (~> 2.0.0) + database_cleaner-core (~> 2.0) database_cleaner-core (2.0.1) - diff-lcs (1.5.1) - i18n (1.14.5) + diff-lcs (1.6.2) + i18n (1.14.8) concurrent-ruby (~> 1.0) - minitest (5.24.1) - pg (1.5.7) - rake (13.2.1) - rspec (3.13.0) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.6) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.7) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) + rspec-support (3.13.7) strong_migrations (0.2.0) activerecord (>= 3.2.0) - thor (1.3.1) + thor (1.5.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - zeitwerk (2.6.17) + zeitwerk (2.7.4) PLATFORMS arm64-darwin-22 @@ -62,8 +70,13 @@ PLATFORMS DEPENDENCIES activerecord (~> 6.1.0) appraisal + base64 + benchmark + bigdecimal database_cleaner + logger migration-lock-timeout! + mutex_m pg (~> 1.1) rake (~> 13) rspec (~> 3.2) diff --git a/gemfiles/activerecord_7.gemfile b/gemfiles/activerecord_7.gemfile index b367903..6f39f84 100644 --- a/gemfiles/activerecord_7.gemfile +++ b/gemfiles/activerecord_7.gemfile @@ -6,8 +6,13 @@ gem "activerecord", "~> 7.0.1" group :development, :test do gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false gem "database_cleaner", require: false gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false gem "rake", "~> 13", require: false gem "rspec", "~> 3.2", require: false end diff --git a/gemfiles/activerecord_7.gemfile.lock b/gemfiles/activerecord_7.gemfile.lock index a3e403b..2ae851e 100644 --- a/gemfiles/activerecord_7.gemfile.lock +++ b/gemfiles/activerecord_7.gemfile.lock @@ -1,53 +1,70 @@ PATH remote: .. specs: - migration-lock-timeout (1.5.0) - activerecord (>= 6.1, < 8.0) + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) GEM remote: https://rubygems.org/ specs: - activemodel (7.0.8.4) - activesupport (= 7.0.8.4) - activerecord (7.0.8.4) - activemodel (= 7.0.8.4) - activesupport (= 7.0.8.4) - activesupport (7.0.8.4) + activemodel (7.0.10) + activesupport (= 7.0.10) + activerecord (7.0.10) + activemodel (= 7.0.10) + activesupport (= 7.0.10) + activesupport (7.0.10) + base64 + benchmark (>= 0.3) + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) + mutex_m + securerandom (>= 0.3) tzinfo (~> 2.0) appraisal (2.5.0) bundler rake thor (>= 0.14.0) - concurrent-ruby (1.3.3) - database_cleaner (2.0.2) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + database_cleaner (2.1.0) database_cleaner-active_record (>= 2, < 3) - database_cleaner-active_record (2.2.0) + database_cleaner-active_record (2.2.2) activerecord (>= 5.a) - database_cleaner-core (~> 2.0.0) + database_cleaner-core (~> 2.0) database_cleaner-core (2.0.1) - diff-lcs (1.5.1) - i18n (1.14.5) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) concurrent-ruby (~> 1.0) - minitest (5.24.1) - pg (1.5.7) - rake (13.2.1) - rspec (3.13.0) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.6) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.7) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - thor (1.3.1) + rspec-support (3.13.7) + securerandom (0.4.1) + thor (1.5.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) @@ -58,8 +75,13 @@ PLATFORMS DEPENDENCIES activerecord (~> 7.0.1) appraisal + base64 + benchmark + bigdecimal database_cleaner + logger migration-lock-timeout! + mutex_m pg (~> 1.1) rake (~> 13) rspec (~> 3.2) diff --git a/gemfiles/activerecord_7_1.gemfile b/gemfiles/activerecord_7_1.gemfile index e348f0f..2f7eafd 100644 --- a/gemfiles/activerecord_7_1.gemfile +++ b/gemfiles/activerecord_7_1.gemfile @@ -6,8 +6,13 @@ gem "activerecord", "~> 7.1.0" group :development, :test do gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false gem "database_cleaner", require: false gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false gem "rake", "~> 13", require: false gem "rspec", "~> 3.2", require: false end diff --git a/gemfiles/activerecord_7_1.gemfile.lock b/gemfiles/activerecord_7_1.gemfile.lock index 401aed6..a19d1ab 100644 --- a/gemfiles/activerecord_7_1.gemfile.lock +++ b/gemfiles/activerecord_7_1.gemfile.lock @@ -1,65 +1,74 @@ PATH remote: .. specs: - migration-lock-timeout (1.5.0) - activerecord (>= 6.1, < 8.0) + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) GEM remote: https://rubygems.org/ specs: - activemodel (7.1.3.4) - activesupport (= 7.1.3.4) - activerecord (7.1.3.4) - activemodel (= 7.1.3.4) - activesupport (= 7.1.3.4) + activemodel (7.1.6) + activesupport (= 7.1.6) + activerecord (7.1.6) + activemodel (= 7.1.6) + activesupport (= 7.1.6) timeout (>= 0.4.0) - activesupport (7.1.3.4) + activesupport (7.1.6) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) mutex_m + securerandom (>= 0.3) tzinfo (~> 2.0) appraisal (2.5.0) bundler rake thor (>= 0.14.0) - base64 (0.2.0) - bigdecimal (3.1.8) - concurrent-ruby (1.3.3) - connection_pool (2.4.1) - database_cleaner (2.0.2) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + database_cleaner (2.1.0) database_cleaner-active_record (>= 2, < 3) - database_cleaner-active_record (2.2.0) + database_cleaner-active_record (2.2.2) activerecord (>= 5.a) - database_cleaner-core (~> 2.0.0) + database_cleaner-core (~> 2.0) database_cleaner-core (2.0.1) - diff-lcs (1.5.1) - drb (2.2.1) - i18n (1.14.5) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) concurrent-ruby (~> 1.0) - minitest (5.24.1) - mutex_m (0.2.0) - pg (1.5.7) - rake (13.2.1) - rspec (3.13.0) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.6) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.7) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - thor (1.3.1) - timeout (0.4.1) + rspec-support (3.13.7) + securerandom (0.4.1) + thor (1.5.0) + timeout (0.6.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) @@ -70,8 +79,13 @@ PLATFORMS DEPENDENCIES activerecord (~> 7.1.0) appraisal + base64 + benchmark + bigdecimal database_cleaner + logger migration-lock-timeout! + mutex_m pg (~> 1.1) rake (~> 13) rspec (~> 3.2) diff --git a/gemfiles/activerecord_7_1_with_strong_migrations.gemfile b/gemfiles/activerecord_7_1_with_strong_migrations.gemfile index 7fa8760..bcd9b81 100644 --- a/gemfiles/activerecord_7_1_with_strong_migrations.gemfile +++ b/gemfiles/activerecord_7_1_with_strong_migrations.gemfile @@ -7,8 +7,13 @@ gem "strong_migrations" group :development, :test do gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false gem "database_cleaner", require: false gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false gem "rake", "~> 13", require: false gem "rspec", "~> 3.2", require: false end diff --git a/gemfiles/activerecord_7_1_with_strong_migrations.gemfile.lock b/gemfiles/activerecord_7_1_with_strong_migrations.gemfile.lock index fba5d96..18beaf0 100644 --- a/gemfiles/activerecord_7_1_with_strong_migrations.gemfile.lock +++ b/gemfiles/activerecord_7_1_with_strong_migrations.gemfile.lock @@ -1,67 +1,76 @@ PATH remote: .. specs: - migration-lock-timeout (1.5.0) - activerecord (>= 6.1, < 8.0) + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) GEM remote: https://rubygems.org/ specs: - activemodel (7.1.3.4) - activesupport (= 7.1.3.4) - activerecord (7.1.3.4) - activemodel (= 7.1.3.4) - activesupport (= 7.1.3.4) + activemodel (7.1.6) + activesupport (= 7.1.6) + activerecord (7.1.6) + activemodel (= 7.1.6) + activesupport (= 7.1.6) timeout (>= 0.4.0) - activesupport (7.1.3.4) + activesupport (7.1.6) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) mutex_m + securerandom (>= 0.3) tzinfo (~> 2.0) appraisal (2.5.0) bundler rake thor (>= 0.14.0) - base64 (0.2.0) - bigdecimal (3.1.8) - concurrent-ruby (1.3.3) - connection_pool (2.4.1) - database_cleaner (2.0.2) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + database_cleaner (2.1.0) database_cleaner-active_record (>= 2, < 3) - database_cleaner-active_record (2.2.0) + database_cleaner-active_record (2.2.2) activerecord (>= 5.a) - database_cleaner-core (~> 2.0.0) + database_cleaner-core (~> 2.0) database_cleaner-core (2.0.1) - diff-lcs (1.5.1) - drb (2.2.1) - i18n (1.14.5) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) concurrent-ruby (~> 1.0) - minitest (5.24.1) - mutex_m (0.2.0) - pg (1.5.7) - rake (13.2.1) - rspec (3.13.0) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.6) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.7) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - strong_migrations (2.0.0) - activerecord (>= 6.1) - thor (1.3.1) - timeout (0.4.1) + rspec-support (3.13.7) + securerandom (0.4.1) + strong_migrations (2.5.2) + activerecord (>= 7.1) + thor (1.5.0) + timeout (0.6.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) @@ -72,8 +81,13 @@ PLATFORMS DEPENDENCIES activerecord (~> 7.1.0) appraisal + base64 + benchmark + bigdecimal database_cleaner + logger migration-lock-timeout! + mutex_m pg (~> 1.1) rake (~> 13) rspec (~> 3.2) diff --git a/gemfiles/activerecord_7_with_strong_migrations.gemfile b/gemfiles/activerecord_7_with_strong_migrations.gemfile index 9cf3ae0..edc3414 100644 --- a/gemfiles/activerecord_7_with_strong_migrations.gemfile +++ b/gemfiles/activerecord_7_with_strong_migrations.gemfile @@ -7,8 +7,13 @@ gem "strong_migrations" group :development, :test do gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false gem "database_cleaner", require: false gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false gem "rake", "~> 13", require: false gem "rspec", "~> 3.2", require: false end diff --git a/gemfiles/activerecord_7_with_strong_migrations.gemfile.lock b/gemfiles/activerecord_7_with_strong_migrations.gemfile.lock index 9fd5eaf..968950d 100644 --- a/gemfiles/activerecord_7_with_strong_migrations.gemfile.lock +++ b/gemfiles/activerecord_7_with_strong_migrations.gemfile.lock @@ -1,55 +1,72 @@ PATH remote: .. specs: - migration-lock-timeout (1.5.0) - activerecord (>= 6.1, < 8.0) + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) GEM remote: https://rubygems.org/ specs: - activemodel (7.0.8.4) - activesupport (= 7.0.8.4) - activerecord (7.0.8.4) - activemodel (= 7.0.8.4) - activesupport (= 7.0.8.4) - activesupport (7.0.8.4) + activemodel (7.0.10) + activesupport (= 7.0.10) + activerecord (7.0.10) + activemodel (= 7.0.10) + activesupport (= 7.0.10) + activesupport (7.0.10) + base64 + benchmark (>= 0.3) + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) + mutex_m + securerandom (>= 0.3) tzinfo (~> 2.0) appraisal (2.5.0) bundler rake thor (>= 0.14.0) - concurrent-ruby (1.3.3) - database_cleaner (2.0.2) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + database_cleaner (2.1.0) database_cleaner-active_record (>= 2, < 3) - database_cleaner-active_record (2.2.0) + database_cleaner-active_record (2.2.2) activerecord (>= 5.a) - database_cleaner-core (~> 2.0.0) + database_cleaner-core (~> 2.0) database_cleaner-core (2.0.1) - diff-lcs (1.5.1) - i18n (1.14.5) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) concurrent-ruby (~> 1.0) - minitest (5.24.1) - pg (1.5.7) - rake (13.2.1) - rspec (3.13.0) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.0) + rspec-core (3.13.6) rspec-support (~> 3.13.0) - rspec-expectations (3.13.1) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.7) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - strong_migrations (2.0.0) - activerecord (>= 6.1) - thor (1.3.1) + rspec-support (3.13.7) + securerandom (0.4.1) + strong_migrations (2.3.0) + activerecord (>= 7) + thor (1.5.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) @@ -60,8 +77,13 @@ PLATFORMS DEPENDENCIES activerecord (~> 7.0.1) appraisal + base64 + benchmark + bigdecimal database_cleaner + logger migration-lock-timeout! + mutex_m pg (~> 1.1) rake (~> 13) rspec (~> 3.2) diff --git a/gemfiles/activerecord_8_0.gemfile b/gemfiles/activerecord_8_0.gemfile new file mode 100644 index 0000000..d1cc2bd --- /dev/null +++ b/gemfiles/activerecord_8_0.gemfile @@ -0,0 +1,20 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 8.0.0" + +group :development, :test do + gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false + gem "database_cleaner", require: false + gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false + gem "rake", "~> 13", require: false + gem "rspec", "~> 3.2", require: false +end + +gemspec path: "../" diff --git a/gemfiles/activerecord_8_0.gemfile.lock b/gemfiles/activerecord_8_0.gemfile.lock new file mode 100644 index 0000000..1fdf9d5 --- /dev/null +++ b/gemfiles/activerecord_8_0.gemfile.lock @@ -0,0 +1,107 @@ +PATH + remote: .. + specs: + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (8.0.4) + activesupport (= 8.0.4) + activerecord (8.0.4) + activemodel (= 8.0.4) + activesupport (= 8.0.4) + timeout (>= 0.4.0) + activesupport (8.0.4) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + database_cleaner (2.1.0) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.2) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0) + database_cleaner-core (2.0.1) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) + concurrent-ruby (~> 1.0) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3) + pg (1.6.3-aarch64-linux) + pg (1.6.3-aarch64-linux-musl) + pg (1.6.3-aarch64-mingw-ucrt) + pg (1.6.3-arm64-darwin) + pg (1.6.3-x86_64-darwin) + pg (1.6.3-x86_64-linux) + pg (1.6.3-x86_64-linux-musl) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.7) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.7) + securerandom (0.4.1) + thor (1.5.0) + timeout (0.6.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + uri (1.1.1) + +PLATFORMS + aarch64-linux + aarch64-linux-musl + aarch64-mingw-ucrt + arm64-darwin + ruby + x86_64-darwin + x86_64-linux + x86_64-linux-musl + +DEPENDENCIES + activerecord (~> 8.0.0) + appraisal + base64 + benchmark + bigdecimal + database_cleaner + logger + migration-lock-timeout! + mutex_m + pg (~> 1.1) + rake (~> 13) + rspec (~> 3.2) + +BUNDLED WITH + 2.5.10 diff --git a/gemfiles/activerecord_8_0_with_strong_migrations.gemfile b/gemfiles/activerecord_8_0_with_strong_migrations.gemfile new file mode 100644 index 0000000..99bc46f --- /dev/null +++ b/gemfiles/activerecord_8_0_with_strong_migrations.gemfile @@ -0,0 +1,21 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 8.0.0" +gem "strong_migrations" + +group :development, :test do + gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false + gem "database_cleaner", require: false + gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false + gem "rake", "~> 13", require: false + gem "rspec", "~> 3.2", require: false +end + +gemspec path: "../" diff --git a/gemfiles/activerecord_8_0_with_strong_migrations.gemfile.lock b/gemfiles/activerecord_8_0_with_strong_migrations.gemfile.lock new file mode 100644 index 0000000..b3aeb0d --- /dev/null +++ b/gemfiles/activerecord_8_0_with_strong_migrations.gemfile.lock @@ -0,0 +1,96 @@ +PATH + remote: .. + specs: + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (8.0.4) + activesupport (= 8.0.4) + activerecord (8.0.4) + activemodel (= 8.0.4) + activesupport (= 8.0.4) + timeout (>= 0.4.0) + activesupport (8.0.4) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + database_cleaner (2.1.0) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.2) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0) + database_cleaner-core (2.0.1) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) + concurrent-ruby (~> 1.0) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.7) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.7) + securerandom (0.4.1) + strong_migrations (2.5.2) + activerecord (>= 7.1) + thor (1.5.0) + timeout (0.6.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + uri (1.1.1) + +PLATFORMS + arm64-darwin + +DEPENDENCIES + activerecord (~> 8.0.0) + appraisal + base64 + benchmark + bigdecimal + database_cleaner + logger + migration-lock-timeout! + mutex_m + pg (~> 1.1) + rake (~> 13) + rspec (~> 3.2) + strong_migrations + +BUNDLED WITH + 2.5.10 diff --git a/gemfiles/activerecord_8_1.gemfile b/gemfiles/activerecord_8_1.gemfile new file mode 100644 index 0000000..73a02b3 --- /dev/null +++ b/gemfiles/activerecord_8_1.gemfile @@ -0,0 +1,20 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 8.1.0" + +group :development, :test do + gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false + gem "database_cleaner", require: false + gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false + gem "rake", "~> 13", require: false + gem "rspec", "~> 3.2", require: false +end + +gemspec path: "../" diff --git a/gemfiles/activerecord_8_1.gemfile.lock b/gemfiles/activerecord_8_1.gemfile.lock new file mode 100644 index 0000000..b5fd1d1 --- /dev/null +++ b/gemfiles/activerecord_8_1.gemfile.lock @@ -0,0 +1,94 @@ +PATH + remote: .. + specs: + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (8.1.2) + activesupport (= 8.1.2) + activerecord (8.1.2) + activemodel (= 8.1.2) + activesupport (= 8.1.2) + timeout (>= 0.4.0) + activesupport (8.1.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + json + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + database_cleaner (2.1.0) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.2) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0) + database_cleaner-core (2.0.1) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) + concurrent-ruby (~> 1.0) + json (2.18.1) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.7) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.7) + securerandom (0.4.1) + thor (1.5.0) + timeout (0.6.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + uri (1.1.1) + +PLATFORMS + arm64-darwin + +DEPENDENCIES + activerecord (~> 8.1.0) + appraisal + base64 + benchmark + bigdecimal + database_cleaner + logger + migration-lock-timeout! + mutex_m + pg (~> 1.1) + rake (~> 13) + rspec (~> 3.2) + +BUNDLED WITH + 2.5.10 diff --git a/gemfiles/activerecord_8_1_with_strong_migrations.gemfile b/gemfiles/activerecord_8_1_with_strong_migrations.gemfile new file mode 100644 index 0000000..1183906 --- /dev/null +++ b/gemfiles/activerecord_8_1_with_strong_migrations.gemfile @@ -0,0 +1,21 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 8.1.0" +gem "strong_migrations" + +group :development, :test do + gem "appraisal", require: false + gem "base64", require: false + gem "bigdecimal", require: false + gem "benchmark", require: false + gem "database_cleaner", require: false + gem "pg", "~> 1.1", require: false + gem "logger", require: false + gem "mutex_m", require: false + gem "rake", "~> 13", require: false + gem "rspec", "~> 3.2", require: false +end + +gemspec path: "../" diff --git a/gemfiles/activerecord_8_1_with_strong_migrations.gemfile.lock b/gemfiles/activerecord_8_1_with_strong_migrations.gemfile.lock new file mode 100644 index 0000000..358c9ca --- /dev/null +++ b/gemfiles/activerecord_8_1_with_strong_migrations.gemfile.lock @@ -0,0 +1,97 @@ +PATH + remote: .. + specs: + migration-lock-timeout (2.0.0) + activerecord (>= 6.1, < 8.2) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (8.1.2) + activesupport (= 8.1.2) + activerecord (8.1.2) + activemodel (= 8.1.2) + activesupport (= 8.1.2) + timeout (>= 0.4.0) + activesupport (8.1.2) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + json + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) + database_cleaner (2.1.0) + database_cleaner-active_record (>= 2, < 3) + database_cleaner-active_record (2.2.2) + activerecord (>= 5.a) + database_cleaner-core (~> 2.0) + database_cleaner-core (2.0.1) + diff-lcs (1.6.2) + drb (2.2.3) + i18n (1.14.8) + concurrent-ruby (~> 1.0) + json (2.18.1) + logger (1.7.0) + minitest (6.0.1) + prism (~> 1.5) + mutex_m (0.3.0) + pg (1.6.3-arm64-darwin) + prism (1.9.0) + rake (13.3.1) + rspec (3.13.2) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.7) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.7) + securerandom (0.4.1) + strong_migrations (2.5.2) + activerecord (>= 7.1) + thor (1.5.0) + timeout (0.6.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + uri (1.1.1) + +PLATFORMS + arm64-darwin + +DEPENDENCIES + activerecord (~> 8.1.0) + appraisal + base64 + benchmark + bigdecimal + database_cleaner + logger + migration-lock-timeout! + mutex_m + pg (~> 1.1) + rake (~> 13) + rspec (~> 3.2) + strong_migrations + +BUNDLED WITH + 2.5.10 diff --git a/lib/migration_lock_timeout/version.rb b/lib/migration_lock_timeout/version.rb index eaeb628..46a97f2 100644 --- a/lib/migration_lock_timeout/version.rb +++ b/lib/migration_lock_timeout/version.rb @@ -1,6 +1,6 @@ module MigrationLockTimeout - MAJOR = 1 - MINOR = 5 + MAJOR = 2 + MINOR = 0 PATCH = 0 VERSION = [MAJOR, MINOR, PATCH].join('.') end diff --git a/migration-lock-timeout.gemspec b/migration-lock-timeout.gemspec index c2750d1..165abbc 100644 --- a/migration-lock-timeout.gemspec +++ b/migration-lock-timeout.gemspec @@ -27,5 +27,5 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_runtime_dependency "activerecord", ">= 6.1", "< 8.0" + spec.add_runtime_dependency "activerecord", ">= 6.1", "< 8.2" end diff --git a/spec/migration_lock_timeout/spec_helper.rb b/spec/migration_lock_timeout/spec_helper.rb index 51dc0f0..972465f 100644 --- a/spec/migration_lock_timeout/spec_helper.rb +++ b/spec/migration_lock_timeout/spec_helper.rb @@ -1,3 +1,4 @@ +require 'logger' require 'database_cleaner' RSpec.configure do |config|