henry-container 0.1.19 → 0.1.20

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.19'
6
+ VERSION = '0.1.20'
7
7
 
8
8
  end
9
9
 
@@ -38,7 +38,7 @@ module Henry
38
38
 
39
39
  `tar czf #{tgz_path} #{self.generated_reports.join(' ')}`
40
40
 
41
- Henry::EmailClient.send_file("#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz", self.report_recipients.uniq, "[Henry Reports] #{self.name}")
41
+ Henry::EmailClient.send_file(tgz_path, self.report_recipients.uniq, "[Henry Reports] #{self.name}")
42
42
 
43
43
  `rm #{tgz_path}`
44
44
  end
@@ -38,7 +38,7 @@ module Henry
38
38
 
39
39
  `tar czf #{tgz_path} #{self.generated_reports.join(' ')}`
40
40
 
41
- Henry::EmailClient.send_file("#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz", self.report_recipients.uniq, "[Henry Reports] #{self.name}")
41
+ Henry::EmailClient.send_file(tgz_path, self.report_recipients.uniq, "[Henry Reports] #{self.name}")
42
42
 
43
43
  `rm #{tgz_path}`
44
44
  end
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.19
4
+ version: 0.1.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: