openid_connect 2.2.1 → 2.3.1

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: d5d610417958d0eb88277e192cf20e90d56b84273f11c9fd36b7abb0e1e23789
4
- data.tar.gz: 7c67b82bcfa68236cd8b30aaecf2365072122bb82736c3beb6c84966a0d752f6
3
+ metadata.gz: 1846c96c032313eff89f8fcb9a753643c373ff00d6de12254b7f679d7802b4ab
4
+ data.tar.gz: 58c0780a7873c51f18fad3d847272fa49b59d88992a0833cf3f3396edc6d9303
5
5
  SHA512:
6
- metadata.gz: 929805046a5cddddf3732292b0b3a79eb84ff5d9cb7036775eaf0c88dac94cf1ca1d191139effbe1405ca4225029354b9ee40162f2593571c4d0f7c93123a553
7
- data.tar.gz: 46eb9dbf0af8f267fc859c502aba268751dce244b4820aa2cb37a68aa646ece43ec281955613d363e918cbc4985c86821e60c3c6dbea69df28c7b1c9296a0c91
6
+ metadata.gz: 4d605a9a6301af104cf1173b8626e5c1403a930b16cd49c738e2b7e08a8b8f23cfac4d53cfc649cb5484c73e22e1dc3c8b72941abda64942c405931cc17392e8
7
+ data.tar.gz: 70c4fcd75e6f7913475b5d8c070df75d37c242e3888010b5ec30eba95784258577b6de1575f52e494d44bf0c475a6d62b76e180c67c7e573f198ff910cf35d7c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.1
1
+ 2.3.1
@@ -30,7 +30,7 @@ module OpenIDConnect
30
30
  when 200
31
31
  res.body.with_indifferent_access
32
32
  when 400
33
- raise BadRequest.new('API Access Faild', res)
33
+ raise BadRequest.new('API Access Failed', res)
34
34
  when 401
35
35
  raise Unauthorized.new('Access Token Invalid or Expired', res)
36
36
  when 403
@@ -42,4 +42,4 @@ module OpenIDConnect
42
42
  end
43
43
  end
44
44
 
45
- require 'openid_connect/access_token/mtls'
45
+ require 'openid_connect/access_token/mtls'
@@ -118,7 +118,7 @@ module OpenIDConnect
118
118
 
119
119
  def valid_uri?(uri, schemes = ['http', 'https'])
120
120
  # NOTE: specify nil for schemes to allow any schemes
121
- URI::regexp(schemes).match(uri).present?
121
+ URI::DEFAULT_PARSER.make_regexp(schemes).match(uri).present?
122
122
  end
123
123
 
124
124
  def validate_contacts
@@ -7,7 +7,8 @@ require 'webfinger'
7
7
  require 'active_model'
8
8
  require 'tzinfo'
9
9
  require 'validate_url'
10
- require 'validate_email'
10
+ require 'email_validator/strict'
11
+ require 'mail'
11
12
  require 'attr_required'
12
13
  require 'attr_optional'
13
14
  require 'json/jwt'
@@ -16,7 +16,8 @@ Gem::Specification.new do |s|
16
16
  s.add_runtime_dependency "attr_required", ">= 1.0.0"
17
17
  s.add_runtime_dependency "activemodel"
18
18
  s.add_runtime_dependency "validate_url"
19
- s.add_runtime_dependency "validate_email"
19
+ s.add_runtime_dependency "email_validator"
20
+ s.add_runtime_dependency "mail"
20
21
  s.add_runtime_dependency 'faraday', '~> 2.0'
21
22
  s.add_runtime_dependency 'faraday-follow_redirects'
22
23
  s.add_runtime_dependency "json-jwt", ">= 1.16"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openid_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-27 00:00:00.000000000 Z
11
+ date: 2024-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
@@ -67,7 +67,21 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: validate_email
70
+ name: email_validator
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: mail
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ">="
@@ -363,7 +377,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
363
377
  - !ruby/object:Gem::Version
364
378
  version: '0'
365
379
  requirements: []
366
- rubygems_version: 3.4.10
380
+ rubygems_version: 3.5.16
367
381
  signing_key:
368
382
  specification_version: 4
369
383
  summary: OpenID Connect Server & Client Library