cucumber-messages 27.2.0 → 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 +4 -4
- data/VERSION +1 -1
- data/lib/cucumber/messages/attachment.rb +27 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83561ce7c21a97d9e3f569e6b19d448bd19b12f84b9447d963af0c261a3d36e7
|
4
|
+
data.tar.gz: fe8a2b825b2b6680fada29f1dae295459b954fceb53234f2595eb71827816922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16752657de9be7e6743dfb23a3e478003067d56e99ce102adc1c62f10315c7d01fd373077fa74d6e37f447ae50bd3f09fc64e7b000398c2f768e0520e6539bb1
|
7
|
+
data.tar.gz: d157147e8cdbb4fd87c3c2a6cb7419a13cde70c52468015f1c0b33469ba13dce2cfd772ebe90fcd36b61b0ded4e3d2a88c0f619d9a8c1772c0301fd09ecfe1ed
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
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:
|
4
|
+
version: 28.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: 2025-
|
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
|
@@ -216,5 +216,5 @@ requirements: []
|
|
216
216
|
rubygems_version: 3.5.22
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
|
-
summary: cucumber-messages-
|
219
|
+
summary: cucumber-messages-28.0.0
|
220
220
|
test_files: []
|