bioruby/bioruby — pull request #52 by lomereiter (2012-05-10 12:33:25+00:00)
Title: Some unit test fixes.

First fix is for test/unit/db/bio/test_soft.rb. It didn't sort hash keys before comparison whereas they are not necessarily ordered in different Rubies.

Second one is for lib/bio/db/gff.rb. It uses Struct with length field, but Struct already has method 'length' (http://www.ruby-doc.org/core-1.9.3/Struct.html#method-i-length). So clash of names occurs. For instance, Rubinius always returns 2, i.e. number of fields.