bin/git2gv in ruby-graphviz-1.0.4 vs bin/git2gv in ruby-graphviz-1.0.5

- old
+ new

@@ -28,27 +28,27 @@ git = GraphViz.new( :G, :path => @xGVPath ) git.node[:shape => "record"] branches.each do |branch| - git.add_node( branch, :style => "filled", :fillcolor => :lightgrey ) + git.add_nodes( branch, :style => "filled", :fillcolor => :lightgrey ) end commits.each do |commit| - git.add_node( + git.add_nodes( commit[:short], :style => "filled", :fillcolor => :lightblue, :label => "{ #{commit[:long]} |{ #{commit[:comment].gsub(/\{/, "\\{").gsub(/\}/, "\\}").gsub(/\|/, "\\|").gsub(/</, "\\<").gsub(/>/, "\\>")}}| { #{commit[:commiter]} | #{commit[:date]} } }" ) end refs.each do |from, to| - git.add_edge( from, to ) + git.add_edges( from, to ) end relations.each do |from, to| - git.add_edge( to, from, :dir => "back" ) + git.add_edges( to, from, :dir => "back" ) end git.output( @xOutFormat => @xOutFile, :nothugly => @bNothugly ) end