cucumber-pro 0.0.16 → 0.0.17
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/HISTORY.md +4 -0
- data/lib/cucumber/pro/formatter.rb +6 -5
- data/lib/cucumber/pro/version +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de2044d6a9502513bead35d130c9d8de3ef2eb99
|
4
|
+
data.tar.gz: ceba4f432ff8eafd228db643ec3aa4bd493d0ee6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14e555e5b40f689cca34b654647576a71bed5857d04b6d987466d03333967ec78d38b307858c6b9cd3c07332d9104e6cd222c964743c5259777127394486261d
|
7
|
+
data.tar.gz: ee6f3babae84e9254423ee4fd3edc1a72462eaf6feafc0090dcd535fc624920c2d8d55d6ab5b077500e1164556c6dd7ec71675512c7ed5392f394f9da3323495
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [0.0.17](https://github.com/cucumber-ltd/cucumber-pro-ruby/compare/v0.0.16...v0.0.17) (2014-10-02)
|
2
|
+
|
3
|
+
* Another Bugfix for Windows - convert backslash to slash in file paths everywhere.
|
4
|
+
|
1
5
|
## [0.0.16](https://github.com/cucumber-ltd/cucumber-pro-ruby/compare/v0.0.15...v0.0.16) (2014-10-02)
|
2
6
|
|
3
7
|
* Bugfix for Windows - convert backslash to slash in file paths.
|
@@ -14,9 +14,6 @@ module Cucumber
|
|
14
14
|
|
15
15
|
def before_feature(feature)
|
16
16
|
@path = feature.file # we need this because table_row doens't have a file_colon_line
|
17
|
-
if Cucumber::WINDOWS
|
18
|
-
@path = @path.gsub(/\\/, '/')
|
19
|
-
end
|
20
17
|
end
|
21
18
|
|
22
19
|
def before_step_result(*args)
|
@@ -68,7 +65,7 @@ module Cucumber
|
|
68
65
|
|
69
66
|
def send_step_result(path, line, status)
|
70
67
|
@session.send_message({
|
71
|
-
path: path,
|
68
|
+
path: forward_slashify(path),
|
72
69
|
location: line.to_i,
|
73
70
|
mime_type: 'application/vnd.cucumber.test-step-result+json',
|
74
71
|
body: { status: status }
|
@@ -77,13 +74,17 @@ module Cucumber
|
|
77
74
|
|
78
75
|
def send_test_case_result(path, line, status)
|
79
76
|
@session.send_message({
|
80
|
-
path: path,
|
77
|
+
path: forward_slashify(path),
|
81
78
|
location: line.to_i,
|
82
79
|
mime_type: 'application/vnd.cucumber-pro.test-case-result+json',
|
83
80
|
body: { status: status }
|
84
81
|
})
|
85
82
|
end
|
86
83
|
|
84
|
+
def forward_slashify(path)
|
85
|
+
Cucumber::WINDOWS ? path.gsub(/\\/, '/') : path
|
86
|
+
end
|
87
|
+
|
87
88
|
def get_build_number
|
88
89
|
Pro.config.build_number || SecureRandom.hex
|
89
90
|
end
|
data/lib/cucumber/pro/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.17
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Wynne
|
@@ -194,7 +194,7 @@ rubyforge_project:
|
|
194
194
|
rubygems_version: 2.0.14
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
|
-
summary: cucumber-pro-0.0.
|
197
|
+
summary: cucumber-pro-0.0.17
|
198
198
|
test_files:
|
199
199
|
- features/publish_results.feature
|
200
200
|
- features/security.feature
|