cucumber 4.0.0 → 5.1.1

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,75 @@
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=true')
34
+ ],
35
+ [
36
+ 'cucumber.yml: ',
37
+ highlight('default: --publish')
38
+ ],
39
+ '',
40
+ [
41
+ 'More information at ',
42
+ link('https://reports.cucumber.io/docs/cucumber-ruby')
43
+ ],
44
+ '',
45
+ [
46
+ 'To disable this message, specify ',
47
+ pre('CUCUMBER_PUBLISH_QUIET=true'),
48
+ ' or use the '
49
+ ],
50
+ [
51
+ pre('--publish-quiet'),
52
+ ' option. You can also add this to your ',
53
+ pre('cucumber.yml:')
54
+ ],
55
+ [pre('default: --publish-quiet')]
56
+ ],
57
+ io
58
+ )
59
+ end
60
+ # rubocop:enable Metrics/MethodLength
61
+
62
+ def highlight(text)
63
+ [text, :cyan]
64
+ end
65
+
66
+ def link(text)
67
+ [text, :cyan, :bold, :underline]
68
+ end
69
+
70
+ def pre(text)
71
+ [text, :bold]
72
+ end
73
+ end
74
+ end
75
+ 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.0
1
+ 5.1.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 5.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-06-02 00:00:00.000000000 Z
13
+ date: 2020-09-04 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,147 +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.0'
122
142
  - - ">="
123
143
  - !ruby/object:Gem::Version
124
- version: 12.1.1
144
+ version: 13.0.1
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.0'
132
152
  - - ">="
133
153
  - !ruby/object:Gem::Version
134
- version: 12.1.1
154
+ version: 13.0.1
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
180
  - !ruby/object:Gem::Version
164
- version: '1.3'
181
+ version: '1.4'
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: 1.4.4
165
185
  type: :runtime
166
186
  prerelease: false
167
187
  version_requirements: !ruby/object:Gem::Requirement
168
188
  requirements:
169
- - - ">="
170
- - !ruby/object:Gem::Version
171
- version: '1.3'
172
189
  - - "~>"
173
190
  - !ruby/object:Gem::Version
174
- version: '1.3'
191
+ version: '1.4'
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: 1.4.4
175
195
  - !ruby/object:Gem::Dependency
176
196
  name: multi_test
177
197
  requirement: !ruby/object:Gem::Requirement
@@ -198,20 +218,20 @@ dependencies:
198
218
  requirements:
199
219
  - - "~>"
200
220
  - !ruby/object:Gem::Version
201
- version: '1.0'
221
+ version: '1.2'
202
222
  - - ">="
203
223
  - !ruby/object:Gem::Version
204
- version: 1.0.2
224
+ version: 1.2.1
205
225
  type: :runtime
206
226
  prerelease: false
207
227
  version_requirements: !ruby/object:Gem::Requirement
208
228
  requirements:
209
229
  - - "~>"
210
230
  - !ruby/object:Gem::Version
211
- version: '1.0'
231
+ version: '1.2'
212
232
  - - ">="
213
233
  - !ruby/object:Gem::Version
214
- version: 1.0.2
234
+ version: 1.2.1
215
235
  - !ruby/object:Gem::Dependency
216
236
  name: nokogiri
217
237
  requirement: !ruby/object:Gem::Requirement
@@ -221,7 +241,7 @@ dependencies:
221
241
  version: '1.10'
222
242
  - - ">="
223
243
  - !ruby/object:Gem::Version
224
- version: 1.10.4
244
+ version: 1.10.10
225
245
  type: :development
226
246
  prerelease: false
227
247
  version_requirements: !ruby/object:Gem::Requirement
@@ -231,87 +251,87 @@ dependencies:
231
251
  version: '1.10'
232
252
  - - ">="
233
253
  - !ruby/object:Gem::Version
234
- version: 1.10.4
254
+ version: 1.10.10
235
255
  - !ruby/object:Gem::Dependency
236
256
  name: pry
237
257
  requirement: !ruby/object:Gem::Requirement
238
258
  requirements:
239
259
  - - "~>"
240
260
  - !ruby/object:Gem::Version
241
- version: '0.12'
261
+ version: '0.13'
242
262
  - - ">="
243
263
  - !ruby/object:Gem::Version
244
- version: 0.12.2
264
+ version: 0.13.1
245
265
  type: :development
246
266
  prerelease: false
247
267
  version_requirements: !ruby/object:Gem::Requirement
248
268
  requirements:
249
269
  - - "~>"
250
270
  - !ruby/object:Gem::Version
251
- version: '0.12'
271
+ version: '0.13'
252
272
  - - ">="
253
273
  - !ruby/object:Gem::Version
254
- version: 0.12.2
274
+ version: 0.13.1
255
275
  - !ruby/object:Gem::Dependency
256
276
  name: rake
257
277
  requirement: !ruby/object:Gem::Requirement
258
278
  requirements:
259
279
  - - "~>"
260
280
  - !ruby/object:Gem::Version
261
- version: '12.3'
281
+ version: '13.0'
262
282
  - - ">="
263
283
  - !ruby/object:Gem::Version
264
- version: 12.3.3
284
+ version: 13.0.1
265
285
  type: :development
266
286
  prerelease: false
267
287
  version_requirements: !ruby/object:Gem::Requirement
268
288
  requirements:
269
289
  - - "~>"
270
290
  - !ruby/object:Gem::Version
271
- version: '12.3'
291
+ version: '13.0'
272
292
  - - ">="
273
293
  - !ruby/object:Gem::Version
274
- version: 12.3.3
294
+ version: 13.0.1
275
295
  - !ruby/object:Gem::Dependency
276
296
  name: rspec
277
297
  requirement: !ruby/object:Gem::Requirement
278
298
  requirements:
279
- - - ">="
280
- - !ruby/object:Gem::Version
281
- version: 3.8.0
282
299
  - - "~>"
283
300
  - !ruby/object:Gem::Version
284
- version: '3.8'
301
+ version: '3.9'
302
+ - - ">="
303
+ - !ruby/object:Gem::Version
304
+ version: 3.9.0
285
305
  type: :development
286
306
  prerelease: false
287
307
  version_requirements: !ruby/object:Gem::Requirement
288
308
  requirements:
289
- - - ">="
290
- - !ruby/object:Gem::Version
291
- version: 3.8.0
292
309
  - - "~>"
293
310
  - !ruby/object:Gem::Version
294
- version: '3.8'
311
+ version: '3.9'
312
+ - - ">="
313
+ - !ruby/object:Gem::Version
314
+ version: 3.9.0
295
315
  - !ruby/object:Gem::Dependency
296
316
  name: simplecov
297
317
  requirement: !ruby/object:Gem::Requirement
298
318
  requirements:
299
- - - ">="
300
- - !ruby/object:Gem::Version
301
- version: 0.17.0
302
319
  - - "~>"
303
320
  - !ruby/object:Gem::Version
304
- version: '0.17'
321
+ version: '0.19'
322
+ - - ">="
323
+ - !ruby/object:Gem::Version
324
+ version: 0.19.0
305
325
  type: :development
306
326
  prerelease: false
307
327
  version_requirements: !ruby/object:Gem::Requirement
308
328
  requirements:
309
- - - ">="
310
- - !ruby/object:Gem::Version
311
- version: 0.17.0
312
329
  - - "~>"
313
330
  - !ruby/object:Gem::Version
314
- version: '0.17'
331
+ version: '0.19'
332
+ - - ">="
333
+ - !ruby/object:Gem::Version
334
+ version: 0.19.0
315
335
  - !ruby/object:Gem::Dependency
316
336
  name: syntax
317
337
  requirement: !ruby/object:Gem::Requirement
@@ -338,80 +358,80 @@ dependencies:
338
358
  requirements:
339
359
  - - "~>"
340
360
  - !ruby/object:Gem::Version
341
- version: '1.2'
361
+ version: '3.3'
342
362
  - - ">="
343
363
  - !ruby/object:Gem::Version
344
- version: 1.2.3
364
+ version: 3.3.6
345
365
  type: :development
346
366
  prerelease: false
347
367
  version_requirements: !ruby/object:Gem::Requirement
348
368
  requirements:
349
369
  - - "~>"
350
370
  - !ruby/object:Gem::Version
351
- version: '1.2'
371
+ version: '3.3'
352
372
  - - ">="
353
373
  - !ruby/object:Gem::Version
354
- version: 1.2.3
374
+ version: 3.3.6
355
375
  - !ruby/object:Gem::Dependency
356
376
  name: webrick
357
377
  requirement: !ruby/object:Gem::Requirement
358
378
  requirements:
359
- - - ">="
360
- - !ruby/object:Gem::Version
361
- version: 1.6.0
362
379
  - - "~>"
363
380
  - !ruby/object:Gem::Version
364
381
  version: '1.6'
382
+ - - ">="
383
+ - !ruby/object:Gem::Version
384
+ version: 1.6.0
365
385
  type: :development
366
386
  prerelease: false
367
387
  version_requirements: !ruby/object:Gem::Requirement
368
388
  requirements:
369
- - - ">="
370
- - !ruby/object:Gem::Version
371
- version: 1.6.0
372
389
  - - "~>"
373
390
  - !ruby/object:Gem::Version
374
391
  version: '1.6'
392
+ - - ">="
393
+ - !ruby/object:Gem::Version
394
+ version: 1.6.0
375
395
  - !ruby/object:Gem::Dependency
376
396
  name: octokit
377
397
  requirement: !ruby/object:Gem::Requirement
378
398
  requirements:
379
- - - ">="
380
- - !ruby/object:Gem::Version
381
- version: 4.14.0
382
399
  - - "~>"
383
400
  - !ruby/object:Gem::Version
384
- version: '4.14'
401
+ version: '4.18'
402
+ - - ">="
403
+ - !ruby/object:Gem::Version
404
+ version: 4.18.0
385
405
  type: :development
386
406
  prerelease: false
387
407
  version_requirements: !ruby/object:Gem::Requirement
388
408
  requirements:
389
- - - ">="
390
- - !ruby/object:Gem::Version
391
- version: 4.14.0
392
409
  - - "~>"
393
410
  - !ruby/object:Gem::Version
394
- version: '4.14'
411
+ version: '4.18'
412
+ - - ">="
413
+ - !ruby/object:Gem::Version
414
+ version: 4.18.0
395
415
  - !ruby/object:Gem::Dependency
396
416
  name: rack-test
397
417
  requirement: !ruby/object:Gem::Requirement
398
418
  requirements:
399
- - - ">="
400
- - !ruby/object:Gem::Version
401
- version: 1.1.0
402
419
  - - "~>"
403
420
  - !ruby/object:Gem::Version
404
421
  version: '1.1'
422
+ - - ">="
423
+ - !ruby/object:Gem::Version
424
+ version: 1.1.0
405
425
  type: :development
406
426
  prerelease: false
407
427
  version_requirements: !ruby/object:Gem::Requirement
408
428
  requirements:
409
- - - ">="
410
- - !ruby/object:Gem::Version
411
- version: 1.1.0
412
429
  - - "~>"
413
430
  - !ruby/object:Gem::Version
414
431
  version: '1.1'
432
+ - - ">="
433
+ - !ruby/object:Gem::Version
434
+ version: 1.1.0
415
435
  - !ruby/object:Gem::Dependency
416
436
  name: sinatra
417
437
  requirement: !ruby/object:Gem::Requirement
@@ -421,7 +441,7 @@ dependencies:
421
441
  version: '2.0'
422
442
  - - ">="
423
443
  - !ruby/object:Gem::Version
424
- version: 2.0.5
444
+ version: 2.0.8.1
425
445
  type: :development
426
446
  prerelease: false
427
447
  version_requirements: !ruby/object:Gem::Requirement
@@ -431,21 +451,27 @@ dependencies:
431
451
  version: '2.0'
432
452
  - - ">="
433
453
  - !ruby/object:Gem::Version
434
- version: 2.0.5
454
+ version: 2.0.8.1
435
455
  - !ruby/object:Gem::Dependency
436
456
  name: capybara
437
457
  requirement: !ruby/object:Gem::Requirement
438
458
  requirements:
439
- - - '='
459
+ - - "~>"
460
+ - !ruby/object:Gem::Version
461
+ version: '3.33'
462
+ - - ">="
440
463
  - !ruby/object:Gem::Version
441
- version: 3.15.0
464
+ version: 3.33.0
442
465
  type: :development
443
466
  prerelease: false
444
467
  version_requirements: !ruby/object:Gem::Requirement
445
468
  requirements:
446
- - - '='
469
+ - - "~>"
470
+ - !ruby/object:Gem::Version
471
+ version: '3.33'
472
+ - - ">="
447
473
  - !ruby/object:Gem::Version
448
- version: 3.15.0
474
+ version: 3.33.0
449
475
  description: Behaviour Driven Development with elegance and joy
450
476
  email: cukes@googlegroups.com
451
477
  executables:
@@ -534,6 +560,7 @@ files:
534
560
  - lib/cucumber/formatter/message_builder.rb
535
561
  - lib/cucumber/formatter/pretty.rb
536
562
  - lib/cucumber/formatter/progress.rb
563
+ - lib/cucumber/formatter/publish_banner_printer.rb
537
564
  - lib/cucumber/formatter/query/hook_by_test_step.rb
538
565
  - lib/cucumber/formatter/query/pickle_by_test.rb
539
566
  - lib/cucumber/formatter/query/pickle_step_by_test_step.rb
@@ -544,6 +571,7 @@ files:
544
571
  - lib/cucumber/formatter/steps.rb
545
572
  - lib/cucumber/formatter/summary.rb
546
573
  - lib/cucumber/formatter/unicode.rb
574
+ - lib/cucumber/formatter/url_reporter.rb
547
575
  - lib/cucumber/formatter/usage.rb
548
576
  - lib/cucumber/gherkin/data_table_parser.rb
549
577
  - lib/cucumber/gherkin/formatter/ansi_escapes.rb
@@ -582,6 +610,7 @@ files:
582
610
  - lib/cucumber/step_match.rb
583
611
  - lib/cucumber/step_match_search.rb
584
612
  - lib/cucumber/term/ansicolor.rb
613
+ - lib/cucumber/term/banner.rb
585
614
  - lib/cucumber/unit.rb
586
615
  - lib/cucumber/version
587
616
  - lib/simplecov_setup.rb
@@ -603,15 +632,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
603
632
  requirements:
604
633
  - - ">="
605
634
  - !ruby/object:Gem::Version
606
- version: '2.3'
635
+ version: '2.5'
607
636
  required_rubygems_version: !ruby/object:Gem::Requirement
608
637
  requirements:
609
638
  - - ">="
610
639
  - !ruby/object:Gem::Version
611
640
  version: '0'
612
641
  requirements: []
613
- rubygems_version: 3.0.6
642
+ rubygems_version: 3.1.2
614
643
  signing_key:
615
644
  specification_version: 4
616
- summary: cucumber-4.0.0
645
+ summary: cucumber-5.1.1
617
646
  test_files: []