RubyURL-friendly library

Reading time: ~1 min ❓Shorter than a Rails console boot time

Vincent Foley-Bourgon has just released ShortURL.

From his post:

``` You can install it with RubyGems:

$ gem install -r shorturl

or you can go to http://rubyforge.org/frs/?group_id=732 and download the tar.bz2 archive.

Usage is very simple, here’s a sample irb session:

require “rubygems” => true require “shorturl” => false ShortURL.shorten(“http://groups-beta.google.com/group/comp.lang.ruby”) => “http://rubyurl.com/eiRDm” ShortURL.shorten(“http://groups-beta.google.com/group/comp.lang.ruby”, :tinyurl) => “http://tinyurl.com/bfuu2” ```

On that note, RubyURL is almost at 1,000 unique URLs!

Hi, I'm Robby.

Robby Russell

I run Planet Argon, where we help organizations keep their Ruby on Rails apps maintainable—so they don't have to start over. I created Oh My Zsh to make developers more efficient and host both the On Rails and Maintainable.fm podcasts to explore what it takes to build software that lasts.