networkwatcherd 0.0.31 → 0.0.32

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: 69ae2486fd5c2467adb2b59e48b43467022a462a
4
- data.tar.gz: 8c6e080d60175f200972c111b76e8e0437431bc1
3
+ metadata.gz: b13ab0637714bdc9e2d0bfd574f630b9c8ab9324
4
+ data.tar.gz: 1ae86ae6d330a0bd0673b19972b88d8de20dfd99
5
5
  SHA512:
6
- metadata.gz: 0a41cccc24714315aeb5abfaab11ddbc3a19886cd7f2d73ca85d990f171c4fca7992e5d80dfbedb57f4797f1650af2d6af80f59e53466599a876bb177b3d5630
7
- data.tar.gz: d57b687b70e818280830ecea561e9a9e3050bc276dc27c8f1a10eabaa9504e5e726894f5c991ada76b1aab9995b70ab4820b9b4f2cbc5bf16d9c9270c1ec0110
6
+ metadata.gz: c9f7ba71c5722b60a09196dbe50fa5663db0c54b17c84bef90a46c04768f24371b7b32062e454aff701fe524dc77fe67b6f78e1ced6a1ba2d22c9ad6cecb18c2
7
+ data.tar.gz: 5ff25fb823885147e7a71c0a3d973e6f26fbb3ee5fa272f7a2833effae33525ad2b2982479f55d73f541ca92ce226d92096f9d76aaec03b2ea9ac9b06a6118d0
@@ -2,7 +2,7 @@ require 'networkwatcherd/networkdevices'
2
2
 
3
3
  module IPScanner
4
4
  def self.network_devices(nd,ip_pattern)
5
- (0..nd).each do |n|
5
+ (1..nd).each do |n|
6
6
  ip = "#{ip_pattern}.#{n}"
7
7
  output = `ping -c1 #{ip}`
8
8
  data = output.split
@@ -1,3 +1,3 @@
1
1
  module Networkwatcherd
2
- VERSION = "0.0.31"
2
+ VERSION = "0.0.32"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: networkwatcherd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
4
+ version: 0.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmed Khaled