henry-container 0.1.49 → 0.1.50
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 +2 -1
- data/lib/henry/task/cucumber_task.rb +1 -1
- data/lib/henry/task/minitest_task.rb +1 -1
- data/lib/henry/task/rspec_task.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f05fd4b532ac47751906ba9b950a6f49d94d53a5
|
4
|
+
data.tar.gz: 6586221066d7638def8ee4d2bb1f312ce9d6d654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c921b541c7b22d3a86219fb20276df14f58a28e4995ea1f8b02c2435e2311b44187a1061cd1087589b60295af73014c38c9272572035fb83462a1aabe493914
|
7
|
+
data.tar.gz: 427b6843a773376df7bcfb92986ce5a759fdb1682c7bc6366b9ca4d7510206f97e398ff6366db0b1c023a6db408cf7fd4fd3d753498eade16659a69e513334d7
|
data/lib/henry/environment.rb
CHANGED
@@ -16,7 +16,7 @@ module Henry
|
|
16
16
|
# The path to the default file export directory
|
17
17
|
#
|
18
18
|
# @return [String]
|
19
|
-
DEFAULT_OUTPUT_DIRECTORY = "
|
19
|
+
DEFAULT_OUTPUT_DIRECTORY = ".output"
|
20
20
|
|
21
21
|
def self.config
|
22
22
|
@@config ||= Henry::Config.import!.params
|
@@ -41,6 +41,7 @@ module Henry
|
|
41
41
|
#
|
42
42
|
# @param [String] path the path of the file to be exported.
|
43
43
|
def self.export_file(path)
|
44
|
+
FileUtils.mkdir_p(Henry::Environment.output_path)
|
44
45
|
FileUtils.copy_file(path, "#{Henry::Environment.output_path}/#{File.basename(path)}")
|
45
46
|
end
|
46
47
|
|