snmp4em 1.1.2 → 1.1.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: b26a2a307dbacd67368b48ecaf9c6d50d005672d
4
- data.tar.gz: 1e2da034ba32d2e4d9194bef49e859be2d62a62b
3
+ metadata.gz: 1955066c04f373cf5828dc6076fe1256c635011f
4
+ data.tar.gz: 374a3a46cf7ea13d6973c1fc0bddf64a12af6223
5
5
  SHA512:
6
- metadata.gz: ce222fc3b8760d6695613d271dd855c7072cc1bd5dc2e0bc2c2cc3c284cc793202015e5dca3fe49a453559946b816707e99dcd150e6a90814e9157ee67700969
7
- data.tar.gz: 88da44e7d82e3be6ba937e9653df02dd6b3b686184d3c35c2461fb1915fa6d3f1009b5fd09ae838f32412a5f98d5e982a22c56cd94722f16101fb5382b13e3b0
6
+ metadata.gz: 0d0d467ffd508856d6f2b7b4f59b145d6ee5b24d36bbed5db74294805b2e2cb40d819335fde0fb6eed86ebfe3cb148a9aec30a3d4b8e490cac13210f89a5eb1c
7
+ data.tar.gz: 4b340e00d523c38e18f1345fb1b369d2136921e343770dbf0e800a7dfa987912b45f80fc60f0c739211c182bb345d9a5d6ea7165b1955e9c9eba22fa705d985a
data/README.rdoc CHANGED
@@ -227,6 +227,10 @@ For example:
227
227
 
228
228
  == Change Log
229
229
 
230
+ Version 1.1.2:
231
+
232
+ * Changed timeout error handling. We now raise a SNMP::RequestTimeout instead of a StandardError.
233
+
230
234
  Version 1.1.0:
231
235
 
232
236
  * Fiber support
@@ -33,7 +33,7 @@ module SNMP4EM
33
33
 
34
34
  next unless oid[:state] == :pending
35
35
 
36
- if response_vb.value == SNMP::EndOfMibView
36
+ if SNMP::EndOfMibView == response_vb.value
37
37
  oid[:state] = :complete
38
38
 
39
39
  elsif ! response_oid.subtree_of?(oid[:requested_oid])
@@ -26,7 +26,7 @@ module SNMP4EM
26
26
  pending_oids.zip(response.varbind_list).each do |oid, response_vb|
27
27
  response_oid = response_vb.name
28
28
 
29
- if response_vb.value == SNMP::EndOfMibView
29
+ if SNMP::EndOfMibView == response_vb.value
30
30
  # For SNMPv2, this indicates we've reached the end of the MIB
31
31
  oid[:state] = :complete
32
32
  elsif ! response_oid.subtree_of?(oid[:requested_oid])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snmp4em
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Norman Elton
@@ -122,9 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '1.2'
123
123
  requirements: []
124
124
  rubyforge_project: snmp4em
125
- rubygems_version: 2.4.3
125
+ rubygems_version: 2.5.1
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: A high-performance SNMP engine built on EventMachine and Ruby-SNMP
129
129
  test_files: []
130
- has_rdoc: