[ANN] ShortURL 0.7.0

V

Vincent Foley

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!
 
V

Vincent Foley

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.
 
D

Daniel Berger

Vincent said:
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.

May I recommend a WWW toplevel namespace?

Regards,

Dan
 
J

James Edward Gray II

May I recommend a WWW toplevel namespace?

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

James Edward Gray II
 
V

Vincent Foley

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.
 
D

Daniel Berger

Vincent said:
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.

Yes.

- Dan
 
D

Doug Kearns

Thanks for this Vincent - very handy.

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
 
J

James Edward Gray II

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
 
V

Vincent Foley

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
 
D

Daniel Berger

Vincent said:
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

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

Regards,

Dan
 
V

Vincent Foley

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,173
Messages
2,570,937
Members
47,481
Latest member
ElviraDoug

Latest Threads

Top