Skip to content

Commit

Permalink
Allow Rails 8.0.x (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
aki77 authored Nov 13, 2024
1 parent 5b76039 commit ad5c90a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
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.1', '3.2', '3.3']
gemfile: [ rails_6_1, rails_7_0, rails_7_1, rails_7_2 ]
gemfile: [ rails_6_1, rails_7_0, rails_7_1, rails_7_2, rails_8_0 ]
experimental: [false]
exclude:
- ruby-version: "3.1"
gemfile: "rails_8_0"

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ appraise "rails_7_2" do
gem "activesupport", version
gem "sqlite3", ">= 1.4"
end

appraise "rails_8_0" do
version = "~> 8.0.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.3"
spec.add_runtime_dependency 'activesupport', '>= 4.0', "< 8.1"
spec.add_runtime_dependency 'rspec', '>= 3.0'

spec.add_development_dependency 'activerecord', '>= 4.0', "< 7.3"
spec.add_development_dependency 'activerecord', '>= 4.0', "< 8.1"
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_8_0.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", "~> 8.0.0"
gem "sqlite3", ">= 1.4"

gemspec path: "../"

0 comments on commit ad5c90a

Please sign in to comment.