lib/cinch/plugins/octospy/job.rb in octospy-0.0.5 vs lib/cinch/plugins/octospy/job.rb in octospy-0.0.6
- old
+ new
@@ -4,12 +4,12 @@
module Plugins
class Octospy
module Job
def self.included(base)
base.class_eval do
- match('job start', method: :start_with_message)
- match('job stop', method: :stop_with_message)
- match('job restart', method: :restart_with_message)
+ match('start', method: :start_with_message)
+ match('stop', method: :stop_with_message)
+ match('restart', method: :restart_with_message)
end
Channel.class_eval do
attr_accessor :job_thread, :last_github_event_id