arpscanner 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 48b68acf51dd79503e0d3db993c24eaa086b48014d953d0e14f3f0a9c905dff9
4
- data.tar.gz: 78a39058f68d2b92bb1d57ed76c02d7a9ea4edfffb3ee6758c0e259fe2f14434
3
+ metadata.gz: 8ea3680f4cd90afc3a9226ac50f09ed29207d22140fe12aec3797d93ec82debd
4
+ data.tar.gz: 90ee670b16e9ddef8070e3b302cc99f909543d4e1adde849f410553fac6286ba
5
5
  SHA512:
6
- metadata.gz: 3c6865c71ad712163949fd2e32d348db89d0ccde01f4760ffae6e5bc4200c5f357a25bb200844f56e1f0cb6e250f1e682dde8046d397e8db87baf8188e6d5115
7
- data.tar.gz: 5b6bd8004c5d133edea82813e2e60cd88c06967e5571afde520e73b3992ceb9502f5363b93da1742a52fe3e90beaebdb18c7b9a1dd0d0386193702c0ba9841ef
6
+ metadata.gz: 73dda44bec43931021287fa44dfaf7a0933b67d42dbf1c7a8d4890a351b46d93a05f8c88cc53ad44871b5d75ec8c0b6e78bbc334b60c3bdd003babe9d95253f6
7
+ data.tar.gz: 5725ce3032952361ed0caa333860d822b364d4fbc99ba1d97d917a1c0035ab979a1ce7112a765884c674ed9ee6fb8950f4affb2e99b55680f05cfb4d816233c2
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -59,7 +59,7 @@ class ArpScanner
59
59
  h[:mfr] = vendor if vendor
60
60
  end
61
61
 
62
- h
62
+ h
63
63
 
64
64
  end
65
65
 
@@ -72,9 +72,10 @@ class ArpScanner
72
72
  x[:mfr] = vendor if vendor
73
73
  x
74
74
 
75
- end
76
-
77
- Dynarex.new.import a2
75
+ end
76
+
77
+ # sort by IP address
78
+ Dynarex.new.import a2.sort_by {|x| x[:ip][/\d+$/].to_i}
78
79
 
79
80
  end
80
81
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arpscanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  cOLTxTEGHP0PrD7OYVyXjy1/2XJC9E3Ca9wr7MWld01vUdMbC0TZaqTGM+7+dejp
36
36
  bCPG9KW8LldPMB4NjEePBmN1
37
37
  -----END CERTIFICATE-----
38
- date: 2020-08-22 00:00:00.000000000 Z
38
+ date: 2020-08-23 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: dynarex
metadata.gz.sig CHANGED
Binary file