spork 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -79,9 +79,9 @@ Or, you could add the following flag to your +spec.opts+ file.
79
79
 
80
80
  === Cucumber
81
81
 
82
- Cucumber --drb support for spork is not official yet (but it works). It's the hottest sauce boiling on the world wide web right now. If you can't wait to try it, head on over to Cucumber core-team member Ben Mabey's drb branch and build your own cucumber gem:
82
+ Cucumber has DRb support (see http://wiki.github.com/aslakhellesoy/cucumber/spork-and-drb )
83
83
 
84
- http://github.com/bmabey/cucumber/tree/drb_server
84
+ cucumber --drb
85
85
 
86
86
  Use this as a guideline when "Sporking" your features/support/env.rb file
87
87
 
@@ -9,11 +9,11 @@ class ::ApplicationController < ActionController::Base
9
9
 
10
10
  def reapply_inheritance!
11
11
  @@preloading = false
12
- @_descendants.each do |descendant|
12
+ Array(@_descendants).each do |descendant|
13
13
  descendant.master_helper_module.send(:include, master_helper_module)
14
14
  descendant.send(:default_helper_module!)
15
15
 
16
- descendant.respond_to?(:reapply_inheritance) && descendant.reapply_inheritance!
16
+ descendant.respond_to?(:reapply_inheritance!) && descendant.reapply_inheritance!
17
17
  end
18
18
  end
19
19
  end
@@ -19,7 +19,7 @@ class Spork::TestFramework
19
19
  end
20
20
 
21
21
  def message
22
- "I can't find the file #{e.test_framework.helper_file} for the #{e.test_framework.short_name} testing framework.\nAre you running me from the project directory?"
22
+ "I can't find the file #{@framework.helper_file} for the #{@framework.short_name} testing framework.\nAre you running me from the project directory?"
23
23
  end
24
24
  end
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Harper
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-04 00:00:00 -07:00
12
+ date: 2009-12-28 00:00:00 -07:00
13
13
  default_executable: spork
14
14
  dependencies: []
15
15