diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt index 8df255446105f22f270ff423d356a7d08ede4306..4ca04fb4fd568278d48e836c14c566bdfd97ffd0 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt @@ -49,7 +49,7 @@ group :development do <%- if options.dev? || options.edge? || options.master? -%> gem 'web-console', github: 'rails/web-console' <%- else -%> - gem 'web-console', '>= 3.3.0' + gem 'web-console', '>= 4.0.3' <%- end -%> # Display performance information such as SQL time and flame graphs for each request in your browser. # Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 59674adca2fe096ad974c7a3f444a784362c19ee..8865029ccbd8fac373ab453a43136a5cd87d5128 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -784,7 +784,7 @@ def test_web_console_with_dev_option assert_file "Gemfile" do |content| assert_match(/gem 'web-console',\s+github: 'rails\/web-console'/, content) - assert_no_match(/\Agem 'web-console', '>= 3\.3\.0'\z/, content) + assert_no_match(/\Agem 'web-console', '>= 4\.0\.3'\z/, content) end end @@ -793,7 +793,7 @@ def test_web_console_with_edge_option assert_file "Gemfile" do |content| assert_match(/gem 'web-console',\s+github: 'rails\/web-console'/, content) - assert_no_match(/\Agem 'web-console', '>= 3\.3\.0'\z/, content) + assert_no_match(/\Agem 'web-console', '>= 4\.0\.3'\z/, content) end end @@ -802,7 +802,7 @@ def test_web_console_with_master_option assert_file "Gemfile" do |content| assert_match(/gem 'web-console',\s+github: 'rails\/web-console'/, content) - assert_no_match(/\Agem 'web-console', '>= 3\.3\.0'\z/, content) + assert_no_match(/\Agem 'web-console', '>= 4\.0\.3'\z/, content) end end