corona 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: ea06b286bb7a62e0e0a19c0edf19468cbdc0d54b
4
- data.tar.gz: 10941c38185636518ef16949f0e22d4d1bf36e2b
3
+ metadata.gz: a6078953b980bf735927f7648f7795262bb935dd
4
+ data.tar.gz: 7c92e76091180cd0d6cf9ba21e3cb69c4fa361ff
5
5
  SHA512:
6
- metadata.gz: 974eeea19e8432829a74201a6f1a7b6397d1ab837d5bfa328d1e89473e09210803abd4970628c132ab0f2b4ae415668777c98454676b7cbade115ef72c0d327b
7
- data.tar.gz: da1f4695e9d5523e1d7e5bd2c76e7c75d3b942d751473d3ad4016437616c6ca4f32b12ce3a0152d460c2511c964eff4535eb0b0819310b2c58cf136c9a2ddb40
6
+ metadata.gz: cfb884daf5cea206fb068ff87990e5a81a890bea7576c117f40a9a227fedb9642cf73eee46862b1781ba0d8035d1acc9213e64008a214bb0f4c0bf7859f8fc06
7
+ data.tar.gz: ea16309908cbe109be9e51c94c402722bff4165dd5541c77c4ae5172b5b92c9949eb6eb336bdbad77f4ec44ac29a07eb74a6f504fd0f3d52a626d37361191be0
data/CHANGELOG.md ADDED
@@ -0,0 +1,2 @@
1
+ # 0.1.1
2
+ - fix incorrect hash assingment for results
data/corona.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'corona'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = [ 'Saku Ytti' ]
data/lib/corona/core.rb CHANGED
@@ -59,7 +59,7 @@ module Corona
59
59
  result = {:oids=>oids, :ip=>ip, :int=>'n/a'}
60
60
  if index = snmp.ip2index(ip.to_s)
61
61
  if int = snmp.ifdescr(index)
62
- result[:int] => int.downcase
62
+ result[:int] = int.downcase
63
63
  else
64
64
  Log.debug "no ifDescr for #{index} at #{ip}"
65
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corona
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
@@ -89,6 +89,7 @@ extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
91
  - ".rspec"
92
+ - CHANGELOG.md
92
93
  - Gemfile
93
94
  - Gemfile.lock
94
95
  - README.md