cucumber-formatter-dots 1.1.2 → 1.2.0
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/executables/dots-formatter-darwin-386 +0 -0
- data/executables/dots-formatter-darwin-amd64 +0 -0
- data/executables/dots-formatter-freebsd-386 +0 -0
- data/executables/dots-formatter-freebsd-amd64 +0 -0
- data/executables/dots-formatter-freebsd-arm +0 -0
- data/executables/dots-formatter-linux-386 +0 -0
- data/executables/dots-formatter-linux-amd64 +0 -0
- data/executables/dots-formatter-linux-arm +0 -0
- data/executables/dots-formatter-linux-mips +0 -0
- data/executables/dots-formatter-linux-mips64 +0 -0
- data/executables/dots-formatter-linux-mips64le +0 -0
- data/executables/dots-formatter-linux-mipsle +0 -0
- data/executables/dots-formatter-linux-s390x +0 -0
- data/executables/dots-formatter-netbsd-386 +0 -0
- data/executables/dots-formatter-netbsd-amd64 +0 -0
- data/executables/dots-formatter-netbsd-arm +0 -0
- data/executables/dots-formatter-openbsd-386 +0 -0
- data/executables/dots-formatter-openbsd-amd64 +0 -0
- data/executables/dots-formatter-windows-386.exe +0 -0
- data/executables/dots-formatter-windows-amd64.exe +0 -0
- data/lib/cucumber/formatter/dots.rb +5 -8
- metadata +43 -31
- data/dots-formatter-go/dots-formatter-go-darwin-386 +0 -0
- data/dots-formatter-go/dots-formatter-go-darwin-amd64 +0 -0
- data/dots-formatter-go/dots-formatter-go-freebsd-386 +0 -0
- data/dots-formatter-go/dots-formatter-go-freebsd-amd64 +0 -0
- data/dots-formatter-go/dots-formatter-go-freebsd-arm +0 -0
- data/dots-formatter-go/dots-formatter-go-linux-386 +0 -0
- data/dots-formatter-go/dots-formatter-go-linux-amd64 +0 -0
- data/dots-formatter-go/dots-formatter-go-linux-arm +0 -0
- data/dots-formatter-go/dots-formatter-go-linux-mips +0 -2
- data/dots-formatter-go/dots-formatter-go-linux-mips64 +0 -2
- data/dots-formatter-go/dots-formatter-go-linux-mips64le +0 -2
- data/dots-formatter-go/dots-formatter-go-linux-mipsle +0 -2
- data/dots-formatter-go/dots-formatter-go-linux-s390x +0 -2
- data/dots-formatter-go/dots-formatter-go-netbsd-386 +0 -0
- data/dots-formatter-go/dots-formatter-go-netbsd-amd64 +0 -0
- data/dots-formatter-go/dots-formatter-go-netbsd-arm +0 -0
- data/dots-formatter-go/dots-formatter-go-openbsd-386 +0 -0
- data/dots-formatter-go/dots-formatter-go-openbsd-amd64 +0 -0
- data/dots-formatter-go/dots-formatter-go-windows-386.exe +0 -0
- data/dots-formatter-go/dots-formatter-go-windows-amd64.exe +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 595e18afedda4cfbe60e967762fc51b0e9bd08604c37cf7dfb3f1d766158c5ab
|
4
|
+
data.tar.gz: f89018f3dc5da061c2492950d4b35e82592d10ef23d9d8d3a9ff020c5c931c12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef3c4fcab020de65b0c3069b541c63234d3ed1e39e53140e241b5a5e39ba05f6e4d2c85083a1940673a9a50fb2bcb149b9b99f5c386c63e7406b5848da20bcfc
|
7
|
+
data.tar.gz: 3fdea4f8893e992916e4b917f227604222cb0075380f78aed306a9a22de99d2e85b0e9bdd7efaa25a2dfe77281190945e3db99968fd157fc87f44fe2b034c440
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -6,8 +6,6 @@ module Cucumber
|
|
6
6
|
module Formatter
|
7
7
|
|
8
8
|
class Dots
|
9
|
-
include ::Cucumber::Messages::Varint
|
10
|
-
|
11
9
|
def initialize(config)
|
12
10
|
@out_stream = config.out_stream
|
13
11
|
|
@@ -16,11 +14,12 @@ module Cucumber
|
|
16
14
|
config.on_event :test_run_finished, &method(:on_test_run_finished)
|
17
15
|
|
18
16
|
root = File.expand_path(File.dirname(__FILE__) + '/../../..')
|
19
|
-
@exe = C21e::ExeFile.new("#{root}/
|
17
|
+
@exe = C21e::ExeFile.new("#{root}/executables/dots-formatter-{{.OS}}-{{.Arch}}{{.Ext}}").target_file
|
20
18
|
end
|
21
19
|
|
22
20
|
def on_test_run_started(event)
|
23
21
|
@stdin, stdout, _stderr, @wait_thread = Open3.popen3(@exe)
|
22
|
+
@stdin.binmode
|
24
23
|
@out_thread = Thread.new do
|
25
24
|
stdout.each_byte { |b| @out_stream << b.chr }
|
26
25
|
end
|
@@ -28,7 +27,7 @@ module Cucumber
|
|
28
27
|
|
29
28
|
def on_test_step_finished(event)
|
30
29
|
wrapper = event.test_step.hook? ?
|
31
|
-
Cucumber::Messages::
|
30
|
+
Cucumber::Messages::Envelope.new(
|
32
31
|
testHookFinished: Cucumber::Messages::TestHookFinished.new(
|
33
32
|
testResult: Cucumber::Messages::TestResult.new(
|
34
33
|
status: event.result.to_sym.upcase
|
@@ -36,16 +35,14 @@ module Cucumber
|
|
36
35
|
)
|
37
36
|
)
|
38
37
|
:
|
39
|
-
Cucumber::Messages::
|
38
|
+
Cucumber::Messages::Envelope.new(
|
40
39
|
testStepFinished: Cucumber::Messages::TestStepFinished.new(
|
41
40
|
testResult: Cucumber::Messages::TestResult.new(
|
42
41
|
status: event.result.to_sym.upcase
|
43
42
|
)
|
44
43
|
)
|
45
44
|
)
|
46
|
-
|
47
|
-
encode_varint(@stdin, bytes.unpack('C*').length)
|
48
|
-
@stdin.write(bytes)
|
45
|
+
wrapper.write_delimited_to(@stdin)
|
49
46
|
end
|
50
47
|
|
51
48
|
def on_test_run_finished(event)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-formatter-dots
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Wynne
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-08-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: c21e
|
@@ -17,28 +17,40 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: '2.0'
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.0.0
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
28
|
- - "~>"
|
26
29
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
30
|
+
version: '2.0'
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.0
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: cucumber-messages
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
31
37
|
requirements:
|
32
38
|
- - "~>"
|
33
39
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
40
|
+
version: '4.0'
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 4.0.0
|
35
44
|
type: :runtime
|
36
45
|
prerelease: false
|
37
46
|
version_requirements: !ruby/object:Gem::Requirement
|
38
47
|
requirements:
|
39
48
|
- - "~>"
|
40
49
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
50
|
+
version: '4.0'
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 4.0.0
|
42
54
|
- !ruby/object:Gem::Dependency
|
43
55
|
name: bundler
|
44
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,26 +100,26 @@ extensions: []
|
|
88
100
|
extra_rdoc_files: []
|
89
101
|
files:
|
90
102
|
- LICENSE
|
91
|
-
-
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
103
|
+
- executables/dots-formatter-darwin-386
|
104
|
+
- executables/dots-formatter-darwin-amd64
|
105
|
+
- executables/dots-formatter-freebsd-386
|
106
|
+
- executables/dots-formatter-freebsd-amd64
|
107
|
+
- executables/dots-formatter-freebsd-arm
|
108
|
+
- executables/dots-formatter-linux-386
|
109
|
+
- executables/dots-formatter-linux-amd64
|
110
|
+
- executables/dots-formatter-linux-arm
|
111
|
+
- executables/dots-formatter-linux-mips
|
112
|
+
- executables/dots-formatter-linux-mips64
|
113
|
+
- executables/dots-formatter-linux-mips64le
|
114
|
+
- executables/dots-formatter-linux-mipsle
|
115
|
+
- executables/dots-formatter-linux-s390x
|
116
|
+
- executables/dots-formatter-netbsd-386
|
117
|
+
- executables/dots-formatter-netbsd-amd64
|
118
|
+
- executables/dots-formatter-netbsd-arm
|
119
|
+
- executables/dots-formatter-openbsd-386
|
120
|
+
- executables/dots-formatter-openbsd-amd64
|
121
|
+
- executables/dots-formatter-windows-386.exe
|
122
|
+
- executables/dots-formatter-windows-amd64.exe
|
111
123
|
- lib/cucumber/formatter/dots.rb
|
112
124
|
- spec/capture_warnings.rb
|
113
125
|
- spec/coverage.rb
|
@@ -130,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
142
|
requirements:
|
131
143
|
- - ">="
|
132
144
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
145
|
+
version: '2.3'
|
134
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
147
|
requirements:
|
136
148
|
- - ">="
|
@@ -138,12 +150,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
150
|
version: '0'
|
139
151
|
requirements: []
|
140
152
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.7.
|
153
|
+
rubygems_version: 2.7.6.2
|
142
154
|
signing_key:
|
143
155
|
specification_version: 4
|
144
|
-
summary: cucumber-formatter-dots-1.
|
156
|
+
summary: cucumber-formatter-dots-1.2.0
|
145
157
|
test_files:
|
158
|
+
- spec/cucumber/formatter/expected_output.ansi
|
159
|
+
- spec/cucumber/formatter/dots_spec.rb
|
146
160
|
- spec/capture_warnings.rb
|
147
161
|
- spec/coverage.rb
|
148
|
-
- spec/cucumber/formatter/dots_spec.rb
|
149
|
-
- spec/cucumber/formatter/expected_output.ansi
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,2 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>dots-formatter-go/v1.1.2/dots-formatter-go-linux-mips</Key><RequestId>06F31DC6DBE0B64F</RequestId><HostId>1ZUkIo+9CBL50rwimy1fNVc494eOcH68vegiuGwbdWGUciE4Vr3gFSrDkgWu5pT4bI0qAOlPiZ0=</HostId></Error>
|
@@ -1,2 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>dots-formatter-go/v1.1.2/dots-formatter-go-linux-mips64</Key><RequestId>7BDCE9945F09CF22</RequestId><HostId>arJfoDOXl3vUG3aukRhYKvLOuiB1WmnOEKYXRX6lY+hMvE4lbma1xZah9xMhxUEJKHq+feiMcPY=</HostId></Error>
|
@@ -1,2 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>dots-formatter-go/v1.1.2/dots-formatter-go-linux-mips64le</Key><RequestId>66E06BF1CA1642D7</RequestId><HostId>BZbz1/0FLaagkiOpauwE/7c/SkIYMPO205dUzSBpvLr/rTEip3ULMMV/ZUCfsQNayyqb+/a2ieE=</HostId></Error>
|
@@ -1,2 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>dots-formatter-go/v1.1.2/dots-formatter-go-linux-mipsle</Key><RequestId>65113043225A8626</RequestId><HostId>GTmdGyCexp63Esruy3xnxC+jeNi5wa3LcFo018/HkJwFmX9mJp3Q0xE3eOCnCk4rXCcCSiSdFlY=</HostId></Error>
|
@@ -1,2 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>dots-formatter-go/v1.1.2/dots-formatter-go-linux-s390x</Key><RequestId>0F5D7F7F45124C57</RequestId><HostId>HlAPzsweoAFVaVQSCBD5nk73dHATq33cbinwCFNwtJDexw51jEl1oMkWXjn3pFJYDIZ6ykBYhhA=</HostId></Error>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|