Skip to content

Commit

Permalink
feat: Add support for Rails 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed Aug 24, 2024
1 parent 48238f4 commit 7b78c59
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- rails_6.1.gemfile
- rails_7.0.gemfile
- rails_7.1.gemfile
- rails_7.2.gemfile
fail-fast: False

env:
Expand Down
7 changes: 7 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ appraise 'rails-7.1' do
gem 'railties', '~> 7.1.0', require: 'rails'
end

appraise 'rails-7.2' do
gem 'activesupport', '~> 7.2.0'
gem 'activemodel', '~> 7.2.0'
gem 'actionpack', '~> 7.2.0'
gem 'railties', '~> 7.2.0', require: 'rails'
end

appraise 'rails-head' do
gem 'activesupport', github: 'rails/rails'
gem 'activemodel', github: 'rails/rails'
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 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Ch

### New

- Add support for Rails 7.2

### Changes

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ end
group :test do
gem "rspec", "~> 3.0"
gem "rspec-rails"
gem "simplecov-cobertura"
gem "simplecov"
gem "simplecov-cobertura"
end

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ end
group :test do
gem "rspec", "~> 3.0"
gem "rspec-rails"
gem "simplecov-cobertura"
gem "simplecov"
gem "simplecov-cobertura"
end

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ end
group :test do
gem "rspec", "~> 3.0"
gem "rspec-rails"
gem "simplecov-cobertura"
gem "simplecov"
gem "simplecov-cobertura"
end

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

source "https://rubygems.org"

gem "rake"
gem "rake-release", "~> 1.0"
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11", require: false
gem "activesupport", "~> 7.2.0"
gem "activemodel", "~> 7.2.0"
gem "actionpack", "~> 7.2.0"
gem "railties", "~> 7.2.0", require: "rails"

group :development do
gem "appraisal"
gem "benchmark-ips"
gem "pry"
gem "pry-byebug"
end

group :test do
gem "rspec", "~> 3.0"
gem "rspec-rails"
gem "simplecov"
gem "simplecov-cobertura"
end

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails_head.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ end
group :test do
gem "rspec", "~> 3.0"
gem "rspec-rails"
gem "simplecov-cobertura"
gem "simplecov"
gem "simplecov-cobertura"
end

gemspec path: "../"
2 changes: 1 addition & 1 deletion rails-rfc6570.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.7'

spec.add_runtime_dependency 'actionpack', '>= 4.2', '< 7.2'
spec.add_runtime_dependency 'actionpack', '>= 4.2', '< 8.0'
spec.add_runtime_dependency 'addressable', '~> 2.3'
end

0 comments on commit 7b78c59

Please sign in to comment.