picky 3.1.5 → 3.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/picky/cores.rb +1 -1
- metadata +4 -4
data/lib/picky/cores.rb
CHANGED
@@ -94,7 +94,7 @@ module Picky
|
|
94
94
|
# os_name => lambda_which_returns_a_number_of_cores
|
95
95
|
#
|
96
96
|
@@number_of_cores = {
|
97
|
-
'darwin' => lambda { `system_profiler SPHardwareDataType | grep -i 'Total Number
|
97
|
+
'darwin' => lambda { `system_profiler SPHardwareDataType | grep -i 'Total Number [oO]f Cores'`.gsub(/[^\d]/, '') },
|
98
98
|
'linux' => lambda { `grep -ci ^processor /proc/cpuinfo` }
|
99
99
|
}
|
100
100
|
def self.os_to_core_mapping
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: picky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 3.1.
|
5
|
+
version: 3.1.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Florian Hanke
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-16 00:00:00 +02:00
|
14
14
|
default_executable: picky
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 3.1.
|
35
|
+
version: 3.1.6
|
36
36
|
type: :development
|
37
37
|
version_requirements: *id002
|
38
38
|
description: Fast Ruby semantic text search engine with comfortable single field interface.
|
@@ -289,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
289
|
requirements: []
|
290
290
|
|
291
291
|
rubyforge_project: http://rubyforge.org/projects/picky
|
292
|
-
rubygems_version: 1.
|
292
|
+
rubygems_version: 1.5.0
|
293
293
|
signing_key:
|
294
294
|
specification_version: 3
|
295
295
|
summary: "Picky: Semantic Search Engine. Clever Interface. Good Tools."
|