arpdb 0.1.1 → 0.1.2

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: 20917df1e411474569a22b54290795fade72743e
4
- data.tar.gz: 89791379105170de77c39a4408c8542f56bc09ec
3
+ metadata.gz: b601992c8e2eb24a4a3619346df908b9c66f177b
4
+ data.tar.gz: f7733c509410c487ac61a5e496cae3a99cd22831
5
5
  SHA512:
6
- metadata.gz: d3cba2c245185d598754f369d84b7800ae674b4d8f0fbcd46fa30a8d01906b987a97ca8417623dbdfe0a50247484c82ac27941ba90d706735442c062ac6a8431
7
- data.tar.gz: e72abb5ff963e869d04cc88dd8920133eb275f0406a9e03151989accc67f5781fead88a60fb43bcce4b4b6499093e1f9137635dddbdbb6c0e8a63e857c3b3c3d
6
+ metadata.gz: 6e8c3b82023f558b8af507530e14f8cb36eb411097051b2a02f9580526776cd8b382255c456110ba5f450246c4fc1433975ccb094df55849121dba387789a14a
7
+ data.tar.gz: b4027f467795641d74f44f94d4932d158e577bd1329ba2d945ea5aaa2e69bf67e3e0d1ded77321d0370fe36cd40a9e2673d67b6dd320b4bf0753d36a5f4c1218
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  [![Build Status](https://travis-ci.org/jkvalk/arpdb.svg?branch=master)](https://travis-ci.org/jkvalk/arpdb)
2
+ [![Gem Version](https://badge.fury.io/rb/arpdb.svg)](http://badge.fury.io/rb/arpdb)
2
3
 
3
4
  # Arpdb
4
5
 
data/arpdb.gemspec CHANGED
@@ -10,16 +10,8 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["jkvalk@mail.ru"]
11
11
 
12
12
  spec.summary = %q{Arpdb is a Ruby gem for querying SNMP-enabled network devices for their ARP database.}
13
- spec.description = ""
14
- spec.homepage = ""
15
-
16
- # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
17
- # delete this section to allow pushing this gem to any host.
18
- #if spec.respond_to?(:metadata)
19
- # spec.metadata['allowed_push_host'] = ""
20
- #else
21
- # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
22
- #end
13
+ spec.description = "This is VERY raw, version 1.0.0 is expected to be first usable implementation."
14
+ spec.homepage = "https://github.com/jkvalk/arpdb"
23
15
 
24
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
17
  spec.bindir = "exe"
data/lib/arpdb/arp.rb CHANGED
@@ -21,7 +21,7 @@ module Arpdb
21
21
  end
22
22
 
23
23
  def refresh
24
- @db = []
24
+ @db = Array.new
25
25
  @hostlist.each do |host|
26
26
  SNMP::Manager.open(host: host, community: @community) do |manager|
27
27
  manager.walk(%w(1.3.6.1.2.1.4.22.1.2 1.3.6.1.2.1.4.22.1.3)) do |row|
data/lib/arpdb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Arpdb
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arpdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - J.K.Valk
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '1.6'
139
- description: ''
139
+ description: This is VERY raw, version 1.0.0 is expected to be first usable implementation.
140
140
  email:
141
141
  - jkvalk@mail.ru
142
142
  executables: []
@@ -164,7 +164,7 @@ files:
164
164
  - lib/arpdb.rb
165
165
  - lib/arpdb/arp.rb
166
166
  - lib/arpdb/version.rb
167
- homepage: ''
167
+ homepage: https://github.com/jkvalk/arpdb
168
168
  licenses:
169
169
  - MIT
170
170
  metadata: {}