Ruby: March 2008 Archives

Test::Unit (Classic) - Nathaniel Talbott's originial test-unit, externalized from the ruby project as a gem (for tool developers).

Changes:

1.2.3 / 2008-02-25

Ruby Inline is an analog to Perl's Inline::C. Out of the box, it allows you to embed C/++ external module code in your ruby script directly. By writing simple builder classes, you can teach how to cope with new languages (fortran, perl, whatever). The code is compiled and run on the fly when needed.

Using the package_inline tool Inline allows you to package up your inlined object code for distribution to systems without a compiler.

Changes:

3.6.7 / 2008-03-20

ZenTest provides 4 different tools and 1 library: zentest, unit_diff, autotest, multiruby, and Test::Rails.

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.

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!

Test::Rails helps you build industrial-strength Rails code.

Changes:

3.9.2 / 2008-03-20

  • 4 minor enhancements:

    • Added compatibility with miniunit differences.
    • Added emailnotify, jabbernotify, and rcov autotest plugins.
    • Updated rakefile to include examples automatically in exampledotautotest.
    • multiruby now outputs each command so you can grab it easily.
  • 5 bug fixes:

    • Ensure tests are run after reset.
    • Fixed all test/rails tests to run in any combo.
    • Fixed up growl.rb a bit... still buggy (growlnotify, not growl.rb).
    • Fixes for -f (fast start) and last_mtime in general.
    • Fixes for 1.9 and rubinius
  • http://www.zenspider.com/ZSS/Products/ZenTest/

  • http://rubyforge.org/projects/zentest/
  • ryand-ruby@zenspider.com

A script which automates a limited set of rubyforge operations.

  • Run 'rubyforge help' for complete usage.
  • Setup: For first time users AND upgrades to 0.4.0:
    • rubyforge setup (deletes your username and password, so run sparingly!)
    • edit ~/.rubyforge/user-config.yml
    • rubyforge config
  • For all rubyforge upgrades, run 'rubyforge config' to ensure you have latest.
  • Don't forget to login! logging in will store a cookie in your .rubyforge directory which expires after a time. always run the login command before any operation that requires authentication, such as uploading a package.

Changes:

0.4.5 / 2008-03-11:

One Line Multi-Stage Deployment for Vlad:

Kernel.load "config/deploy_#{ENV['to']}.rb" if ENV['to']

Making this elegant line possible:

% rake vlad:deploy to=qa

Coming Soon™ to a Vlad near you!

Current Status Report

| | Comments (0)
I'm gonna try to keep pushing on this stuff and keep an status report up to date.
 1.8.41.8.51.8.6-p1111.9.0-0rubinius
rubyforgepassedpassedpassedpassedn/a
hoepassedpassedpassedfailedfailed
ZenTestpassedpassedpassedfailedfailed
miniunitpassedpassedpassedfailedfailed
ruby_parserpassedpassedpassedfailedfailed
RubyInlinepassedpassedpassedpassedfailed
ParseTreefailedfailedpassedn/an/a
ruby2rubypassedpassedpassedfailedfailed
hecklefailedfailedpassedfailedfailed

Generated 2008-03-04 22:49

Hoe is a simple rake/rubygems helper for project Rakefiles. It generates all the usual tasks for projects including rdoc generation, testing, packaging, and deployment.

Tasks Provided:

  • announce - Create news email file and post to rubyforge.
  • audit - Run ZenTest against the package.
  • check_manifest - Verify the manifest.
  • clean - Clean up all the extras.
  • config_hoe - Create a fresh ~/.hoerc file.
  • debug_gem - Show information about the gem.
  • default - Run the default tasks.
  • docs - Build the docs HTML Files
  • email - Generate email announcement file.
  • gem - Build the gem file hoe-1.5.0.gem
  • generate_key - Generate a key for signing your gems.
  • install_gem - Install the package as a gem.
  • multi - Run the test suite using multiruby.
  • package - Build all the packages
  • post_blog - Post announcement to blog.
  • post_news - Post announcement to rubyforge.
  • publish_docs - Publish RDoc to RubyForge.
  • release - Package and upload the release to rubyforge.
  • ridocs - Generate ri locally for testing.
  • test - Run the test suite.
  • test_deps - Show which test files fail when run alone.

See class rdoc for help. Hint: ri Hoe

Changes:

1.5.1 / 2008-03-04

  • 2 Minor Enhancements:

    • Removed install/uninstall tasks. Too buggy. Gems do a better job.
    • Added cleaning of rbc files to default list
  • 5 Bug Fixes:

    • Correctly deal with errors intuiting history and readme files. Thanks Aaron!
    • Fixed rdoc title. Thanks, Sander!
    • Fixed sow to match new Rakefile and History format. Thanks, me!
    • Moved test/unit to the front for rake test. Fixes use of miniunit.
    • Renamed shadowed variable.
  • http://rubyforge.org/projects/seattlerb/

  • http://seattlerb.rubyforge.org/hoe/
  • ryand-ruby@zenspider.com

About this Archive

This page is a archive of entries in the Ruby category from March 2008.

Ruby: February 2008 is the previous archive.

Ruby: April 2008 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.1