Skip to content

Commit

Permalink
Support Rails 7.2 (#185)
Browse files Browse the repository at this point in the history
* Support Rails 7.2

* CI fix for Ruby 2.7
  • Loading branch information
rsamoilov authored Sep 13, 2024
1 parent 2f75447 commit bf80261
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 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
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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
gem 'sqlite3', '~> 1.5'
gem 'sqlite3', '< 1.7'
gem 'rspec', '>= 2.99.0'
gem 'jeweler'
end
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 bf80261

Please sign in to comment.