bower_vendor 0.0.5 → 0.0.6

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: 762474c4e7c499fcf2909f643ee0ec6e799e69fc
4
- data.tar.gz: 201cf15a263a2dfe38206305ca8f2665fadb0386
3
+ metadata.gz: 65f284fbf9697205a3f75403c7c6d80e22c5efc1
4
+ data.tar.gz: 27ddf22a0806e8c1e698fdbf41ced38ad480aa8c
5
5
  SHA512:
6
- metadata.gz: d894aceae7ae02bdb74d920b773dd6b53b9c524c6b748403a60bf188534e0867b198e702b4ee369d8c7a5b9cbb0b865d57111edf5705ab277e769115d7e9b436
7
- data.tar.gz: c942e7408a84f3d9d206d59abbcb271670e130bc2d07f34d27d7f0123c9cb9999989264a41b5012699d6d87275cc7db092c0ca7594da07b572e2590346362fff
6
+ metadata.gz: 15960412956cedf2315a9b0c5a5de3d964401999e09bab58fa51821e144760191e7403ed89d620f1d5eac5c686e3aba4081d165fec748815942e2bed4d8e1c6e
7
+ data.tar.gz: 5a7731e4f3d8a7e31dd7c3f8ddadf38675f68a2e617d013bfac7a439c28406261cee56442123d9c1a5ecaf3408b3fb31902acbcc2d1aac93f96873f6e0091812
@@ -47,7 +47,9 @@ module BowerVendor
47
47
  base_src_dir = "#{work_dir}/bower_components"
48
48
  src = "#{base_src_dir}/#{asset_key}/#{src_path}"
49
49
 
50
- Dir[src].sort!.each do |src_path|
50
+ files = Dir[src].sort!
51
+ raise "NOT_FOUND: #{src}" if files.empty?
52
+ files.each do |src_path|
51
53
  copy_src_file asset_key, asset_data, asset, src_path, target_path, level + 1
52
54
  end
53
55
  end
@@ -1,3 +1,3 @@
1
1
  module BowerVendor
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bower_vendor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - kari