contact-data 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c1c82c65ef8c8d34506b2e689b50532c6b4fc49
4
- data.tar.gz: ddda08c9b6170f22285d02d6c835c8c872e63204
3
+ metadata.gz: c58ef5048515fbfb59199357bf6f9cb1c946739f
4
+ data.tar.gz: b801ca88137fb4f5075d2afe6253d313fdaf3be2
5
5
  SHA512:
6
- metadata.gz: 1ee5d3c705b684c0ed843d1545a213899953ef5f5f478667da7abe8479f1b6e378f14df1c16108d2847488bba10ff853390287c3026cc99c4f2cab5318979340
7
- data.tar.gz: ce24b728e14339f8922772ae814f1baa0bcd47ff6339d0e04ae87cb859820acd3de492ac4288326e8349cd3a6de82e9241910c7f90055c86677af0ee696dd9ca
6
+ metadata.gz: 95ed3e2f102f3f4ed5451ea9db981a5fb74303cdaff6f08bc316f76b973015d55d2fad47ba9fc833a2c3353b6e982f19da88ea6ded2320888d94e52aa8efcabe
7
+ data.tar.gz: 359f2a6e697e9d00d81854df84057324d27731b2bec01452b7acd257043f2e8413a8c0a7bcd5123bec8cb7b4fffd42625327c7eed62aa3e7a6fe6af8b53e00e5
@@ -4,7 +4,6 @@ module ContactData
4
4
  class << self
5
5
  def search(name, options = {})
6
6
  options[:params] = { name: name }
7
- options[:timeout] ||= 90 # seconds
8
7
  Fetcher.get(:search, options)
9
8
  end
10
9
  end
@@ -7,7 +7,7 @@ module ContactData
7
7
  end
8
8
 
9
9
  def find_contacts_in(text)
10
- Fetcher.post('text/find_contacts', payload: { text: text })
10
+ Fetcher.post('text/find_contacts', payload: { text: text }, timeout: 90)
11
11
  end
12
12
 
13
13
  def link_metadata(url)
@@ -1,4 +1,4 @@
1
1
  # Gem version
2
2
  module ContactData
3
- VERSION = '0.0.10'
3
+ VERSION = '0.0.11'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contact-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xenapto