From b4b9d34285d758bb574501e8513706d952be39a1 Mon Sep 17 00:00:00 2001 From: bodrovis Date: Tue, 12 Nov 2024 15:48:37 +0200 Subject: [PATCH] v7.0.0 --- .rubocop.yml | 2 +- CHANGELOG.md | 6 ++++-- Gemfile | 3 ++- LICENSE => LICENSE.md | 2 +- angular_rails_csrf.gemspec | 4 +--- lib/angular_rails_csrf/version.rb | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) rename LICENSE => LICENSE.md (95%) diff --git a/.rubocop.yml b/.rubocop.yml index bdd3b15..f84e5f6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,7 @@ require: - rubocop-performance AllCops: - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.2 NewCops: enable SuggestExtensions: false diff --git a/CHANGELOG.md b/CHANGELOG.md index dc46b32..311bb57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,11 @@ # Changelog -## Unreleased +## 7.0.0 (12-Nov-24) -* Do not test with Ruby 3.0 and 3.1 +* **Breaking change**: require Ruby 3.2+. If you need support for older Rubies, stay on version 6 +* Set Railties dependency to `< 9` * Test with Rails 8 +* Do not test with Ruby 3.0 and 3.1 ## 6.0.0 (14-Nov-23) diff --git a/Gemfile b/Gemfile index 56c825a..1d80c40 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,8 @@ source 'https://rubygems.org' gemspec group :test do - gem 'rails', '8.0.0.rc2' + gem 'fiddle', '~> 1.1', platforms: %i[mingw mswin x64_mingw] + gem 'rails', '8.0.0' gem 'rake', '~> 13.0' gem 'rubocop', '~> 1.0' gem 'rubocop-performance', '~> 1.5' diff --git a/LICENSE b/LICENSE.md similarity index 95% rename from LICENSE rename to LICENSE.md index 9401590..103ff5e 100644 --- a/LICENSE +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright 2022 James Sanders, Ilya Krukowski +Copyright 2024 James Sanders, Ilya Krukowski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/angular_rails_csrf.gemspec b/angular_rails_csrf.gemspec index 71e16e4..a1d5bcb 100644 --- a/angular_rails_csrf.gemspec +++ b/angular_rails_csrf.gemspec @@ -2,10 +2,8 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) -# Maintain your gem's version: require 'angular_rails_csrf/version' -# Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = 'angular_rails_csrf' s.version = AngularRailsCsrf::VERSION @@ -16,7 +14,7 @@ Gem::Specification.new do |s| s.description = 'AngularJS style CSRF protection for Rails' s.license = 'MIT' - s.files = Dir['lib/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md'] + s.files = Dir['lib/**/*', 'LICENSE.md', 'Rakefile', 'README.md', 'CHANGELOG.md'] s.required_ruby_version = '>= 3.2' diff --git a/lib/angular_rails_csrf/version.rb b/lib/angular_rails_csrf/version.rb index ffbe125..8944556 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 = '6.0.0' + VERSION = '7.0.0' end