blackstack-enrichment 1.0.1 → 1.0.2

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: c1adb325c2208f76b6784af820b5045710678ace1b651e4bd9f7a6fcdb5db981
4
- data.tar.gz: eb0455821bce876a0f6000147d5ca4a9987b2737ccd19684f57eb849368402e8
3
+ metadata.gz: d8ec86e0997ec73aab38e8d887c98416ee41dcf241ada80b4a6441a4a391186a
4
+ data.tar.gz: ebe656db65707a761502b7da63983b19a4675a7f692be0eed55d41d436e905e8
5
5
  SHA512:
6
- metadata.gz: e80809e301cd4211e5de508ab54aefb7e8363a995e181686d9dff7d8ab7983201bb36056eb3192b5be29cf6d6182794b769f1748703a47f1d743b389e48a8f4a
7
- data.tar.gz: 8a39e8e4b28ab8876c832aff9872b9af38ad80f3c5a1db9e88c3838b930361bc0d5805d857d811fd38711f58148db31325aa10c9e9edfa50c48acf1a77c4d6a8
6
+ metadata.gz: 76987b586a286438a004c5474c546e1a90c4cf725d3142499d2b84be5e3efe64452b381f70f2e82b5a1abee9f7515fcc54dcc749565df3fd54457cd2b85b3310
7
+ data.tar.gz: 85add5a58fada7899a4190defbd2702968ee680fff8f9c47fcee17199c7aaa204bff8c778b9b603c943f1326821badb082f9309e1725fbd770751efa9f444e8e
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'blackstack-enrichment'
3
- s.version = '1.0.1'
4
- s.date = '2024-03-19'
3
+ s.version = '1.0.2'
4
+ s.date = '2024-04-06'
5
5
  s.summary = "Ruby library for connecting some enrichment services like Apillo or FindyMail."
6
6
  s.description = "Ruby library for connecting some enrichment services like Apillo or FindyMail."
7
7
  s.authors = ["Leandro Daniel Sardi"]
@@ -27,6 +27,7 @@ module BlackStack
27
27
  ]
28
28
  }' "https://api.apollo.io/api/v1/people/bulk_match"`
29
29
  j = JSON.parse(ret)
30
+ raise "Error: #{j['error']}" if j['error']
30
31
  raise "Error: #{j['error_message']}" if j['error_message']
31
32
  raise "Error: #{j['error_code']}" if j['error_code']
32
33
  match = j['matches'].first
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackstack-enrichment
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-19 00:00:00.000000000 Z
11
+ date: 2024-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json