liangzan-contacts 1.2.23 → 1.2.24
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/contacts/hotmail.rb +2 -2
- metadata +2 -2
data/lib/contacts/hotmail.rb
CHANGED
@@ -64,8 +64,8 @@ class Contacts
|
|
64
64
|
contact_list_url = get_contact_list_url
|
65
65
|
data, resp, cookies, forward = get(contact_list_url, @cookies )
|
66
66
|
|
67
|
-
data.
|
68
|
-
data
|
67
|
+
data.encode!('UTF-16', invalid: :replace, replace: '')
|
68
|
+
data.encode!('UTF-8', 'UTF-16')
|
69
69
|
@contacts = CSV.parse(data, {:headers => true, :col_sep => data[7]}).map do |row|
|
70
70
|
name = ""
|
71
71
|
name = row["First Name"] if !row["First Name"].nil?
|
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.
|
4
|
+
version: 1.2.24
|
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-
|
16
|
+
date: 2013-02-23 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: json
|