isolate 2.0.0.pre.3 → 2.0.0

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.
@@ -1,52 +1,21 @@
1
- === 2.0.0.pre.3 / 2010-05-09
1
+ === 2.0.0 / 2010-05-10
2
2
 
3
- * Refactor cleanup. Fixes issue #24.
4
- * Fix Isolate::Events doco.
5
- * Clarify Rake task doco.
6
- * Update useful resources.
7
-
8
- === 2.0.0.pre.2 / 2010-05-07
9
-
10
- * Update docs.
11
- * Add event hooks for better extension/integration.
3
+ * Rewrite README and RDoc.
4
+ * Deprecate `Isolate.gems` and `Isolate.instance`.
5
+ * Add Isolate::Event hooks for better extension/integration.
12
6
  * Add ISOLATED env var when Isolate is activated.
13
7
  * Teach the Hoe plugin to recognize Isolate files.
14
8
  * Add `env` as an alias for `environment`.
15
- * Clean up Rake tasks.
16
-
17
- === 2.0.0.pre.1 / 2010-05-02
18
-
19
- * Don't provide a special way to set path, options is enough.
20
- * Deprecate and warn for Isolate.instance.
21
- * Allow :multiruby option to be overridden in .local files.
22
-
23
- === 2.0.0.pre.0 / 2010-04-27
24
-
25
- * Remove cache thawing until I fix RubyGems.
26
- * Add deprecation warning for Isolate.gems.
27
- * Fix now! test to properly disable system gems.
28
- * Fix failing file installation test.
29
- * Move Isolate::Test to where it belongs.
30
- * Require Rake tasks automatically if Rake exists.
9
+ * Significantly refactor API and internals.
10
+ * Add .local files for overriding global and gem args and options.
11
+ * Segregate isolated gems by Ruby engine and version.
31
12
  * Make sure it's possible to install a local .gem file.
32
13
  * Make additive ENV changes idempotent. [Eric Wong]
33
14
  * Isolate is a module now, not a class.
34
15
  * Use tmp/isolate as the default, replacing tmp/gems.
35
- * Sanity updates to README, still needs lots of work.
36
- * Minimize public API on Isolate.
37
- * Add isolate:debug task, remove isolate:dotgems.
38
- * Separate isolated gem homes by ruby executable/version.
39
16
  * Allow options changes in Isolate files or blocks.
40
- * Extract instance bits of Isolate into Isolate::Sandbox.
41
- * Allow path to be set in blocks/files.
42
- * Add support for local override files.
43
- * Make the directory path when enabled, not in the ctor.
44
- * Clean up tests, provide a helper for default options.
45
- * Move installation inside Isolate::Entry.
46
17
  * Make entries additive. Multiple calls to Isolate#gem is fine.
47
- * Extract, refactor, and test Isolate::Entry.
48
- * Lock down required Ruby and RubyGems versions.
49
- * Move Isolate::Entry to its very own file.
18
+ * Lock down required Ruby and RubyGems versions (1.8.7+, 1.3.6+).
50
19
 
51
20
  === 1.10.2 / 2010-04-24
52
21
 
@@ -157,6 +157,21 @@ external file.
157
157
  For detailed information on <tt>Isolate.now!</tt> and the rest of the
158
158
  public API, please see the RDoc.
159
159
 
160
+ == Not Gonna Happen
161
+
162
+ * Dependency resolution. If this ever becomes a serious problem for
163
+ us, we'll likely push hard to solve it in RubyGems proper. If you
164
+ run into these sorts of problems a lot, use Bundler. Or less
165
+ libraries.
166
+
167
+ * Autorequire. Unlike <tt>config.gems</tt> or other solutions, Isolate
168
+ expects you to be a good little Rubyist and manually
169
+ <tt>require</tt> the libraries you use.
170
+
171
+ * Support for Git or other SCMs. You're welcome to write an extension
172
+ that supports 'em, but Isolate itself is focused on packaged,
173
+ released gems.
174
+
160
175
  == Installation
161
176
 
162
177
  $ gem install isolate
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require "hoe"
4
4
  Hoe.plugin :doofus, :git
5
5
 
6
6
  Hoe.spec "isolate" do
7
- developer "John Barnette", "jbarnette@rubyforge.org"
7
+ developer "John Barnette", "code@jbarnette.com"
8
8
  developer "Ryan Davis", "ryand-ruby@zenspider.com"
9
9
 
10
10
  require_ruby_version ">= 1.8.7"
@@ -8,7 +8,7 @@ module Isolate
8
8
 
9
9
  # Duh.
10
10
 
11
- VERSION = "2.0.0.pre.3"
11
+ VERSION = "2.0.0"
12
12
 
13
13
  # Disable Isolate. If a block is provided, isolation will be
14
14
  # disabled for the scope of the block.
@@ -112,12 +112,7 @@ module Isolate
112
112
  return self if not enabled?
113
113
  fire :disabling
114
114
 
115
- ENV["GEM_PATH"] = @old_gem_path
116
- ENV["GEM_HOME"] = @old_gem_home
117
- ENV["ISOLATED"] = @old_isolated
118
- ENV["PATH"] = @old_path
119
- ENV["RUBYOPT"] = @old_ruby_opt
120
-
115
+ ENV.replace @old_env
121
116
  $LOAD_PATH.replace @old_load_path
122
117
 
123
118
  @enabled = false
@@ -134,11 +129,7 @@ module Isolate
134
129
  return self if enabled?
135
130
  fire :enabling
136
131
 
137
- @old_gem_path = ENV["GEM_PATH"]
138
- @old_gem_home = ENV["GEM_HOME"]
139
- @old_isolated = ENV["ISOLATED"]
140
- @old_path = ENV["PATH"]
141
- @old_ruby_opt = ENV["RUBYOPT"]
132
+ @old_env = ENV.to_hash
142
133
  @old_load_path = $LOAD_PATH.dup
143
134
 
144
135
  FileUtils.mkdir_p path
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isolate
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923832047
5
- prerelease: true
4
+ hash: 15
5
+ prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
9
  - 0
10
- - pre
11
- - 3
12
- version: 2.0.0.pre.3
10
+ version: 2.0.0
13
11
  platform: ruby
14
12
  authors:
15
13
  - John Barnette
@@ -18,7 +16,7 @@ autorequire:
18
16
  bindir: bin
19
17
  cert_chain: []
20
18
 
21
- date: 2010-05-09 00:00:00 -07:00
19
+ date: 2010-05-10 00:00:00 -07:00
22
20
  default_executable:
23
21
  dependencies:
24
22
  - !ruby/object:Gem::Dependency
@@ -72,7 +70,7 @@ description: |-
72
70
  Isolate is a very simple RubyGems sandbox. It provides a way to
73
71
  express and automatically install your project's Gem dependencies.
74
72
  email:
75
- - jbarnette@rubyforge.org
73
+ - code@jbarnette.com
76
74
  - ryand-ruby@zenspider.com
77
75
  executables: []
78
76