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

Not adding webconsole by default in new apps
This commit is contained in:
Guillermo Iguaran 2013-11-03 13:20:28 -08:00
commit 876fd5a5d4
3 changed files with 0 additions and 15 deletions

View File

@ -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.

View File

@ -109,7 +109,6 @@ module Rails
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 @@ module Rails
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 })

View File

@ -313,11 +313,6 @@ class AppGeneratorTest < Rails::Generators::TestCase
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'/