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

Fix web-console version for Rails 6.1

This commit is contained in:
stephannv 2020-11-05 10:06:27 -03:00
parent f61a38a160
commit 073e522578
2 changed files with 4 additions and 4 deletions

View file

@ -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', '>= 4.0.3'
gem 'web-console', '>= 4.1.0'
<%- 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

View file

@ -787,7 +787,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', '>= 4\.0\.3'\z/, content)
assert_no_match(/\Agem 'web-console', '>= 4\.1\.0'\z/, content)
end
end
@ -796,7 +796,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', '>= 4\.0\.3'\z/, content)
assert_no_match(/\Agem 'web-console', '>= 4\.1\.0'\z/, content)
end
end
@ -805,7 +805,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', '>= 4\.0\.3'\z/, content)
assert_no_match(/\Agem 'web-console', '>= 4\.1\.0'\z/, content)
end
end