GICodeWarrior-threaded-rspec 0.2.0 → 0.3.0

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
@@ -1,17 +1,17 @@
1
1
  module ThreadedRspec
2
2
  class ExampleGroupRunner < Spec::Runner::ExampleGroupRunner
3
- def initialize(options)
3
+ def initialize(options, thread_count)
4
4
  super(options)
5
5
  @options = options
6
- @thread_count = 1
6
+ @thread_count = thread_count.to_i
7
7
 
8
- parser = OptionParser.new do |p|
9
- p.on('--thread-count N', Integer,
10
- 'Number of concurrent threads.') do |n|
11
- @thread_count = n
12
- end
13
- end
14
- parser.parse!(options.argv)
8
+ # parser = OptionParser.new do |p|
9
+ # p.on('--thread-count N', Integer,
10
+ # 'Number of concurrent threads.') do |n|
11
+ # @thread_count = n
12
+ # end
13
+ # end
14
+ # parser.parse!(options.argv)
15
15
  end
16
16
 
17
17
  def run
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{threaded-rspec}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Rusty Burchfield"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GICodeWarrior-threaded-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rusty Burchfield
@@ -45,6 +45,7 @@ files:
45
45
  - threaded-rspec.gemspec
46
46
  has_rdoc: false
47
47
  homepage: http://github.com/GICodeWarrior/threaded-rspec
48
+ licenses:
48
49
  post_install_message:
49
50
  rdoc_options:
50
51
  - --charset=UTF-8
@@ -65,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
66
  requirements: []
66
67
 
67
68
  rubyforge_project:
68
- rubygems_version: 1.2.0
69
+ rubygems_version: 1.3.5
69
70
  signing_key:
70
71
  specification_version: 3
71
72
  summary: Threaded rspec runner