spork 1.0.0rc0-x86-mingw32 → 1.0.0rc1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/assets/bootstrap.rb +49 -0
- metadata +5 -4
data/assets/bootstrap.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spork'
|
3
|
+
#uncomment the following line to use spork with the debugger
|
4
|
+
#require 'spork/ext/ruby-debug'
|
5
|
+
|
6
|
+
Spork.prefork do
|
7
|
+
# Loading more in this block will cause your tests to run faster. However,
|
8
|
+
# if you change any configuration or code from libraries loaded here, you'll
|
9
|
+
# need to restart spork for it take effect.
|
10
|
+
|
11
|
+
end
|
12
|
+
|
13
|
+
Spork.each_run do
|
14
|
+
# This code will be run each time you run your specs.
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
# --- Instructions ---
|
19
|
+
# Sort the contents of this file into a Spork.prefork and a Spork.each_run
|
20
|
+
# block.
|
21
|
+
#
|
22
|
+
# The Spork.prefork block is run only once when the spork server is started.
|
23
|
+
# You typically want to place most of your (slow) initializer code in here, in
|
24
|
+
# particular, require'ing any 3rd-party gems that you don't normally modify
|
25
|
+
# during development.
|
26
|
+
#
|
27
|
+
# The Spork.each_run block is run each time you run your specs. In case you
|
28
|
+
# need to load files that tend to change during development, require them here.
|
29
|
+
# With Rails, your application modules are loaded automatically, so sometimes
|
30
|
+
# this block can remain empty.
|
31
|
+
#
|
32
|
+
# Note: You can modify files loaded *from* the Spork.each_run block without
|
33
|
+
# restarting the spork server. However, this file itself will not be reloaded,
|
34
|
+
# so if you change any of the code inside the each_run block, you still need to
|
35
|
+
# restart the server. In general, if you have non-trivial code in this file,
|
36
|
+
# it's advisable to move it into a separate file so you can easily edit it
|
37
|
+
# without restarting spork. (For example, with RSpec, you could move
|
38
|
+
# non-trivial code into a file spec/support/my_helper.rb, making sure that the
|
39
|
+
# spec/support/* files are require'd from inside the each_run block.)
|
40
|
+
#
|
41
|
+
# Any code that is left outside the two blocks will be run during preforking
|
42
|
+
# *and* during each_run -- that's probably not what you want.
|
43
|
+
#
|
44
|
+
# These instructions should self-destruct in 10 seconds. If they don't, feel
|
45
|
+
# free to delete them.
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
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: 1.0.
|
4
|
+
version: 1.0.0rc1
|
5
5
|
prerelease: 5
|
6
6
|
platform: x86-mingw32
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-28 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: win32-process
|
17
|
-
requirement: &
|
17
|
+
requirement: &70298716140300 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70298716140300
|
26
26
|
description: A forking Drb spec server
|
27
27
|
email:
|
28
28
|
- timcharper+spork@gmail.com
|
@@ -74,6 +74,7 @@ files:
|
|
74
74
|
- spec/support/should_include_a_string_like.rb
|
75
75
|
- spec/support/test_io_streams.rb
|
76
76
|
- spec/support/tmp_project_helpers.rb
|
77
|
+
- assets/bootstrap.rb
|
77
78
|
- features/at_exit_during_each_run.feature
|
78
79
|
- features/diagnostic_mode.feature
|
79
80
|
- features/spork_debugger.feature
|