March 2010 Archives

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, mac ports, and freebsd ports, coloring leaf nodes blue, outdated nodes red, and outdated leaf nodes purple (red+blue).

Changes:

1.2.0 / 2010-03-30

  • 10 minor enhancements:

    • Added rake_analyzer.rb to help visualize rake dependencies. YAY!
    • Added #boxes to convert all nodes to boxes.
    • Added #global_attrib to set attribs on all nodes.
    • Added #nodes to return all nodes (even if not part of from-edge).
    • Added #normalize to remove duplicate edges.
    • Added #orient to set graph orientation.
    • Added #rotate as LR alias to #orient.
    • Added full rdoc for Graph.
    • Switched to minitest.
    • Updated Hoe setup.
  • 2 bug fixes:

    • Fixed inherited #clear to ensure ivars cleared as well.
    • Fixed scanner to work with new macports deps output
  • http://rubyforge.org/projects/seattlerb

rdoc via Apple's Dictionary.app. Automatically builds and installs an Apple Dictionary with all rdoc nicely formatted.

Inspired by: http://priithaamer.com/blog/ruby-on-rails-dictionary-for-macosx

Changes:

1.3.1 / 2010-03-30

"Sings" a gem's implementation.

Changes:

1.2.1 / 2010-03-30

ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby.

ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit. Nobody uses this tool anymore but it is the package namesake, so it stays.

unit_diff is a command-line filter to diff expected results from actual results and allow you to quickly see exactly what is wrong.

autotest is a continous testing facility meant to be used during development. As soon as you save a file, autotest will run the corresponding dependent tests.

multiruby runs anything you want on multiple versions of ruby. Great for compatibility checking! Use multiruby_setup to manage your installed versions.

Changes:

4.3.1 / 2010-03-30

ParseTree is a C extension (using RubyInline) that extracts the parse tree for an entire class or a specific method and returns it as a s-expression (aka sexp) using ruby's arrays, strings, symbols, and integers.

As an example:

def conditional1(arg1) if arg1 == 0 then return 1 end return 0 end

becomes:

[:defn, :conditional1, [:scope, [:block, [:args, :arg1], [:if, [:call, [:lvar, :arg1], :==, [:array, [:lit, 0]]], [:return, [:lit, 1]], nil], [:return, [:lit, 0]]]]]

Changes:

3.0.5 / 2010-03-27

sexp_processor branches from ParseTree bringing all the generic sexp processing tools with it. Sexp, SexpProcessor, Environment, etc... all for your language processing pleasure.

Changes:

3.0.4 / 2010-03-27

minitesttushim bridges the gap between the small and fast minitest and ruby's huge and slow test/unit.

Changes:

1.3.2 / 2010-03-27

minitest/unit is a small and fast replacement for ruby's huge and slow test/unit. This is meant to be clean and easy to use both as a regular test writer and for language implementors that need a minimal set of methods to bootstrap a working unit test suite.

mini/spec is a functionally complete spec engine.

mini/mock, by Steven Baker, is a beautifully tiny mock object framework.

(This package was called miniunit once upon a time)

Changes:

1.6.0 / 2010-03-27

  • 10 minor enhancements:

    • Added --seed argument so you can reproduce a random order for debugging.
    • Added documentation for assertions
    • Added more rdoc and tons of :nodoc:
    • Added output to give you all the options you need to reproduce that run.
    • Added proper argument parsing to minitest.
    • Added unique serial # to spec names so order can be preserved (needs tests). (phrogz)
    • Empty 'it' fails with default msg. (phrogz)
    • Remove previous method on expect to remove 1.9 warnings
    • Spec#it is now order-proof wrt subclasses/nested describes.
    • assert_same error message now reports in decimal, eg: oid=123. (mattkent)
  • 2 bug fixes:

    • Fixed message on refutesame to be consistent with assertsame.
    • Fixed method randomization to be stable for testing.
  • http://rubyforge.org/projects/bfts

ZenTest provides 4 different tools: zentest, unit_diff, autotest, and multiruby.

ZenTest scans your target and unit-test code and writes your missing code based on simple naming rules, enabling XP at a much quicker pace. ZenTest only works with Ruby and Test::Unit. Nobody uses this tool anymore but it is the package namesake, so it stays.

unit_diff is a command-line filter to diff expected results from actual results and allow you to quickly see exactly what is wrong.

autotest is a continous testing facility meant to be used during development. As soon as you save a file, autotest will run the corresponding dependent tests.

multiruby runs anything you want on multiple versions of ruby. Great for compatibility checking! Use multiruby_setup to manage your installed versions.

Changes:

4.3.0 / 2010-03-27

Hoe is a rake/rubygems helper for project Rakefiles. It helps you manage and maintain, and release your project and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

See class rdoc for help. Hint: ri Hoe or any of the plugins listed below.

For extra goodness, see: http://seattlerb.rubyforge.org/hoe/Hoe.pdf

Changes:

2.6.0 / 2010-03-27

About this Archive

This page is an archive of entries from March 2010 listed from newest to oldest.

February 2010 is the previous archive.

May 2010 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en