Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appraisal #47

Merged
merged 6 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,18 @@ jobs:
strategy:
matrix:
gemfile:
- Gemfile # latest Rails (8.0)
- gemfiles/Gemfile-rails-7-0
- gemfiles/Gemfile-rails-7-1
- gemfiles/Gemfile-rails-7-2
- gemfiles/rails_7.1
- gemfiles/rails_7.2
- gemfiles/rails_8.0
ruby:
- "3.1"
- "3.2"
- "3.3"
# exclude:
# - gemfile: gemfiles/Gemfile-rails-6-0
# ruby: '3.2'
exclude:
- gemfile: gemfiles/rails_8.0
ruby: '3.1'
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
.DS_Store

Gemfile.lock

/gemfiles/*.lock
16 changes: 16 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# frozen_string_literal: true

appraise "rails-7.1" do
gem "rails", "~> 7.1.0"
gem "sqlite3", "~> 1.6"
end

appraise "rails-7.2" do
gem "rails", "~> 7.2.0"
gem "sqlite3", "~> 1.7"
end

appraise "rails-8.0" do
gem "rails", "~> 8.0.0"
gem "sqlite3"
end
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ gemspec
gem "activerecord" # needed for app_test test case
gem "sqlite3"

gem "appraisal"

gem "minitest-reporters"

gem "rubocop"
Expand Down
12 changes: 8 additions & 4 deletions gemfiles/Gemfile-rails-7-0 → gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec path: ".."
# This file was generated by Appraisal

gem "rails", github: "rails/rails", branch: "7-0-stable"
source "https://rubygems.org"

gem "activerecord"
gem "appraisal"
gem "minitest-reporters"
gem "rails", "~> 7.1.0"
gem "rubocop"
gem "rubocop-minitest"
gem "rubocop-performance"
gem "rubocop-thread_safety"
gem "ruby-lsp"
gem "sqlite3", "~> 1.6"

gemspec path: "../"
14 changes: 9 additions & 5 deletions gemfiles/Gemfile-rails-7-2 → gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec path: ".."
# This file was generated by Appraisal

gem "rails", github: "rails/rails", branch: "7-2-stable"
source "https://rubygems.org"

gem "activerecord"
gem "appraisal"
gem "minitest-reporters"
gem "rails", "~> 7.2.0"
gem "rubocop"
gem "rubocop-minitest"
gem "rubocop-performance"
gem "rubocop-thread_safety"
gem "sqlite3", "~> 1.6"
gem "ruby-lsp"
gem "sqlite3", "~> 1.7"

gemspec path: "../"
14 changes: 9 additions & 5 deletions gemfiles/Gemfile-rails-7-1 → gemfiles/rails_8.0.gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec path: ".."
# This file was generated by Appraisal

gem "rails", github: "rails/rails", branch: "7-1-stable"
source "https://rubygems.org"

gem "activerecord"
gem "appraisal"
gem "minitest-reporters"
gem "rails", "~> 8.0.0"
gem "rubocop"
gem "rubocop-minitest"
gem "rubocop-performance"
gem "rubocop-thread_safety"
gem "sqlite3", "~> 1.6"
gem "ruby-lsp"
gem "sqlite3"

gemspec path: "../"
Loading