graybook 1.0.24 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/{CHANGES.md → CHANGELOG} +13 -2
  2. data/README +94 -0
  3. data/Rakefile +3 -22
  4. data/VERSION +1 -1
  5. data/VERSION.yml +2 -2
  6. data/VERSION_NAME +1 -1
  7. data/lib/graybook/importer/aol.rb +11 -11
  8. data/lib/graybook/importer/gmail.rb +20 -20
  9. data/lib/graybook/importer/hotmail.rb +2 -4
  10. data/lib/graybook/importer/page_scraper.rb +4 -2
  11. data/lib/graybook/importer/yahoo.rb +12 -12
  12. data/lib/graybook.rb +20 -21
  13. metadata +9 -102
  14. data/README.md +0 -66
  15. data/debug_graybook.rb +0 -10
  16. data/lib/graybook/exporter/vcf.rb +0 -45
  17. data/lib/graybook/exporter/xml.rb +0 -28
  18. data/lib/graybook/importer/csv.rb +0 -74
  19. data/lib/graybook/importer/freenet.rb +0 -62
  20. data/lib/graybook/importer/gmx.rb +0 -68
  21. data/lib/graybook/importer/web.de.rb +0 -67
  22. data/test/config/credentials.yml.example +0 -9
  23. data/test/fixtures/aol_application_page.html +0 -566
  24. data/test/fixtures/aol_bad_login_response_stage_3.html +0 -565
  25. data/test/fixtures/aol_contacts.html +0 -102
  26. data/test/fixtures/aol_login_response_stage_1.html +0 -158
  27. data/test/fixtures/aol_login_response_stage_2.html +0 -559
  28. data/test/fixtures/aol_login_response_stage_3.html +0 -48
  29. data/test/fixtures/aol_login_response_stage_4.html +0 -404
  30. data/test/fixtures/aol_login_response_stage_5.html +0 -404
  31. data/test/fixtures/aol_new_contacts.html +0 -431
  32. data/test/fixtures/gmail.csv +0 -3
  33. data/test/fixtures/gmail_bad_login_response_stage_2.html +0 -560
  34. data/test/fixtures/gmail_contacts.html +0 -228
  35. data/test/fixtures/gmail_login_response_stage_1.html +0 -556
  36. data/test/fixtures/gmail_login_response_stage_2.html +0 -1
  37. data/test/fixtures/gmail_login_response_stage_2a.html +0 -1
  38. data/test/fixtures/gmail_login_response_stage_3.html +0 -249
  39. data/test/fixtures/gmail_redirect_body.html +0 -10
  40. data/test/fixtures/hotmail_bad_login_response_stage_2.html +0 -31
  41. data/test/fixtures/hotmail_contacts.html +0 -262
  42. data/test/fixtures/hotmail_login_response_stage_1.html +0 -31
  43. data/test/fixtures/hotmail_login_response_stage_2.html +0 -1
  44. data/test/fixtures/hotmail_login_response_stage_3.html +0 -519
  45. data/test/fixtures/hotmail_scrape_first_page.html +0 -77
  46. data/test/fixtures/hotmail_scrape_response_stage_1.html +0 -90
  47. data/test/fixtures/hotmail_scrape_response_stage_2.html +0 -77
  48. data/test/fixtures/hotmail_scrape_response_stage_3.html +0 -0
  49. data/test/fixtures/yahoo_bad_login_response_stage_2.html +0 -443
  50. data/test/fixtures/yahoo_contacts.csv +0 -3
  51. data/test/fixtures/yahoo_contacts_not_logged_in.html +0 -432
  52. data/test/fixtures/yahoo_contacts_stage_1.html +0 -399
  53. data/test/fixtures/yahoo_login_response_stage_1.html +0 -433
  54. data/test/fixtures/yahoo_login_response_stage_2.html +0 -16
  55. data/test/fixtures/yahoo_no_user_response_stage_2.html +0 -574
  56. data/test/freenet_importer_test.rb +0 -53
  57. data/test/gmx_importer_test.rb +0 -53
  58. data/test/scripts/live_test.rb +0 -25
  59. data/test/test_graybook.rb +0 -60
  60. data/test/test_graybook_exporter_base.rb +0 -16
  61. data/test/test_graybook_exporter_vcf.rb +0 -52
  62. data/test/test_graybook_exporter_xml.rb +0 -16
  63. data/test/test_graybook_importer_aol.rb +0 -108
  64. data/test/test_graybook_importer_base.rb +0 -24
  65. data/test/test_graybook_importer_csv.rb +0 -60
  66. data/test/test_graybook_importer_gmail.rb +0 -116
  67. data/test/test_graybook_importer_hotmail.rb +0 -165
  68. data/test/test_graybook_importer_page_scraper.rb +0 -51
  69. data/test/test_graybook_importer_yahoo.rb +0 -137
  70. data/test/test_helper.rb +0 -71
  71. data/test/web.de_importer_test.rb +0 -53
  72. data/vendor/plugins/graybook/lib/autotest/discover.rb +0 -3
  73. data/vendor/plugins/graybook/lib/autotest/graybook.rb +0 -27
@@ -1,228 +0,0 @@
1
-
2
- <html>
3
- <head>
4
- <meta http-equiv=Content-Type content="text/html; charset=UTF-8">
5
- <title>Gmail - Contact List</title>
6
- <link rel="shortcut icon"
7
- href="/mail/images/favicon.ico"
8
- type="image/x-icon">
9
- <link rel="stylesheet" type="text/css"
10
- href="/mail/h/?view=page&name=css&ver=z6rd10z301ub">
11
- <style type="text/css">
12
- @import url("/mail/h/?view=page&name=css2&ver=dyiet7jqhzt5");
13
- </style>
14
- <base href="http://mail.google.com/mail/h/u89knx82cw0l/">
15
- <script>
16
- <!--
17
- var tz_path = ';path=/';
18
- if (top.location.href.toLowerCase().indexOf('google.com') > 0) {
19
- tz_path += ';domain=.google.com';
20
- }
21
- document.cookie = "TZ=" + (new Date()).getTimezoneOffset() + tz_path;
22
- //-->
23
- </script>
24
- </head>
25
- <body bgcolor=#ffffff>
26
- <table width=100% cellpadding=4 cellspacing=0 border=0 class=bn>
27
- <tr>
28
- <td id=bm bgcolor=#FAE5B0>
29
- <b>For a better Gmail experience,
30
- use a fully supported browser. &nbsp;
31
- <a href="/support/bin/answer.py?ctx=%67mail&answer=15046" target=_blank
32
- >Learn more</a></b>
33
- </td>
34
- </table>
35
- <table width=100% cellpadding=0 cellspacing=0 border=0>
36
- <tr>
37
- <td width=143 rowspan=3>
38
- <h1>
39
- <a href="?">
40
- <img src="/mail/help/images/logo1.gif"
41
- width=143 height=59 border=0
42
- alt="Gmail by Google">
43
- </a>
44
- </h1>
45
- </td>
46
- <td width=1 rowspan=3>&nbsp;</td>
47
- <td height=25 colspan=2 align=right valign=top>
48
- <h2 class=hdn>Account Options</h2>
49
- <b>user@gmail.com</b> |
50
- <a href="?v=prg">Settings</a> |
51
- <a href="/support/?ctx=mail&hl=en" target=_blank>Help</a> |
52
- <a href="http://mail.google.com/mail/h/1lkjob1cm8uo0/?logout&amp;hl=en">Sign out</a>
53
- <tr>
54
- <form action=? name=sf method=GET>
55
- <input type=hidden name=s value=q>
56
- <td>
57
- <table width=100% cellpadding=0 cellspacing=0 border=0>
58
- <tr>
59
- <td width=1% height=25 nowrap>
60
- <input size=28 maxlength=2048
61
- name=q value=""
62
- >&nbsp;<input type=submit name=nvp_site_mail value="Search Mail"
63
- >&nbsp;<input type=submit name=nvp_site_web value="Search the Web">
64
- </td>
65
- <td>
66
- <font size=1>
67
- &nbsp;<a href="?v=as&pv=tl"
68
- >Show&nbsp;search&nbsp;options</a>
69
- </font>
70
- </form>
71
- </table>
72
- <tr>
73
- <td height=25 colspan=2>
74
- </table>
75
- <table width=100% cellpadding=0 cellspacing=0 border=0>
76
- <tr>
77
- <td width=120 valign=top>
78
- <table width=100% cellpadding=2 cellspacing=0 border=0 class=m>
79
- <tr>
80
- <td>
81
- <b><a href="?v=b&pv=tl&cs=b" accesskey=c
82
- >Compose&nbsp;Mail</a></b>
83
- <tr>
84
- <td height=5>
85
- <h2 class=hdn>Folders</h2>
86
- <tr>
87
- <td>
88
- <a href="?"
89
- accesskey=i
90
- >Inbox</a>
91
- <tr>
92
- <td>
93
- <a href="?s=r"
94
- >Starred&nbsp;<img src="/mail/images/star_on_sm_2.gif" width="13" height="13" border="0" alt="star" /></a>
95
- <tr>
96
- <td>
97
- <a href="?s=s"
98
- >Sent Mail</a>
99
- <tr>
100
- <td>
101
- <h3><b><a href="?s=d"
102
- >Drafts&nbsp;(16)</a></b></h3>
103
- <tr>
104
- <td>
105
- <a href="?s=a"
106
- >All Mail</a>
107
- <tr>
108
- <td>
109
- <h3><b><a href="?s=m"
110
- >Spam&nbsp;(7)</a></b></h3>
111
- <tr>
112
- <td>
113
- <a href="?s=t"
114
- >Trash</a>
115
- <tr>
116
- <td height=8>
117
- <tr>
118
- <td bgcolor="#FAD163">
119
- <h3><b><a href="?v=cl">Contacts</a></b></h3>
120
- <tr>
121
- <td height=8>
122
- </table>
123
- <table width=100% cellpadding=2 cellspacing=0 border=0 class=l>
124
- <tr>
125
- <td class=lb>
126
- <h2><font color=#000000>Labels</font><br></h2>
127
- <a href="?s=l&l=mytag"><font color=#006633
128
- >mytag</font></a>
129
- <br>
130
- </td>
131
- </table>
132
- <td valign=top>
133
- <table width=100% cellpadding=0 cellspacing=0 border=0>
134
- <tr>
135
- <td width=5 bgcolor="#FAD163">&nbsp;</td>
136
- <td>
137
- <table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor=#fad163>
138
- <form action="?fv=cl&pv=cl&cs=fc" name=f method=POST>
139
- <tr>
140
- <td>
141
- <input type=submit name=nvp_bu_comp value="Compose">
142
- </td>
143
- <td align=right>&nbsp;
144
- </table>
145
- <table width=100% cellpadding=0 cellspacing=0 border=0 bgcolor=#fad163>
146
- <tr>
147
- <td width=1% valign=bottom>
148
- <table cellpadding=2 cellspacing=0 border=0>
149
- <tr>
150
- <td nowrap>
151
- &nbsp;<b><a href="?v=cl&pnl=p"
152
- >Frequently&nbsp;Mailed</a></b>&nbsp;
153
- </td>
154
- <td bgcolor=#ffffff nowrap>
155
- &nbsp;<b>All&nbsp;Contacts</b>&nbsp;
156
- </td>
157
- </table>
158
- </td>
159
- <td>
160
- <input size=20 maxlength=2048
161
- name=scq value=""
162
- >&nbsp;<input type=submit name=nvp_bu_sc value="Search Contacts">
163
- </td>
164
- <td align=right>&nbsp;
165
- <b>2</b> of <b>2</b>&nbsp;
166
- </table>
167
- <table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor=#ffffff class=th>
168
- <tr>
169
- <td>
170
- <input type=checkbox name=c value="3c">
171
- </td>
172
- <td>
173
- <b>Joe User</b>
174
- </td>
175
- <td>
176
- joe.user@example.com
177
- &nbsp;
178
- </td>
179
- <tr>
180
- <td>
181
- <input type=checkbox name=c value="8c">
182
- </td>
183
- <td>
184
- <b>Jane User</b>
185
- </td>
186
- <td>
187
- jane.user@example.com
188
- &nbsp;
189
- </td>
190
- </table>
191
- <table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor=#fad163>
192
- <tr>
193
- <td>
194
- <input type=submit name=nvp_bu_comp value="Compose">
195
- </td>
196
- <td align=right>
197
- </form>
198
- </table>
199
- </table>
200
- <table cellpadding=2 cellspacing=0 border=0 align=center class=ft>
201
- <tr>
202
- <td align=center>
203
- Use the search box or <b>search options</b> to find messages quickly!
204
- <tr>
205
- <td align=center>
206
- <span style="color: #006633;
207
- font-weight: bold;">
208
- You are currently using
209
- 400 MB
210
- (6%) of your
211
- 6358 MB
212
- </span>
213
- <tr>
214
- <td align=center>
215
- <font size=1>
216
- &copy;2007 Google -
217
- <a href="/mail/help/terms.html"
218
- target=_blank>
219
- Terms
220
- </a> -
221
- <a href="http://gmailblog.blogspot.com/?utm_source=uifooter&utm_medium=et&utm_campaign=en"
222
- target=_blank>Gmail Blog</a> -
223
- <a href="http://www.google.com" target=_blank>Google Home</a>
224
- </font>
225
- </table>
226
- </table>
227
- </body>
228
- </html>