testbot 0.6.0 → 0.6.1

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/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ 0.6.1
2
+
3
+ Fixed CPU core check for OSX Lion.
4
+
5
+ Updated sinatra requirement so that it's a bit less strict
6
+ (https://github.com/joakimk/testbot/pull/41).
7
+
1
8
  0.6.0
2
9
 
3
10
  Fixed bug that caused the runner to crash and block the server after checking for jobs (issue #34).
@@ -64,7 +64,7 @@ Using testbot with Rails 2:
64
64
 
65
65
  # Add testbot to your Gemfile if you use bundler. You also need the plugin because
66
66
  # Rails 2 does not load raketasks from gems.
67
- ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.6.0'
67
+ ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.6.1'
68
68
  script/generate testbot --connect 192.168.0.100
69
69
 
70
70
  rake testbot:spec (or :rspec, :test, :features)
@@ -17,7 +17,7 @@ module Testbot::Runner
17
17
  def self.count
18
18
  case RUBY_PLATFORM
19
19
  when /darwin/
20
- `hwprefs cpu_count`.to_i
20
+ `sysctl machdep.cpu.core_count | awk '{ print $2 }'`.to_i
21
21
  when /linux/
22
22
  `cat /proc/cpuinfo | grep processor | wc -l`.to_i
23
23
  end
@@ -1,7 +1,7 @@
1
1
  module Testbot
2
2
  # Don't forget to update readme and changelog
3
3
  def self.version
4
- version = "0.6.0"
4
+ version = "0.6.1"
5
5
  dev_version_file = File.join(File.dirname(__FILE__), '..', '..', 'DEV_VERSION')
6
6
  if File.exists?(dev_version_file)
7
7
  version += File.read(dev_version_file)
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.executables = [ "testbot" ]
14
14
  s.files = Dir.glob("lib/**/*") + Dir.glob("test/**/*") + %w(Gemfile .gemtest Rakefile testbot.gemspec CHANGELOG README.markdown bin/testbot) +
15
15
  (File.exists?("DEV_VERSION") ? [ "DEV_VERSION" ] : [])
16
- s.add_dependency('sinatra', '=1.0.0') # To be able to use rack 1.0.1 which is compatible with rails 2.
16
+ s.add_dependency('sinatra', '>=1.0.0')
17
17
  s.add_dependency('httparty', '>= 0.6.1')
18
18
  s.add_dependency('macaddr', '>= 1.0.0')
19
19
  s.add_dependency('net-ssh', '>= 2.0.23')
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-18 00:00:00 +02:00
18
+ date: 2012-01-24 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - "="
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  hash: 23
30
30
  segments: