cucumber-core 5.0.0 → 7.1.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.
@@ -1,5 +1,4 @@
1
1
  # frozen_string_literal: true
2
- require 'cucumber/core/test/location'
3
2
  require 'cucumber/core/test/doc_string'
4
3
  require 'unindent'
5
4
 
@@ -7,11 +6,10 @@ module Cucumber
7
6
  module Core
8
7
  module Test
9
8
  describe DocString do
10
- let(:location) { double }
11
- let(:doc_string) { DocString.new(content, content_type, location) }
9
+ let(:doc_string) { DocString.new(content, content_type) }
12
10
 
13
11
  describe "#data_table?" do
14
- let(:doc_string) { DocString.new("test", "text/plain" , location) }
12
+ let(:doc_string) { DocString.new("test", "text/plain" ) }
15
13
 
16
14
  it "returns false" do
17
15
  expect(doc_string).not_to be_data_table
@@ -19,7 +17,7 @@ module Cucumber
19
17
  end
20
18
 
21
19
  describe "#doc_string" do
22
- let(:doc_string) { DocString.new("test", "text/plain" , location) }
20
+ let(:doc_string) { DocString.new("test", "text/plain" ) }
23
21
 
24
22
  it "returns true" do
25
23
  expect(doc_string).to be_doc_string
@@ -48,15 +46,15 @@ module Cucumber
48
46
  let(:content_type) { 'text/plain' }
49
47
 
50
48
  it 'is equal to another DocString with the same content and content_type' do
51
- expect( doc_string ).to eq DocString.new(content, content_type, location)
49
+ expect( doc_string ).to eq DocString.new(content, content_type)
52
50
  end
53
51
 
54
52
  it 'is not equal to another DocString with different content' do
55
- expect( doc_string ).not_to eq DocString.new('bar', content_type, location)
53
+ expect( doc_string ).not_to eq DocString.new('bar', content_type)
56
54
  end
57
55
 
58
56
  it 'is not equal to another DocString with different content_type' do
59
- expect( doc_string ).not_to eq DocString.new(content, 'text/html', location)
57
+ expect( doc_string ).not_to eq DocString.new(content, 'text/html')
60
58
  end
61
59
 
62
60
  it 'is equal to a string with the same content' do
@@ -96,13 +94,12 @@ module Cucumber
96
94
  end
97
95
 
98
96
  context "inspect" do
99
- let(:location) { Test::Location.new("features/feature.feature", 8) }
100
97
  let(:content_type) { 'text/plain' }
101
98
 
102
99
  it "provides a useful inspect method" do
103
- doc_string = DocString.new("some text", content_type, location)
100
+ doc_string = DocString.new("some text", content_type)
104
101
  expect(doc_string.inspect).to eq <<-END.chomp.unindent
105
- #<Cucumber::Core::Test::DocString (features/feature.feature:8)
102
+ #<Cucumber::Core::Test::DocString
106
103
  """text/plain
107
104
  some text
108
105
  """>
@@ -100,14 +100,17 @@ module Cucumber::Core::Test
100
100
 
101
101
  context "when the location is neither below pwd nor in an installed gem" do
102
102
  it "use the absolute path to the file" do
103
- expect( Location.from_source_location("/path/file.rb", 1).file ).to eq "/path/file.rb"
103
+ # Use File.expand on expectation to ensure tests work on multiple platform.
104
+ # On Windows, it will return "C:/path/file.rb" as an absolute path while it will return "/path/file.rb" on Linux.
105
+ expect( Location.from_source_location("/path/file.rb", 1).file ).to eq File.expand_path("/path/file.rb")
104
106
  end
105
107
  end
106
108
  end
107
109
 
108
110
  describe "created from file-colon-line" do
109
111
  it "handles also Windows paths" do
110
- expect( Location.from_file_colon_line("c:\path\file.rb:123").file ).to eq "c:\path\file.rb"
112
+ # Note: running this test on Windows will produce "c:/path/file.rb", but "c:\path\file.rb" on Linux.
113
+ expect( Location.from_file_colon_line("c:\\path\\file.rb:123").file ).to match(/c:(\\|\/)path(\\|\/)file.rb/)
111
114
  end
112
115
  end
113
116
 
@@ -23,6 +23,11 @@ module Cucumber::Core::Test
23
23
  expect( result.to_s ).to eq "✓"
24
24
  end
25
25
 
26
+ it "converts to a Cucumber::Message::TestResult" do
27
+ message = result.to_message
28
+ expect(message.status).to eq(Cucumber::Messages::TestStepFinished::TestStepResult::Status::PASSED)
29
+ end
30
+
26
31
  it "has a duration" do
27
32
  expect( result.duration ).to eq duration
28
33
  end
@@ -68,6 +73,11 @@ module Cucumber::Core::Test
68
73
  expect( result.duration ).to eq duration
69
74
  end
70
75
 
76
+ it "converts to a Cucumber::Message::TestResult" do
77
+ message = result.to_message
78
+ expect(message.status).to eq(Cucumber::Messages::TestStepFinished::TestStepResult::Status::FAILED)
79
+ end
80
+
71
81
  it "requires both constructor arguments" do
72
82
  expect { Result::Failed.new }.to raise_error(ArgumentError)
73
83
  expect { Result::Failed.new(duration) }.to raise_error(ArgumentError)
@@ -131,6 +141,11 @@ module Cucumber::Core::Test
131
141
  specify { expect( result ).to be_unknown }
132
142
  specify { expect( result ).not_to be_skipped }
133
143
  specify { expect( result ).not_to be_flaky }
144
+
145
+ it "converts to a Cucumber::Message::TestResult" do
146
+ message = result.to_message
147
+ expect(message.status).to eq(Cucumber::Messages::TestStepFinished::TestStepResult::Status::UNKNOWN)
148
+ end
134
149
  end
135
150
 
136
151
  describe Result::Raisable do
@@ -190,6 +205,11 @@ module Cucumber::Core::Test
190
205
  result.describe_to(visitor, args)
191
206
  end
192
207
 
208
+ it "converts to a Cucumber::Message::TestResult" do
209
+ message = result.to_message
210
+ expect(message.status).to eq(Cucumber::Messages::TestStepFinished::TestStepResult::Status::UNDEFINED)
211
+ end
212
+
193
213
  specify { expect( result.to_sym ).to eq :undefined }
194
214
 
195
215
  specify { expect( result ).not_to be_passed }
@@ -214,6 +234,11 @@ module Cucumber::Core::Test
214
234
  result.describe_to(visitor, args)
215
235
  end
216
236
 
237
+ it "converts to a Cucumber::Message::TestResult" do
238
+ message = result.to_message
239
+ expect(message.status).to eq(Cucumber::Messages::TestStepFinished::TestStepResult::Status::SKIPPED)
240
+ end
241
+
217
242
  specify { expect( result.to_sym ).to eq :skipped }
218
243
 
219
244
  specify { expect( result ).not_to be_passed }
@@ -236,6 +261,11 @@ module Cucumber::Core::Test
236
261
  result.describe_to(visitor, args)
237
262
  end
238
263
 
264
+ it "converts to a Cucumber::Message::TestResult" do
265
+ message = result.to_message
266
+ expect(message.status).to eq(Cucumber::Messages::TestStepFinished::TestStepResult::Status::PENDING)
267
+ end
268
+
239
269
  specify { expect( result.to_sym ).to eq :pending }
240
270
 
241
271
  specify { expect( result ).not_to be_passed }
@@ -259,7 +289,7 @@ module Cucumber::Core::Test
259
289
 
260
290
  describe Result::StrictConfiguration do
261
291
  subject(:strict_configuration) { Result::StrictConfiguration.new}
262
-
292
+
263
293
  describe '#set_strict' do
264
294
  context 'no type argument' do
265
295
  it 'sets all result types to the setting argument' do
@@ -7,19 +7,21 @@ require 'cucumber/core/test/duration_matcher'
7
7
  module Cucumber::Core::Test
8
8
  describe Runner do
9
9
 
10
+ let(:step_id) { double }
11
+ let(:test_id) { double }
10
12
  let(:name) { double }
11
13
  let(:location) { double }
12
14
  let(:tags) { double }
13
15
  let(:language) { double }
14
- let(:test_case) { Case.new(name, test_steps, location, tags, language) }
16
+ let(:test_case) { Case.new(test_id, name, test_steps, location, tags, language) }
15
17
  let(:text) { double }
16
18
  let(:runner) { Runner.new(event_bus) }
17
19
  let(:event_bus) { double.as_null_object }
18
- let(:passing) { Step.new(text, location, location).with_action {} }
19
- let(:failing) { Step.new(text, location, location).with_action { raise exception } }
20
- let(:pending) { Step.new(text, location, location).with_action { raise Result::Pending.new("TODO") } }
21
- let(:skipping) { Step.new(text, location, location).with_action { raise Result::Skipped.new } }
22
- let(:undefined) { Step.new(text, location, location) }
20
+ let(:passing) { Step.new(step_id, text, location, location).with_action {} }
21
+ let(:failing) { Step.new(step_id, text, location, location).with_action { raise exception } }
22
+ let(:pending) { Step.new(step_id, text, location, location).with_action { raise Result::Pending.new("TODO") } }
23
+ let(:skipping) { Step.new(step_id, text, location, location).with_action { raise Result::Skipped.new } }
24
+ let(:undefined) { Step.new(step_id, text, location, location) }
23
25
  let(:exception) { StandardError.new('test error') }
24
26
 
25
27
  before do
@@ -223,8 +225,8 @@ module Cucumber::Core::Test
223
225
 
224
226
  context 'with multiple test cases' do
225
227
  context 'when the first test case fails' do
226
- let(:first_test_case) { Case.new(name, [failing], location, tags, language) }
227
- let(:last_test_case) { Case.new(name, [passing], location, tags, language) }
228
+ let(:first_test_case) { Case.new(test_id, name, [failing], location, tags, language) }
229
+ let(:last_test_case) { Case.new(test_id, name, [passing], location, tags, language) }
228
230
  let(:test_cases) { [first_test_case, last_test_case] }
229
231
 
230
232
  it 'reports the results correctly for the following test case' do
@@ -244,9 +246,9 @@ module Cucumber::Core::Test
244
246
  hook_mapping = UnskippableAction.new do |last_result|
245
247
  result_spy = last_result
246
248
  end
247
- after_hook = HookStep.new(text, location, hook_mapping)
248
- failing_step = Step.new(text, location).with_action { fail }
249
- test_case = Case.new(name, [failing_step, after_hook], location, tags, language)
249
+ after_hook = HookStep.new(step_id, text, location, hook_mapping)
250
+ failing_step = Step.new(step_id, text, location).with_action { fail }
251
+ test_case = Case.new(test_id, name, [failing_step, after_hook], location, tags, language)
250
252
  test_case.describe_to runner
251
253
  expect(result_spy).to be_failed
252
254
  end
@@ -256,8 +258,8 @@ module Cucumber::Core::Test
256
258
  context "with around hooks" do
257
259
  it "passes normally when around hooks don't fail" do
258
260
  around_hook = AroundHook.new { |block| block.call }
259
- passing_step = Step.new(text, location, location).with_action {}
260
- test_case = Case.new(name, [passing_step], location, tags, language, [around_hook])
261
+ passing_step = Step.new(step_id, text, location, location).with_action {}
262
+ test_case = Case.new(test_id, name, [passing_step], location, tags, language, [around_hook])
261
263
  expect(event_bus).to receive(:test_case_finished).with(test_case, anything) do |reported_test_case, result|
262
264
  expect(result).to be_passed
263
265
  end
@@ -266,8 +268,8 @@ module Cucumber::Core::Test
266
268
 
267
269
  it "gets a failed result if the Around hook fails before the test case is run" do
268
270
  around_hook = AroundHook.new { |block| raise exception }
269
- passing_step = Step.new(text, location, location).with_action {}
270
- test_case = Case.new(name, [passing_step], location, tags, language, [around_hook])
271
+ passing_step = Step.new(step_id, text, location, location).with_action {}
272
+ test_case = Case.new(test_id, name, [passing_step], location, tags, language, [around_hook])
271
273
  expect(event_bus).to receive(:test_case_finished).with(test_case, anything) do |reported_test_case, result|
272
274
  expect(result).to be_failed
273
275
  expect(result.exception).to eq exception
@@ -277,8 +279,8 @@ module Cucumber::Core::Test
277
279
 
278
280
  it "gets a failed result if the Around hook fails after the test case is run" do
279
281
  around_hook = AroundHook.new { |block| block.call; raise exception }
280
- passing_step = Step.new(text, location, location).with_action {}
281
- test_case = Case.new(name, [passing_step], location, tags, language, [around_hook])
282
+ passing_step = Step.new(step_id, text, location, location).with_action {}
283
+ test_case = Case.new(test_id, name, [passing_step], location, tags, language, [around_hook])
282
284
  expect(event_bus).to receive(:test_case_finished).with(test_case, anything) do |reported_test_case, result|
283
285
  expect(result).to be_failed
284
286
  expect(result.exception).to eq exception
@@ -288,8 +290,8 @@ module Cucumber::Core::Test
288
290
 
289
291
  it "fails when a step fails if the around hook works" do
290
292
  around_hook = AroundHook.new { |block| block.call }
291
- failing_step = Step.new(text, location, location).with_action { raise exception }
292
- test_case = Case.new(name, [failing_step], location, tags, language, [around_hook])
293
+ failing_step = Step.new(step_id, text, location, location).with_action { raise exception }
294
+ test_case = Case.new(test_id, name, [failing_step], location, tags, language, [around_hook])
293
295
  expect(event_bus).to receive(:test_case_finished).with(test_case, anything) do |reported_test_case, result|
294
296
  expect(result).to be_failed
295
297
  expect(result.exception).to eq exception
@@ -299,8 +301,8 @@ module Cucumber::Core::Test
299
301
 
300
302
  it "sends after_test_step for a step interrupted by (a timeout in) the around hook" do
301
303
  around_hook = AroundHook.new { |block| block.call; raise exception }
302
- passing_step = Step.new(text, location, location).with_action {}
303
- test_case = Case.new(name, [], location, tags, language, [around_hook])
304
+ passing_step = Step.new(step_id, text, location, location).with_action {}
305
+ test_case = Case.new(test_id, name, [], location, tags, language, [around_hook])
304
306
  allow(runner).to receive(:running_test_step).and_return(passing_step)
305
307
  expect(event_bus).to receive(:test_step_finished).with(passing_step, anything) do |reported_test_case, result|
306
308
  expect(result).to be_failed
@@ -3,6 +3,7 @@ require 'cucumber/core/test/step'
3
3
 
4
4
  module Cucumber::Core::Test
5
5
  describe Step do
6
+ let(:id) { 'some-random-uid' }
6
7
  let(:text) { 'step text' }
7
8
  let(:location) { double }
8
9
 
@@ -10,7 +11,7 @@ module Cucumber::Core::Test
10
11
  it "describes itself to a visitor" do
11
12
  visitor = double
12
13
  args = double
13
- test_step = Step.new(text, location)
14
+ test_step = Step.new(id, text, location)
14
15
  expect( visitor ).to receive(:test_step).with(test_step, args)
15
16
  test_step.describe_to(visitor, args)
16
17
  end
@@ -19,7 +20,7 @@ module Cucumber::Core::Test
19
20
  describe "backtrace line" do
20
21
  let(:text) { 'this step passes' }
21
22
  let(:location) { Location.new('path/file.feature', 10) }
22
- let(:test_step) { Step.new(text, location) }
23
+ let(:test_step) { Step.new(id, text, location) }
23
24
 
24
25
  it "knows how to form the backtrace line" do
25
26
  expect( test_step.backtrace_line ).to eq("path/file.feature:10:in `this step passes'")
@@ -30,7 +31,7 @@ module Cucumber::Core::Test
30
31
  it "passes arbitrary arguments to the action's block" do
31
32
  args_spy = nil
32
33
  expected_args = [double, double]
33
- test_step = Step.new(text, location).with_action do |*actual_args|
34
+ test_step = Step.new(id, text, location).with_action do |*actual_args|
34
35
  args_spy = actual_args
35
36
  end
36
37
  test_step.execute(*expected_args)
@@ -39,7 +40,7 @@ module Cucumber::Core::Test
39
40
 
40
41
  context "when a passing action exists" do
41
42
  it "returns a passing result" do
42
- test_step = Step.new(text, location).with_action {}
43
+ test_step = Step.new(id, text, location).with_action {}
43
44
  expect( test_step.execute ).to be_passed
44
45
  end
45
46
  end
@@ -48,7 +49,7 @@ module Cucumber::Core::Test
48
49
  let(:exception) { StandardError.new('oops') }
49
50
 
50
51
  it "returns a failing result" do
51
- test_step = Step.new(text, location).with_action { raise exception }
52
+ test_step = Step.new(id, text, location).with_action { raise exception }
52
53
  result = test_step.execute
53
54
  expect( result ).to be_failed
54
55
  expect( result.exception ).to eq exception
@@ -57,7 +58,7 @@ module Cucumber::Core::Test
57
58
 
58
59
  context "with no action" do
59
60
  it "returns an Undefined result" do
60
- test_step = Step.new(text, location)
61
+ test_step = Step.new(id, text, location)
61
62
  result = test_step.execute
62
63
  expect( result ).to be_undefined
63
64
  end
@@ -65,7 +66,7 @@ module Cucumber::Core::Test
65
66
  end
66
67
 
67
68
  it "exposes the text and location of as attributes" do
68
- test_step = Step.new(text, location)
69
+ test_step = Step.new(id, text, location)
69
70
  expect( test_step.text ).to eq text
70
71
  expect( test_step.location ).to eq location
71
72
  end
@@ -73,13 +74,13 @@ module Cucumber::Core::Test
73
74
  it "exposes the location of the action as attribute" do
74
75
  location = double
75
76
  action = double(location: location)
76
- test_step = Step.new(text, location, action)
77
+ test_step = Step.new(id, text, location, action)
77
78
  expect( test_step.action_location ).to eq location
78
79
  end
79
80
 
80
81
  it "returns the text when converted to a string" do
81
82
  text = 'a passing step'
82
- test_step = Step.new(text, location)
83
+ test_step = Step.new(id, text, location)
83
84
  expect( test_step.to_s ).to eq 'a passing step'
84
85
  end
85
86
 
@@ -170,7 +170,7 @@ module Cucumber
170
170
  context "with around hooks" do
171
171
  class WithAroundHooks < Core::Filter.new(:logger)
172
172
  def test_case(test_case)
173
- base_step = Core::Test::Step.new('text', nil, nil, nil)
173
+ base_step = Core::Test::Step.new('some-random-uid', 'text', nil, nil, nil)
174
174
  test_steps = [
175
175
  base_step.with_action { logger << :step },
176
176
  ]
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: 5.0.0
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
@@ -9,169 +9,171 @@ authors:
9
9
  - Steve Tooke
10
10
  - Oleg Sukhodolsky
11
11
  - Tom Brand
12
- autorequire:
12
+ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2019-08-15 00:00:00.000000000 Z
15
+ date: 2020-07-01 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
- name: gherkin
18
+ name: cucumber-gherkin
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
21
  - - "~>"
22
22
  - !ruby/object:Gem::Version
23
- version: '7.0'
23
+ version: '14.0'
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 7.0.3
26
+ version: 14.0.1
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: '7.0'
33
+ version: '14.0'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 7.0.3
36
+ version: 14.0.1
37
37
  - !ruby/object:Gem::Dependency
38
- name: cucumber-tag_expressions
38
+ name: cucumber-messages
39
39
  requirement: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - "~>"
42
- - !ruby/object:Gem::Version
43
- version: '2.0'
44
41
  - - ">="
45
42
  - !ruby/object:Gem::Version
46
- version: 2.0.2
43
+ version: 12.2.0
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '12.2'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '2.0'
54
51
  - - ">="
55
52
  - !ruby/object:Gem::Version
56
- version: 2.0.2
53
+ version: 12.2.0
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '12.2'
57
57
  - !ruby/object:Gem::Dependency
58
- name: backports
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: '3.15'
63
+ version: '2.0'
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 3.15.0
66
+ version: 2.0.4
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: '3.15'
73
+ version: '2.0'
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 3.15.0
76
+ version: 2.0.4
77
77
  - !ruby/object:Gem::Dependency
78
- name: bundler
78
+ name: coveralls
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '0.8'
81
84
  - - ">="
82
85
  - !ruby/object:Gem::Version
83
- version: 1.16.0
86
+ version: 0.8.23
84
87
  type: :development
85
88
  prerelease: false
86
89
  version_requirements: !ruby/object:Gem::Requirement
87
90
  requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '0.8'
88
94
  - - ">="
89
95
  - !ruby/object:Gem::Version
90
- version: 1.16.0
96
+ version: 0.8.23
91
97
  - !ruby/object:Gem::Dependency
92
98
  name: rake
93
99
  requirement: !ruby/object:Gem::Requirement
94
100
  requirements:
95
101
  - - ">="
96
102
  - !ruby/object:Gem::Version
97
- version: 0.9.2
98
- type: :development
99
- prerelease: false
100
- version_requirements: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: 0.9.2
105
- - !ruby/object:Gem::Dependency
106
- name: rspec
107
- requirement: !ruby/object:Gem::Requirement
108
- requirements:
103
+ version: 13.0.0
109
104
  - - "~>"
110
105
  - !ruby/object:Gem::Version
111
- version: '3.6'
106
+ version: '13.0'
112
107
  type: :development
113
108
  prerelease: false
114
109
  version_requirements: !ruby/object:Gem::Requirement
115
110
  requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 13.0.0
116
114
  - - "~>"
117
115
  - !ruby/object:Gem::Version
118
- version: '3.6'
116
+ version: '13.0'
119
117
  - !ruby/object:Gem::Dependency
120
- name: unindent
118
+ name: rubocop
121
119
  requirement: !ruby/object:Gem::Requirement
122
120
  requirements:
123
121
  - - ">="
124
122
  - !ruby/object:Gem::Version
125
- version: '1.0'
126
- type: :development
127
- prerelease: false
128
- version_requirements: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: '1.0'
133
- - !ruby/object:Gem::Dependency
134
- name: kramdown
135
- requirement: !ruby/object:Gem::Requirement
136
- requirements:
123
+ version: 0.78.0
137
124
  - - "~>"
138
125
  - !ruby/object:Gem::Version
139
- version: 1.4.2
126
+ version: '0.78'
140
127
  type: :development
141
128
  prerelease: false
142
129
  version_requirements: !ruby/object:Gem::Requirement
143
130
  requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: 0.78.0
144
134
  - - "~>"
145
135
  - !ruby/object:Gem::Version
146
- version: 1.4.2
136
+ version: '0.78'
147
137
  - !ruby/object:Gem::Dependency
148
- name: yard
138
+ name: rspec
149
139
  requirement: !ruby/object:Gem::Requirement
150
140
  requirements:
151
141
  - - ">="
152
142
  - !ruby/object:Gem::Version
153
- version: '0'
143
+ version: 3.9.0
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '3.9'
154
147
  type: :development
155
148
  prerelease: false
156
149
  version_requirements: !ruby/object:Gem::Requirement
157
150
  requirements:
158
151
  - - ">="
159
152
  - !ruby/object:Gem::Version
160
- version: '0'
153
+ version: 3.9.0
154
+ - - "~>"
155
+ - !ruby/object:Gem::Version
156
+ version: '3.9'
161
157
  - !ruby/object:Gem::Dependency
162
- name: coveralls
158
+ name: unindent
163
159
  requirement: !ruby/object:Gem::Requirement
164
160
  requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: '1.0'
165
164
  - - "~>"
166
165
  - !ruby/object:Gem::Version
167
- version: '0.7'
166
+ version: '1.0'
168
167
  type: :development
169
168
  prerelease: false
170
169
  version_requirements: !ruby/object:Gem::Requirement
171
170
  requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '1.0'
172
174
  - - "~>"
173
175
  - !ruby/object:Gem::Version
174
- version: '0.7'
176
+ version: '1.0'
175
177
  description: Core library for the Cucumber BDD app
176
178
  email: cukes@googlegroups.com
177
179
  executables: []
@@ -244,7 +246,7 @@ metadata:
244
246
  documentation_uri: https://www.rubydoc.info/github/cucumber/cucumber-ruby-core
245
247
  mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
246
248
  source_code_uri: https://github.com/cucumber/cucumber-ruby-core
247
- post_install_message:
249
+ post_install_message:
248
250
  rdoc_options:
249
251
  - "--charset=UTF-8"
250
252
  require_paths:
@@ -253,18 +255,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
255
  requirements:
254
256
  - - ">="
255
257
  - !ruby/object:Gem::Version
256
- version: '2.2'
258
+ version: '2.3'
257
259
  required_rubygems_version: !ruby/object:Gem::Requirement
258
260
  requirements:
259
261
  - - ">="
260
262
  - !ruby/object:Gem::Version
261
263
  version: '0'
262
264
  requirements: []
263
- rubyforge_project:
264
- rubygems_version: 2.6.14.4
265
- signing_key:
265
+ rubygems_version: 3.0.6
266
+ signing_key:
266
267
  specification_version: 4
267
- summary: cucumber-core-5.0.0
268
+ summary: cucumber-core-7.1.0
268
269
  test_files:
269
270
  - spec/cucumber/core/test/runner_spec.rb
270
271
  - spec/cucumber/core/test/doc_string_spec.rb