Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.4.4
ruby 4.0.0
24 changes: 1 addition & 23 deletions with_advisory_lock.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading