snmp-open 0.6.1 → 0.7.0

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: 2778b6bac09136b98ff5bfcdf5313f470d8468d556353f4e5466479624291383
4
- data.tar.gz: b2f2a13ad5ad75e79116e33e63f2462e768b5850887180e9b94e1ff369c17bac
3
+ metadata.gz: b13230f5561531372236208bfe42c5a0d44ef032d8075316fd02bf78ec7e78b3
4
+ data.tar.gz: 2fc93d9967c5fc37918b7f371147e14f9942d356699a02e4ce46b06763bfceb0
5
5
  SHA512:
6
- metadata.gz: f61f7cbd63437b97d260e8bee251cfe45ca02a706564de5ae293859c5ab8feb80c253fdd67ba0fe93fd78b1df49370adca9a12cecac6b545456efdeccf8f4553
7
- data.tar.gz: 816aba2a56ded47b4dadbe0fee21e339bfa423bd76bc6a4e1a2e5979dfc2048fa62124c23447e4d7144d6da06f153b48b04ff3374b5647fd05d0d94a9e8d8ba7
6
+ metadata.gz: b3678f4b2e04b9f5a3a45edd3273d8ecfecb8a7a2bc4d92568b9644c6192e8e5fbeb8b902f0bf53d5c42b184f1402359a6daf8ea9f9923c1331b22b914fc0a54
7
+ data.tar.gz: 19a0f2e47cb585f3a1aaab331c3a97bbec05d3e57ce8ec76e17f5c1dc48f96a5b68cbb0b9d8b7b648490cbfbeed0dd1f2810381574286bd5135bddc9eac2d5bc
@@ -12,8 +12,10 @@ module SNMP
12
12
  'snmpbulkwalk' => '-Cc',
13
13
  'snmpwalk' => '-Cc'
14
14
  },
15
+ no_mib_name: '-Os',
15
16
  no_units: '-OU',
16
17
  non_symbolic: '-Oe',
18
+ non_symbolic_table_indexes: '-Ob',
17
19
  numeric: '-On',
18
20
  priv_password: '-X', # not recommended, see snmp.conf(5)
19
21
  priv_protocol: '-x',
@@ -24,9 +26,11 @@ module SNMP
24
26
  host: nil
25
27
  }.freeze
26
28
 
27
- # On some systems, SNMP command outputs will include symbolic values
28
- # and/or value units. The parser doesn't support these, so disable them.
29
+ # On some systems, SNMP command outputs will include symbolic values,
30
+ # table indexes, and/or value units. The parser doesn't support these, so
31
+ # disable them.
29
32
  REQUIRED_BY_PARSER = {
33
+ '-Ob' => nil,
30
34
  '-Oe' => nil,
31
35
  '-OU' => nil
32
36
  }.freeze
@@ -1,5 +1,5 @@
1
1
  module SNMP
2
2
  class Open
3
- VERSION = '0.6.1'.freeze
3
+ VERSION = '0.7.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snmp-open
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Miller
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-19 00:00:00.000000000 Z
11
+ date: 2022-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -114,7 +114,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubygems_version: 3.1.2
117
+ rubyforge_project:
118
+ rubygems_version: 2.7.6.2
118
119
  signing_key:
119
120
  specification_version: 4
120
121
  summary: Wrapper for command-line SNMP utilities