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 +4 -4
- data/lib/bower_vendor/copy.rb +3 -1
- data/lib/bower_vendor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65f284fbf9697205a3f75403c7c6d80e22c5efc1
|
4
|
+
data.tar.gz: 27ddf22a0806e8c1e698fdbf41ced38ad480aa8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15960412956cedf2315a9b0c5a5de3d964401999e09bab58fa51821e144760191e7403ed89d620f1d5eac5c686e3aba4081d165fec748815942e2bed4d8e1c6e
|
7
|
+
data.tar.gz: 5a7731e4f3d8a7e31dd7c3f8ddadf38675f68a2e617d013bfac7a439c28406261cee56442123d9c1a5ecaf3408b3fb31902acbcc2d1aac93f96873f6e0091812
|
data/lib/bower_vendor/copy.rb
CHANGED
@@ -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
|
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
|
data/lib/bower_vendor/version.rb
CHANGED