snmp 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  require 'snmp'
2
- require 'test/unit'
2
+ require 'minitest/autorun'
3
3
  require 'yaml'
4
4
 
5
5
  include SNMP
@@ -65,7 +65,7 @@ class YamlDataTransport
65
65
  end
66
66
  end
67
67
 
68
- class TestTransport < Test::Unit::TestCase
68
+ class TestTransport < MiniTest::Unit::TestCase
69
69
 
70
70
  def test_get
71
71
  YamlDataTransport.load_data(File.dirname(__FILE__) + "/if_table6.yaml")
@@ -85,7 +85,7 @@ class TestTransport < Test::Unit::TestCase
85
85
 
86
86
  end
87
87
 
88
- class TestWalk < Test::Unit::TestCase
88
+ class TestWalk < MiniTest::Unit::TestCase
89
89
 
90
90
  ##
91
91
  # A single string or single ObjectId can be passed to walk()
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
5
- prerelease:
4
+ version: 1.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dave Halliday
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-13 00:00:00.000000000 Z
11
+ date: 2014-07-15 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: A Ruby implementation of SNMP (the Simple Network Management Protocol).
15
14
  email: hallidave@gmail.com
@@ -18,35 +17,8 @@ extensions: []
18
17
  extra_rdoc_files:
19
18
  - README.rdoc
20
19
  files:
21
- - Rakefile
22
20
  - README.rdoc
23
- - lib/snmp/agent.rb
24
- - lib/snmp/ber.rb
25
- - lib/snmp/manager.rb
26
- - lib/snmp/mib.rb
27
- - lib/snmp/options.rb
28
- - lib/snmp/pdu.rb
29
- - lib/snmp/varbind.rb
30
- - lib/snmp/version.rb
31
- - lib/snmp.rb
32
- - test/test_ber.rb
33
- - test/test_manager.rb
34
- - test/test_mib.rb
35
- - test/test_pdu.rb
36
- - test/test_retry.rb
37
- - test/test_smi.rb
38
- - test/test_varbind.rb
39
- - test/test_walk.rb
40
- - test/if_table1.yaml
41
- - test/if_table6.yaml
42
- - examples/datetime.rb
43
- - examples/dump.rb
44
- - examples/get.rb
45
- - examples/iftable.rb
46
- - examples/link_down.rb
47
- - examples/log_traps.rb
48
- - examples/set.rb
49
- - examples/walk.rb
21
+ - Rakefile
50
22
  - data/ruby/snmp/mibs/ACCOUNTING-CONTROL-MIB.yaml
51
23
  - data/ruby/snmp/mibs/ADSL-LINE-EXT-MIB.yaml
52
24
  - data/ruby/snmp/mibs/ADSL-LINE-MIB.yaml
@@ -122,13 +94,13 @@ files:
122
94
  - data/ruby/snmp/mibs/FCIP-MGMT-MIB.yaml
123
95
  - data/ruby/snmp/mibs/FDDI-SMT73-MIB.yaml
124
96
  - data/ruby/snmp/mibs/FIBRE-CHANNEL-FE-MIB.yaml
125
- - data/ruby/snmp/mibs/Finisher-MIB.yaml
126
97
  - data/ruby/snmp/mibs/FLOW-METER-MIB.yaml
127
98
  - data/ruby/snmp/mibs/FR-ATM-PVC-SERVICE-IWF-MIB.yaml
128
99
  - data/ruby/snmp/mibs/FR-MFR-MIB.yaml
129
100
  - data/ruby/snmp/mibs/FRAME-RELAY-DTE-MIB.yaml
130
101
  - data/ruby/snmp/mibs/FRNETSERV-MIB.yaml
131
102
  - data/ruby/snmp/mibs/FRSLD-MIB.yaml
103
+ - data/ruby/snmp/mibs/Finisher-MIB.yaml
132
104
  - data/ruby/snmp/mibs/GMPLS-LABEL-STD-MIB.yaml
133
105
  - data/ruby/snmp/mibs/GMPLS-LSR-STD-MIB.yaml
134
106
  - data/ruby/snmp/mibs/GMPLS-TC-STD-MIB.yaml
@@ -183,7 +155,6 @@ files:
183
155
  - data/ruby/snmp/mibs/MIOX25-MIB.yaml
184
156
  - data/ruby/snmp/mibs/MIP-MIB.yaml
185
157
  - data/ruby/snmp/mibs/MOBILEIPV6-MIB.yaml
186
- - data/ruby/snmp/mibs/Modem-MIB.yaml
187
158
  - data/ruby/snmp/mibs/MPLS-FTN-STD-MIB.yaml
188
159
  - data/ruby/snmp/mibs/MPLS-L3VPN-STD-MIB.yaml
189
160
  - data/ruby/snmp/mibs/MPLS-LC-ATM-STD-MIB.yaml
@@ -197,6 +168,7 @@ files:
197
168
  - data/ruby/snmp/mibs/MPLS-TE-STD-MIB.yaml
198
169
  - data/ruby/snmp/mibs/MSDP-MIB.yaml
199
170
  - data/ruby/snmp/mibs/MTA-MIB.yaml
171
+ - data/ruby/snmp/mibs/Modem-MIB.yaml
200
172
  - data/ruby/snmp/mibs/NAT-MIB.yaml
201
173
  - data/ruby/snmp/mibs/NETWORK-SERVICES-MIB.yaml
202
174
  - data/ruby/snmp/mibs/NHRP-MIB.yaml
@@ -206,7 +178,6 @@ files:
206
178
  - data/ruby/snmp/mibs/OSPF-TRAP-MIB.yaml
207
179
  - data/ruby/snmp/mibs/P-BRIDGE-MIB.yaml
208
180
  - data/ruby/snmp/mibs/PARALLEL-MIB.yaml
209
- - data/ruby/snmp/mibs/PerfHist-TC-MIB.yaml
210
181
  - data/ruby/snmp/mibs/PIM-MIB.yaml
211
182
  - data/ruby/snmp/mibs/PIM-STD-MIB.yaml
212
183
  - data/ruby/snmp/mibs/PINT-MIB.yaml
@@ -218,8 +189,9 @@ files:
218
189
  - data/ruby/snmp/mibs/PPP-IP-NCP-MIB.yaml
219
190
  - data/ruby/snmp/mibs/PPP-LCP-MIB.yaml
220
191
  - data/ruby/snmp/mibs/PPP-SEC-MIB.yaml
221
- - data/ruby/snmp/mibs/Printer-MIB.yaml
222
192
  - data/ruby/snmp/mibs/PTOPO-MIB.yaml
193
+ - data/ruby/snmp/mibs/PerfHist-TC-MIB.yaml
194
+ - data/ruby/snmp/mibs/Printer-MIB.yaml
223
195
  - data/ruby/snmp/mibs/Q-BRIDGE-MIB.yaml
224
196
  - data/ruby/snmp/mibs/RADIUS-ACC-CLIENT-MIB.yaml
225
197
  - data/ruby/snmp/mibs/RADIUS-ACC-SERVER-MIB.yaml
@@ -306,6 +278,7 @@ files:
306
278
  - data/ruby/snmp/mibs/TRIP-MIB.yaml
307
279
  - data/ruby/snmp/mibs/TRIP-TC-MIB.yaml
308
280
  - data/ruby/snmp/mibs/TUNNEL-MIB.yaml
281
+ - data/ruby/snmp/mibs/UCD-SNMP-MIB.yaml
309
282
  - data/ruby/snmp/mibs/UDP-MIB.yaml
310
283
  - data/ruby/snmp/mibs/UDPLITE-MIB.yaml
311
284
  - data/ruby/snmp/mibs/UPS-MIB.yaml
@@ -316,32 +289,58 @@ files:
316
289
  - data/ruby/snmp/mibs/VPN-TC-STD-MIB.yaml
317
290
  - data/ruby/snmp/mibs/VRRP-MIB.yaml
318
291
  - data/ruby/snmp/mibs/WWW-MIB.yaml
292
+ - examples/datetime.rb
293
+ - examples/dump.rb
294
+ - examples/get.rb
295
+ - examples/iftable.rb
296
+ - examples/link_down.rb
297
+ - examples/log_traps.rb
298
+ - examples/set.rb
299
+ - examples/walk.rb
300
+ - lib/snmp.rb
301
+ - lib/snmp/agent.rb
302
+ - lib/snmp/ber.rb
303
+ - lib/snmp/manager.rb
304
+ - lib/snmp/mib.rb
305
+ - lib/snmp/options.rb
306
+ - lib/snmp/pdu.rb
307
+ - lib/snmp/varbind.rb
308
+ - lib/snmp/version.rb
309
+ - test/if_table1.yaml
310
+ - test/if_table6.yaml
311
+ - test/test_ber.rb
312
+ - test/test_manager.rb
313
+ - test/test_mib.rb
314
+ - test/test_pdu.rb
315
+ - test/test_retry.rb
316
+ - test/test_smi.rb
317
+ - test/test_varbind.rb
318
+ - test/test_walk.rb
319
319
  homepage: http://snmplib.rubyforge.org
320
320
  licenses: []
321
+ metadata: {}
321
322
  post_install_message:
322
323
  rdoc_options:
323
- - --main
324
+ - "--main"
324
325
  - README.rdoc
325
- - --title
326
+ - "--title"
326
327
  - SNMP Library for Ruby
327
328
  require_paths:
328
329
  - lib
329
330
  required_ruby_version: !ruby/object:Gem::Requirement
330
- none: false
331
331
  requirements:
332
- - - ! '>='
332
+ - - ">="
333
333
  - !ruby/object:Gem::Version
334
334
  version: '0'
335
335
  required_rubygems_version: !ruby/object:Gem::Requirement
336
- none: false
337
336
  requirements:
338
- - - ! '>='
337
+ - - ">="
339
338
  - !ruby/object:Gem::Version
340
339
  version: '0'
341
340
  requirements: []
342
341
  rubyforge_project: snmplib
343
- rubygems_version: 1.8.23
342
+ rubygems_version: 2.2.2
344
343
  signing_key:
345
- specification_version: 3
344
+ specification_version: 4
346
345
  summary: A Ruby implementation of SNMP (the Simple Network Management Protocol).
347
346
  test_files: []