isolate 1.9.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG.rdoc +4 -0
  2. data/lib/isolate.rb +3 -3
  3. metadata +1 -1
@@ -1,3 +1,7 @@
1
+ === 1.9.1 / 2010-01-18
2
+
3
+ * Append to sources on install, don't just replace 'em.
4
+
1
5
  === 1.9.0 / 2010-01-18
2
6
 
3
7
  * Allow isolation to be disabled.
@@ -8,7 +8,7 @@ require "rubygems/requirement"
8
8
 
9
9
  class Isolate
10
10
 
11
- VERSION = "1.9.0" # :nodoc:
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 &block
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 = Array(source) if source
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isolate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Barnette