cucumber-messages 22.0.0 → 27.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.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +2 -2
  3. data/README.md +1 -0
  4. data/VERSION +1 -1
  5. data/lib/cucumber/messages/attachment.rb +131 -0
  6. data/lib/cucumber/messages/attachment_content_encoding.rb +11 -0
  7. data/lib/cucumber/messages/background.rb +64 -0
  8. data/lib/cucumber/messages/ci.rb +62 -0
  9. data/lib/cucumber/messages/comment.rb +50 -0
  10. data/lib/cucumber/messages/data_table.rb +41 -0
  11. data/lib/cucumber/messages/doc_string.rb +51 -0
  12. data/lib/cucumber/messages/duration.rb +50 -0
  13. data/lib/cucumber/messages/envelope.rb +134 -0
  14. data/lib/cucumber/messages/examples.rb +74 -0
  15. data/lib/cucumber/messages/exception.rb +57 -0
  16. data/lib/cucumber/messages/feature.rb +87 -0
  17. data/lib/cucumber/messages/feature_child.rb +49 -0
  18. data/lib/cucumber/messages/gherkin_document.rb +62 -0
  19. data/lib/cucumber/messages/git.rb +54 -0
  20. data/lib/cucumber/messages/group.rb +46 -0
  21. data/lib/cucumber/messages/helpers/id_generator/incrementing.rb +20 -0
  22. data/lib/cucumber/messages/helpers/id_generator/uuid.rb +17 -0
  23. data/lib/cucumber/messages/helpers/id_generator.rb +4 -0
  24. data/lib/cucumber/messages/helpers/ndjson_to_message_enumerator.rb +30 -0
  25. data/lib/cucumber/messages/helpers/time_conversion.rb +31 -0
  26. data/lib/cucumber/messages/hook.rb +56 -0
  27. data/lib/cucumber/messages/hook_type.rb +15 -0
  28. data/lib/cucumber/messages/java_method.rb +46 -0
  29. data/lib/cucumber/messages/java_stack_trace_element.rb +46 -0
  30. data/lib/cucumber/messages/location.rb +44 -0
  31. data/lib/cucumber/messages/message.rb +93 -5
  32. data/lib/cucumber/messages/meta.rb +81 -0
  33. data/lib/cucumber/messages/parameter_type.rb +64 -0
  34. data/lib/cucumber/messages/parse_error.rb +41 -0
  35. data/lib/cucumber/messages/pickle.rb +107 -0
  36. data/lib/cucumber/messages/pickle_doc_string.rb +41 -0
  37. data/lib/cucumber/messages/pickle_step.rb +71 -0
  38. data/lib/cucumber/messages/pickle_step_argument.rb +43 -0
  39. data/lib/cucumber/messages/pickle_step_type.rb +13 -0
  40. data/lib/cucumber/messages/pickle_table.rb +36 -0
  41. data/lib/cucumber/messages/pickle_table_cell.rb +36 -0
  42. data/lib/cucumber/messages/pickle_table_row.rb +36 -0
  43. data/lib/cucumber/messages/pickle_tag.rb +47 -0
  44. data/lib/cucumber/messages/product.rb +49 -0
  45. data/lib/cucumber/messages/rule.rb +72 -0
  46. data/lib/cucumber/messages/rule_child.rb +44 -0
  47. data/lib/cucumber/messages/scenario.rb +74 -0
  48. data/lib/cucumber/messages/source.rb +63 -0
  49. data/lib/cucumber/messages/source_media_type.rb +11 -0
  50. data/lib/cucumber/messages/source_reference.rb +55 -0
  51. data/lib/cucumber/messages/step.rb +80 -0
  52. data/lib/cucumber/messages/step_definition.rb +46 -0
  53. data/lib/cucumber/messages/step_definition_pattern.rb +41 -0
  54. data/lib/cucumber/messages/step_definition_pattern_type.rb +11 -0
  55. data/lib/cucumber/messages/step_keyword_type.rb +14 -0
  56. data/lib/cucumber/messages/step_match_argument.rb +54 -0
  57. data/lib/cucumber/messages/step_match_arguments_list.rb +36 -0
  58. data/lib/cucumber/messages/table_cell.rb +49 -0
  59. data/lib/cucumber/messages/table_row.rb +54 -0
  60. data/lib/cucumber/messages/tag.rb +58 -0
  61. data/lib/cucumber/messages/test_case.rb +62 -0
  62. data/lib/cucumber/messages/test_case_finished.rb +46 -0
  63. data/lib/cucumber/messages/test_case_started.rb +69 -0
  64. data/lib/cucumber/messages/test_run_finished.rb +68 -0
  65. data/lib/cucumber/messages/test_run_hook_finished.rb +49 -0
  66. data/lib/cucumber/messages/test_run_hook_started.rb +60 -0
  67. data/lib/cucumber/messages/test_run_started.rb +41 -0
  68. data/lib/cucumber/messages/test_step.rb +74 -0
  69. data/lib/cucumber/messages/test_step_finished.rb +51 -0
  70. data/lib/cucumber/messages/test_step_result.rb +57 -0
  71. data/lib/cucumber/messages/test_step_result_status.rb +16 -0
  72. data/lib/cucumber/messages/test_step_started.rb +46 -0
  73. data/lib/cucumber/messages/timestamp.rb +52 -0
  74. data/lib/cucumber/messages/undefined_parameter_type.rb +41 -0
  75. data/lib/cucumber/messages.rb +9 -5
  76. metadata +140 -61
  77. data/lib/cucumber/messages/id_generator.rb +0 -24
  78. data/lib/cucumber/messages/message/deserialization.rb +0 -39
  79. data/lib/cucumber/messages/message/serialization.rb +0 -73
  80. data/lib/cucumber/messages/message/utils.rb +0 -46
  81. data/lib/cucumber/messages/ndjson_to_message_enumerator.rb +0 -21
  82. data/lib/cucumber/messages/time_conversion.rb +0 -33
  83. data/lib/cucumber/messages.deserializers.rb +0 -1207
  84. data/lib/cucumber/messages.dtos.rb +0 -2000
  85. data/spec/capture_warnings.rb +0 -74
  86. data/spec/cucumber/messages/acceptance_spec.rb +0 -33
  87. data/spec/cucumber/messages/id_generator_spec.rb +0 -29
  88. data/spec/cucumber/messages/message/deserialization_spec.rb +0 -30
  89. data/spec/cucumber/messages/message/dummy_messages.rb +0 -38
  90. data/spec/cucumber/messages/message/serialization_spec.rb +0 -89
  91. data/spec/cucumber/messages/message/utils_spec.rb +0 -30
  92. data/spec/cucumber/messages/ndjson_serialization_spec.rb +0 -56
  93. data/spec/cucumber/messages/time_conversion_spec.rb +0 -41
  94. data/spec/cucumber/messages/version_spec.rb +0 -11
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/codegen/codegen.rb]
4
+ module Cucumber
5
+ module Messages
6
+ ##
7
+ # Represents the TestStep message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
8
+ ##
9
+ #
10
+ # *
11
+ # A `TestStep` is derived from either a `PickleStep`
12
+ # combined with a `StepDefinition`, or from a `Hook`.
13
+ ##
14
+ class TestStep < Message
15
+ ##
16
+ # Pointer to the `Hook` (if derived from a Hook)
17
+ ##
18
+ attr_reader :hook_id
19
+
20
+ attr_reader :id
21
+
22
+ ##
23
+ # Pointer to the `PickleStep` (if derived from a `PickleStep`)
24
+ ##
25
+ attr_reader :pickle_step_id
26
+
27
+ ##
28
+ # Pointer to all the matching `StepDefinition`s (if derived from a `PickleStep`)
29
+ # Each element represents a matching step definition. A size of 0 means `UNDEFINED`,
30
+ # and a size of 2+ means `AMBIGUOUS`
31
+ ##
32
+ attr_reader :step_definition_ids
33
+
34
+ ##
35
+ # A list of list of StepMatchArgument (if derived from a `PickleStep`).
36
+ ##
37
+ attr_reader :step_match_arguments_lists
38
+
39
+ def initialize(
40
+ hook_id: nil,
41
+ id: '',
42
+ pickle_step_id: nil,
43
+ step_definition_ids: nil,
44
+ step_match_arguments_lists: nil
45
+ )
46
+ @hook_id = hook_id
47
+ @id = id
48
+ @pickle_step_id = pickle_step_id
49
+ @step_definition_ids = step_definition_ids
50
+ @step_match_arguments_lists = step_match_arguments_lists
51
+ super()
52
+ end
53
+
54
+ ##
55
+ # Returns a new TestStep from the given hash.
56
+ # If the hash keys are camelCased, they are properly assigned to the
57
+ # corresponding snake_cased attributes.
58
+ #
59
+ # Cucumber::Messages::TestStep.from_h(some_hash) # => #<Cucumber::Messages::TestStep:0x... ...>
60
+ ##
61
+ def self.from_h(hash)
62
+ return nil if hash.nil?
63
+
64
+ new(
65
+ hook_id: hash[:hookId],
66
+ id: hash[:id],
67
+ pickle_step_id: hash[:pickleStepId],
68
+ step_definition_ids: hash[:stepDefinitionIds],
69
+ step_match_arguments_lists: hash[:stepMatchArgumentsLists]&.map { |item| StepMatchArgumentsList.from_h(item) }
70
+ )
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/codegen/codegen.rb]
4
+ module Cucumber
5
+ module Messages
6
+ ##
7
+ # Represents the TestStepFinished message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
8
+ ##
9
+ ##
10
+ class TestStepFinished < Message
11
+ attr_reader :test_case_started_id
12
+
13
+ attr_reader :test_step_id
14
+
15
+ attr_reader :test_step_result
16
+
17
+ attr_reader :timestamp
18
+
19
+ def initialize(
20
+ test_case_started_id: '',
21
+ test_step_id: '',
22
+ test_step_result: TestStepResult.new,
23
+ timestamp: Timestamp.new
24
+ )
25
+ @test_case_started_id = test_case_started_id
26
+ @test_step_id = test_step_id
27
+ @test_step_result = test_step_result
28
+ @timestamp = timestamp
29
+ super()
30
+ end
31
+
32
+ ##
33
+ # Returns a new TestStepFinished from the given hash.
34
+ # If the hash keys are camelCased, they are properly assigned to the
35
+ # corresponding snake_cased attributes.
36
+ #
37
+ # Cucumber::Messages::TestStepFinished.from_h(some_hash) # => #<Cucumber::Messages::TestStepFinished:0x... ...>
38
+ ##
39
+ def self.from_h(hash)
40
+ return nil if hash.nil?
41
+
42
+ new(
43
+ test_case_started_id: hash[:testCaseStartedId],
44
+ test_step_id: hash[:testStepId],
45
+ test_step_result: TestStepResult.from_h(hash[:testStepResult]),
46
+ timestamp: Timestamp.from_h(hash[:timestamp])
47
+ )
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/codegen/codegen.rb]
4
+ module Cucumber
5
+ module Messages
6
+ ##
7
+ # Represents the TestStepResult message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
8
+ ##
9
+ ##
10
+ class TestStepResult < Message
11
+ attr_reader :duration
12
+
13
+ ##
14
+ # An arbitrary bit of information that explains this result. This can be a stack trace of anything else.
15
+ ##
16
+ attr_reader :message
17
+
18
+ attr_reader :status
19
+
20
+ ##
21
+ # Exception thrown while executing this step, if any.
22
+ ##
23
+ attr_reader :exception
24
+
25
+ def initialize(
26
+ duration: Duration.new,
27
+ message: nil,
28
+ status: TestStepResultStatus::UNKNOWN,
29
+ exception: nil
30
+ )
31
+ @duration = duration
32
+ @message = message
33
+ @status = status
34
+ @exception = exception
35
+ super()
36
+ end
37
+
38
+ ##
39
+ # Returns a new TestStepResult from the given hash.
40
+ # If the hash keys are camelCased, they are properly assigned to the
41
+ # corresponding snake_cased attributes.
42
+ #
43
+ # Cucumber::Messages::TestStepResult.from_h(some_hash) # => #<Cucumber::Messages::TestStepResult:0x... ...>
44
+ ##
45
+ def self.from_h(hash)
46
+ return nil if hash.nil?
47
+
48
+ new(
49
+ duration: Duration.from_h(hash[:duration]),
50
+ message: hash[:message],
51
+ status: hash[:status],
52
+ exception: Exception.from_h(hash[:exception])
53
+ )
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/codegen/codegen.rb]
4
+ module Cucumber
5
+ module Messages
6
+ class TestStepResultStatus
7
+ UNKNOWN = 'UNKNOWN'
8
+ PASSED = 'PASSED'
9
+ SKIPPED = 'SKIPPED'
10
+ PENDING = 'PENDING'
11
+ UNDEFINED = 'UNDEFINED'
12
+ AMBIGUOUS = 'AMBIGUOUS'
13
+ FAILED = 'FAILED'
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/codegen/codegen.rb]
4
+ module Cucumber
5
+ module Messages
6
+ ##
7
+ # Represents the TestStepStarted message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
8
+ ##
9
+ ##
10
+ class TestStepStarted < Message
11
+ attr_reader :test_case_started_id
12
+
13
+ attr_reader :test_step_id
14
+
15
+ attr_reader :timestamp
16
+
17
+ def initialize(
18
+ test_case_started_id: '',
19
+ test_step_id: '',
20
+ timestamp: Timestamp.new
21
+ )
22
+ @test_case_started_id = test_case_started_id
23
+ @test_step_id = test_step_id
24
+ @timestamp = timestamp
25
+ super()
26
+ end
27
+
28
+ ##
29
+ # Returns a new TestStepStarted from the given hash.
30
+ # If the hash keys are camelCased, they are properly assigned to the
31
+ # corresponding snake_cased attributes.
32
+ #
33
+ # Cucumber::Messages::TestStepStarted.from_h(some_hash) # => #<Cucumber::Messages::TestStepStarted:0x... ...>
34
+ ##
35
+ def self.from_h(hash)
36
+ return nil if hash.nil?
37
+
38
+ new(
39
+ test_case_started_id: hash[:testCaseStartedId],
40
+ test_step_id: hash[:testStepId],
41
+ timestamp: Timestamp.from_h(hash[:timestamp])
42
+ )
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/codegen/codegen.rb]
4
+ module Cucumber
5
+ module Messages
6
+ ##
7
+ # Represents the Timestamp message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
8
+ ##
9
+ ##
10
+ class Timestamp < Message
11
+ ##
12
+ # Represents seconds of UTC time since Unix epoch
13
+ # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
14
+ # 9999-12-31T23:59:59Z inclusive.
15
+ ##
16
+ attr_reader :seconds
17
+
18
+ ##
19
+ # Non-negative fractions of a second at nanosecond resolution. Negative
20
+ # second values with fractions must still have non-negative nanos values
21
+ # that count forward in time. Must be from 0 to 999,999,999
22
+ # inclusive.
23
+ ##
24
+ attr_reader :nanos
25
+
26
+ def initialize(
27
+ seconds: 0,
28
+ nanos: 0
29
+ )
30
+ @seconds = seconds
31
+ @nanos = nanos
32
+ super()
33
+ end
34
+
35
+ ##
36
+ # Returns a new Timestamp from the given hash.
37
+ # If the hash keys are camelCased, they are properly assigned to the
38
+ # corresponding snake_cased attributes.
39
+ #
40
+ # Cucumber::Messages::Timestamp.from_h(some_hash) # => #<Cucumber::Messages::Timestamp:0x... ...>
41
+ ##
42
+ def self.from_h(hash)
43
+ return nil if hash.nil?
44
+
45
+ new(
46
+ seconds: hash[:seconds],
47
+ nanos: hash[:nanos]
48
+ )
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,41 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/codegen/codegen.rb]
4
+ module Cucumber
5
+ module Messages
6
+ ##
7
+ # Represents the UndefinedParameterType message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
8
+ ##
9
+ ##
10
+ class UndefinedParameterType < Message
11
+ attr_reader :expression
12
+
13
+ attr_reader :name
14
+
15
+ def initialize(
16
+ expression: '',
17
+ name: ''
18
+ )
19
+ @expression = expression
20
+ @name = name
21
+ super()
22
+ end
23
+
24
+ ##
25
+ # Returns a new UndefinedParameterType from the given hash.
26
+ # If the hash keys are camelCased, they are properly assigned to the
27
+ # corresponding snake_cased attributes.
28
+ #
29
+ # Cucumber::Messages::UndefinedParameterType.from_h(some_hash) # => #<Cucumber::Messages::UndefinedParameterType:0x... ...>
30
+ ##
31
+ def self.from_h(hash)
32
+ return nil if hash.nil?
33
+
34
+ new(
35
+ expression: hash[:expression],
36
+ name: hash[:name]
37
+ )
38
+ end
39
+ end
40
+ end
41
+ end
@@ -1,10 +1,14 @@
1
- require 'cucumber/messages/ndjson_to_message_enumerator'
2
- require 'cucumber/messages/time_conversion'
3
- require 'cucumber/messages/id_generator'
4
- require 'cucumber/messages.deserializers'
1
+ # frozen_string_literal: true
2
+
3
+ require 'cucumber/messages/helpers/ndjson_to_message_enumerator'
4
+ require 'cucumber/messages/helpers/time_conversion'
5
+ require 'cucumber/messages/helpers/id_generator'
6
+ require 'cucumber/messages/message'
7
+
8
+ Dir["#{File.dirname(__FILE__)}/messages/*.rb"].each { |file| require file }
5
9
 
6
10
  module Cucumber
7
11
  module Messages
8
- VERSION = File.read(File.expand_path("../../VERSION", __dir__)).strip
12
+ VERSION = File.read(File.expand_path('../../VERSION', __dir__)).strip
9
13
  end
10
14
  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: 22.0.0
4
+ version: 27.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-06 00:00:00.000000000 Z
11
+ date: 2025-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber-compatibility-kit
@@ -16,61 +16,99 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '11.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 11.0.0
19
+ version: '15.0'
23
20
  type: :development
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '11.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 11.0.0
26
+ version: '15.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rake
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '13.0'
40
- - - ">="
33
+ version: '13.1'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '13.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
41
46
  - !ruby/object:Gem::Version
42
- version: 13.0.6
47
+ version: '3.13'
43
48
  type: :development
44
49
  prerelease: false
45
50
  version_requirements: !ruby/object:Gem::Requirement
46
51
  requirements:
47
52
  - - "~>"
48
53
  - !ruby/object:Gem::Version
49
- version: '13.0'
50
- - - ">="
54
+ version: '3.13'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.71.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
51
67
  - !ruby/object:Gem::Version
52
- version: 13.0.6
68
+ version: 1.71.0
53
69
  - !ruby/object:Gem::Dependency
54
- name: rspec
70
+ name: rubocop-performance
55
71
  requirement: !ruby/object:Gem::Requirement
56
72
  requirements:
57
73
  - - "~>"
58
74
  - !ruby/object:Gem::Version
59
- version: '3.11'
60
- - - ">="
75
+ version: 1.23.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.23.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
61
88
  - !ruby/object:Gem::Version
62
- version: 3.11.0
89
+ version: 0.6.0
63
90
  type: :development
64
91
  prerelease: false
65
92
  version_requirements: !ruby/object:Gem::Requirement
66
93
  requirements:
67
94
  - - "~>"
68
95
  - !ruby/object:Gem::Version
69
- version: '3.11'
70
- - - ">="
96
+ version: 0.6.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 3.4.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
71
109
  - !ruby/object:Gem::Version
72
- version: 3.11.0
73
- description: Protocol Buffer messages for Cucumber's inter-process communication
110
+ version: 3.4.0
111
+ description: JSON schema-based messages for Cucumber's inter-process communication
74
112
  email: cukes@googlegroups.com
75
113
  executables: []
76
114
  extensions: []
@@ -79,27 +117,78 @@ files:
79
117
  - LICENSE
80
118
  - README.md
81
119
  - VERSION
82
- - lib/cucumber/messages.deserializers.rb
83
- - lib/cucumber/messages.dtos.rb
84
120
  - lib/cucumber/messages.rb
85
- - lib/cucumber/messages/id_generator.rb
121
+ - lib/cucumber/messages/attachment.rb
122
+ - lib/cucumber/messages/attachment_content_encoding.rb
123
+ - lib/cucumber/messages/background.rb
124
+ - lib/cucumber/messages/ci.rb
125
+ - lib/cucumber/messages/comment.rb
126
+ - lib/cucumber/messages/data_table.rb
127
+ - lib/cucumber/messages/doc_string.rb
128
+ - lib/cucumber/messages/duration.rb
129
+ - lib/cucumber/messages/envelope.rb
130
+ - lib/cucumber/messages/examples.rb
131
+ - lib/cucumber/messages/exception.rb
132
+ - lib/cucumber/messages/feature.rb
133
+ - lib/cucumber/messages/feature_child.rb
134
+ - lib/cucumber/messages/gherkin_document.rb
135
+ - lib/cucumber/messages/git.rb
136
+ - lib/cucumber/messages/group.rb
137
+ - lib/cucumber/messages/helpers/id_generator.rb
138
+ - lib/cucumber/messages/helpers/id_generator/incrementing.rb
139
+ - lib/cucumber/messages/helpers/id_generator/uuid.rb
140
+ - lib/cucumber/messages/helpers/ndjson_to_message_enumerator.rb
141
+ - lib/cucumber/messages/helpers/time_conversion.rb
142
+ - lib/cucumber/messages/hook.rb
143
+ - lib/cucumber/messages/hook_type.rb
144
+ - lib/cucumber/messages/java_method.rb
145
+ - lib/cucumber/messages/java_stack_trace_element.rb
146
+ - lib/cucumber/messages/location.rb
86
147
  - lib/cucumber/messages/message.rb
87
- - lib/cucumber/messages/message/deserialization.rb
88
- - lib/cucumber/messages/message/serialization.rb
89
- - lib/cucumber/messages/message/utils.rb
90
- - lib/cucumber/messages/ndjson_to_message_enumerator.rb
91
- - lib/cucumber/messages/time_conversion.rb
92
- - spec/capture_warnings.rb
93
- - spec/cucumber/messages/acceptance_spec.rb
94
- - spec/cucumber/messages/id_generator_spec.rb
95
- - spec/cucumber/messages/message/deserialization_spec.rb
96
- - spec/cucumber/messages/message/dummy_messages.rb
97
- - spec/cucumber/messages/message/serialization_spec.rb
98
- - spec/cucumber/messages/message/utils_spec.rb
99
- - spec/cucumber/messages/ndjson_serialization_spec.rb
100
- - spec/cucumber/messages/time_conversion_spec.rb
101
- - spec/cucumber/messages/version_spec.rb
102
- homepage: https://github.com/cucumber/messages-ruby#readme
148
+ - lib/cucumber/messages/meta.rb
149
+ - lib/cucumber/messages/parameter_type.rb
150
+ - lib/cucumber/messages/parse_error.rb
151
+ - lib/cucumber/messages/pickle.rb
152
+ - lib/cucumber/messages/pickle_doc_string.rb
153
+ - lib/cucumber/messages/pickle_step.rb
154
+ - lib/cucumber/messages/pickle_step_argument.rb
155
+ - lib/cucumber/messages/pickle_step_type.rb
156
+ - lib/cucumber/messages/pickle_table.rb
157
+ - lib/cucumber/messages/pickle_table_cell.rb
158
+ - lib/cucumber/messages/pickle_table_row.rb
159
+ - lib/cucumber/messages/pickle_tag.rb
160
+ - lib/cucumber/messages/product.rb
161
+ - lib/cucumber/messages/rule.rb
162
+ - lib/cucumber/messages/rule_child.rb
163
+ - lib/cucumber/messages/scenario.rb
164
+ - lib/cucumber/messages/source.rb
165
+ - lib/cucumber/messages/source_media_type.rb
166
+ - lib/cucumber/messages/source_reference.rb
167
+ - lib/cucumber/messages/step.rb
168
+ - lib/cucumber/messages/step_definition.rb
169
+ - lib/cucumber/messages/step_definition_pattern.rb
170
+ - lib/cucumber/messages/step_definition_pattern_type.rb
171
+ - lib/cucumber/messages/step_keyword_type.rb
172
+ - lib/cucumber/messages/step_match_argument.rb
173
+ - lib/cucumber/messages/step_match_arguments_list.rb
174
+ - lib/cucumber/messages/table_cell.rb
175
+ - lib/cucumber/messages/table_row.rb
176
+ - lib/cucumber/messages/tag.rb
177
+ - lib/cucumber/messages/test_case.rb
178
+ - lib/cucumber/messages/test_case_finished.rb
179
+ - lib/cucumber/messages/test_case_started.rb
180
+ - lib/cucumber/messages/test_run_finished.rb
181
+ - lib/cucumber/messages/test_run_hook_finished.rb
182
+ - lib/cucumber/messages/test_run_hook_started.rb
183
+ - lib/cucumber/messages/test_run_started.rb
184
+ - lib/cucumber/messages/test_step.rb
185
+ - lib/cucumber/messages/test_step_finished.rb
186
+ - lib/cucumber/messages/test_step_result.rb
187
+ - lib/cucumber/messages/test_step_result_status.rb
188
+ - lib/cucumber/messages/test_step_started.rb
189
+ - lib/cucumber/messages/timestamp.rb
190
+ - lib/cucumber/messages/undefined_parameter_type.rb
191
+ homepage: https://github.com/cucumber/messages#readme
103
192
  licenses:
104
193
  - MIT
105
194
  metadata:
@@ -108,7 +197,7 @@ metadata:
108
197
  documentation_uri: https://www.rubydoc.info/github/cucumber/messages
109
198
  mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
110
199
  source_code_uri: https://github.com/cucumber/messages
111
- post_install_message:
200
+ post_install_message:
112
201
  rdoc_options:
113
202
  - "--charset=UTF-8"
114
203
  require_paths:
@@ -117,25 +206,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
206
  requirements:
118
207
  - - ">="
119
208
  - !ruby/object:Gem::Version
120
- version: '2.3'
209
+ version: '3.0'
121
210
  required_rubygems_version: !ruby/object:Gem::Requirement
122
211
  requirements:
123
212
  - - ">="
124
213
  - !ruby/object:Gem::Version
125
- version: '0'
214
+ version: 3.2.3
126
215
  requirements: []
127
- rubygems_version: 3.2.22
128
- signing_key:
216
+ rubygems_version: 3.5.22
217
+ signing_key:
129
218
  specification_version: 4
130
- summary: cucumber-messages-22.0.0
131
- test_files:
132
- - spec/capture_warnings.rb
133
- - spec/cucumber/messages/acceptance_spec.rb
134
- - spec/cucumber/messages/id_generator_spec.rb
135
- - spec/cucumber/messages/message/deserialization_spec.rb
136
- - spec/cucumber/messages/message/dummy_messages.rb
137
- - spec/cucumber/messages/message/serialization_spec.rb
138
- - spec/cucumber/messages/message/utils_spec.rb
139
- - spec/cucumber/messages/ndjson_serialization_spec.rb
140
- - spec/cucumber/messages/time_conversion_spec.rb
141
- - spec/cucumber/messages/version_spec.rb
219
+ summary: cucumber-messages-27.2.0
220
+ test_files: []
@@ -1,24 +0,0 @@
1
- require 'securerandom'
2
-
3
- module Cucumber
4
- module Messages
5
- module IdGenerator
6
- class Incrementing
7
- def initialize
8
- @index = -1
9
- end
10
-
11
- def new_id
12
- @index += 1
13
- @index.to_s
14
- end
15
- end
16
-
17
- class UUID
18
- def new_id
19
- SecureRandom.uuid
20
- end
21
- end
22
- end
23
- end
24
- end