pjotrp/blastxmlparser — pull request #1 by hunzinker (2012-08-08 18:31:49+00:00)
Title: Hsp gaps NoMethodError Bug Fix

Calling `to_s` on the XML XPath object in `Bio::Blast::XPath.field` fixed a strange bug I was experiencing when calling the `NokogiriBlastHsp` method `gaps`.

Under the gem's current release v1.0.1, when calling `gaps` on a `NokogiriBlastHsp` object I would receive a `NoMethodError: undefined method 'gaps'` while the remaining `NokogiriBlastHsp` methods responding as expected.

View a TravisCI build matrix for details.
http://travis-ci.org/#!/ncgr/quorum/builds/2068717

System Details:
Ubuntu 12.04 local 11.10 TravisCI
NCBI Blast+ 2.2.25
Ruby >= 1.9.2
Rails >= 3.1
Nokogiri 1.5.5

Thanks!