[ANN] isolate 3.0.2 Released

R

Ryan Davis

isolate version 3.0.2 has been released!

* <http://github.com/jbarnette/isolate>

Isolate is a very simple RubyGems sandbox. It provides a way to
express and automatically install your project's Gem dependencies.

Changes:

### 3.0.2 / 2011-05-14

* 3 bug fixes:

* Cleanup shouldn't try to uninstall specs outside of our sandbox.
* Pass spec.base_dir to the uninstaller during cleanup.
* We shouldn't manipulate Gem.path, but if we do, we should be =
smart/clean about it.
 
E

Eric Wong

Ryan Davis said:
isolate version 3.0.2 has been released!

I'm not sure if this is a bug in RubyGems itself or Isolate, but I
needed a oneliner fix to get things going under 1.9.2-p180:

--- a/lib/isolate/sandbox.rb
+++ b/lib/isolate/sandbox.rb
@@ -86,7 +86,7 @@ module Isolate
def cleanup # :nodoc:
fire :cleaning

- installed = Gem::Specification.map
+ installed = Gem::Specification.map.to_a
legit = legitimize!
extra = installed - legit

--

If you want to pull it, it's here:

git pull git://bogomips.org/isolate 3.0.2-enum

All tests pass under Ruby 1.8.7-p334, I'm having trouble getting the
test suite loading minitest 2.1.0 properly under RubyGems 1.8.2 + Ruby
1.9.2-p180: the bundled minitest 1.6.0 keeps getting loaded instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,039
Messages
2,570,376
Members
47,026
Latest member
TishaMadri

Latest Threads

Top