henry-container 0.0.40 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/henry/container/version.rb +1 -1
- data/lib/henry/task/rspec_task.rb +2 -2
- metadata +1 -1
@@ -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
|