🕷 software releases

by ryan davis



sitemap

ParseTree 1.6.3, RubyToRuby 1.1.3, and Heckle 1.1.1 Released

Published 2006-12-20 @ 15:05

Three releases today:

sudo gem install -y heckle

Also coming soon: a post on how heckle beats the crap out misleading metrics like coverage.

ParseTree version 1.6.3

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.

Changes:

  • 1 bug fix:
    • ParseTree::translate was trying to translate inherited class methods.

ruby2ruby version 1.1.3

ruby2ruby provides a means of generating pure ruby code easily from ParseTree’s Sexps. This makes making dynamic language processors much easier in ruby than ever before.

Changes:

  • 1 minor enhancement
    • Unit tests do self-translation and retesting for 3 generations! Solid. BAM!
  • 1 bug fixes
    • iasgn inside masgn was totally borked in ruby2ruby.

heckle version 1.1.1

Heckle is a mutation tester. It modifies your code and runs your tests to make sure they fail. The idea is that if code can be changed and your tests don’t notice, either that code isn’t being covered or it doesn’t do anything.

Changes:

  • 3 bug fixes:
    • Load tests properly when supplying method name.
    • Make sure random symbols have at least one character.
    • Removed all extra warnings from the unit tests. Consolidated and cleaned.