discovery 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/discovery/udp.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2346d2629e548eb5ec7961ee6174b27de12d22b
|
4
|
+
data.tar.gz: 65cb006daa17524afbefe8b506b8deb307ca64bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b086627eec4d0abf14f9fc4fc8a1e5d8a02c1c77fb6762e92bbec6bde77bb55b9d6b10b93200f3d7820bda987179d26d1d5e55dd797792d22ecf0a2b6292c0fd
|
7
|
+
data.tar.gz: ec57d9aed1bead89fd9e433fb7d7e96323ef02221e5fae7250624fe0f7d89ed6810ffe8f669c2fd28d0935ff5ae31b0d8d6180832342d9eda35daf28b084851b
|
data/lib/discovery/udp.rb
CHANGED
@@ -47,7 +47,7 @@ module Discovery
|
|
47
47
|
# Convert the incoming beacon to a Hash containing all necessary info
|
48
48
|
# Implement to something nontrivial in the inherited module
|
49
49
|
def self.beacon_to_hash beacon
|
50
|
-
{beacon:beacon}
|
50
|
+
{beacon:beacon.to_s, sender:beacon.source}
|
51
51
|
end
|
52
52
|
|
53
53
|
# Register a block to be used to convert a recognized
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discovery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe McIlvain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|