mool 3.0.4 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA512:
3
- data.tar.gz: 07ff4c8a4b049899c63d5b69b5a2003191daae26be016d20bd15099fe6709decf235035b68405d92ad1b7e6a3f098e08b9e704c13e81cc4c34dbd84ba5a0e836
4
- metadata.gz: f9c76443f9f84d2aa5f32f874ffab89f8948bd57e21d4b3d50bb23148c772134b9c7b65b366b4988d557aa422f8f69397d21ebe233ce73e837d68c01805df97f
5
2
  SHA1:
6
- data.tar.gz: 668b7d3e2c182767a145970cd38ff1894a1eb55b
7
- metadata.gz: e4a8dba4cee2e87cb154eb99106e459f73044880
3
+ metadata.gz: 3b461e0aedab1998e9c0442875e2099805d2463f
4
+ data.tar.gz: c63a8eb327e217acadcbb4bb8b02a4be99790361
5
+ SHA512:
6
+ metadata.gz: 71261616439867bc8d6f45c6f6068576e4e04f6cea3bc15cb3427c052302c829e2eafd34cf4dd072fce3652859f0ac43b60604c839bf4c4a837a741a471c79d4
7
+ data.tar.gz: c0edc7c72bbf5c11d1fa02f002dea11c82580cb5b3eb2aa21b3f9f9bf862c7be64e7a3f2f3df44bf5bf5d2635b1e5864501774835dfc3f806a72a21c44869d79
data/lib/mool/cpu.rb CHANGED
@@ -23,7 +23,8 @@ module Mool
23
23
  unless result.include?(process_number.to_s)
24
24
  raise "Cpu name incorrect!. Posible values: #{result.join(', ')}"
25
25
  end
26
- result = opt.empty? ? Mool::Command.cpuinfo[process_number.to_s] : opt
26
+
27
+ result = opt.empty? ? Mool::Cpu.cpuinfo[process_number.to_s] : opt
27
28
  @cpu_name = "cpu_#{process_number}"
28
29
  @id = process_number
29
30
  @model_name = result['model_name']
data/lib/mool/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mool
2
- VERSION = "3.0.4"
2
+ VERSION = "3.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mool
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - g.edera
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
 
12
- date: 2018-04-03 00:00:00 Z
12
+ date: 2018-04-04 00:00:00 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler