Skip to content

Commit 906397d

Browse files
committed
Do not run rails >= 7 on ruby < 3
1 parent 1c50bb6 commit 906397d

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.github/workflows/test.yml

+6
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
exclude:
3333
- gemfile: 'gemfiles/activerecord_5.2.2.gemfile'
3434
ruby: '3.0' # rails 5.2 can't run on ruby 3.0
35+
- gemfile: 'gemfiles/activerecord_7.0.0.gemfile'
36+
ruby: '2.7'
37+
- gemfile: 'gemfiles/activerecord_7.1.0.gemfile'
38+
ruby: '2.7'
39+
- gemfile: 'gemfiles/activerecord_main.gemfile'
40+
ruby: '2.7'
3541
- gemfile: 'gemfiles/activerecord_6.1.0.gemfile'
3642
ruby: 'jruby' # this *should* work. it seems like there's an issue with rails 6 on jruby.
3743
- gemfile: 'gemfiles/activerecord_main.gemfile'

Appraisals

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ appraise 'activerecord_7.1.0' do
7979

8080
platforms :ruby, :mswin, :mingw do
8181
gem 'pg', '~> 1.5.6'
82-
gem 'sqlite3', '~> 2.0.1'
82+
gem 'sqlite3', '~> 1.7.3'
8383
end
8484
end
8585

@@ -98,6 +98,6 @@ appraise 'activerecord_main' do
9898

9999
platforms :ruby, :mswin, :mingw do
100100
gem 'pg', '~> 1.5.6'
101-
gem 'sqlite3', '~> 2.0.1'
101+
gem 'sqlite3', '~> 1.7.3'
102102
end
103103
end

gemfiles/activerecord_7.1.0.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ end
1414

1515
platforms :ruby, :mswin, :mingw do
1616
gem "pg", "~> 1.5.6"
17-
gem "sqlite3", "~> 2.0.1"
17+
gem "sqlite3", "~> 1.7.3"
1818
end
1919

2020
gemspec path: "../"

gemfiles/activerecord_main.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ end
1616

1717
platforms :ruby, :mswin, :mingw do
1818
gem "pg", "~> 1.5.6"
19-
gem "sqlite3", "~> 2.0.1"
19+
gem "sqlite3", "~> 1.7.3"
2020
end
2121

2222
gemspec path: "../"

0 commit comments

Comments
 (0)