diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3486a6a..4db8592 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,3 +73,6 @@ jobs: - { 'rails': '6.1', 'ruby': '2.7.5' } - { 'rails': '6.1', 'ruby': '3.0.3' } - { 'rails': '6.1', 'ruby': '3.1.1' } + - { 'rails': '7.0', 'ruby': '2.7.5' } + - { 'rails': '7.0', 'ruby': '3.0.3' } + - { 'rails': '7.0', 'ruby': '3.1.1' } diff --git a/CHANGELOG.md b/CHANGELOG.md index 337f852..fa63e90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ about why a change log is important. ## x.y.z ### Added +- Add support for Rails 7.0 (#131) - Add support for Ruby 3.1 (#143) ### Changed diff --git a/gemfiles/Gemfile.rails-7.0 b/gemfiles/Gemfile.rails-7.0 new file mode 100644 index 0000000..9532a7d --- /dev/null +++ b/gemfiles/Gemfile.rails-7.0 @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +source 'https://rubygems.org' + +gem 'rails', '~> 7.0.2.2' + +gemspec path: '../' diff --git a/page_title_helper.gemspec b/page_title_helper.gemspec index 7d2ba8c..ce31df6 100644 --- a/page_title_helper.gemspec +++ b/page_title_helper.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |s| s.license = 'MIT' - s.add_dependency 'rails', '>= 5.2.0', '< 6.2' + s.add_dependency 'rails', '>= 5.2.0', '< 7.1' s.add_development_dependency 'rake', '~> 13.0.6' s.add_development_dependency 'rubocop', '~> 1.25.1'