cucumber-messages 27.0.2 → 28.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48f5e60e17efe250bdcbee0857471402ea813783ddd24462a9eac89cf1944666
4
- data.tar.gz: 4844d98debd4d64559bce8eaa2892d7292285badb510dcd99a9d9af6e83c634d
3
+ metadata.gz: 83561ce7c21a97d9e3f569e6b19d448bd19b12f84b9447d963af0c261a3d36e7
4
+ data.tar.gz: fe8a2b825b2b6680fada29f1dae295459b954fceb53234f2595eb71827816922
5
5
  SHA512:
6
- metadata.gz: 33dc9d4ea370f3556684565115cb55e2a55b467aa3ad28177d627378e2c5b64aaec727599195770fd81562fd7917a92e0bc6b5d38a19587690efb9c560314aa2
7
- data.tar.gz: ed30c7b59e373650db6c5729578ad90e2851fbe8637dac63ebb16ff62ec3497ae580cfa67a786a59febc2b4851a258c100f697e8e10994caa79d4ebcca60ca5b
6
+ metadata.gz: 16752657de9be7e6743dfb23a3e478003067d56e99ce102adc1c62f10315c7d01fd373077fa74d6e37f447ae50bd3f09fc64e7b000398c2f768e0520e6539bb1
7
+ data.tar.gz: d157147e8cdbb4fd87c3c2a6cb7419a13cde70c52468015f1c0b33469ba13dce2cfd772ebe90fcd36b61b0ded4e3d2a88c0f619d9a8c1772c0301fd09ecfe1ed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 27.0.2
1
+ 28.0.0
@@ -59,8 +59,14 @@ module Cucumber
59
59
 
60
60
  attr_reader :source
61
61
 
62
+ ##
63
+ # The identifier of the test case attempt if the attachment was created during the execution of a test step
64
+ ##
62
65
  attr_reader :test_case_started_id
63
66
 
67
+ ##
68
+ # The identifier of the test step if the attachment was created during the execution of a test step
69
+ ##
64
70
  attr_reader :test_step_id
65
71
 
66
72
  ##
@@ -79,8 +85,21 @@ module Cucumber
79
85
  ##
80
86
  attr_reader :url
81
87
 
88
+ ##
89
+ # Not used; implementers should instead populate `testRunHookStartedId` if an attachment was created during the execution of a test run hook
90
+ ##
82
91
  attr_reader :test_run_started_id
83
92
 
93
+ ##
94
+ # The identifier of the test run hook execution if the attachment was created during the execution of a test run hook
95
+ ##
96
+ attr_reader :test_run_hook_started_id
97
+
98
+ ##
99
+ # When the attachment was created
100
+ ##
101
+ attr_reader :timestamp
102
+
84
103
  def initialize(
85
104
  body: '',
86
105
  content_encoding: AttachmentContentEncoding::IDENTITY,
@@ -90,7 +109,9 @@ module Cucumber
90
109
  test_case_started_id: nil,
91
110
  test_step_id: nil,
92
111
  url: nil,
93
- test_run_started_id: nil
112
+ test_run_started_id: nil,
113
+ test_run_hook_started_id: nil,
114
+ timestamp: nil
94
115
  )
95
116
  @body = body
96
117
  @content_encoding = content_encoding
@@ -101,6 +122,8 @@ module Cucumber
101
122
  @test_step_id = test_step_id
102
123
  @url = url
103
124
  @test_run_started_id = test_run_started_id
125
+ @test_run_hook_started_id = test_run_hook_started_id
126
+ @timestamp = timestamp
104
127
  super()
105
128
  end
106
129
 
@@ -123,7 +146,9 @@ module Cucumber
123
146
  test_case_started_id: hash[:testCaseStartedId],
124
147
  test_step_id: hash[:testStepId],
125
148
  url: hash[:url],
126
- test_run_started_id: hash[:testRunStartedId]
149
+ test_run_started_id: hash[:testRunStartedId],
150
+ test_run_hook_started_id: hash[:testRunHookStartedId],
151
+ timestamp: Timestamp.from_h(hash[:timestamp])
127
152
  )
128
153
  end
129
154
  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: 27.0.2
4
+ version: 28.0.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: 2024-11-15 00:00:00.000000000 Z
11
+ date: 2025-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber-compatibility-kit
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.50.2
61
+ version: 1.71.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.50.2
68
+ version: 1.71.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-performance
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.21.0
75
+ version: 1.23.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.21.0
82
+ version: 1.23.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-rake
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 2.25.0
103
+ version: 3.4.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 2.25.0
110
+ version: 3.4.0
111
111
  description: JSON schema-based messages for Cucumber's inter-process communication
112
112
  email: cukes@googlegroups.com
113
113
  executables: []
@@ -197,7 +197,7 @@ metadata:
197
197
  documentation_uri: https://www.rubydoc.info/github/cucumber/messages
198
198
  mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
199
199
  source_code_uri: https://github.com/cucumber/messages
200
- post_install_message:
200
+ post_install_message:
201
201
  rdoc_options:
202
202
  - "--charset=UTF-8"
203
203
  require_paths:
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  version: 3.2.3
215
215
  requirements: []
216
216
  rubygems_version: 3.5.22
217
- signing_key:
217
+ signing_key:
218
218
  specification_version: 4
219
- summary: cucumber-messages-27.0.2
219
+ summary: cucumber-messages-28.0.0
220
220
  test_files: []