Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ANN] ShortURL 0.7.0

0 views
Skip to first unread message

Vincent Foley

unread,
Sep 26, 2005, 7:24:52 PM9/26/05
to
After a lot of procrastination, I have released ShortURL 0.7.0. I
added one service (I'm running out of those ;)), fixed the unit tests
and I started using CVS. As usual, a simple "gem install shorturl"
will do the trick :) Enjoy!

Vincent Foley

unread,
Sep 27, 2005, 2:57:19 PM9/27/05
to
You know, I am running out of ideas for ShortURL. I admit that it's
not a very complex library, however it seems that lately I only add
services and unit tests. Is there anything you would like to see
added? If not, I have another project I've been thinking about for a
while now that I may start implementing.

Daniel Berger

unread,
Sep 27, 2005, 3:09:27 PM9/27/05
to

May I recommend a WWW toplevel namespace?

Regards,

Dan


James Edward Gray II

unread,
Sep 27, 2005, 3:17:53 PM9/27/05
to

My thought is that is should include a command-line binary for making
urls as well.

James Edward Gray II


Vincent Foley

unread,
Sep 27, 2005, 11:33:04 PM9/27/05
to
It does. In the bin/ folder, there's a little script called shorten.
You give it an URL and an optional service (it uses RubyURL by default)
and it outputs the shortened URL.

Daniel: what do you mean a WWW namespace? Like sticking the thing in a
WWW module or something? Thanks.

Vincent Foley

unread,
Sep 27, 2005, 11:36:43 PM9/27/05
to
Oops, that shorturl, not shorten. Sorry. It's late and I need to
sleep :)

Daniel Berger

unread,
Sep 28, 2005, 12:48:34 AM9/28/05
to

Yes.

- Dan

Doug Kearns

unread,
Sep 28, 2005, 2:02:32 AM9/28/05
to
Thanks for this Vincent - very handy.

On Wed, Sep 28, 2005 at 12:36:43PM +0900, Vincent Foley wrote:
> It does. In the bin/ folder, there's a little script called shorten.
> You give it an URL and an optional service (it uses RubyURL by default)
> and it outputs the shortened URL.

Maybe you could just polish up the command-line tool?

For example, it might be 'nice' if it had some basic option handling. I
tried it for the first time with $ shorurl --help and it came back with
the shorturl for http://--help/

Also something like $ shorturl --help lns returns "nil" rather than the
wholesome goodness of a more digestible error message...

<snip>

Regards,
Doug


Vincent Foley

unread,
Sep 28, 2005, 6:00:32 AM9/28/05
to
All right, I'll get on it!

James Edward Gray II

unread,
Sep 28, 2005, 9:07:14 AM9/28/05
to
On Sep 27, 2005, at 10:36 PM, Vincent Foley wrote:

> It does. In the bin/ folder, there's a little script called shorten.
> You give it an URL and an optional service (it uses RubyURL by
> default)
> and it outputs the shortened URL.

Oops, didn't know that. Excellent!

James Edward Gray II


Vincent Foley

unread,
Oct 2, 2005, 2:23:34 PM10/2/05
to
I just released ShortURL 0.8.0. It includes an improved bin/shorturl.
This one does more error recovery, has an help system and uses
UNIX-like command line switches. gem update, as usual

Daniel Berger

unread,
Oct 2, 2005, 5:18:15 PM10/2/05
to

Why didn't you add a WWW namespace? With a "class Service" it could,
one day, be problematic.

Regards,

Dan

Vincent Foley

unread,
Oct 2, 2005, 5:55:30 PM10/2/05
to
Oh right, I forgot about that one. Give me a few days, I'll add it.

Vincent Foley

unread,
Oct 2, 2005, 11:01:50 PM10/2/05
to
Done. I thought I'd add a GUI before, but I just made a minor version
release to have the WWW namespace. 0.8.1

0 new messages