devroom.io/drafts/2010-06-06-firefly-043-and-firefly-client-040-released.md
Ariejan de Vroom dbae98c4c0 Moar updates
2013-03-24 14:27:51 +01:00

1.1 KiB

title kind slug created_at tags
Firefly 0.4.3 and Firefly Client 0.4.0 released article firefly-043-and-firefly-client-040-released 2010-06-06
Ruby
gems
urls
firefly
shortener

Today version 0.4.3 of Firefly was released with some minor updates. To complete the package, a new gem firefly-client has been released.

The client library allows your Ruby application to easily shorten URLs with a remote Firefly server. It's very easy to use and lightweight.

~ Firefly 0.4.3 Changelog

  • Handle invalid API keys correctly.
  • Added a fix for MySQL users to update the code column to use the correct collation. Fixes issue #9

Firefly Client

Using the Firefly Client is very easy, read the following snippet from the README:

require 'rubygems'
require 'firefly-client'

firefly = Firefly::Client.new("http://aj.gs", "my_api_key")
firefly.shorten("http://google.com")
  => "http://aj.gs/8ds"

Nice, huh? Get more info over at github