Permalink
Browse files

Package Isolate for self-contained testing.

  • Loading branch information...
1 parent 8ef4685 commit 09a4a2e68b731639f6d1596110e0b5da61af1074 @topfunky committed Jul 25, 2011
Showing with 1,784 additions and 0 deletions.
  1. +3 −0 Rakefile
  2. +3 −0 spec/spec_helper.rb
  3. +5 −0 vendor/isolate-3.1.0.pre.3/.autotest
  4. +2 −0 vendor/isolate-3.1.0.pre.3/.rvmrc
  5. +159 −0 vendor/isolate-3.1.0.pre.3/CHANGELOG.rdoc
  6. +5 −0 vendor/isolate-3.1.0.pre.3/Isolate
  7. +28 −0 vendor/isolate-3.1.0.pre.3/Manifest.txt
  8. +207 −0 vendor/isolate-3.1.0.pre.3/README.rdoc
  9. +20 −0 vendor/isolate-3.1.0.pre.3/Rakefile
  10. +57 −0 vendor/isolate-3.1.0.pre.3/lib/hoe/isolate.rb
  11. +79 −0 vendor/isolate-3.1.0.pre.3/lib/isolate.rb
  12. +4 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/completely.rb
  13. +129 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/entry.rb
  14. +42 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/events.rb
  15. +15 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/installer.rb
  16. +4 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/now.rb
  17. +78 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/rake.rb
  18. +305 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/sandbox.rb
  19. BIN vendor/isolate-3.1.0.pre.3/test/fixtures/blort-0.0.gem
  20. +1 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/isolate.rb
  21. +1 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/override.rb
  22. +3 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/override.rb.local
  23. +58 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/with-hoe/specifications/hoe-2.3.3.gemspec
  24. +32 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/with-hoe/specifications/rake-0.8.7.gemspec
  25. +44 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/with-hoe/specifications/rubyforge-1.0.4.gemspec
  26. +53 −0 vendor/isolate-3.1.0.pre.3/test/isolate/test.rb
  27. +42 −0 vendor/isolate-3.1.0.pre.3/test/test_isolate.rb
  28. +86 −0 vendor/isolate-3.1.0.pre.3/test/test_isolate_entry.rb
  29. +44 −0 vendor/isolate-3.1.0.pre.3/test/test_isolate_events.rb
  30. +275 −0 vendor/isolate-3.1.0.pre.3/test/test_isolate_sandbox.rb
View
@@ -1,3 +1,6 @@
+Dir['vendor/**/lib'].each do |dir|
+ $: << dir
+end
require 'rubygems'
require 'isolate/now'
View
@@ -1,3 +1,6 @@
+Dir['vendor/**/lib'].each do |dir|
+ $: << dir
+end
require 'rubygems'
require 'isolate/now'
@@ -0,0 +1,5 @@
+require "autotest/restart"
+
+Autotest.add_hook :initialize do |at|
+ at.testlib = "minitest/autorun"
+end
@@ -0,0 +1,2 @@
+rvm_gemset_create_on_use_flag=1
+rvm ruby-1.9.2@isolate
@@ -0,0 +1,159 @@
+=== 3.0.0 / 2010-10-19
+
+* Remove deprecated Isolate.{gems,instance} methods.
+* Update RDoc location in the README.
+* Make isolated Hoe projects use :system => false by default.
+* Teach block file detection regex about Windows.
+
+=== 2.1.2 / 2010-07-23
+
+* Teach `isolate:sh` how to work on Windows.
+
+=== 2.1.1 / 2010-07-08
+
+* Fix $LOAD_PATH filtering bug when system is false.
+
+=== 2.1.0 / 2010-07-01
+
+* Pass self to event hooks. Speculative coding FTL.
+* Load ~/.isolate/user.rb if it exists.
+
+=== 2.0.2 / 2010-05-25
+
+* Provide reasonable stale output for missing deps.
+
+=== 2.0.1 / 2010-05-24
+
+* Fine, fine. Re-enables support for Ruby 1.8.6.
+* Make deprecated Isolate.gems more compatible with 1.x. [Eric Wong]
+
+=== 2.0.0 / 2010-05-10
+
+* Rewrite README and RDoc.
+* Deprecate `Isolate.gems` and `Isolate.instance`.
+* Add Isolate::Event hooks for better extension/integration.
+* Add ISOLATED env var when Isolate is activated.
+* Teach the Hoe plugin to recognize Isolate files.
+* Add `env` as an alias for `environment`.
+* Significantly refactor API and internals.
+* Add .local files for overriding global and gem args and options.
+* Segregate isolated gems by Ruby engine and version.
+* Make sure it's possible to install a local .gem file.
+* Make additive ENV changes idempotent. [Eric Wong]
+* Isolate is a module now, not a class.
+* Use tmp/isolate as the default, replacing tmp/gems.
+* Allow options changes in Isolate files or blocks.
+* Make entries additive. Multiple calls to Isolate#gem is fine.
+* Lock down required Ruby and RubyGems versions (1.8.7+, 1.3.6+).
+
+=== 1.10.2 / 2010-04-24
+
+Add 'isolate/now' convenience require in prep. for 2.x.
+
+=== 1.10.1 / 2010-04-23
+
+* Fix cleanup, it wasn't.
+
+=== 1.10.0 / 2010-03-15
+
+* Speculative now! shortcut.
+
+=== 1.9.3 / 2010-02-24
+
+* Passing <tt>:file => true</tt> to Isolate.gems will try +Isolate+
+ and <tt>config/isolate.rb</tt>.
+
+=== 1.9.2 / 2010-02-17
+
+* Make it easier to break out the manifest to a separate file.
+
+=== 1.9.1 / 2010-01-18
+
+* Append to sources on install, don't just replace 'em.
+
+=== 1.9.0 / 2010-01-18
+
+* Allow isolation to be disabled.
+
+=== 1.8.2 / 2010-01-13
+
+* Don't include Isolate as a dependency in .gems.
+* Tweak the README structure for clarity.
+
+=== 1.8.1 / 2010-01-13
+
+* Allow isolate:dotgems to take an env.
+
+=== 1.8.0 / 2010-01-05
+
+* Make build args forgive non-Array input.
+* OMG, heaven forbid I use math.
+* Remove deprecated Isolate.activate method.
+* Remove passthrough, that's what conditionals are for.
+
+=== 1.7.1 / 2009-12-08
+
+* Move to 1-phase activation. Deprecate Isolate.activate.
+
+=== 1.7.0 / 2009-12-07
+
+* Activate gems even in passthrough mode.
+* hoe/isolate cleans up by default.
+* Isolate#activate cleans up. Isolate.activate is a simple front-end.
+
+=== 1.6.1 / 2009-10-04
+
+* Simplify subshells.
+* Squash warning.
+
+=== 1.6.0 / 2009-10-03
+
+* Add Rake helpers.
+* Expose the bin path to subshells.
+
+=== 1.5.1 / 2009-10-02
+
+* Fix passthrough for explicitly false conditions.
+
+=== 1.5.0 / 2009-10-01
+
+* Implemented passthrough.
+
+=== 1.4.0 / 2009-09-30
+
+* Added automatic cleanup.
+* Minor code refactoring.
+
+=== 1.3.0 / 2009-09-23
+
+* Add support for Gem build args. See the README for details.
+
+=== 1.2.1 / 2009-09-22
+
+* I am a moron. Made the Hoe plugin work again.
+* Be consistent about accessors vs ivars. [Review by Scott W]
+
+=== 1.2.0 / 2009-09-22
+
+* Added a Hoe plugin.
+
+=== 1.1.0 / 2009-09-22
+
+* Breaking change: Install by default.
+
+=== 1.0.2 / 2009-09-21
+
+* Fix some README typos.
+* Add Entry#matches? to encapsulate activation and installation decisions.
+* Remove block form of Isolate#enable, it's unused.
+* Properly instance_eval Isolate#environment blocks.
+* Reset stubs properly after tests (Random test order FTFW).
+
+=== 1.0.1 / 2009-09-21
+
+* Doco updates. [Review by Evan]
+* Don't modify Entry#options on install. [Review by Evan]
+
+=== 1.0.0 / 2009-09-21
+
+* Birthday!
@@ -0,0 +1,5 @@
+env :development do
+ gem "hoe-doofus", "1.0.0"
+ gem "hoe-git", "1.3.0"
+ gem "minitest", "1.7.2"
+end
@@ -0,0 +1,28 @@
+.autotest
+.rvmrc
+CHANGELOG.rdoc
+Isolate
+Manifest.txt
+README.rdoc
+Rakefile
+lib/hoe/isolate.rb
+lib/isolate.rb
+lib/isolate/completely.rb
+lib/isolate/entry.rb
+lib/isolate/events.rb
+lib/isolate/installer.rb
+lib/isolate/now.rb
+lib/isolate/rake.rb
+lib/isolate/sandbox.rb
+test/fixtures/blort-0.0.gem
+test/fixtures/isolate.rb
+test/fixtures/override.rb
+test/fixtures/override.rb.local
+test/fixtures/with-hoe/specifications/hoe-2.3.3.gemspec
+test/fixtures/with-hoe/specifications/rake-0.8.7.gemspec
+test/fixtures/with-hoe/specifications/rubyforge-1.0.4.gemspec
+test/isolate/test.rb
+test/test_isolate.rb
+test/test_isolate_entry.rb
+test/test_isolate_events.rb
+test/test_isolate_sandbox.rb
Oops, something went wrong.

0 comments on commit 09a4a2e

Please sign in to comment.