henry-container 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = '0.0.13'
6
+ VERSION = '0.0.14'
7
7
 
8
8
  end
9
9
 
@@ -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"]}#{@opts[:in]}"
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"]}#{@opts[:out]}"
60
+ "#{@opts[:"out-dir"]}/#{@opts[:out]}"
61
61
  end
62
62
 
63
63
  # Executes required validations before execution.
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.0.13
4
+ version: 0.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: