diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2015-12-13 18:10:46 +0100 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2015-12-13 18:10:46 +0100 |
commit | 3ba44275f69b2de4ebeb4a1028338505e70b3a59 (patch) | |
tree | f4fd5adbf822b162cbdf2ba37b7806c2733da309 | |
parent | 6be27016dff19fc7509d3668aba375fd332d6822 (diff) | |
download | rails-3ba44275f69b2de4ebeb4a1028338505e70b3a59.tar.gz rails-3ba44275f69b2de4ebeb4a1028338505e70b3a59.tar.bz2 rails-3ba44275f69b2de4ebeb4a1028338505e70b3a59.zip |
Update web-console to 3.0.0
Web Console 3.0.0 is compatible with Rails 5, while the 2.x.x releases
aren't.
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 2 | ||||
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index a0880d5166..3771bc4da5 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -41,7 +41,7 @@ group :development do <%- if options.dev? || options.edge? -%> gem 'web-console', github: 'rails/web-console' <%- else -%> - gem 'web-console', '~> 2.0' + gem 'web-console', '~> 3.0' <%- end -%> <%- end -%> <% if spring_install? -%> diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 446fef562b..dd2e931c5c 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -505,7 +505,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', '~> 2.0'/, content) + assert_no_match(/gem 'web-console', '~> 3.0'/, content) end end @@ -514,7 +514,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', '~> 2.0'/, content) + assert_no_match(/gem 'web-console', '~> 3.0'/, content) end end |