cucumber-core 8.0.1 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -9
- data/CONTRIBUTING.md +0 -2
- data/README.md +0 -2
- data/lib/cucumber/core/compiler.rb +3 -3
- data/lib/cucumber/core/event.rb +3 -3
- data/lib/cucumber/core/event_bus.rb +1 -1
- data/lib/cucumber/core/events.rb +0 -1
- data/lib/cucumber/core/gherkin/writer.rb +15 -5
- data/lib/cucumber/core/gherkin/writer/helpers.rb +2 -2
- data/lib/cucumber/core/test/action.rb +1 -2
- data/lib/cucumber/core/test/data_table.rb +1 -1
- data/lib/cucumber/core/test/filters/activate_steps_for_self_test.rb +0 -1
- data/lib/cucumber/core/test/result.rb +4 -4
- data/lib/cucumber/core/test/timer.rb +2 -2
- data/lib/cucumber/core/version.rb +1 -1
- data/spec/coverage.rb +0 -1
- data/spec/cucumber/core/compiler_spec.rb +1 -1
- data/spec/cucumber/core/event_bus_spec.rb +2 -2
- data/spec/cucumber/core/event_spec.rb +3 -3
- data/spec/cucumber/core/filter_spec.rb +2 -2
- data/spec/cucumber/core/gherkin/parser_spec.rb +1 -1
- data/spec/cucumber/core/gherkin/writer_spec.rb +0 -1
- data/spec/cucumber/core/test/action_spec.rb +1 -2
- data/spec/cucumber/core/test/data_table_spec.rb +6 -6
- data/spec/cucumber/core/test/location_spec.rb +7 -7
- data/spec/cucumber/core/test/result_spec.rb +10 -10
- data/spec/cucumber/core_spec.rb +1 -1
- metadata +62 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeb7e9695298dfc63cddf549b2522341be7321f72fbd62b5d1c9f27aaf4209e5
|
4
|
+
data.tar.gz: d382bca49b619bede78e599748bf07b69c3041d1d4a0124ce77dde76d58865cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0fbe65ed295c80bdea85ad91574edeefb12b4689ada4cad11aab513c7c5acc0f080f5872b9a733b22d005e3db7db32e06ff8a24fced4041bb5e334e50fd2bce
|
7
|
+
data.tar.gz: b143b5bbefc63fb2dc5b36595c46588a90dfc23dbeaa5847ef9388796597d0635847f78a76237393d5d7d7ac946f84976871c0043850f712dac770cb2e634697
|
data/CHANGELOG.md
CHANGED
@@ -1,26 +1,31 @@
|
|
1
1
|
Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) on how to contribute to Cucumber.
|
2
2
|
|
3
|
-
## [In GIT](https://github.com/cucumber/cucumber-ruby-core/compare/
|
3
|
+
## [In GIT](https://github.com/cucumber/cucumber-ruby-core/compare/v9.0.0...master)
|
4
4
|
|
5
5
|
### Added
|
6
6
|
|
7
7
|
### Changed
|
8
8
|
|
9
|
-
###
|
9
|
+
### Deprecate
|
10
10
|
|
11
11
|
### Removed
|
12
12
|
|
13
13
|
### Fixed
|
14
14
|
|
15
|
-
|
15
|
+
### Dependencies
|
16
|
+
|
17
|
+
## [9.0.0](https://github.com/cucumber/cucumber-ruby-core/compare/v8.0.1...v9.0.0)
|
18
|
+
|
19
|
+
### Dependencies
|
20
|
+
|
21
|
+
* Upgraded to gherkin v18 and messages v15
|
22
|
+
* Updated other dependencies (look at the diff for details)
|
16
23
|
|
17
24
|
## [8.0.1](https://github.com/cucumber/cucumber-ruby-core/compare/v8.0.0...v8.0.1)
|
18
25
|
|
19
26
|
### Fixed
|
20
27
|
|
21
|
-
* Make
|
22
|
-
|
23
|
-
### Dependencies
|
28
|
+
* Make releases from docker using secrets from keybase
|
24
29
|
|
25
30
|
## [8.0.0](https://github.com/cucumber/cucumber-ruby-core/compare/v7.1.0...v8.0.0)
|
26
31
|
|
@@ -28,9 +33,7 @@ This release failed
|
|
28
33
|
|
29
34
|
### Dependencies
|
30
35
|
|
31
|
-
* Updated
|
32
|
-
* `cucumber-gherkin`
|
33
|
-
* `cucumber-messages`
|
36
|
+
* Updated dependencies (look at the diff for details)
|
34
37
|
|
35
38
|
## [7.1.0](https://github.com/cucumber/cucumber-ruby-core/compare/v7.0.0...v7.1.0)
|
36
39
|
|
data/CONTRIBUTING.md
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# cucumber-core
|
2
2
|
|
3
|
-
[![Chat with us](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cucumber/cucumber-ruby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
4
3
|
[![CircleCI](https://circleci.com/gh/cucumber/cucumber-ruby-core.svg?style=svg)](https://circleci.com/gh/cucumber/cucumber-ruby-core)
|
5
|
-
[![Build Status](https://travis-ci.org/cucumber/cucumber-ruby-core.svg?branch=master)](https://travis-ci.org/cucumber/cucumber-ruby-core)
|
6
4
|
[![Code Climate](https://codeclimate.com/github/cucumber/cucumber-ruby-core.svg)](https://codeclimate.com/github/cucumber/cucumber-ruby-core)
|
7
5
|
[![Coverage Status](https://coveralls.io/repos/cucumber/cucumber-ruby-core/badge.svg?branch=master)](https://coveralls.io/r/cucumber/cucumber-ruby-core?branch=master)
|
8
6
|
|
@@ -40,7 +40,7 @@ module Cucumber
|
|
40
40
|
lines = source_lines_for_pickle(pickle).sort.reverse
|
41
41
|
tags = pickle.tags.map { |tag| Test::Tag.new(Test::Location.new(uri, source_line_for_pickle_tag(tag)), tag.name) }
|
42
42
|
test_case = Test::Case.new(id_generator.new_id, pickle.name, test_steps, Test::Location.new(uri, lines), tags, pickle.language)
|
43
|
-
@event_bus
|
43
|
+
@event_bus&.test_case_created(test_case, pickle)
|
44
44
|
test_case
|
45
45
|
end
|
46
46
|
|
@@ -48,11 +48,11 @@ module Cucumber
|
|
48
48
|
lines = source_lines_for_pickle_step(pickle_step).sort.reverse
|
49
49
|
multiline_arg = create_multiline_arg(pickle_step, uri)
|
50
50
|
step = Test::Step.new(id_generator.new_id, pickle_step.text, Test::Location.new(uri, lines), multiline_arg)
|
51
|
-
@event_bus
|
51
|
+
@event_bus&.test_step_created(step, pickle_step)
|
52
52
|
step
|
53
53
|
end
|
54
54
|
|
55
|
-
def create_multiline_arg(pickle_step,
|
55
|
+
def create_multiline_arg(pickle_step, _uri)
|
56
56
|
if pickle_step.argument
|
57
57
|
if pickle_step.argument.doc_string
|
58
58
|
doc_string = pickle_step.argument.doc_string
|
data/lib/cucumber/core/event.rb
CHANGED
@@ -22,7 +22,7 @@ module Cucumber
|
|
22
22
|
end
|
23
23
|
|
24
24
|
define_method(:to_h) do
|
25
|
-
attributes.reduce({}) { |result, attribute|
|
25
|
+
attributes.reduce({}) { |result, attribute|
|
26
26
|
value = self.send(attribute)
|
27
27
|
result[attribute] = value
|
28
28
|
result
|
@@ -48,8 +48,8 @@ module Cucumber
|
|
48
48
|
|
49
49
|
def underscore(string)
|
50
50
|
string.to_s.gsub(/::/, '/').
|
51
|
-
gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
|
52
|
-
gsub(/([a-z\d])([A-Z])/,'\1_\2').
|
51
|
+
gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2').
|
52
|
+
gsub(/([a-z\d])([A-Z])/, '\1_\2').
|
53
53
|
tr("-", "_").
|
54
54
|
downcase
|
55
55
|
end
|
data/lib/cucumber/core/events.rb
CHANGED
@@ -60,12 +60,14 @@ module Cucumber
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def statements
|
63
|
-
prepare_statements
|
63
|
+
prepare_statements(
|
64
|
+
language_statement,
|
64
65
|
comments_statement,
|
65
66
|
tag_statement,
|
66
67
|
name_statement,
|
67
68
|
description_statement,
|
68
69
|
NEW_LINE
|
70
|
+
)
|
69
71
|
end
|
70
72
|
|
71
73
|
def language_statement
|
@@ -85,10 +87,12 @@ module Cucumber
|
|
85
87
|
|
86
88
|
private
|
87
89
|
def statements
|
88
|
-
prepare_statements
|
90
|
+
prepare_statements(
|
91
|
+
comments_statement,
|
89
92
|
tag_statement,
|
90
93
|
name_statement,
|
91
94
|
description_statement
|
95
|
+
)
|
92
96
|
end
|
93
97
|
end
|
94
98
|
|
@@ -104,10 +108,12 @@ module Cucumber
|
|
104
108
|
|
105
109
|
private
|
106
110
|
def statements
|
107
|
-
prepare_statements
|
111
|
+
prepare_statements(
|
112
|
+
comments_statement,
|
108
113
|
name_statement,
|
109
114
|
description_statement,
|
110
115
|
NEW_LINE
|
116
|
+
)
|
111
117
|
end
|
112
118
|
end
|
113
119
|
|
@@ -123,10 +129,12 @@ module Cucumber
|
|
123
129
|
|
124
130
|
private
|
125
131
|
def statements
|
126
|
-
prepare_statements
|
132
|
+
prepare_statements(
|
133
|
+
comments_statement,
|
127
134
|
tag_statement,
|
128
135
|
name_statement,
|
129
136
|
description_statement
|
137
|
+
)
|
130
138
|
end
|
131
139
|
end
|
132
140
|
|
@@ -235,12 +243,14 @@ module Cucumber
|
|
235
243
|
|
236
244
|
private
|
237
245
|
def statements
|
238
|
-
prepare_statements
|
246
|
+
prepare_statements(
|
247
|
+
NEW_LINE,
|
239
248
|
comments_statement,
|
240
249
|
tag_statement,
|
241
250
|
name_statement,
|
242
251
|
description_statement,
|
243
252
|
row_statements(2)
|
253
|
+
)
|
244
254
|
end
|
245
255
|
end
|
246
256
|
end
|
@@ -126,11 +126,11 @@ module Cucumber
|
|
126
126
|
module HasDescription
|
127
127
|
private
|
128
128
|
def description
|
129
|
-
options.fetch(:description
|
129
|
+
options.fetch(:description, '').split("\n").map(&:strip)
|
130
130
|
end
|
131
131
|
|
132
132
|
def description_statement
|
133
|
-
description.map { |s| indent(s,2) } unless description.empty?
|
133
|
+
description.map { |s| indent(s, 2) } unless description.empty?
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
@@ -280,7 +280,7 @@ module Cucumber
|
|
280
280
|
private :settings
|
281
281
|
|
282
282
|
def initialize(strict_types = [])
|
283
|
-
@settings =
|
283
|
+
@settings = STRICT_AFFECTED_TYPES.map { |t| [t, :default] }.to_h
|
284
284
|
strict_types.each do |type|
|
285
285
|
set_strict(true, type)
|
286
286
|
end
|
@@ -310,7 +310,7 @@ module Cucumber
|
|
310
310
|
end
|
311
311
|
|
312
312
|
def merge!(other)
|
313
|
-
settings.
|
313
|
+
settings.each_key do |type|
|
314
314
|
set_strict(other.strict?(type), type) if other.set?(type)
|
315
315
|
end
|
316
316
|
self
|
@@ -369,7 +369,7 @@ module Cucumber
|
|
369
369
|
|
370
370
|
def total(for_status = nil)
|
371
371
|
if for_status
|
372
|
-
@totals.fetch(for_status
|
372
|
+
@totals.fetch(for_status, 0)
|
373
373
|
else
|
374
374
|
@totals.reduce(0) { |total, status| total += status[1] }
|
375
375
|
end
|
@@ -383,7 +383,7 @@ module Cucumber
|
|
383
383
|
|
384
384
|
def get_total(method_name)
|
385
385
|
status = method_name.to_s.gsub('total_', '').to_sym
|
386
|
-
return @totals.fetch(status
|
386
|
+
return @totals.fetch(status, 0)
|
387
387
|
end
|
388
388
|
|
389
389
|
def increment_total(status)
|
@@ -19,7 +19,7 @@ module Cucumber
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def sec
|
22
|
-
nsec / 10
|
22
|
+
nsec / 10**9.0
|
23
23
|
end
|
24
24
|
|
25
25
|
private
|
@@ -42,7 +42,7 @@ module Cucumber
|
|
42
42
|
else
|
43
43
|
def time_in_nanoseconds
|
44
44
|
t = Time.now
|
45
|
-
t.to_i * 10
|
45
|
+
t.to_i * 10**9 + t.nsec
|
46
46
|
end
|
47
47
|
end
|
48
48
|
end
|
data/spec/coverage.rb
CHANGED
@@ -52,7 +52,7 @@ module Cucumber::Core
|
|
52
52
|
end
|
53
53
|
]
|
54
54
|
|
55
|
-
compile(gherkin_documents, event_bus) do |
|
55
|
+
compile(gherkin_documents, event_bus) do |visitor|
|
56
56
|
allow( visitor ).to receive(:test_case)
|
57
57
|
allow( visitor ).to receive(:test_step)
|
58
58
|
allow( visitor ).to receive(:done)
|
@@ -74,7 +74,7 @@ module Cucumber
|
|
74
74
|
|
75
75
|
context "#broadcast method" do
|
76
76
|
it "must be passed an instance of a registered event type" do
|
77
|
-
expect {
|
77
|
+
expect {
|
78
78
|
event_bus.broadcast Events::UnregisteredEvent
|
79
79
|
}.to raise_error(ArgumentError)
|
80
80
|
end
|
@@ -95,7 +95,7 @@ module Cucumber
|
|
95
95
|
end
|
96
96
|
|
97
97
|
it "raises an error if you use an unknown Event ID" do
|
98
|
-
expect {
|
98
|
+
expect {
|
99
99
|
event_bus.on(:some_unknown_event) { :whatever }
|
100
100
|
}.to raise_error(ArgumentError)
|
101
101
|
end
|
@@ -13,7 +13,7 @@ module Cucumber
|
|
13
13
|
|
14
14
|
it "generates events with attributes" do
|
15
15
|
my_event_type = Event.new(:foo, :bar)
|
16
|
-
my_event = my_event_type.new(1,2)
|
16
|
+
my_event = my_event_type.new(1, 2)
|
17
17
|
expect(my_event.attributes).to eq [1, 2]
|
18
18
|
expect(my_event.foo).to eq 1
|
19
19
|
expect(my_event.bar).to eq 2
|
@@ -25,13 +25,13 @@ module Cucumber
|
|
25
25
|
end
|
26
26
|
|
27
27
|
it "can be converted to a hash" do
|
28
|
-
my_event = MyEventType.new(1,2)
|
28
|
+
my_event = MyEventType.new(1, 2)
|
29
29
|
expect(my_event.to_h).to eq foo: 1, bar: 2
|
30
30
|
end
|
31
31
|
|
32
32
|
it "has an event_id" do
|
33
33
|
expect(MyEventType.event_id).to eq :my_event_type
|
34
|
-
expect(MyEventType.new(1,2).event_id).to eq :my_event_type
|
34
|
+
expect(MyEventType.new(1, 2).event_id).to eq :my_event_type
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
@@ -11,7 +11,7 @@ module Cucumber::Core
|
|
11
11
|
describe ".new" do
|
12
12
|
let(:receiver) { double.as_null_object }
|
13
13
|
|
14
|
-
let(:doc) {
|
14
|
+
let(:doc) {
|
15
15
|
gherkin do
|
16
16
|
feature do
|
17
17
|
scenario 'x' do
|
@@ -46,7 +46,7 @@ module Cucumber::Core
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
-
# You can pass the names of attributes when building a
|
49
|
+
# You can pass the names of attributes when building a
|
50
50
|
# filter, allowing you to have custom attributes.
|
51
51
|
class NamedBlankingFilter < Filter.new(:name_pattern)
|
52
52
|
def test_case(test_case)
|
@@ -17,7 +17,7 @@ module Cucumber
|
|
17
17
|
context "location" do
|
18
18
|
|
19
19
|
context "with location passed to the constructor" do
|
20
|
-
|
20
|
+
let(:location) { double }
|
21
21
|
|
22
22
|
it "returns the location passed to the constructor" do
|
23
23
|
action = Action.new(location) {}
|
@@ -151,4 +151,3 @@ module Cucumber
|
|
151
151
|
end
|
152
152
|
end
|
153
153
|
end
|
154
|
-
|
@@ -15,20 +15,20 @@ module Cucumber
|
|
15
15
|
|
16
16
|
describe "equality" do
|
17
17
|
it "is equal to another table with the same data" do
|
18
|
-
expect( DataTable.new([[1,2],[3,4]]) ).to eq DataTable.new([[1,2],[3,4]])
|
18
|
+
expect( DataTable.new([[1, 2], [3, 4]]) ).to eq DataTable.new([[1, 2], [3, 4]])
|
19
19
|
end
|
20
20
|
|
21
21
|
it "is not equal to another table with different data" do
|
22
|
-
expect( DataTable.new([[1,2],[3,4]]) ).not_to eq DataTable.new([[1,2]])
|
22
|
+
expect( DataTable.new([[1, 2], [3, 4]]) ).not_to eq DataTable.new([[1, 2]])
|
23
23
|
end
|
24
24
|
|
25
25
|
it "is not equal to a non table" do
|
26
|
-
expect( DataTable.new([[1,2],[3,4]]) ).not_to eq Object.new
|
26
|
+
expect( DataTable.new([[1, 2], [3, 4]]) ).not_to eq Object.new
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
30
|
describe "#data_table?" do
|
31
|
-
let(:table) { DataTable.new([[1,2],[3,4]]) }
|
31
|
+
let(:table) { DataTable.new([[1, 2], [3, 4]]) }
|
32
32
|
|
33
33
|
it "returns true" do
|
34
34
|
expect(table).to be_data_table
|
@@ -36,7 +36,7 @@ module Cucumber
|
|
36
36
|
end
|
37
37
|
|
38
38
|
describe "#doc_string" do
|
39
|
-
let(:table) { DataTable.new([[1,2],[3,4]]) }
|
39
|
+
let(:table) { DataTable.new([[1, 2], [3, 4]]) }
|
40
40
|
|
41
41
|
it "returns false" do
|
42
42
|
expect(table).not_to be_doc_string
|
@@ -52,7 +52,7 @@ module Cucumber
|
|
52
52
|
end
|
53
53
|
|
54
54
|
it 'returns a new table with the cells modified by the block' do
|
55
|
-
expect( table.map { |cell| "*#{cell}*" } ).to eq
|
55
|
+
expect( table.map { |cell| "*#{cell}*" } ).to eq DataTable.new([%w{*foo* *bar*}, %w{*1* *2*}])
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
@@ -19,9 +19,9 @@ module Cucumber::Core::Test
|
|
19
19
|
expect( one_location ).to eq another_location
|
20
20
|
end
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
it "is not equal to a wild card of the same file" do
|
23
|
+
expect( Location.new(file, line) ).not_to eq Location.new(file)
|
24
|
+
end
|
25
25
|
|
26
26
|
context "collections of locations" do
|
27
27
|
it "behave as expected with uniq" do
|
@@ -45,7 +45,7 @@ module Cucumber::Core::Test
|
|
45
45
|
end
|
46
46
|
|
47
47
|
it "is file:line:line:line for an arbitrary set of lines" do
|
48
|
-
expect( Location.new("foo.feature", [1,3,5]).to_s ).to eq "foo.feature:1:3:5"
|
48
|
+
expect( Location.new("foo.feature", [1, 3, 5]).to_s ).to eq "foo.feature:1:3:5"
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -88,7 +88,7 @@ module Cucumber::Core::Test
|
|
88
88
|
describe "created from source location" do
|
89
89
|
context "when the location is in the tree below pwd" do
|
90
90
|
it "create a relative path from pwd" do
|
91
|
-
expect( Location.from_source_location(Dir.pwd
|
91
|
+
expect( Location.from_source_location("#{Dir.pwd}/path/file.rb", 1).file ).to eq "path/file.rb"
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
@@ -109,7 +109,7 @@ module Cucumber::Core::Test
|
|
109
109
|
|
110
110
|
describe "created from file-colon-line" do
|
111
111
|
it "handles also Windows paths" do
|
112
|
-
#
|
112
|
+
# NOTE: running this test on Windows will produce "c:/path/file.rb", but "c:\path\file.rb" on Linux.
|
113
113
|
expect( Location.from_file_colon_line("c:\\path\\file.rb:123").file ).to match(/c:(\\|\/)path(\\|\/)file.rb/)
|
114
114
|
end
|
115
115
|
end
|
@@ -119,7 +119,7 @@ module Cucumber::Core::Test
|
|
119
119
|
expect( Location.of_caller.to_s ).to be_included_in caller[0]
|
120
120
|
end
|
121
121
|
|
122
|
-
context "when specifying additional caller depth"do
|
122
|
+
context "when specifying additional caller depth" do
|
123
123
|
it "use the location of the n:th caller" do
|
124
124
|
expect( Location.of_caller(1).to_s ).to be_included_in caller[1]
|
125
125
|
end
|
@@ -344,16 +344,16 @@ module Cucumber::Core::Test
|
|
344
344
|
describe '#merge!' do
|
345
345
|
let(:merged_configuration) { Result::StrictConfiguration.new }
|
346
346
|
it 'sets the not default values from the argument accordingly' do
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
347
|
+
strict_configuration.set_strict(false, :undefined)
|
348
|
+
strict_configuration.set_strict(false, :pending)
|
349
|
+
strict_configuration.set_strict(true, :flaky)
|
350
|
+
merged_configuration.set_strict(true, :pending)
|
351
|
+
merged_configuration.set_strict(false, :flaky)
|
352
|
+
strict_configuration.merge!(merged_configuration)
|
353
|
+
|
354
|
+
expect( strict_configuration.strict?(:undefined) ).to be_falsey
|
355
|
+
expect( strict_configuration.strict?(:pending) ).to be_truthy
|
356
|
+
expect( strict_configuration.strict?(:flaky) ).to be_falsey
|
357
357
|
end
|
358
358
|
end
|
359
359
|
end
|
data/spec/cucumber/core_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 9.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2021-04-07 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: cucumber-gherkin
|
@@ -20,60 +20,60 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "~>"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '18.1'
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 18.1.0
|
27
27
|
type: :runtime
|
28
28
|
prerelease: false
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '18.1'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
36
|
+
version: 18.1.0
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: cucumber-messages
|
39
39
|
requirement: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
43
|
+
version: '15.0'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 15.0.0
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '15.0'
|
54
54
|
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
56
|
+
version: 15.0.0
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: cucumber-tag-expressions
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '3.0'
|
64
64
|
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
66
|
+
version: 3.0.1
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
73
|
+
version: '3.0'
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
76
|
+
version: 3.0.1
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: coveralls
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,7 +103,7 @@ dependencies:
|
|
103
103
|
version: '13.0'
|
104
104
|
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version: 13.0.
|
106
|
+
version: 13.0.3
|
107
107
|
type: :development
|
108
108
|
prerelease: false
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -113,47 +113,67 @@ dependencies:
|
|
113
113
|
version: '13.0'
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 13.0.
|
116
|
+
version: 13.0.3
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rspec
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '3.10'
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 3.10.0
|
127
|
+
type: :development
|
128
|
+
prerelease: false
|
129
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '3.10'
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 3.10.0
|
117
137
|
- !ruby/object:Gem::Dependency
|
118
138
|
name: rubocop
|
119
139
|
requirement: !ruby/object:Gem::Requirement
|
120
140
|
requirements:
|
121
141
|
- - "~>"
|
122
142
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
143
|
+
version: '1.12'
|
124
144
|
- - ">="
|
125
145
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
146
|
+
version: 1.12.1
|
127
147
|
type: :development
|
128
148
|
prerelease: false
|
129
149
|
version_requirements: !ruby/object:Gem::Requirement
|
130
150
|
requirements:
|
131
151
|
- - "~>"
|
132
152
|
- !ruby/object:Gem::Version
|
133
|
-
version: '
|
153
|
+
version: '1.12'
|
134
154
|
- - ">="
|
135
155
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
156
|
+
version: 1.12.1
|
137
157
|
- !ruby/object:Gem::Dependency
|
138
|
-
name:
|
158
|
+
name: rubocop-packaging
|
139
159
|
requirement: !ruby/object:Gem::Requirement
|
140
160
|
requirements:
|
141
161
|
- - "~>"
|
142
162
|
- !ruby/object:Gem::Version
|
143
|
-
version: '
|
163
|
+
version: '0.5'
|
144
164
|
- - ">="
|
145
165
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
166
|
+
version: 0.5.1
|
147
167
|
type: :development
|
148
168
|
prerelease: false
|
149
169
|
version_requirements: !ruby/object:Gem::Requirement
|
150
170
|
requirements:
|
151
171
|
- - "~>"
|
152
172
|
- !ruby/object:Gem::Version
|
153
|
-
version: '
|
173
|
+
version: '0.5'
|
154
174
|
- - ">="
|
155
175
|
- !ruby/object:Gem::Version
|
156
|
-
version:
|
176
|
+
version: 0.5.1
|
157
177
|
- !ruby/object:Gem::Dependency
|
158
178
|
name: unindent
|
159
179
|
requirement: !ruby/object:Gem::Requirement
|
@@ -264,27 +284,27 @@ requirements: []
|
|
264
284
|
rubygems_version: 3.1.2
|
265
285
|
signing_key:
|
266
286
|
specification_version: 4
|
267
|
-
summary: cucumber-core-
|
287
|
+
summary: cucumber-core-9.0.0
|
268
288
|
test_files:
|
269
|
-
- spec/
|
289
|
+
- spec/coverage.rb
|
290
|
+
- spec/cucumber/core/compiler_spec.rb
|
291
|
+
- spec/cucumber/core/event_bus_spec.rb
|
292
|
+
- spec/cucumber/core/event_spec.rb
|
293
|
+
- spec/cucumber/core/filter_spec.rb
|
294
|
+
- spec/cucumber/core/gherkin/parser_spec.rb
|
295
|
+
- spec/cucumber/core/gherkin/writer_spec.rb
|
296
|
+
- spec/cucumber/core/report/summary_spec.rb
|
297
|
+
- spec/cucumber/core/test/action_spec.rb
|
298
|
+
- spec/cucumber/core/test/case_spec.rb
|
299
|
+
- spec/cucumber/core/test/data_table_spec.rb
|
270
300
|
- spec/cucumber/core/test/doc_string_spec.rb
|
271
|
-
- spec/cucumber/core/test/filters/locations_filter_spec.rb
|
272
|
-
- spec/cucumber/core/test/step_spec.rb
|
273
301
|
- spec/cucumber/core/test/duration_matcher.rb
|
274
|
-
- spec/cucumber/core/test/
|
275
|
-
- spec/cucumber/core/test/
|
302
|
+
- spec/cucumber/core/test/empty_multiline_argument_spec.rb
|
303
|
+
- spec/cucumber/core/test/filters/locations_filter_spec.rb
|
276
304
|
- spec/cucumber/core/test/location_spec.rb
|
277
|
-
- spec/cucumber/core/test/
|
305
|
+
- spec/cucumber/core/test/result_spec.rb
|
306
|
+
- spec/cucumber/core/test/runner_spec.rb
|
307
|
+
- spec/cucumber/core/test/step_spec.rb
|
278
308
|
- spec/cucumber/core/test/timer_spec.rb
|
279
|
-
- spec/cucumber/core/test/data_table_spec.rb
|
280
|
-
- spec/cucumber/core/test/empty_multiline_argument_spec.rb
|
281
|
-
- spec/cucumber/core/gherkin/parser_spec.rb
|
282
|
-
- spec/cucumber/core/gherkin/writer_spec.rb
|
283
|
-
- spec/cucumber/core/event_spec.rb
|
284
|
-
- spec/cucumber/core/report/summary_spec.rb
|
285
|
-
- spec/cucumber/core/compiler_spec.rb
|
286
|
-
- spec/cucumber/core/event_bus_spec.rb
|
287
|
-
- spec/cucumber/core/filter_spec.rb
|
288
309
|
- spec/cucumber/core_spec.rb
|
289
|
-
- spec/coverage.rb
|
290
310
|
- spec/report_api_spy.rb
|