Skip to content

Commit

Permalink
Update web-console to 3.0.0
Browse files Browse the repository at this point in the history
Web Console 3.0.0 is compatible with Rails 5, while the 2.x.x releases
aren't.
  • Loading branch information
gsamokovarov committed Dec 13, 2015
1 parent 6be2701 commit 3ba4427
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion railties/lib/rails/generators/rails/app/templates/Gemfile
Expand Up @@ -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? -%>
Expand Down
4 changes: 2 additions & 2 deletions railties/test/generators/app_generator_test.rb
Expand Up @@ -505,7 +505,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(/gem 'web-console', '~> 2.0'/, content)
assert_no_match(/gem 'web-console', '~> 3.0'/, content)
end
end

Expand All @@ -514,7 +514,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(/gem 'web-console', '~> 2.0'/, content)
assert_no_match(/gem 'web-console', '~> 3.0'/, content)
end
end

Expand Down

0 comments on commit 3ba4427

Please sign in to comment.