Skip to content

Commit

Permalink
Merge pull request #87 from mnemosyne-mon/f/rails-8-0
Browse files Browse the repository at this point in the history
chore: Add Rails 7.2 and 8.0 to test matrix
  • Loading branch information
jgraichen authored Dec 13, 2024
2 parents aec235f + 820059c commit d81088f
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ jobs:
- faraday-2.0
- msgr
- rack
- rails-6.1
- rails-7.0
- rails-8.0
- rails-7.2
- rails-7.1
- rails-7.0
- rails-6.1
- redis-4.0
- redis-5.0
- redis-client
Expand All @@ -46,15 +48,21 @@ jobs:
- suite: rack
spec: --tag probe:rack
gemfile: gemfiles/core.gemfile
- suite: rails-6.1
- suite: rails-8.0
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_61.gemfile
- suite: rails-7.0
gemfile: gemfiles/rails_80.gemfile
- suite: rails-7.2
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_70.gemfile
gemfile: gemfiles/rails_72.gemfile
- suite: rails-7.1
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_71.gemfile
- suite: rails-7.0
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_70.gemfile
- suite: rails-6.1
spec: --tag probe:rails --tag ~probe
gemfile: gemfiles/rails_61.gemfile
- suite: redis-4.0
spec: --tag probe:redis
gemfile: gemfiles/redis_40.gemfile
Expand All @@ -73,6 +81,9 @@ jobs:
- suite: sidekiq-7
spec: --tag probe:sidekiq
gemfile: gemfiles/sidekiq_70.gemfile
exclude:
- ruby: "3.1"
suite: rails-8.0

env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
Expand Down
18 changes: 18 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,24 @@ appraise 'faraday-20' do
end
end

appraise 'rails-80' do
remove_gem 'rubocop'

group :test do
gem 'rails', '~> 8.0.0'
gem 'sqlite3', '~> 2.0'
end
end

appraise 'rails-72' do
remove_gem 'rubocop'

group :test do
gem 'rails', '~> 7.2.0'
gem 'sqlite3', '~> 1.4'
end
end

appraise 'rails-71' do
remove_gem 'rubocop'

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added

- Increase compatibility of Kernel#require patch
- Add support for Rails 7.2
- Add support for Rails 8.0

## [2.0.0] - 2024-02-29

Expand Down
28 changes: 28 additions & 0 deletions gemfiles/rails_72.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rake", "~> 13.0"

group :test do
gem "rspec", "~> 3.6"
gem "timecop", "~> 0.9.1"
gem "faraday"
gem "msgr"
gem "rails", "~> 7.2.0"
gem "redis"
gem "redis-client"
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 1.4"
end

group :development do
gem "appraisal"
gem "rake-release", "~> 1.3.0"
gem "pry", require: false
gem "pry-byebug", require: false
end

gemspec path: "../"
28 changes: 28 additions & 0 deletions gemfiles/rails_80.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rake", "~> 13.0"

group :test do
gem "rspec", "~> 3.6"
gem "timecop", "~> 0.9.1"
gem "faraday"
gem "msgr"
gem "rails", "~> 8.0.0"
gem "redis"
gem "redis-client"
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 2.0"
end

group :development do
gem "appraisal"
gem "rake-release", "~> 1.3.0"
gem "pry", require: false
gem "pry-byebug", require: false
end

gemspec path: "../"

0 comments on commit d81088f

Please sign in to comment.