cucumber-messages 5.0.1 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cucumber/messages_pb.rb +37 -14
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c9b4555f5b964fcc0c3434fb72d196ed53320b30ea87d9ca00e6302b6ba1933
4
- data.tar.gz: 514a55b8401a23c2af86f040aac363c8bb93af17e0ef298a925ee7fbf1b1f0f1
3
+ metadata.gz: 91c3861e44b0df3a7ab1c2d0ed7993d46244cf6eeb26db832921814c6e009490
4
+ data.tar.gz: 4bbc46a0456cff2b2488dc6fe39234258a21b84b18255c8235e2946bb134c5a8
5
5
  SHA512:
6
- metadata.gz: 19cffa3edd133e650f600cc5b0c718cd392f39b8f2536fc02c92aad7abbb078f9b043d150b19080d6e5b9ef8152f9f61200d95360e7150affd67c2fad2624a20
7
- data.tar.gz: d493113990103dcd5d26a74dfac1ae8e9de365007f2464ec469df759c29a22c3bfb65b2ba869a7c790f045f2bc1fbd82a7b3c29840f95af9b6402d3ab72f2933
6
+ metadata.gz: 1f89053c1641171635bed2f92ea028a8d25b1cfdc3dd4ee380ebb73c015ae0eac30236c862c5cb7214807f2d34cf6c5cfa1a79a6263a35ab9206bef130af7ac0
7
+ data.tar.gz: c5ed2c3384922e5e5ba49b874164baf6caf17e910f7e2ceac1513245d3066593056651800390214d89da9c5b0b9ca82340efa04c556b85a9b523a68131821685
@@ -3,8 +3,15 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/protobuf/timestamp_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "io.cucumber.messages.Timestamp" do
8
+ optional :seconds, :int64, 1
9
+ optional :nanos, :int32, 2
10
+ end
11
+ add_message "io.cucumber.messages.Duration" do
12
+ optional :seconds, :int64, 1
13
+ optional :nanos, :int32, 2
14
+ end
8
15
  add_message "io.cucumber.messages.Envelope" do
9
16
  oneof :message do
10
17
  optional :source, :message, 1, "io.cucumber.messages.Source"
@@ -32,6 +39,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
32
39
  optional :commandRunAfterTestRunHooks, :message, 23, "io.cucumber.messages.CommandRunAfterTestRunHooks"
33
40
  optional :commandGenerateSnippet, :message, 24, "io.cucumber.messages.CommandGenerateSnippet"
34
41
  optional :commandError, :string, 25
42
+ optional :testStepMatched, :message, 26, "io.cucumber.messages.TestStepMatched"
35
43
  end
36
44
  end
37
45
  add_message "io.cucumber.messages.Location" do
@@ -200,7 +208,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
200
208
  optional :pickleId, :string, 2
201
209
  end
202
210
  add_message "io.cucumber.messages.TestRunStarted" do
203
- optional :timestamp, :message, 1, "google.protobuf.Timestamp"
211
+ optional :timestamp, :message, 1, "io.cucumber.messages.Timestamp"
204
212
  end
205
213
  add_message "io.cucumber.messages.TestCasePreparedStep" do
206
214
  optional :sourceLocation, :message, 1, "io.cucumber.messages.SourceReference"
@@ -212,7 +220,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
212
220
  end
213
221
  add_message "io.cucumber.messages.TestCaseStarted" do
214
222
  optional :pickleId, :string, 1
215
- optional :timestamp, :message, 2, "google.protobuf.Timestamp"
223
+ optional :timestamp, :message, 2, "io.cucumber.messages.Timestamp"
216
224
  optional :platform, :message, 3, "io.cucumber.messages.TestCaseStarted.Platform"
217
225
  end
218
226
  add_message "io.cucumber.messages.TestCaseStarted.Platform" do
@@ -223,33 +231,39 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
223
231
  end
224
232
  add_message "io.cucumber.messages.TestCaseFinished" do
225
233
  optional :pickleId, :string, 1
226
- optional :timestamp, :message, 2, "google.protobuf.Timestamp"
234
+ optional :timestamp, :message, 2, "io.cucumber.messages.Timestamp"
227
235
  optional :testResult, :message, 3, "io.cucumber.messages.TestResult"
228
236
  end
237
+ add_message "io.cucumber.messages.TestStepMatched" do
238
+ optional :pickleId, :string, 1
239
+ optional :index, :uint32, 2
240
+ optional :stepDefinitionReference, :message, 3, "io.cucumber.messages.SourceReference"
241
+ repeated :stepMatchArguments, :message, 4, "io.cucumber.messages.StepMatchArgument"
242
+ end
229
243
  add_message "io.cucumber.messages.TestStepStarted" do
230
244
  optional :pickleId, :string, 1
231
245
  optional :index, :uint32, 2
232
- optional :timestamp, :message, 3, "google.protobuf.Timestamp"
246
+ optional :timestamp, :message, 3, "io.cucumber.messages.Timestamp"
233
247
  end
234
248
  add_message "io.cucumber.messages.TestStepFinished" do
235
249
  optional :pickleId, :string, 1
236
250
  optional :index, :uint32, 2
237
251
  optional :testResult, :message, 3, "io.cucumber.messages.TestResult"
238
- optional :timestamp, :message, 4, "google.protobuf.Timestamp"
252
+ optional :timestamp, :message, 4, "io.cucumber.messages.Timestamp"
239
253
  end
240
254
  add_message "io.cucumber.messages.TestHookStarted" do
241
255
  optional :pickleId, :string, 1
242
- optional :timestamp, :message, 2, "google.protobuf.Timestamp"
256
+ optional :timestamp, :message, 2, "io.cucumber.messages.Timestamp"
243
257
  end
244
258
  add_message "io.cucumber.messages.TestHookFinished" do
245
259
  optional :pickleId, :string, 1
246
260
  optional :testResult, :message, 2, "io.cucumber.messages.TestResult"
247
- optional :timestamp, :message, 3, "google.protobuf.Timestamp"
261
+ optional :timestamp, :message, 3, "io.cucumber.messages.Timestamp"
248
262
  end
249
263
  add_message "io.cucumber.messages.TestResult" do
250
264
  optional :status, :enum, 1, "io.cucumber.messages.TestResult.Status"
251
265
  optional :message, :string, 2
252
- optional :durationNanoseconds, :uint64, 3
266
+ optional :duration, :message, 4, "io.cucumber.messages.Duration"
253
267
  end
254
268
  add_enum "io.cucumber.messages.TestResult.Status" do
255
269
  value :UNKNOWN, 0
@@ -262,7 +276,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
262
276
  end
263
277
  add_message "io.cucumber.messages.TestRunFinished" do
264
278
  optional :success, :bool, 1
265
- optional :timestamp, :message, 2, "google.protobuf.Timestamp"
279
+ optional :timestamp, :message, 2, "io.cucumber.messages.Timestamp"
266
280
  end
267
281
  add_message "io.cucumber.messages.CommandStart" do
268
282
  optional :baseDirectory, :string, 2
@@ -351,13 +365,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
351
365
  add_message "io.cucumber.messages.CommandRunTestStep" do
352
366
  optional :actionId, :string, 1
353
367
  optional :stepDefinitionId, :string, 3
354
- repeated :patternMatches, :message, 4, "io.cucumber.messages.PatternMatch"
368
+ repeated :stepMatchArguments, :message, 4, "io.cucumber.messages.StepMatchArgument"
355
369
  optional :pickleId, :string, 5
356
370
  optional :pickleStepArgument, :message, 6, "io.cucumber.messages.PickleStepArgument"
357
371
  end
358
- add_message "io.cucumber.messages.PatternMatch" do
359
- repeated :captures, :string, 1
372
+ add_message "io.cucumber.messages.StepMatchArgument" do
360
373
  optional :parameterTypeName, :string, 2
374
+ optional :group, :message, 5, "io.cucumber.messages.StepMatchArgument.Group"
375
+ end
376
+ add_message "io.cucumber.messages.StepMatchArgument.Group" do
377
+ optional :start, :uint32, 1
378
+ optional :value, :string, 2
379
+ repeated :children, :message, 3, "io.cucumber.messages.StepMatchArgument.Group"
361
380
  end
362
381
  add_message "io.cucumber.messages.CommandGenerateSnippet" do
363
382
  optional :actionId, :string, 1
@@ -380,6 +399,8 @@ end
380
399
 
381
400
  module Cucumber
382
401
  module Messages
402
+ Timestamp = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.Timestamp").msgclass
403
+ Duration = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.Duration").msgclass
383
404
  Envelope = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.Envelope").msgclass
384
405
  Location = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.Location").msgclass
385
406
  SourceReference = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.SourceReference").msgclass
@@ -418,6 +439,7 @@ module Cucumber
418
439
  TestCaseStarted = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestCaseStarted").msgclass
419
440
  TestCaseStarted::Platform = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestCaseStarted.Platform").msgclass
420
441
  TestCaseFinished = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestCaseFinished").msgclass
442
+ TestStepMatched = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestStepMatched").msgclass
421
443
  TestStepStarted = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestStepStarted").msgclass
422
444
  TestStepFinished = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestStepFinished").msgclass
423
445
  TestHookStarted = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestHookStarted").msgclass
@@ -443,7 +465,8 @@ module Cucumber
443
465
  CommandRunBeforeTestCaseHook = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandRunBeforeTestCaseHook").msgclass
444
466
  CommandRunAfterTestCaseHook = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandRunAfterTestCaseHook").msgclass
445
467
  CommandRunTestStep = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandRunTestStep").msgclass
446
- PatternMatch = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.PatternMatch").msgclass
468
+ StepMatchArgument = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.StepMatchArgument").msgclass
469
+ StepMatchArgument::Group = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.StepMatchArgument.Group").msgclass
447
470
  CommandGenerateSnippet = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandGenerateSnippet").msgclass
448
471
  GeneratedExpression = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.GeneratedExpression").msgclass
449
472
  SourcesOrderType = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.SourcesOrderType").enummodule
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: 5.0.1
4
+ version: 6.0.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: 2019-08-23 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -36,20 +36,20 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '12.3'
39
+ version: '13.0'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 12.3.3
42
+ version: 13.0.0
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '12.3'
49
+ version: '13.0'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 12.3.3
52
+ version: 13.0.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +135,7 @@ rubyforge_project:
135
135
  rubygems_version: 2.7.6.2
136
136
  signing_key:
137
137
  specification_version: 4
138
- summary: cucumber-messages-5.0.1
138
+ summary: cucumber-messages-6.0.0
139
139
  test_files:
140
140
  - spec/cucumber/messages/message_serialization_spec.rb
141
141
  - spec/capture_warnings.rb