aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/graph.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/graph.rb')
-rw-r--r--lib/bundler/graph.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/graph.rb b/lib/bundler/graph.rb
index 5138a137..a89cd1c7 100644
--- a/lib/bundler/graph.rb
+++ b/lib/bundler/graph.rb
@@ -1,4 +1,4 @@
-require 'set'
+require "set"
module Bundler
class Graph
GRAPH_NAME = :Gemfile
@@ -126,7 +126,7 @@ module Bundler
def g
@g ||= ::GraphViz.digraph(@graph_name, {:concentrate => true, :normalize => true, :nodesep => 0.55}) do |g|
g.edge[:weight] = 2
- g.edge[:fontname] = g.node[:fontname] = 'Arial, Helvetica, SansSerif'
+ g.edge[:fontname] = g.node[:fontname] = "Arial, Helvetica, SansSerif"
g.edge[:fontsize] = 12
end
end
@@ -135,8 +135,8 @@ module Bundler
@groups.each do |group|
g.add_nodes(
group,
- {:style => 'filled',
- :fillcolor => '#B9B9D5',
+ {:style => "filled",
+ :fillcolor => "#B9B9D5",
:shape => "box3d",
:fontsize => 16}.merge(@node_options[group])
)
@@ -145,7 +145,7 @@ module Bundler
@relations.each do |parent, children|
children.each do |child|
if @groups.include?(parent)
- g.add_nodes(child, {:style => 'filled', :fillcolor => '#B9B9D5'}.merge(@node_options[child]))
+ g.add_nodes(child, {:style => "filled", :fillcolor => "#B9B9D5"}.merge(@node_options[child]))
g.add_edges(parent, child, {:constraint => false}.merge(@edge_options["#{parent}_#{child}"]))
else
g.add_nodes(child, @node_options[child])