sauron 0.1.20 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +4 -3
- data/Rakefile +0 -2
- data/VERSION +1 -1
- data/sauron.gemspec +1 -7
- metadata +6 -37
data/README.rdoc
CHANGED
@@ -23,9 +23,10 @@ WARNING: This is still a *very* new gem (only in existence since July 17th, 2010
|
|
23
23
|
The first step is to include the necessary gems in your config/environments/test.rb file:
|
24
24
|
|
25
25
|
config.gem 'sauron'
|
26
|
-
config.gem 'bellmyer-hydra', :lib => 'hydra'
|
27
26
|
|
28
|
-
The
|
27
|
+
The is the Sauron gem, which will also include the Watchr gem and a fork of the Hydra gem that I modified to support multiple databases. To get them on your system, run:
|
28
|
+
|
29
|
+
rake gems:install RAILS_ENV=test
|
29
30
|
|
30
31
|
=== Edit your database configuration
|
31
32
|
|
@@ -57,7 +58,7 @@ While developing your rails app, run:
|
|
57
58
|
|
58
59
|
ruby script/sauron
|
59
60
|
|
60
|
-
which will launch Sauron and watch your app.
|
61
|
+
which will launch Sauron and watch your app. Use Ctrl-\ to refresh your testing suite after adding files. Ta-da! Multi-threaded, multi-database, automatic testing goodness!
|
61
62
|
|
62
63
|
== For advanced users
|
63
64
|
|
data/Rakefile
CHANGED
@@ -30,8 +30,6 @@ begin
|
|
30
30
|
gem.email = "jaime@kconrails.com"
|
31
31
|
gem.homepage = "http://github.com/bellmyer/sauron"
|
32
32
|
gem.authors = ['Jaime Bellmyer']
|
33
|
-
gem.add_development_dependency "bellmyer-hydra", ">= 0.20.9"
|
34
|
-
gem.add_development_dependency "watchr", ">= 0.6"
|
35
33
|
gem.add_dependency 'bellmyer-hydra', '>= 0.20.10'
|
36
34
|
gem.add_dependency 'watchr', '>= 0.6'
|
37
35
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.22
|
data/sauron.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sauron}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.22"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jaime Bellmyer"]
|
@@ -50,19 +50,13 @@ Gem::Specification.new do |s|
|
|
50
50
|
s.specification_version = 3
|
51
51
|
|
52
52
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
53
|
-
s.add_development_dependency(%q<bellmyer-hydra>, [">= 0.20.9"])
|
54
|
-
s.add_development_dependency(%q<watchr>, [">= 0.6"])
|
55
53
|
s.add_runtime_dependency(%q<bellmyer-hydra>, [">= 0.20.10"])
|
56
54
|
s.add_runtime_dependency(%q<watchr>, [">= 0.6"])
|
57
55
|
else
|
58
|
-
s.add_dependency(%q<bellmyer-hydra>, [">= 0.20.9"])
|
59
|
-
s.add_dependency(%q<watchr>, [">= 0.6"])
|
60
56
|
s.add_dependency(%q<bellmyer-hydra>, [">= 0.20.10"])
|
61
57
|
s.add_dependency(%q<watchr>, [">= 0.6"])
|
62
58
|
end
|
63
59
|
else
|
64
|
-
s.add_dependency(%q<bellmyer-hydra>, [">= 0.20.9"])
|
65
|
-
s.add_dependency(%q<watchr>, [">= 0.6"])
|
66
60
|
s.add_dependency(%q<bellmyer-hydra>, [">= 0.20.10"])
|
67
61
|
s.add_dependency(%q<watchr>, [">= 0.6"])
|
68
62
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sauron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 22
|
10
|
+
version: 0.1.22
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jaime Bellmyer
|
@@ -22,37 +22,6 @@ dependencies:
|
|
22
22
|
name: bellmyer-hydra
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 93
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 20
|
33
|
-
- 9
|
34
|
-
version: 0.20.9
|
35
|
-
type: :development
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: watchr
|
39
|
-
prerelease: false
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ">="
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 7
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 6
|
49
|
-
version: "0.6"
|
50
|
-
type: :development
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: bellmyer-hydra
|
54
|
-
prerelease: false
|
55
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
56
25
|
none: false
|
57
26
|
requirements:
|
58
27
|
- - ">="
|
@@ -64,11 +33,11 @@ dependencies:
|
|
64
33
|
- 10
|
65
34
|
version: 0.20.10
|
66
35
|
type: :runtime
|
67
|
-
version_requirements: *
|
36
|
+
version_requirements: *id001
|
68
37
|
- !ruby/object:Gem::Dependency
|
69
38
|
name: watchr
|
70
39
|
prerelease: false
|
71
|
-
requirement: &
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
72
41
|
none: false
|
73
42
|
requirements:
|
74
43
|
- - ">="
|
@@ -79,7 +48,7 @@ dependencies:
|
|
79
48
|
- 6
|
80
49
|
version: "0.6"
|
81
50
|
type: :runtime
|
82
|
-
version_requirements: *
|
51
|
+
version_requirements: *id002
|
83
52
|
description: Speed up your automated tests with multiple databases and workers.
|
84
53
|
email: jaime@kconrails.com
|
85
54
|
executables: []
|