1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #25907 from gsamokovarov/lock-web-console-for-5.0

Enforce minimal web-console version for Rails 5
This commit is contained in:
Yves Senn 2016-07-21 09:54:28 +02:00 committed by GitHub
commit 0800e5dcad
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ group :development do
<%- if options.dev? || options.edge? -%>
gem 'web-console', github: 'rails/web-console'
<%- else -%>
gem 'web-console'
gem 'web-console', '>= 3.3.0'
<%- end -%>
<%- end -%>
<% if depend_on_listen? -%>

View file

@ -574,7 +574,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(/\Agem 'web-console'\z/, content)
assert_no_match(/\Agem 'web-console', '>= 3.3.0'\z/, content)
end
end
@ -583,7 +583,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(/\Agem 'web-console'\z/, content)
assert_no_match(/\Agem 'web-console', '>= 3.3.0'\z/, content)
end
end