cucumber-formatter-dots 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/executables/dots-formatter-darwin-386 +0 -0
  3. data/executables/dots-formatter-darwin-amd64 +0 -0
  4. data/executables/dots-formatter-freebsd-386 +0 -0
  5. data/executables/dots-formatter-freebsd-amd64 +0 -0
  6. data/executables/dots-formatter-freebsd-arm +0 -0
  7. data/executables/dots-formatter-linux-386 +0 -0
  8. data/executables/dots-formatter-linux-amd64 +0 -0
  9. data/executables/dots-formatter-linux-arm +0 -0
  10. data/executables/dots-formatter-linux-mips +0 -0
  11. data/executables/dots-formatter-linux-mips64 +0 -0
  12. data/executables/dots-formatter-linux-mips64le +0 -0
  13. data/executables/dots-formatter-linux-mipsle +0 -0
  14. data/executables/dots-formatter-linux-s390x +0 -0
  15. data/executables/dots-formatter-netbsd-386 +0 -0
  16. data/executables/dots-formatter-netbsd-amd64 +0 -0
  17. data/executables/dots-formatter-netbsd-arm +0 -0
  18. data/executables/dots-formatter-openbsd-386 +0 -0
  19. data/executables/dots-formatter-openbsd-amd64 +0 -0
  20. data/executables/dots-formatter-windows-386.exe +0 -0
  21. data/executables/dots-formatter-windows-amd64.exe +0 -0
  22. data/lib/cucumber/formatter/dots.rb +5 -8
  23. metadata +43 -31
  24. data/dots-formatter-go/dots-formatter-go-darwin-386 +0 -0
  25. data/dots-formatter-go/dots-formatter-go-darwin-amd64 +0 -0
  26. data/dots-formatter-go/dots-formatter-go-freebsd-386 +0 -0
  27. data/dots-formatter-go/dots-formatter-go-freebsd-amd64 +0 -0
  28. data/dots-formatter-go/dots-formatter-go-freebsd-arm +0 -0
  29. data/dots-formatter-go/dots-formatter-go-linux-386 +0 -0
  30. data/dots-formatter-go/dots-formatter-go-linux-amd64 +0 -0
  31. data/dots-formatter-go/dots-formatter-go-linux-arm +0 -0
  32. data/dots-formatter-go/dots-formatter-go-linux-mips +0 -2
  33. data/dots-formatter-go/dots-formatter-go-linux-mips64 +0 -2
  34. data/dots-formatter-go/dots-formatter-go-linux-mips64le +0 -2
  35. data/dots-formatter-go/dots-formatter-go-linux-mipsle +0 -2
  36. data/dots-formatter-go/dots-formatter-go-linux-s390x +0 -2
  37. data/dots-formatter-go/dots-formatter-go-netbsd-386 +0 -0
  38. data/dots-formatter-go/dots-formatter-go-netbsd-amd64 +0 -0
  39. data/dots-formatter-go/dots-formatter-go-netbsd-arm +0 -0
  40. data/dots-formatter-go/dots-formatter-go-openbsd-386 +0 -0
  41. data/dots-formatter-go/dots-formatter-go-openbsd-amd64 +0 -0
  42. data/dots-formatter-go/dots-formatter-go-windows-386.exe +0 -0
  43. 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: 9b7a44ba978029eece996ecce7346242e34b8b7fe4fa2500dd4c29814280776d
4
- data.tar.gz: e52415e9535e7979cb6aaff8b8c3d1b975a4602091409cc040ae6f9dc4661402
3
+ metadata.gz: 595e18afedda4cfbe60e967762fc51b0e9bd08604c37cf7dfb3f1d766158c5ab
4
+ data.tar.gz: f89018f3dc5da061c2492950d4b35e82592d10ef23d9d8d3a9ff020c5c931c12
5
5
  SHA512:
6
- metadata.gz: a6e847b84102faedaaf0c1d44a2ab9b959659611384704b8009dcfa74809448148f7820f701f58a217195b87eeee32d8015c7ce720fca0c7e065434614163cc0
7
- data.tar.gz: b78e047b515d7b7b3cd4ddb4efcd733e7350301abccd0e098cb794b88272cbb6d28134738a513bf7e53d3d1a52e6c80ee74b94bcd39964824157227cc18f84cc
6
+ metadata.gz: ef3c4fcab020de65b0c3069b541c63234d3ed1e39e53140e241b5a5e39ba05f6e4d2c85083a1940673a9a50fb2bcb149b9b99f5c386c63e7406b5848da20bcfc
7
+ data.tar.gz: 3fdea4f8893e992916e4b917f227604222cb0075380f78aed306a9a22de99d2e85b0e9bdd7efaa25a2dfe77281190945e3db99968fd157fc87f44fe2b034c440
@@ -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}/dots-formatter-go/dots-formatter-go-{{.OS}}-{{.Arch}}{{.Ext}}").target_file
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::Wrapper.new(
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::Wrapper.new(
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
- bytes = Cucumber::Messages::Wrapper.encode(wrapper)
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.1.2
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: 2018-10-31 00:00:00.000000000 Z
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: 1.1.8
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: 1.1.8
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: 2.0.0
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: 2.0.0
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
- - dots-formatter-go/dots-formatter-go-darwin-386
92
- - dots-formatter-go/dots-formatter-go-darwin-amd64
93
- - dots-formatter-go/dots-formatter-go-freebsd-386
94
- - dots-formatter-go/dots-formatter-go-freebsd-amd64
95
- - dots-formatter-go/dots-formatter-go-freebsd-arm
96
- - dots-formatter-go/dots-formatter-go-linux-386
97
- - dots-formatter-go/dots-formatter-go-linux-amd64
98
- - dots-formatter-go/dots-formatter-go-linux-arm
99
- - dots-formatter-go/dots-formatter-go-linux-mips
100
- - dots-formatter-go/dots-formatter-go-linux-mips64
101
- - dots-formatter-go/dots-formatter-go-linux-mips64le
102
- - dots-formatter-go/dots-formatter-go-linux-mipsle
103
- - dots-formatter-go/dots-formatter-go-linux-s390x
104
- - dots-formatter-go/dots-formatter-go-netbsd-386
105
- - dots-formatter-go/dots-formatter-go-netbsd-amd64
106
- - dots-formatter-go/dots-formatter-go-netbsd-arm
107
- - dots-formatter-go/dots-formatter-go-openbsd-386
108
- - dots-formatter-go/dots-formatter-go-openbsd-amd64
109
- - dots-formatter-go/dots-formatter-go-windows-386.exe
110
- - dots-formatter-go/dots-formatter-go-windows-amd64.exe
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: 1.9.3
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.7
153
+ rubygems_version: 2.7.6.2
142
154
  signing_key:
143
155
  specification_version: 4
144
- summary: cucumber-formatter-dots-1.1.2
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
@@ -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>