cucumber-rails 2.3.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a39afb58224bd44c7d0c5585749b47030995e18f24788bded736cd64f349e89a
4
- data.tar.gz: 9f661d7af61c748f6e6435178c48ef18cc4d274e3a9c2ea900faacbd953e57fe
3
+ metadata.gz: 02bbc6df3e0541e238dfedd61156318fc8766754bd66929553e41b3770507ed0
4
+ data.tar.gz: d9781472cfdebcaccec5fc0879698d486a06809d36809bc95c5624d36e13b6a0
5
5
  SHA512:
6
- metadata.gz: 543e907c2756ceb148f313adcf0a381fd7de5bd23eed17abda861be526dec27fdea5b96bc84c46dd0ce52b0d70fe9088e5e62695ec844ee12fdd08e074228b8f
7
- data.tar.gz: e05864510bce02b11bb508f89c5a31ed4d8a88e90424e2f9c463513187b598d2d78f8255e8316b7fba9637680acf01637eaccf9c2578722551aed740694dfca3
6
+ metadata.gz: 8868ff0ebe1844b2eae18b3b8b580ab00683790a7a02bc28aeb421b33ef4022eb4779478fff94de2f5abc80c068bdcdd098decdeab1b180dad37ae40bbe06ae2
7
+ data.tar.gz: 17ab8f1588d771f564aaec40a873e85f43d2b366674bb959bd4d2ddb4f519093f450f2411122498d8437d238a5b347483c34f9590a799d7f96d76ad790fd8e1b
data/CHANGELOG.md CHANGED
@@ -1,25 +1,51 @@
1
1
  Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md)
2
2
  on how to contribute to Cucumber.
3
3
 
4
- ## [master](https://github.com/cucumber/cucumber-rails/compare/v2.3.0...master) (Not yet released)
4
+ ## [main](https://github.com/cucumber/cucumber-rails/compare/v2.5.1...main) (Not yet released)
5
5
 
6
6
  ### New Features
7
7
 
8
- *
9
-
10
8
  ### Changed
11
9
 
12
- *
10
+ ### Fixed
11
+
12
+ ## [v2.5.1](https://github.com/cucumber/cucumber-rails/compare/v2.5.0...v2.5.1) (2022-04-01)
13
13
 
14
14
  ### Fixed
15
15
 
16
- *
16
+ * Date input support in Rails 7 ([#535](https://github.com/cucumber/cucumber-rails/pull/535) [mgrunberg])
17
17
 
18
- ## [v2.3.0](https://github.com/cucumber/cucumber-rails/compare/v2.2.0...v2.3.0) (2021-03-30)
18
+ ## [v2.5.0](https://github.com/cucumber/cucumber-rails/compare/v2.4.0...v2.5.0) (2022-03-07)
19
19
 
20
20
  ### New Features
21
21
 
22
- *
22
+ * Added `:none` option for `javascript_strategy` which indicates no special handling of `@javascript` tagged tests ([#522](https://github.com/cucumber/cucumber-rails/pull/522) [akostadinov])
23
+ * Added support for Rails 7 ([#526](https://github.com/cucumber/cucumber-rails/pull/526/) [mgrunberg])
24
+ * Added Ruby 3.1 support ([#529](https://github.com/cucumber/cucumber-rails/pull/529) [mgrunberg])
25
+
26
+ ### Changed
27
+
28
+ * Dropped Ruby 2.4 support ([#529](https://github.com/cucumber/cucumber-rails/pull/529) [mgrunberg])
29
+
30
+ ## [v2.4.0](https://github.com/cucumber/cucumber-rails/compare/v2.3.0...v2.4.0) (2021-07-21)
31
+
32
+ ### New Features
33
+
34
+ * Added new docker / Makefile script to permit releasing from repo ([#502](https://github.com/cucumber/cucumber-rails/pull/502) [luke-hill])
35
+ * Gem update: allowed cucumber 6/7 ([#515](https://github.com/cucumber/cucumber-rails/pull/515) /
36
+ [#519](https://github.com/cucumber/cucumber-rails/pull/519))
37
+ * Add support for Ruby 3 ([#517](https://github.com/cucumber/cucumber-rails/pull/517/))
38
+
39
+ ### Changed
40
+
41
+ * Updated rubocop to use new major versions ([#504](https://github.com/cucumber/cucumber-rails/pull/504) /
42
+ [#519](https://github.com/cucumber/cucumber-rails/pull/519) [luke-hill])
43
+
44
+ ### Removed
45
+
46
+ * Removed traces of legacy spork setup / help (No longer used) ([#518](https://github.com/cucumber/cucumber-rails/pull/518))
47
+
48
+ ## [v2.3.0](https://github.com/cucumber/cucumber-rails/compare/v2.2.0...v2.3.0) (2021-03-30)
23
49
 
24
50
  ### Changed
25
51
 
data/README.md CHANGED
@@ -1,11 +1,13 @@
1
1
  # Cucumber-Rails
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/cucumber-rails.svg)](http://badge.fury.io/rb/cucumber-rails)
4
- [![Build Status](https://secure.travis-ci.org/cucumber/cucumber-rails.svg?branch=master)](http://travis-ci.org/cucumber/cucumber-rails)
4
+ [![Build Status](https://github.com/cucumber/cucumber-rails/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/cucumber/cucumber-rails/actions/workflows/build.yml)
5
5
  [![Code Climate](https://codeclimate.com/github/cucumber/cucumber-rails.svg)](https://codeclimate.com/github/cucumber/cucumber-rails)
6
6
  [![Open Source Helpers](https://www.codetriage.com/cucumber/cucumber-rails/badges/users.svg)](https://www.codetriage.com/cucumber/cucumber-rails)
7
+ [![pull requests](https://oselvar.com/api/badge?label=pull%20requests&csvUrl=https%3A%2F%2Fraw.githubusercontent.com%2Fcucumber%2Foselvar-github-metrics%2Fmain%2Fdata%2Fcucumber%2Fcucumber-rails%2FpullRequests.csv)](https://oselvar.com/github/cucumber/oselvar-github-metrics/main/cucumber/cucumber-rails)
8
+ [![issues](https://oselvar.com/api/badge?label=issues&csvUrl=https%3A%2F%2Fraw.githubusercontent.com%2Fcucumber%2Foselvar-github-metrics%2Fmain%2Fdata%2Fcucumber%2Fcucumber-rails%2Fissues.csv)](https://oselvar.com/github/cucumber/oselvar-github-metrics/main/cucumber/cucumber-rails)
7
9
 
8
- Cucumber-Rails brings Cucumber to Rails 5.x and 6.x.
10
+ Cucumber-Rails brings Cucumber to Rails 5.x, 6.x and 7.x.
9
11
 
10
12
  ## Installation
11
13
 
@@ -123,14 +125,3 @@ For example, rspec is a primary development dependency, so it lives in the gemsp
123
125
 
124
126
  [the helper]: https://github.com/cucumber/cucumber-rails/blob/5e37c530560ae1c1a79521c38a54bae0be94242b/features/step_definitions/cucumber_rails_steps.rb#L15
125
127
 
126
- ### NOTE
127
-
128
- If you get an error while trying to run the tests locally, similar to the one below:
129
-
130
- Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
131
-
132
- You need to install a javascript runtime.
133
-
134
- You can do that in ubuntu by using:
135
-
136
- sudo apt-get install nodejs
@@ -7,31 +7,60 @@ module Cucumber
7
7
  module SelectDatesAndTimes
8
8
  # Select a Rails date. Options hash must include from: +label+
9
9
  def select_date(date, options)
10
- date = Date.parse(date)
11
- base_dom_id = get_base_dom_id_from_label_tag(options[:from])
10
+ date = Date.parse(date)
11
+ base_dom_id = get_base_dom_from_options(options)
12
12
 
13
- find(:xpath, ".//select[@id='#{base_dom_id}_1i']").select(date.year.to_s)
14
- find(:xpath, ".//select[@id='#{base_dom_id}_2i']").select(I18n.l(date, format: '%B'))
15
- find(:xpath, ".//select[@id='#{base_dom_id}_3i']").select(date.day.to_s)
13
+ # Rails 7 use HTML5 input type="date" by default. If input is not present fallback to plain select boxes alternative.
14
+ # It's safe to use has_css? without waiting/retry. We already know field's label is visible
15
+ if html5_input_field_present?(base_dom_id)
16
+ fill_in options[:from], with: date
17
+ else
18
+ find(:xpath, ".//select[@id='#{base_dom_id}_1i']").select(date.year.to_s)
19
+ find(:xpath, ".//select[@id='#{base_dom_id}_2i']").select(I18n.l(date, format: '%B'))
20
+ find(:xpath, ".//select[@id='#{base_dom_id}_3i']").select(date.day.to_s)
21
+ end
16
22
  end
17
23
 
18
24
  # Select a Rails time. Options hash must include from: +label+
19
25
  def select_time(time, options)
20
- time = Time.zone.parse(time)
21
- base_dom_id = get_base_dom_id_from_label_tag(options[:from])
26
+ time = Time.zone.parse(time)
27
+ base_dom_id = get_base_dom_from_options(options)
22
28
 
23
- find(:xpath, ".//select[@id='#{base_dom_id}_4i']").select(time.hour.to_s.rjust(2, '0'))
24
- find(:xpath, ".//select[@id='#{base_dom_id}_5i']").select(time.min.to_s.rjust(2, '0'))
29
+ # Rails 7 use HTML5 input type="time" by default. If input is not present fallback to plain select boxes alternative.
30
+ # It's safe to use has_css? without waiting/retry. We already know field's label is visible
31
+ if html5_input_field_present?(base_dom_id)
32
+ fill_in options[:from], with: time
33
+ else
34
+ find(:xpath, ".//select[@id='#{base_dom_id}_4i']").select(time.hour.to_s.rjust(2, '0'))
35
+ find(:xpath, ".//select[@id='#{base_dom_id}_5i']").select(time.min.to_s.rjust(2, '0'))
36
+ end
25
37
  end
26
38
 
27
39
  # Select a Rails datetime. Options hash must include from: +label+
28
40
  def select_datetime(datetime, options)
29
- select_date(datetime, options)
30
- select_time(datetime, options)
41
+ base_dom_id = get_base_dom_id_from_label_tag(options[:from])
42
+
43
+ # Rails 7 use HTML5 input type="datetime-local" by default. If input is not present fallback to plain select boxes alternative.
44
+ # It's safe to use has_css? without waiting/retry. We already know field's label is visible
45
+ if html5_input_field_present?(base_dom_id)
46
+ fill_in options[:from], with: DateTime.parse(datetime)
47
+ else
48
+ extended_options = options.merge(base_dom_id: base_dom_id)
49
+ select_date(datetime, extended_options)
50
+ select_time(datetime, extended_options)
51
+ end
31
52
  end
32
53
 
33
54
  private
34
55
 
56
+ def html5_input_field_present?(base_dom_id)
57
+ ::Rails::VERSION::MAJOR >= 7 && page.has_css?("##{base_dom_id}", wait: 0)
58
+ end
59
+
60
+ def get_base_dom_from_options(options)
61
+ options[:base_dom_id] || get_base_dom_id_from_label_tag(options[:from])
62
+ end
63
+
35
64
  # @example "event_starts_at_"
36
65
  def get_base_dom_id_from_label_tag(field)
37
66
  find(:xpath, ".//label[contains(., '#{field}')]")['for'].gsub(/(_[1-5]i)$/, '')
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Cucumber
4
+ module Rails
5
+ module Database
6
+ class NullStrategy
7
+ def before_js; end
8
+
9
+ def before_non_js; end
10
+
11
+ def after; end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -10,6 +10,8 @@ module Cucumber
10
10
 
11
11
  def before_js(strategy)
12
12
  @original_strategy = if defined?(DatabaseCleaner::VERSION) && Gem::Version.new(DatabaseCleaner::VERSION) >= Gem::Version.new('1.8.0.beta')
13
+ raise "No DatabaseCleaner strategies found. Make sure you have required one of DatabaseCleaner's adapters" if DatabaseCleaner.cleaners.empty?
14
+
13
15
  DatabaseCleaner.cleaners.values.first.strategy # that feels like a nasty hack
14
16
  else
15
17
  DatabaseCleaner.connections.first.strategy # that feels like a nasty hack
@@ -49,7 +49,8 @@ module Cucumber
49
49
  truncation: TruncationStrategy,
50
50
  shared_connection: SharedConnectionStrategy,
51
51
  transaction: SharedConnectionStrategy,
52
- deletion: DeletionStrategy
52
+ deletion: DeletionStrategy,
53
+ none: NullStrategy
53
54
  }
54
55
  end
55
56
 
@@ -24,6 +24,7 @@ if called_from_env_rb
24
24
  require 'cucumber/rails/capybara'
25
25
  require 'cucumber/rails/database/strategy'
26
26
  require 'cucumber/rails/database/deletion_strategy'
27
+ require 'cucumber/rails/database/null_strategy'
27
28
  require 'cucumber/rails/database/shared_connection_strategy'
28
29
  require 'cucumber/rails/database/truncation_strategy'
29
30
  require 'cucumber/rails/database'
@@ -8,10 +8,6 @@ module Cucumber
8
8
 
9
9
  DEFAULT_SHEBANG = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
10
10
 
11
- class_option :spork,
12
- type: :boolean,
13
- desc: 'Use Spork'
14
-
15
11
  class_option :skip_database,
16
12
  type: :boolean,
17
13
  desc: 'Skip modification of database.yml',
@@ -34,11 +30,16 @@ module Cucumber
34
30
 
35
31
  def create_feature_support
36
32
  empty_directory 'features/support'
37
- if spork?
38
- template 'support/rails_spork.rb.erb', 'features/support/env.rb'
39
- else
40
- template 'support/rails.rb.erb', 'features/support/env.rb'
41
- end
33
+ template 'support/rails.rb.erb', 'features/support/env.rb'
34
+ end
35
+
36
+ def configure_environment
37
+ environment(<<~CONFIG, env: %w[development test]) if ::Rails::VERSION::MAJOR >= 6
38
+ # Configure 'rails notes' to inspect Cucumber files
39
+ config.annotations.register_directories('features')
40
+ config.annotations.register_extensions('feature') { |tag| /#\\s*(\#{tag}):?\\s*(.*)$/ }
41
+
42
+ CONFIG
42
43
  end
43
44
 
44
45
  def create_tasks
@@ -59,20 +60,16 @@ module Cucumber
59
60
 
60
61
  protected
61
62
 
62
- def spork?
63
- options[:spork]
64
- end
65
-
66
63
  def embed_file(source, indent = '')
67
- IO.read(File.join(self.class.source_root, source)).gsub(/^/, indent)
64
+ File.read(File.join(self.class.source_root, source)).gsub(/^/, indent)
68
65
  end
69
66
 
70
67
  def embed_template(source, indent = '')
71
68
  template = File.join(self.class.source_root, source)
72
69
  if RUBY_VERSION >= '2.6'
73
- ERB.new(IO.read(template), trim_mode: '-').result(binding).gsub(/^/, indent)
70
+ ERB.new(File.read(template), trim_mode: '-').result(binding).gsub(/^/, indent)
74
71
  else
75
- ERB.new(IO.read(template), nil, '-').result(binding).gsub(/^/, indent)
72
+ ERB.new(File.read(template), nil, '-').result(binding).gsub(/^/, indent)
76
73
  end
77
74
  end
78
75
  end
@@ -4,6 +4,6 @@ rerun = rerun.strip.gsub /\s/, ' '
4
4
  rerun_opts = rerun.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
5
5
  std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags 'not @wip'"
6
6
  %>
7
- default: <%= spork? ? '--drb ' : '' %><%%= std_opts %> features
8
- wip: <%= spork? ? '--drb ' : '' %>--tags @wip:3 --wip features
9
- rerun: <%= spork? ? '--drb ' : '' %><%%= rerun_opts %> --format rerun --out rerun.txt --strict --tags 'not @wip'
7
+ default: <%%= std_opts %> features
8
+ wip: --tags @wip:3 --wip features
9
+ rerun: <%%= rerun_opts %> --format rerun --out rerun.txt --strict --tags 'not @wip'
@@ -35,6 +35,7 @@ begin
35
35
  ::STATS_DIRECTORIES << %w(Cucumber\ features features) if File.exist?('features')
36
36
  ::CodeStatistics::TEST_TYPES << "Cucumber features" if File.exist?('features')
37
37
  end
38
+ <% if ::Rails::VERSION::MAJOR < 6 %>
38
39
 
39
40
  task :annotations_setup do
40
41
  Rails.application.configure do
@@ -44,7 +45,9 @@ begin
44
45
  end
45
46
  end
46
47
  end
48
+ <% end %>
47
49
  end
50
+
48
51
  desc 'Alias for cucumber:ok'
49
52
  task cucumber: 'cucumber:ok'
50
53
 
@@ -60,7 +63,9 @@ begin
60
63
 
61
64
  task stats: 'cucumber:statsetup'
62
65
 
66
+ <% if ::Rails::VERSION::MAJOR < 6 %>
63
67
  task notes: 'cucumber:annotations_setup'
68
+ <% end %>
64
69
  rescue LoadError
65
70
  desc 'cucumber rake task not available (cucumber not installed)'
66
71
  task :cucumber do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.5.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: 2021-03-30 00:00:00.000000000 Z
13
+ date: 2022-04-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capybara
@@ -38,48 +38,48 @@ dependencies:
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 3.0.2
41
+ version: '3.2'
42
42
  - - "<"
43
43
  - !ruby/object:Gem::Version
44
- version: '6'
44
+ version: '8'
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - ">="
50
50
  - !ruby/object:Gem::Version
51
- version: 3.0.2
51
+ version: '3.2'
52
52
  - - "<"
53
53
  - !ruby/object:Gem::Version
54
- version: '6'
54
+ version: '8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mime-types
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.2'
61
+ version: '3.3'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.2'
68
+ version: '3.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: nokogiri
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.8'
75
+ version: '1.10'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.8'
82
+ version: '1.10'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: railties
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -89,7 +89,7 @@ dependencies:
89
89
  version: '5.0'
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
- version: '7'
92
+ version: '8'
93
93
  type: :runtime
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
@@ -99,7 +99,35 @@ dependencies:
99
99
  version: '5.0'
100
100
  - - "<"
101
101
  - !ruby/object:Gem::Version
102
- version: '7'
102
+ version: '8'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rexml
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '3.0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '3.0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: webrick
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '1.7'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '1.7'
103
131
  - !ruby/object:Gem::Dependency
104
132
  name: ammeter
105
133
  requirement: !ruby/object:Gem::Requirement
@@ -118,16 +146,16 @@ dependencies:
118
146
  name: appraisal
119
147
  requirement: !ruby/object:Gem::Requirement
120
148
  requirements:
121
- - - "~>"
149
+ - - "<"
122
150
  - !ruby/object:Gem::Version
123
- version: '2.2'
151
+ version: '2.4'
124
152
  type: :development
125
153
  prerelease: false
126
154
  version_requirements: !ruby/object:Gem::Requirement
127
155
  requirements:
128
- - - "~>"
156
+ - - "<"
129
157
  - !ruby/object:Gem::Version
130
- version: '2.2'
158
+ version: '2.4'
131
159
  - !ruby/object:Gem::Dependency
132
160
  name: aruba
133
161
  requirement: !ruby/object:Gem::Requirement
@@ -156,6 +184,26 @@ dependencies:
156
184
  - - ">="
157
185
  - !ruby/object:Gem::Version
158
186
  version: '1.17'
187
+ - !ruby/object:Gem::Dependency
188
+ name: database_cleaner
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '1.8'
194
+ - - "<"
195
+ - !ruby/object:Gem::Version
196
+ version: '3.0'
197
+ type: :development
198
+ prerelease: false
199
+ version_requirements: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: '1.8'
204
+ - - "<"
205
+ - !ruby/object:Gem::Version
206
+ version: '3.0'
159
207
  - !ruby/object:Gem::Dependency
160
208
  name: rake
161
209
  requirement: !ruby/object:Gem::Requirement
@@ -190,14 +238,14 @@ dependencies:
190
238
  requirements:
191
239
  - - "~>"
192
240
  - !ruby/object:Gem::Version
193
- version: 0.93.0
241
+ version: 1.24.0
194
242
  type: :development
195
243
  prerelease: false
196
244
  version_requirements: !ruby/object:Gem::Requirement
197
245
  requirements:
198
246
  - - "~>"
199
247
  - !ruby/object:Gem::Version
200
- version: 0.93.0
248
+ version: 1.24.0
201
249
  - !ruby/object:Gem::Dependency
202
250
  name: rubocop-packaging
203
251
  requirement: !ruby/object:Gem::Requirement
@@ -218,28 +266,28 @@ dependencies:
218
266
  requirements:
219
267
  - - "~>"
220
268
  - !ruby/object:Gem::Version
221
- version: 1.7.1
269
+ version: 1.10.2
222
270
  type: :development
223
271
  prerelease: false
224
272
  version_requirements: !ruby/object:Gem::Requirement
225
273
  requirements:
226
274
  - - "~>"
227
275
  - !ruby/object:Gem::Version
228
- version: 1.7.1
276
+ version: 1.10.2
229
277
  - !ruby/object:Gem::Dependency
230
278
  name: rubocop-rspec
231
279
  requirement: !ruby/object:Gem::Requirement
232
280
  requirements:
233
281
  - - "~>"
234
282
  - !ruby/object:Gem::Version
235
- version: 1.44.0
283
+ version: 2.2.0
236
284
  type: :development
237
285
  prerelease: false
238
286
  version_requirements: !ruby/object:Gem::Requirement
239
287
  requirements:
240
288
  - - "~>"
241
289
  - !ruby/object:Gem::Version
242
- version: 1.44.0
290
+ version: 2.2.0
243
291
  - !ruby/object:Gem::Dependency
244
292
  name: sqlite3
245
293
  requirement: !ruby/object:Gem::Requirement
@@ -300,6 +348,7 @@ files:
300
348
  - lib/cucumber/rails/capybara/select_dates_and_times.rb
301
349
  - lib/cucumber/rails/database.rb
302
350
  - lib/cucumber/rails/database/deletion_strategy.rb
351
+ - lib/cucumber/rails/database/null_strategy.rb
303
352
  - lib/cucumber/rails/database/shared_connection_strategy.rb
304
353
  - lib/cucumber/rails/database/strategy.rb
305
354
  - lib/cucumber/rails/database/truncation_strategy.rb
@@ -319,17 +368,16 @@ files:
319
368
  - lib/generators/cucumber/templates/support/capybara.rb
320
369
  - lib/generators/cucumber/templates/support/edit_warning.txt
321
370
  - lib/generators/cucumber/templates/support/rails.rb.erb
322
- - lib/generators/cucumber/templates/support/rails_spork.rb.erb
323
371
  - lib/generators/cucumber/templates/tasks/cucumber.rake.erb
324
372
  homepage: https://cucumber.io
325
373
  licenses:
326
374
  - MIT
327
375
  metadata:
328
376
  bug_tracker_uri: https://github.com/cucumber/cucumber-rails/issues
329
- changelog_uri: https://github.com/cucumber/cucumber-rails/blob/v2.3.0/CHANGELOG.md
377
+ changelog_uri: https://github.com/cucumber/cucumber-rails/blob/v2.5.1/CHANGELOG.md
330
378
  documentation_uri: https://cucumber.io/docs
331
379
  mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
332
- source_code_uri: https://github.com/cucumber/cucumber-rails/tree/v2.3.0
380
+ source_code_uri: https://github.com/cucumber/cucumber-rails/tree/v2.5.1
333
381
  post_install_message:
334
382
  rdoc_options: []
335
383
  require_paths:
@@ -338,15 +386,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
338
386
  requirements:
339
387
  - - ">="
340
388
  - !ruby/object:Gem::Version
341
- version: 2.4.0
389
+ version: 2.5.0
342
390
  required_rubygems_version: !ruby/object:Gem::Requirement
343
391
  requirements:
344
392
  - - ">="
345
393
  - !ruby/object:Gem::Version
346
- version: '0'
394
+ version: 1.6.1
347
395
  requirements: []
348
396
  rubygems_version: 3.1.2
349
397
  signing_key:
350
398
  specification_version: 4
351
- summary: cucumber-rails-2.3.0
399
+ summary: cucumber-rails-2.5.1
352
400
  test_files: []
@@ -1,13 +0,0 @@
1
- <%= embed_file('support/edit_warning.txt') %>
2
- require 'rubygems'
3
- require 'spork'
4
-
5
- Spork.prefork do
6
- <%= embed_template('support/_rails_prefork.rb.erb', ' ') %>
7
-
8
- <%= embed_file("support/capybara.rb", ' ') %>
9
- end
10
-
11
- Spork.each_run do
12
- <%= embed_template('support/_rails_each_run.rb.erb', ' ') %>
13
- end