diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 0a8533c9..db8ea29b 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: ruby-version: ['2.7', '3.0', '3.1', '3.2'] - gemfile: [rails_6.1, rails_7.0] + gemfile: [rails_6.1, rails_7.0, rails_7.1] channel: ['stable'] include: @@ -35,6 +35,9 @@ jobs: - ruby-version: 'head' gemfile: rails_7.0 channel: 'experimental' + - ruby-version: 'head' + gemfile: rails_7.1 + channel: 'experimental' - ruby-version: 'head' gemfile: rails_edge channel: 'experimental' diff --git a/Appraisals b/Appraisals index 428badd4..55a3c323 100644 --- a/Appraisals +++ b/Appraisals @@ -8,6 +8,10 @@ appraise 'rails-7.0' do gem 'rails', '~> 7.0.0' end +appraise 'rails-7.1' do + gem 'rails', '~> 7.1.0' +end + appraise 'rails-edge' do gem 'rails', git: 'https://github.com/rails/rails.git', branch: 'main' end diff --git a/CHANGELOG.md b/CHANGELOG.md index d036f522..5b55ebe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 14.1.0 / 2023-10-05 + +* [FEATURE] Rails 7.1 compatibility + ## 14.0.1 / 2023-09-03 * [BUGFIX] Fix eager load on booting ([#296](https://github.com/enriclluelles/route_translator/issues/296)) diff --git a/gemfiles/rails_6.1.gemfile b/gemfiles/rails_6.1.gemfile index 1819787f..b8e5e189 100644 --- a/gemfiles/rails_6.1.gemfile +++ b/gemfiles/rails_6.1.gemfile @@ -2,18 +2,18 @@ source "https://rubygems.org" -gem "appraisal", "~> 2.4" -gem "byebug", "~> 11.1" -gem "minitest", "~> 5.19" +gem "appraisal" +gem "byebug" +gem "minitest" gem "rails", "~> 6.1.0" -gem "rake", "~> 13.0" -gem "rubocop", "~> 1.56" -gem "rubocop-minitest", "~> 0.31.0" -gem "rubocop-packaging", "~> 0.5.2" -gem "rubocop-performance", "~> 1.19" -gem "rubocop-rails", "~> 2.20" -gem "rubocop-rake", "~> 0.6.0" -gem "simplecov", "~> 0.22.0" -gem "simplecov-lcov", "~> 0.8.0" +gem "rake" +gem "rubocop" +gem "rubocop-minitest" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rake" +gem "simplecov" +gem "simplecov-lcov" gemspec path: "../" diff --git a/gemfiles/rails_7.0.gemfile b/gemfiles/rails_7.0.gemfile index 80a4dc7f..bec6b0c8 100644 --- a/gemfiles/rails_7.0.gemfile +++ b/gemfiles/rails_7.0.gemfile @@ -2,18 +2,18 @@ source "https://rubygems.org" -gem "appraisal", "~> 2.4" -gem "byebug", "~> 11.1" -gem "minitest", "~> 5.19" +gem "appraisal" +gem "byebug" +gem "minitest" gem "rails", "~> 7.0.0" -gem "rake", "~> 13.0" -gem "rubocop", "~> 1.56" -gem "rubocop-minitest", "~> 0.31.0" -gem "rubocop-packaging", "~> 0.5.2" -gem "rubocop-performance", "~> 1.19" -gem "rubocop-rails", "~> 2.20" -gem "rubocop-rake", "~> 0.6.0" -gem "simplecov", "~> 0.22.0" -gem "simplecov-lcov", "~> 0.8.0" +gem "rake" +gem "rubocop" +gem "rubocop-minitest" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rake" +gem "simplecov" +gem "simplecov-lcov" gemspec path: "../" diff --git a/gemfiles/rails_7.1.gemfile b/gemfiles/rails_7.1.gemfile new file mode 100644 index 00000000..190b2260 --- /dev/null +++ b/gemfiles/rails_7.1.gemfile @@ -0,0 +1,19 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal" +gem "byebug" +gem "minitest" +gem "rails", "~> 7.1.0" +gem "rake" +gem "rubocop" +gem "rubocop-minitest" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rake" +gem "simplecov" +gem "simplecov-lcov" + +gemspec path: "../" diff --git a/gemfiles/rails_edge.gemfile b/gemfiles/rails_edge.gemfile index c74e8bda..e07c096a 100644 --- a/gemfiles/rails_edge.gemfile +++ b/gemfiles/rails_edge.gemfile @@ -2,18 +2,18 @@ source "https://rubygems.org" -gem "appraisal", "~> 2.4" -gem "byebug", "~> 11.1" -gem "minitest", "~> 5.19" +gem "appraisal" +gem "byebug" +gem "minitest" gem "rails", git: "https://github.com/rails/rails.git", branch: "main" -gem "rake", "~> 13.0" -gem "rubocop", "~> 1.56" -gem "rubocop-minitest", "~> 0.31.0" -gem "rubocop-packaging", "~> 0.5.2" -gem "rubocop-performance", "~> 1.19" -gem "rubocop-rails", "~> 2.20" -gem "rubocop-rake", "~> 0.6.0" -gem "simplecov", "~> 0.22.0" -gem "simplecov-lcov", "~> 0.8.0" +gem "rake" +gem "rubocop" +gem "rubocop-minitest" +gem "rubocop-packaging" +gem "rubocop-performance" +gem "rubocop-rails" +gem "rubocop-rake" +gem "simplecov" +gem "simplecov-lcov" gemspec path: "../" diff --git a/lib/route_translator/version.rb b/lib/route_translator/version.rb index 0fa1ad32..ba3f09e5 100644 --- a/lib/route_translator/version.rb +++ b/lib/route_translator/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module RouteTranslator - VERSION = '14.0.1' + VERSION = '14.1.0' end diff --git a/route_translator.gemspec b/route_translator.gemspec index e89d91f2..c664d174 100644 --- a/route_translator.gemspec +++ b/route_translator.gemspec @@ -26,6 +26,6 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.7' - spec.add_runtime_dependency 'actionpack', '>= 6.1', '< 7.1' - spec.add_runtime_dependency 'activesupport', '>= 6.1', '< 7.1' + spec.add_runtime_dependency 'actionpack', '>= 6.1', '< 7.2' + spec.add_runtime_dependency 'activesupport', '>= 6.1', '< 7.2' end