Skip to content
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
37 changes: 22 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,39 @@ jobs:
- "3.0"
- "2.7"
gemfile:
- rails_6.1.gemfile
- rails_7.0.gemfile
- rails_7.1.gemfile
- rails_7.2.gemfile
- rails_8.0.gemfile
- rails_6.1
- rails_7.0
- rails_7.1
- rails_7.2
- rails_8.0
- rails_8.1
exclude:
- gemfile: rails_8.0.gemfile
- gemfile: rails_8.1
ruby: "3.1"
- gemfile: rails_8.0.gemfile
- gemfile: rails_8.1
ruby: "3.0"
- gemfile: rails_8.0.gemfile
- gemfile: rails_8.1
ruby: "2.7"
- gemfile: rails_7.2.gemfile
- gemfile: rails_8.0
ruby: "3.1"
- gemfile: rails_8.0
ruby: "3.0"
- gemfile: rails_8.0
ruby: "2.7"
- gemfile: rails_7.2
ruby: "3.0"
- gemfile: rails_7.2.gemfile
- gemfile: rails_7.2
ruby: "2.7"
- gemfile: rails_7.1.gemfile
- gemfile: rails_7.1
ruby: "3.4"
- gemfile: rails_7.0.gemfile
- gemfile: rails_7.0
ruby: "3.4"
- gemfile: rails_6.1.gemfile
- gemfile: rails_6.1
ruby: "3.4"
fail-fast: False

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_JOBS: 4
BUNDLE_RETRY: 10
BUNDLE_WITHOUT: development
Expand All @@ -62,7 +69,7 @@ jobs:
bundler-cache: true

- run: |
bundle exec rspec --color --format documentation
bundle exec rspec --force-color --format documentation

- uses: codecov/codecov-action@v5
with:
Expand Down
7 changes: 7 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ appraise 'rails-8.0' do
gem 'railties', '~> 8.0.0', require: 'rails'
end

appraise 'rails-8.1' do
gem 'activesupport', '~> 8.1.0'
gem 'activemodel', '~> 8.1.0'
gem 'actionpack', '~> 8.1.0'
gem 'railties', '~> 8.1.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 8.1

### Changes

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Pragmatic access to your Rails routes as RFC6570 URI templates.

Tested with Rails 6.1, 7.0, 7.1, 7.2, 8.0 and Ruby 2.7, 3.0, 3.1, 3.2, 3.3, and 3.4.
Tested with Rails 6.1, 7.0, 7.1, 7.2, 8.0, 8.1, and Ruby 2.7, 3.0, 3.1, 3.2, 3.3, and 3.4.

## Installation

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

source "https://rubygems.org"

gem "rake"
gem "rake-release", "~> 1.0"
gem "rspec", "~> 3.0"
gem "activesupport", "~> 8.1.0"
gem "activemodel", "~> 8.1.0"
gem "actionpack", "~> 8.1.0"
gem "railties", "~> 8.1.0", require: "rails"

group :development do
gem "appraisal"
gem "benchmark-ips"
gem "rubocop-config", github: "jgraichen/rubocop-config", tag: "v14", require: false
end

group :test do
gem "rspec-github", require: false
gem "rspec-rails"
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_dependency 'actionpack', '>= 4.2', '< 8.1'
spec.add_dependency 'actionpack', '>= 4.2', '< 8.2'
spec.add_dependency 'addressable', '~> 2.3'
end