aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorGenadi Samokovarov <gsamokovarov@gmail.com>2016-03-08 15:17:51 +0200
committerGenadi Samokovarov <gsamokovarov@gmail.com>2016-03-08 15:17:51 +0200
commite5940003ae2e1a50070bc262f83b0d8a21f86010 (patch)
tree9d36e0ba08fb4b70326b7354dcea934296d74578 /railties/test
parenta61bf5f5b63780a3e0b4c2d4339967df82b370de (diff)
downloadrails-e5940003ae2e1a50070bc262f83b0d8a21f86010.tar.gz
rails-e5940003ae2e1a50070bc262f83b0d8a21f86010.tar.bz2
rails-e5940003ae2e1a50070bc262f83b0d8a21f86010.zip
Drop the explicit version requirements for web-console
Between major versions 2 and 3, we hit a bug. It's fixed in version 3, however, the explicit 2.x requirement of `~> '2.0'` will prevent people from getting the fix with `bundle update` and they would have to explicitly set the constraint to `~> '3.0'`. For more information see: rails/web-console#178. I propose we drop the explicit version constraints in the Gemfile. Web Console has been relatively stable for the past couple of years, and I don't anticipate any major alterations, like we saw between major versions 1 and 2.
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/app_generator_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 2cbce4bc5e..839bb27b01 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -632,7 +632,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
assert_file "Gemfile" do |content|
assert_match(/gem 'web-console',\s+github: 'rails\/web-console'/, content)
- assert_no_match(/gem 'web-console', '~> 3.0'/, content)
+ assert_no_match(/gem 'web-console'/, content)
end
end
@@ -641,7 +641,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
assert_file "Gemfile" do |content|
assert_match(/gem 'web-console',\s+github: 'rails\/web-console'/, content)
- assert_no_match(/gem 'web-console', '~> 3.0'/, content)
+ assert_no_match(/gem 'web-console'/, content)
end
end