cyborg 0.5.6 → 0.5.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: b7d533894292036156a20865c0c9ee46a006da50
4
- data.tar.gz: 9623baf95ba1e56a0baa71077d251e162b6fed5e
3
+ metadata.gz: 1cddb387475ec938aa53e54febb779a2661dfe48
4
+ data.tar.gz: 3fac26915273b3500334685edd6729edf417f36b
5
5
  SHA512:
6
- metadata.gz: efb7ffd1585fd1284858ffe9930a4876961c40decb41ea81658461f265ab9ff2be4d84cfc79ded5c427e72551ca96d69f6e1e1bb8edab6c4ac5a52a812df62b5
7
- data.tar.gz: b85071187ebdf210a818400f062be540529394f1cd1106e7e200ff6be1bdb95b49a45b6e8b01b746723d2b4d67dd91d89614a9e20c94270f2891ef67ffd32526
6
+ metadata.gz: c804eee39819f9875e037bee952ce285cf1b1b1fd083ee9ff9544a29097a8751dd3f6ba0dd3f72e093a9a75e233bdc1e6e7e7c0585b904d863e04f250ec44bbc
7
+ data.tar.gz: 2fe26e3d1a9ec1d8293d553cb197c11ec0881680ba653cef5ac8811f4f0f52842beb44ab34cd522ca262c60079295e221739cc53e75daea947b734b6d04ec256
@@ -25,7 +25,11 @@ module Cyborg
25
25
  compress(destination(file))
26
26
  end
27
27
 
28
- puts build_msg(file)
28
+ if File.exist? destination(file)
29
+ puts build_msg(file)
30
+ else
31
+ puts "FAILED TO WRITE: #{file}."
32
+ end
29
33
  end
30
34
  else
31
35
  abort "JS BUILD FAILED: browserifyinc NPM module not found.\n" << "Please add browserifyinc to your package.json and run `npm install`"
@@ -25,7 +25,11 @@ module Cyborg
25
25
  build_sass(file)
26
26
  end
27
27
 
28
- puts build_msg(file)
28
+ if File.exist? destination(file)
29
+ puts build_msg(file)
30
+ else
31
+ puts "FAILED TO WRITE: #{file}"
32
+ end
29
33
  end
30
34
  end
31
35
 
@@ -49,7 +53,6 @@ module Cyborg
49
53
  compress(dest)
50
54
  end
51
55
 
52
-
53
56
  # Convert extension
54
57
  def versioned(file)
55
58
  super(file.sub(/(\.css)?\.s[ca]ss$/i,'.css'))
@@ -30,8 +30,11 @@ module Cyborg
30
30
  return if find_files.empty?
31
31
 
32
32
  @svg.read_files
33
+
33
34
  if write_path = @svg.write
34
35
  puts "Built: #{write_path.sub(plugin.root+'/','')}"
36
+ else
37
+ puts "FAILED TO WRITE: #{write_path.sub(plugin.root+'/','')}"
35
38
  end
36
39
  end
37
40
  end
@@ -1,3 +1,3 @@
1
1
  module Cyborg
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cyborg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis