clbustos / svg-graph

SVG:::Graph is a pure Ruby library for generating charts, which are a type of graph where the values of one axis are not scalar. SVG::Graph has a verry similar API to the Perl library SVG::TT::Graph, and the resulting charts also look the same. This isn't surprising, because SVG::Graph started as a loose port of SVG::TT::Graph, although the internal code no longer resembles the Perl original at all.
http://www.germane-software.com/software/SVG/SVG::Graph/
Other
13 stars 36 forks source link

Fix regexp in test_plot.rb for Ruby1.8 #7

Closed boutil closed 11 years ago

boutil commented 11 years ago

Hi!

The ordering of parameters with Ruby1.8 is not deterministic, because it comes from a Hash. The previous regexps required two spaces between 'circle' and the other keyword, which does not work if the keyword comes just after 'circle'.

This problem caused a build failure for the Debian package: http://bugs.debian.org/713168

Removing one space in these regexp solves the problem.

Cheers,

Cédric