filander 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,9 +10,13 @@ module Filander
|
|
10
10
|
gem_install_args = name
|
11
11
|
report_name = name
|
12
12
|
end
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
if gem_exists?(name, version)
|
14
|
+
report :installed, report_name
|
15
|
+
else
|
16
|
+
report :install, report_name
|
17
|
+
unless Filander.behavior == :pretend
|
18
|
+
system "gem install #{gem_install_args}"
|
19
|
+
end
|
16
20
|
end
|
17
21
|
end
|
18
22
|
|