From 72f17d59e40c95d08edb893b898145a7bf68d1a2 Mon Sep 17 00:00:00 2001 From: eileencodes Date: Tue, 10 Apr 2018 16:37:17 -0400 Subject: Remove upper bound on Capybara There's no reason to block future versions of Capybara since we don't _know_ they are going to break. How will we know if we have a conservative option set? This change prevents us from blocking users who want to upgrade in the future. --- Gemfile | 2 +- Gemfile.lock | 2 +- actionpack/lib/action_dispatch/system_test_case.rb | 2 +- railties/lib/rails/generators/rails/app/templates/Gemfile.tt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 6ae11c1fb2..e350e31bd2 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ gem "rake", ">= 11.1" gem "mocha" -gem "capybara", ">= 2.15", "< 4.0" +gem "capybara", ">= 2.15" gem "rack-cache", "~> 1.2" gem "coffee-rails" diff --git a/Gemfile.lock b/Gemfile.lock index dba0848cd7..56d62e564f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -506,7 +506,7 @@ DEPENDENCIES blade-sauce_labs_plugin bootsnap (>= 1.1.0) byebug - capybara (>= 2.15, < 4.0) + capybara (>= 2.15) chromedriver-helper coffee-rails connection_pool diff --git a/actionpack/lib/action_dispatch/system_test_case.rb b/actionpack/lib/action_dispatch/system_test_case.rb index d06ff0c804..c74c0ccced 100644 --- a/actionpack/lib/action_dispatch/system_test_case.rb +++ b/actionpack/lib/action_dispatch/system_test_case.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -gem "capybara", ">= 2.15", "< 4.0" +gem "capybara", ">= 2.15" require "capybara/dsl" require "capybara/minitest" diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt index 89263070ef..5e7455cdc7 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt @@ -69,7 +69,7 @@ end <%- if depends_on_system_test? -%> group :test do # Adds support for Capybara system testing and selenium driver - gem 'capybara', '>= 2.15', '< 4.0' + gem 'capybara', '>= 2.15' gem 'selenium-webdriver' # Easy installation and use of chromedriver to run system tests with Chrome gem 'chromedriver-helper' -- cgit v1.2.3