snmp 1.3.3 → 1.3.4

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: 4a21d910b05ecc503b318d54843dc706c80e8912bdab3da2635e6cfed4fa1b7b
4
- data.tar.gz: 5223e07377fc2bda06ebff57fa09022f22856fa26f596ecced8557f1c1267422
3
+ metadata.gz: fd3eb75c2a04bf19ad7b96a928a36fe089aa9e5b1b07f87ae776af5bc239d34f
4
+ data.tar.gz: 2cba106700834c637d7b4746ad82987b34966779f2b9ea49fbded2ac0ad13127
5
5
  SHA512:
6
- metadata.gz: 560062489338a74306f8d8504135bad6cc07198d1e01a940da3857b1fce54f5f50ab6fa017b674ff2ee552cd0f14ac0ebdf7b89dafa2968c3275edb5c8fa872b
7
- data.tar.gz: 696b0ce5b8858e49355011f1a7c8298838ec4cc4fa4f65fed7cdabc12a00c2ddfa26e070f29990c867a51d31b8cb0eaee297a6d75612c2d3722c8363dc54949b
6
+ metadata.gz: 815ed43cc2c143cad0d9c0df30e173a393596747986d2661cb67431fc6acce2ccfffbbd5efb6125cc451d9827c97fbe7db0e8c6530beef943e48b8a674f1579e
7
+ data.tar.gz: 7daf0908f66afe4acfa0aeaf3068b37646e8164b2f3feecd408036d0cb8be3b24d3e327cebbb5eefc02e207f4ce1ee46f420aba4cce9add011a1683b4c83aea3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## Changes for version 1.3.4:
4
+ * Add `OctetString#to_fs` for human-readable byte strings https://github.com/ruby-snmp/ruby-snmp/pull/73
5
+ * gemspec: Require MFA for gem releases https://github.com/ruby-snmp/ruby-snmp/pull/69
6
+ * gemspec: Update path for CHANGELOG link https://github.com/ruby-snmp/ruby-snmp/pull/68
7
+ * CI: Add Ruby 4.0 to CI Matrix https://github.com/ruby-snmp/ruby-snmp/pull/72
8
+ * CI: Bump actions/checkout from 5 to 6 https://github.com/ruby-snmp/ruby-snmp/pull/71
9
+ * CI: Bump actions/checkout from 4 to 5 https://github.com/ruby-snmp/ruby-snmp/pull/70
10
+
3
11
  ## Changes for version 1.3.3:
4
12
  * Move web content to GitHub Pages https://github.com/ruby-snmp/ruby-snmp/pull/66
5
13
  * Modernize project structure: README, gemspec, Rakefile, and development dependencies https://github.com/ruby-snmp/ruby-snmp/pull/65
data/lib/snmp/varbind.rb CHANGED
@@ -151,6 +151,11 @@ module SNMP
151
151
  each_byte { |b| oid << b }
152
152
  oid
153
153
  end
154
+
155
+ # Convert byte string to a formatted string
156
+ def to_fs
157
+ self.unpack1("H*")
158
+ end
154
159
  end
155
160
 
156
161
  class ObjectId < Array
data/lib/snmp/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module SNMP
3
- VERSION = "1.3.3"
3
+ VERSION = "1.3.4"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Halliday
@@ -316,7 +316,8 @@ licenses:
316
316
  metadata:
317
317
  homepage_uri: https://github.com/ruby-snmp/ruby-snmp
318
318
  source_code_uri: https://github.com/ruby-snmp/ruby-snmp
319
- changelog_uri: https://github.com/ruby-snmp/ruby-snmp/CHANGELOG.md
319
+ changelog_uri: https://github.com/ruby-snmp/ruby-snmp/blob/master/CHANGELOG.md
320
+ rubygems_mfa_required: 'true'
320
321
  rdoc_options:
321
322
  - "--main"
322
323
  - README.md
@@ -335,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
336
  - !ruby/object:Gem::Version
336
337
  version: '0'
337
338
  requirements: []
338
- rubygems_version: 3.6.9
339
+ rubygems_version: 4.0.3
339
340
  specification_version: 4
340
341
  summary: A Ruby implementation of SNMP (the Simple Network Management Protocol).
341
342
  test_files: []