rebuy_deployment 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rebuy_deployment/deploy.rb +5 -1
  2. metadata +3 -1
@@ -129,7 +129,11 @@ namespace :deploy do
129
129
  end
130
130
 
131
131
  task :notify_campfire, :on_error => :continue do
132
- campfire_room.paste get_git_log if exists? :campfire_options
132
+ if campfire_options[:account] && campfire_options[:room] && campfire_options[:token]
133
+ campfire_room.paste get_git_log :campfire_options
134
+ else
135
+ logger.info "Skipping message to campfire because insufficient options given."
136
+ end
133
137
  end
134
138
 
135
139
  # Mail.defaults has to be configured in order for this task to work properly
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebuy_deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Roetgers
9
9
  - Daniel Freudenberger
10
+ - Ullrich Pfefferlein
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
@@ -102,6 +103,7 @@ description: This gem offers deployment for all rebuy.de projects
102
103
  email:
103
104
  - m.roetgers@rebuy.de
104
105
  - df@rebuy.de
106
+ - u.pfefferlein@rebuy.de
105
107
  executables: []
106
108
  extensions: []
107
109
  extra_rdoc_files: []