liangzan-contacts 1.2.20 → 1.2.21
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.
- data/lib/contacts/hotmail.rb +1 -1
- data/lib/contacts/tonline_de.rb +2 -2
- metadata +13 -18
data/lib/contacts/hotmail.rb
CHANGED
|
@@ -61,7 +61,7 @@ class Contacts
|
|
|
61
61
|
def contacts(options = {})
|
|
62
62
|
if @contacts.nil? && connected?
|
|
63
63
|
url = URI.parse(contact_list_url)
|
|
64
|
-
contact_list_url = get_contact_list_url
|
|
64
|
+
contact_list_url = get_contact_list_url
|
|
65
65
|
data, resp, cookies, forward = get(contact_list_url, @cookies )
|
|
66
66
|
|
|
67
67
|
data.force_encoding('ISO-8859-1')
|
data/lib/contacts/tonline_de.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
class Contacts
|
|
2
2
|
class TonlineDe < Base
|
|
3
3
|
DETECTED_DOMAINS = [ /t-mobile\.de/i, /t-online\.de/i ]
|
|
4
|
-
URL = "https://email.t-online.de/V4-0-
|
|
5
|
-
ADDRESS_BOOK_URL = "https://email.t-online.de/V4-0-
|
|
4
|
+
URL = "https://email.t-online.de/V4-0-7-0/srv-bin/aaa?method=deliverLoginBox"
|
|
5
|
+
ADDRESS_BOOK_URL = "https://email.t-online.de/V4-0-7-0/srv-bin/addressbook?method=exportAdressbook&p%5Bformat%5D=CSV&p%5Bliid%5D="
|
|
6
6
|
PROTOCOL_ERROR = "t-online.de has changed its protocols"
|
|
7
7
|
|
|
8
8
|
attr_accessor :cookies, :tid
|
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.21
|
|
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-
|
|
16
|
+
date: 2012-08-24 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
|
|
75
|
-
- lib/contacts/
|
|
74
|
+
- lib/contacts.rb
|
|
75
|
+
- lib/contacts/mailru.rb
|
|
76
76
|
- lib/contacts/gmail.rb
|
|
77
|
+
- lib/contacts/yahoo.rb
|
|
78
|
+
- lib/contacts/seznam.rb
|
|
77
79
|
- lib/contacts/gmx.rb
|
|
78
|
-
- lib/contacts/hotmail.rb
|
|
79
|
-
- lib/contacts/inbox_lt.rb
|
|
80
|
-
- lib/contacts/json_picker.rb
|
|
81
|
-
- lib/contacts/mailru.rb
|
|
82
80
|
- lib/contacts/onelt.rb
|
|
81
|
+
- lib/contacts/inbox_lt.rb
|
|
83
82
|
- lib/contacts/plaxo.rb
|
|
84
|
-
- lib/contacts/
|
|
85
|
-
- lib/contacts/
|
|
83
|
+
- lib/contacts/base.rb
|
|
84
|
+
- lib/contacts/json_picker.rb
|
|
85
|
+
- lib/contacts/aol.rb
|
|
86
86
|
- lib/contacts/web_de.rb
|
|
87
|
-
- lib/contacts/
|
|
88
|
-
- lib/contacts.rb
|
|
87
|
+
- lib/contacts/tonline_de.rb
|
|
88
|
+
- lib/contacts/hotmail.rb
|
|
89
89
|
- examples/grab_contacts.rb
|
|
90
90
|
- LICENSE
|
|
91
91
|
- README.rdoc
|
|
@@ -102,18 +102,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
102
102
|
- - ! '>='
|
|
103
103
|
- !ruby/object:Gem::Version
|
|
104
104
|
version: '0'
|
|
105
|
-
segments:
|
|
106
|
-
- 0
|
|
107
|
-
hash: -3945600885967535156
|
|
108
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
106
|
none: false
|
|
110
107
|
requirements:
|
|
111
108
|
- - ! '>='
|
|
112
109
|
- !ruby/object:Gem::Version
|
|
113
110
|
version: '0'
|
|
114
|
-
segments:
|
|
115
|
-
- 0
|
|
116
|
-
hash: -3945600885967535156
|
|
117
111
|
requirements: []
|
|
118
112
|
rubyforge_project:
|
|
119
113
|
rubygems_version: 1.8.24
|
|
@@ -122,3 +116,4 @@ specification_version: 3
|
|
|
122
116
|
summary: grab contacts from Yahoo, AOL, Gmail, Hotmail, Plaxo, GMX.net, Web.de, inbox.lt,
|
|
123
117
|
seznam.cz, t-online.de
|
|
124
118
|
test_files: []
|
|
119
|
+
has_rdoc:
|