henry-container 0.1.61 → 0.1.62
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/henry/container/version.rb +1 -1
- data/lib/henry/environment.rb +1 -1
- data/lib/henry/task/cucumber_task.rb +0 -10
- data/lib/henry/task/rspec_task.rb +0 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0c670917b15031bc9ce8cc1c6b8a93efe031e2c
|
4
|
+
data.tar.gz: 41cfaace0d91ce1f95c28c1b54382ec92eb24b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 979765689077cda12673c1b857c339508581b26cb160d91f539f5f149c51869744299a4d7bdff9ac50d55c219f4023a44b9549cb5598b803838353a8ad448ace
|
7
|
+
data.tar.gz: 1253b356e08dbd1729a8f8fe4e3a014375c995524e95db8a81c7ba5e7b043e3798111a15966f3e968411b969047592b0775853378065b5cee5069695db9d608b
|
data/lib/henry/environment.rb
CHANGED
@@ -49,7 +49,7 @@ module Henry
|
|
49
49
|
#
|
50
50
|
# @param [String] the attachments path.
|
51
51
|
def self.output_path
|
52
|
-
"#{Henry::Environment.config['output_directory']}/output" || DEFAULT_OUTPUT_DIRECTORY
|
52
|
+
File.path("#{Henry::Environment.config['output_directory']}/output" || DEFAULT_OUTPUT_DIRECTORY)
|
53
53
|
end
|
54
54
|
|
55
55
|
end
|
@@ -44,16 +44,6 @@ module Henry
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def after_execute
|
47
|
-
if self.execution.code != 'OK' && !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?
|
48
|
-
tgz_path = "#{self.base_output_path}/#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz"
|
49
|
-
|
50
|
-
`tar czf "#{tgz_path}" "#{self.generated_reports.join('" "')}"`
|
51
|
-
|
52
|
-
Henry::EmailClient.send_file(tgz_path, self.report_recipients.uniq, "[Henry Reports] #{self.name}")
|
53
|
-
|
54
|
-
`rm "#{tgz_path}"`
|
55
|
-
end
|
56
|
-
|
57
47
|
super
|
58
48
|
end
|
59
49
|
|
@@ -36,16 +36,6 @@ module Henry
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def after_execute
|
39
|
-
if !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?
|
40
|
-
tgz_path = "#{self.base_output_path}/#{DateTime.now.strftime(TIME_FORMAT)}_#{self.name}.tgz"
|
41
|
-
|
42
|
-
`tar czf "#{tgz_path}" "#{self.generated_reports.join('" "')}"`
|
43
|
-
|
44
|
-
Henry::EmailClient.send_file(tgz_path, self.report_recipients.uniq, "[Henry Reports] #{self.name}")
|
45
|
-
|
46
|
-
`rm "#{tgz_path}"`
|
47
|
-
end
|
48
|
-
|
49
39
|
super
|
50
40
|
end
|
51
41
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: henry-container
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.62
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Decurnex
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|