grape-jwt-authentication 2.7.1 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bafce52c8e698421232325dfe9f003a9251b5100bddaa3cc5698f61033e557b9
4
- data.tar.gz: c0f3224f38a1c814e67c73087edac614e7557aa9204c0e594b7855c8357af912
3
+ metadata.gz: f44584743cb6d8904ca81e902f59012184ce72af402c7d467ca692514ee3fc6a
4
+ data.tar.gz: 8c59a84764ce68c7dd6e7bb38ba0f7e81ae3c38a8b6a151f86173b0d2b5f334b
5
5
  SHA512:
6
- metadata.gz: ff0cb1bfb59949634037f53ac28f1b3b461556842d6076a807da33a1d12184a88242b276d33f06e437f8b3973678f8001c06ab6476f50b001b84fc980712a54c
7
- data.tar.gz: 1fd927cdf3b6565773aee13c02c744aa8b9041adaabc888d7d37ca2836f98e4a6b68cd7bc3e5296f4d4442c1b4e4af4b78b0412e40c1b3ed41521e5d03cfc084
6
+ metadata.gz: d864b1c445ebd26ee363b001b652f0b931a1d5d4ad4363a38d2e6b3ee2d682639d1a43a642e2a974217e0211f183f7fb75fa75642e42c5ac3cbc1b1ca99f854a
7
+ data.tar.gz: 2c03cd34c4a56968adfd975dc78b51f8c35a0d3abf7ef8596502da77fc97d8f25600fd556cd371c10fc4faf1e9e936c5cf9459d7dda482c8dd4afe6d6e5dd771
@@ -18,7 +18,7 @@ jobs:
18
18
  strategy:
19
19
  fail-fast: false
20
20
  matrix:
21
- ruby: ['2.7', '3.0']
21
+ ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
22
22
  rails: ['6.1', '7.1']
23
23
  env:
24
24
  BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
data/CHANGELOG.md CHANGED
@@ -2,21 +2,25 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 2.8.0 (30 January 2025)
6
+
7
+ * Added all versions up to Ruby 3.4 to the CI matrix ([#19](https://github.com/hausgold/grape-jwt-authentication/pull/19))
8
+
5
9
  ### 2.7.1 (17 January 2025)
6
10
 
7
- * Added the logger dependency (#18)
11
+ * Added the logger dependency ([#18](https://github.com/hausgold/grape-jwt-authentication/pull/18))
8
12
 
9
13
  ### 2.7.0 (11 January 2025)
10
14
 
11
- * Switched to Zeitwerk as autoloader (#17)
15
+ * Switched to Zeitwerk as autoloader ([#17](https://github.com/hausgold/grape-jwt-authentication/pull/17))
12
16
 
13
17
  ### 2.6.0 (3 January 2025)
14
18
 
15
- * Raised minimum supported Ruby/Rails version to 2.7/6.1 (#16)
19
+ * Raised minimum supported Ruby/Rails version to 2.7/6.1 ([#16](https://github.com/hausgold/grape-jwt-authentication/pull/16))
16
20
 
17
21
  ### 2.5.0 (4 October 2024)
18
22
 
19
- * Upgraded the `recursive-open-struct` gem to `~> 2.0` (#15)
23
+ * Upgraded the `recursive-open-struct` gem to `~> 2.0` ([#15](https://github.com/hausgold/grape-jwt-authentication/pull/15))
20
24
 
21
25
  ### 2.4.5 (15 August 2024)
22
26
 
@@ -36,17 +40,17 @@
36
40
 
37
41
  ### 2.4.1 (9 August 2024)
38
42
 
39
- * Added API docs building to continuous integration (#14)
43
+ * Added API docs building to continuous integration ([#14](https://github.com/hausgold/grape-jwt-authentication/pull/14))
40
44
 
41
45
  ### 2.4.0 (8 July 2024)
42
46
 
43
- * Dropped support for Ruby <2.7 (#13)
47
+ * Dropped support for Ruby <2.7 ([#13](https://github.com/hausgold/grape-jwt-authentication/pull/13))
44
48
 
45
49
  ### 2.3.0 (16 January 2024)
46
50
 
47
51
  * Implemented case-insensitive header value checks for Grape 2.0.0+
48
52
  compatibility, aligning with HTTP/2+ semantics (#11, #12)
49
- * Moved the development dependencies from the gemspec to the Gemfile (#10)
53
+ * Moved the development dependencies from the gemspec to the Gemfile ([#10](https://github.com/hausgold/grape-jwt-authentication/pull/10))
50
54
 
51
55
  ### 2.2.0 (24 February 2023)
52
56
 
@@ -54,11 +58,11 @@
54
58
 
55
59
  ### 2.1.0 (18 January 2023)
56
60
 
57
- * Bundler >= 2.3 is from now on required as minimal version (#9)
58
- * Dropped support for Ruby < 2.5 (#9)
59
- * Dropped support for Rails < 5.2 (#9)
61
+ * Bundler >= 2.3 is from now on required as minimal version ([#9](https://github.com/hausgold/grape-jwt-authentication/pull/9))
62
+ * Dropped support for Ruby < 2.5 ([#9](https://github.com/hausgold/grape-jwt-authentication/pull/9))
63
+ * Dropped support for Rails < 5.2 ([#9](https://github.com/hausgold/grape-jwt-authentication/pull/9))
60
64
  * Updated all development/runtime gems to their latest
61
- Ruby 2.5 compatible version (#9)
65
+ Ruby 2.5 compatible version ([#9](https://github.com/hausgold/grape-jwt-authentication/pull/9))
62
66
 
63
67
  ### 2.0.4 (15 October 2021)
64
68
 
@@ -84,7 +88,7 @@
84
88
  ### 2.0.0 (7 September 2020)
85
89
 
86
90
  * Extracted the JWT verification functionality into its own gem
87
- ([keyless](https://github.com/hausgold/keyless)) (#6)
91
+ ([keyless](https://github.com/hausgold/keyless)) ([#6](https://github.com/hausgold/grape-jwt-authentication/pull/6))
88
92
  * This extraction allows users to use the JWT/RSA key handling without Grape
89
93
  * The API/configuration stays the same
90
94
  * With the major update to 2.0 we dropped a lot of code which is now located at
@@ -98,13 +102,13 @@
98
102
 
99
103
  ### 1.2.0 (14 February 2019)
100
104
 
101
- * Check the remote response on public key fetching (#3)
105
+ * Check the remote response on public key fetching ([#3](https://github.com/hausgold/grape-jwt-authentication/pull/3))
102
106
  * Added support for Ruby 2.6
103
107
  * Dropped support for EOL Ruby 2.2
104
108
 
105
109
  ### 1.1.0 (1 November 2018)
106
110
 
107
- * Added the parsed and original token to the Rack environment (#2)
111
+ * Added the parsed and original token to the Rack environment ([#2](https://github.com/hausgold/grape-jwt-authentication/pull/2))
108
112
  * Two new helper methods are now available to access the JWT from an API spec
109
113
 
110
114
  ### 1.0.1 (23 November 2017)
@@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
38
38
  spec.add_dependency 'httparty', '>= 0.21'
39
39
  spec.add_dependency 'jwt', '~> 2.6'
40
40
  spec.add_dependency 'keyless', '~> 1.6'
41
+ spec.add_dependency 'mutex_m', '~> 0.3.0'
41
42
  spec.add_dependency 'recursive-open-struct', '~> 2.0'
42
43
  spec.add_dependency 'zeitwerk', '~> 2.6'
43
44
  end
@@ -5,7 +5,7 @@ module Grape
5
5
  # The gem version details.
6
6
  module Authentication
7
7
  # The version of the +grape-jwt-authentication+ gem
8
- VERSION = '2.7.1'
8
+ VERSION = '2.8.0'
9
9
 
10
10
  class << self
11
11
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-jwt-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-17 00:00:00.000000000 Z
11
+ date: 2025-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -86,6 +86,20 @@ dependencies:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '1.6'
89
+ - !ruby/object:Gem::Dependency
90
+ name: mutex_m
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: 0.3.0
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 0.3.0
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: recursive-open-struct
91
105
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
193
  - !ruby/object:Gem::Version
180
194
  version: '0'
181
195
  requirements: []
182
- rubygems_version: 3.3.26
196
+ rubygems_version: 3.4.22
183
197
  signing_key:
184
198
  specification_version: 4
185
199
  summary: A reusable Grape JWT authentication concern