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.
- data/Readme.md +1 -0
- data/VERSION +1 -1
- data/lib/parallel.rb +2 -2
- data/parallel.gemspec +2 -2
- 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.
|
|
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
|
|
77
|
-
cpu.to_enum.first.
|
|
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.
|
|
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-
|
|
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:
|
|
4
|
+
hash: 7
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.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-
|
|
18
|
+
date: 2011-08-05 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|