Skip to content

Commit

Permalink
Formatting fix, changelog and gemspec for 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Cowie committed Feb 26, 2015
1 parent 090724b commit 6c539f0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.5.1(26th February, 2015)

Bugfixes:

- Fix 'undefined local variable' error in Hipchat plugin (Thanks to @danieleva https://github.com/jonlives/knife-spork/pull/177)


## 1.5.0(30th January, 2015)

Features:
Expand Down
2 changes: 1 addition & 1 deletion knife-spork.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)

Gem::Specification.new do |gem|
gem.name = 'knife-spork'
gem.version = '1.5.0'
gem.version = '1.5.1'
gem.authors = ["Jon Cowie"]
gem.email = 'jonlives@gmail.com'
gem.homepage = 'https://github.com/jonlives/knife-spork'
Expand Down
10 changes: 5 additions & 5 deletions lib/knife-spork/plugins/hipchat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def after_upload
end

def after_promote_remote
environments.each do |environment|
diff = environment_diffs[environment.name]
env_gist = env_gist(environment, diff) if config.gist
hipchat "#{organization}#{current_user} promoted the following cookbooks:\n#{cookbooks.collect{ |c| " #{c.name}@#{c.version}" }.join("\n")} to #{environment} #{env_gist}"
end
environments.each do |environment|
diff = environment_diffs[environment.name]
env_gist = env_gist(environment, diff) if config.gist
hipchat "#{organization}#{current_user} promoted the following cookbooks:\n#{cookbooks.collect{ |c| " #{c.name}@#{c.version}" }.join("\n")} to #{environment} #{env_gist}"
end
end

def after_environmentfromfile
Expand Down

0 comments on commit 6c539f0

Please sign in to comment.