webpack_driver 0.3.1 → 0.3.2

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: 118a2aead70277e1ed50ae61c77fcf2a46679ef0
4
- data.tar.gz: b1f9ba1c7bb7bfdf8124348bf97075fcf1ebf2fd
3
+ metadata.gz: 3eaea8c63bb4e9449b98fe84dfb9cdd9fae3e33f
4
+ data.tar.gz: cfcec6ce86a39d2310957ce1cad1a601ee33b6a9
5
5
  SHA512:
6
- metadata.gz: 64a23f3f86f64275a911f2c5114cf1d5a8741f800eb8a060f29d79a616ffe62a16d499aa3416bf9e3e13ac0fb365eb731429af936af9bce22645f0cfbe46b912
7
- data.tar.gz: 3b72bb0150849d43bdde04caecfcbc9b5dde37ad55207f669f19f4c3e21e1bb95d499c7603a02232b6e3ee27a788eb77e40ed263cc3341f0042a082090d23ada
6
+ metadata.gz: ba9f6518701d3eac7bfbd93458a393e06493d2874f90babff65f1a26185f6961db537e0797b5d8bed2084155ccdcc268365cc60788150a6f59907a49460ea6a3
7
+ data.tar.gz: 05d46424de9d6e4a01d863ccb6bca6247cb42c4add20f9455c3647c1c092d4b3dfcbbda1ce2fe9860a91330848356c19fd5daf01b8c8747697f32c6b4cfcc663
@@ -23,6 +23,7 @@ module WebpackDriver
23
23
 
24
24
 
25
25
  def output
26
+ return unless options[:config].file.exist?
26
27
  opts = { verbose: false, force: true }
27
28
  template(
28
29
  options[:config].file.relative_path_from(self.class.source_root),
@@ -30,10 +30,8 @@ module WebpackDriver
30
30
  @directory ||= Pathname.getwd
31
31
  @output_path ||= @directory.join('public', 'assets')
32
32
  @tmp_directory ||= @directory.join('tmp')
33
- if file.exist?
34
- @generated = Generated.new([], config: self)
35
- @generated.invoke_all
36
- end
33
+ @generated = Generated.new([], config: self)
34
+ @generated.invoke_all
37
35
  end
38
36
 
39
37
  def manifest_file
@@ -1,3 +1,3 @@
1
1
  module WebpackDriver
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
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.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Stitt