snov 0.6.4 → 0.6.5

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: 38cc75426d5e5dd8d4f3f87d65d34d438d31341cb8c86baa5f719a149362eadc
4
- data.tar.gz: b7d0440650465b1c0b254e4093cd3cc00a62619f5498e43f3d58f4cd9db5ef9e
3
+ metadata.gz: e5669a1d374d9fe76187d55d1e05334e8181b6d2f098554f945cc7739b41eb18
4
+ data.tar.gz: f63b6f9ddac58b651feaeee330d3ec7c91132afeca014d9b461ef4611c17aa89
5
5
  SHA512:
6
- metadata.gz: b3b8601d71518e6491e5586011318edeb07343c5fc1f990851f6cf36719390729365e0ca8127145adc9794fc87e0f78712fa08641bf97d677d3641658c87b734
7
- data.tar.gz: 38bed5c38dc9b91f3df9b73f47a6e8ea0ad23f2a410ed1e1beda9fa1aad6c2b47ba6d9f956b77f336927f1c25e8c8a6c1cbf89ef4d376b9729e19fd85a06bf52
6
+ metadata.gz: 63194879dec0fa07b8d41041b184124584e9106777c3ca4691802346e9743a502e090965bd2374fd5d554fd5f76884120f2244a50f41552f62e4bc77575fb5d5
7
+ data.tar.gz: ca3c501f9ea8ecdc0e9d774bc0959394083be9edadf04d542a2128b58f8a183080daf6d09dbcf59e48834cc745a91fc5af3baef5442bf86bdf3028f204e30d5c
@@ -10,11 +10,9 @@ module Snov
10
10
  end
11
11
 
12
12
  def prospect
13
- if raw_result.is_a?(String)
14
- raise ArgumentError.new("#{raw_result} searching prospect with #{@first_name} #{@last_name} #{@domain}")
15
- end
16
-
17
13
  @prospect ||= ProspectResult.new(raw_result)
14
+ rescue ArgumentError => e
15
+ raise ArgumentError.new("#{@raw_result} searching prospect with #{@first_name} #{@last_name} #{@domain}")
18
16
  end
19
17
 
20
18
  def raw_result
data/lib/snov/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Snov
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Petersen-Speelman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-10-14 00:00:00.000000000 Z
12
+ date: 2021-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.2.3
183
+ rubygems_version: 3.2.22
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Snov client to interact with snov api