openid_connect 1.1.4 → 1.1.5

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
  SHA1:
3
- metadata.gz: 37cd15979ddc556edc06ece5242fc5a4cf351351
4
- data.tar.gz: 3938aac7d54a50f82a4e030a107ec057f591cc79
3
+ metadata.gz: 04c70bdd6735aa34846dbe2ced83a63131cf8771
4
+ data.tar.gz: 1a6729f00ad9b2cfd5c66ba7536fddaec08af97c
5
5
  SHA512:
6
- metadata.gz: c1de1552a703405e1846c9e150fe640e9d90a12fd4a4bc14f52e09a2a8ce0c7e61f0a89809983b8b5693865cfcb7d3a0f66b45b0e9e87952432526a0b814b7dc
7
- data.tar.gz: 8d03ab7fc9d2473fc0f680455b301e143f72ef0b548ad65034eaabf7e6d7e85a514dd16a3ea720b3a05af731d00eb28e67fdc00a268cc49675a255d224f0b6b3
6
+ metadata.gz: aaf18081e97f686acbe272f1a2658a7cfef3b79c37a13f3d85a029bb232fe9f687ef46d07b21933364ebff5eafe72d09a8cb240e91ff7f8be0c4f175cfc12081
7
+ data.tar.gz: 714018e8f50cf227ecc778f2c66d7c39834ef12f746c1f3cac62c3ba37ecd03766a0a18f1871d7664017a92d20da6ada71cf904bfb74d0dee159a3106c664491
@@ -2,5 +2,6 @@ before_install:
2
2
  - gem install bundler
3
3
 
4
4
  rvm:
5
- - 2.3.5
6
- - 2.4.2
5
+ - 2.3.6
6
+ - 2.4.3
7
+ - 2.5.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.4
1
+ 1.1.5
@@ -10,7 +10,7 @@ module OpenIDConnect
10
10
  class InvalidAudience < InvalidToken; end
11
11
 
12
12
  attr_required :iss, :sub, :aud, :exp, :iat
13
- attr_optional :acr, :auth_time, :nonce, :sub_jwk, :at_hash, :c_hash
13
+ attr_optional :acr, :amr, :azp, :jti, :sid, :auth_time, :nonce, :sub_jwk, :at_hash, :c_hash, :events
14
14
  attr_accessor :access_token, :code
15
15
  alias_method :subject, :sub
16
16
  alias_method :subject=, :sub=
@@ -12,7 +12,6 @@ Gem::Specification.new do |s|
12
12
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
13
13
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
14
14
  s.require_paths = ["lib"]
15
- s.add_runtime_dependency "json", ">= 1.4.3"
16
15
  s.add_runtime_dependency "tzinfo"
17
16
  s.add_runtime_dependency "attr_required", ">= 1.0.0"
18
17
  s.add_runtime_dependency "activemodel"
@@ -27,4 +26,4 @@ Gem::Specification.new do |s|
27
26
  s.add_development_dependency "rspec-its"
28
27
  s.add_development_dependency "webmock"
29
28
  s.add_development_dependency "simplecov"
30
- end
29
+ end
@@ -19,7 +19,7 @@ describe OpenIDConnect::ResponseObject::IdToken do
19
19
  describe 'attributes' do
20
20
  subject { klass }
21
21
  its(:required_attributes) { should == [:iss, :sub, :aud, :exp, :iat] }
22
- its(:optional_attributes) { should == [:acr, :auth_time, :nonce, :sub_jwk, :at_hash, :c_hash] }
22
+ its(:optional_attributes) { should == [:acr, :amr, :azp, :jti, :sid, :auth_time, :nonce, :sub_jwk, :at_hash, :c_hash, :events] }
23
23
 
24
24
  describe 'auth_time' do
25
25
  subject { id_token.auth_time }
@@ -315,4 +315,4 @@ describe OpenIDConnect::ResponseObject::IdToken do
315
315
  its(:sub_jwk) { should == sub_jwk}
316
316
  its(:subject) { should == sub_jwk.thumbprint }
317
317
  end
318
- end
318
+ end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openid_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: json
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 1.4.3
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: 1.4.3
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: tzinfo
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -334,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
334
320
  version: '0'
335
321
  requirements: []
336
322
  rubyforge_project:
337
- rubygems_version: 2.6.11
323
+ rubygems_version: 2.6.13
338
324
  signing_key:
339
325
  specification_version: 4
340
326
  summary: OpenID Connect Server & Client Library