Description: Scruffy generate jpg/png file cropped at 200px height.
Other report: http://rubyforge.org/tracker/index.php?func=detail&aid=27492&group_id=2030&atid=7929
I checked out the svn repo at version 66(current), and run all the test with no problem. So I downloaded a tgz pack
of scruffy v0.2.6, and did some comparison. And found a diff as follows:
35c35
< svg.svg(:xmlns => "http://www.w3.org/2000/svg", 'xmlns:xlink' =>
"http://www.w3.org/1999/xlink", :viewBox => "#{options[:size].first} 100 #{options[:size].last} 200")
{
---
> svg.svg(:xmlns => "http://www.w3.org/2000/svg", 'xmlns:xlink' =>
"http://www.w3.org/1999/xlink", :viewBox => "0 0 #{options[:size].first} #{options[:size].last}")
{nts.each do |component|
component.render(svg,
It seems that an older version is packed as gem. Hope you release a new gem pack with svn version 66 packed, thank you.
Currently I only have to modify the file provided by gem pack to get scruffy work properly. |