Sha256: 182fa3dc37ac4c7ce4a81edcf0475b8af5f532aa5f08975eb94bfd749503bd1f

Contents?: true

Size: 362 Bytes

Versions: 8

Compression:

Stored size: 362 Bytes

Contents

require 'rubygems/command'
require 'rubygems_analyzer'

class Gem::Commands::GraphCommand < Gem::Command

  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

8 entries across 8 versions & 1 rubygems

Version Path
graph-2.5.1 lib/rubygems/commands/graph_command.rb
graph-2.5.0 lib/rubygems/commands/graph_command.rb
graph-2.4.1 lib/rubygems/commands/graph_command.rb
graph-2.4.0 lib/rubygems/commands/graph_command.rb
graph-2.3.1 lib/rubygems/commands/graph_command.rb
graph-2.3.0 lib/rubygems/commands/graph_command.rb
graph-2.2.0 lib/rubygems/commands/graph_command.rb
graph-2.1.0 lib/rubygems/commands/graph_command.rb