Skip to content

Commit

Permalink
Add Rails 8.0 appraisal
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Nov 12, 2024
1 parent b338f3c commit 03cada6
Show file tree
Hide file tree
Showing 16 changed files with 456 additions and 91 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2', '3.3']
ruby: ["3.2", "3.3"]
gemfile:
- rails_6_1
- rails_7
- rails_7_1
- rails_7_2
- rails_6.1
- rails_7.0
- rails_7.1
- rails_7.2
- rails_8.0
- rails_main

env:
Expand Down Expand Up @@ -51,12 +52,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2', '3.3']
ruby: ["3.2", "3.3"]
gemfile:
- rails_6_1
- rails_7
- rails_7_1
- rails_7_2
- rails_6.1
- rails_7.0
- rails_7.1
- rails_7.2
- rails_8.0
- rails_main
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down Expand Up @@ -94,12 +96,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2', '3.3']
ruby: ["3.2", "3.3"]
gemfile:
- rails_6_1
- rails_7
- rails_7_1
- rails_7_2
- rails_6.1
- rails_7.0
- rails_7.1
- rails_7.2
- rails_8.0
- rails_main
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
14 changes: 8 additions & 6 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
appraise "rails-6-1" do
appraise "rails-6.1" do
gem "rails", "~> 6.1.0"
gem "sqlite3", "~> 1.4"
end

appraise "rails-7" do
appraise "rails-7.0" do
gem "rails", "~> 7.0.0"
gem "sqlite3", "~> 1.4"
end

appraise "rails-7-1" do
appraise "rails-7.1" do
gem "rails", "~> 7.1.0"
gem "sqlite3", "~> 1.4"
end

appraise "rails-7-2" do
appraise "rails-7.2" do
gem "rails", "~> 7.2.0.rc1"
gem "sqlite3", "~> 2.0"
end

appraise "rails-8.0" do
gem "rails", "~> 8.0.0"
end

appraise "rails-main" do
gem "rails", github: "rails/rails", branch: "main"
gem "sqlite3", "~> 2.0"
end
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gemspec
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

gem "appraisal", github: "thoughtbot/appraisal"
gem "appraisal"
gem "mocha"
gem "standard"
gem "vcr"
Expand Down
15 changes: 5 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
GIT
remote: https://github.com/thoughtbot/appraisal.git
revision: 602cdd9b5f8cb8f36992733422f69312b172f427
specs:
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)

PATH
remote: .
specs:
Expand Down Expand Up @@ -88,6 +79,10 @@ GEM
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
Expand Down Expand Up @@ -314,7 +309,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
appraisal!
appraisal
braintree (>= 2.92.0)
importmap-rails
lemonsqueezy (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6_1.gemfile → gemfiles/rails_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
gem "appraisal"
gem "mocha"
gem "standard"
gem "vcr"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
GIT
remote: https://github.com/thoughtbot/appraisal.git
revision: 602cdd9b5f8cb8f36992733422f69312b172f427
specs:
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)

PATH
remote: ..
specs:
Expand Down Expand Up @@ -77,6 +68,10 @@ GEM
zeitwerk (~> 2.3)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
Expand Down Expand Up @@ -284,7 +279,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
appraisal!
appraisal
braintree (>= 2.92.0)
importmap-rails
lemonsqueezy (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.gemfile → gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
gem "appraisal"
gem "mocha"
gem "standard"
gem "vcr"
Expand Down
15 changes: 5 additions & 10 deletions gemfiles/rails_7.gemfile.lock → gemfiles/rails_7.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
GIT
remote: https://github.com/thoughtbot/appraisal.git
revision: 602cdd9b5f8cb8f36992733422f69312b172f427
specs:
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)

PATH
remote: ..
specs:
Expand Down Expand Up @@ -83,6 +74,10 @@ GEM
tzinfo (~> 2.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
Expand Down Expand Up @@ -290,7 +285,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
appraisal!
appraisal
braintree (>= 2.92.0)
importmap-rails
lemonsqueezy (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7_1.gemfile → gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
gem "appraisal"
gem "mocha"
gem "standard"
gem "vcr"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
GIT
remote: https://github.com/thoughtbot/appraisal.git
revision: 602cdd9b5f8cb8f36992733422f69312b172f427
specs:
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)

PATH
remote: ..
specs:
Expand Down Expand Up @@ -92,6 +83,10 @@ GEM
tzinfo (~> 2.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
Expand Down Expand Up @@ -316,7 +311,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
appraisal!
appraisal
braintree (>= 2.92.0)
importmap-rails
lemonsqueezy (~> 1.0)
Expand Down
4 changes: 2 additions & 2 deletions gemfiles/rails_7_2.gemfile → gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git"
gem "appraisal"
gem "mocha"
gem "standard"
gem "vcr"
Expand All @@ -15,7 +15,7 @@ gem "prawn"
gem "receipts"
gem "mysql2"
gem "pg"
gem "sqlite3", "~> 2.0"
gem "sqlite3"
gem "puma"
gem "web-console", group: :development
gem "importmap-rails"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
GIT
remote: https://github.com/thoughtbot/appraisal.git
revision: 602cdd9b5f8cb8f36992733422f69312b172f427
specs:
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)

PATH
remote: ..
specs:
Expand Down Expand Up @@ -88,6 +79,10 @@ GEM
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
appraisal (3.0.0.rc1)
bundler
rake
thor (>= 0.14.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
Expand Down Expand Up @@ -316,7 +311,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
appraisal!
appraisal
braintree (>= 2.92.0)
importmap-rails
lemonsqueezy (~> 1.0)
Expand All @@ -333,7 +328,7 @@ DEPENDENCIES
rails (~> 7.2.0.rc1)
receipts
sprockets-rails
sqlite3 (~> 2.0)
sqlite3
standard
stimulus-rails
stripe (~> 13.0)
Expand Down
30 changes: 30 additions & 0 deletions gemfiles/rails_8.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal"
gem "mocha"
gem "standard"
gem "vcr"
gem "webmock"
gem "braintree", ">= 2.92.0"
gem "lemonsqueezy", "~> 1.0"
gem "paddle", "~> 2.6"
gem "stripe", "~> 13.0"
gem "prawn"
gem "receipts"
gem "mysql2"
gem "pg"
gem "sqlite3"
gem "puma"
gem "web-console", group: :development
gem "importmap-rails"
gem "sprockets-rails"
gem "stimulus-rails"
gem "turbo-rails"
gem "net-imap", require: false
gem "net-pop", require: false
gem "net-smtp", require: false
gem "rails", "~> 8.0.0"

gemspec path: "../"
Loading

0 comments on commit 03cada6

Please sign in to comment.