cucumber-messages 12.0.0 → 12.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cucumber/messages.pb.rb +20 -13
- data/lib/cucumber/messages.rb +6 -0
- data/spec/cucumber/messages/version_spec.rb +11 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2d99bb877abe1c05c1758ca04a13f7c09b3df899d71f9c1de5544376712094e
|
4
|
+
data.tar.gz: 51316b5f1982f0c0a0f8a43f2491bc1213e3d3107888ed586f31c4a29a1de219
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3116d8843d21d1c0bd8d4af88b13c92234869d39021e6dcb77745d2f0b74b4847d7f6ceb09a006519cd0e327758f3c33f5993f2667c8d1edbe4f83bac9c645b
|
7
|
+
data.tar.gz: 4fc9c7aafe736e1e80445d00dd569be79af01c99be35bc606eb75daa7fa206ae4b7c05c6aa5198db9fa35772d78950443fda3e46fd4b834e3d260ebe5a8b9dc5
|
data/lib/cucumber/messages.pb.rb
CHANGED
@@ -13,6 +13,11 @@ module Cucumber
|
|
13
13
|
# Message Classes
|
14
14
|
#
|
15
15
|
class Envelope < ::Protobuf::Message; end
|
16
|
+
class Meta < ::Protobuf::Message
|
17
|
+
class Product < ::Protobuf::Message; end
|
18
|
+
|
19
|
+
end
|
20
|
+
|
16
21
|
class Timestamp < ::Protobuf::Message; end
|
17
22
|
class Duration < ::Protobuf::Message; end
|
18
23
|
class Location < ::Protobuf::Message; end
|
@@ -97,11 +102,7 @@ module Cucumber
|
|
97
102
|
end
|
98
103
|
|
99
104
|
class TestRunStarted < ::Protobuf::Message; end
|
100
|
-
class TestCaseStarted < ::Protobuf::Message
|
101
|
-
class Platform < ::Protobuf::Message; end
|
102
|
-
|
103
|
-
end
|
104
|
-
|
105
|
+
class TestCaseStarted < ::Protobuf::Message; end
|
105
106
|
class TestCaseFinished < ::Protobuf::Message; end
|
106
107
|
class TestStepStarted < ::Protobuf::Message; end
|
107
108
|
class TestStepFinished < ::Protobuf::Message
|
@@ -166,6 +167,20 @@ module Cucumber
|
|
166
167
|
optional ::Cucumber::Messages::TestCaseFinished, :test_case_finished, 14
|
167
168
|
optional ::Cucumber::Messages::TestRunFinished, :test_run_finished, 15
|
168
169
|
optional ::Cucumber::Messages::ParseError, :parse_error, 16
|
170
|
+
optional ::Cucumber::Messages::Meta, :meta, 17
|
171
|
+
end
|
172
|
+
|
173
|
+
class Meta
|
174
|
+
class Product
|
175
|
+
optional :string, :name, 1
|
176
|
+
optional :string, :version, 2
|
177
|
+
end
|
178
|
+
|
179
|
+
optional :string, :protocol_version, 1
|
180
|
+
optional ::Cucumber::Messages::Meta::Product, :implementation, 2
|
181
|
+
optional ::Cucumber::Messages::Meta::Product, :runtime, 3
|
182
|
+
optional ::Cucumber::Messages::Meta::Product, :os, 4
|
183
|
+
optional ::Cucumber::Messages::Meta::Product, :cpu, 5
|
169
184
|
end
|
170
185
|
|
171
186
|
class Timestamp
|
@@ -391,15 +406,7 @@ module Cucumber
|
|
391
406
|
end
|
392
407
|
|
393
408
|
class TestCaseStarted
|
394
|
-
class Platform
|
395
|
-
optional :string, :implementation, 1
|
396
|
-
optional :string, :version, 2
|
397
|
-
optional :string, :os, 3
|
398
|
-
optional :string, :cpu, 4
|
399
|
-
end
|
400
|
-
|
401
409
|
optional ::Cucumber::Messages::Timestamp, :timestamp, 1
|
402
|
-
optional ::Cucumber::Messages::TestCaseStarted::Platform, :platform, 2
|
403
410
|
optional :uint32, :attempt, 3
|
404
411
|
optional :string, :test_case_id, 4
|
405
412
|
optional :string, :id, 5
|
data/lib/cucumber/messages.rb
CHANGED
@@ -9,3 +9,9 @@ require 'cucumber/messages/id_generator'
|
|
9
9
|
Cucumber::Messages::Envelope.include(Cucumber::Messages::WriteNdjson)
|
10
10
|
Cucumber::Messages::Envelope.include(Cucumber::Messages::WriteDelimited)
|
11
11
|
Cucumber::Messages::Envelope.extend(Cucumber::Messages::ParseDelimited)
|
12
|
+
|
13
|
+
module Cucumber
|
14
|
+
module Messages
|
15
|
+
VERSION = File.read(File.expand_path("../../VERSION", __dir__)).strip
|
16
|
+
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-messages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protobuf-cucumber
|
@@ -92,6 +92,7 @@ files:
|
|
92
92
|
- spec/cucumber/messages/ndjson_serialization_spec.rb
|
93
93
|
- spec/cucumber/messages/protobuf_serialization_spec.rb
|
94
94
|
- spec/cucumber/messages/time_conversion_spec.rb
|
95
|
+
- spec/cucumber/messages/version_spec.rb
|
95
96
|
homepage: https://github.com/cucumber/messages-ruby#readme
|
96
97
|
licenses:
|
97
98
|
- MIT
|
@@ -121,10 +122,11 @@ rubyforge_project:
|
|
121
122
|
rubygems_version: 2.7.6.2
|
122
123
|
signing_key:
|
123
124
|
specification_version: 4
|
124
|
-
summary: cucumber-messages-12.
|
125
|
+
summary: cucumber-messages-12.1.0
|
125
126
|
test_files:
|
126
127
|
- spec/cucumber/messages/time_conversion_spec.rb
|
127
128
|
- spec/cucumber/messages/ndjson_serialization_spec.rb
|
129
|
+
- spec/cucumber/messages/version_spec.rb
|
128
130
|
- spec/cucumber/messages/protobuf_serialization_spec.rb
|
129
131
|
- spec/cucumber/messages/id_generator_spec.rb
|
130
132
|
- spec/capture_warnings.rb
|