No web-console for now
This commit is contained in:
parent
2b66f556ed
commit
fae08dd9ca
@ -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'/
|
||||
|
Loading…
Reference in New Issue
Block a user