Interesting Ruby Tidbits That Don’t Need Separate Posts #30
The latest installment of our series of roundup posts, covering some of our latest findings in the world of all things Ruby. These items wouldn't make it in as separate posts, but they should be of enough interest to Rubyists generally to make it a worthwhile browse for most readers.
Camping 2.0 Released
Back "in the day", a gentleman and scholar called Why The Lucky Stiff built a teeny, tiny webapp framework called Camping. It was like an extremely light mix of Rails and Sinatra, except that Sinatra didn't even exist at the time. In late 2009, Why went missing and still hasn't reappeared, but Magnus Holm picked up the torch and has released Camping 2.0. It retains Camping's original flavor and hardcore spirit (it's only 3072 bytes in size!) but adds Rack support and simpler routes, amongst other things.
JRuby 1.5.0 RC1 Released
The JRuby team has announced the release of JRuby 1.5.0 release candidate 1. It comes 5 months after JRuby 1.4.0's release and features the most fixes of any of JRuby's development cycles. There are also a handful of new features and improvements, including better Windows and UNIX-specific support, standard library and RubyGems updates, Rails 3 focused fixes, performance improvements for Ruby-to-Java calls, and JIT compilation caching.
Ruby There: Ruby Events Listings
Ruby There is a new Ruby and Rails events listing site from Scottish Rubyist, Keavy McMinn. You can already submit events of your own or just check out what's coming up. We'll do a full post about it soon once Ruby There's listings have been integrated with Ruby Inside, as we plan to show Ruby event listings on all our pages. As an aside, Keavy is a great Rails developer and is currently taking on new work.
Isy: Yet Another Ruby Webapp Framework
Whenever I post about a new Ruby webapp framework on Ruby Inside, I typically get a response or two along the lines of: "Who cares? Yet another Ruby webapp framework? What's wrong with Sinatra and Rails?" Well, if that isn't you, you might be interested in Isy, a new webapp framework that's component-based and stateful.
Psych: Event-Based JSON and YAML Parsing
Aaron Patterson (a.k.a. tenderlove) of Nokogiri fame has written a blog post about building an event-bsased Twitter stream parser with Ruby 1.9.2 and Psych. Typically in Ruby, JSON and YAML parsing are done in an "immediate" fashion where you pass in the data and you get a Ruby representation back out. Event-based parsing instead uses callbacks to process JSON and YAML asynchronously.
PDF::Writer Deprecated - Prawn 1.0 Under Development
Prawn is a pure Ruby PDF generation library that abstracts away a lot of the PDF-specific nonsense into a form that makes it easy to produce PDFs from Ruby code. Its creator, Gregory Brown, has retired the older PDF::Writer library in order to focus on the development of Prawn 1.0. Gregory is keen to lay down a spec for Prawn 1.0's API and he's put a draft spec out there for everyone to comment on. If generating PDFs from Ruby is important to you or your app, you might want to get involved in this effort, as Prawn is sure to remain the #1 PDF generation library available to us for some time.
For Sale: RubyPlus.org
Bala Paranj is selling his much-celebrated rubyplus.org Ruby screencasting site. He claims it has 12,000 members and he's selling the site to fund the growth of his Zepho Inc company (which is focusing on a British accent training iPad app). Questions and offers can be directed to Bala at bala.paranj
at zepho.com
.
While we're in a mercantile mood, perhaps I should also mention I own rubyonrailswebhosting.com
, railswebhosting.com
, rorhosting.com
, railstraining.co.uk
, rails-training.co.uk
, and ruby-training.co.uk
.. and if anyone has any serious or semi-serious offer for any of them (I'm more than happy to sit on them, so it'd have to be worth it), contact me (see the Anything else section for my e-mail address).