Skip to content

Commit 24380a9

Browse files
committed
prepare for v6
1 parent 8f77f89 commit 24380a9

8 files changed

Lines changed: 10 additions & 36 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
- gemfiles/Gemfile-rails-6-1
1616
- gemfiles/Gemfile-rails-6-0
1717
ruby:
18-
- 2.7
1918
- '3.0'
2019
- 3.1
2120
- 3.2

.rubocop.yml

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

44
AllCops:
5-
TargetRubyVersion: 2.6
5+
TargetRubyVersion: 3.0
66
NewCops: enable
77

88
Metrics/BlockLength:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 6.0.0 (14-Nov-23)
4+
5+
* **Breaking change**: drop support for Ruby < 3. If you need to support older Rubies, stay on v5
6+
* Test only with Rails 7
7+
* Fix some failing tests, minor tweaks
8+
39
## 5.0.0 (14-Dec-21)
410

511
* Add support for Rails 7.

angular_rails_csrf.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
1818

1919
s.files = Dir['lib/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
2020

21-
s.required_ruby_version = '>= 2.6.0'
21+
s.required_ruby_version = '>= 3.0'
2222

2323
s.add_runtime_dependency 'railties', '>= 3', '< 8'
2424

gemfiles/Gemfile-rails-6-0

Lines changed: 0 additions & 16 deletions
This file was deleted.

gemfiles/Gemfile-rails-6-1

Lines changed: 0 additions & 16 deletions
This file was deleted.

lib/angular_rails_csrf/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module AngularRailsCsrf
4-
VERSION = '5.0.0'
4+
VERSION = '6.0.0'
55
end

test/dummy/config/application.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ class Application < Rails::Application
1313
'437711d0ad314baf13efc0d35d7568d2e469668a7021cf5e945c667bd16507777aedb770f83'
1414
config.eager_load = false # You get yelled at if you don't set this
1515
config.active_support.test_order = :random
16+
config.load_defaults 7.0
1617
end
1718
end

0 commit comments

Comments
 (0)