Seattle.rb: November 2006 Archives

ruby2ruby 1.1.1 Released

| | Comments (0)

ruby2ruby version 1.1.1 has been released!

http://seattlerb.rubyforge.org/
http://rubyforge.org/projects/seattlerb

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.1.1 / 2006-11-13

  • 3 bug fixes
    • Fixed procs
    • Cleaned return when no return values.
    • Rewrote process_if. No more elsif but no more bugs. :)

http://seattlerb.rubyforge.org/
http://rubyforge.org/projects/seattlerb

hoe 1.1.4 Released

| | Comments (0)

hoe version 1.1.4 has been released!

sudo gem install hoe

http://rubyforge.org/projects/seattlerb/
http://seattlerb.rubyforge.org/hoe/

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 - Generate email announcement file and post to rubyforge.
  • audit - Run ZenTest against the package
  • check_manifest - Verify the manifest
  • clean - Clean up all the extras
  • debug_gem - Show information about the gem.
  • default - Run the default tasks
  • docs - Build the docs HTML Files
  • email - Generate email announcement file.
  • install - Install the package. Uses PREFIX and RUBYLIB
  • install_gem - Install the package as a gem
  • multi - Run the test suite using multiruby
  • package - Build all the packages
  • 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. Use FILTER to add to the command line.
  • test_deps - Show which test files fail when run alone.
  • uninstall - Uninstall the package.

See class rdoc for help. Hint: ri Hoe

Changes:

= 1.1.4 2006-11-12

  • Added needtar and needzip to customize package requirements. Stupid windoze.
  • Extended spec_extras to take procs as values. Passes in named parameter.
  • Removed test from require_paths. I thought I already parameterized this. :/

http://rubyforge.org/projects/seattlerb/
http://seattlerb.rubyforge.org/hoe/

hoe 1.1.3 Released

| | Comments (0)

Hoe version 1.1.3 has been released! Now you can test your missing test dependencies for free! Switch to hoe and patch up those tests (and make autotest happy with your tests again)!

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 - Generate email announcement file and post to rubyforge.
  • audit - Run ZenTest against the package
  • check_manifest - Verify the manifest
  • clean - Clean up all the extras
  • debug_gem - Show information about the gem.
  • default - Run the default tasks
  • docs - Build the docs HTML Files
  • email - Generate email announcement file.
  • install - Install the package. Uses PREFIX and RUBYLIB
  • install_gem - Install the package as a gem
  • multi - Run the test suite using multiruby
  • package - Build all the packages
  • 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. Use FILTER to add to the command line.
  • test_deps - Show which test files fail when run alone.
  • uninstall - Uninstall the package.

See class rdoc for help. Hint: ri Hoe

Changes:

1.1.3 2006-11-09

  • Added test_deps, now you can automatically discover test dependency ommisions.
  • Added ext support! Build C extensions with hoe!
  • Gemspec uses testall.rb or result of testglobs. Tweak those tests.
  • Now uses https to login to rubyforge. Rubyforge crackers beware!
  • Fixed doco and automated updating of it.
  • Added rdoc_pattern. Go doco go!

rake passes but autotest fails?

| | Comments (2)

Fix Your Dependencies!!!

Yipstar finally provided me a producible test case for the situation a number of people have told me about but couldn't boil down. The whole thing is so dead simple. That is why I think I missed it this whole time:

rake:

ruby -e "require 'test_a'; require 'test_b'; ..."

autotest:

ruby -e "...; require 'test_b'; require 'test_a'"

If your tests break by simply changing the order in which they load then you have dependency issues! Every single test file you have should be able to run independently of all others (which is a damn powerful tool to have in combination with -n "/regex/").

(As an aside, I worked with yipstar and we got his tests all patched up and autotest still had a problem because it uses load, not require... no clue... Eric and I are going to look into that tomorrow)

Some of you will want me to "fix autotest"... BAH! Autotest isn't broken! Your tests are! I will add another task to Hoe that will help point out all test files that don't pass independently so you can go and patch up your tests.

% rake test_deps
Dependency Issues: test/test_a.rb
Dependency Issues: test/test_c.rb
...

We should have a release later today for both ZenTest and Hoe with new testy goodness.

About this Archive

This page is a archive of entries in the Seattle.rb category from November 2006.

Seattle.rb: October 2006 is the previous archive.

Seattle.rb: December 2006 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