testbot 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,6 +1,6 @@
1
- 0.4.1
1
+ 0.4.2
2
2
 
3
- Added support for quicker and more automated updates when developing testbot.
3
+ Added support for quick deploys when developing testbot.
4
4
 
5
5
  0.4.0
6
6
 
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.4.1'
71
+ ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.4.2'
72
72
  script/generate testbot --connect 192.168.0.100
73
73
 
74
74
  rake testbot:spec (or :test, :features)
data/lib/runner.rb CHANGED
@@ -193,7 +193,7 @@ class Runner
193
193
  return unless version != Testbot.version
194
194
 
195
195
  if version.include?(".DEV.")
196
- successful_install = system "gem install #{@config.dev_gem_root}/testbot-#{version}.gem"
196
+ successful_install = system "wget #{@config.dev_gem_root}/testbot-#{version}.gem && gem install testbot-#{version}.gem && rm testbot-#{version}.gem"
197
197
  else
198
198
  successful_install = system "gem install testbot -v #{version}"
199
199
  end
data/lib/testbot.rb CHANGED
@@ -9,8 +9,11 @@ unless defined?(Testbot)
9
9
 
10
10
  # Don't forget to update readme and changelog
11
11
  def self.version
12
- version = "0.4.1"
13
- version += ".DEV.#{Time.now.to_i}" if ENV['TESTBOT_DEV_DEPLOY']
12
+ version = "0.4.2"
13
+ dev_version_file = File.join(File.dirname(__FILE__), '..', 'DEV_VERSION')
14
+ if File.exists?(dev_version_file)
15
+ version += File.read(dev_version_file)
16
+ end
14
17
  version
15
18
  end
16
19
 
data/testbot.gemspec CHANGED
@@ -12,7 +12,8 @@ Gem::Specification.new do |s|
12
12
  s.description = %q{Testbot is a test distribution tool that works with Rails, RSpec, Test::Unit and Cucumber.}
13
13
  s.bindir = "bin"
14
14
  s.executables = [ "testbot" ]
15
- s.files = Dir.glob("lib/**/*") + %w(Gemfile testbot.gemspec CHANGELOG README.markdown bin/testbot)
15
+ s.files = Dir.glob("lib/**/*") + %w(Gemfile testbot.gemspec CHANGELOG README.markdown bin/testbot) +
16
+ (File.exists?("DEV_VERSION") ? [ "DEV_VERSION" ] : [])
16
17
  s.add_dependency('sinatra', '=1.0.0') # To be able to use rack 1.0.1 which is compatible with rails 2.
17
18
  s.add_dependency('httparty', '>= 0.6.1')
18
19
  s.add_dependency('macaddr', '>= 1.0.0')
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: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"