From 04fc4cb89d80e223596dd0851afed626577c68fc Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Sat, 16 Jan 2016 16:26:03 +0100 Subject: [PATCH] Allow rails-dom-testing 2 If users are running rails-dom-testing via a GitHub entry, Bundler can't find compatible releases for it and jquery-rails. Fix by allowing version 2, but also restrict any version 3 as a safety measure. --- jquery-rails.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery-rails.gemspec b/jquery-rails.gemspec index 0ca87127..ff47ab9c 100644 --- a/jquery-rails.gemspec +++ b/jquery-rails.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.add_dependency "railties", ">= 4.2.0" s.add_dependency "thor", ">= 0.14", "< 2.0" - s.add_dependency "rails-dom-testing", "~> 1.0" + s.add_dependency "rails-dom-testing", ">= 1", "< 3" s.files = `git ls-files`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }