Skip to content

Commit

Permalink
prepare for v6
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Nov 14, 2023
1 parent 8f77f89 commit 24380a9
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 36 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- gemfiles/Gemfile-rails-6-1
- gemfiles/Gemfile-rails-6-0
ruby:
- 2.7
- '3.0'
- 3.1
- 3.2
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require:
- rubocop-performance

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 3.0
NewCops: enable

Metrics/BlockLength:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 6.0.0 (14-Nov-23)

* **Breaking change**: drop support for Ruby < 3. If you need to support older Rubies, stay on v5
* Test only with Rails 7
* Fix some failing tests, minor tweaks

## 5.0.0 (14-Dec-21)

* Add support for Rails 7.
Expand Down
2 changes: 1 addition & 1 deletion angular_rails_csrf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|

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

s.required_ruby_version = '>= 2.6.0'
s.required_ruby_version = '>= 3.0'

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

Expand Down
16 changes: 0 additions & 16 deletions gemfiles/Gemfile-rails-6-0

This file was deleted.

16 changes: 0 additions & 16 deletions gemfiles/Gemfile-rails-6-1

This file was deleted.

2 changes: 1 addition & 1 deletion lib/angular_rails_csrf/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module AngularRailsCsrf
VERSION = '5.0.0'
VERSION = '6.0.0'
end
1 change: 1 addition & 0 deletions test/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ class Application < Rails::Application
'437711d0ad314baf13efc0d35d7568d2e469668a7021cf5e945c667bd16507777aedb770f83'
config.eager_load = false # You get yelled at if you don't set this
config.active_support.test_order = :random
config.load_defaults 7.0
end
end

0 comments on commit 24380a9

Please sign in to comment.