lperichon-contacts 1.0.7 → 1.0.8

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.
Files changed (2) hide show
  1. data/lib/contacts/yahoo.rb +6 -2
  2. metadata +3 -3
@@ -27,8 +27,12 @@ module Contacts
27
27
  guid = @access_token.params['xoauth_yahoo_guid']
28
28
  uri = URI.parse("http://social.yahooapis.com/v1/user/#{guid}/contacts")
29
29
  uri.query = params_to_query(yahoo_params)
30
- response = @access_token.get(uri.to_s)
31
- parse_contacts(response.body)
30
+ begin
31
+ response = @access_token.get(uri.to_s)
32
+ parse_contacts(response.body)
33
+ rescue
34
+ return nil
35
+ end
32
36
  end
33
37
 
34
38
  def serializable_data
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lperichon-contacts
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 7
10
- version: 1.0.7
9
+ - 8
10
+ version: 1.0.8
11
11
  platform: ruby
12
12
  authors: []
13
13