motion-wiretap 1.1.7 → 1.1.8

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: 89990796420716d29cbbeaa225d9395e41087549
4
- data.tar.gz: 834a690549b69160c7f694a674635a807fbe518b
3
+ metadata.gz: 3ecbadbc039a28d3215da369e7bf6bdb98043886
4
+ data.tar.gz: 9ac057ad391a7a187214d5e620eecfccea629ddb
5
5
  SHA512:
6
- metadata.gz: 90d3189dec24db8443afcefdb62d64e0276f3c51a44961d310f76ea8a0f418810219b70ae6bffe88bff42c5d6b749252bea96ddb5b69d3d0720c69d7ff5ac050
7
- data.tar.gz: a44b1ffa4741e95a59cae83d4300572e4c008c292ec7516f4561e700bc01d2a89e2cb96c7b81e170099f1d0e75cef3ecf857b92583d8d54f5b5d925dc8ac7f4b
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 |value|
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 |value|
301
+ wiretap.listen do |*values|
302
302
  indx = @wiretaps[wiretap]
303
- @values[index] = wiretap.value
303
+ @values[indx] = wiretap.value
304
304
  trigger_changed(*@values)
305
305
  end
306
306
 
@@ -1,3 +1,3 @@
1
1
  module MotionWiretap
2
- VERSION = '1.1.7'
2
+ VERSION = '1.1.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-wiretap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin T.A. Gray