Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 216bf5a

Browse files
committed
Install dependencies with Isolate.
1 parent d423e44 commit 216bf5a

30 files changed

+2125
-2
lines changed

Isolate

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gem "RedCloth", "3.0.4"

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
# HACK Will be exported to a separate file to share between books.
2+
$: << 'vendor/isolate-3.2.2/lib/'
33

44
require 'rubygems'
5-
gem 'RedCloth', '= 3.0.4'
5+
require 'isolate/now'
66
require 'RedCloth'
77
require 'erb'
88

vendor/isolate-3.2.2/.autotest

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- ruby -*-
2+
3+
require "autotest/restart"
4+
5+
Autotest.add_hook :initialize do |at|
6+
at.testlib = "minitest/autorun"
7+
at.add_exception "tmp"
8+
at.add_exception ".git"
9+
end

vendor/isolate-3.2.2/.gemtest

Whitespace-only changes.
Lines changed: 246 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
=== 3.2.2 / 2012-02-02
2+
3+
* 2 bug fixes:
4+
5+
* Isolate hoe plugin shouldn't sandbox until the isolate task triggers. ARGH. I suck.
6+
* Add missing opening quotes in docs (semaperepelitsa)
7+
8+
=== 3.2.1 / 2011-11-09
9+
10+
* 2 bug fixes:
11+
12+
* Now that rubygems has full dependency resolution, remove it from
13+
the "Not Gonna Happen" section in README.rdoc.
14+
* Fix broken close tag in documentation. (pbevin)
15+
16+
=== 3.2.0 / 2011-08-31
17+
18+
* 1 major enhancement:
19+
20+
* hoe/isolate no longer globally activates isolate. Attach via :isolate dependency
21+
22+
* 2 minor enhancements:
23+
24+
* Fix for custom gem server source overriding. (yaksnrainbows)
25+
* Remove isolated gems that are now satisfied globally. (luis)
26+
27+
* 3 bug fixes:
28+
29+
* Reworked rakefile and dependencies
30+
* Fix for custom gem server sources being overwritten by rubygems
31+
* Resolve a constant undefined error with rake on ruby-1.9.2
32+
33+
=== 3.1.2 / 2011-08-09
34+
35+
* 1 bug fix:
36+
37+
* Fixed check for Gem::Deprecate. No clue. But it works now.
38+
39+
=== 3.1.1 / 2011-07-21
40+
41+
* 2 bug fixes:
42+
43+
* Deprecate is now Gem::Deprecate. Try both.
44+
* Don't install gems for other environments. (rhburrows)
45+
46+
=== 3.1.0 / 2011-05-19
47+
48+
* 4 minor enhancements:
49+
50+
* Added ZenTest as a development dependency so rake multi works in isolation.
51+
* Added rake task git:freshen to forcefully remove stale gems.
52+
* Extracted remove from cleanup method so rake tasks can use remove.
53+
* Switched to minitest plugin in hoe spec
54+
55+
* 6 bug fixes:
56+
57+
* Fixed 1.9.x warnings
58+
* Fixed a test broken only in isolation from hoe itself.
59+
* Fixed an enumeration bug caused by my not running `rake multi` sooner. (Eric Wong)
60+
* Fixed requirements in readme.
61+
* Hoe plugin now properly adds development dependencies.
62+
* Hoe plugin now properly uses (and possibly defines) the Isolate.sandbox.
63+
64+
=== 3.0.2 / 2011-05-14
65+
66+
* 3 bug fixes:
67+
68+
* Cleanup shouldn't try to uninstall specs outside of our sandbox.
69+
* Pass spec.base_dir to the uninstaller during cleanup.
70+
* We shouldn't manipulate Gem.path, but if we do, we should be smart/clean about it.
71+
72+
=== 3.0.1 / 2011-05-11
73+
74+
* 6 minor enhancements:
75+
76+
* Added Entry#to_s and #inspect to make it much more readable.
77+
* Added Isolate.sandbox= and used it from Hoe::Isolate plugin.
78+
* Deprecated Sandbox#index.
79+
* Entry#specification now returns nil if it doesn't resolve to anything.
80+
* Refactored Sandbox's default path so that tests won't collide with our Rakefile.
81+
* We now require rubygems >= 1.8.2.
82+
83+
* 2 bug fixes:
84+
85+
* Cleaned up all warnings caused by rubygems 1.8 deprecations.
86+
* Fixed Sandbox#legitimize! to properly deal with Gem::Dependency.
87+
88+
=== 3.0.0 / 2010-10-19
89+
90+
* Remove deprecated Isolate.{gems,instance} methods.
91+
* Update RDoc location in the README.
92+
* Make isolated Hoe projects use :system => false by default.
93+
* Teach block file detection regex about Windows.
94+
95+
=== 2.1.2 / 2010-07-23
96+
97+
* Teach `isolate:sh` how to work on Windows.
98+
99+
=== 2.1.1 / 2010-07-08
100+
101+
* Fix $LOAD_PATH filtering bug when system is false.
102+
103+
=== 2.1.0 / 2010-07-01
104+
105+
* Pass self to event hooks. Speculative coding FTL.
106+
* Load ~/.isolate/user.rb if it exists.
107+
108+
=== 2.0.2 / 2010-05-25
109+
110+
* Provide reasonable stale output for missing deps.
111+
112+
=== 2.0.1 / 2010-05-24
113+
114+
* Fine, fine. Re-enables support for Ruby 1.8.6.
115+
* Make deprecated Isolate.gems more compatible with 1.x. [Eric Wong]
116+
117+
=== 2.0.0 / 2010-05-10
118+
119+
* Rewrite README and RDoc.
120+
* Deprecate `Isolate.gems` and `Isolate.instance`.
121+
* Add Isolate::Event hooks for better extension/integration.
122+
* Add ISOLATED env var when Isolate is activated.
123+
* Teach the Hoe plugin to recognize Isolate files.
124+
* Add `env` as an alias for `environment`.
125+
* Significantly refactor API and internals.
126+
* Add .local files for overriding global and gem args and options.
127+
* Segregate isolated gems by Ruby engine and version.
128+
* Make sure it's possible to install a local .gem file.
129+
* Make additive ENV changes idempotent. [Eric Wong]
130+
* Isolate is a module now, not a class.
131+
* Use tmp/isolate as the default, replacing tmp/gems.
132+
* Allow options changes in Isolate files or blocks.
133+
* Make entries additive. Multiple calls to Isolate#gem is fine.
134+
* Lock down required Ruby and RubyGems versions (1.8.7+, 1.3.6+).
135+
136+
=== 1.10.2 / 2010-04-24
137+
138+
Add 'isolate/now' convenience require in prep. for 2.x.
139+
140+
=== 1.10.1 / 2010-04-23
141+
142+
* Fix cleanup, it wasn't.
143+
144+
=== 1.10.0 / 2010-03-15
145+
146+
* Speculative now! shortcut.
147+
148+
=== 1.9.3 / 2010-02-24
149+
150+
* Passing <tt>:file => true</tt> to Isolate.gems will try +Isolate+
151+
and <tt>config/isolate.rb</tt>.
152+
153+
=== 1.9.2 / 2010-02-17
154+
155+
* Make it easier to break out the manifest to a separate file.
156+
157+
=== 1.9.1 / 2010-01-18
158+
159+
* Append to sources on install, don't just replace 'em.
160+
161+
=== 1.9.0 / 2010-01-18
162+
163+
* Allow isolation to be disabled.
164+
165+
=== 1.8.2 / 2010-01-13
166+
167+
* Don't include Isolate as a dependency in .gems.
168+
* Tweak the README structure for clarity.
169+
170+
=== 1.8.1 / 2010-01-13
171+
172+
* Allow isolate:dotgems to take an env.
173+
174+
=== 1.8.0 / 2010-01-05
175+
176+
* Make build args forgive non-Array input.
177+
* OMG, heaven forbid I use math.
178+
* Remove deprecated Isolate.activate method.
179+
* Remove passthrough, that's what conditionals are for.
180+
181+
=== 1.7.1 / 2009-12-08
182+
183+
* Move to 1-phase activation. Deprecate Isolate.activate.
184+
185+
=== 1.7.0 / 2009-12-07
186+
187+
* Activate gems even in passthrough mode.
188+
* hoe/isolate cleans up by default.
189+
* Isolate#activate cleans up. Isolate.activate is a simple front-end.
190+
191+
=== 1.6.1 / 2009-10-04
192+
193+
* Simplify subshells.
194+
* Squash warning.
195+
196+
=== 1.6.0 / 2009-10-03
197+
198+
* Add Rake helpers.
199+
* Expose the bin path to subshells.
200+
201+
=== 1.5.1 / 2009-10-02
202+
203+
* Fix passthrough for explicitly false conditions.
204+
205+
=== 1.5.0 / 2009-10-01
206+
207+
* Implemented passthrough.
208+
209+
=== 1.4.0 / 2009-09-30
210+
211+
* Added automatic cleanup.
212+
* Minor code refactoring.
213+
214+
=== 1.3.0 / 2009-09-23
215+
216+
* Add support for Gem build args. See the README for details.
217+
218+
=== 1.2.1 / 2009-09-22
219+
220+
* I am a moron. Made the Hoe plugin work again.
221+
* Be consistent about accessors vs ivars. [Review by Scott W]
222+
223+
=== 1.2.0 / 2009-09-22
224+
225+
* Added a Hoe plugin.
226+
227+
=== 1.1.0 / 2009-09-22
228+
229+
* Breaking change: Install by default.
230+
231+
=== 1.0.2 / 2009-09-21
232+
233+
* Fix some README typos.
234+
* Add Entry#matches? to encapsulate activation and installation decisions.
235+
* Remove block form of Isolate#enable, it's unused.
236+
* Properly instance_eval Isolate#environment blocks.
237+
* Reset stubs properly after tests (Random test order FTFW).
238+
239+
=== 1.0.1 / 2009-09-21
240+
241+
* Doco updates. [Review by Evan]
242+
* Don't modify Entry#options on install. [Review by Evan]
243+
244+
=== 1.0.0 / 2009-09-21
245+
246+
* Birthday!

vendor/isolate-3.2.2/Manifest.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.autotest
2+
CHANGELOG.rdoc
3+
Manifest.txt
4+
README.rdoc
5+
Rakefile
6+
lib/hoe/isolate.rb
7+
lib/isolate.rb
8+
lib/isolate/entry.rb
9+
lib/isolate/events.rb
10+
lib/isolate/now.rb
11+
lib/isolate/rake.rb
12+
lib/isolate/sandbox.rb
13+
test/fixtures/blort-0.0.gem
14+
test/fixtures/isolate.rb
15+
test/fixtures/override.rb
16+
test/fixtures/override.rb.local
17+
test/fixtures/system/specifications/rcov-0.9.9.gemspec
18+
test/fixtures/system_redundant/specifications/rake-0.8.7.gemspec
19+
test/fixtures/system_redundant/specifications/rcov-0.9.9.gemspec
20+
test/fixtures/with-hoe/specifications/hoe-2.3.3.gemspec
21+
test/fixtures/with-hoe/specifications/rake-0.8.7.gemspec
22+
test/fixtures/with-hoe/specifications/rubyforge-1.0.4.gemspec
23+
test/isolate/test.rb
24+
test/test_isolate.rb
25+
test/test_isolate_entry.rb
26+
test/test_isolate_events.rb
27+
test/test_isolate_sandbox.rb

0 commit comments

Comments
 (0)