email-verification 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/email/verification.rb +2 -0
- data/lib/email/verification/base.rb +1 -1
- data/lib/email/verification/errors.rb +10 -0
- data/lib/email/verification/gmail.rb +1 -1
- data/lib/email/verification/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cafa6a875dafeb9ca51dba2da2f099c7f543bed34ecc933f26009bb5647c53f
|
4
|
+
data.tar.gz: 7abe43cef996eac4b977d4848bb561ea93a57fee80af97e03b8399a1eb098916
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bfef6b3de29a8644c955721c9fc7627011b1eaf3ccfc791bdf89b064acb0bb1bf41de97c92876ebfd8289a6c33db7e6500c29955d4265b02df7824435db04ce
|
7
|
+
data.tar.gz: aa79c4d837a23790f67f2a907d13d4fe4f48ba3d0e573e3bd2f8b09dbca9c65162da04090e00e53d8bb7316d1530d1af6158317299d8d075b38aa6f3067c00f4
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
email-verification (0.1.
|
4
|
+
email-verification (0.1.9)
|
5
5
|
gmail (~> 0.7.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
mail (2.7.1)
|
18
18
|
mini_mime (>= 0.1.1)
|
19
19
|
method_source (0.9.2)
|
20
|
-
mini_mime (1.0.
|
20
|
+
mini_mime (1.0.2)
|
21
21
|
oauth (0.5.4)
|
22
22
|
pry (0.12.2)
|
23
23
|
coderay (~> 1.1.0)
|
data/lib/email/verification.rb
CHANGED
@@ -36,7 +36,7 @@ module Email
|
|
36
36
|
end
|
37
37
|
|
38
38
|
rescue Net::IMAP::NoResponseError => e
|
39
|
-
raise
|
39
|
+
raise ::Email::Verification::Errors::InvalidCredentialsError.new("Please check account/password settings for email #{email}!")
|
40
40
|
end
|
41
41
|
|
42
42
|
if settings_provided?(settings)
|
@@ -27,7 +27,7 @@ module Email
|
|
27
27
|
end
|
28
28
|
|
29
29
|
rescue Net::IMAP::BadResponseError => e
|
30
|
-
raise
|
30
|
+
raise ::Email::Verification::Errors::InvalidCredentialsError.new("You need to enable logins for less secure apps in Gmail for #{email}!")
|
31
31
|
end
|
32
32
|
|
33
33
|
if settings_provided?(settings)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: email-verification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Johnsson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gmail
|
@@ -103,6 +103,7 @@ files:
|
|
103
103
|
- lib/email/verification/base.rb
|
104
104
|
- lib/email/verification/configuration.rb
|
105
105
|
- lib/email/verification/data/domains.yml
|
106
|
+
- lib/email/verification/errors.rb
|
106
107
|
- lib/email/verification/gmail.rb
|
107
108
|
- lib/email/verification/hotmail.rb
|
108
109
|
- lib/email/verification/verifier.rb
|