Vincent Foley
Posts: 512
Nickname: gnuvince
Registered: Apr, 2005
|
Vincent Foley is a hobbyist Rubyist.
|
|
|
|
ShortURL 0.1.0
|
Posted: Jun 2, 2005 3:56 PM
|
|
|
This post originated from an RSS feed registered with Ruby Buzz
by Vincent Foley.
|
Original Post: ShortURL 0.1.0
Feed Title: Vincent Foley-Bourgon
Feed URL: http://www.livejournal.com/~gnuvince/data/rss
Feed Description: Vincent Foley-Bourgon - LiveJournal.com
|
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Vincent Foley
Latest Posts From Vincent Foley-Bourgon
|
|
I released an updated version of ShortURL, nothing new really except more unit tests, refactored some code, I am now using URI.extract to get URLs instead of regular expressions (suggested by Marcel Molina Jr.) and I wrapped the HTTP code in an exception block, so when a network-related exception occurs (page not found, etc.), you get nil instead of a big mean exception. I uploaded the new gem too, so just type gem update to get the new version, or gem install -r shorturl if you didn't have it yet.
Read: ShortURL 0.1.0
|
|