netsnmp 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/netsnmp/varbind.rb +3 -1
- data/lib/netsnmp/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63503f340ea989e7ea9f123bbb49901852322145256fe06ce44c0244dfeb9300
|
4
|
+
data.tar.gz: f3981e9e148338f926428324836436c40ed38e4c84143a10ad0541052d302506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0b078e30151385ab01d3825431debe83531cf70089536538a372574b3ee40deef8b53c99673a774553b3afed903b3773af2db57a782dffec7a403373cfeb06e
|
7
|
+
data.tar.gz: ed3b9b066c6330e1bc4f9367e1c05bcd14f93c9874a492295cac1df29f1e48079aa76225fe16fb35bc7b975a0c66a5208fea0395715603e932dd8d80b5b6cd0c
|
data/lib/netsnmp/varbind.rb
CHANGED
@@ -118,7 +118,9 @@ module NETSNMP
|
|
118
118
|
val.prepend("\x00") while val.bytesize < 4
|
119
119
|
val.unpack("N*")[0] || 0
|
120
120
|
when 3 # timeticks
|
121
|
-
|
121
|
+
val = asn.value
|
122
|
+
val.prepend("\x00") while val.bytesize < 4
|
123
|
+
Timetick.new(val.unpack("N*")[0] || 0)
|
122
124
|
# when 4 # opaque
|
123
125
|
# when 5 # NSAP
|
124
126
|
when 6 # ASN Counter 64
|
data/lib/netsnmp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netsnmp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiago Cardoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements:
|
144
144
|
- net-snmp
|
145
|
-
rubygems_version: 3.0.
|
145
|
+
rubygems_version: 3.0.6
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: SNMP Client library
|