motion-wiretap 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/motion-wiretap/all/wiretap.rb +4 -4
- data/lib/motion-wiretap/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: 3ecbadbc039a28d3215da369e7bf6bdb98043886
|
4
|
+
data.tar.gz: 9ac057ad391a7a187214d5e620eecfccea629ddb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b24c3661ff747fcfa02a49cb51e957c1f50419e6f7c1e2a74e53fe0240f692e0b2b5cbd22b4e1abe2b32082b75153c8c85c91b63b58bf81d8654e28670d44ac
|
7
|
+
data.tar.gz: 1702ebea4afa66d5e460865c47c9210cd11d31c9f276c32000564f12dff41a6f070915c0f6e41f8138f42ffc815e17b4d332b8bb16cc6f40384b2c67b65c8362
|
@@ -247,8 +247,8 @@ module MotionWiretap
|
|
247
247
|
|
248
248
|
def bind_to(wiretap)
|
249
249
|
@bound_to << wiretap
|
250
|
-
wiretap.listen do |
|
251
|
-
@target.send("#{@property}=".to_sym, value)
|
250
|
+
wiretap.listen do |*values|
|
251
|
+
@target.send("#{@property}=".to_sym, wiretap.value)
|
252
252
|
end
|
253
253
|
wiretap.trigger_changed(wiretap.value)
|
254
254
|
|
@@ -298,9 +298,9 @@ module MotionWiretap
|
|
298
298
|
|
299
299
|
@values << wiretap.value
|
300
300
|
|
301
|
-
wiretap.listen do |
|
301
|
+
wiretap.listen do |*values|
|
302
302
|
indx = @wiretaps[wiretap]
|
303
|
-
@values[
|
303
|
+
@values[indx] = wiretap.value
|
304
304
|
trigger_changed(*@values)
|
305
305
|
end
|
306
306
|
|