Permalink
Browse files

Use Isolate for bundling dependencies.

  • Loading branch information...
1 parent ddf80d5 commit fad94d2a51e721d130b23af045e68229bc42ca0e @topfunky committed Feb 9, 2011
Showing with 1,790 additions and 0 deletions.
  1. +6 −0 Isolate
  2. +5 −0 Rakefile
  3. +1 −0 lib/osxscreenshot.rb
  4. +5 −0 vendor/isolate-3.1.0.pre.3/.autotest
  5. +2 −0 vendor/isolate-3.1.0.pre.3/.rvmrc
  6. +159 −0 vendor/isolate-3.1.0.pre.3/CHANGELOG.rdoc
  7. +5 −0 vendor/isolate-3.1.0.pre.3/Isolate
  8. +28 −0 vendor/isolate-3.1.0.pre.3/Manifest.txt
  9. +207 −0 vendor/isolate-3.1.0.pre.3/README.rdoc
  10. +20 −0 vendor/isolate-3.1.0.pre.3/Rakefile
  11. +57 −0 vendor/isolate-3.1.0.pre.3/lib/hoe/isolate.rb
  12. +79 −0 vendor/isolate-3.1.0.pre.3/lib/isolate.rb
  13. +4 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/completely.rb
  14. +129 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/entry.rb
  15. +42 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/events.rb
  16. +15 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/installer.rb
  17. +4 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/now.rb
  18. +78 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/rake.rb
  19. +305 −0 vendor/isolate-3.1.0.pre.3/lib/isolate/sandbox.rb
  20. BIN vendor/isolate-3.1.0.pre.3/test/fixtures/blort-0.0.gem
  21. +1 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/isolate.rb
  22. +1 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/override.rb
  23. +3 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/override.rb.local
  24. +58 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/with-hoe/specifications/hoe-2.3.3.gemspec
  25. +32 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/with-hoe/specifications/rake-0.8.7.gemspec
  26. +44 −0 vendor/isolate-3.1.0.pre.3/test/fixtures/with-hoe/specifications/rubyforge-1.0.4.gemspec
  27. +53 −0 vendor/isolate-3.1.0.pre.3/test/isolate/test.rb
  28. +42 −0 vendor/isolate-3.1.0.pre.3/test/test_isolate.rb
  29. +86 −0 vendor/isolate-3.1.0.pre.3/test/test_isolate_entry.rb
  30. +44 −0 vendor/isolate-3.1.0.pre.3/test/test_isolate_events.rb
  31. +275 −0 vendor/isolate-3.1.0.pre.3/test/test_isolate_sandbox.rb
View
@@ -0,0 +1,6 @@
+
+gem "open4", "~> 1.0"
+
+env :development, :test do
+ gem "hoe", "2.8.0"
+end
View
@@ -1,6 +1,11 @@
# -*- ruby -*-
+Dir['vendor/isolate*/lib'].each do |dir|
+ $: << dir
+end
+
require 'rubygems'
+require 'isolate/now'
require 'hoe'
Hoe.spec 'osxscreenshot' do
View
@@ -1,4 +1,5 @@
require 'open4'
+require 'fileutils'
module OSX
class Screenshot
@@ -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 fad94d2

Please sign in to comment.