bower_vendor 0.0.12 → 0.0.13
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/base.rb +4 -0
- data/lib/bower_vendor/check.rb +8 -1
- data/lib/bower_vendor/fetch.rb +9 -1
- data/lib/bower_vendor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e685ebf7820b97812bae22b23c8f1e1226247307
|
4
|
+
data.tar.gz: 60e8f9a0468899f07585ab5280def92ddd3c19df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c03d825a41c9140cc7c180bf4948398d0c708b4d50ff62d0d0ebc8802e0c2c63ffa9fdda732e94c0363a7be0c65a8384971bfbbcc7b83dca49e1010acc2c4f3
|
7
|
+
data.tar.gz: e2fdbafa048a08cdf05cd6c7133adc7dbcf1a92d5d7bdfca5d8be93ff1fb7e1382adf83a2b2e02c0c889f922af96b23add11914742fea7370698425203f11b08
|
data/lib/bower_vendor/base.rb
CHANGED
data/lib/bower_vendor/check.rb
CHANGED
@@ -2,11 +2,18 @@ module BowerVendor
|
|
2
2
|
class Check < Base
|
3
3
|
def execute
|
4
4
|
Dir.chdir(work_dir) do
|
5
|
+
script = executable
|
6
|
+
puts "excutable: #{script}"
|
5
7
|
fork do
|
6
|
-
exec "
|
8
|
+
exec "#{script}"
|
7
9
|
end
|
8
10
|
Process.wait
|
9
11
|
end
|
10
12
|
end
|
13
|
+
|
14
|
+
def executable
|
15
|
+
f = "#{local_node_bin}/bcu"
|
16
|
+
File.exists?(f) ? f : 'bcu'
|
17
|
+
end
|
11
18
|
end
|
12
19
|
end
|
data/lib/bower_vendor/fetch.rb
CHANGED
@@ -1,12 +1,20 @@
|
|
1
1
|
module BowerVendor
|
2
2
|
class Fetch < Base
|
3
3
|
def execute
|
4
|
+
script = executable
|
5
|
+
puts "excutable: #{script}"
|
6
|
+
|
4
7
|
Dir.chdir(work_dir) do
|
5
8
|
fork do
|
6
|
-
exec "
|
9
|
+
exec "#{script} install"
|
7
10
|
end
|
8
11
|
Process.wait
|
9
12
|
end
|
10
13
|
end
|
14
|
+
|
15
|
+
def executable
|
16
|
+
f = "#{local_node_bin}/bower"
|
17
|
+
File.exists?(f) ? f : 'bower'
|
18
|
+
end
|
11
19
|
end
|
12
20
|
end
|
data/lib/bower_vendor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bower_vendor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|