angular_rails_csrf 7.0.1 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93c2203c523539847ce011752c0a50ba0662f1f05aef215343ad3dd8f576cf2c
4
- data.tar.gz: 19031ae6c4b9c5c9f4fcfdeadeb0853c7cc4c0fcd592768b833b06447d3ffdfe
3
+ metadata.gz: b95a1805f70aa59f51398e31bc1fb65fad1c8a60291442a0b94a8573ebb2eaf0
4
+ data.tar.gz: 29b4dd1b60f5ae0ede924169d786fa9e9eb2dfc14b750c3c56a42837f88a0492
5
5
  SHA512:
6
- metadata.gz: 9a4a6a941ccb94e0cdcd18b51db96c3efccf2beecaec88a105cd88a377cf8e1700c92cfb9ba555f86cb0f24452ce80c299154cf2704356da37ab240482270e44
7
- data.tar.gz: 02431a3ecc99795abcd1d827cb3c1d058e285c12ccb2d3ecb4aa6f788cca4a9cf0e4796f516792aebacdd5d49047d8b077d8900ce4c154c74d420bac6225bb69
6
+ metadata.gz: e3cb2f32d02c664e5a4a5f94529944fb3cda0504964b5b83ce3781698d754b5420fb537f2a68cc1b43003fd3d50541296160c317ffae05f2e8861fb2d723c6f0
7
+ data.tar.gz: 5c07d1e18cc33dab0819003596635887c52bc3df47cb601abf27983ab44feff5a459a7b49ddd50f9d84a1c9a88dcd6769b7b9c9818efc9130b9a7f5c8a890c99
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.0.2 (01-Nov-25)
4
+
5
+ * Test with Ruby 3.5
6
+ * Remove deprecation message, put into passive maintenance mode
7
+
3
8
  ## 7.0.1 (11-May-25)
4
9
 
5
10
  * Test with Ruby 3.4
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  ![CI](https://github.com/bodrovis/angular_rails_csrf/actions/workflows/ci.yml/badge.svg)
5
5
  ![Downloads total](https://img.shields.io/gem/dt/angular_rails_csrf)
6
6
 
7
- **Deprecation notice (2025)**
7
+ **This gem is in passive maintenance mode:**
8
8
 
9
9
  James and then me (@bodrovis) have been supporting this gem since 2013. It has been downloaded more than 10 million times and we're glad you guys found it useful. However, after discussing privately we've decided to put angular_rails_csrf under passive maintenance starting from June 2025.
10
10
 
@@ -14,10 +14,6 @@ In modern frontend–backend architectures (e.g., Angular, React, Vue + Rails AP
14
14
  - Serve frontend via Rails
15
15
  - Expect `XSRF-TOKEN` / `X-XSRF-TOKEN` pattern
16
16
 
17
- If you're actively using this gem and want to see it maintained or enhanced, please [open an issue](https://github.com/bodrovis/angular_rails_csrf/issues) describing your use case.
18
-
19
- Otherwise, this project may be archived in late 2025 or 2026. Thank you!
20
-
21
17
  ---
22
18
 
23
19
  The AngularJS [ng.$http](http://docs.angularjs.org/api/ng.$http) service has built-in CSRF protection. By default, it looks for a cookie named `XSRF-TOKEN` and, if found, writes its value into an `X-XSRF-TOKEN` header, which the server compares with the CSRF token saved in the user's session.
@@ -9,16 +9,5 @@ module AngularRailsCsrf
9
9
  include AngularRailsCsrf::Concern
10
10
  end
11
11
  end
12
-
13
- initializer 'angular-rails-csrf.deprecation_notice' do |_app|
14
- unless Rails.env.test? || ENV['ANGULAR_RAILS_CSRF_SILENCE']
15
- AngularRailsCsrf.deprecator.warn(
16
- '[angular_rails_csrf] This gem is under passive maintenance and may be sunset in the future. ' \
17
- 'Open an issue if you rely on it and want it to live on: ' \
18
- 'https://github.com/bodrovis/angular_rails_csrf/issues. ' \
19
- 'Set ANGULAR_RAILS_CSRF_SILENCE to silence this warning.'
20
- )
21
- end
22
- end
23
12
  end
24
13
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AngularRailsCsrf
4
- VERSION = '7.0.1'
4
+ VERSION = '7.0.2'
5
5
  end
@@ -3,7 +3,4 @@
3
3
  require 'angular_rails_csrf/railtie'
4
4
 
5
5
  module AngularRailsCsrf
6
- def self.deprecator
7
- @deprecator ||= ActiveSupport::Deprecation.new('7.0', 'angular_rails_csrf')
8
- end
9
- end
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular_rails_csrf
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.1
4
+ version: 7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Sanders
@@ -51,7 +51,6 @@ licenses:
51
51
  - MIT
52
52
  metadata:
53
53
  rubygems_mfa_required: 'true'
54
- deprecation_warning: Passive maintenance; may be sunset in 2025-2026. See README.
55
54
  rdoc_options: []
56
55
  require_paths:
57
56
  - lib
@@ -66,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
65
  - !ruby/object:Gem::Version
67
66
  version: '0'
68
67
  requirements: []
69
- rubygems_version: 3.6.8
68
+ rubygems_version: 3.7.2
70
69
  specification_version: 4
71
70
  summary: Support for AngularJS $http service style CSRF protection in Rails
72
71
  test_files: []