henry-container 0.0.43 → 0.0.44

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.0.43'
6
+ VERSION = '0.0.44'
7
7
 
8
8
  end
9
9
 
@@ -91,7 +91,7 @@ module Henry
91
91
  # @param [String] file_name the report file name.
92
92
  # @returns [String] the report file name.
93
93
  def report_file_name(file_name)
94
- file_name.gsub(/\${[A-Z_]+}/, '${TASK_NAME}' => self.name, '${DATE}' => DateTime.now.to_s)
94
+ file_name.gsub(/\${[A-Z_]+}/, '${TASK_NAME}' => self.name, '${DATE}' => DateTime.now.to_s).gsub(' ', '_')
95
95
  end
96
96
 
97
97
  # Interpolates and returns the reports directory for the given format.
@@ -99,7 +99,7 @@ module Henry
99
99
  # @param [String] format the formatter name.
100
100
  # @return [Stiring] the reports directory.
101
101
  def reports_dir(format)
102
- REPORTS_DIR.gsub(/\${[A-Z_]+}/, '${FORMAT}' => format)
102
+ REPORTS_DIR.gsub(/\${[A-Z_]+}/, '${FORMAT}' => format).gsub(' ', '_')
103
103
  end
104
104
 
105
105
  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.0.43
4
+ version: 0.0.44
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: