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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85252fc6012c171412400563d082437bef82d71bc0e950a0acc44ca2d6ef53c9
4
- data.tar.gz: 8b1975eba455e692aaff0cb033b6b5abd02a6fccfbffc0269981f3624c823670
3
+ metadata.gz: 19d8ff08a62b3bc7fc5667932928daf91965f0dd03e6d3919d04b3f2708d8213
4
+ data.tar.gz: 754fd8170eb8d9f5974ef7abbf9492d8d05c715dc78037526909eace8964959e
5
5
  SHA512:
6
- metadata.gz: 887908fc8069d9ca5bd499f858de54c2b9de5b22f9f034baad6db789f547f70e022f4813644eb6456f0b46d6b6415388befdf8e545b69a52209d2a0b6c720ed3
7
- data.tar.gz: ab93b482db07925f20d3222445eb8bf63ad618279002d04c292eb5244cba392e527f92e37ca16a5fafe74b6a9ced6beb866e26426423d68543d6a5ade8a1c051
6
+ metadata.gz: 349cc3e6ade34c1af3bf29139ddc91c65f3a720a3c208eb3499b2882c20fbe3d4233e2b7d1bdf1890f2ef6f10eb2c1235eb5b69fbc354328c0815f6eb04c532a
7
+ data.tar.gz: '08b295ae461806271f5b899d7ec12148ea7167162622a421d85caaad46a710b9da54da2325bf77653ec63aa8dbadeeb95c80e30089d3aed2e44ce49fa634c07f'
@@ -1 +1 @@
1
- 2.6.3
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.changes[attribute].present?
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
@@ -1,3 +1,3 @@
1
1
  module BlazeVerify
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
@@ -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.first_name, 'John Doe'
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.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-13 00:00:00.000000000 Z
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.0.8
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