Graph 2.3.1 Released

graph version 2.3.1 has been released!

Graph is a type of hash that outputs in graphviz’s dot format. It
comes with a command-line interface that is easily pluggable.

It ships with plugins to graph dependencies and status of installed
rubygems, rake tasks, homebrew ports, mac ports, and freebsd ports,
coloring leaf nodes blue, outdated nodes red, and outdated leaf nodes
purple (red+blue).

OSX quick tip:

% sudo gem install graph
% sudo brew install graphviz
% gem unpack graph
% cd graph*
% rake gallery
% open gallery/*.png

Changes:

2.3.1 / 2011-12-19

  • 1 minor enhancement:

    • Added Aja Hammerly’s Easy Data Visualization with Graph slides

On 12/19/2011 05:07 PM, Ryan D. wrote:

graph version 2.3.1 has been released!

*https://github.com/seattlerb/graph

Graph is a type of hash that outputs in graphviz’s dot format. It
comes with a command-line interface that is easily pluggable.

Lookong forward to using this (I never could remember graphviz syntax
between uses, so I might as well re-learn it in ruby).

Some minor issues…


Should graph depend on hoe?

$ rake gallery
rake aborted!
cannot load such file – hoe

(See full trace by running task with --trace)


Installing hoe solves the above, but the doc gen fails for hoe:

$ sudo gem install hoe
Fetching: hoe-2.12.5.gem (100%)
Successfully installed hoe-2.12.5
1 gem installed
Installing ri documentation for hoe-2.12.5…
ERROR: While generating documentation for hoe-2.12.5
… MESSAGE: unknown encoding name - us-ascii;
… RDOC args: --ri --op
/usr/local/lib/ruby/gems/1.9.1/doc/hoe-2.12.5/ri --main README.txt
–inline-source --line-numbers --format=html --template=hanna lib
History.txt Manifest.txt README.txt --title hoe-2.12.5 Documentation
–quiet


Should these warnings be happening?

$ rake gallery
/usr/local/bin/ruby -I…/lib unix.rb
/home/tmp/vjoel/graph-2.3.1/lib/graph.rb:496: warning: assigned but
unused variable - node
/home/tmp/vjoel/graph-2.3.1/lib/graph.rb:74: warning: method redefined;
discarding old box
/home/tmp/vjoel/graph-2.3.1/lib/graph.rb:69: warning: previous
definition of box was here
/home/tmp/vjoel/graph-2.3.1/lib/graph.rb:74: warning: method redefined;
discarding old diamond
/home/tmp/vjoel/graph-2.3.1/lib/graph.rb:69: warning: previous
definition of diamond was here

On Dec 20, 2011, at 20:57 , Joel VanderWerf wrote:

Some minor issues…


Should graph depend on hoe?

Installing hoe solves the above, but the doc gen fails for hoe:

 s.add_development_dependency(%q<minitest>, ["~> 2.8"])
 s.add_development_dependency(%q<hoe>, ["~> 2.12"])
 s.add_development_dependency(%q<rdoc>, ["~> 3.10"])

Should these warnings be happening?

A better place for this would be to file a github issue.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs