Patch #1402

Patch for lib/SVG/Graph/Graph.rb, can't externalize stylesheets

Added by Yuki Sonoda over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-06-07
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.7.2

Description

lib/SVG/Graph/Graph.rb has a bug. When the stylesheets of generated SVGs is externalized, for example
graph.style_sheet = '/stylesheets/graph.css'
at RepositoryController#graph_commits_per_author,
graph object raises an exception.

This is because typo. The attached patch solves this problem.

Graph.rb.diff Magnifier (942 Bytes) Yuki Sonoda, 2008-06-07 13:56

Associated revisions

Revision 1524
Added by Jean-Philippe Lang over 9 years ago

Fixed: SVG::Graph raises an error when using external stylesheet (#1402).

History

#1 Updated by Jean-Philippe Lang over 9 years ago

Committed in r1524. Thanks for your patch.
Btw, are you the one who works on redmine4ruby-lang ?

#2 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Closed

#3 Updated by Jean-Philippe Lang over 9 years ago

  • Target version set to 0.7.2

Also available in: Atom PDF