Graph 2.1.0 Released

graph version 2.1.0 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.1.0 / 2011-05-26

  • 3 minor enhancements:

    • If bin/graph isn’t given a type, list them and exit.
    • Updated RubygemsAnalyzer to work with new API.
    • graph command no longer defaults to any analyzer.
  • 2 bug fixes:

    • Escape newlines in labels. (rohitn)
    • Refactored all saving code to bin/graph for clarity.

OSX quick tip:

% sudo gem install graph
% sudo brew install graphviz
% gem unpack graph

Isn’t “sudo brew” evil in the homebrew world?

On May 26, 2011, at 19:42 , Louis-Philippe wrote:

OSX quick tip:

% sudo gem install graph
% sudo brew install graphviz
% gem unpack graph

Isn’t “sudo brew” evil in the homebrew world?

No, but dogma is.

On Fri, May 27, 2011 at 9:56 AM, Ryan D. [email protected]
wrote:

No, but dogma is.

A little experiment:

% cat configure
echo "whoami is pwned"

% sudo sh ./configure
root is pwned

Oops.

You do audit all the code you compile, yes?


Phillip G.

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
– Leibnitz

I’m saying this because I ran into trouble because of sudo brew, as the
homebrew doc says:

“Homebrew is designed to work without using sudo. You can decide to use
it
but we strongly recommend not to do so. If you have used sudo and run
into a
bug then it is likely to be the cause. Please dont file a bug report
unless
you can reproduce it after reinstalling Homebrew from scratch without
using
sudo”

YMMV

2011/5/27 Ryan D. [email protected]

Hi Ryan,

On 27.05.2011 03:35, Ryan D. wrote:

graph version 2.1.0 has been released!
*http://rubyforge.org/projects/seattlerb

Do you consider this a good starting/entry point to graph 2.1.0?

I have to click through

– Your link [http://rubyforge.org/projects/seattlerb]
– Project Homepage [http://seattlerb.rubyforge.org/]
– graph RDoc [http://seattlerb.rubyforge.org/graph]
– Graph [http://seattlerb.rubyforge.org/graph/Graph.html]

to get to what I would call the project home page. Is there a quicker
way that I missed?

Furthermore, your entry link shows outdated news – at least for graph
which is still at 1.2.0 as of this page – and I cannot find graph to be
part of
the linked Subversion tree [http://seattlerb.rubyforge.org/svn/].

Please consider that as constructive feedback from someone who just
tried to sneak into the package. :slight_smile:

– Matthias

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