Earlier today I checked in a patch that adds streaming zlib processing to Ruby. This allows you to process a stream without needing to allocate space to hold the entire result. To add the streaming support I changed #inflate and #deflate to accept a block. A handful of other methods (...

Related:

The default output encoding for RDoc is now UTF-8. Previously RDoc used the default external encoding which was determined from your locale. Issue #106 by Justin Baker. RDoc::RI::Store is now RDoc::Store so ri data generated by RDoc 4 cannot be read by earlier versions of RDoc. RDoc::...

Related:

On Community Funding of Open Source drbrain | Fri, 30 Mar 2012 02:49:42 GMT Posted in Ruby The other day Yehuda Katz announced a kickstarter for creating Rails.app , an OS X application that makes it easy to bring new programmers to Rails and Ruby. I think the idea is fantastic. When ...

drbrain | Fri, 16 Mar 2012 23:19:07 GMT Posted in Ruby In Ruby 1.9, Enumerable has a few new methods including Enumerable#chunk (which was added for 1.9.2). The #chunk method walks your Enumerable and divides it into chunks based on a selecting block. Unlike Enumerable#partition, the ...

Mechanize#auth and Mechanize#basic_auth allowed disclosure of passwords to malicious servers and have been deprecated. In prior versions of mechanize only one set of HTTP authentication credentials were allowed for all connections. If a mechanize instance connected to more than one se...

Related:

drbrain | Mon, 15 Nov 2010 22:12:20 GMT Posted in Rubygems If you went to the first round of RubyConf lightning talks you saw me say this already, but I got enough applause that this needs wider dissemination. Here is my STRONG recommendation on how to name gems: Use underscores fancy...