Fixed config.serve_static_assets DEPRECATION WARNING
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
#don't upgrade
|
#don't upgrade
|
||||||
gem 'rails', '4.2.2'
|
gem 'rails', '4.2.3'
|
||||||
|
|
||||||
ruby '2.2.2'
|
ruby '2.2.2'
|
||||||
|
|
||||||
|
|||||||
+35
-34
@@ -1,36 +1,36 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
actionmailer (4.2.2)
|
actionmailer (4.2.3)
|
||||||
actionpack (= 4.2.2)
|
actionpack (= 4.2.3)
|
||||||
actionview (= 4.2.2)
|
actionview (= 4.2.3)
|
||||||
activejob (= 4.2.2)
|
activejob (= 4.2.3)
|
||||||
mail (~> 2.5, >= 2.5.4)
|
mail (~> 2.5, >= 2.5.4)
|
||||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
actionpack (4.2.2)
|
actionpack (4.2.3)
|
||||||
actionview (= 4.2.2)
|
actionview (= 4.2.3)
|
||||||
activesupport (= 4.2.2)
|
activesupport (= 4.2.3)
|
||||||
rack (~> 1.6)
|
rack (~> 1.6)
|
||||||
rack-test (~> 0.6.2)
|
rack-test (~> 0.6.2)
|
||||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
||||||
actionview (4.2.2)
|
actionview (4.2.3)
|
||||||
activesupport (= 4.2.2)
|
activesupport (= 4.2.3)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
erubis (~> 2.7.0)
|
erubis (~> 2.7.0)
|
||||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
||||||
activejob (4.2.2)
|
activejob (4.2.3)
|
||||||
activesupport (= 4.2.2)
|
activesupport (= 4.2.3)
|
||||||
globalid (>= 0.3.0)
|
globalid (>= 0.3.0)
|
||||||
activemodel (4.2.2)
|
activemodel (4.2.3)
|
||||||
activesupport (= 4.2.2)
|
activesupport (= 4.2.3)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
activerecord (4.2.2)
|
activerecord (4.2.3)
|
||||||
activemodel (= 4.2.2)
|
activemodel (= 4.2.3)
|
||||||
activesupport (= 4.2.2)
|
activesupport (= 4.2.3)
|
||||||
arel (~> 6.0)
|
arel (~> 6.0)
|
||||||
activesupport (4.2.2)
|
activesupport (4.2.3)
|
||||||
i18n (~> 0.7)
|
i18n (~> 0.7)
|
||||||
json (~> 1.7, >= 1.7.7)
|
json (~> 1.7, >= 1.7.7)
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
@@ -107,6 +107,7 @@ GEM
|
|||||||
thor (~> 0.19.1)
|
thor (~> 0.19.1)
|
||||||
formatador (0.2.5)
|
formatador (0.2.5)
|
||||||
gauntlt (0.1.4)
|
gauntlt (0.1.4)
|
||||||
|
aruba
|
||||||
cucumber
|
cucumber
|
||||||
nokogiri
|
nokogiri
|
||||||
trollop
|
trollop
|
||||||
@@ -205,16 +206,16 @@ GEM
|
|||||||
rack
|
rack
|
||||||
rack-test (0.6.3)
|
rack-test (0.6.3)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
rails (4.2.2)
|
rails (4.2.3)
|
||||||
actionmailer (= 4.2.2)
|
actionmailer (= 4.2.3)
|
||||||
actionpack (= 4.2.2)
|
actionpack (= 4.2.3)
|
||||||
actionview (= 4.2.2)
|
actionview (= 4.2.3)
|
||||||
activejob (= 4.2.2)
|
activejob (= 4.2.3)
|
||||||
activemodel (= 4.2.2)
|
activemodel (= 4.2.3)
|
||||||
activerecord (= 4.2.2)
|
activerecord (= 4.2.3)
|
||||||
activesupport (= 4.2.2)
|
activesupport (= 4.2.3)
|
||||||
bundler (>= 1.3.0, < 2.0)
|
bundler (>= 1.3.0, < 2.0)
|
||||||
railties (= 4.2.2)
|
railties (= 4.2.3)
|
||||||
sprockets-rails
|
sprockets-rails
|
||||||
rails-deprecated_sanitizer (1.0.3)
|
rails-deprecated_sanitizer (1.0.3)
|
||||||
activesupport (>= 4.2.0.alpha)
|
activesupport (>= 4.2.0.alpha)
|
||||||
@@ -224,9 +225,9 @@ GEM
|
|||||||
rails-deprecated_sanitizer (>= 1.0.1)
|
rails-deprecated_sanitizer (>= 1.0.1)
|
||||||
rails-html-sanitizer (1.0.2)
|
rails-html-sanitizer (1.0.2)
|
||||||
loofah (~> 2.0)
|
loofah (~> 2.0)
|
||||||
railties (4.2.2)
|
railties (4.2.3)
|
||||||
actionpack (= 4.2.2)
|
actionpack (= 4.2.3)
|
||||||
activesupport (= 4.2.2)
|
activesupport (= 4.2.3)
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.8.7)
|
||||||
thor (>= 0.18.1, < 2.0)
|
thor (>= 0.18.1, < 2.0)
|
||||||
raindrops (0.15.0)
|
raindrops (0.15.0)
|
||||||
@@ -278,7 +279,7 @@ GEM
|
|||||||
eventmachine (~> 1.0.0)
|
eventmachine (~> 1.0.0)
|
||||||
thin (~> 1.5.0)
|
thin (~> 1.5.0)
|
||||||
slop (3.6.0)
|
slop (3.6.0)
|
||||||
sprockets (3.3.1)
|
sprockets (3.3.2)
|
||||||
rack (~> 1.0)
|
rack (~> 1.0)
|
||||||
sprockets-rails (2.3.2)
|
sprockets-rails (2.3.2)
|
||||||
actionpack (>= 3.0)
|
actionpack (>= 3.0)
|
||||||
@@ -349,7 +350,7 @@ DEPENDENCIES
|
|||||||
pry
|
pry
|
||||||
pry-rails
|
pry-rails
|
||||||
rack-livereload
|
rack-livereload
|
||||||
rails (= 4.2.2)
|
rails (= 4.2.3)
|
||||||
rb-fsevent
|
rb-fsevent
|
||||||
rspec-rails (= 2.14.2)
|
rspec-rails (= 2.14.2)
|
||||||
sass-rails
|
sass-rails
|
||||||
@@ -363,4 +364,4 @@ DEPENDENCIES
|
|||||||
unicorn
|
unicorn
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.10.4
|
1.10.6
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Railsgoat::Application.configure do
|
|||||||
# config.action_dispatch.rack_cache = true
|
# config.action_dispatch.rack_cache = true
|
||||||
|
|
||||||
# Disable Rails's static asset server (Apache or nginx will already do this).
|
# Disable Rails's static asset server (Apache or nginx will already do this).
|
||||||
config.serve_static_assets = false
|
config.serve_static_files = false
|
||||||
|
|
||||||
# Compress JavaScripts and CSS
|
# Compress JavaScripts and CSS
|
||||||
config.assets.compress = true
|
config.assets.compress = true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Railsgoat::Application.configure do
|
|||||||
config.cache_classes = true
|
config.cache_classes = true
|
||||||
|
|
||||||
# Configure static asset server for tests with Cache-Control for performance.
|
# Configure static asset server for tests with Cache-Control for performance.
|
||||||
config.serve_static_assets = true
|
config.serve_static_files = true
|
||||||
config.static_cache_control = "public, max-age=3600"
|
config.static_cache_control = "public, max-age=3600"
|
||||||
|
|
||||||
# Show full error reports and disable caching.
|
# Show full error reports and disable caching.
|
||||||
|
|||||||
Reference in New Issue
Block a user