testbot 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/lib/testbot.rb +3 -1
- data/testbot.gemspec +4 -2
- metadata +14 -14
data/README.markdown
CHANGED
@@ -68,7 +68,7 @@ Using testbot with Rails 3:
|
|
68
68
|
|
69
69
|
Using testbot with Rails 2:
|
70
70
|
|
71
|
-
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.2.
|
71
|
+
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.2.7'
|
72
72
|
|
73
73
|
The rails 2 config generator isn't done yet so you can look at the following examples instead:
|
74
74
|
[lib/tasks/testbot.rake](https://gist.github.com/715836) and
|
data/lib/testbot.rb
CHANGED
@@ -5,7 +5,9 @@ require 'fileutils'
|
|
5
5
|
module Testbot
|
6
6
|
require 'railtie' if defined?(Rails)
|
7
7
|
|
8
|
-
|
8
|
+
# Don't forget to update readme
|
9
|
+
VERSION = "0.2.7"
|
10
|
+
|
9
11
|
SERVER_PID = "/tmp/testbot_server.pid"
|
10
12
|
RUNNER_PID = "/tmp/testbot_runner.pid"
|
11
13
|
DEFAULT_WORKING_DIR = "/tmp/testbot"
|
data/testbot.gemspec
CHANGED
@@ -18,9 +18,11 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.add_dependency('macaddr', '>= 1.0.0')
|
19
19
|
s.add_dependency('net-ssh', '>= 2.0.23')
|
20
20
|
s.add_dependency('sequel', '>= 3.16.0')
|
21
|
-
s.add_dependency('sqlite3-ruby', '>= 1.2.5')
|
22
21
|
s.add_dependency('json', '>= 1.4.6')
|
23
|
-
|
22
|
+
|
23
|
+
# Could work with older versions, but not newer (when deploying on debian)
|
24
|
+
s.add_dependency('sqlite3-ruby', '= 1.2.5')
|
25
|
+
|
24
26
|
# Because sinatra's "disable :logging" does not work with WEBrick.
|
25
27
|
# Also, using a version that builds on ruby 1.9.2.
|
26
28
|
s.add_dependency('mongrel', '1.2.0.pre2')
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Joakim Kolsj\xC3\xB6"
|
@@ -99,35 +99,35 @@ dependencies:
|
|
99
99
|
type: :runtime
|
100
100
|
version_requirements: *id005
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
|
-
name:
|
102
|
+
name: json
|
103
103
|
prerelease: false
|
104
104
|
requirement: &id006 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
hash:
|
109
|
+
hash: 11
|
110
110
|
segments:
|
111
111
|
- 1
|
112
|
-
-
|
113
|
-
-
|
114
|
-
version: 1.
|
112
|
+
- 4
|
113
|
+
- 6
|
114
|
+
version: 1.4.6
|
115
115
|
type: :runtime
|
116
116
|
version_requirements: *id006
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
118
|
+
name: sqlite3-ruby
|
119
119
|
prerelease: false
|
120
120
|
requirement: &id007 !ruby/object:Gem::Requirement
|
121
121
|
none: false
|
122
122
|
requirements:
|
123
|
-
- - "
|
123
|
+
- - "="
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
hash:
|
125
|
+
hash: 21
|
126
126
|
segments:
|
127
127
|
- 1
|
128
|
-
-
|
129
|
-
-
|
130
|
-
version: 1.
|
128
|
+
- 2
|
129
|
+
- 5
|
130
|
+
version: 1.2.5
|
131
131
|
type: :runtime
|
132
132
|
version_requirements: *id007
|
133
133
|
- !ruby/object:Gem::Dependency
|