le1t0-deprec 2.1.6.065 → 2.1.6.066

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/vmbuilder_plugins/gem.rb +10 -1
  2. metadata +3 -3
@@ -53,7 +53,16 @@ module Gem
53
53
  # +packages+ can be a single string or an array of strings.
54
54
  #
55
55
  def install(packages, version=nil)
56
- send(run_method,"#{GEM_INSTALL} #{if version then '-v '+version.to_s end} #{packages.to_a.join(' ')}")
56
+ send(run_method,"#{GEM_INSTALL} #{if version then '-v '+version.to_s end} #{Array(packages).join(' ')}")
57
+ end
58
+
59
+ # Uninstalls the gems detailed in +packages+, selecting version +version+ if
60
+ # specified.
61
+ #
62
+ # +packages+ can be a single string or an array of strings.
63
+ #
64
+ def uninstall(packages, version=nil)
65
+ send(run_method,"#{GEM_UNINSTALL} #{if version then '-v '+version.to_s end} #{Array(packages).join(' ')}")
57
66
  end
58
67
 
59
68
  # Uninstalls the gems detailed in +packages+, selecting version +version+ if
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 1
8
8
  - 6
9
- - 65
10
- version: 2.1.6.065
9
+ - 66
10
+ version: 2.1.6.066
11
11
  platform: ruby
12
12
  authors:
13
13
  - Le1t0
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-18 00:00:00 +01:00
18
+ date: 2011-02-01 00:00:00 +01:00
19
19
  default_executable: depify
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency