RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

rwjblue — 5 posts

http://github.com/rjackson

Running Changed Tests  crashruby.com
I just posted a new blog post showing how to use git together with rspec/minitest to run only the new and changed tests for a feature branch.
Running a Minitest Suite  crashruby.com
An article exploring a few different ways to kick off a Minitest suite.
Nice intro to Ruby 2.0's keyword arguments.
singleton_process ensures that a given process (script, rake task, method, etc) is only running once.

Helpful for ensure that scheduled tasks do not overlap if they run longer than the scheduled interval. Uses a locked PID file to prevent issues with PID reuse.
Hippo v0.0.4 has just been published. The library now generates valid X12 5010X222A1 (837) files. Checkout the 837 test for a complete example.