humble_rpi-plugin-doorlock 0.1.0 → 0.1.1

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: 1b98cb2c9bdd70a19d4385df15b4f6678575efcb
4
- data.tar.gz: 58ffb194af886ce110c417d1dc329c3875deacd7
3
+ metadata.gz: 75e8d1331c7d91cebc66929eee1a70cd3dcb447e
4
+ data.tar.gz: 1a75a7ca86272cc9828185cdd32fdca17aeb746a
5
5
  SHA512:
6
- metadata.gz: 046c14de369619fc82b131e33db45a75bc6f640e68bcc1224f6eea6addf03f94fbba3c923e9da6aeeed54e4e7393cc546ebed6cf6c755f4b5b9d1426f9a723e6
7
- data.tar.gz: 72dfb7c9bb3a441d230f0e56985e639c255adea5c974678cbc707be2851cf9034f534f565c234f0cab3c739aadafb6b209a02af4d5ed92a51692886fd7172c73
6
+ metadata.gz: 023093b4b3744288211b1532cded35867079de1f032943a117285efd2638e44776dce4a9444553746edfa970c867cf9370329b8567f97007e0fa27634abdc703
7
+ data.tar.gz: ad72829456bd467b908b0c139173fbea7764c03923251f48be981fade088902426e07acb9362471e6396dd638bf3c4ec409c196d41dc43ff295eb0d1a87c6261
checksums.yaml.gz.sig CHANGED
Binary file
@@ -28,13 +28,13 @@ class HumbleRPiPluginDoorLock
28
28
  a = case state
29
29
 
30
30
  when 'open'
31
- [:unlock]
31
+ [:unlock, duration]
32
32
  when 'unlock'
33
- [:unlock]
33
+ [:unlock, duration]
34
34
  when 'close'
35
- [:lock]
35
+ [:lock, duration]
36
36
  when 'lock'
37
- [:lock]
37
+ [:lock, duration]
38
38
  end
39
39
 
40
40
  @door[index.to_i].send(*a)
@@ -53,4 +53,4 @@ class HumbleRPiPluginDoorLock
53
53
  @door.on_exit
54
54
  end
55
55
 
56
- end
56
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: humble_rpi-plugin-doorlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -83,5 +83,5 @@ rubyforge_project:
83
83
  rubygems_version: 2.4.8
84
84
  signing_key:
85
85
  specification_version: 4
86
- summary: humble_rpi-plugin-doorlock
86
+ summary: Lock or unlock a door using this plugin with the HumbleRPi gem
87
87
  test_files: []
metadata.gz.sig CHANGED
Binary file