This removes the dependency on ActiveSupport. It won't affect any existing projects, but will be helpful to any non Rails projects which want to avoid adding ActiveSupport. (I'm in this situation myself, and prefer clockwork over similar tools)
Also, I had issues running the tests locally; changing require 'mocha/setup' to require 'mocha' and moving it above require 'mini_test/autorun'/require 'test/unit' seemed to fix it. Travis appears to be working fine though, so I didn't want to commit anything related to that.
This removes the dependency on ActiveSupport. It won't affect any existing projects, but will be helpful to any non Rails projects which want to avoid adding ActiveSupport. (I'm in this situation myself, and prefer clockwork over similar tools)
Also, I had issues running the tests locally; changing
require 'mocha/setup'
torequire 'mocha'
and moving it aboverequire 'mini_test/autorun'
/require 'test/unit'
seemed to fix it. Travis appears to be working fine though, so I didn't want to commit anything related to that.