update shoulda assertions.
Commit a Gemfile for sanity's sake.
Require pry and update mocha require statement.
weaken some constraints for testing purposes.
Turn named scopes into scopes and update before validation hook.
Update test fixture generation and job cleanup test.
Fix (most) tests for Ruby 2.0
Fix test_command_line
require rest_client.
Edited gemspec and version bump
Use TEST env var to run single test

Because sometimes one test is all you can handle.
Upgrade models to Rails > 3 query syntax
Remove gems from Gemfile that are in gemspec

No reason to duplicate them, the gemspec would have priority anyway since
it appears later in the file
Use newer style find_or_create method
Node must call super() to initialize Sinatra::Base

If it doesn't then Sinatra::Base never initializes the template_cache,
causing undefined variable exceptions later in it's life-cycle
ActiveSupport no longer has SecureRandom

It's part of the Ruby stdlib in 1.9
Reserved scope must be array before manipulation

Otherwise calling delete on it will perform a delete in the database.
Under ActiveRecord 2.3, records returned from a scope where array-like and a delete just removed
them from the in-memory representation, not the DB.  Under newer
ActiveRecord, it's an association so delete also performs a DB delete.
Add current directory to LOAD_PATH

If actions are not an absolute path then they need to be loaded from the
current directory.

An alternate method would be to convert relative action paths to absolute.
Set $LOAD_PATH to action_paths

This way the actions can be required by using their basename
Convert name to string before using as a Hash key