提交 ee117650 编写于 作者: G Gregorio Kusowski

Bump minimum web-console version to 4.0.3

上级 b5dac96b
......@@ -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
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册