webpack_driver 0.3.3 → 0.3.4

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: dad579448a101e34dd5551f75caa200b4ab3ce51
4
- data.tar.gz: 6d1a90ade82516a21086df7d7b04fc656d90d1eb
3
+ metadata.gz: '02559f25ae6c2e006452193e3fdbb170dd78429f'
4
+ data.tar.gz: c84dcacdfd71f177d9156e9d6f4ff0babd77bb2f
5
5
  SHA512:
6
- metadata.gz: a6595da1ed44fe81a525ef2f7aec712321fe7a828efa70c0c197a540c0f40bbe22859e6ea378969eed2d166170a34deb824704757f26842deacec0d0f60939b7
7
- data.tar.gz: d3507e717fa9e05feb61ecc0d9a905f877640cfae7d143bd5ffb8b06a2c475c25aada500ced763d76dcdcc40e9638f9899e90ab49c3073040a82d9d7180b274f
6
+ metadata.gz: df2171daf6f57eac5bd231d14d08353cbc9631b35dabcc00050ffff08f3b203cb0c78996196d9dc9e9412e5f52d9f70027fd0a3a440acc322996d244c1517f34
7
+ data.tar.gz: aaa6ab80de057b9d6478f0c3336c8d50c685a7a17c7440bb661b79c333c48034b305dcf96590ee0f4be08128c79adfb632fd37637a2d324dacfd9c8ada91f1e4
@@ -37,6 +37,7 @@ module WebpackDriver
37
37
  @proc.io.stdout = @proc.io.stderr = w
38
38
  @proc.start
39
39
  w.close
40
+ @progress = 0.0
40
41
  @listener = listen_for_status_updates
41
42
  end
42
43
 
@@ -47,7 +48,7 @@ module WebpackDriver
47
48
  end
48
49
 
49
50
  def in_progress?
50
- !@error && @progress && @progress != 1
51
+ !! ( !@error && @progress && @progress != 1 )
51
52
  end
52
53
 
53
54
  protected
@@ -1,3 +1,3 @@
1
1
  module WebpackDriver
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
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.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Stitt