cucumber-messages 30.1.0 → 31.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/pickle.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd0a93c4d13523afd890d12c6be3248ced718bb6d8fcf5a02b309bbaab163c3d
|
|
4
|
+
data.tar.gz: d0ead6390a48c2745a97f0cc07912c4bdde02c9b8d2c15ee2dfef238ac4c2d24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1ae8c482e8aadaa3051c9923f07502669ea5c94ca5820e7947149cd8035ba3eb715dfeda9befa56f902a6227c4f6c49bc2fd660a611e97d688f65426e8a8068
|
|
7
|
+
data.tar.gz: 9d225ae50140877aab97453c92813c46fe880c21e77ee32282ff525c8f3fe06b2211282d56febc4dfaf2bf21f974f1d0c4ad367e11e6f52894c0f76ad524a0fc
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
31.0.0
|
|
@@ -29,6 +29,11 @@ module Cucumber
|
|
|
29
29
|
##
|
|
30
30
|
attr_reader :uri
|
|
31
31
|
|
|
32
|
+
##
|
|
33
|
+
# The location of this pickle in source file. A pickle constructed from `Examples` will point to the example row.
|
|
34
|
+
##
|
|
35
|
+
attr_reader :location
|
|
36
|
+
|
|
32
37
|
##
|
|
33
38
|
# The name of the pickle
|
|
34
39
|
##
|
|
@@ -60,6 +65,7 @@ module Cucumber
|
|
|
60
65
|
def initialize(
|
|
61
66
|
id: '',
|
|
62
67
|
uri: '',
|
|
68
|
+
location: nil,
|
|
63
69
|
name: '',
|
|
64
70
|
language: '',
|
|
65
71
|
steps: [],
|
|
@@ -68,6 +74,7 @@ module Cucumber
|
|
|
68
74
|
)
|
|
69
75
|
@id = id
|
|
70
76
|
@uri = uri
|
|
77
|
+
@location = location
|
|
71
78
|
@name = name
|
|
72
79
|
@language = language
|
|
73
80
|
@steps = steps
|
|
@@ -89,6 +96,7 @@ module Cucumber
|
|
|
89
96
|
new(
|
|
90
97
|
id: hash[:id],
|
|
91
98
|
uri: hash[:uri],
|
|
99
|
+
location: Location.from_h(hash[:location]),
|
|
92
100
|
name: hash[:name],
|
|
93
101
|
language: hash[:language],
|
|
94
102
|
steps: hash[:steps]&.map { |item| PickleStep.from_h(item) },
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cucumber-messages
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 31.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aslak Hellesøy
|
|
@@ -215,5 +215,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
215
215
|
requirements: []
|
|
216
216
|
rubygems_version: 3.6.9
|
|
217
217
|
specification_version: 4
|
|
218
|
-
summary: cucumber-messages-
|
|
218
|
+
summary: cucumber-messages-31.0.0
|
|
219
219
|
test_files: []
|