Skip to content

Commit

Permalink
Allow Rails 7.2.x (#66)
Browse files Browse the repository at this point in the history
* Allow Rails 7.2.x

* Remove Ruby 3.0 from tests and add Ruby 3.3

* Fix tests for Rails 7.1

---------

Co-authored-by: Nikolay <[email protected]>
  • Loading branch information
ngrebenshikov and Nikolay authored Aug 14, 2024
1 parent 6f12d4f commit e8513a2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2']
gemfile: [ rails_6_1, rails_7_0, rails_7_1 ]
ruby-version: ['3.1', '3.2', '3.3']
gemfile: [ rails_6_1, rails_7_0, rails_7_1, rails_7_2 ]
experimental: [false]

env:
Expand Down
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ appraise "rails_7_1" do
gem "activesupport", version
gem "sqlite3", ">= 1.4"
end

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
2 changes: 1 addition & 1 deletion gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source "https://rubygems.org"

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

gemspec path: "../"
8 changes: 8 additions & 0 deletions gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

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

gemspec path: "../"

0 comments on commit e8513a2

Please sign in to comment.