burtlo/yard-cucumber — pull request #38 by singram (2012-09-29 21:57:45+00:00)
Title: Feature jruby 1 6 7 2 compatibility

The current version of yard-cucumber is incompatible with jruby 1.6.7.2
There appears to be a difference (between Jruby 1.9 mode and MRI 1.9.3) in how

[a,b,c,d,e].sort_by{|x,y| x.value}

is handled. MRI passes without failure. Jruby assigns nil to both x & y variables in this instance. Falling back to

[a,b,c,d,e].sort_by{|x| x.value}

fixes this which seems the more correct usage of sort_by in this case.

Also fixed a case sensitivity issue in the gemspec.

Thanks for your work developing this gem, it's been pretty handy!