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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 693e4a396cf9cf483a96e3bd5dc6344a9820dcab73db0b1477c84fb4b86e5be0
4
- data.tar.gz: aeea624a27a445c78bb232d27d6ee13767f581177b10d94b23dd9339b91e1592
3
+ metadata.gz: e2d99bb877abe1c05c1758ca04a13f7c09b3df899d71f9c1de5544376712094e
4
+ data.tar.gz: 51316b5f1982f0c0a0f8a43f2491bc1213e3d3107888ed586f31c4a29a1de219
5
5
  SHA512:
6
- metadata.gz: dbb6940603f6d0d142a7ffb50ed2f577cfde9318c7f48a1367f6b791bdf7d09735a1b73fec1b98fbb650445ffaa0e57c5736bc69d157d875b77b6d03c9c359e8
7
- data.tar.gz: 0fa38302962f45a29c74f1b4652590eb98f7b27e71a036386d68f57da8a581405647499d74b48b717c789158197be3ddf0c2c3f549d3f33c96c4dcca46756d7b
6
+ metadata.gz: a3116d8843d21d1c0bd8d4af88b13c92234869d39021e6dcb77745d2f0b74b4847d7f6ceb09a006519cd0e327758f3c33f5993f2667c8d1edbe4f83bac9c645b
7
+ data.tar.gz: 4fc9c7aafe736e1e80445d00dd569be79af01c99be35bc606eb75daa7fa206ae4b7c05c6aa5198db9fa35772d78950443fda3e46fd4b834e3d260ebe5a8b9dc5
@@ -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
@@ -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
@@ -0,0 +1,11 @@
1
+ require 'cucumber/messages'
2
+
3
+ module Cucumber
4
+ module Messages
5
+ describe VERSION do
6
+ it 'should be defined' do
7
+ expect(subject).to match(/\d+\.\d+\.\d+/)
8
+ end
9
+ end
10
+ end
11
+ 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.0.0
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-14 00:00:00.000000000 Z
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.0.0
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