diff --git a/.travis.yml b/.travis.yml index 53bc78c..1abc9d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +2,12 @@ language: ruby sudo: false cache: bundler rvm: - - 2.6.7 - - 2.7.3 - - 3.0.1 + - 2.7.5 + - 3.0.3 before_install: - gem update bundler env: - - 'TEST_RAILS_VERSION="~> 6.0.3"' - 'TEST_RAILS_VERSION="~> 6.1.0"' + - 'TEST_RAILS_VERSION="~> 7.0.0.rc1"' diff --git a/CHANGELOG.md b/CHANGELOG.md index 1567458..9b2790a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,12 @@ # Changelog -## Unreleased +## 5.0.0 -* Test against Rails 6.1. +* Add support for Rails 7. +* Test against Rails 6.1 and Rails 7.0. * Test against Ruby 3.0. * Rails 5.1 is not supported officially anymore (but should still work fine). -* Ruby 2.5 is not supported anymore (has reached end of life). +* Ruby < 2.7 is not supported anymore (has reached end of life) but should still work. ## 4.5.0 (21-Sep-20) diff --git a/angular_rails_csrf.gemspec b/angular_rails_csrf.gemspec index fa289d2..e4e54f3 100644 --- a/angular_rails_csrf.gemspec +++ b/angular_rails_csrf.gemspec @@ -24,15 +24,18 @@ Gem::Specification.new do |s| s.add_development_dependency 'rake', '~> 13.0' s.add_development_dependency 'test-unit', '~> 3.2' if ENV['TEST_RAILS_VERSION'].nil? - s.add_development_dependency 'rails', '6.1.4.1' + s.add_development_dependency 'rails', '7.0.0.rc1' else s.add_development_dependency 'rails', ENV['TEST_RAILS_VERSION'].to_s end - s.add_runtime_dependency 'railties', '>= 3', '< 7' + s.add_runtime_dependency 'railties', '>= 3', '< 8' s.add_development_dependency 'codecov', '~> 0.2' s.add_development_dependency 'rubocop', '~> 1.0' s.add_development_dependency 'rubocop-performance', '~> 1.5' s.add_development_dependency 'simplecov', '~> 0.16' + s.metadata = { + 'rubygems_mfa_required' => 'true' + } end diff --git a/lib/angular_rails_csrf/version.rb b/lib/angular_rails_csrf/version.rb index 8d77a95..f2ffe26 100644 --- a/lib/angular_rails_csrf/version.rb +++ b/lib/angular_rails_csrf/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module AngularRailsCsrf - VERSION = '4.5.0' + VERSION = '5.0.0' end