diff --git a/lib/openid_connect.rb b/lib/openid_connect.rb index 0ad7b16..3660c05 100644 --- a/lib/openid_connect.rb +++ b/lib/openid_connect.rb @@ -7,7 +7,8 @@ require 'active_model' require 'tzinfo' require 'validate_url' -require 'validate_email' +require 'email_validator/strict' +require 'mail' require 'attr_required' require 'attr_optional' require 'json/jwt' diff --git a/openid_connect.gemspec b/openid_connect.gemspec index 9c63588..5a72801 100644 --- a/openid_connect.gemspec +++ b/openid_connect.gemspec @@ -16,7 +16,8 @@ Gem::Specification.new do |s| s.add_runtime_dependency "attr_required", ">= 1.0.0" s.add_runtime_dependency "activemodel" s.add_runtime_dependency "validate_url" - s.add_runtime_dependency "validate_email" + s.add_runtime_dependency "email_validator" + s.add_runtime_dependency "mail" s.add_runtime_dependency 'faraday', '~> 2.0' s.add_runtime_dependency 'faraday-follow_redirects' s.add_runtime_dependency "json-jwt", ">= 1.16"