shorturl 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 15 20:37:02 EST 2006</td>
59
+ <td>Sun Jan 06 15:55:17 -0800 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -70,33 +70,12 @@
70
70
 
71
71
  <div id="description">
72
72
  <p>
73
- 0.8.3:
73
+ 0.8.4:
74
74
  </p>
75
75
  <pre>
76
- - Fixed and removed services. Used APIs as much as possible.
77
- - Default method is GET, not POST anymore.
78
- </pre>
79
- <p>
80
- 0.8.2:
81
- </p>
82
- <pre>
83
- - Fixed unit tests
84
- - Added shurl.org
85
- - Added &quot;random&quot; service to bin/shorturl to pick a random one
86
- - Removed shorl.com and skinnylink.com because they no longer seem to
87
- be up and running
88
- </pre>
89
- <p>
90
- 0.8.1:
91
- </p>
92
- <pre>
93
- - Wrapped the library in a WWW namespace
94
- </pre>
95
- <p>
96
- 0.8.0:
97
- </p>
98
- <pre>
99
- - Made some improvements to bin/shorturl
76
+ - Fixed support for RubyURL.com
77
+ - Added support for urlTea.com
78
+ - Added support for moourl.com
100
79
  </pre>
101
80
  <p>
102
81
  0.7.0:
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 15 19:43:09 EST 2006</td>
59
+ <td>Mon Sep 26 16:19:06 -0700 2005</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -70,7 +70,7 @@
70
70
 
71
71
  <div id="description">
72
72
  <p>
73
- Copyright &#169; 2005, Vincent Foley
73
+ Copyright (c) 2005, Vincent Foley
74
74
  </p>
75
75
  <p>
76
76
  Permission is hereby granted, free of charge, to any person obtaining a
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 15 20:41:54 EST 2006</td>
59
+ <td>Sun Jan 06 15:48:40 -0800 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -69,16 +69,16 @@
69
69
  <div id="contextContent">
70
70
 
71
71
  <div id="description">
72
- <h1>ShortURL 0.8.3</h1>
72
+ <h1><a href="../classes/ShortURL.html">ShortURL</a> 0.8.4</h1>
73
73
  <h2>Summary</h2>
74
74
  <p>
75
- ShortURL is a very simple library to use URL shortening services such as
76
- TinyURL or RubyURL.
75
+ <a href="../classes/ShortURL.html">ShortURL</a> is a very simple library to
76
+ use URL shortening services such as RubyURL, urlTea, and TinyURL.
77
77
  </p>
78
78
  <h2>Installation</h2>
79
79
  <p>
80
- ShortURL is available as a gem, installation is just like any other gem:
81
- <tt>$ gem install -r shorturl</tt>
80
+ <a href="../classes/ShortURL.html">ShortURL</a> is available as a gem,
81
+ installation is just like any other gem: <tt>$ gem install shorturl</tt>
82
82
  </p>
83
83
  <p>
84
84
  You can also download the tar.bz2 archive at <a
@@ -87,49 +87,68 @@ if you do not want to use the gem.
87
87
  </p>
88
88
  <h2>Supported services</h2>
89
89
  <p>
90
- Here is the list of the services supported by ShortURL:
90
+ Here is the list of the services supported by <a
91
+ href="../classes/ShortURL.html">ShortURL</a>:
91
92
  </p>
92
93
  <ul>
93
- <li>d62
94
+ <li><a href="http://rubyurl.com">rubyurl.com</a>
94
95
 
95
96
  </li>
96
- <li>fyad
97
+ <li><a href="http://tinyurl.com">tinyurl.com</a>
97
98
 
98
99
  </li>
99
- <li>linktrim
100
+ <li><a href="http://shorl.com">shorl.com</a>
100
101
 
101
102
  </li>
102
- <li>littlink
103
+ <li><a href="http://snipurl.com">snipurl.com</a>
103
104
 
104
105
  </li>
105
- <li>lns
106
+ <li><a href="http://metamark.net">metamark.net</a>
106
107
 
107
108
  </li>
108
- <li>metamark
109
+ <li><a href="http://makeashorterlink.com">makeashorterlink.com</a>
109
110
 
110
111
  </li>
111
- <li>minilink
112
+ <li><a href="http://skinnylink.com">skinnylink.com</a>
112
113
 
113
114
  </li>
114
- <li>orz
115
+ <li><a href="http://linktrim.com">linktrim.com</a>
115
116
 
116
117
  </li>
117
- <li>rubyurl
118
+ <li><a href="http://shorterlink.com">shorterlink.com</a>
118
119
 
119
120
  </li>
120
- <li>shiturl
121
+ <li><a href="http://minilink.org">minilink.org</a>
121
122
 
122
123
  </li>
123
- <li>shorterlink
124
+ <li><a href="http://ln-s.net">ln-s.net</a>
124
125
 
125
126
  </li>
126
- <li>shortify
127
+ <li><a href="http://fyad.org">fyad.org</a>
127
128
 
128
129
  </li>
129
- <li>shurl
130
+ <li><a href="http://d62.net">d62.net</a>
130
131
 
131
132
  </li>
132
- <li>tinyurl
133
+ <li><a href="http://shiturl.com">shiturl.com</a>
134
+
135
+ </li>
136
+ <li><a href="http://littlink.com">littlink.com</a>
137
+
138
+ </li>
139
+ <li><a href="http://clipurl.com">clipurl.com</a>
140
+
141
+ </li>
142
+ <li><a href="http://shortify.com">shortify.com</a>
143
+
144
+ </li>
145
+ <li><a href="http://0rz.net">0rz.net</a>
146
+
147
+ </li>
148
+ <li><a href="http://moourl.com">moourl.com</a>
149
+
150
+ </li>
151
+ <li><a href="http://urltea.com">urltea.com</a>
133
152
 
134
153
  </li>
135
154
  </ul>
@@ -139,36 +158,86 @@ call-seq:
139
158
  </p>
140
159
  <pre>
141
160
  require &quot;shorturl&quot;
142
- puts WWW::ShortURL.shorten(&quot;http://mypage.com&quot;)
143
- puts WWW::ShortURL.shorten(&quot;http://mypage.com&quot;, :tinyurl)
161
+ puts ShortURL.shorten(&quot;http://mypage.com&quot;)
162
+ puts ShortURL.shorten(&quot;http://mypage.com&quot;, :moourl)
144
163
  </pre>
145
164
  <p>
146
- The second parameter represents the service you want to use. See the
147
- documentation for <a href="../classes/WWW/ShortURL.html">WWW::ShortURL</a>
148
- for a complete list
149
- </p>
150
- <p>
151
- You can use <tt>ShortURL.valid_services</tt> to obtain a list of the valid
152
- services (in case I forget to update the documentation)
165
+ The second parameter represents the service you want to use. These are:
153
166
  </p>
167
+ <ul>
168
+ <li><tt>:rubyurl</tt>
169
+
170
+ </li>
171
+ <li><tt>:tinyurl</tt>
172
+
173
+ </li>
174
+ <li><tt>:shorl</tt>
175
+
176
+ </li>
177
+ <li><tt>:snipurl</tt>
178
+
179
+ </li>
180
+ <li><tt>:metamark</tt>
181
+
182
+ </li>
183
+ <li><tt>:makeashorterlink</tt>
184
+
185
+ </li>
186
+ <li><tt>:skinnylink</tt>
187
+
188
+ </li>
189
+ <li><tt>:linktrim</tt>
190
+
191
+ </li>
192
+ <li><tt>:shorterlink</tt>
193
+
194
+ </li>
195
+ <li><tt>:minlink</tt>
196
+
197
+ </li>
198
+ <li><tt>:lns</tt>
199
+
200
+ </li>
201
+ <li><tt>:fyad</tt>
202
+
203
+ </li>
204
+ <li><tt>:d62</tt>
205
+
206
+ </li>
207
+ <li><tt>:shiturl</tt>
208
+
209
+ </li>
210
+ <li><tt>:littlink</tt>
211
+
212
+ </li>
213
+ <li><tt>:clipurl</tt>
214
+
215
+ </li>
216
+ <li><tt>:shortify</tt>
217
+
218
+ </li>
219
+ <li><tt>:orz</tt>
220
+
221
+ </li>
222
+ <li><tt>:moourl</tt>
223
+
224
+ </li>
225
+ <li><tt>:urltea</tt>
226
+
227
+ </li>
228
+ </ul>
154
229
  <p>
155
- You can also use the small script in bin/ which can be used from the
156
- command line: call-seq:
230
+ You can use <tt><a
231
+ href="../classes/ShortURL.html#M000001">ShortURL.valid_services</a></tt> to
232
+ obtain a list of the valid services (in case I forget to update the
233
+ documentation)
157
234
  </p>
158
- <pre>
159
- $ shorturl www.google.com
160
- http://rubyurl.com/fuuUw
161
- $ shorturl -s tinyurl www.google.com
162
- http://tinyurl.com/1c2
163
- $ shorturl -s random www.google.com
164
- http://linktrim.com/42k
165
- </pre>
166
235
  <h2>Thanks</h2>
167
236
  <ul>
168
237
  <li>Marcel Molina Jr., Devin Mullins for some ideas
169
238
 
170
239
  </li>
171
- <li>imperator from ruby-lang (I don&#8217;t know your real name, sorry) for
240
+ <li>imperator from ruby-lang (I don&#8216;t know your real name, sorry) for
172
241
  helping me with creating and uploading a RubyGem
173
242
 
174
243
  </li>
@@ -176,10 +245,15 @@ helping me with creating and uploading a RubyGem
176
245
 
177
246
  </li>
178
247
  </ul>
179
- <h2>Author</h2>
180
- <p>
181
- Vincent Foley
182
- </p>
248
+ <h2>Authors</h2>
249
+ <ul>
250
+ <li>Vincent Foley (original developer)
251
+
252
+ </li>
253
+ <li>Robby Russell &lt;robbyrussell@gmail.com&gt;
254
+
255
+ </li>
256
+ </ul>
183
257
 
184
258
  </div>
185
259
 
data/doc/files/TODO.html CHANGED
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 15 19:43:09 EST 2006</td>
59
+ <td>Mon Sep 26 16:19:06 -0700 2005</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 15 20:44:00 EST 2006</td>
59
+ <td>Sun Jan 06 15:37:37 -0800 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -20,10 +20,9 @@
20
20
  <div id="index">
21
21
  <h1 class="section-bar">Classes</h1>
22
22
  <div id="index-entries">
23
- <a href="classes/WWW.html">WWW</a><br />
24
- <a href="classes/WWW/InvalidService.html">WWW::InvalidService</a><br />
25
- <a href="classes/WWW/Service.html">WWW::Service</a><br />
26
- <a href="classes/WWW/ShortURL.html">WWW::ShortURL</a><br />
23
+ <a href="classes/InvalidService.html">InvalidService</a><br />
24
+ <a href="classes/Service.html">Service</a><br />
25
+ <a href="classes/ShortURL.html">ShortURL</a><br />
27
26
  </div>
28
27
  </div>
29
28
  </body>
@@ -20,10 +20,10 @@
20
20
  <div id="index">
21
21
  <h1 class="section-bar">Methods</h1>
22
22
  <div id="index-entries">
23
- <a href="classes/WWW/Service.html#M000004">call (WWW::Service)</a><br />
24
- <a href="classes/WWW/Service.html#M000003">new (WWW::Service)</a><br />
25
- <a href="classes/WWW/ShortURL.html#M000002">shorten (WWW::ShortURL)</a><br />
26
- <a href="classes/WWW/ShortURL.html#M000001">valid_services (WWW::ShortURL)</a><br />
23
+ <a href="classes/Service.html#M000004">call (Service)</a><br />
24
+ <a href="classes/Service.html#M000003">new (Service)</a><br />
25
+ <a href="classes/ShortURL.html#M000002">shorten (ShortURL)</a><br />
26
+ <a href="classes/ShortURL.html#M000001">valid_services (ShortURL)</a><br />
27
27
  </div>
28
28
  </div>
29
29
  </body>
@@ -0,0 +1,2 @@
1
+ /shorten.rb/1.1.1.1/Mon Sep 26 23:19:07 2005//
2
+ D
@@ -0,0 +1 @@
1
+ support/examples
data/examples/CVS/Root ADDED
@@ -0,0 +1 @@
1
+ :pserver:anonymous@rubyforge.org:/var/cvs/shorturl
data/lib/CVS/Entries ADDED
@@ -0,0 +1,2 @@
1
+ /shorturl.rb/1.2/Sun Jan 6 23:37:37 2008//
2
+ D
@@ -0,0 +1 @@
1
+ support/lib
data/lib/CVS/Root ADDED
@@ -0,0 +1 @@
1
+ :pserver:anonymous@rubyforge.org:/var/cvs/shorturl