cucumber-rails 1.4.5 → 1.5.0

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
  SHA1:
3
- metadata.gz: 5b4a00a8b1ecaa4741f100b8bb68bb7224d288c5
4
- data.tar.gz: cf414e99b170bcdb4da9b2050ac8f5da94fbd2da
3
+ metadata.gz: 1ede09e45fc6492f4ed4a865ab03e4970284c79b
4
+ data.tar.gz: 80cc4c800bb79e1e83dda92169ecb5c2e60fe2a4
5
5
  SHA512:
6
- metadata.gz: 7e050c5bcd36b5d25117d72db4ae98c1652c81223da29991bf974c9bcf1faa4772ae63e0f86ef7bea7bd7c67ef784ec932e27785b24a6dcc086b6c3a3cf4aa8a
7
- data.tar.gz: 6706061963a3d0e723b7411105ac02a96de483c590be8de1810cc556fe6bdaba85f47d439b92fa75d75ba7211103bde89767d3ee83e4932b4c931508b6a12a6b
6
+ metadata.gz: 210f9050f9e409498e7871431b7888e735876cccbdb1caa9c9943fe427250ae320fc2a542fc9bb85395635fa1126fdd829f4755ddd05b068dfb27eb35273a10f
7
+ data.tar.gz: 2b25fdefb88fbe43f5ed6d2e367e971f6374eba4a59ff9b218ac8205cf9cc500411a57ffcd9f96383f78f9d194205f256e956cdfeeb95bf49ed54e92cd8567f9
@@ -1,6 +1,6 @@
1
1
  rvm:
2
- - 1.9.3
3
2
  - 2.0.0
3
+ - 2.1.9
4
4
  - 2.2.5
5
5
  - 2.3.1
6
6
 
@@ -10,57 +10,35 @@ branches:
10
10
  - master
11
11
 
12
12
  gemfile:
13
- - gemfiles/capybara_1_1.gemfile
13
+ - gemfiles/lowest_version_bounds.gemfile
14
+ - gemfiles/rails_5_1.gemfile
14
15
  - gemfiles/rails_5_0.gemfile
15
16
  - gemfiles/rails_4_2.gemfile
16
17
  - gemfiles/rails_4_1.gemfile
17
18
  - gemfiles/rails_4_0.gemfile
18
- - gemfiles/rails_3_2.gemfile
19
- - gemfiles/rails_3_1.gemfile
20
- - gemfiles/rails_3_0.gemfile
21
19
 
22
20
  matrix:
23
21
  fast_finish: true
24
22
  exclude:
25
- - rvm: 1.9.3
26
- gemfile: gemfiles/rails_5_0.gemfile
27
- - rvm: 1.9.3
28
- gemfile: gemfiles/rails_4_2.gemfile
29
- - rvm: 1.9.3
30
- gemfile: gemfiles/rails_4_1.gemfile
31
- - rvm: 1.9.3
32
- gemfile: gemfiles/rails_4_0.gemfile
33
-
34
23
  - rvm: 2.0.0
35
24
  gemfile: gemfiles/rails_5_0.gemfile
36
25
  - rvm: 2.0.0
37
- gemfile: gemfiles/capybara_1_1.gemfile
38
- - rvm: 2.0.0
39
- gemfile: gemfiles/rails_3_1.gemfile
40
- - rvm: 2.0.0
41
- gemfile: gemfiles/rails_3_0.gemfile
26
+ gemfile: gemfiles/rails_5_1.gemfile
27
+
28
+ - rvm: 2.1.9
29
+ gemfile: gemfiles/rails_5_0.gemfile
30
+ - rvm: 2.1.9
31
+ gemfile: gemfiles/rails_5_1.gemfile
42
32
 
43
- - rvm: 2.2.5
44
- gemfile: gemfiles/capybara_1_1.gemfile
45
33
  - rvm: 2.2.5
46
34
  gemfile: gemfiles/rails_4_0.gemfile
47
35
  - rvm: 2.2.5
48
- gemfile: gemfiles/rails_3_2.gemfile
49
- - rvm: 2.2.5
50
- gemfile: gemfiles/rails_3_1.gemfile
51
- - rvm: 2.2.5
52
- gemfile: gemfiles/rails_3_0.gemfile
36
+ gemfile: gemfiles/lowest_version_bounds.gemfile
53
37
 
54
- - rvm: 2.3.1
55
- gemfile: gemfiles/capybara_1_1.gemfile
56
38
  - rvm: 2.3.1
57
39
  gemfile: gemfiles/rails_4_0.gemfile
58
40
  - rvm: 2.3.1
59
- gemfile: gemfiles/rails_3_2.gemfile
60
- - rvm: 2.3.1
61
- gemfile: gemfiles/rails_3_1.gemfile
62
- - rvm: 2.3.1
63
- gemfile: gemfiles/rails_3_0.gemfile
41
+ gemfile: gemfiles/lowest_version_bounds.gemfile
64
42
 
65
43
  before_install: gem update --remote bundler
66
44
 
data/Appraisals CHANGED
@@ -1,51 +1,30 @@
1
- appraise "rails_3_0" do
2
- gem "rails", "~> 3.0.20"
3
- gem "capybara", "~> 2.0.2"
4
- gem "turn", "~> 0.9.6"
5
- gem "rspec-rails", "~> 3.1.0"
6
- gem "jquery-rails", "~> 2.2.1"
7
- gem "uglifier", "~> 2.1.0"
8
- gem "sqlite3", "~> 1.3.7"
9
- gem "database_cleaner", "~> 1.0.1"
10
- end
1
+ appraise "lowest_version_bounds" do
2
+ # Runtime dependencies of cucumber-rails
3
+ gem "capybara", "~> 1.1.2"
4
+ gem "cucumber", "~> 1.3.8"
5
+ gem "nokogiri", "~> 1.5.0"
6
+ gem "railties", "~> 4.0.0"
7
+ gem "mime-types", "~> 1.17.0"
11
8
 
12
- appraise "rails_3_1" do
13
- gem "rails", "~> 3.1.11"
14
- gem "capybara", "~> 2.0.2"
15
- gem "turn", "~> 0.9.6"
16
- gem "rspec-rails", "~> 3.1.0"
17
- gem "sass-rails", "~> 3.1.7"
18
- gem "coffee-rails", "~> 3.1.1"
19
- gem "jquery-rails", "~> 2.2.1"
20
- gem "uglifier", "~> 2.1.0"
21
- gem "sqlite3", "~> 1.3.7"
22
- gem "database_cleaner", "~> 1.0.1"
23
- end
9
+ # Other Rails dependencies
10
+ gem "rails", "~> 4.0.0"
11
+ gem "protected_attributes", "~> 1.0.3"
24
12
 
25
- appraise "rails_3_2" do
26
- gem "rails", "~> 3.2.12"
27
- gem "capybara", "~> 2.0.2"
28
13
  gem "turn", "~> 0.9.6"
29
- gem "rspec-rails", "~> 3.1.0"
30
- gem "sass-rails", "~> 3.2.6"
31
- gem "coffee-rails", "~> 3.2.2"
14
+ gem "sass-rails", "~> 4.0.0"
15
+ gem "coffee-rails", "~> 4.0.0"
32
16
  gem "jquery-rails", "~> 2.2.1"
33
17
  gem "uglifier", "~> 2.1.0"
34
18
  gem "sqlite3", "~> 1.3.7"
35
- gem "database_cleaner", "~> 1.0.1"
36
- end
37
19
 
38
- appraise "capybara_1_1" do
39
- gem "capybara", "~> 1.1.2"
40
- gem "rails", "~> 3.2.12"
41
- gem "turn", "~> 0.9.6"
42
- gem "rspec-rails", "~> 3.1.0"
43
- gem "sass-rails", "~> 3.2.6"
44
- gem "coffee-rails", "~> 3.2.2"
45
- gem "jquery-rails", "~> 2.2.1"
46
- gem "uglifier", "~> 2.1.0"
47
- gem "sqlite3", "~> 1.3.7"
48
- gem "database_cleaner", "~> 1.0.1"
20
+ # Development dependencies of cucumber-rails
21
+ gem "ammeter", "~> 1.0.0"
22
+ gem "builder", "~> 3.1.0"
23
+ gem "selenium-webdriver", "~> 2.45.0"
24
+ gem "database_cleaner", "~> 1.0.0"
25
+ gem "factory_girl", "~> 3.2.0"
26
+ gem "rspec-rails", "~> 3.0.0"
27
+ gem "rake", "~> 0.9.2.2"
49
28
  end
50
29
 
51
30
  appraise "rails_4_0" do
@@ -61,6 +40,7 @@ appraise "rails_4_0" do
61
40
  gem "uglifier", "~> 2.1.0"
62
41
  gem "sqlite3", "~> 1.3.7"
63
42
  gem "database_cleaner", "~> 1.0.1"
43
+ gem "rake", "< 11.0"
64
44
  end
65
45
 
66
46
  appraise "rails_4_1" do
@@ -75,6 +55,7 @@ appraise "rails_4_1" do
75
55
  gem "uglifier", "~> 2.1.0"
76
56
  gem "sqlite3", "~> 1.3.7"
77
57
  gem "database_cleaner", "~> 1.0.1"
58
+ gem "rake", "< 11.0"
78
59
  end
79
60
 
80
61
  appraise "rails_4_2" do
@@ -89,6 +70,7 @@ appraise "rails_4_2" do
89
70
  gem "uglifier", "~> 2.1.0"
90
71
  gem "sqlite3", "~> 1.3.7"
91
72
  gem "database_cleaner", "~> 1.0.1"
73
+ gem "rake", "< 11.0"
92
74
  end
93
75
 
94
76
  appraise "rails_5_0" do
@@ -105,3 +87,16 @@ appraise "rails_5_0" do
105
87
  # Rails 5 requires database cleaner 1.1
106
88
  gem "database_cleaner", ">= 1.1.0"
107
89
  end
90
+
91
+ appraise "rails_5_1" do
92
+ gem "rails", "~> 5.1.0"
93
+ gem "railties", "~> 5.1.0"
94
+ gem "selenium-webdriver", "~> 2.0"
95
+ gem "rspec-rails", "~> 3.5.0"
96
+ gem "sass-rails", "~> 5.0"
97
+ gem "coffee-rails", "~> 4.2.0"
98
+ gem "uglifier", "~> 3.2.0"
99
+ gem "sqlite3", "~> 1.3.13"
100
+ # Rails 5 requires database cleaner 1.1
101
+ gem "database_cleaner", ">= 1.1.0"
102
+ end
data/History.md CHANGED
@@ -1,4 +1,9 @@
1
- ## [master](https://github.com/cucumber/cucumber-rails/compare/1.4.5...master) (Not yet released)
1
+ ## [master](https://github.com/cucumber/cucumber-rails/compare/1.5.0...master) (Not yet released)
2
+
3
+ ## [v1.5.0](https://github.com/cucumber/cucumber-rails/compare/1.4.5...1.5.0) (2017-05-12)
4
+
5
+ * Drop rails 3 support ( [#334] (https://github.com/cucumber/cucumber-rails/pull/334) Matijs van Zuijlen )
6
+ * Add rals 5.1 support ( [#337] (https://github.com/cucumber/cucumber-rails/pull/337) Matijs van Zuijlen - Rafael Reggiani Manzo )
2
7
 
3
8
  ## [v1.4.5](https://github.com/cucumber/cucumber-rails/compare/1.4.4...1.4.5) (2016-09-27)
4
9
 
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![Dependency Status](https://gemnasium.com/Kosmas/cucumber-rails.svg)](https://gemnasium.com/Kosmas/cucumber-rails)
7
7
  [![PullReview stats](https://www.pullreview.com/github/cucumber/cucumber-rails/badges/master.svg?)](https://www.pullreview.com/github/cucumber/cucumber-rails/reviews/master)
8
8
 
9
- Cucumber-Rails brings Cucumber to Rails 3.x, 4.x and 5.x. For Rails 2.3.x support, see the [rails-2.3.x branch](https://github.com/cucumber/cucumber-rails/tree/rails-2.3.x).
9
+ Cucumber-Rails brings Cucumber to Rails 4.x and 5.x. For Rails 3.x support, use version 1.4.5. For Rails 2.3.x support, see the [rails-2.3.x branch](https://github.com/cucumber/cucumber-rails/tree/rails-2.3.x).
10
10
 
11
11
  ## Installation
12
12
 
@@ -10,6 +10,11 @@ end
10
10
  opts = [
11
11
  "--format #{path == 'features' ? 'progress' : 'pretty'}",
12
12
  "--format rerun -o #{rerun_file}"
13
- ].join(' ')
13
+ ]
14
+ rails_version = `bundle exec rails --version`.match(/[\d.]+$/).to_s
15
+ if Gem::Version.new(rails_version) < Gem::Version.new('4.2')
16
+ opts << '--tags ~@requires-rails-version-42'
17
+ end
18
+ optlist = opts.join(' ')
14
19
  %>
15
- default: <%= path %> <%= opts %> --tags ~@broken
20
+ default: <%= path %> <%= optlist %> --tags ~@broken
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'cucumber-rails'
6
- s.version = '1.4.5'
6
+ s.version = '1.5.0'
7
7
  s.authors = ["Aslak Hellesøy", "Dennis Blöte", "Rob Holland"]
8
8
  s.description = "Cucumber Generator and Runtime for Rails"
9
9
  s.summary = "#{s.name}-#{s.version}"
@@ -15,20 +15,20 @@ Gem::Specification.new do |s|
15
15
  s.add_runtime_dependency('capybara', ['>= 1.1.2', '< 3'])
16
16
  s.add_runtime_dependency('cucumber', ['>= 1.3.8', '< 4'])
17
17
  s.add_runtime_dependency('nokogiri', '~> 1.5')
18
- s.add_runtime_dependency('railties', ['>= 3', '< 5.1'])
19
- s.add_runtime_dependency('mime-types', ['>= 1.16', '< 4'])
18
+ s.add_runtime_dependency('railties', ['>= 4', '< 5.2'])
19
+ s.add_runtime_dependency('mime-types', ['>= 1.17', '< 4'])
20
20
 
21
21
  # Main development dependencies
22
- s.add_development_dependency('ammeter', ['>= 0.2.9', '< 1.1.3'])
22
+ s.add_development_dependency('ammeter', ['>= 1.0.0', '< 1.1.3'])
23
23
  s.add_development_dependency('appraisal', '>= 0.5.1')
24
- s.add_development_dependency('aruba', '~> 0.8.0')
25
- s.add_development_dependency('builder', ['>= 2.1.2', '< 4'])
24
+ s.add_development_dependency('aruba', '~> 0.14.2')
25
+ s.add_development_dependency('builder', ['>= 3.1.0', '< 4'])
26
26
  s.add_development_dependency('bundler', '>= 1.3.5')
27
27
  s.add_development_dependency('selenium-webdriver', '>= 2.45.0')
28
- s.add_development_dependency('database_cleaner', '>= 0.7.2')
28
+ s.add_development_dependency('database_cleaner', '>= 1.0.0')
29
29
  s.add_development_dependency('factory_girl', '>= 3.2')
30
30
  s.add_development_dependency('rake', '>= 0.9.2.2')
31
- s.add_development_dependency('rspec', '>= 2.2', '< 4')
31
+ s.add_development_dependency('rspec', '~> 3.0')
32
32
  s.add_development_dependency('rails')
33
33
 
34
34
  # For Documentation:
@@ -51,7 +51,7 @@ Feature: Emulate Javascript
51
51
  """
52
52
  class ApplicationController < ActionController::Base
53
53
  protect_from_forgery
54
- before_filter :except => :establish do
54
+ before_action :except => :establish do
55
55
  render :text => "denied", :status => :forbidden and return false unless session[:verified]
56
56
  end
57
57
  end
@@ -37,7 +37,6 @@ Feature: No Database
37
37
  if RUBY_VERSION >= '2.0.0'
38
38
  gem 'sass-rails'
39
39
  gem 'uglifier'
40
- gem 'jquery-rails'
41
40
  end
42
41
  """
43
42
  And I write to "app/controllers/posts_controller.rb" with:
@@ -1,11 +1,16 @@
1
1
  module CucumberRailsHelper
2
2
  def rails_new(options = {})
3
3
  options[:name] ||= 'test_app'
4
- command = run "bundle exec rails new #{options[:name]} --skip-test-unit --skip-spring #{options[:args]}"
5
- assert_partial_output('README', all_output)
6
- assert_success(true)
4
+ command = run "bundle exec rails new #{options[:name]} --skip-bundle --skip-test-unit --skip-spring #{options[:args]}"
5
+ expect(command).to have_output /README/
6
+ expect(last_command_started).to be_successfully_executed
7
7
  cd options[:name]
8
- set_environment_variable 'BUNDLE_GEMFILE', 'Gemfile'
8
+ delete_environment_variable 'RUBYOPT'
9
+ delete_environment_variable 'BUNDLE_BIN_PATH'
10
+ delete_environment_variable 'BUNDLE_GEMFILE'
11
+ # Force older version of nokogiri on older Rubies
12
+ gem 'nokogiri', '~> 1.6.8' if RUBY_VERSION < '2.1.0'
13
+ run_simple 'bundle install'
9
14
  end
10
15
 
11
16
  def install_cucumber_rails(*options)
@@ -14,11 +19,26 @@ module CucumberRailsHelper
14
19
  else
15
20
  gem 'cucumber-rails' , group: :test, require: false, path: "#{File.expand_path('.')}"
16
21
  end
17
- gem 'capybara', group: :test
22
+ # From Rails 5.1 some gems are already part of the Gemfile
23
+ if Gem.loaded_specs['rails'].version < Gem::Version.new('5.1.0')
24
+ gem 'capybara', group: :test
25
+ gem 'selenium-webdriver', group: :test
26
+ else
27
+ # Make sure to restrict the selected selenium-webdriver version
28
+ # Since version 3 geckodriver is required to be installed
29
+ gemfile_text = File.read(expand_path('Gemfile'))
30
+ gemfile_text.gsub!("gem 'selenium-webdriver'", "gem 'selenium-webdriver', '~> 2.0'")
31
+ overwrite_file('Gemfile', gemfile_text)
32
+ end
18
33
  gem 'rspec-rails', group: :test
19
34
  gem 'database_cleaner', group: :test unless options.include?(:no_database_cleaner)
20
35
  gem 'factory_girl', group: :test unless options.include?(:no_factory_girl)
21
- gem 'selenium-webdriver', group: :test
36
+ # Newer versions of rake remove a method used by RSpec older versions
37
+ # See https://stackoverflow.com/questions/35893584/nomethoderror-undefined-method-last-comment-after-upgrading-to-rake-11#35893625
38
+ if Gem::Version.new(RSpec::Support::Version::STRING) < Gem::Version.new('3.4.4')
39
+ gem 'rake', '< 11.0'
40
+ run_simple 'bundle update rake --local'
41
+ end
22
42
  run_simple 'bundle exec rails generate cucumber:install'
23
43
  end
24
44
 
@@ -0,0 +1,26 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "capybara", "~> 1.1.2"
6
+ gem "cucumber", "~> 1.3.8"
7
+ gem "nokogiri", "~> 1.5.0"
8
+ gem "railties", "~> 4.0.0"
9
+ gem "mime-types", "~> 1.17.0"
10
+ gem "rails", "~> 4.0.0"
11
+ gem "protected_attributes", "~> 1.0.3"
12
+ gem "turn", "~> 0.9.6"
13
+ gem "sass-rails", "~> 4.0.0"
14
+ gem "coffee-rails", "~> 4.0.0"
15
+ gem "jquery-rails", "~> 2.2.1"
16
+ gem "uglifier", "~> 2.1.0"
17
+ gem "sqlite3", "~> 1.3.7"
18
+ gem "ammeter", "~> 1.0.0"
19
+ gem "builder", "~> 3.1.0"
20
+ gem "selenium-webdriver", "~> 2.45.0"
21
+ gem "database_cleaner", "~> 1.0.0"
22
+ gem "factory_girl", "~> 3.2.0"
23
+ gem "rspec-rails", "~> 3.0.0"
24
+ gem "rake", "~> 0.9.2.2"
25
+
26
+ gemspec :path => "../"
@@ -14,5 +14,6 @@ gem "jquery-rails", "~> 2.2.1"
14
14
  gem "uglifier", "~> 2.1.0"
15
15
  gem "sqlite3", "~> 1.3.7"
16
16
  gem "database_cleaner", "~> 1.0.1"
17
+ gem "rake", "< 11.0"
17
18
 
18
19
  gemspec :path => "../"
@@ -13,5 +13,6 @@ gem "jquery-rails", "~> 2.2.1"
13
13
  gem "uglifier", "~> 2.1.0"
14
14
  gem "sqlite3", "~> 1.3.7"
15
15
  gem "database_cleaner", "~> 1.0.1"
16
+ gem "rake", "< 11.0"
16
17
 
17
18
  gemspec :path => "../"
@@ -13,5 +13,6 @@ gem "jquery-rails"
13
13
  gem "uglifier", "~> 2.1.0"
14
14
  gem "sqlite3", "~> 1.3.7"
15
15
  gem "database_cleaner", "~> 1.0.1"
16
+ gem "rake", "< 11.0"
16
17
 
17
18
  gemspec :path => "../"
@@ -0,0 +1,15 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.1.0"
6
+ gem "railties", "~> 5.1.0"
7
+ gem "selenium-webdriver", "~> 2.0"
8
+ gem "rspec-rails", "~> 3.5.0"
9
+ gem "sass-rails", "~> 5.0"
10
+ gem "coffee-rails", "~> 4.2.0"
11
+ gem "uglifier", "~> 3.2.0"
12
+ gem "sqlite3", "~> 1.3.13"
13
+ gem "database_cleaner", ">= 1.1.0"
14
+
15
+ gemspec :path => "../"
@@ -2,4 +2,6 @@ require 'rubygems'
2
2
 
3
3
  require 'rails/version'
4
4
  require 'rspec/rails/fixture_support'
5
+ # Avoid load order issues in activesupport
6
+ require 'active_support/deprecation'
5
7
  require 'ammeter/init'
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: 1.4.5
4
+ version: 1.5.0
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: 2016-09-27 00:00:00.000000000 Z
13
+ date: 2017-05-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capybara
@@ -72,27 +72,27 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '3'
75
+ version: '4'
76
76
  - - "<"
77
77
  - !ruby/object:Gem::Version
78
- version: '5.1'
78
+ version: '5.2'
79
79
  type: :runtime
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: '3'
85
+ version: '4'
86
86
  - - "<"
87
87
  - !ruby/object:Gem::Version
88
- version: '5.1'
88
+ version: '5.2'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: mime-types
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: '1.16'
95
+ version: '1.17'
96
96
  - - "<"
97
97
  - !ruby/object:Gem::Version
98
98
  version: '4'
@@ -102,7 +102,7 @@ dependencies:
102
102
  requirements:
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
- version: '1.16'
105
+ version: '1.17'
106
106
  - - "<"
107
107
  - !ruby/object:Gem::Version
108
108
  version: '4'
@@ -112,7 +112,7 @@ dependencies:
112
112
  requirements:
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- version: 0.2.9
115
+ version: 1.0.0
116
116
  - - "<"
117
117
  - !ruby/object:Gem::Version
118
118
  version: 1.1.3
@@ -122,7 +122,7 @@ dependencies:
122
122
  requirements:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: 0.2.9
125
+ version: 1.0.0
126
126
  - - "<"
127
127
  - !ruby/object:Gem::Version
128
128
  version: 1.1.3
@@ -146,21 +146,21 @@ dependencies:
146
146
  requirements:
147
147
  - - "~>"
148
148
  - !ruby/object:Gem::Version
149
- version: 0.8.0
149
+ version: 0.14.2
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - "~>"
155
155
  - !ruby/object:Gem::Version
156
- version: 0.8.0
156
+ version: 0.14.2
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: builder
159
159
  requirement: !ruby/object:Gem::Requirement
160
160
  requirements:
161
161
  - - ">="
162
162
  - !ruby/object:Gem::Version
163
- version: 2.1.2
163
+ version: 3.1.0
164
164
  - - "<"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '4'
@@ -170,7 +170,7 @@ dependencies:
170
170
  requirements:
171
171
  - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: 2.1.2
173
+ version: 3.1.0
174
174
  - - "<"
175
175
  - !ruby/object:Gem::Version
176
176
  version: '4'
@@ -208,14 +208,14 @@ dependencies:
208
208
  requirements:
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: 0.7.2
211
+ version: 1.0.0
212
212
  type: :development
213
213
  prerelease: false
214
214
  version_requirements: !ruby/object:Gem::Requirement
215
215
  requirements:
216
216
  - - ">="
217
217
  - !ruby/object:Gem::Version
218
- version: 0.7.2
218
+ version: 1.0.0
219
219
  - !ruby/object:Gem::Dependency
220
220
  name: factory_girl
221
221
  requirement: !ruby/object:Gem::Requirement
@@ -248,22 +248,16 @@ dependencies:
248
248
  name: rspec
249
249
  requirement: !ruby/object:Gem::Requirement
250
250
  requirements:
251
- - - ">="
252
- - !ruby/object:Gem::Version
253
- version: '2.2'
254
- - - "<"
251
+ - - "~>"
255
252
  - !ruby/object:Gem::Version
256
- version: '4'
253
+ version: '3.0'
257
254
  type: :development
258
255
  prerelease: false
259
256
  version_requirements: !ruby/object:Gem::Requirement
260
257
  requirements:
261
- - - ">="
262
- - !ruby/object:Gem::Version
263
- version: '2.2'
264
- - - "<"
258
+ - - "~>"
265
259
  - !ruby/object:Gem::Version
266
- version: '4'
260
+ version: '3.0'
267
261
  - !ruby/object:Gem::Dependency
268
262
  name: rails
269
263
  requirement: !ruby/object:Gem::Requirement
@@ -368,15 +362,12 @@ files:
368
362
  - features/support/fixtures/bundler-1.0.21.gem
369
363
  - features/support/fixtures/bundler-1.1.rc.gem
370
364
  - features/support/legacy_web_steps_support.rb
371
- - features/support/version_hooks.rb
372
- - gemfiles/capybara_1_1.gemfile
373
- - gemfiles/rails_3_0.gemfile
374
- - gemfiles/rails_3_1.gemfile
375
- - gemfiles/rails_3_2.gemfile
365
+ - gemfiles/lowest_version_bounds.gemfile
376
366
  - gemfiles/rails_4_0.gemfile
377
367
  - gemfiles/rails_4_1.gemfile
378
368
  - gemfiles/rails_4_2.gemfile
379
369
  - gemfiles/rails_5_0.gemfile
370
+ - gemfiles/rails_5_1.gemfile
380
371
  - lib/cucumber/rails.rb
381
372
  - lib/cucumber/rails/action_controller.rb
382
373
  - lib/cucumber/rails/application.rb
@@ -425,8 +416,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
425
416
  version: '0'
426
417
  requirements: []
427
418
  rubyforge_project:
428
- rubygems_version: 2.5.1
419
+ rubygems_version: 2.6.8
429
420
  signing_key:
430
421
  specification_version: 4
431
- summary: cucumber-rails-1.4.5
422
+ summary: cucumber-rails-1.5.0
432
423
  test_files: []
@@ -1,12 +0,0 @@
1
- module VersionHooksHelper
2
- def rails_version
3
- @rails_version ||= `bundle exec rails --version`.match(/[\d.]+$/).to_s
4
- end
5
- end
6
-
7
- Before '@requires-rails-version-42' do
8
- extend VersionHooksHelper
9
- if Gem::Version.new(rails_version) < Gem::Version.new('4.2')
10
- skip_this_scenario
11
- end
12
- end
@@ -1,16 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "capybara", "~> 1.1.2"
6
- gem "rails", "~> 3.2.12"
7
- gem "turn", "~> 0.9.6"
8
- gem "rspec-rails", "~> 3.1.0"
9
- gem "sass-rails", "~> 3.2.6"
10
- gem "coffee-rails", "~> 3.2.2"
11
- gem "jquery-rails", "~> 2.2.1"
12
- gem "uglifier", "~> 2.1.0"
13
- gem "sqlite3", "~> 1.3.7"
14
- gem "database_cleaner", "~> 1.0.1"
15
-
16
- gemspec :path => "../"
@@ -1,14 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 3.0.20"
6
- gem "capybara", "~> 2.0.2"
7
- gem "turn", "~> 0.9.6"
8
- gem "rspec-rails", "~> 3.1.0"
9
- gem "jquery-rails", "~> 2.2.1"
10
- gem "uglifier", "~> 2.1.0"
11
- gem "sqlite3", "~> 1.3.7"
12
- gem "database_cleaner", "~> 1.0.1"
13
-
14
- gemspec :path => "../"
@@ -1,16 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 3.1.11"
6
- gem "capybara", "~> 2.0.2"
7
- gem "turn", "~> 0.9.6"
8
- gem "rspec-rails", "~> 3.1.0"
9
- gem "sass-rails", "~> 3.1.7"
10
- gem "coffee-rails", "~> 3.1.1"
11
- gem "jquery-rails", "~> 2.2.1"
12
- gem "uglifier", "~> 2.1.0"
13
- gem "sqlite3", "~> 1.3.7"
14
- gem "database_cleaner", "~> 1.0.1"
15
-
16
- gemspec :path => "../"
@@ -1,16 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 3.2.12"
6
- gem "capybara", "~> 2.0.2"
7
- gem "turn", "~> 0.9.6"
8
- gem "rspec-rails", "~> 3.1.0"
9
- gem "sass-rails", "~> 3.2.6"
10
- gem "coffee-rails", "~> 3.2.2"
11
- gem "jquery-rails", "~> 2.2.1"
12
- gem "uglifier", "~> 2.1.0"
13
- gem "sqlite3", "~> 1.3.7"
14
- gem "database_cleaner", "~> 1.0.1"
15
-
16
- gemspec :path => "../"