henry-container 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/henry-ruby-container +2 -2
- data/lib/henry/container/version.rb +1 -1
- data/lib/henry/container.rb +2 -2
- metadata +1 -1
data/bin/henry-ruby-container
CHANGED
@@ -16,9 +16,9 @@ where [options] are:
|
|
16
16
|
BANNER
|
17
17
|
|
18
18
|
opt :out, "Custom name for the results file.", :default => 'out.henry'
|
19
|
-
opt :"out-dir", "Custom dir path where the results will be written", :default => '
|
19
|
+
opt :"out-dir", "Custom dir path where the results will be written", :default => '.'
|
20
20
|
opt :in, "Custom name for the input file.", :default => 'in.henry'
|
21
|
-
opt :"in-dir", "Custom dir path where the input will be read from.", :default => '
|
21
|
+
opt :"in-dir", "Custom dir path where the input will be read from.", :default => '.'
|
22
22
|
end
|
23
23
|
|
24
24
|
Henry::Container.new(opts).execute
|
data/lib/henry/container.rb
CHANGED
@@ -50,14 +50,14 @@ module Henry
|
|
50
50
|
#
|
51
51
|
# @return [String] the input file path.
|
52
52
|
def input_file_path
|
53
|
-
"#{@opts[:"in-dir"]}
|
53
|
+
"#{@opts[:"in-dir"]}/#{@opts[:in]}"
|
54
54
|
end
|
55
55
|
|
56
56
|
# Returns the output file path based on the given options.
|
57
57
|
#
|
58
58
|
# @return [String] the output file path.
|
59
59
|
def output_file_path
|
60
|
-
"#{@opts[:"out-dir"]}
|
60
|
+
"#{@opts[:"out-dir"]}/#{@opts[:out]}"
|
61
61
|
end
|
62
62
|
|
63
63
|
# Executes required validations before execution.
|