Class: KnifeSpork::Plugins::StatusNet
- Inherits:
-
Plugin
- Object
- Plugin
- KnifeSpork::Plugins::StatusNet
show all
- Defined in:
- lib/knife-spork/plugins/statusnet.rb
Instance Method Summary
collapse
Methods inherited from Plugin
#enabled?, hook, hooks, #initialize, name
Instance Method Details
14
15
16
|
# File 'lib/knife-spork/plugins/statusnet.rb', line 14
def after_promote_remote
statusnet "#{organization}#{current_user} promoted the following cookbooks:\n#{cookbooks.collect{ |c| " #{c.name}@#{c.version}" }.join("\n")} to #{environments.collect{ |e| "#{e.name}" }.join(", ")}"
end
|
#after_upload ⇒ Object
10
11
12
|
# File 'lib/knife-spork/plugins/statusnet.rb', line 10
def after_upload
statusnet "#{organization}#{current_user} uploaded the following cookbooks:\n#{cookbooks.collect{ |c| " #{c.name}@#{c.version}" }.join("\n")}"
end
|
8
|
# File 'lib/knife-spork/plugins/statusnet.rb', line 8
def perform; end
|