Skip to content

Commit ad5c90a

Browse files
authored
Allow Rails 8.0.x (#69)
1 parent 5b76039 commit ad5c90a

File tree

5 files changed

+21
-4
lines changed

5 files changed

+21
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ jobs:
1313
strategy:
1414
matrix:
1515
ruby-version: ['3.1', '3.2', '3.3']
16-
gemfile: [ rails_6_1, rails_7_0, rails_7_1, rails_7_2 ]
16+
gemfile: [ rails_6_1, rails_7_0, rails_7_1, rails_7_2, rails_8_0 ]
1717
experimental: [false]
18+
exclude:
19+
- ruby-version: "3.1"
20+
gemfile: "rails_8_0"
1821

1922
env:
2023
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

Appraisals

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ appraise "rails_7_2" do
2121
gem "activesupport", version
2222
gem "sqlite3", ">= 1.4"
2323
end
24+
25+
appraise "rails_8_0" do
26+
version = "~> 8.0.0"
27+
gem "activesupport", version
28+
gem "sqlite3", ">= 1.4"
29+
end

db-query-matchers.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
1919
spec.files = Dir['lib/**/*.rb']
2020
spec.require_paths = ['lib']
2121

22-
spec.add_runtime_dependency 'activesupport', '>= 4.0', "< 7.3"
22+
spec.add_runtime_dependency 'activesupport', '>= 4.0', "< 8.1"
2323
spec.add_runtime_dependency 'rspec', '>= 3.0'
2424

25-
spec.add_development_dependency 'activerecord', '>= 4.0', "< 7.3"
25+
spec.add_development_dependency 'activerecord', '>= 4.0', "< 8.1"
2626
spec.add_development_dependency 'sqlite3'
2727
spec.add_development_dependency "appraisal", "~> 2.0"
2828

gemfiles/rails_7_1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
source "https://rubygems.org"
44

55
gem "activesupport", "~> 7.1.0"
6-
gem "sqlite3", "~> 1.4"
6+
gem "sqlite3", ">= 1.4"
77

88
gemspec path: "../"

gemfiles/rails_8_0.gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "activesupport", "~> 8.0.0"
6+
gem "sqlite3", ">= 1.4"
7+
8+
gemspec path: "../"

0 commit comments

Comments
 (0)