henry-container 0.1.23 → 0.1.24

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = '0.1.23'
6
+ VERSION = '0.1.24'
7
7
 
8
8
  end
9
9
 
@@ -33,7 +33,7 @@ module Henry
33
33
  end
34
34
 
35
35
  def after_execute
36
- if !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?
36
+ if self.execution.code != 'OK' && !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?
37
37
  tgz_path = ".henry/#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz"
38
38
 
39
39
  `tar czf "#{tgz_path}" "#{self.generated_reports.join('" "')}"`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: henry-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-15 00:00:00.000000000 Z
12
+ date: 2013-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake