perus 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6292b82a1b79e8a769b29604878ff21b52f47481b6431b0068ed37cb561105e4
4
- data.tar.gz: 705ee99f8be8a0bbd42e64e1977384a5fff1d3a8829fed429fb54793338f5cd9
3
+ metadata.gz: 87caae4df623f78890eefdc0a6c7776d46f4a35e2695dea857b3d4259c42dfc5
4
+ data.tar.gz: ff775d43d444a779d0f432252066eada54ae194d638a328abe030e9a96c0a153
5
5
  SHA512:
6
- metadata.gz: fcd3c9c3c95dfee66c271b45460190a6d55640448a8812497d3ef952b4cd6d900bd8c1af6c7e7711f543fd8d61302126395cc66543710a9748985024c2d5332d
7
- data.tar.gz: c9e49fa6b5c719fa2792d3fcd755484e1e71ca4065f2b66f23ff3c737453c8ef83c8ace5c0c559337639dfca7e83767a6c2824de2c90294c5534c7af952b3436
6
+ metadata.gz: 822f821316098ac6bca1db36bffa87b6fa3f7d23080c686cecfb29c126d792dd046a7c19f54ecb6a849291dce9809708d167bf24956c4fe05155e09b70cb3a03
7
+ data.tar.gz: 8eb3e6df3782997f0db6a6cc0ef20f3e2fad11bf75867f9c2c34b0f7918946713e8cda597dc844261d1da7bd1917c606ef1a8e95d43c5a04d4ca96b8356e330c
@@ -8,7 +8,7 @@ module Perus
8
8
 
9
9
  def load(path, defaults)
10
10
  if File.exists?(path)
11
- user_options = IniParse.parse(IO.read(path)).to_h
11
+ user_options = IniParse.parse(IO.read(path))
12
12
  else
13
13
  user_options = {}
14
14
  end
@@ -26,7 +26,7 @@ module Perus::Pinger
26
26
 
27
27
  if restricted
28
28
  allowed = Pinger.options[@command.name.demodulize][@name.to_s]
29
- raise "the value passed to #{@name} is not allowed" unless allowed.include?(value)
29
+ raise "the value, #{value}, passed to #{@name} is not allowed" unless allowed.include?(value)
30
30
  end
31
31
 
32
32
  results[name] = value
@@ -2,7 +2,7 @@ module Perus::Pinger
2
2
  class Temp < Command
3
3
  description 'Measures the temperature of "device" on the client. By
4
4
  default, this will be a CPU.'
5
- option :device, default: 'Physical id 0'
5
+ option :device, default: 'Package id 0'
6
6
  metric!
7
7
 
8
8
  def run
@@ -1,3 +1,3 @@
1
1
  module Perus
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Cannings
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-20 00:00:00.000000000 Z
11
+ date: 2020-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -192,7 +192,7 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0.10'
195
- description:
195
+ description:
196
196
  email:
197
197
  - me@willcannings.com
198
198
  executables:
@@ -333,7 +333,7 @@ homepage: https://github.com/cotag/perus
333
333
  licenses:
334
334
  - MIT
335
335
  metadata: {}
336
- post_install_message:
336
+ post_install_message:
337
337
  rdoc_options: []
338
338
  require_paths:
339
339
  - lib
@@ -348,8 +348,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
348
348
  - !ruby/object:Gem::Version
349
349
  version: '0'
350
350
  requirements: []
351
- rubygems_version: 3.0.3
352
- signing_key:
351
+ rubyforge_project:
352
+ rubygems_version: 2.7.7
353
+ signing_key:
353
354
  specification_version: 4
354
355
  summary: Simple system overview server
355
356
  test_files: []