sysresources 0.2.2 → 0.2.3

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
2
  SHA1:
3
- metadata.gz: bdb639ec15359801f17b4120baa37f96bb2c8c5a
4
- data.tar.gz: 3558cb61973b32c7ffce73386af9dc41a904df9c
3
+ metadata.gz: 853c1148360f867a15377cd393f1cb2135c09a5d
4
+ data.tar.gz: e60aba3471d498d1fb1c8bda611383998155c610
5
5
  SHA512:
6
- metadata.gz: 8d3fc55d1e9cf2bcebde3197ea6e23d4bebfa9a7b17096432f2529fd8f16ce039e7b166f32a37919c1fca4c3580b638619f69972ef0a8f2555c2da7c3bb1ae80
7
- data.tar.gz: b55420b73be1d42920f71341ed12233a8a427cbaf1de2ce15012c44bdf491c4c265cd4aa68a53b7473dde035c7a6d09cd67ab5e43459c623ae106a69b8137a82
6
+ metadata.gz: c31a1a33708ab6bc3fe1dfbe205368b64914c60e4d52ab68c615995ad6a90bdb93b70d2c6f487d8f057b0c672030eebcb9b104209d1736ffb04eb9485b861ed6
7
+ data.tar.gz: e3a132c3dc00564b05843fff22b38680d2700888b24bd8cc406cf662c433eb34ace037806314788781341e729077e821eba539e83b20f3e358911be3c575d61e
data/lib/sysresources.rb CHANGED
@@ -57,7 +57,7 @@ module Sysresources
57
57
  # get cpu cores #
58
58
  def cores
59
59
  raw = Sys::CPU.processors
60
- cnt = raw[0]['cpu_coresn']
60
+ cnt = raw[0]['cpu_cores']
61
61
  return cnt.to_i
62
62
  end
63
63
 
@@ -1,3 +1,3 @@
1
1
  module Sysresources
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Sysresources
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sysresources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmcbride1