openid_connect 2.4.0 → 2.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: deb0c8a4b1878a09d9a42f7051201bccfcf4bd4b17f7bdaae0835d30bb4de502
4
- data.tar.gz: d7f73dd36717f85c2f084102aa5b89688ed4a76e4742816fbe158ccd0861cc69
3
+ metadata.gz: 605cbe04505cb2af337c82b012039c9b13be826348fa790f6b0cd1d90cdd0cc3
4
+ data.tar.gz: 240523a1e7b9e755827a8be1499918f8684f413ee0e8a81af00cb062ccf2699a
5
5
  SHA512:
6
- metadata.gz: '0801e7a784512bfa3d68cd2c0acd3532afbf1549905510541c0e4575abb1fff11f74bda75d10e770054617b1086510fcd0cbb344d9b9085c65d0292992770cb9'
7
- data.tar.gz: c5406c9166d87823ca1a81d13101d6969db7af82d6f274cd9fcaa6152ac8c904003f3f088dab5ce20332f4429c024f3859c1758427cdeb0b24b01102251fedd8
6
+ metadata.gz: 60150ee35c5bf11ec4d945e692450b5eef982b47bfb800bb81fd40a328872f8bff124f683f42dc9c1689a2b2c910da0f3a5fd9a92e4f3481a0cde9032744ac80
7
+ data.tar.gz: a4b25a2ae74e5d2dcabe811e104c5cf7d8075e07a376d948fae8483d90dd1948c592160b3f68a1838c821288d21269b9a76b5a28043b7874b8fbaff28982696d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.0
1
+ 2.5.0
@@ -29,7 +29,7 @@ module OpenIDConnect
29
29
  validates :email_verified, :phone_number_verified, allow_nil: true, inclusion: {in: [true, false]}
30
30
  validates :zoneinfo, allow_nil: true, inclusion: {in: TZInfo::TimezoneProxy.all.collect(&:name)}
31
31
  validates :profile, :picture, :website, allow_nil: true, url: true
32
- validates :email, allow_nil: true, email: true
32
+ validates :email, allow_nil: true, format: { with: /\A[^@\s]+@[^@\s]+\.[^@\s]+\z/ }
33
33
  validates :updated_at, allow_nil: true, numericality: {only_integer: true}
34
34
  validate :validate_address
35
35
  validate :require_at_least_one_attributes
@@ -7,7 +7,6 @@ require 'webfinger'
7
7
  require 'active_model'
8
8
  require 'tzinfo'
9
9
  require 'validate_url'
10
- require 'email_validator/strict'
11
10
  require 'mail'
12
11
  require 'attr_required'
13
12
  require 'attr_optional'
@@ -16,7 +16,6 @@ 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 "email_validator"
20
19
  s.add_runtime_dependency "mail"
21
20
  s.add_runtime_dependency 'faraday', '~> 2.0'
22
21
  s.add_runtime_dependency 'faraday-follow_redirects'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openid_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
@@ -65,20 +65,6 @@ dependencies:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
- - !ruby/object:Gem::Dependency
69
- name: email_validator
70
- requirement: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: '0'
75
- type: :runtime
76
- prerelease: false
77
- version_requirements: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: '0'
82
68
  - !ruby/object:Gem::Dependency
83
69
  name: mail
84
70
  requirement: !ruby/object:Gem::Requirement
@@ -375,7 +361,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
375
361
  - !ruby/object:Gem::Version
376
362
  version: '0'
377
363
  requirements: []
378
- rubygems_version: 4.0.6
364
+ rubygems_version: 4.0.10
379
365
  specification_version: 4
380
366
  summary: OpenID Connect Server & Client Library
381
367
  test_files: