parallel 0.5.5 → 0.5.6

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.
Files changed (5) hide show
  1. data/Readme.md +1 -0
  2. data/VERSION +1 -1
  3. data/lib/parallel.rb +2 -2
  4. data/parallel.gemspec +2 -2
  5. metadata +4 -4
data/Readme.md CHANGED
@@ -58,6 +58,7 @@ Authors
58
58
  - [Nick Gauthier](http://www.ngauthier.com)
59
59
  - [Andrew Bowerman](http://andrewbowerman.com)
60
60
  - [Byron Bowerman](http://me.bm5k.com/)
61
+ - [Mikko Kokkonen](https://github.com/mikian)
61
62
 
62
63
  [Michael Grosser](http://grosser.it)<br/>
63
64
  michael@grosser.it<br/>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.5
1
+ 0.5.6
data/lib/parallel.rb CHANGED
@@ -73,8 +73,8 @@ class Parallel
73
73
  when /mswin|mingw/
74
74
  require 'win32ole'
75
75
  wmi = WIN32OLE.connect("winmgmts://")
76
- cpu = wmi.ExecQuery("select NumberOfCores from Win32_Processor") # TODO count hyper-threaded in this
77
- cpu.to_enum.first.NumberOfCores
76
+ cpu = wmi.ExecQuery("select NumberOfLogicalProcessors from Win32_Processor")
77
+ cpu.to_enum.first.NumberOfLogicalProcessors
78
78
  end
79
79
  end
80
80
 
data/parallel.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{parallel}
8
- s.version = "0.5.5"
8
+ s.version = "0.5.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2011-06-03}
12
+ s.date = %q{2011-08-05}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.files = [
15
15
  "Gemfile",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 5
10
- version: 0.5.5
9
+ - 6
10
+ version: 0.5.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Grosser
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-03 00:00:00 +02:00
18
+ date: 2011-08-05 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21