vidibus-sysinfo 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,8 +14,8 @@ module Vidibus
14
14
  end
15
15
 
16
16
  def parse(output)
17
- cores = output[/Core\(s\) per socket:\s+(\d+)/, 1]
18
- sockets = output[/Socket\(s\):\s+(\d+)/, 1]
17
+ cores = output[/Core\(s\) per socket:\s+(\d+)/i, 1]
18
+ sockets = output[/Socket\(s\):\s+(\d+)/i, 1]
19
19
  if cores && sockets
20
20
  cores.to_i * sockets.to_i
21
21
  end
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Sysinfo
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-sysinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  segments:
145
145
  - 0
146
- hash: -4146470171620647197
146
+ hash: -414035484912396816
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  none: false
149
149
  requirements: