Skip to content

Commit 602eaf4

Browse files
committed
Add support for Rails 8.0
1 parent ad4a50c commit 602eaf4

File tree

4 files changed

+37
-1
lines changed

4 files changed

+37
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ jobs:
4242
- '3.1'
4343
- 'head'
4444
rails:
45+
- rails_8.0
4546
- rails_7.2
4647
- rails_7.1
4748
- rails_7.0
49+
exclude:
50+
- ruby: '3.1'
51+
rails: 'rails_8.0'
4852

4953
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
5054
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.rails }}.gemfile

Appraisals

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
appraise 'rails_7.0' do
44
gem 'rails', '~> 7.0.0'
5+
gem 'sqlite3', '~> 1.5.0'
56

67
# Fix: LoadError: cannot load such file -- base64
78
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do
@@ -15,6 +16,7 @@ end
1516

1617
appraise 'rails_7.1' do
1718
gem 'rails', '~> 7.1.0'
19+
gem 'sqlite3', '~> 1.5.0'
1820

1921
# Fix:
2022
# warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0.
@@ -26,4 +28,9 @@ end
2628

2729
appraise 'rails_7.2' do
2830
gem 'rails', '~> 7.2.0'
31+
gem 'sqlite3', '~> 1.5.0'
32+
end
33+
34+
appraise 'rails_8.0' do
35+
gem 'rails', '~> 8.0.0'
2936
end

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ gem 'rubocop-rspec_rails'
2121
gem 'simplecov'
2222
gem 'sinatra'
2323
gem 'sprockets-rails'
24-
gem 'sqlite3', '~> 1.5.0'
24+
gem 'sqlite3', '~> 2.1.0'
2525
gem 'timecop'

gemfiles/rails_8.0.gemfile

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 "database_cleaner"
7+
gem "guard-rspec"
8+
gem "haml"
9+
gem "pry"
10+
gem "rack-test"
11+
gem "rake"
12+
gem "rspec-rails"
13+
gem "rubocop"
14+
gem "rubocop-performance"
15+
gem "rubocop-rake"
16+
gem "rubocop-rspec"
17+
gem "rubocop-rspec_rails"
18+
gem "simplecov"
19+
gem "sinatra"
20+
gem "sprockets-rails"
21+
gem "sqlite3", "~> 2.1.0"
22+
gem "timecop"
23+
gem "rails", "~> 8.0.0"
24+
25+
gemspec path: "../"

0 commit comments

Comments
 (0)