1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: Cédric Boutillier https://github.com/boutil
Subject: Fix for ruby2gv failure
line 119 of bin/ruby2gv, replace each by each_line.
Origin: upstream, https://github.com/glejeune/Ruby-Graphviz/issues/56#issuecomment-9819218
Bug: https://github.com/glejeune/Ruby-Graphviz/issues/56
Bug-Debian: http://bugs.debian.org/676393
--- a/bin/ruby2gv
+++ b/bin/ruby2gv
@@ -116,7 +116,7 @@
xData = fp.read()
fp.close
- xData.each do |xLine|
+ xData.each_line do |xLine|
if lxLineMatch = REQUIRE.match( xLine )
xRequiredLib = lxLineMatch[2].gsub( /\.(rb|so)$/, "" )
|