Skip to content

Commit cea41cf

Browse files
committed
Add support for Rails 8.0
1 parent b94235b commit cea41cf

8 files changed

+199
-1
lines changed

.github/workflows/ci.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
- '3.0'
7878
- 'head'
7979
rails:
80+
- rails_8.0
8081
- rails_7.2
8182
- rails_7.1
8283
- rails_7.0
@@ -93,9 +94,16 @@ jobs:
9394
# - trilogy
9495
exclude:
9596
# Rails 7.2 needs Ruby > 3.1
96-
- rails: rails_7.2
97+
- rails: 'rails_7.2'
98+
ruby: '3.0'
99+
100+
# Rails 8.0 needs Ruby > 3.2
101+
- rails: 'rails_8.0'
97102
ruby: '3.0'
98103

104+
- rails: 'rails_8.0'
105+
ruby: '3.1'
106+
99107
# Disabled for now because of build error:
100108
# /opt/hostedtoolcache/Ruby/3.0.7/x64/lib/ruby/3.0.0/psych.rb:457:in
101109
# `parse_stream': undefined method `parse' for #<Psych::Parser:0x000055b6cc7b6898

Appraisals

+39
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,42 @@ appraise 'rails_7.2_with_postgis' do
195195
gem 'pg'
196196
gem 'activerecord-postgis-adapter', git: 'https://github.com/rgeo/activerecord-postgis-adapter.git'
197197
end
198+
199+
###############
200+
# RAILS 8.0.0 #
201+
###############
202+
203+
appraise 'rails_8.0_with_postgresql' do
204+
gem 'rails', '~> 8.0.0'
205+
gem 'pg'
206+
end
207+
208+
appraise 'rails_8.0_with_sqlite3' do
209+
gem 'rails', '~> 8.0.0'
210+
gem 'sqlite3'
211+
remove_gem 'pg'
212+
end
213+
214+
appraise 'rails_8.0_with_mysql2' do
215+
gem 'rails', '~> 8.0.0'
216+
gem 'mysql2'
217+
remove_gem 'pg'
218+
end
219+
220+
appraise 'rails_8.0_with_trilogy' do
221+
gem 'rails', '~> 8.0.0'
222+
gem 'activerecord-trilogy-adapter'
223+
remove_gem 'pg'
224+
end
225+
226+
appraise 'rails_8.0_with_oracle_enhanced' do
227+
gem 'rails', '~> 8.0.0'
228+
gem 'activerecord-oracle_enhanced-adapter', git: 'https://github.com/rsim/oracle-enhanced.git'
229+
remove_gem 'pg'
230+
end
231+
232+
appraise 'rails_8.0_with_postgis' do
233+
gem 'rails', '~> 8.0.0'
234+
gem 'pg'
235+
gem 'activerecord-postgis-adapter', git: 'https://github.com/rgeo/activerecord-postgis-adapter.git'
236+
end
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+
gem "combustion"
7+
gem "database_cleaner"
8+
gem "factory_bot"
9+
gem "faker"
10+
gem "generator_spec"
11+
gem "puma"
12+
gem "rake"
13+
gem "rspec"
14+
gem "rspec-retry"
15+
gem "simplecov"
16+
gem "guard-rspec", require: false
17+
gem "rubocop", require: false
18+
gem "rubocop-factory_bot", require: false
19+
gem "rubocop-performance", require: false
20+
gem "rubocop-rake", require: false
21+
gem "rubocop-rspec", require: false
22+
gem "rails", "~> 8.0.0"
23+
gem "mysql2"
24+
25+
gemspec path: "../"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+
gem "combustion"
7+
gem "database_cleaner"
8+
gem "factory_bot"
9+
gem "faker"
10+
gem "generator_spec"
11+
gem "puma"
12+
gem "rake"
13+
gem "rspec"
14+
gem "rspec-retry"
15+
gem "simplecov"
16+
gem "guard-rspec", require: false
17+
gem "rubocop", require: false
18+
gem "rubocop-factory_bot", require: false
19+
gem "rubocop-performance", require: false
20+
gem "rubocop-rake", require: false
21+
gem "rubocop-rspec", require: false
22+
gem "rails", "~> 8.0.0"
23+
gem "activerecord-oracle_enhanced-adapter", git: "https://github.com/rsim/oracle-enhanced.git"
24+
25+
gemspec path: "../"
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+
gem "combustion"
7+
gem "database_cleaner"
8+
gem "factory_bot"
9+
gem "faker"
10+
gem "generator_spec"
11+
gem "puma"
12+
gem "rake"
13+
gem "rspec"
14+
gem "rspec-retry"
15+
gem "simplecov"
16+
gem "pg"
17+
gem "guard-rspec", require: false
18+
gem "rubocop", require: false
19+
gem "rubocop-factory_bot", require: false
20+
gem "rubocop-performance", require: false
21+
gem "rubocop-rake", require: false
22+
gem "rubocop-rspec", require: false
23+
gem "rails", "~> 8.0.0"
24+
gem "activerecord-postgis-adapter", git: "https://github.com/rgeo/activerecord-postgis-adapter.git"
25+
26+
gemspec path: "../"
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+
gem "combustion"
7+
gem "database_cleaner"
8+
gem "factory_bot"
9+
gem "faker"
10+
gem "generator_spec"
11+
gem "puma"
12+
gem "rake"
13+
gem "rspec"
14+
gem "rspec-retry"
15+
gem "simplecov"
16+
gem "pg"
17+
gem "guard-rspec", require: false
18+
gem "rubocop", require: false
19+
gem "rubocop-factory_bot", require: false
20+
gem "rubocop-performance", require: false
21+
gem "rubocop-rake", require: false
22+
gem "rubocop-rspec", require: false
23+
gem "rails", "~> 8.0.0"
24+
25+
gemspec path: "../"
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+
gem "combustion"
7+
gem "database_cleaner"
8+
gem "factory_bot"
9+
gem "faker"
10+
gem "generator_spec"
11+
gem "puma"
12+
gem "rake"
13+
gem "rspec"
14+
gem "rspec-retry"
15+
gem "simplecov"
16+
gem "guard-rspec", require: false
17+
gem "rubocop", require: false
18+
gem "rubocop-factory_bot", require: false
19+
gem "rubocop-performance", require: false
20+
gem "rubocop-rake", require: false
21+
gem "rubocop-rspec", require: false
22+
gem "rails", "~> 8.0.0"
23+
gem "sqlite3"
24+
25+
gemspec path: "../"
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
6+
gem "combustion"
7+
gem "database_cleaner"
8+
gem "factory_bot"
9+
gem "faker"
10+
gem "generator_spec"
11+
gem "puma"
12+
gem "rake"
13+
gem "rspec"
14+
gem "rspec-retry"
15+
gem "simplecov"
16+
gem "guard-rspec", require: false
17+
gem "rubocop", require: false
18+
gem "rubocop-factory_bot", require: false
19+
gem "rubocop-performance", require: false
20+
gem "rubocop-rake", require: false
21+
gem "rubocop-rspec", require: false
22+
gem "rails", "~> 8.0.0"
23+
gem "activerecord-trilogy-adapter"
24+
25+
gemspec path: "../"

0 commit comments

Comments
 (0)