parallel 0.4.2 → 0.4.3
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.markdown → Readme.md} +3 -2
- data/VERSION +1 -1
- data/lib/parallel.rb +3 -1
- data/parallel.gemspec +4 -7
- metadata +6 -6
|
@@ -44,10 +44,11 @@ TODO
|
|
|
44
44
|
Authors
|
|
45
45
|
=======
|
|
46
46
|
|
|
47
|
-
###Contributors
|
|
47
|
+
###Contributors
|
|
48
48
|
- [Przemyslaw Wroblewski](http://github.com/lowang)
|
|
49
49
|
- [TJ Holowaychuk](http://vision-media.ca/)
|
|
50
|
+
- [Masatomo Nakano](http://twitter.com/masatomo2)
|
|
50
51
|
|
|
51
52
|
[Michael Grosser](http://pragmatig.wordpress.com)
|
|
52
53
|
grosser.michael@gmail.com
|
|
53
|
-
Hereby placed under public domain, do what you want, just do not hold me accountable...
|
|
54
|
+
Hereby placed under public domain, do what you want, just do not hold me accountable...
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.3
|
data/lib/parallel.rb
CHANGED
|
@@ -80,6 +80,8 @@ class Parallel
|
|
|
80
80
|
`hwprefs cpu_count`.to_i
|
|
81
81
|
when /linux/
|
|
82
82
|
`cat /proc/cpuinfo | grep processor | wc -l`.to_i
|
|
83
|
+
when /freebsd/
|
|
84
|
+
`sysctl -n hw.ncpu`.to_i
|
|
83
85
|
end
|
|
84
86
|
end
|
|
85
87
|
|
|
@@ -163,4 +165,4 @@ class Parallel
|
|
|
163
165
|
exit 1 # Quit with 'failed' signal
|
|
164
166
|
end
|
|
165
167
|
end
|
|
166
|
-
end
|
|
168
|
+
end
|
data/parallel.gemspec
CHANGED
|
@@ -5,18 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{parallel}
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.3"
|
|
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{2010-
|
|
12
|
+
s.date = %q{2010-08-24}
|
|
13
13
|
s.email = %q{grosser.michael@gmail.com}
|
|
14
|
-
s.extra_rdoc_files = [
|
|
15
|
-
"README.markdown"
|
|
16
|
-
]
|
|
17
14
|
s.files = [
|
|
18
|
-
"
|
|
19
|
-
"
|
|
15
|
+
"Rakefile",
|
|
16
|
+
"Readme.md",
|
|
20
17
|
"VERSION",
|
|
21
18
|
"lib/parallel.rb",
|
|
22
19
|
"parallel.gemspec",
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 4
|
|
8
|
-
-
|
|
9
|
-
version: 0.4.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.4.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Michael Grosser
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-08-24 00:00:00 +02:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|
|
@@ -24,11 +24,11 @@ executables: []
|
|
|
24
24
|
|
|
25
25
|
extensions: []
|
|
26
26
|
|
|
27
|
-
extra_rdoc_files:
|
|
28
|
-
|
|
27
|
+
extra_rdoc_files: []
|
|
28
|
+
|
|
29
29
|
files:
|
|
30
|
-
- README.markdown
|
|
31
30
|
- Rakefile
|
|
31
|
+
- Readme.md
|
|
32
32
|
- VERSION
|
|
33
33
|
- lib/parallel.rb
|
|
34
34
|
- parallel.gemspec
|