lib/lolcommits/plugin/lol_yammer.rb in lolcommits-0.9.3 vs lib/lolcommits/plugin/lol_yammer.rb in lolcommits-0.9.4.pre1
- old
+ new
@@ -13,11 +13,11 @@
def self.name
'yammer'
end
def self.runner_order
- :postcapture
+ :captureready
end
def configured?
!configuration['access_token'].nil?
end
@@ -51,10 +51,10 @@
options.merge!(auth_config)
end
options
end
- def run_postcapture
+ def run_captureready
commit_msg = runner.message
post = "#{commit_msg} #lolcommits"
puts "Yammer post: #{post}" unless runner.capture_stealth
Yammer.configure do |c|