classy_assets 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/classy_assets/version.rb +1 -1
- data/lib/rack/classy_assets.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7deef28651ce52932bd8af659b857fa23be986fd
|
4
|
+
data.tar.gz: 2f9f1bc48dcd750f85b4f270e775e79bdaa6df09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6beabb43a07b2e932e22188092db0e0e8475398f5870bd090f10c7195194752826bc9bfc781a55a7e4f88c55b1eb5e221ee84806a81623f3966e8ecd2e63c6f
|
7
|
+
data.tar.gz: 60c4f3794160414a0c0878ace113736e8986ec7a69642b7344a9092d72ec6cf389f1d2bb45443bc3f1006fdef6673f69544a4b0fd1b1d97a6c80db1a1f5025bb
|
data/lib/rack/classy_assets.rb
CHANGED
@@ -48,7 +48,7 @@ module Rack
|
|
48
48
|
end
|
49
49
|
|
50
50
|
headers['Content-Encoding'] = 'gzip'
|
51
|
-
headers['Content-Type'] = Rack::Mime.mime_type(File.extname(path), 'text/plain')
|
51
|
+
headers['Content-Type'] = Rack::Mime.mime_type(::File.extname(path), 'text/plain')
|
52
52
|
headers.delete('Content-Length')
|
53
53
|
|
54
54
|
if headers.has_key? 'Cache-Control'
|