Subscribe to my Feed, follow me on Twitter, recommend me on Working With Rails or see my code on GitHub
Barby 0.3: Ruby 1.9 compatible and pure-ruby SVG outputter
I just tagged and released version 0.3.0 of Barby, the simple, extensible and generally awesome Ruby library for generating barcodes. Besides a number of minor additions, 0.3.0 features Ruby 1.9 compatibility (mostly by Chris Mowforth) and a brand new SVG outputter by Peter H. Li. You could create SVGs with Barby in previous versions too, but only by using the rather heavy Cairo graphics rendering library (which makes up for its heaviness with its versatility). Peter’s outputter is pure Ruby without any dependencies at all, making it easier to get going if all you need is SVG.
As soon as the gems hit Rubyforge, you can install the new version using the gem command:
[sudo] gem install barby
As always, if there’s something you would like to see added to or fixed in Barby, it’s open source ;) Especially if you have knowledge of barcode symbologies or formats to which barcodes can be exported, that’d be great. Barby is designed to be very extensible to make it easy to add these things.
