bin/clockwork in clockwork-0.3.1 vs bin/clockwork in clockwork-0.3.2
- old
+ new
@@ -1,11 +1,10 @@
#!/usr/bin/env ruby
STDERR.sync = STDOUT.sync = true
require File.expand_path('../../lib/clockwork', __FILE__)
-include Clockwork
usage = "clockwork <clock.rb>"
file = ARGV.shift or abort usage
file = "./#{file}" unless file.match(/^[\/.]/)
@@ -15,6 +14,6 @@
trap('INT') do
puts "\rExiting"
exit
end
-run
+Clockwork::run