isomorfeus-asset-manager 0.14.16 → 0.14.17
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a5ab8e8c6bb0f3297e3dc3f01a67cb9466667c9401a2df07c3e2326490497fd
|
4
|
+
data.tar.gz: 3d5602cf63c29b384c6fb58264ba5955bee0488159d8855fdc7e692105db7f1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ff06c1a873fce44da2a5a6e666e562868e45e4771ba667390161c61840e4a8f7de9b47443e8d2d6702989e711b42ddcd13604ef36bcd9743f92b93aa958d29a
|
7
|
+
data.tar.gz: 9450313ed271a49d3c862bb4169d27a94cd222c54bdb0e05ea1a1481fff808dcce1dc55e258d2bb34b828249484881e4320c23288c11fb835c49e7ad6d877307
|
@@ -71,8 +71,7 @@ module Isomorfeus
|
|
71
71
|
if asset && asset.browser?
|
72
72
|
headers = { Rack::CONTENT_TYPE => 'application/json' }
|
73
73
|
asset_manager.transition(asset_key, asset)
|
74
|
-
|
75
|
-
return [200, headers, content]
|
74
|
+
return [200, headers, get_content(env, headers, asset, asset_key, asset.hash[:css][:map])]
|
76
75
|
end
|
77
76
|
end
|
78
77
|
end
|
@@ -135,7 +134,7 @@ module Isomorfeus
|
|
135
134
|
end
|
136
135
|
headers[Rack::CONTENT_LENGTH] = content.size
|
137
136
|
headers['Last-Modified'] = asset.mtime
|
138
|
-
content
|
137
|
+
[content]
|
139
138
|
end
|
140
139
|
end
|
141
140
|
end
|