hooray 0.1.9 → 0.3.0

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: 01dbc476c1b307bbc38b11487bcfc8bb1e038041
4
- data.tar.gz: 9c7b3175552fbf3c979b4dc03a1a438942b99688
3
+ metadata.gz: d517b920c8dd188ccf2ee50b7ccc365117954514
4
+ data.tar.gz: 322a7e7bd747e04e0c95e7e3f52819460363dcba
5
5
  SHA512:
6
- metadata.gz: be790c61d159a70f45a15917a334a25d3628d8178bab7770c8936a011c006a2173ad94aea37594f88b68f75e42575562b2b82ee1f6ff30867baa9747284395ba
7
- data.tar.gz: 57354d535ad19aa5becd0ebae1054fcf81b2675e3c42540e2c6236612941286fbc4e0485752005b984bc7cdc3e142b04d0c834eddbb4a7b87f4cb4698c4a8f6f
6
+ metadata.gz: 4aad9e3ab6e5e2a167ab224d378d7853e961a500eb188c440024cb7108454ebf66d380e425fca531119bed392e56927df6a370922f8d3bf30dfa6a4134ff227b
7
+ data.tar.gz: fe2b46c933562f9364ae774fc06522e7161954bb0d3ae302ada3e057e20396a3ae8635a71e3a8f9f09afb69ff07ad65366362924b22c040a5cf7c84432628fd2
data/bin/hoo CHANGED
@@ -4,6 +4,6 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
4
4
  require 'hooray'
5
5
 
6
6
  puts
7
- puts ' Hooray!'
7
+ puts " Hooray! v#{Hooray::VERSION}"
8
8
 
9
9
  Hooray::CLI.start(ARGV)
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
  s.require_paths = ["lib"]
24
24
 
25
25
  s.add_dependency 'thor'
26
- s.add_dependency 'psych', '2.0.8'
27
26
  s.add_dependency 'paint'
28
27
  s.add_dependency 'macaddr'
29
28
  s.add_dependency 'net-ping'
@@ -1,5 +1,4 @@
1
1
  # require 'pry'
2
- require 'yaml'
3
2
  require 'open3'
4
3
  require 'socket'
5
4
  require 'ipaddr'
@@ -7,7 +6,9 @@ require 'macaddr'
7
6
  require 'net/ping'
8
7
  require 'paint/pa'
9
8
  require 'table_print'
9
+ require 'yaml'
10
10
 
11
+ require 'hooray/version'
11
12
  require 'hooray/settings'
12
13
  require 'hooray/local'
13
14
  require 'hooray/node'
@@ -34,6 +34,7 @@ module Hooray
34
34
  ip <=> other.ip
35
35
  end
36
36
 
37
+ # The same node must have the same ip and mac
37
38
  def eql?(other)
38
39
  ip == other.ip || mac == other.mac
39
40
  end
@@ -1,4 +1,4 @@
1
1
  # Hooray version
2
2
  module Hooray
3
- VERSION = '0.1.9'
3
+ VERSION = '0.3.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooray
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Piccinini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: psych
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '='
32
- - !ruby/object:Gem::Version
33
- version: 2.0.8
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '='
39
- - !ruby/object:Gem::Version
40
- version: 2.0.8
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: paint
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -147,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
133
  version: '0'
148
134
  requirements: []
149
135
  rubyforge_project:
150
- rubygems_version: 2.4.5
136
+ rubygems_version: 2.4.8
151
137
  signing_key:
152
138
  specification_version: 4
153
139
  summary: Find devices connected in LAN