isolate 2.1.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +7 -0
- data/README.rdoc +1 -1
- data/Rakefile +2 -1
- data/lib/hoe/isolate.rb +1 -1
- data/lib/isolate.rb +1 -24
- data/lib/isolate/sandbox.rb +1 -1
- metadata +13 -34
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
=== 3.0.0 / 2010-10-19
|
2
|
+
|
3
|
+
* Remove deprecated Isolate.{gems,instance} methods.
|
4
|
+
* Update RDoc location in the README.
|
5
|
+
* Make isolated Hoe projects use :system => false by default.
|
6
|
+
* Teach block file detection regex about Windows.
|
7
|
+
|
1
8
|
=== 2.1.2 / 2010-07-23
|
2
9
|
|
3
10
|
* Teach `isolate:sh` how to work on Windows.
|
data/README.rdoc
CHANGED
@@ -178,7 +178,7 @@ public API, please see the RDoc.
|
|
178
178
|
|
179
179
|
== Meta
|
180
180
|
|
181
|
-
RDoc:: http://
|
181
|
+
RDoc:: http://rubydoc.info/gems/isolate/frames
|
182
182
|
Bugs:: http://github.com/jbarnette/isolate/issues
|
183
183
|
IRC:: #isolate on Freenode
|
184
184
|
Mailing List:: isolate@librelist.com
|
data/Rakefile
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require "rubygems"
|
2
2
|
require "hoe"
|
3
3
|
|
4
|
+
Hoe.plugins.delete :rubyforge
|
4
5
|
Hoe.plugin :doofus, :git
|
5
6
|
|
6
7
|
Hoe.spec "isolate" do
|
@@ -15,5 +16,5 @@ Hoe.spec "isolate" do
|
|
15
16
|
self.readme_file = "README.rdoc"
|
16
17
|
self.testlib = :minitest
|
17
18
|
|
18
|
-
extra_dev_deps << ["minitest", "~> 1.
|
19
|
+
extra_dev_deps << ["minitest", "~> 1.7"]
|
19
20
|
end
|
data/lib/hoe/isolate.rb
CHANGED
@@ -44,7 +44,7 @@ class Hoe # :nodoc:
|
|
44
44
|
def define_isolate_tasks # HACK
|
45
45
|
|
46
46
|
# reset, now that they've had a chance to change it
|
47
|
-
@sandbox.options :path => isolate_dir
|
47
|
+
@sandbox.options :path => isolate_dir, :system => false
|
48
48
|
|
49
49
|
# allows traditional extra{_dev}_deps calls to override
|
50
50
|
(self.extra_deps + self.extra_dev_deps).each do |name, version|
|
data/lib/isolate.rb
CHANGED
@@ -8,7 +8,7 @@ module Isolate
|
|
8
8
|
|
9
9
|
# Duh.
|
10
10
|
|
11
|
-
VERSION = "
|
11
|
+
VERSION = "3.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.
|
@@ -26,29 +26,6 @@ module Isolate
|
|
26
26
|
ENV["ISOLATE_ENV"] || ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
|
27
27
|
end
|
28
28
|
|
29
|
-
# Deprecated. See Isolate.now!
|
30
|
-
|
31
|
-
def self.gems path, options = {}, &block # :nodoc:
|
32
|
-
warn "Isolate.gems is deprecated, use Isolate.now! instead.\n" +
|
33
|
-
"Isolate.gems will be removed in v3.0."
|
34
|
-
compat = {
|
35
|
-
:path => path,
|
36
|
-
:multiruby => false,
|
37
|
-
:system => false,
|
38
|
-
}
|
39
|
-
|
40
|
-
now! options.merge(compat), &block
|
41
|
-
end
|
42
|
-
|
43
|
-
# Deprecated. See Isolate.sandbox.
|
44
|
-
|
45
|
-
def self.instance
|
46
|
-
warn "Isolate.instance is deprecated, use Isolate.sandbox instead.\n" +
|
47
|
-
"Isolate.instance will be removed in v3.0."
|
48
|
-
|
49
|
-
sandbox
|
50
|
-
end
|
51
|
-
|
52
29
|
@@sandbox = nil
|
53
30
|
|
54
31
|
# A singleton instance of Isolate::Sandbox.
|
data/lib/isolate/sandbox.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isolate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 15
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version:
|
6
|
+
- 3
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
version: 3.0.0
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- John Barnette
|
@@ -16,56 +15,38 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2010-
|
18
|
+
date: 2010-10-19 00:00:00 -07:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
23
|
-
name: rubyforge
|
24
|
-
prerelease: false
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
|
-
requirements:
|
28
|
-
- - ">="
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
hash: 7
|
31
|
-
segments:
|
32
|
-
- 2
|
33
|
-
- 0
|
34
|
-
- 4
|
35
|
-
version: 2.0.4
|
36
|
-
type: :development
|
37
|
-
version_requirements: *id001
|
38
21
|
- !ruby/object:Gem::Dependency
|
39
22
|
name: minitest
|
40
23
|
prerelease: false
|
41
|
-
requirement: &
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
42
25
|
none: false
|
43
26
|
requirements:
|
44
27
|
- - ~>
|
45
28
|
- !ruby/object:Gem::Version
|
46
|
-
hash: 3
|
47
29
|
segments:
|
48
30
|
- 1
|
49
|
-
-
|
50
|
-
version: "1.
|
31
|
+
- 7
|
32
|
+
version: "1.7"
|
51
33
|
type: :development
|
52
|
-
version_requirements: *
|
34
|
+
version_requirements: *id001
|
53
35
|
- !ruby/object:Gem::Dependency
|
54
36
|
name: hoe
|
55
37
|
prerelease: false
|
56
|
-
requirement: &
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
57
39
|
none: false
|
58
40
|
requirements:
|
59
41
|
- - ">="
|
60
42
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 21
|
62
43
|
segments:
|
63
44
|
- 2
|
64
45
|
- 6
|
65
|
-
-
|
66
|
-
version: 2.6.
|
46
|
+
- 2
|
47
|
+
version: 2.6.2
|
67
48
|
type: :development
|
68
|
-
version_requirements: *
|
49
|
+
version_requirements: *id002
|
69
50
|
description: |-
|
70
51
|
Isolate is a very simple RubyGems sandbox. It provides a way to
|
71
52
|
express and automatically install your project's Gem dependencies.
|
@@ -120,7 +101,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
101
|
requirements:
|
121
102
|
- - ">="
|
122
103
|
- !ruby/object:Gem::Version
|
123
|
-
hash: 59
|
124
104
|
segments:
|
125
105
|
- 1
|
126
106
|
- 8
|
@@ -131,7 +111,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
111
|
requirements:
|
132
112
|
- - ">="
|
133
113
|
- !ruby/object:Gem::Version
|
134
|
-
hash: 23
|
135
114
|
segments:
|
136
115
|
- 1
|
137
116
|
- 3
|