isolate 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/lib/isolate.rb +3 -3
- metadata +1 -1
data/CHANGELOG.rdoc
CHANGED
data/lib/isolate.rb
CHANGED
@@ -8,7 +8,7 @@ require "rubygems/requirement"
|
|
8
8
|
|
9
9
|
class Isolate
|
10
10
|
|
11
|
-
VERSION = "1.9.
|
11
|
+
VERSION = "1.9.1" # :nodoc:
|
12
12
|
|
13
13
|
# An isolated Gem, with requirement, environment restrictions, and
|
14
14
|
# installation options. Internal use only.
|
@@ -30,7 +30,7 @@ class Isolate
|
|
30
30
|
# disabled for the scope of the block.
|
31
31
|
|
32
32
|
def self.disable &block
|
33
|
-
instance.disable
|
33
|
+
instance.disable(&block)
|
34
34
|
end
|
35
35
|
|
36
36
|
def self.env # :nodoc:
|
@@ -238,7 +238,7 @@ class Isolate
|
|
238
238
|
:install_dir => path)
|
239
239
|
source = options.delete :source
|
240
240
|
args = options.delete :args
|
241
|
-
Gem.sources
|
241
|
+
Gem.sources += Array(source) if source
|
242
242
|
installer = Gem::DependencyInstaller.new options
|
243
243
|
|
244
244
|
Gem::Command.build_args = Array(args) if args
|