spork 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spork/run_strategy/magazine.rb +9 -1
- metadata +40 -8
- data/ext/mkrf_conf.rb +0 -26
- data/geminstaller.yml +0 -9
@@ -3,7 +3,15 @@
|
|
3
3
|
# as they come in
|
4
4
|
require 'drb'
|
5
5
|
require 'rinda/ring'
|
6
|
-
|
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
|
+
|
14
|
+
require 'rubygems' # used for Gem.ruby
|
7
15
|
|
8
16
|
$:.unshift(File.dirname(__FILE__))
|
9
17
|
require 'magazine/magazine_slave'
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 53
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 8
|
8
|
-
-
|
9
|
-
version: 0.8.
|
9
|
+
- 5
|
10
|
+
version: 0.8.5
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Tim Harper
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date:
|
19
|
+
date: 2011-05-26 00:00:00 -06:00
|
19
20
|
default_executable: spork
|
20
21
|
dependencies: []
|
21
22
|
|
@@ -24,13 +25,12 @@ email:
|
|
24
25
|
- timcharper+spork@gmail.com
|
25
26
|
executables:
|
26
27
|
- spork
|
27
|
-
extensions:
|
28
|
-
|
28
|
+
extensions: []
|
29
|
+
|
29
30
|
extra_rdoc_files:
|
30
31
|
- MIT-LICENSE
|
31
32
|
- README.rdoc
|
32
33
|
files:
|
33
|
-
- geminstaller.yml
|
34
34
|
- README.rdoc
|
35
35
|
- MIT-LICENSE
|
36
36
|
- lib/spork/app_framework/padrino.rb
|
@@ -58,6 +58,34 @@ files:
|
|
58
58
|
- lib/spork/test_framework.rb
|
59
59
|
- lib/spork.rb
|
60
60
|
- assets/bootstrap.rb
|
61
|
+
- features/at_exit_during_each_run.feature
|
62
|
+
- features/cucumber_rails_integration.feature
|
63
|
+
- features/diagnostic_mode.feature
|
64
|
+
- features/rails_delayed_loading_workarounds.feature
|
65
|
+
- features/rspec_rails_integration.feature
|
66
|
+
- features/spork_debugger.feature
|
67
|
+
- features/steps/general_steps.rb
|
68
|
+
- features/steps/rails_steps.rb
|
69
|
+
- features/steps/sandbox_steps.rb
|
70
|
+
- features/support/background_job.rb
|
71
|
+
- features/support/env.rb
|
72
|
+
- features/unknown_app_framework.feature
|
73
|
+
- spec/spec_helper.rb
|
74
|
+
- spec/spork/app_framework/rails_spec.rb
|
75
|
+
- spec/spork/app_framework/unknown_spec.rb
|
76
|
+
- spec/spork/app_framework_spec.rb
|
77
|
+
- spec/spork/diagnoser_spec.rb
|
78
|
+
- spec/spork/forker_spec.rb
|
79
|
+
- spec/spork/run_strategy/forking_spec.rb
|
80
|
+
- spec/spork/runner_spec.rb
|
81
|
+
- spec/spork/server_spec.rb
|
82
|
+
- spec/spork/test_framework/cucumber_spec.rb
|
83
|
+
- spec/spork/test_framework/rspec_spec.rb
|
84
|
+
- spec/spork/test_framework_spec.rb
|
85
|
+
- spec/spork_spec.rb
|
86
|
+
- spec/support/fake_framework.rb
|
87
|
+
- spec/support/fake_run_strategy.rb
|
88
|
+
- bin/spork
|
61
89
|
has_rdoc: true
|
62
90
|
homepage: http://github.com/timcharper/spork
|
63
91
|
licenses: []
|
@@ -69,23 +97,27 @@ rdoc_options:
|
|
69
97
|
require_paths:
|
70
98
|
- lib
|
71
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
72
101
|
requirements:
|
73
102
|
- - ">="
|
74
103
|
- !ruby/object:Gem::Version
|
104
|
+
hash: 3
|
75
105
|
segments:
|
76
106
|
- 0
|
77
107
|
version: "0"
|
78
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
79
110
|
requirements:
|
80
111
|
- - ">="
|
81
112
|
- !ruby/object:Gem::Version
|
113
|
+
hash: 3
|
82
114
|
segments:
|
83
115
|
- 0
|
84
116
|
version: "0"
|
85
117
|
requirements: []
|
86
118
|
|
87
119
|
rubyforge_project: spork
|
88
|
-
rubygems_version: 1.
|
120
|
+
rubygems_version: 1.5.0
|
89
121
|
signing_key:
|
90
122
|
specification_version: 3
|
91
123
|
summary: spork
|
data/ext/mkrf_conf.rb
DELETED
@@ -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
|
data/geminstaller.yml
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
defaults:
|
2
|
-
install_options: "--no-ri --no-rdoc"
|
3
|
-
gems:
|
4
|
-
- { name: 'sqlite3-ruby', version: '>= 1.2.5' }
|
5
|
-
- { name: 'cucumber', version: '>= 0.4.0' }
|
6
|
-
- { name: 'rspec', version: '>= 1.2.9' }
|
7
|
-
- { name: 'rspec-rails', version: '>= 1.2.9' }
|
8
|
-
- { name: 'rails', version: '>= 2.3' }
|
9
|
-
- { name: 'ruby-debug', version: '>= 0.10.3' }
|