hooray 0.0.1 → 0.0.3

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: e7ef2ad4641d2f2c855dbd7269067c578e0810c4
4
- data.tar.gz: 63abe0efb004ead77086adf20558e42d788b1ca6
3
+ metadata.gz: 65a9fad162fbe5e199f907dcdb3acd6bd9dbf0d6
4
+ data.tar.gz: b2c37ccab64432a9ceec2b96572fa82ad032b1c1
5
5
  SHA512:
6
- metadata.gz: 6feb8a504adfb80d0310f63d9805f2e0572d58f7d498ca642c7b10702ba4c59e4b2485d9163afe9e02e2bd8fd1215055ed3fbdb18bc27a489d1941f6a21f8a6e
7
- data.tar.gz: f59f4a37cc59cd917d5ccd0efb843a98d294b48de8eee7d63e91aebe1aba3fecd915cb0429b36d0c59da2aa81e1f91bb69572abcf5f0e0722ccd6801ec0da9c5
6
+ metadata.gz: b8ee1dff9ecd4f2d8b5906d77690fbd677ea7aac221df1c7f77844348cb2a4fd1e54bfa0c668d5f107c94c2c56a6d4de2f0f6bf16996a737a3d9eb10604e42d3
7
+ data.tar.gz: 3ef4c77c5500b6f494c5bb33d3834739b16a0e2faf68abe0f7a3fd6c3d72b93d0504c77e95f9bd147a978c23625317ed63322b2d4a8984961bc189c696a01918
data/README.md CHANGED
@@ -1,12 +1,20 @@
1
1
  Hooray
2
2
  ======
3
3
 
4
- Find devices around you.
4
+ Find devices around you. Fast and without hyphens.
5
+
6
+ gem install hooray
7
+
8
+
9
+ And use the executable `hoo`:
10
+
5
11
 
6
12
  ```
7
13
  hoo list
8
14
  ```
9
15
  ```
16
+ NAME | IP | MAC
17
+ ----------------------------|---------------|------------------
10
18
  Motorola Mobility | 192.168.1.70 | 34:bb:XX:XX:XX:XX
11
19
  Giga-byte Technology Co. | 192.168.1.71 | 94:de:XX:XX:XX:XX
12
20
  Veih's Android | 192.168.1.72 | 04:46:XX:XX:XX:XX
@@ -25,7 +33,9 @@ Find running services:
25
33
  hoo list web
26
34
  ```
27
35
  ```
28
- nofxx desktop | 192.168.1.77 | 64:a3:XX:XX:XX:XX
36
+ NAME | IP | MAC
37
+ ------------------|--------------|------------------
38
+ nofxx desktop | 192.168.1.77 | 64:a3:XX:XX:XX:XX
29
39
  ```
30
40
 
31
41
  Or simply by ports:
@@ -20,7 +20,7 @@ module Hooray
20
20
  Node.new(ip: n, mac: arp_table[n.to_s]) # , name: find_name(n))
21
21
  end
22
22
  end
23
- alias_method :nodes, :devices
23
+ alias_method :devices, :nodes
24
24
 
25
25
  def ping_class
26
26
  return Net::Ping::External unless @protocol
@@ -1,3 +1,3 @@
1
1
  module Hooray
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooray
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Piccinini