spork 0.9.0.rc6 → 0.9.0.rc7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/timcharper/projects/spork
3
3
  specs:
4
- spork (0.9.0.rc5)
4
+ spork (0.9.0.rc7)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -17,10 +17,11 @@ module Spork::GemHelpers
17
17
  end
18
18
 
19
19
  def latest_load_paths
20
- if defined?(Bundler)
20
+ case
21
+ when defined?(Bundler)
21
22
  $LOAD_PATH.uniq
22
- else
23
- Dir["{#{Gem.paths.path.join(',')}}" + "/gems/*"].inject({}) do |h,f|
23
+ when Gem.respond_to?(:path)
24
+ Dir["{#{Gem.path.join(',')}}" + "/gems/*"].inject({}) do |h,f|
24
25
  gem_path = GemPath.new(f)
25
26
  if h[gem_path.name]
26
27
  h[gem_path.name] = gem_path if gem_path > h[gem_path.name]
@@ -28,7 +29,10 @@ module Spork::GemHelpers
28
29
  h[gem_path.name] = gem_path
29
30
  end
30
31
  h
31
- end
32
+ end.values.map(&:path)
33
+ else
34
+ STDERR.puts "No mechanism available to scan for other gems implementing spork hooks. "
35
+ []
32
36
  end
33
37
  end
34
38
  end
metadata CHANGED
@@ -1,8 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spork
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15424139
4
5
  prerelease: 6
5
- version: 0.9.0.rc6
6
+ segments:
7
+ - 0
8
+ - 9
9
+ - 0
10
+ - rc
11
+ - 7
12
+ version: 0.9.0.rc7
6
13
  platform: ruby
7
14
  authors:
8
15
  - Tim Harper
@@ -11,7 +18,8 @@ autorequire:
11
18
  bindir: bin
12
19
  cert_chain: []
13
20
 
14
- date: 2011-05-06 00:00:00 Z
21
+ date: 2011-05-06 00:00:00 -06:00
22
+ default_executable:
15
23
  dependencies: []
16
24
 
17
25
  description: A forking Drb spec server
@@ -84,6 +92,7 @@ files:
84
92
  - spec/support/fake_run_strategy.rb
85
93
  - bin/spork
86
94
  - ext/mkrf_conf.rb
95
+ has_rdoc: true
87
96
  homepage: http://github.com/timcharper/spork
88
97
  licenses: []
89
98
 
@@ -98,17 +107,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
107
  requirements:
99
108
  - - ">="
100
109
  - !ruby/object:Gem::Version
110
+ hash: 3
111
+ segments:
112
+ - 0
101
113
  version: "0"
102
114
  required_rubygems_version: !ruby/object:Gem::Requirement
103
115
  none: false
104
116
  requirements:
105
117
  - - ">="
106
118
  - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 0
107
122
  version: "0"
108
123
  requirements: []
109
124
 
110
125
  rubyforge_project: spork
111
- rubygems_version: 1.8.1
126
+ rubygems_version: 1.5.0
112
127
  signing_key:
113
128
  specification_version: 3
114
129
  summary: spork