deep_test 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +6 -3
- data/lib/deep_test/extensions/object_extension.rb +1 -0
- data/lib/deep_test/server.rb +1 -1
- data/lib/deep_test/tasks/rinda.rake +2 -6
- metadata +50 -45
- data/CHANGELOG +0 -0
data/Rakefile
CHANGED
@@ -36,7 +36,7 @@ Gem::manage_gems
|
|
36
36
|
specification = Gem::Specification.new do |s|
|
37
37
|
s.name = "deep_test"
|
38
38
|
s.summary = "DeepTest runs tests in multiple processes."
|
39
|
-
s.version = "1.0.
|
39
|
+
s.version = "1.0.3"
|
40
40
|
s.author = "anonymous z, Dan Manges, David Vollbracht"
|
41
41
|
s.description = s.summary
|
42
42
|
s.email = "daniel.manges@gmail.com"
|
@@ -45,14 +45,17 @@ specification = Gem::Specification.new do |s|
|
|
45
45
|
s.add_dependency "daemons", ">= 1.0.7"
|
46
46
|
|
47
47
|
s.has_rdoc = true
|
48
|
-
s.extra_rdoc_files = ['README'
|
48
|
+
s.extra_rdoc_files = ['README']
|
49
49
|
s.rdoc_options << '--title' << "DeepTest" << '--main' << 'README' << '--line-numbers'
|
50
50
|
|
51
51
|
s.autorequire = "deep_test"
|
52
|
-
s.files = FileList['{lib,test}/**/*.{rb,rake}', '
|
52
|
+
s.files = FileList['{lib,test}/**/*.{rb,rake}', 'README', 'Rakefile'].to_a
|
53
53
|
end
|
54
54
|
|
55
55
|
Rake::GemPackageTask.new(specification) do |package|
|
56
56
|
package.need_zip = true
|
57
57
|
package.need_tar = true
|
58
58
|
end
|
59
|
+
|
60
|
+
Rake::Task[:gem].prerequisites.unshift :deep_test
|
61
|
+
Rake::Task[:gem].prerequisites.unshift :test
|
data/lib/deep_test/server.rb
CHANGED
@@ -2,14 +2,13 @@ require "rubygems"
|
|
2
2
|
begin
|
3
3
|
require "daemons"
|
4
4
|
rescue LoadError
|
5
|
-
raise "The daemons gem must be installed"
|
5
|
+
raise "The daemons gem must be installed to use deep_test"
|
6
6
|
end
|
7
7
|
|
8
8
|
namespace :deep_test do
|
9
9
|
namespace :server do
|
10
|
-
desc "Starts the server"
|
11
10
|
task :start do
|
12
|
-
Daemons.run_proc "deep_test_server", :ARGV => ["start"] do
|
11
|
+
Daemons.run_proc "deep_test_server", :ARGV => ["start"], :backtrace => true, :log_output => true do
|
13
12
|
require "deep_test"
|
14
13
|
ENV["RAILS_ENV"] = "test"
|
15
14
|
Object.const_set "RAILS_ENV", "test"
|
@@ -17,19 +16,16 @@ namespace :deep_test do
|
|
17
16
|
end
|
18
17
|
sleep 0.25
|
19
18
|
end
|
20
|
-
desc "Stops the server"
|
21
19
|
task :stop do
|
22
20
|
Daemons.run("deep_test_server", :ARGV => ["stop"])
|
23
21
|
end
|
24
22
|
end
|
25
23
|
|
26
24
|
namespace :workers do
|
27
|
-
desc "Starts the workers"
|
28
25
|
task :start do
|
29
26
|
raise "deprecated -dan"
|
30
27
|
end
|
31
28
|
|
32
|
-
desc "Stops the workers"
|
33
29
|
task :stop do
|
34
30
|
Daemons.run("deep_test_worker", :ARGV => ["stop"])
|
35
31
|
end
|
metadata
CHANGED
@@ -1,33 +1,34 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.3
|
3
|
-
specification_version: 1
|
4
2
|
name: deep_test
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
|
8
|
-
summary: DeepTest runs tests in multiple processes.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: daniel.manges@gmail.com
|
12
|
-
homepage: http://deep-test.rubyforge.org
|
13
|
-
rubyforge_project: deep-test
|
14
|
-
description: DeepTest runs tests in multiple processes.
|
15
|
-
autorequire: deep_test
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
25
|
-
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
4
|
+
version: 1.0.3
|
5
|
+
platform: ""
|
29
6
|
authors:
|
30
7
|
- anonymous z, Dan Manges, David Vollbracht
|
8
|
+
autorequire: deep_test
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2007-12-05 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: daemons
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.7
|
23
|
+
version:
|
24
|
+
description: DeepTest runs tests in multiple processes.
|
25
|
+
email: daniel.manges@gmail.com
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
31
|
+
- README
|
31
32
|
files:
|
32
33
|
- lib/deep_test.rb
|
33
34
|
- lib/deep_test/loader.rb
|
@@ -55,33 +56,37 @@ files:
|
|
55
56
|
- test/deep_test/loader_test.rb
|
56
57
|
- test/deep_test/rinda_blackboard_test.rb
|
57
58
|
- test/deep_test/start_workers_test.rb
|
58
|
-
- CHANGELOG
|
59
59
|
- README
|
60
60
|
- Rakefile
|
61
|
-
|
62
|
-
|
61
|
+
has_rdoc: true
|
62
|
+
homepage: http://deep-test.rubyforge.org
|
63
|
+
post_install_message:
|
63
64
|
rdoc_options:
|
64
65
|
- --title
|
65
66
|
- DeepTest
|
66
67
|
- --main
|
67
68
|
- README
|
68
69
|
- --line-numbers
|
69
|
-
|
70
|
-
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: "0"
|
77
|
+
version:
|
78
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: "0"
|
83
|
+
version:
|
76
84
|
requirements: []
|
77
85
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 1.0.7
|
87
|
-
version:
|
86
|
+
rubyforge_project: deep-test
|
87
|
+
rubygems_version: 0.9.5
|
88
|
+
signing_key:
|
89
|
+
specification_version: 2
|
90
|
+
summary: DeepTest runs tests in multiple processes.
|
91
|
+
test_files: []
|
92
|
+
|
data/CHANGELOG
DELETED
File without changes
|