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: 7befddccb82a796903ddfebc8b93cfbff34b59358a33b80406b7a735a1d9e080
4
- data.tar.gz: 8b27f42102ca6596338a15efc3f2c6c5779e92e4036b38b75b9aa8fe1aee7e49
3
+ metadata.gz: 3a5ab8e8c6bb0f3297e3dc3f01a67cb9466667c9401a2df07c3e2326490497fd
4
+ data.tar.gz: 3d5602cf63c29b384c6fb58264ba5955bee0488159d8855fdc7e692105db7f1f
5
5
  SHA512:
6
- metadata.gz: 669c7fa2ec213c9b37f4f6f9a89a5efbc4a0992794ac7d039798aa84f944819b1b55d30e19fcbbfe1f2b0689f110a64f8f8122a2b3d4df099f9ed2093536bdee
7
- data.tar.gz: b3dec9544fae51330b122b6f38687076bccace87c4bd7d0cd5c2f50e8ff260d46e58a704b9a38f03b65df4c2a54f76b0c213f56d058bd4dac4d0cc31087db6e2
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
- content = get_content(env, headers, asset, asset_key, asset.hash[:css][:map])
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
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  class AssetManager
3
- VERSION = '0.14.16'
3
+ VERSION = '0.14.17'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-asset-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.16
4
+ version: 0.14.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann