rails_pwnerer 0.6.70 → 0.6.71
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/rails_pwnerer/base/cpus.rb +3 -3
- data/rails_pwnerer.gemspec +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -52,9 +52,9 @@ module RailsPwnerer::Base
|
|
52
52
|
cpus << {
|
53
53
|
:freq => p.cpu_mhz.to_f,
|
54
54
|
:id => p.processor.to_i,
|
55
|
-
:cpu => p.respond_to?(:physical_id) ? p.physical_id.to_i : 0,
|
56
|
-
:core => p.respond_to?(:core_id) ? p.core_id.to_i : 0,
|
57
|
-
:num_cores => p.cpu_cores.to_i
|
55
|
+
:cpu => (p.respond_to?(:physical_id) ? p.physical_id.to_i : 0),
|
56
|
+
:core => (p.respond_to?(:core_id) ? p.core_id.to_i : 0),
|
57
|
+
:num_cores => (p.respond_to?(:cpu_cores) ? p.cpu_cores.to_i : 1)
|
58
58
|
}
|
59
59
|
end
|
60
60
|
return cpus
|
data/rails_pwnerer.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_pwnerer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 137
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 71
|
10
|
+
version: 0.6.71
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Costan
|