liangzan-contacts 1.2.24 → 1.2.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/contacts/hotmail.rb +3 -0
  2. metadata +2 -2
@@ -63,6 +63,9 @@ class Contacts
63
63
  url = URI.parse(contact_list_url)
64
64
  contact_list_url = get_contact_list_url
65
65
  data, resp, cookies, forward = get(contact_list_url, @cookies )
66
+ until forward.nil?
67
+ data, resp, cookies, forward, old_url = get(forward, @cookies) + [forward]
68
+ end
66
69
 
67
70
  data.encode!('UTF-16', invalid: :replace, replace: '')
68
71
  data.encode!('UTF-8', 'UTF-16')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liangzan-contacts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.24
4
+ version: 1.2.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-02-23 00:00:00.000000000 Z
16
+ date: 2013-03-09 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: json