blazeverify 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/blazeverify/email_validator.rb +1 -1
- data/lib/blazeverify/version.rb +1 -1
- data/test/blazeverify_test.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19d8ff08a62b3bc7fc5667932928daf91965f0dd03e6d3919d04b3f2708d8213
|
4
|
+
data.tar.gz: 754fd8170eb8d9f5974ef7abbf9492d8d05c715dc78037526909eace8964959e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 349cc3e6ade34c1af3bf29139ddc91c65f3a720a3c208eb3499b2882c20fbe3d4233e2b7d1bdf1890f2ef6f10eb2c1235eb5b69fbc354328c0815f6eb04c532a
|
7
|
+
data.tar.gz: '08b295ae461806271f5b899d7ec12148ea7167162622a421d85caaad46a710b9da54da2325bf77653ec63aa8dbadeeb95c80e30089d3aed2e44ce49fa634c07f'
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.5
|
@@ -34,7 +34,7 @@ class EmailValidator < ActiveModel::EachValidator
|
|
34
34
|
|
35
35
|
return if record.errors[attribute].present?
|
36
36
|
return unless value.present?
|
37
|
-
return unless record.
|
37
|
+
return unless record.send("#{attribute}_changed?")
|
38
38
|
|
39
39
|
api_options = { timeout: timeout, smtp: smtp }
|
40
40
|
api_options[:accept_all] = true unless accept_all
|
data/lib/blazeverify/version.rb
CHANGED
data/test/blazeverify_test.rb
CHANGED
@@ -51,7 +51,7 @@ class BlazeVerifyTest < Minitest::Test
|
|
51
51
|
if %w(deliverable risky unknown).include?(result.state)
|
52
52
|
assert result.first_name, 'John'
|
53
53
|
assert result.last_name, 'Doe'
|
54
|
-
assert result.
|
54
|
+
assert result.full_name, 'John Doe'
|
55
55
|
assert result.gender, 'male'
|
56
56
|
else
|
57
57
|
assert_nil result.first_name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blazeverify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blaze Verify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
|
-
rubygems_version: 3.
|
210
|
+
rubygems_version: 3.1.4
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: Ruby bindings for the Blaze Verify API
|