spork 0.9.0.rc7 → 0.9.0.rc8

Sign up to get free protection for your applications and to get access to all the features.
@@ -90,7 +90,7 @@ Or, you could add the following flag to your +spec.opts+ (or +.rspec+ depending
90
90
 
91
91
  === Cucumber
92
92
 
93
- Cucumber has DRb support (see http://wiki.github.com/aslakhellesoy/cucumber/spork-and---drb)
93
+ Cucumber has DRb support (see http://wiki.github.com/cucumber/cucumber/spork-and---drb)
94
94
 
95
95
  cucumber --drb features/my.feature
96
96
 
@@ -3,7 +3,14 @@
3
3
  # as they come in
4
4
  require 'drb'
5
5
  require 'rinda/ring'
6
- require 'win32/process' if RUBY_PLATFORM =~ /mswin|mingw/ and RUBY_VERSION < '1.9.1'
6
+ if RUBY_PLATFORM =~ /mswin|mingw/ and RUBY_VERSION < '1.9.1'
7
+ begin
8
+ require 'win32/process'
9
+ rescue LoadError
10
+ puts "The 'win32-process' gem is required for windows Spork support with ruby 1.9.1 and lower. Install it, or if using bundler, add it to your Gemfile."
11
+ end
12
+ end
13
+
7
14
  require 'rubygems' # used for Gem.ruby
8
15
 
9
16
  $:.unshift(File.dirname(__FILE__))
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spork
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424139
4
+ hash: 15424149
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 0
10
10
  - rc
11
- - 7
12
- version: 0.9.0.rc7
11
+ - 8
12
+ version: 0.9.0.rc8
13
13
  platform: ruby
14
14
  authors:
15
15
  - Tim Harper
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-05-06 00:00:00 -06:00
21
+ date: 2011-05-26 00:00:00 -06:00
22
22
  default_executable:
23
23
  dependencies: []
24
24
 
@@ -27,8 +27,8 @@ email:
27
27
  - timcharper+spork@gmail.com
28
28
  executables:
29
29
  - spork
30
- extensions:
31
- - ext/mkrf_conf.rb
30
+ extensions: []
31
+
32
32
  extra_rdoc_files:
33
33
  - MIT-LICENSE
34
34
  - README.rdoc
@@ -91,7 +91,6 @@ files:
91
91
  - spec/support/fake_framework.rb
92
92
  - spec/support/fake_run_strategy.rb
93
93
  - bin/spork
94
- - ext/mkrf_conf.rb
95
94
  has_rdoc: true
96
95
  homepage: http://github.com/timcharper/spork
97
96
  licenses: []
@@ -1,26 +0,0 @@
1
- require 'rubygems'
2
- require 'rubygems/command.rb'
3
- require 'rubygems/dependency_installer.rb'
4
- STDERR.puts "Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system"
5
- inst = Gem::DependencyInstaller.new
6
-
7
- # this will fail if rake isn't installed.
8
- begin
9
- inst.install "rake"
10
- rescue
11
- # oh well. Let it fail later.
12
- end
13
-
14
- if RUBY_PLATFORM =~ /mswin|mingw/ and RUBY_VERSION < '1.9.1'
15
- STDERR.puts "installing windows dependencies"
16
- begin
17
- inst.install "win32-process", "~> 0.6.1"
18
- rescue => e
19
- STDERR.puts "Failed to install necessary dependency gem win32-process: #{e}"
20
- exit(1)
21
- end
22
- end
23
-
24
- f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") # create dummy rakefile to indicate success
25
- f.write("task :default\n")
26
- f.close