thief 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thief/version.rb +1 -1
- data/lib/thief.rb +2 -0
- 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: 06dffeeb34bdf77d56c33d6217dda0e293be7674
|
4
|
+
data.tar.gz: b5283a88a13f973057d61e3ff0a8b3c4935de91f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f50015890183d94a2fa3cab3bba87237b7854364636beba2d983f5f63e00a7a5605fbbd408f24e408e52ac43653b7d6e7315e18ef527f351ceec499997a0daa7
|
7
|
+
data.tar.gz: 5f83f1cdb2a8b79c85f3809599f1a0418f61920f826f7e71fcaa44d72ee3a85d12212bb5266f917b612bc9a54e5a8b96b7d1a305817d61763853be00ea2e19b3
|
data/lib/thief/version.rb
CHANGED
data/lib/thief.rb
CHANGED
@@ -20,6 +20,8 @@ module Thief
|
|
20
20
|
private
|
21
21
|
|
22
22
|
def install_gem(gem)
|
23
|
+
cmd = ''
|
24
|
+
cmd << 'yes | ' if system 'yes | echo 1'
|
23
25
|
cmd = "gem install #{gem[:gem]}"
|
24
26
|
cmd << " -v '#{gem[:version]}'" if gem[:version]
|
25
27
|
cmd << ' --no-verbose -q --no-rdoc --no-ri --conservative --minimal-deps'
|