isolate 3.1.0.pre.1 → 3.1.0.pre.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.rvmrc ADDED
@@ -0,0 +1,2 @@
1
+ rvm_gemset_create_on_use_flag=1
2
+ rvm ruby-1.9.2@isolate
data/Isolate ADDED
@@ -0,0 +1,5 @@
1
+ env :development do
2
+ gem "hoe-doofus", "1.0.0"
3
+ gem "hoe-git", "1.3.0"
4
+ gem "minitest", "1.7.2"
5
+ end
data/Manifest.txt CHANGED
@@ -1,12 +1,16 @@
1
1
  .autotest
2
+ .rvmrc
2
3
  CHANGELOG.rdoc
4
+ Isolate
3
5
  Manifest.txt
4
6
  README.rdoc
5
7
  Rakefile
6
8
  lib/hoe/isolate.rb
7
9
  lib/isolate.rb
10
+ lib/isolate/completely.rb
8
11
  lib/isolate/entry.rb
9
12
  lib/isolate/events.rb
13
+ lib/isolate/installer.rb
10
14
  lib/isolate/now.rb
11
15
  lib/isolate/rake.rb
12
16
  lib/isolate/sandbox.rb
@@ -0,0 +1,4 @@
1
+ require "isolate"
2
+ require "isolate/rake" if defined?(Rake)
3
+
4
+ Isolate.now! :system => false
@@ -0,0 +1,15 @@
1
+ require "rubygems/dependency_installer"
2
+
3
+ module Isolate
4
+ class Installer < Gem::DependencyInstaller
5
+ def initialize sandbox
6
+ super :development => false,
7
+ :generate_rdoc => false,
8
+ :generate_ri => false,
9
+ :install_dir => sandbox.path
10
+
11
+ # reset super's use of sandbox.path exclusively
12
+ @source_index = Gem.source_index
13
+ end
14
+ end
15
+ end
data/lib/isolate.rb CHANGED
@@ -8,7 +8,7 @@ module Isolate
8
8
 
9
9
  # Duh.
10
10
 
11
- VERSION = "3.1.0.pre.1"
11
+ VERSION = "3.1.0.pre.2"
12
12
 
13
13
  # Disable Isolate. If a block is provided, isolation will be
14
14
  # disabled for the scope of the block.
metadata CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
7
7
  - 1
8
8
  - 0
9
9
  - pre
10
- - 1
11
- version: 3.1.0.pre.1
10
+ - 2
11
+ version: 3.1.0.pre.2
12
12
  platform: ruby
13
13
  authors:
14
14
  - John Barnette
@@ -96,14 +96,18 @@ extra_rdoc_files:
96
96
  - README.rdoc
97
97
  files:
98
98
  - .autotest
99
+ - .rvmrc
99
100
  - CHANGELOG.rdoc
101
+ - Isolate
100
102
  - Manifest.txt
101
103
  - README.rdoc
102
104
  - Rakefile
103
105
  - lib/hoe/isolate.rb
104
106
  - lib/isolate.rb
107
+ - lib/isolate/completely.rb
105
108
  - lib/isolate/entry.rb
106
109
  - lib/isolate/events.rb
110
+ - lib/isolate/installer.rb
107
111
  - lib/isolate/now.rb
108
112
  - lib/isolate/rake.rb
109
113
  - lib/isolate/sandbox.rb