cognito_token_verifier 0.7.0 → 0.8.0
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 +4 -4
- data/.github/workflows/gem-push.yml +3 -3
- data/.github/workflows/ruby-ci.yml +2 -2
- data/Gemfile.lock +74 -61
- data/cognito_token_verifier.gemspec +4 -4
- data/gemfiles/{rails61.gemfile → rails8.gemfile} +2 -2
- data/lib/cognito_token_verifier/version.rb +1 -1
- metadata +15 -16
- data/gemfiles/rails7.gemfile +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 839214f6672469cbf48ef463dbd9753f4654bec0a6cf24ab73d0cc9b7594409b
|
4
|
+
data.tar.gz: a90487a324c47d270ea24f893495c8743c927d59e529e3794ae8c44eaf7dfca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 207619b8fb06b1269bbe0dfc6d82adf080435a4a3269ec15f67af1dfd41765b79d16e4b833094dc9748b50199c542b5dd9a5bc8c6f8fa022d3a7d202fdb51da3
|
7
|
+
data.tar.gz: 86b526875310d412435b67f8f59e7e78c25bb0f753e0055f230b039253881c5fcaa80f1159ed852616c3d98199ed14ca9ada5b462eb4c74a889269bf226685aa
|
@@ -11,11 +11,11 @@ jobs:
|
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
|
13
13
|
steps:
|
14
|
-
- uses: actions/checkout@
|
15
|
-
- name: Set up Ruby 3.
|
14
|
+
- uses: actions/checkout@v4
|
15
|
+
- name: Set up Ruby 3.3
|
16
16
|
uses: ruby/setup-ruby@v1
|
17
17
|
with:
|
18
|
-
ruby-version: 3.
|
18
|
+
ruby-version: 3.3
|
19
19
|
|
20
20
|
- name: Publish to GPR
|
21
21
|
run: |
|
@@ -14,8 +14,8 @@ jobs:
|
|
14
14
|
strategy:
|
15
15
|
fail-fast: true
|
16
16
|
matrix:
|
17
|
-
ruby: ['3.
|
18
|
-
gemfile: ['
|
17
|
+
ruby: ['3.4', '3.3', '3.2']
|
18
|
+
gemfile: ['rails71', 'rails8']
|
19
19
|
|
20
20
|
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
21
21
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
data/Gemfile.lock
CHANGED
@@ -2,120 +2,133 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
cognito_token_verifier (0.7.0)
|
5
|
-
activesupport (>=
|
5
|
+
activesupport (>= 7.1)
|
6
6
|
json-jwt (~> 1.11)
|
7
7
|
rest-client (~> 2.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionpack (
|
13
|
-
actionview (=
|
14
|
-
activesupport (=
|
12
|
+
actionpack (8.0.2)
|
13
|
+
actionview (= 8.0.2)
|
14
|
+
activesupport (= 8.0.2)
|
15
15
|
nokogiri (>= 1.8.5)
|
16
|
-
racc
|
17
16
|
rack (>= 2.2.4)
|
18
17
|
rack-session (>= 1.0.1)
|
19
18
|
rack-test (>= 0.6.3)
|
20
19
|
rails-dom-testing (~> 2.2)
|
21
20
|
rails-html-sanitizer (~> 1.6)
|
22
|
-
|
23
|
-
|
21
|
+
useragent (~> 0.16)
|
22
|
+
actionview (8.0.2)
|
23
|
+
activesupport (= 8.0.2)
|
24
24
|
builder (~> 3.1)
|
25
25
|
erubi (~> 1.11)
|
26
26
|
rails-dom-testing (~> 2.2)
|
27
27
|
rails-html-sanitizer (~> 1.6)
|
28
|
-
activesupport (
|
28
|
+
activesupport (8.0.2)
|
29
29
|
base64
|
30
|
+
benchmark (>= 0.3)
|
30
31
|
bigdecimal
|
31
|
-
concurrent-ruby (~> 1.0, >= 1.
|
32
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
32
33
|
connection_pool (>= 2.2.5)
|
33
34
|
drb
|
34
35
|
i18n (>= 1.6, < 2)
|
36
|
+
logger (>= 1.4.2)
|
35
37
|
minitest (>= 5.1)
|
36
|
-
|
37
|
-
tzinfo (~> 2.0)
|
38
|
+
securerandom (>= 0.3)
|
39
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
40
|
+
uri (>= 0.13.1)
|
38
41
|
aes_key_wrap (1.1.0)
|
39
42
|
base64 (0.2.0)
|
40
|
-
|
43
|
+
benchmark (0.4.0)
|
44
|
+
bigdecimal (3.1.9)
|
41
45
|
bindata (2.5.0)
|
42
|
-
builder (3.
|
46
|
+
builder (3.3.0)
|
43
47
|
byebug (11.1.3)
|
44
|
-
concurrent-ruby (1.
|
45
|
-
connection_pool (2.
|
48
|
+
concurrent-ruby (1.3.5)
|
49
|
+
connection_pool (2.5.0)
|
46
50
|
crass (1.0.6)
|
47
|
-
|
51
|
+
date (3.4.1)
|
52
|
+
diff-lcs (1.6.0)
|
48
53
|
domain_name (0.6.20240107)
|
49
|
-
drb (2.2.
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
+
drb (2.2.1)
|
55
|
+
erubi (1.13.1)
|
56
|
+
faraday (2.12.2)
|
57
|
+
faraday-net_http (>= 2.0, < 3.5)
|
58
|
+
json
|
59
|
+
logger
|
54
60
|
faraday-follow_redirects (0.3.0)
|
55
61
|
faraday (>= 1, < 3)
|
56
|
-
faraday-net_http (3.
|
57
|
-
net-http
|
62
|
+
faraday-net_http (3.4.0)
|
63
|
+
net-http (>= 0.5.0)
|
58
64
|
http-accept (1.7.0)
|
59
|
-
http-cookie (1.0.
|
65
|
+
http-cookie (1.0.8)
|
60
66
|
domain_name (~> 0.5)
|
61
|
-
i18n (1.14.
|
67
|
+
i18n (1.14.7)
|
62
68
|
concurrent-ruby (~> 1.0)
|
63
|
-
io-console (0.
|
64
|
-
irb (1.
|
65
|
-
|
69
|
+
io-console (0.8.0)
|
70
|
+
irb (1.15.1)
|
71
|
+
pp (>= 0.6.0)
|
72
|
+
rdoc (>= 4.0.0)
|
66
73
|
reline (>= 0.4.2)
|
67
|
-
json
|
74
|
+
json (2.10.2)
|
75
|
+
json-jwt (1.16.7)
|
68
76
|
activesupport (>= 4.2)
|
69
77
|
aes_key_wrap
|
70
78
|
base64
|
71
79
|
bindata
|
72
80
|
faraday (~> 2.0)
|
73
81
|
faraday-follow_redirects
|
74
|
-
|
82
|
+
logger (1.6.6)
|
83
|
+
loofah (2.24.0)
|
75
84
|
crass (~> 1.0.2)
|
76
85
|
nokogiri (>= 1.12.0)
|
77
|
-
mime-types (3.
|
86
|
+
mime-types (3.6.1)
|
87
|
+
logger
|
78
88
|
mime-types-data (~> 3.2015)
|
79
|
-
mime-types-data (3.
|
80
|
-
mini_portile2 (2.8.
|
81
|
-
minitest (5.
|
82
|
-
|
83
|
-
net-http (0.4.1)
|
89
|
+
mime-types-data (3.2025.0318)
|
90
|
+
mini_portile2 (2.8.8)
|
91
|
+
minitest (5.25.5)
|
92
|
+
net-http (0.6.0)
|
84
93
|
uri
|
85
94
|
netrc (0.11.0)
|
86
|
-
nokogiri (1.
|
95
|
+
nokogiri (1.18.5)
|
87
96
|
mini_portile2 (~> 2.8.2)
|
88
97
|
racc (~> 1.4)
|
89
|
-
|
98
|
+
pp (0.6.2)
|
99
|
+
prettyprint
|
100
|
+
prettyprint (0.2.0)
|
101
|
+
psych (5.2.3)
|
102
|
+
date
|
90
103
|
stringio
|
91
|
-
racc (1.
|
92
|
-
rack (3.
|
93
|
-
rack-session (2.
|
104
|
+
racc (1.8.1)
|
105
|
+
rack (3.1.12)
|
106
|
+
rack-session (2.1.0)
|
107
|
+
base64 (>= 0.1.0)
|
94
108
|
rack (>= 3.0.0)
|
95
|
-
rack-test (2.
|
109
|
+
rack-test (2.2.0)
|
96
110
|
rack (>= 1.3)
|
97
|
-
rackup (2.1
|
111
|
+
rackup (2.2.1)
|
98
112
|
rack (>= 3)
|
99
|
-
webrick (~> 1.8)
|
100
113
|
rails-dom-testing (2.2.0)
|
101
114
|
activesupport (>= 5.0.0)
|
102
115
|
minitest
|
103
116
|
nokogiri (>= 1.6)
|
104
|
-
rails-html-sanitizer (1.6.
|
117
|
+
rails-html-sanitizer (1.6.2)
|
105
118
|
loofah (~> 2.21)
|
106
|
-
nokogiri (
|
107
|
-
railties (
|
108
|
-
actionpack (=
|
109
|
-
activesupport (=
|
110
|
-
irb
|
119
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
120
|
+
railties (8.0.2)
|
121
|
+
actionpack (= 8.0.2)
|
122
|
+
activesupport (= 8.0.2)
|
123
|
+
irb (~> 1.13)
|
111
124
|
rackup (>= 1.0.0)
|
112
125
|
rake (>= 12.2)
|
113
126
|
thor (~> 1.0, >= 1.2.2)
|
114
127
|
zeitwerk (~> 2.6)
|
115
|
-
rake (13.1
|
116
|
-
rdoc (6.
|
128
|
+
rake (13.2.1)
|
129
|
+
rdoc (6.12.0)
|
117
130
|
psych (>= 4.0.0)
|
118
|
-
reline (0.
|
131
|
+
reline (0.6.0)
|
119
132
|
io-console (~> 0.5)
|
120
133
|
rest-client (2.1.0)
|
121
134
|
http-accept (>= 1.7.0, < 2.0)
|
@@ -139,24 +152,24 @@ GEM
|
|
139
152
|
rspec-mocks (~> 3.9.0)
|
140
153
|
rspec-support (~> 3.9.0)
|
141
154
|
rspec-support (3.9.4)
|
142
|
-
|
143
|
-
stringio (3.1.
|
144
|
-
thor (1.3.
|
155
|
+
securerandom (0.4.1)
|
156
|
+
stringio (3.1.5)
|
157
|
+
thor (1.3.2)
|
145
158
|
tzinfo (2.0.6)
|
146
159
|
concurrent-ruby (~> 1.0)
|
147
|
-
uri (0.
|
148
|
-
|
149
|
-
zeitwerk (2.
|
160
|
+
uri (1.0.3)
|
161
|
+
useragent (0.16.11)
|
162
|
+
zeitwerk (2.7.2)
|
150
163
|
|
151
164
|
PLATFORMS
|
152
165
|
ruby
|
153
166
|
|
154
167
|
DEPENDENCIES
|
155
|
-
actionpack (>=
|
168
|
+
actionpack (>= 7.1)
|
156
169
|
bundler (~> 2.0)
|
157
170
|
byebug (~> 11.0)
|
158
171
|
cognito_token_verifier!
|
159
|
-
rake (>=
|
172
|
+
rake (>= 13.0, < 14.0)
|
160
173
|
rspec-rails (~> 3.0)
|
161
174
|
|
162
175
|
BUNDLED WITH
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Verify and parse AWS Cognito JWTs to authenticate endpoints}
|
13
13
|
spec.homepage = "https://github.com/CodingAnarchy/cognito_token_verifier"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = ">= 2.
|
15
|
+
spec.required_ruby_version = ">= 3.2.0"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
18
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
@@ -31,13 +31,13 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
32
|
spec.require_paths = ["lib"]
|
33
33
|
|
34
|
-
spec.add_runtime_dependency "activesupport", [">=
|
34
|
+
spec.add_runtime_dependency "activesupport", [">= 7.1"]
|
35
35
|
spec.add_runtime_dependency "json-jwt", "~> 1.11"
|
36
36
|
spec.add_runtime_dependency "rest-client", "~> 2.0"
|
37
37
|
|
38
38
|
spec.add_development_dependency "byebug", "~> 11.0"
|
39
39
|
spec.add_development_dependency "bundler", "~> 2.0"
|
40
|
-
spec.add_development_dependency "rake", [">=
|
40
|
+
spec.add_development_dependency "rake", [">= 13.0", "< 14.0"]
|
41
41
|
spec.add_development_dependency "rspec-rails", "~> 3.0"
|
42
|
-
spec.add_development_dependency "actionpack", [">=
|
42
|
+
spec.add_development_dependency "actionpack", [">= 7.1"]
|
43
43
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
|
-
gem "activesupport", "~>
|
3
|
+
gem "activesupport", "~> 8.0.0"
|
4
4
|
gem "json-jwt", "~> 1.11"
|
5
5
|
gem "rest-client", "~> 2.0"
|
6
6
|
|
@@ -8,4 +8,4 @@ gem "byebug"
|
|
8
8
|
gem "bundler", "~> 2.0"
|
9
9
|
gem "rake", "~> 12.0"
|
10
10
|
gem "rspec-rails", "~> 3.0"
|
11
|
-
gem "actionpack", "~>
|
11
|
+
gem "actionpack", "~> 8.0.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cognito_token_verifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Tanous
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '7.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '7.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json-jwt
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,7 +86,7 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '13.0'
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '14.0'
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
99
|
+
version: '13.0'
|
100
100
|
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '14.0'
|
@@ -120,15 +120,15 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
123
|
+
version: '7.1'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
131
|
-
description:
|
130
|
+
version: '7.1'
|
131
|
+
description:
|
132
132
|
email:
|
133
133
|
- mtanous22@gmail.com
|
134
134
|
executables: []
|
@@ -150,9 +150,8 @@ files:
|
|
150
150
|
- bin/console
|
151
151
|
- bin/setup
|
152
152
|
- cognito_token_verifier.gemspec
|
153
|
-
- gemfiles/rails61.gemfile
|
154
|
-
- gemfiles/rails7.gemfile
|
155
153
|
- gemfiles/rails71.gemfile
|
154
|
+
- gemfiles/rails8.gemfile
|
156
155
|
- lib/cognito_token_verifier.rb
|
157
156
|
- lib/cognito_token_verifier/config.rb
|
158
157
|
- lib/cognito_token_verifier/controller_macros.rb
|
@@ -166,7 +165,7 @@ metadata:
|
|
166
165
|
homepage_uri: https://github.com/CodingAnarchy/cognito_token_verifier
|
167
166
|
source_code_uri: https://github.com/CodingAnarchy/cognito_token_verifier
|
168
167
|
changelog_uri: https://github.com/CodingAnarchy/cognito_token_verifier/blob/master/CHANGELOG.md
|
169
|
-
post_install_message:
|
168
|
+
post_install_message:
|
170
169
|
rdoc_options: []
|
171
170
|
require_paths:
|
172
171
|
- lib
|
@@ -174,15 +173,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
174
173
|
requirements:
|
175
174
|
- - ">="
|
176
175
|
- !ruby/object:Gem::Version
|
177
|
-
version: 2.
|
176
|
+
version: 3.2.0
|
178
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
178
|
requirements:
|
180
179
|
- - ">="
|
181
180
|
- !ruby/object:Gem::Version
|
182
181
|
version: '0'
|
183
182
|
requirements: []
|
184
|
-
rubygems_version: 3.
|
185
|
-
signing_key:
|
183
|
+
rubygems_version: 3.5.22
|
184
|
+
signing_key:
|
186
185
|
specification_version: 4
|
187
186
|
summary: Verify and parse AWS Cognito JWTs to authenticate endpoints
|
188
187
|
test_files: []
|
data/gemfiles/rails7.gemfile
DELETED