henry-container 0.1.20 → 0.1.22

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.20'
6
+ VERSION = '0.1.22'
7
7
 
8
8
  end
9
9
 
@@ -36,11 +36,11 @@ module Henry
36
36
  if !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?
37
37
  tgz_path = ".henry/#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz"
38
38
 
39
- `tar czf #{tgz_path} #{self.generated_reports.join(' ')}`
39
+ `tar czf "#{tgz_path}" "#{self.generated_reports.join('" "')}"`
40
40
 
41
41
  Henry::EmailClient.send_file(tgz_path, self.report_recipients.uniq, "[Henry Reports] #{self.name}")
42
42
 
43
- `rm #{tgz_path}`
43
+ `rm "#{tgz_path}"`
44
44
  end
45
45
 
46
46
  super
@@ -36,11 +36,11 @@ module Henry
36
36
  if !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?
37
37
  tgz_path = ".henry/#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz"
38
38
 
39
- `tar czf #{tgz_path} #{self.generated_reports.join(' ')}`
39
+ `tar czf "#{tgz_path}" "#{self.generated_reports.join('" "')}"`
40
40
 
41
41
  Henry::EmailClient.send_file(tgz_path, self.report_recipients.uniq, "[Henry Reports] #{self.name}")
42
42
 
43
- `rm #{tgz_path}`
43
+ `rm "#{tgz_path}"`
44
44
  end
45
45
 
46
46
  super
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.20
4
+ version: 0.1.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: