testbot 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.3.1
2
+
3
+ Fixed loading issue in rails 2, testbot depended on having rails installed as a gem.
4
+
1
5
  0.3.0
2
6
 
3
7
  Made testbot into a gem. Simplified the design. Added a CLI. Removed git support.
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.3.0'
71
+ ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.3.1'
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/railtie.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require 'testbot'
2
- require 'rails'
3
-
4
- module Testbot
5
- class Railtie < Rails::Railtie
6
- rake_tasks do
7
- load File.expand_path(File.join(File.dirname(__FILE__), "tasks/testbot.rake"))
2
+ if require('rails') rescue nil
3
+ module Testbot
4
+ class Railtie < Rails::Railtie
5
+ rake_tasks do
6
+ load File.expand_path(File.join(File.dirname(__FILE__), "tasks/testbot.rake"))
7
+ end
8
8
  end
9
9
  end
10
10
  end
data/lib/testbot.rb CHANGED
@@ -6,7 +6,7 @@ module Testbot
6
6
  require 'railtie' if defined?(Rails)
7
7
 
8
8
  # Don't forget to update readme and changelog
9
- VERSION = "0.3.0"
9
+ VERSION = "0.3.1"
10
10
 
11
11
  SERVER_PID = "/tmp/testbot_server.pid"
12
12
  RUNNER_PID = "/tmp/testbot_runner.pid"
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"