Skip to content

Commit

Permalink
Support Rails 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rsamoilov committed Sep 13, 2024
1 parent 2f75447 commit 9c53e08
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
- '6.1'
- '7.0'
- '7.1'
- '7.2'
exclude:
- activerecord: '7.2'
ruby: '2.7'
- activerecord: '7.2'
ruby: '3.0'

name: Ruby ${{ matrix.ruby }} / ActiveRecord ${{ matrix.activerecord }}
env:
AR: ~> ${{ matrix.activerecord }}
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
source 'https://rubygems.org'

gem 'rake', '>= 10.0'
gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 7.2"]
gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 7.2"]
gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 8.0"]
gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 8.0"]
gem 'nokogiri', "~> 1.14"

group :dev do
Expand Down
8 changes: 4 additions & 4 deletions standalone_migrations.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ Gem::Specification.new do |s|

if s.respond_to? :add_runtime_dependency then
s.add_runtime_dependency(%q<rake>.freeze, [">= 10.0"])
s.add_runtime_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 7.2"])
s.add_runtime_dependency(%q<railties>.freeze, [">= 6.0.0", "< 7.2"])
s.add_runtime_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 8.0"])
s.add_runtime_dependency(%q<railties>.freeze, [">= 6.0.0", "< 8.0"])
s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.14"])
else
s.add_dependency(%q<rake>.freeze, [">= 10.0"])
s.add_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 7.2"])
s.add_dependency(%q<railties>.freeze, [">= 6.0.0", "< 7.2"])
s.add_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 8.0"])
s.add_dependency(%q<railties>.freeze, [">= 6.0.0", "< 8.0"])
s.add_dependency(%q<nokogiri>.freeze, ["~> 1.14"])
end
end
Expand Down

0 comments on commit 9c53e08

Please sign in to comment.