Sha256: 7de30aed1bad7bd0077d504f1af7481279718909f95a7761f27c45e7c6f0b243

Contents?: true

Size: 387 Bytes

Versions: 13

Compression:

Stored size: 387 Bytes

Contents

require 'rubygems/command'
require 'rubygems_analyzer'

# :stopdoc:

class Gem::Commands::GraphCommand < Gem::Command # :nodoc: all

  def initialize
    super 'graph', 'Graph dependency relationships of installed gems'
  end

  def execute
    g = RubygemsAnalyzer.new.run options[:args]
    g.save "RubygemsAnalyzer", "png"

    say "Graph saved to:\n\tRubygemsAnalyzer.png"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
graph-2.11.1 lib/rubygems/commands/graph_command.rb
graph-2.11.0 lib/rubygems/commands/graph_command.rb
graph-2.10.0 lib/rubygems/commands/graph_command.rb
graph-2.9.1 lib/rubygems/commands/graph_command.rb
graph-2.9.0 lib/rubygems/commands/graph_command.rb
graph-2.8.2 lib/rubygems/commands/graph_command.rb
graph-2.8.1 lib/rubygems/commands/graph_command.rb
graph-2.8.0 lib/rubygems/commands/graph_command.rb
graph-2.7.1 lib/rubygems/commands/graph_command.rb
graph-2.7.0 lib/rubygems/commands/graph_command.rb
graph-2.6.0 lib/rubygems/commands/graph_command.rb
graph-2.5.3 lib/rubygems/commands/graph_command.rb
graph-2.5.2 lib/rubygems/commands/graph_command.rb