cucumber 4.0.1 → 5.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ module Cucumber
19
19
  '--format=json',
20
20
  "Please use --format=message and stand-alone json-formatter.\n" \
21
21
  'json-formatter homepage: https://github.com/cucumber/cucumber/tree/master/json-formatter#cucumber-json-formatter',
22
- '5.0.0'
22
+ '6.0.0'
23
23
  )
24
24
 
25
25
  @io = ensure_io(config.out_stream)
@@ -106,7 +106,7 @@ module Cucumber
106
106
  write_file(feature_result_filename(feature_data[:uri]), @testsuite.target!)
107
107
  end
108
108
 
109
- def create_output_string(test_case, scenario, result, row_name) # rubocop:disable Metrics/PerceivedComplexity
109
+ def create_output_string(test_case, scenario, result, row_name)
110
110
  scenario_source = @ast_lookup.scenario_source(test_case)
111
111
  keyword = scenario_source.type == :Scenario ? scenario_source.scenario.keyword : scenario_source.scenario_outline.keyword
112
112
  output = "#{keyword}: #{scenario}\n\n"
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'cucumber/term/banner'
4
+
5
+ module Cucumber
6
+ module Formatter
7
+ class PublishBannerPrinter
8
+ include Term::Banner
9
+
10
+ def initialize(configuration)
11
+ return if configuration.publish_enabled?
12
+
13
+ configuration.on_event :test_run_finished do |_event|
14
+ display_publish_ad(configuration.error_stream)
15
+ end
16
+ end
17
+
18
+ # rubocop:disable Metrics/MethodLength
19
+ def display_publish_ad(io)
20
+ display_banner(
21
+ [
22
+ [
23
+ 'Share your Cucumber Report with your team at ',
24
+ link('https://reports.cucumber.io')
25
+ ],
26
+ '',
27
+ [
28
+ 'Command line option: ',
29
+ highlight('--publish')
30
+ ],
31
+ [
32
+ 'Environment variable: ',
33
+ highlight('CUCUMBER_PUBLISH_ENABLED'),
34
+ '=',
35
+ highlight('true')
36
+ ],
37
+ [
38
+ 'cucumber.yml: ',
39
+ highlight('default: --publish')
40
+ ],
41
+ '',
42
+ [
43
+ 'More information at ',
44
+ link('https://reports.cucumber.io/docs/cucumber-ruby')
45
+ ],
46
+ '',
47
+ [
48
+ 'To disable this message, specify ',
49
+ pre('CUCUMBER_PUBLISH_QUIET=true'),
50
+ ' or use the '
51
+ ],
52
+ [
53
+ pre('--publish-quiet'),
54
+ ' option. You can also add this to your ',
55
+ pre('cucumber.yml:')
56
+ ],
57
+ [pre('default: --publish-quiet')]
58
+ ],
59
+ io
60
+ )
61
+ end
62
+ # rubocop:enable Metrics/MethodLength
63
+
64
+ def highlight(text)
65
+ [text, :cyan]
66
+ end
67
+
68
+ def link(text)
69
+ [text, :cyan, :bold, :underline]
70
+ end
71
+
72
+ def pre(text)
73
+ [text, :bold]
74
+ end
75
+ end
76
+ end
77
+ end
@@ -7,7 +7,7 @@ module Cucumber
7
7
  class Rerun
8
8
  include Formatter::Io
9
9
 
10
- def initialize(config) # rubocop:disable Metrics/PerceivedComplexity
10
+ def initialize(config)
11
11
  @io = ensure_io(config.out_stream)
12
12
  @config = config
13
13
  @failures = {}
@@ -0,0 +1,30 @@
1
+ require 'cucumber/term/banner'
2
+
3
+ module Cucumber
4
+ module Formatter
5
+ class URLReporter
6
+ include Term::Banner
7
+
8
+ def initialize(io)
9
+ @io = io
10
+ end
11
+
12
+ def report(url)
13
+ uri = URI(url)
14
+ display_banner(
15
+ [
16
+ 'View your Cucumber Report at:',
17
+ [["https://reports.cucumber.io#{uri.path}", :cyan, :bold, :underline]],
18
+ '',
19
+ [['This report will self-destruct in 24h unless it is claimed or deleted.', :green, :bold]]
20
+ ],
21
+ @io
22
+ )
23
+ end
24
+ end
25
+
26
+ class NoReporter
27
+ def report(url); end
28
+ end
29
+ end
30
+ end
@@ -87,7 +87,7 @@ module Cucumber
87
87
  'If you simply want it in the console, '\
88
88
  'keep using "puts" (or Kernel.puts to avoid this message)',
89
89
  'puts(message)',
90
- '5.0.0'
90
+ '6.0.0'
91
91
  )
92
92
  messages.each { |message| log(message.to_s) }
93
93
  end
@@ -102,7 +102,7 @@ module Cucumber
102
102
  Cucumber.deprecate(
103
103
  'Please use attach(file, media_type) instead',
104
104
  'embed(file, mime_type, label)',
105
- '5.0.0'
105
+ '6.0.0'
106
106
  )
107
107
  attach(file, mime_type)
108
108
  end
@@ -143,7 +143,7 @@ module Cucumber
143
143
  end
144
144
 
145
145
  # Dynamially generate the API module, closuring the dependencies
146
- def self.for(runtime, language) # rubocop:disable Metrics/MethodLength
146
+ def self.for(runtime, language) # rubocop:disable Metrics/MethodLength,Metrics/AbcSize
147
147
  Module.new do # rubocop:disable Metrics/BlockLength
148
148
  def self.extended(object)
149
149
  # wrap the dynamically generated module so that we can document the methods
@@ -95,7 +95,7 @@ module Cucumber
95
95
  def changes
96
96
  require 'diff/lcs'
97
97
  diffable_cell_matrix = cell_matrix.dup.extend(::Diff::LCS)
98
- diffable_cell_matrix.diff(other_table_cell_matrix).flatten
98
+ diffable_cell_matrix.diff(other_table_cell_matrix).flatten(1)
99
99
  end
100
100
 
101
101
  def inspect_rows(missing_row, inserted_row)
@@ -5,9 +5,7 @@ require 'cucumber/gherkin/formatter/ansi_escapes'
5
5
  begin
6
6
  # Support Rake > 0.8.7
7
7
  require 'rake/dsl_definition'
8
- # rubocop:disable Lint/HandleExceptions
9
8
  rescue LoadError
10
- # rubocop:enable Lint/HandleExceptions
11
9
  end
12
10
 
13
11
  module Cucumber
@@ -13,9 +13,7 @@ Before do
13
13
  end
14
14
 
15
15
  After do
16
- begin
17
- RSpec::Mocks.verify
18
- ensure
19
- RSpec::Mocks.teardown
20
- end
16
+ RSpec::Mocks.verify
17
+ ensure
18
+ RSpec::Mocks.teardown
21
19
  end
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'fileutils'
4
4
  require 'cucumber/configuration'
5
+ require 'cucumber/create_meta'
5
6
  require 'cucumber/load_path'
6
7
  require 'cucumber/formatter/duration'
7
8
  require 'cucumber/file_specs'
@@ -65,7 +66,7 @@ module Cucumber
65
66
  require 'cucumber/wire/plugin'
66
67
  def run!
67
68
  @configuration.notify :envelope, Cucumber::Messages::Envelope.new(
68
- meta: make_meta
69
+ meta: Cucumber::CreateMeta.create_meta('cucumber-ruby', Cucumber::VERSION)
69
70
  )
70
71
 
71
72
  load_step_definitions
@@ -105,27 +106,6 @@ module Cucumber
105
106
  Core::Test::DocString.new(string_without_triple_quotes, content_type)
106
107
  end
107
108
 
108
- def make_meta
109
- Cucumber::Messages::Meta.new(
110
- protocol_version: Cucumber::Messages::VERSION,
111
- implementation: Cucumber::Messages::Meta::Product.new(
112
- name: 'cucumber-ruby',
113
- version: Cucumber::VERSION
114
- ),
115
- runtime: Cucumber::Messages::Meta::Product.new(
116
- name: RUBY_ENGINE,
117
- version: RUBY_VERSION
118
- ),
119
- os: Cucumber::Messages::Meta::Product.new(
120
- name: RbConfig::CONFIG['target_os'],
121
- version: Sys::Uname.uname.version
122
- ),
123
- cpu: Cucumber::Messages::Meta::Product.new(
124
- name: RbConfig::CONFIG['target_cpu']
125
- )
126
- )
127
- end
128
-
129
109
  private
130
110
 
131
111
  def fire_after_configuration_hook #:nodoc:
@@ -186,11 +166,14 @@ module Cucumber
186
166
 
187
167
  require 'cucumber/formatter/ignore_missing_messages'
188
168
  require 'cucumber/formatter/fail_fast'
169
+ require 'cucumber/formatter/publish_banner_printer'
189
170
  require 'cucumber/core/report/summary'
171
+
190
172
  def report
191
173
  return @report if @report
192
174
  reports = [summary_report] + formatters
193
175
  reports << fail_fast_report if @configuration.fail_fast?
176
+ reports << publish_banner_printer unless @configuration.publish_quiet?
194
177
  @report ||= Formatter::Fanout.new(reports)
195
178
  end
196
179
 
@@ -202,6 +185,10 @@ module Cucumber
202
185
  @fail_fast_report ||= Formatter::FailFast.new(@configuration)
203
186
  end
204
187
 
188
+ def publish_banner_printer
189
+ @publish_banner_printer ||= Formatter::PublishBannerPrinter.new(@configuration)
190
+ end
191
+
205
192
  def formatters
206
193
  @formatters ||=
207
194
  @configuration.formatter_factories do |factory, formatter_options, path_or_io|
@@ -3,9 +3,10 @@
3
3
  module Cucumber
4
4
  class Runtime
5
5
  class StepHooks
6
- def initialize(id_generator, hooks)
6
+ def initialize(id_generator, hooks, event_bus)
7
7
  @hooks = hooks
8
8
  @id_generator = id_generator
9
+ @event_bus = event_bus
9
10
  end
10
11
 
11
12
  def apply(test_steps)
@@ -19,7 +20,9 @@ module Cucumber
19
20
  def after_step_hooks(test_step)
20
21
  @hooks.map do |hook|
21
22
  action = ->(*args) { hook.invoke('AfterStep', [args, test_step]) }
22
- Hooks.after_step_hook(@id_generator.new_id, test_step, hook.location, &action)
23
+ hook_step = Hooks.after_step_hook(@id_generator.new_id, test_step, hook.location, &action)
24
+ @event_bus.hook_test_step_created(hook_step, hook)
25
+ hook_step
23
26
  end
24
27
  end
25
28
  end
@@ -104,7 +104,7 @@ module Cucumber
104
104
  def find_after_step_hooks(test_case)
105
105
  scenario = RunningTestCase.new(test_case)
106
106
  hooks = registry.hooks_for(:after_step, scenario)
107
- StepHooks.new(@configuration.id_generator, hooks)
107
+ StepHooks.new(@configuration.id_generator, hooks, @configuration.event_bus)
108
108
  end
109
109
 
110
110
  def apply_before_hooks(test_case)
@@ -0,0 +1,56 @@
1
+ require 'cucumber/term/ansicolor'
2
+
3
+ module Cucumber
4
+ module Term
5
+ module Banner
6
+ def display_banner(lines, io, border_modifiers = nil)
7
+ BannerMaker.new.display_banner(lines, io, border_modifiers || %i[green bold])
8
+ end
9
+
10
+ class BannerMaker
11
+ include Term::ANSIColor
12
+
13
+ def display_banner(lines, io, border_modifiers)
14
+ lines = lines.split("\n") if lines.is_a? String
15
+ longest_line_length = lines.map { |line| line_length(line) }.max
16
+
17
+ io.puts apply_modifiers("┌#{'─' * (longest_line_length + 2)}┐", border_modifiers)
18
+ lines.map do |line|
19
+ padding = ' ' * (longest_line_length - line_length(line))
20
+ io.puts "#{apply_modifiers('│', border_modifiers)} #{display_line(line)}#{padding} #{apply_modifiers('│', border_modifiers)}"
21
+ end
22
+ io.puts apply_modifiers("└#{'─' * (longest_line_length + 2)}┘", border_modifiers)
23
+ end
24
+
25
+ private
26
+
27
+ def display_line(line)
28
+ line.is_a?(Array) ? line.map { |span| display_span(span) }.join : line
29
+ end
30
+
31
+ def display_span(span)
32
+ return apply_modifiers(span.shift, span) if span.is_a?(Array)
33
+ span
34
+ end
35
+
36
+ def apply_modifiers(str, modifiers)
37
+ display = str
38
+ modifiers.each { |modifier| display = send(modifier, display) }
39
+ display
40
+ end
41
+
42
+ def line_length(line)
43
+ if line.is_a?(Array)
44
+ line.map { |span| span_length(span) }.sum
45
+ else
46
+ line.length
47
+ end
48
+ end
49
+
50
+ def span_length(span)
51
+ span.is_a?(Array) ? span[0].length : span.length
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
@@ -1 +1 @@
1
- 4.0.1
1
+ 5.1.2
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 5.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
8
8
  - Matt Wynne
9
9
  - Steve Tooke
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-06-23 00:00:00.000000000 Z
13
+ date: 2020-09-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: builder
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3.2'
22
22
  - - ">="
23
23
  - !ruby/object:Gem::Version
24
- version: 3.2.3
24
+ version: 3.2.4
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,153 +31,167 @@ dependencies:
31
31
  version: '3.2'
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 3.2.3
34
+ version: 3.2.4
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: cucumber-core
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- version: 7.0.0
42
39
  - - "~>"
43
40
  - !ruby/object:Gem::Version
44
- version: '7.0'
41
+ version: '8.0'
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 8.0.1
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
48
48
  requirements:
49
+ - - "~>"
50
+ - !ruby/object:Gem::Version
51
+ version: '8.0'
49
52
  - - ">="
50
53
  - !ruby/object:Gem::Version
51
- version: 7.0.0
54
+ version: 8.0.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: cucumber-create-meta
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 2.0.2
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
52
69
  - - "~>"
53
70
  - !ruby/object:Gem::Version
54
- version: '7.0'
71
+ version: '2.0'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 2.0.2
55
75
  - !ruby/object:Gem::Dependency
56
76
  name: cucumber-cucumber-expressions
57
77
  requirement: !ruby/object:Gem::Requirement
58
78
  requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: 10.1.0
62
79
  - - "~>"
63
80
  - !ruby/object:Gem::Version
64
- version: '10.1'
81
+ version: '10.3'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 10.3.0
65
85
  type: :runtime
66
86
  prerelease: false
67
87
  version_requirements: !ruby/object:Gem::Requirement
68
88
  requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- version: 10.1.0
72
89
  - - "~>"
73
90
  - !ruby/object:Gem::Version
74
- version: '10.1'
91
+ version: '10.3'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 10.3.0
75
95
  - !ruby/object:Gem::Dependency
76
96
  name: cucumber-gherkin
77
97
  requirement: !ruby/object:Gem::Requirement
78
98
  requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: 13.0.0
82
99
  - - "~>"
83
100
  - !ruby/object:Gem::Version
84
- version: '13.0'
101
+ version: '15.0'
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 15.0.2
85
105
  type: :runtime
86
106
  prerelease: false
87
107
  version_requirements: !ruby/object:Gem::Requirement
88
108
  requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- version: 13.0.0
92
109
  - - "~>"
93
110
  - !ruby/object:Gem::Version
94
- version: '13.0'
111
+ version: '15.0'
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: 15.0.2
95
115
  - !ruby/object:Gem::Dependency
96
116
  name: cucumber-html-formatter
97
117
  requirement: !ruby/object:Gem::Requirement
98
118
  requirements:
99
119
  - - "~>"
100
120
  - !ruby/object:Gem::Version
101
- version: '6.0'
121
+ version: '9.0'
102
122
  - - ">="
103
123
  - !ruby/object:Gem::Version
104
- version: 6.0.1
124
+ version: 9.0.0
105
125
  type: :runtime
106
126
  prerelease: false
107
127
  version_requirements: !ruby/object:Gem::Requirement
108
128
  requirements:
109
129
  - - "~>"
110
130
  - !ruby/object:Gem::Version
111
- version: '6.0'
131
+ version: '9.0'
112
132
  - - ">="
113
133
  - !ruby/object:Gem::Version
114
- version: 6.0.1
134
+ version: 9.0.0
115
135
  - !ruby/object:Gem::Dependency
116
136
  name: cucumber-messages
117
137
  requirement: !ruby/object:Gem::Requirement
118
138
  requirements:
119
139
  - - "~>"
120
140
  - !ruby/object:Gem::Version
121
- version: '12.1'
141
+ version: '13.1'
122
142
  - - ">="
123
143
  - !ruby/object:Gem::Version
124
- version: 12.1.1
144
+ version: 13.1.0
125
145
  type: :runtime
126
146
  prerelease: false
127
147
  version_requirements: !ruby/object:Gem::Requirement
128
148
  requirements:
129
149
  - - "~>"
130
150
  - !ruby/object:Gem::Version
131
- version: '12.1'
151
+ version: '13.1'
132
152
  - - ">="
133
153
  - !ruby/object:Gem::Version
134
- version: 12.1.1
154
+ version: 13.1.0
135
155
  - !ruby/object:Gem::Dependency
136
156
  name: cucumber-wire
137
157
  requirement: !ruby/object:Gem::Requirement
138
158
  requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- version: 3.0.0
142
159
  - - "~>"
143
160
  - !ruby/object:Gem::Version
144
- version: '3.0'
161
+ version: '4.0'
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: 4.0.1
145
165
  type: :runtime
146
166
  prerelease: false
147
167
  version_requirements: !ruby/object:Gem::Requirement
148
168
  requirements:
149
- - - ">="
150
- - !ruby/object:Gem::Version
151
- version: 3.0.0
152
169
  - - "~>"
153
170
  - !ruby/object:Gem::Version
154
- version: '3.0'
171
+ version: '4.0'
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: 4.0.1
155
175
  - !ruby/object:Gem::Dependency
156
176
  name: diff-lcs
157
177
  requirement: !ruby/object:Gem::Requirement
158
178
  requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- version: '1.3'
162
179
  - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '1.3'
165
- - - "<"
166
180
  - !ruby/object:Gem::Version
167
181
  version: '1.4'
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: 1.4.4
168
185
  type: :runtime
169
186
  prerelease: false
170
187
  version_requirements: !ruby/object:Gem::Requirement
171
188
  requirements:
172
- - - ">="
173
- - !ruby/object:Gem::Version
174
- version: '1.3'
175
189
  - - "~>"
176
- - !ruby/object:Gem::Version
177
- version: '1.3'
178
- - - "<"
179
190
  - !ruby/object:Gem::Version
180
191
  version: '1.4'
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: 1.4.4
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: multi_test
183
197
  requirement: !ruby/object:Gem::Requirement
@@ -204,20 +218,20 @@ dependencies:
204
218
  requirements:
205
219
  - - "~>"
206
220
  - !ruby/object:Gem::Version
207
- version: '1.0'
221
+ version: '1.2'
208
222
  - - ">="
209
223
  - !ruby/object:Gem::Version
210
- version: 1.0.2
224
+ version: 1.2.1
211
225
  type: :runtime
212
226
  prerelease: false
213
227
  version_requirements: !ruby/object:Gem::Requirement
214
228
  requirements:
215
229
  - - "~>"
216
230
  - !ruby/object:Gem::Version
217
- version: '1.0'
231
+ version: '1.2'
218
232
  - - ">="
219
233
  - !ruby/object:Gem::Version
220
- version: 1.0.2
234
+ version: 1.2.1
221
235
  - !ruby/object:Gem::Dependency
222
236
  name: nokogiri
223
237
  requirement: !ruby/object:Gem::Requirement
@@ -227,7 +241,7 @@ dependencies:
227
241
  version: '1.10'
228
242
  - - ">="
229
243
  - !ruby/object:Gem::Version
230
- version: 1.10.4
244
+ version: 1.10.10
231
245
  type: :development
232
246
  prerelease: false
233
247
  version_requirements: !ruby/object:Gem::Requirement
@@ -237,87 +251,87 @@ dependencies:
237
251
  version: '1.10'
238
252
  - - ">="
239
253
  - !ruby/object:Gem::Version
240
- version: 1.10.4
254
+ version: 1.10.10
241
255
  - !ruby/object:Gem::Dependency
242
256
  name: pry
243
257
  requirement: !ruby/object:Gem::Requirement
244
258
  requirements:
245
259
  - - "~>"
246
260
  - !ruby/object:Gem::Version
247
- version: '0.12'
261
+ version: '0.13'
248
262
  - - ">="
249
263
  - !ruby/object:Gem::Version
250
- version: 0.12.2
264
+ version: 0.13.1
251
265
  type: :development
252
266
  prerelease: false
253
267
  version_requirements: !ruby/object:Gem::Requirement
254
268
  requirements:
255
269
  - - "~>"
256
270
  - !ruby/object:Gem::Version
257
- version: '0.12'
271
+ version: '0.13'
258
272
  - - ">="
259
273
  - !ruby/object:Gem::Version
260
- version: 0.12.2
274
+ version: 0.13.1
261
275
  - !ruby/object:Gem::Dependency
262
276
  name: rake
263
277
  requirement: !ruby/object:Gem::Requirement
264
278
  requirements:
265
279
  - - "~>"
266
280
  - !ruby/object:Gem::Version
267
- version: '12.3'
281
+ version: '13.0'
268
282
  - - ">="
269
283
  - !ruby/object:Gem::Version
270
- version: 12.3.3
284
+ version: 13.0.1
271
285
  type: :development
272
286
  prerelease: false
273
287
  version_requirements: !ruby/object:Gem::Requirement
274
288
  requirements:
275
289
  - - "~>"
276
290
  - !ruby/object:Gem::Version
277
- version: '12.3'
291
+ version: '13.0'
278
292
  - - ">="
279
293
  - !ruby/object:Gem::Version
280
- version: 12.3.3
294
+ version: 13.0.1
281
295
  - !ruby/object:Gem::Dependency
282
296
  name: rspec
283
297
  requirement: !ruby/object:Gem::Requirement
284
298
  requirements:
285
- - - ">="
286
- - !ruby/object:Gem::Version
287
- version: 3.8.0
288
299
  - - "~>"
289
300
  - !ruby/object:Gem::Version
290
- version: '3.8'
301
+ version: '3.9'
302
+ - - ">="
303
+ - !ruby/object:Gem::Version
304
+ version: 3.9.0
291
305
  type: :development
292
306
  prerelease: false
293
307
  version_requirements: !ruby/object:Gem::Requirement
294
308
  requirements:
295
- - - ">="
296
- - !ruby/object:Gem::Version
297
- version: 3.8.0
298
309
  - - "~>"
299
310
  - !ruby/object:Gem::Version
300
- version: '3.8'
311
+ version: '3.9'
312
+ - - ">="
313
+ - !ruby/object:Gem::Version
314
+ version: 3.9.0
301
315
  - !ruby/object:Gem::Dependency
302
316
  name: simplecov
303
317
  requirement: !ruby/object:Gem::Requirement
304
318
  requirements:
305
- - - ">="
306
- - !ruby/object:Gem::Version
307
- version: 0.17.0
308
319
  - - "~>"
309
320
  - !ruby/object:Gem::Version
310
- version: '0.17'
321
+ version: '0.19'
322
+ - - ">="
323
+ - !ruby/object:Gem::Version
324
+ version: 0.19.0
311
325
  type: :development
312
326
  prerelease: false
313
327
  version_requirements: !ruby/object:Gem::Requirement
314
328
  requirements:
315
- - - ">="
316
- - !ruby/object:Gem::Version
317
- version: 0.17.0
318
329
  - - "~>"
319
330
  - !ruby/object:Gem::Version
320
- version: '0.17'
331
+ version: '0.19'
332
+ - - ">="
333
+ - !ruby/object:Gem::Version
334
+ version: 0.19.0
321
335
  - !ruby/object:Gem::Dependency
322
336
  name: syntax
323
337
  requirement: !ruby/object:Gem::Requirement
@@ -344,114 +358,120 @@ dependencies:
344
358
  requirements:
345
359
  - - "~>"
346
360
  - !ruby/object:Gem::Version
347
- version: '1.2'
361
+ version: '3.3'
348
362
  - - ">="
349
363
  - !ruby/object:Gem::Version
350
- version: 1.2.3
364
+ version: 3.3.6
351
365
  type: :development
352
366
  prerelease: false
353
367
  version_requirements: !ruby/object:Gem::Requirement
354
368
  requirements:
355
369
  - - "~>"
356
370
  - !ruby/object:Gem::Version
357
- version: '1.2'
371
+ version: '3.3'
358
372
  - - ">="
359
373
  - !ruby/object:Gem::Version
360
- version: 1.2.3
374
+ version: 3.3.6
361
375
  - !ruby/object:Gem::Dependency
362
376
  name: webrick
363
377
  requirement: !ruby/object:Gem::Requirement
364
378
  requirements:
365
- - - ">="
366
- - !ruby/object:Gem::Version
367
- version: 1.6.0
368
379
  - - "~>"
369
380
  - !ruby/object:Gem::Version
370
381
  version: '1.6'
382
+ - - ">="
383
+ - !ruby/object:Gem::Version
384
+ version: 1.6.0
371
385
  type: :development
372
386
  prerelease: false
373
387
  version_requirements: !ruby/object:Gem::Requirement
374
388
  requirements:
375
- - - ">="
376
- - !ruby/object:Gem::Version
377
- version: 1.6.0
378
389
  - - "~>"
379
390
  - !ruby/object:Gem::Version
380
391
  version: '1.6'
392
+ - - ">="
393
+ - !ruby/object:Gem::Version
394
+ version: 1.6.0
381
395
  - !ruby/object:Gem::Dependency
382
396
  name: octokit
383
397
  requirement: !ruby/object:Gem::Requirement
384
398
  requirements:
385
- - - ">="
386
- - !ruby/object:Gem::Version
387
- version: 4.14.0
388
399
  - - "~>"
389
400
  - !ruby/object:Gem::Version
390
- version: '4.14'
401
+ version: '4.18'
402
+ - - ">="
403
+ - !ruby/object:Gem::Version
404
+ version: 4.18.0
391
405
  type: :development
392
406
  prerelease: false
393
407
  version_requirements: !ruby/object:Gem::Requirement
394
408
  requirements:
395
- - - ">="
396
- - !ruby/object:Gem::Version
397
- version: 4.14.0
398
409
  - - "~>"
399
410
  - !ruby/object:Gem::Version
400
- version: '4.14'
411
+ version: '4.18'
412
+ - - ">="
413
+ - !ruby/object:Gem::Version
414
+ version: 4.18.0
401
415
  - !ruby/object:Gem::Dependency
402
416
  name: rack-test
403
417
  requirement: !ruby/object:Gem::Requirement
404
418
  requirements:
405
- - - ">="
406
- - !ruby/object:Gem::Version
407
- version: 1.1.0
408
419
  - - "~>"
409
420
  - !ruby/object:Gem::Version
410
421
  version: '1.1'
422
+ - - ">="
423
+ - !ruby/object:Gem::Version
424
+ version: 1.1.0
411
425
  type: :development
412
426
  prerelease: false
413
427
  version_requirements: !ruby/object:Gem::Requirement
414
428
  requirements:
415
- - - ">="
416
- - !ruby/object:Gem::Version
417
- version: 1.1.0
418
429
  - - "~>"
419
430
  - !ruby/object:Gem::Version
420
431
  version: '1.1'
432
+ - - ">="
433
+ - !ruby/object:Gem::Version
434
+ version: 1.1.0
421
435
  - !ruby/object:Gem::Dependency
422
436
  name: sinatra
423
437
  requirement: !ruby/object:Gem::Requirement
424
438
  requirements:
425
439
  - - "~>"
426
440
  - !ruby/object:Gem::Version
427
- version: '2.0'
441
+ version: '2.1'
428
442
  - - ">="
429
443
  - !ruby/object:Gem::Version
430
- version: 2.0.5
444
+ version: 2.1.0
431
445
  type: :development
432
446
  prerelease: false
433
447
  version_requirements: !ruby/object:Gem::Requirement
434
448
  requirements:
435
449
  - - "~>"
436
450
  - !ruby/object:Gem::Version
437
- version: '2.0'
451
+ version: '2.1'
438
452
  - - ">="
439
453
  - !ruby/object:Gem::Version
440
- version: 2.0.5
454
+ version: 2.1.0
441
455
  - !ruby/object:Gem::Dependency
442
456
  name: capybara
443
457
  requirement: !ruby/object:Gem::Requirement
444
458
  requirements:
445
- - - '='
459
+ - - "~>"
460
+ - !ruby/object:Gem::Version
461
+ version: '3.33'
462
+ - - ">="
446
463
  - !ruby/object:Gem::Version
447
- version: 3.15.0
464
+ version: 3.33.0
448
465
  type: :development
449
466
  prerelease: false
450
467
  version_requirements: !ruby/object:Gem::Requirement
451
468
  requirements:
452
- - - '='
469
+ - - "~>"
470
+ - !ruby/object:Gem::Version
471
+ version: '3.33'
472
+ - - ">="
453
473
  - !ruby/object:Gem::Version
454
- version: 3.15.0
474
+ version: 3.33.0
455
475
  description: Behaviour Driven Development with elegance and joy
456
476
  email: cukes@googlegroups.com
457
477
  executables:
@@ -540,6 +560,7 @@ files:
540
560
  - lib/cucumber/formatter/message_builder.rb
541
561
  - lib/cucumber/formatter/pretty.rb
542
562
  - lib/cucumber/formatter/progress.rb
563
+ - lib/cucumber/formatter/publish_banner_printer.rb
543
564
  - lib/cucumber/formatter/query/hook_by_test_step.rb
544
565
  - lib/cucumber/formatter/query/pickle_by_test.rb
545
566
  - lib/cucumber/formatter/query/pickle_step_by_test_step.rb
@@ -550,6 +571,7 @@ files:
550
571
  - lib/cucumber/formatter/steps.rb
551
572
  - lib/cucumber/formatter/summary.rb
552
573
  - lib/cucumber/formatter/unicode.rb
574
+ - lib/cucumber/formatter/url_reporter.rb
553
575
  - lib/cucumber/formatter/usage.rb
554
576
  - lib/cucumber/gherkin/data_table_parser.rb
555
577
  - lib/cucumber/gherkin/formatter/ansi_escapes.rb
@@ -588,6 +610,7 @@ files:
588
610
  - lib/cucumber/step_match.rb
589
611
  - lib/cucumber/step_match_search.rb
590
612
  - lib/cucumber/term/ansicolor.rb
613
+ - lib/cucumber/term/banner.rb
591
614
  - lib/cucumber/unit.rb
592
615
  - lib/cucumber/version
593
616
  - lib/simplecov_setup.rb
@@ -600,7 +623,7 @@ metadata:
600
623
  documentation_uri: https://www.rubydoc.info/github/cucumber/cucumber-ruby/
601
624
  mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
602
625
  source_code_uri: https://github.com/cucumber/cucumber-ruby
603
- post_install_message:
626
+ post_install_message:
604
627
  rdoc_options:
605
628
  - "--charset=UTF-8"
606
629
  require_paths:
@@ -609,15 +632,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
609
632
  requirements:
610
633
  - - ">="
611
634
  - !ruby/object:Gem::Version
612
- version: '2.3'
635
+ version: '2.5'
613
636
  required_rubygems_version: !ruby/object:Gem::Requirement
614
637
  requirements:
615
638
  - - ">="
616
639
  - !ruby/object:Gem::Version
617
640
  version: '0'
618
641
  requirements: []
619
- rubygems_version: 3.0.6
620
- signing_key:
642
+ rubygems_version: 3.1.2
643
+ signing_key:
621
644
  specification_version: 4
622
- summary: cucumber-4.0.1
645
+ summary: cucumber-5.1.2
623
646
  test_files: []