grape-jwt-authentication 2.7.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +21 -13
- data/grape-jwt-authentication.gemspec +1 -0
- data/lib/grape/jwt/authentication/version.rb +1 -1
- data/lib/grape/jwt/authentication.rb +2 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f44584743cb6d8904ca81e902f59012184ce72af402c7d467ca692514ee3fc6a
|
4
|
+
data.tar.gz: 8c59a84764ce68c7dd6e7bb38ba0f7e81ae3c38a8b6a151f86173b0d2b5f334b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d864b1c445ebd26ee363b001b652f0b931a1d5d4ad4363a38d2e6b3ee2d682639d1a43a642e2a974217e0211f183f7fb75fa75642e42c5ac3cbc1b1ca99f854a
|
7
|
+
data.tar.gz: 2c03cd34c4a56968adfd975dc78b51f8c35a0d3abf7ef8596502da77fc97d8f25600fd556cd371c10fc4faf1e9e936c5cf9459d7dda482c8dd4afe6d6e5dd771
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,17 +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
|
+
|
9
|
+
### 2.7.1 (17 January 2025)
|
10
|
+
|
11
|
+
* Added the logger dependency ([#18](https://github.com/hausgold/grape-jwt-authentication/pull/18))
|
12
|
+
|
5
13
|
### 2.7.0 (11 January 2025)
|
6
14
|
|
7
|
-
* Switched to Zeitwerk as autoloader (#17)
|
15
|
+
* Switched to Zeitwerk as autoloader ([#17](https://github.com/hausgold/grape-jwt-authentication/pull/17))
|
8
16
|
|
9
17
|
### 2.6.0 (3 January 2025)
|
10
18
|
|
11
|
-
* 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))
|
12
20
|
|
13
21
|
### 2.5.0 (4 October 2024)
|
14
22
|
|
15
|
-
* 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))
|
16
24
|
|
17
25
|
### 2.4.5 (15 August 2024)
|
18
26
|
|
@@ -32,17 +40,17 @@
|
|
32
40
|
|
33
41
|
### 2.4.1 (9 August 2024)
|
34
42
|
|
35
|
-
* 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))
|
36
44
|
|
37
45
|
### 2.4.0 (8 July 2024)
|
38
46
|
|
39
|
-
* Dropped support for Ruby <2.7 (#13)
|
47
|
+
* Dropped support for Ruby <2.7 ([#13](https://github.com/hausgold/grape-jwt-authentication/pull/13))
|
40
48
|
|
41
49
|
### 2.3.0 (16 January 2024)
|
42
50
|
|
43
51
|
* Implemented case-insensitive header value checks for Grape 2.0.0+
|
44
52
|
compatibility, aligning with HTTP/2+ semantics (#11, #12)
|
45
|
-
* 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))
|
46
54
|
|
47
55
|
### 2.2.0 (24 February 2023)
|
48
56
|
|
@@ -50,11 +58,11 @@
|
|
50
58
|
|
51
59
|
### 2.1.0 (18 January 2023)
|
52
60
|
|
53
|
-
* Bundler >= 2.3 is from now on required as minimal version (#9)
|
54
|
-
* Dropped support for Ruby < 2.5 (#9)
|
55
|
-
* 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))
|
56
64
|
* Updated all development/runtime gems to their latest
|
57
|
-
Ruby 2.5 compatible version (#9)
|
65
|
+
Ruby 2.5 compatible version ([#9](https://github.com/hausgold/grape-jwt-authentication/pull/9))
|
58
66
|
|
59
67
|
### 2.0.4 (15 October 2021)
|
60
68
|
|
@@ -80,7 +88,7 @@
|
|
80
88
|
### 2.0.0 (7 September 2020)
|
81
89
|
|
82
90
|
* Extracted the JWT verification functionality into its own gem
|
83
|
-
([keyless](https://github.com/hausgold/keyless)) (#6)
|
91
|
+
([keyless](https://github.com/hausgold/keyless)) ([#6](https://github.com/hausgold/grape-jwt-authentication/pull/6))
|
84
92
|
* This extraction allows users to use the JWT/RSA key handling without Grape
|
85
93
|
* The API/configuration stays the same
|
86
94
|
* With the major update to 2.0 we dropped a lot of code which is now located at
|
@@ -94,13 +102,13 @@
|
|
94
102
|
|
95
103
|
### 1.2.0 (14 February 2019)
|
96
104
|
|
97
|
-
* 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))
|
98
106
|
* Added support for Ruby 2.6
|
99
107
|
* Dropped support for EOL Ruby 2.2
|
100
108
|
|
101
109
|
### 1.1.0 (1 November 2018)
|
102
110
|
|
103
|
-
* 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))
|
104
112
|
* Two new helper methods are now available to access the JWT from an API spec
|
105
113
|
|
106
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
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'zeitwerk'
|
4
|
+
require 'logger'
|
4
5
|
require 'active_support'
|
5
6
|
require 'active_support/concern'
|
6
7
|
require 'active_support/configurable'
|
@@ -25,7 +26,7 @@ module Grape
|
|
25
26
|
# Finish the auto loader configuration
|
26
27
|
loader.setup
|
27
28
|
|
28
|
-
# Make sure to eager load all
|
29
|
+
# Make sure to eager load all constants
|
29
30
|
loader.eager_load
|
30
31
|
|
31
32
|
class << self
|
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.
|
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-
|
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.
|
196
|
+
rubygems_version: 3.4.22
|
183
197
|
signing_key:
|
184
198
|
specification_version: 4
|
185
199
|
summary: A reusable Grape JWT authentication concern
|