pretty_face 0.8.2 → 0.9
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.
- checksums.yaml +4 -4
- data/ChangeLog +6 -4
- data/features/feature_pages.feature +5 -0
- data/fixtures/onemore/deep/more.feature +8 -0
- data/fixtures/onemore/more.feature +8 -0
- data/lib/pretty_face/formatter/html.rb +2 -2
- data/lib/pretty_face/formatter/report.rb +2 -0
- data/lib/pretty_face/templates/feature.erb +1 -1
- data/lib/pretty_face/templates/main.erb +1 -1
- data/lib/pretty_face/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0416c6439549ce94e753d287ff97b3fac83ab74a
|
4
|
+
data.tar.gz: ab763d25e47d948dbcc78da465603650ff3752df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8894c1b533efb55a481ed57772a6958607280d7fc8b7cf9bd0d02d94a38d2b277c1a23debaed0d82dc8071fe6fc14752ec6bfdaece28888e25c686fee69d4fd0
|
7
|
+
data.tar.gz: 1dedbfaf4ba5c38573ec882c0a06bebcc799272aacf018c3346dbb3660f287f03221ecb359a0f993c0e34854f8b1deb9b83b0303a4be6b3d0648994c4e44741a
|
data/ChangeLog
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
=== Release 0.
|
2
|
-
*
|
1
|
+
=== Release 0.9 / 2013-9-4
|
2
|
+
* Support for utf-8 (Thanks Eugene Batogov)
|
3
|
+
* Fixed error when multiple nested directories
|
3
4
|
|
4
|
-
=== Release 0.8.
|
5
|
-
*
|
5
|
+
=== Release 0.8.2 / 2013-8-16
|
6
|
+
* More issues fixed with Windows
|
6
7
|
|
7
8
|
=== Release 0.8.1 / 2013-8-11
|
9
|
+
* Fixing issues with windows paths
|
8
10
|
* Fixed issue with back link not working when page is nested in directory
|
9
11
|
|
10
12
|
=== Release 0.8 / 2013-8-8
|
@@ -94,6 +94,11 @@ Feature: pages that show details for features
|
|
94
94
|
Then the following files should exist:
|
95
95
|
| results/more/more.html |
|
96
96
|
|
97
|
+
Scenario: Should create a directory for each directory under features
|
98
|
+
Then the following files should exist:
|
99
|
+
| results/onemore/more.html |
|
100
|
+
| results/onemore/deep/more.html |
|
101
|
+
|
97
102
|
Scenario: It should replace the header for the feature pages
|
98
103
|
When I have a feature header partial in the correct location
|
99
104
|
And I run `cucumber fixtures --profile fixture`
|
@@ -164,7 +164,7 @@ module PrettyFace
|
|
164
164
|
output_file = "#{File.dirname(@path)}#{separator}#{feature.file}"
|
165
165
|
to_cut = output_file.split(separator).last
|
166
166
|
directory = output_file.sub("#{separator}#{to_cut}", '')
|
167
|
-
FileUtils.
|
167
|
+
FileUtils.mkdir_p directory unless File.directory? directory
|
168
168
|
file = File.new(output_file, Cucumber.file_mode('w'))
|
169
169
|
file.puts renderer.render(:file => filename, :locals => {:feature => feature, :logo => @logo, :customize => custom_feature_header?})
|
170
170
|
file.flush
|
@@ -178,7 +178,7 @@ module PrettyFace
|
|
178
178
|
|
179
179
|
def make_directory(dir)
|
180
180
|
path = "#{File.dirname(@path)}#{separator}#{dir}"
|
181
|
-
FileUtils.
|
181
|
+
FileUtils.mkdir_p path unless File.directory? path
|
182
182
|
end
|
183
183
|
|
184
184
|
def copy_directory(dir, file_names, file_extension)
|
data/lib/pretty_face/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pretty_face
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.9'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeffrey S. Morgan
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-
|
15
|
+
date: 2013-09-04 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: actionpack
|
@@ -136,6 +136,8 @@ files:
|
|
136
136
|
- fixtures/basic.feature
|
137
137
|
- fixtures/failing_background.feature
|
138
138
|
- fixtures/more/more.feature
|
139
|
+
- fixtures/onemore/deep/more.feature
|
140
|
+
- fixtures/onemore/more.feature
|
139
141
|
- fixtures/step_definitions/advanced_steps.rb
|
140
142
|
- fixtures/step_definitions/basic_steps.rb
|
141
143
|
- fixtures/support/env.rb
|
@@ -204,6 +206,8 @@ test_files:
|
|
204
206
|
- fixtures/basic.feature
|
205
207
|
- fixtures/failing_background.feature
|
206
208
|
- fixtures/more/more.feature
|
209
|
+
- fixtures/onemore/deep/more.feature
|
210
|
+
- fixtures/onemore/more.feature
|
207
211
|
- fixtures/step_definitions/advanced_steps.rb
|
208
212
|
- fixtures/step_definitions/basic_steps.rb
|
209
213
|
- fixtures/support/env.rb
|