parallel 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,10 +44,11 @@ TODO
44
44
  Authors
45
45
  =======
46
46
 
47
- ###Contributors (alphabetical)
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.2
1
+ 0.4.3
@@ -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
@@ -5,18 +5,15 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{parallel}
8
- s.version = "0.4.2"
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-05-11}
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
- "README.markdown",
19
- "Rakefile",
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
- - 2
9
- version: 0.4.2
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-05-11 00:00:00 +02:00
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
- - README.markdown
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