Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for rails 7.2 #65

Closed
wants to merge 14 commits into from
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2']
gemfile: [ rails_6_1, rails_7_0, rails_7_1 ]
gemfile: [rails_6_1, rails_7_0, rails_7_2]
experimental: [false]
exclude:
- ruby-version: '3.0'
gemfile: rails_7_2

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
5 changes: 2 additions & 3 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ appraise "rails_7_0" do
gem "sqlite3", "~> 1.4"
end

appraise "rails_7_1" do
version = "~> 7.1.0"
appraise "rails_7_2" do
version = "~> 7.2.0"
gem "activesupport", version
gem "sqlite3", ">= 1.4"
end
4 changes: 2 additions & 2 deletions db-query-matchers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
spec.files = Dir['lib/**/*.rb']
spec.require_paths = ['lib']

spec.add_runtime_dependency 'activesupport', '>= 4.0', "< 7.2"
spec.add_runtime_dependency 'activesupport', '>= 4.0', "< 7.3"
spec.add_runtime_dependency 'rspec', '>= 3.0'

spec.add_development_dependency 'activerecord', '>= 4.0', "< 7.2"
spec.add_development_dependency 'activerecord', '>= 4.0', "< 7.3"
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency "appraisal", "~> 2.0"

Expand Down
3 changes: 1 addition & 2 deletions gemfiles/rails_7_1.gemfile → gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

source "https://rubygems.org"

gem "activesupport", "~> 7.1.0"
gem "sqlite3", ">= 1.4"
gem "activesupport", "~> 7.2.0"

gemspec path: "../"
Loading