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 CHANGED
@@ -1,3 +1,5 @@
1
+ v0.6.71. Bugfix 2 for CPU enumeration in VM.
2
+
1
3
  v0.6.70. Bugfix for CPU enumeration in VM.
2
4
 
3
5
  v0.6.69. More tweaks in the debian package list.
@@ -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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rails_pwnerer}
5
- s.version = "0.6.70"
5
+ s.version = "0.6.71"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Victor Costan"]
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: 139
4
+ hash: 137
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 70
10
- version: 0.6.70
9
+ - 71
10
+ version: 0.6.71
11
11
  platform: ruby
12
12
  authors:
13
13
  - Victor Costan