ledenet_api 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ledenet/device_discovery.rb +1 -1
- data/lib/ledenet/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87668efdb9907a70ca5403fcc5e775b49cca8281
|
4
|
+
data.tar.gz: c28f029d20bd5db8a8ed7b082543a2e3c2084acc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3f3a4daf29ed9ff6f3e15aeb79e77b4359be4de13c3e574880ec9667ba58eabbd7eaea198ceb213441365aa32de14135c4456aebc9def39b89701ff355b6d05
|
7
|
+
data.tar.gz: 91405ab30ed0358a49348f88252c9f2ab73641562db985b6050c87998111dd1529d9e585af84e892a8d7ccbe1d73a54cbf03f63b124847fef1f19fd38967f6da
|
data/Gemfile.lock
CHANGED
@@ -42,7 +42,7 @@ module LEDENET
|
|
42
42
|
data = send_socket.recv(1024)
|
43
43
|
discovered_devices.push(LEDENET::Device.new(data))
|
44
44
|
|
45
|
-
raise Timeout::Error if discovered_devices.count
|
45
|
+
raise Timeout::Error if discovered_devices.count >= options[:expected_devices]
|
46
46
|
end
|
47
47
|
end
|
48
48
|
rescue Timeout::Error
|
data/lib/ledenet/version.rb
CHANGED