jstorimer-deep-test 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jstorimer-deep-test}
8
- s.version = "1.0.0"
8
+ s.version = "1.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Josh Nichols"]
@@ -15,6 +15,11 @@ module DeepTest
15
15
  end
16
16
 
17
17
  attr_accessor *VALID_OPTIONS.map {|o| o.name}
18
+
19
+ def number_of_agents
20
+ return CpuInfo.new.count unless @number_of_agents
21
+ @number_of_agents
22
+ end
18
23
 
19
24
  def ui=(value)
20
25
  @ui = value.to_s
data/lib/deep_test.rb CHANGED
@@ -50,6 +50,7 @@ require File.dirname(__FILE__) + "/deep_test/logger"
50
50
  require File.dirname(__FILE__) + "/deep_test/marshallable_exception_wrapper"
51
51
  require File.dirname(__FILE__) + "/deep_test/null_worker_listener"
52
52
  require File.dirname(__FILE__) + "/deep_test/listener_list"
53
+ require File.dirname(__FILE__) + "/deep_test/cpu_info"
53
54
  require File.dirname(__FILE__) + "/deep_test/option"
54
55
  require File.dirname(__FILE__) + "/deep_test/options"
55
56
  require File.dirname(__FILE__) + "/deep_test/process_orchestrator"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jstorimer-deep-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Nichols