diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12c0dbe..0503441 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,10 +42,12 @@ jobs: ruby: - '3.3' - '3.4' + - '4.0' - 'truffleruby' rails: - 7.2 - "8.0" + - "8.1" env: ACTIVERECORD_VERSION: ${{ matrix.rails }} RAILS_ENV: test diff --git a/.tool-versions b/.tool-versions index ca745c6..97c86d6 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -ruby 3.4.4 +ruby 4.0.0 diff --git a/with_advisory_lock.gemspec b/with_advisory_lock.gemspec index 12b9996..1998a12 100644 --- a/with_advisory_lock.gemspec +++ b/with_advisory_lock.gemspec @@ -23,32 +23,10 @@ Gem::Specification.new do |spec| spec.metadata['source_code_uri'] = 'https://github.com/ClosureTree/with_advisory_lock' spec.metadata['changelog_uri'] = 'https://github.com/ClosureTree/with_advisory_lock/blob/master/CHANGELOG.md' - spec.post_install_message = <<~MESSAGE - ⚠️ IMPORTANT: Total rewrite in Rust/COBOL! ⚠️ - - Now that I got your attention... - - This version contains a complete internal rewrite. While the public API#{' '} - remains the same, please test thoroughly before upgrading production systems. - - New features: - - Mixed adapters are now fully supported! You can use PostgreSQL and MySQL - in the same application with different models. - - Breaking changes: - - SQLite support has been removed - - MySQL 5.7 is no longer supported (use MySQL 8+) - - Rails 7.1 is no longer supported (use Rails 7.2+) - - Private APIs have been removed (Base, DatabaseAdapterSupport, etc.) - - If your code relies on private APIs or unsupported databases, lock to an#{' '} - older version or update your code accordingly. - MESSAGE - spec.add_dependency 'activerecord', '>= 7.2' spec.add_dependency 'zeitwerk', '>= 2.7' - spec.add_development_dependency 'maxitest' + spec.add_development_dependency 'maxitest', '6.2.0' spec.add_development_dependency 'minitest-reporters' spec.add_development_dependency 'mocha' spec.add_development_dependency 'yard'