Skip to content

Commit a600eef

Browse files
committed
Add support for Rails 8.1
1 parent fdd7d06 commit a600eef

9 files changed

+200
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323

2424
- name: Setup Ruby
2525
uses: ruby/setup-ruby@v1
@@ -75,6 +75,7 @@ jobs:
7575
- '3.1'
7676
- 'head'
7777
rails:
78+
- rails_8.1
7879
- rails_8.0
7980
- rails_7.2
8081
- rails_7.1
@@ -92,10 +93,12 @@ jobs:
9293
# Rails 8.0 needs Ruby > 3.2
9394
- rails: 'rails_8.0'
9495
ruby: '3.1'
96+
- rails: 'rails_8.1'
97+
ruby: '3.1'
9598

9699
steps:
97100
- name: Checkout
98-
uses: actions/checkout@v4
101+
uses: actions/checkout@v5
99102

100103
- name: Set DB Adapter
101104
env:

.github/workflows/ci_oracle.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,20 @@ jobs:
4949
- '3.1'
5050
- 'head'
5151
rails:
52+
- rails_8.1
5253
- rails_8.0
5354
- rails_7.2
5455
- rails_7.1
5556
adapter:
5657
- oracle_enhanced
5758
exclude:
59+
# Rails 8.0 needs Ruby > 3.2
5860
- rails: 'rails_8.0'
5961
ruby: '3.1'
6062
adapter: 'oracle_enhanced'
63+
- rails: 'rails_8.1'
64+
ruby: '3.1'
65+
adapter: 'oracle_enhanced'
6166

6267
steps:
6368
- name: Checkout

Appraisals

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,42 @@ appraise 'rails_8.0_with_postgis' do
116116
gem 'pg'
117117
gem 'activerecord-postgis-adapter', '~> 11.0.0'
118118
end
119+
120+
###############
121+
# RAILS 8.1.0 #
122+
###############
123+
124+
appraise 'rails_8.1_with_postgresql' do
125+
gem 'rails', '~> 8.1.0'
126+
gem 'pg'
127+
end
128+
129+
appraise 'rails_8.1_with_sqlite3' do
130+
gem 'rails', '~> 8.1.0'
131+
gem 'sqlite3'
132+
remove_gem 'pg'
133+
end
134+
135+
appraise 'rails_8.1_with_mysql2' do
136+
gem 'rails', '~> 8.1.0'
137+
gem 'mysql2'
138+
remove_gem 'pg'
139+
end
140+
141+
appraise 'rails_8.1_with_trilogy' do
142+
gem 'rails', '~> 8.1.0'
143+
gem 'activerecord-trilogy-adapter'
144+
remove_gem 'pg'
145+
end
146+
147+
appraise 'rails_8.1_with_oracle_enhanced' do
148+
gem 'rails', '~> 8.1.0'
149+
gem 'activerecord-oracle_enhanced-adapter', '~> 8.0.0'
150+
remove_gem 'pg'
151+
end
152+
153+
appraise 'rails_8.1_with_postgis' do
154+
gem 'rails', '~> 8.1.0'
155+
gem 'pg'
156+
gem 'activerecord-postgis-adapter', git: 'https://github.com/rgeo/activerecord-postgis-adapter.git'
157+
end
Lines changed: 25 additions & 0 deletions
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.1.0"
23+
gem "mysql2"
24+
25+
gemspec path: "../"
Lines changed: 25 additions & 0 deletions
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.1.0"
23+
gem "activerecord-oracle_enhanced-adapter", "~> 8.0.0"
24+
25+
gemspec path: "../"
Lines changed: 26 additions & 0 deletions
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.1.0"
24+
gem "activerecord-postgis-adapter", git: "https://github.com/rgeo/activerecord-postgis-adapter.git"
25+
26+
gemspec path: "../"
Lines changed: 25 additions & 0 deletions
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.1.0"
24+
25+
gemspec path: "../"
Lines changed: 25 additions & 0 deletions
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.1.0"
23+
gem "sqlite3"
24+
25+
gemspec path: "../"
Lines changed: 25 additions & 0 deletions
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.1.0"
23+
gem "activerecord-trilogy-adapter"
24+
25+
gemspec path: "../"

0 commit comments

Comments
 (0)