henry-container 0.0.40 → 0.0.41

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.
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = '0.0.40'
6
+ VERSION = '0.0.41'
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(/\${[AZ_]}/, '${TASK_NAME}' => self.name, '${DATE}' => DateTime.now.to_s)
94
+ file_name.gsub(/\${[AZ_]+}/, '${TASK_NAME}' => self.name, '${DATE}' => DateTime.now.to_s)
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(/\${[AZ_]}/, '${FORMAT}' => format)
102
+ REPORTS_DIR.gsub(/\${[AZ_]+}/, '${FORMAT}' => format)
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.40
4
+ version: 0.0.41
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: