Skip to content

Commit c6bf57e

Browse files
committed
feat: Add support for Rails 7.2
1 parent 48238f4 commit c6bf57e

10 files changed

+43
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- rails_6.1.gemfile
2222
- rails_7.0.gemfile
2323
- rails_7.1.gemfile
24+
- rails_7.2.gemfile
2425
fail-fast: False
2526

2627
env:

Appraisals

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ appraise 'rails-7.1' do
2121
gem 'railties', '~> 7.1.0', require: 'rails'
2222
end
2323

24+
appraise 'rails-7.2' do
25+
gem 'activesupport', '~> 7.2.0'
26+
gem 'activemodel', '~> 7.2.0'
27+
gem 'actionpack', '~> 7.2.0'
28+
gem 'railties', '~> 7.2.0', require: 'rails'
29+
end
30+
2431
appraise 'rails-head' do
2532
gem 'activesupport', github: 'rails/rails'
2633
gem 'activemodel', github: 'rails/rails'

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Ch
99

1010
### New
1111

12+
- Add support for Rails 7.2
13+
1214
### Changes
1315

1416
### Fixes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://img.shields.io/github/actions/workflow/status/jgraichen/rails-rfc6570/test.yml?logo=github)](https://github.com/jgraichen/rails-rfc6570/actions/workflows/test.yml)
44

5-
Pragmatic access to your Rails routes as RFC6570 URI templates. Tested with Rails 6.1, 7.0, 7.1 and Ruby 2.7, 3.0, 3.1, 3.2, 3.3.
5+
Pragmatic access to your Rails routes as RFC6570 URI templates. Tested with Rails 6.1, 7.0, 7.1, 7.2 and Ruby 2.7, 3.0, 3.1, 3.2, 3.3.
66

77
## Installation
88

gemfiles/rails_6.1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ end
2020
group :test do
2121
gem "rspec", "~> 3.0"
2222
gem "rspec-rails"
23-
gem "simplecov-cobertura"
2423
gem "simplecov"
24+
gem "simplecov-cobertura"
2525
end
2626

2727
gemspec path: "../"

gemfiles/rails_7.0.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ end
2020
group :test do
2121
gem "rspec", "~> 3.0"
2222
gem "rspec-rails"
23-
gem "simplecov-cobertura"
2423
gem "simplecov"
24+
gem "simplecov-cobertura"
2525
end
2626

2727
gemspec path: "../"

gemfiles/rails_7.1.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ end
2020
group :test do
2121
gem "rspec", "~> 3.0"
2222
gem "rspec-rails"
23-
gem "simplecov-cobertura"
2423
gem "simplecov"
24+
gem "simplecov-cobertura"
2525
end
2626

2727
gemspec path: "../"

gemfiles/rails_7.2.gemfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rake"
6+
gem "rake-release", "~> 1.0"
7+
gem "rubocop-config", github: "jgraichen/rubocop-config", ref: "v11", require: false
8+
gem "activesupport", "~> 7.2.0"
9+
gem "activemodel", "~> 7.2.0"
10+
gem "actionpack", "~> 7.2.0"
11+
gem "railties", "~> 7.2.0", require: "rails"
12+
13+
group :development do
14+
gem "appraisal"
15+
gem "benchmark-ips"
16+
gem "pry"
17+
gem "pry-byebug"
18+
end
19+
20+
group :test do
21+
gem "rspec", "~> 3.0"
22+
gem "rspec-rails"
23+
gem "simplecov"
24+
gem "simplecov-cobertura"
25+
end
26+
27+
gemspec path: "../"

gemfiles/rails_head.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ end
2020
group :test do
2121
gem "rspec", "~> 3.0"
2222
gem "rspec-rails"
23-
gem "simplecov-cobertura"
2423
gem "simplecov"
24+
gem "simplecov-cobertura"
2525
end
2626

2727
gemspec path: "../"

rails-rfc6570.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
2727

2828
spec.required_ruby_version = '>= 2.7'
2929

30-
spec.add_runtime_dependency 'actionpack', '>= 4.2', '< 7.2'
30+
spec.add_runtime_dependency 'actionpack', '>= 4.2', '< 8.0'
3131
spec.add_runtime_dependency 'addressable', '~> 2.3'
3232
end

0 commit comments

Comments
 (0)