提交 876fd5a5 编写于 作者: G Guillermo Iguaran

Merge pull request #12750 from arunagw/webconsole-invite-only

Not adding webconsole by default in new apps
......@@ -19,10 +19,6 @@
*Ben Pickles*
* Include `web-console` into newly generated applications' Gemfile.
*Genadi Samokovarov*
* `rails server` will only extend the logger to output to STDOUT
in development environment.
......
......@@ -109,7 +109,6 @@ def gemfile_entries
assets_gemfile_entry,
javascript_gemfile_entry,
jbuilder_gemfile_entry,
webconsole_gemfile_entry,
sdoc_gemfile_entry,
@extra_entries].flatten.find_all(&@gem_filter)
end
......@@ -261,11 +260,6 @@ def jbuilder_gemfile_entry
GemfileEntry.version('jbuilder', '~> 1.2', comment)
end
def webconsole_gemfile_entry
comment = 'Run `rails console` in the browser. Read more: https://github.com/rails/web-console'
GemfileEntry.new('web-console', nil, comment, group: :development)
end
def sdoc_gemfile_entry
comment = 'bundle exec rake doc:rails generates the API under doc/api.'
GemfileEntry.new('sdoc', nil, comment, { group: :doc, require: false })
......
......@@ -313,11 +313,6 @@ def test_javascript_is_skipped_if_required
end
end
def test_inclusion_of_web_console
run_generator
assert_file "Gemfile", /gem 'web-console', \s+group: :development/
end
def test_inclusion_of_jbuilder
run_generator
assert_file "Gemfile", /gem 'jbuilder'/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册