liangzan-contacts 1.2.21 → 1.2.22

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/hotmail.rb +1 -1
  2. metadata +12 -13
@@ -64,7 +64,7 @@ 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.force_encoding('ISO-8859-1')
67
+ data.force_encoding('UTF-8')
68
68
  @contacts = CSV.parse(data, {:headers => true, :col_sep => data[7]}).map do |row|
69
69
  name = ""
70
70
  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.21
4
+ version: 1.2.22
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: 2012-08-24 00:00:00.000000000 Z
16
+ date: 2012-11-03 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: json
@@ -71,21 +71,21 @@ executables: []
71
71
  extensions: []
72
72
  extra_rdoc_files: []
73
73
  files:
74
- - lib/contacts.rb
75
- - lib/contacts/mailru.rb
74
+ - lib/contacts/aol.rb
75
+ - lib/contacts/base.rb
76
76
  - lib/contacts/gmail.rb
77
- - lib/contacts/yahoo.rb
78
- - lib/contacts/seznam.rb
79
77
  - lib/contacts/gmx.rb
80
- - lib/contacts/onelt.rb
78
+ - lib/contacts/hotmail.rb
81
79
  - lib/contacts/inbox_lt.rb
82
- - lib/contacts/plaxo.rb
83
- - lib/contacts/base.rb
84
80
  - lib/contacts/json_picker.rb
85
- - lib/contacts/aol.rb
86
- - lib/contacts/web_de.rb
81
+ - lib/contacts/mailru.rb
82
+ - lib/contacts/onelt.rb
83
+ - lib/contacts/plaxo.rb
84
+ - lib/contacts/seznam.rb
87
85
  - lib/contacts/tonline_de.rb
88
- - lib/contacts/hotmail.rb
86
+ - lib/contacts/web_de.rb
87
+ - lib/contacts/yahoo.rb
88
+ - lib/contacts.rb
89
89
  - examples/grab_contacts.rb
90
90
  - LICENSE
91
91
  - README.rdoc
@@ -116,4 +116,3 @@ specification_version: 3
116
116
  summary: grab contacts from Yahoo, AOL, Gmail, Hotmail, Plaxo, GMX.net, Web.de, inbox.lt,
117
117
  seznam.cz, t-online.de
118
118
  test_files: []
119
- has_rdoc: