cognito_token_verifier 0.4.0 → 0.5.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: e52ad068216f8d8e80a8386541332664f16adbb05182df520a34ec3f52b9c951
4
- data.tar.gz: 063cc32b60dbe0bf6eed61ef853a06d661fb4fefa9af6618715417b33606bd7c
3
+ metadata.gz: b1cdcaef0b4d5ca7837dfedbaae4205e218675defa5318cbb9f99d9ed8eced3e
4
+ data.tar.gz: 195886dac29323c2f739333807ca256cc86576963bf8cfd0ff87d7ab7d858518
5
5
  SHA512:
6
- metadata.gz: f0c6192b9d02a7fac391df255c2332efb61099317bf7fd20cd773cb29e64882df3534196a23f37eb91136e84eda0db8601d2eda6536665531a104ea2f2e12ea0
7
- data.tar.gz: 640249a032a23885d719b13334c69cabb41ddc3dc14d2e8e5848ff264594d1a8f1d14c4a87a3961389d11975145fbb10758c81481aa88939e0b5d40466c97bfe
6
+ metadata.gz: 8cd7ad61ad6e589a7d440a0ef2f395a6fded8f5c7d6656954231b851930dd332bb4aae2fad43a6affecda83c9374b469877678f10463520e79cb7de9905c4bfa
7
+ data.tar.gz: 5be66162f09998b41dc691cfbaf12af71a597cedfc91925c8d3def18c3bba92b09d62fe48ce8807d667a14c685f3aedec88aaad6c22ddd128f5840e19496544e
@@ -3,14 +3,15 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.5.8
7
6
  - 2.6.6
8
- - 2.7.1
7
+ - 2.7.2
8
+ - 3.0.0
9
9
  before_install: gem install bundler
10
10
  gemfile:
11
11
  - Gemfile
12
12
  - gemfiles/rails52.gemfile
13
13
  - gemfiles/rails6.gemfile
14
+ - gemfiles/rails61.gemfile
14
15
 
15
16
  # jobs:
16
17
  # exclude:
@@ -1,4 +1,16 @@
1
- # CHANGELOG.md
1
+ # CHANGELOG
2
+
3
+ ## 0.5.0 (2021-01-27)
4
+
5
+ - Update `nokogiri` version to 1.11 for security patch in gem development
6
+ - Test against Ruby 3.0 and remove near-EOL Ruby 2.5 from test matrix
7
+ - Add Rails 6.1 support
8
+
9
+ ## 0.4.0 (2020-09-12)
10
+
11
+ - Update development version of Rails gems for `actionview` security patch
12
+ - Remove Rails < 5.2 support due to EOL by Rails team
13
+ - Remove EOL Ruby 2.4 from test matrix, and add Ruby 2.7
2
14
 
3
15
  ## 0.3.2 (2020-03-31)
4
16
 
@@ -1,64 +1,66 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cognito_token_verifier (0.4.0)
5
- activesupport (>= 5.2, < 6.1)
4
+ cognito_token_verifier (0.5.0)
5
+ activesupport (>= 5.2, < 6.2)
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 (6.0.3.3)
13
- actionview (= 6.0.3.3)
14
- activesupport (= 6.0.3.3)
15
- rack (~> 2.0, >= 2.0.8)
12
+ actionpack (6.1.1)
13
+ actionview (= 6.1.1)
14
+ activesupport (= 6.1.1)
15
+ rack (~> 2.0, >= 2.0.9)
16
16
  rack-test (>= 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
19
- actionview (6.0.3.3)
20
- activesupport (= 6.0.3.3)
19
+ actionview (6.1.1)
20
+ activesupport (= 6.1.1)
21
21
  builder (~> 3.1)
22
22
  erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
25
- activesupport (6.0.3.3)
25
+ activesupport (6.1.1)
26
26
  concurrent-ruby (~> 1.0, >= 1.0.2)
27
- i18n (>= 0.7, < 2)
28
- minitest (~> 5.1)
29
- tzinfo (~> 1.1)
30
- zeitwerk (~> 2.2, >= 2.2.2)
27
+ i18n (>= 1.6, < 2)
28
+ minitest (>= 5.1)
29
+ tzinfo (~> 2.0)
30
+ zeitwerk (~> 2.3)
31
31
  aes_key_wrap (1.1.0)
32
32
  bindata (2.4.8)
33
33
  builder (3.2.4)
34
34
  byebug (11.1.3)
35
- concurrent-ruby (1.1.7)
35
+ concurrent-ruby (1.1.8)
36
36
  crass (1.0.6)
37
37
  diff-lcs (1.4.4)
38
38
  domain_name (0.5.20190701)
39
39
  unf (>= 0.0.5, < 1.0.0)
40
- erubi (1.9.0)
40
+ erubi (1.10.0)
41
41
  http-accept (1.7.0)
42
42
  http-cookie (1.0.3)
43
43
  domain_name (~> 0.5)
44
- i18n (1.8.5)
44
+ i18n (1.8.7)
45
45
  concurrent-ruby (~> 1.0)
46
46
  json-jwt (1.13.0)
47
47
  activesupport (>= 4.2)
48
48
  aes_key_wrap
49
49
  bindata
50
- loofah (2.7.0)
50
+ loofah (2.9.0)
51
51
  crass (~> 1.0.2)
52
52
  nokogiri (>= 1.5.9)
53
53
  method_source (1.0.0)
54
54
  mime-types (3.3.1)
55
55
  mime-types-data (~> 3.2015)
56
56
  mime-types-data (3.2020.0512)
57
- mini_portile2 (2.4.0)
58
- minitest (5.14.2)
57
+ mini_portile2 (2.5.0)
58
+ minitest (5.14.3)
59
59
  netrc (0.11.0)
60
- nokogiri (1.10.10)
61
- mini_portile2 (~> 2.4.0)
60
+ nokogiri (1.11.1)
61
+ mini_portile2 (~> 2.5.0)
62
+ racc (~> 1.4)
63
+ racc (1.5.2)
62
64
  rack (2.2.3)
63
65
  rack-test (1.1.0)
64
66
  rack (>= 1.0, < 3)
@@ -67,13 +69,13 @@ GEM
67
69
  nokogiri (>= 1.6)
68
70
  rails-html-sanitizer (1.3.0)
69
71
  loofah (~> 2.3)
70
- railties (6.0.3.3)
71
- actionpack (= 6.0.3.3)
72
- activesupport (= 6.0.3.3)
72
+ railties (6.1.1)
73
+ actionpack (= 6.1.1)
74
+ activesupport (= 6.1.1)
73
75
  method_source
74
76
  rake (>= 0.8.7)
75
- thor (>= 0.20.3, < 2.0)
76
- rake (13.0.1)
77
+ thor (~> 1.0)
78
+ rake (13.0.3)
77
79
  rest-client (2.1.0)
78
80
  http-accept (>= 1.7.0, < 2.0)
79
81
  http-cookie (>= 1.0.2, < 2.0)
@@ -96,20 +98,19 @@ GEM
96
98
  rspec-mocks (~> 3.9.0)
97
99
  rspec-support (~> 3.9.0)
98
100
  rspec-support (3.9.3)
99
- thor (1.0.1)
100
- thread_safe (0.3.6)
101
- tzinfo (1.2.7)
102
- thread_safe (~> 0.1)
101
+ thor (1.1.0)
102
+ tzinfo (2.0.4)
103
+ concurrent-ruby (~> 1.0)
103
104
  unf (0.1.4)
104
105
  unf_ext
105
106
  unf_ext (0.0.7.7)
106
- zeitwerk (2.4.0)
107
+ zeitwerk (2.4.2)
107
108
 
108
109
  PLATFORMS
109
110
  ruby
110
111
 
111
112
  DEPENDENCIES
112
- actionpack (>= 5.2, < 6.1)
113
+ actionpack (>= 5.2, < 6.2)
113
114
  bundler (~> 2.0)
114
115
  byebug (~> 11.0)
115
116
  cognito_token_verifier!
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # CognitoTokenVerifier [![Build Status](https://travis-ci.org/CodingAnarchy/cognito_token_verifier.svg?branch=master)](https://travis-ci.org/CodingAnarchy/cognito_token_verifier)
1
+ # CognitoTokenVerifier [![Build Status](https://travis-ci.com/CodingAnarchy/cognito_token_verifier.svg?branch=master)](https://travis-ci.com/CodingAnarchy/cognito_token_verifier)
2
2
 
3
3
  Verify and decode AWS Cognito tokens for use in your Rails 5.2+ application. Rails versions <= 5.2 are incompatible with the required gemspec as of 0.4+, as they are no longer supported for security fixes by the Rails team.
4
4
 
@@ -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.3.8"
15
+ spec.required_ruby_version = ">= 2.6.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,7 +31,7 @@ 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", [">= 5.2", "< 6.1"]
34
+ spec.add_runtime_dependency "activesupport", [">= 5.2", "< 6.2"]
35
35
  spec.add_runtime_dependency "json-jwt", "~> 1.11"
36
36
  spec.add_runtime_dependency "rest-client", "~> 2.0"
37
37
 
@@ -39,5 +39,5 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency "bundler", "~> 2.0"
40
40
  spec.add_development_dependency "rake", [">= 10.0", "< 14.0"]
41
41
  spec.add_development_dependency "rspec-rails", "~> 3.0"
42
- spec.add_development_dependency "actionpack", [">= 5.2", "< 6.1"]
42
+ spec.add_development_dependency "actionpack", [">= 5.2", "< 6.2"]
43
43
  end
@@ -0,0 +1,11 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "activesupport", "~> 6.1.0"
4
+ gem "json-jwt", "~> 1.11"
5
+ gem "rest-client", "~> 2.0"
6
+
7
+ gem "byebug"
8
+ gem "bundler", "~> 2.0"
9
+ gem "rake", "~> 12.0"
10
+ gem "rspec-rails", "~> 3.0"
11
+ gem "actionpack", "~> 6.1.0"
@@ -1,3 +1,3 @@
1
1
  module CognitoTokenVerifier
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
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.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Tanous
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-12 00:00:00.000000000 Z
11
+ date: 2021-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.1'
22
+ version: '6.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.1'
32
+ version: '6.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: json-jwt
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -129,7 +129,7 @@ dependencies:
129
129
  version: '5.2'
130
130
  - - "<"
131
131
  - !ruby/object:Gem::Version
132
- version: '6.1'
132
+ version: '6.2'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
@@ -139,7 +139,7 @@ dependencies:
139
139
  version: '5.2'
140
140
  - - "<"
141
141
  - !ruby/object:Gem::Version
142
- version: '6.1'
142
+ version: '6.2'
143
143
  description:
144
144
  email:
145
145
  - mtanous22@gmail.com
@@ -161,6 +161,7 @@ files:
161
161
  - cognito_token_verifier.gemspec
162
162
  - gemfiles/rails52.gemfile
163
163
  - gemfiles/rails6.gemfile
164
+ - gemfiles/rails61.gemfile
164
165
  - lib/cognito_token_verifier.rb
165
166
  - lib/cognito_token_verifier/config.rb
166
167
  - lib/cognito_token_verifier/controller_macros.rb
@@ -182,7 +183,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
183
  requirements:
183
184
  - - ">="
184
185
  - !ruby/object:Gem::Version
185
- version: 2.3.8
186
+ version: 2.6.0
186
187
  required_rubygems_version: !ruby/object:Gem::Requirement
187
188
  requirements:
188
189
  - - ">="