webpack_driver 0.3.6 → 0.3.7

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
  SHA1:
3
- metadata.gz: 6b3399a113ffe02ee38ac27969e8c68b9b76e4e3
4
- data.tar.gz: c18c6507ff30983c989be7b41079d1524333243f
3
+ metadata.gz: 7ee447f96c0c8eb8d05386fa2245470bc244a515
4
+ data.tar.gz: b3795304a6aaacc6511434f8187663cae7673071
5
5
  SHA512:
6
- metadata.gz: f6e156b4935af3ab6da8a4919dc80cf9b030780b7975850c0658c310a3a942e4b69243a2574885ca602ed0628ee4ccf8eef86e4a3543e9647fdf6dd2c3ca1d34
7
- data.tar.gz: da4e92bc370705e921d8249379428f23c64e20c05b9379424027e958dea254c604d6bfe4055dfbabea23b7114fbae4a2aa52974dbfcc91c1355b80ea64565cb7
6
+ metadata.gz: f1e1d69effb6dd0abd4250abb3553ddec30a809f3be8bc925d19ad2a4ea7e0df50bd3773a5ae6595eca072716c93bdad497c3d2e382d9837e520e5e3894d79f1
7
+ data.tar.gz: 2aa88f20aac7acf8e7f98bd741f708895186017380217b041b1ae6bbae795779dbeaf2612143146a12f0f679a58678a89658ce174e65b0665de1b9ae96d59a95
@@ -26,7 +26,7 @@ module WebpackDriver
26
26
  def write_manifest
27
27
  manifest = {}
28
28
  assets.each do | id, asset |
29
- manifest[id] = asset.file
29
+ manifest[id] = asset.files
30
30
  end
31
31
  config.manifest_file.write JSON.generate manifest
32
32
  end
@@ -34,8 +34,8 @@ module WebpackDriver
34
34
  def read_manifest
35
35
  return unless config.manifest_file.exist?
36
36
  manifest = JSON.parse config.manifest_file.read
37
- manifest.each do |id, file|
38
- asset = Asset.new({ 'id' => id, 'file' => file })
37
+ manifest.each do |id, files|
38
+ asset = Asset.new({ 'id' => id, 'files' => files })
39
39
  assets[asset.id] = asset
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module WebpackDriver
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpack_driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Stitt