discovery 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/discovery/udp.rb +6 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0da22b162169c405e21fe71620cbdd47591bd00
4
- data.tar.gz: 6bec05a6127412c10797e56bb2b0ce53616c5229
3
+ metadata.gz: fb8313e0014bd9edfaa44136c55b9e21c932b649
4
+ data.tar.gz: 297b3f5707af227a1791ebda345221a6f6e232a7
5
5
  SHA512:
6
- metadata.gz: f12098126007448a0c6d0ec72efdc126550b8d0fe47c65fca9d46d65492edbd6464285c3440aec525dac11e209721242e76eaf92163811e368f45dbac33205d9
7
- data.tar.gz: f57f9a99314e0760679d8e882c3a0706ec946c7c5c6fd8e3057c484703096322afe8e7b7881a00313cc60cec2f2aec52c3dc8264ac3ed27e85607a21d2a48de8
6
+ metadata.gz: 22506c552f960ba090c13b86ecdcc6e58b42c12af0bf500eb9c1f86be4a383e1e1e8663de1d7fda575639bb4a2d8b3a6e26d17c5af7aea1181f4d20f09aa7570
7
+ data.tar.gz: 86ef5bdad8080d0f7218bf80cbb4fdafb9c9adce7bb4eba87c9e8aaed3f0de74b7686f8e5bb30836db3b368183abf45d47b37e0eba64b8b54c85c4bc92b93fd6
data/lib/discovery/udp.rb CHANGED
@@ -7,6 +7,12 @@ module Discovery
7
7
  @port = 0
8
8
  @group = "0.0.0.0"
9
9
 
10
+ class << self
11
+ attr_accessor :port
12
+ attr_accessor :group
13
+ attr_reader :thread
14
+ end
15
+
10
16
  def self.new; raise NotImplementedError nil end
11
17
 
12
18
  # Register a callback to be used in the event of a recognized beacon.
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.2
4
+ version: 0.0.3
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-08 00:00:00.000000000 Z
11
+ date: 2013-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake