humble_rpi-plugin-magneticswitch 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -3
- data/lib/humble_rpi-plugin-magneticswitch.rb +1 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f93e31e7fe1dd1962ab02968574853887dea8fc
|
4
|
+
data.tar.gz: 241df2b0e4b43730875fe4aa0cc7ea32f9d27405
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1eec4f17c5f9ddf5a3a591446a55686b3b905f35bb000ebb0c4ff0841246112e0270bea517e607e8a1637e35fdf2a2186090148c7ba6d9e6ee63c69c169f7d5
|
7
|
+
data.tar.gz: ba413a41188a2bf0c3012d97ca67b9acb5a4c8e875e18e68a2df46c7a3c85d7cd7a084c91143a2b5c9a3284975a3b76b65f1b799509bf47415e30d94673e3d90
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -18,7 +18,7 @@ class HumbleRPiPluginMagneticSwitch
|
|
18
18
|
def initialize(settings: {}, variables: {})
|
19
19
|
|
20
20
|
@nc = settings[:nc] || true
|
21
|
-
@pins = settings[:pins].map {|x| RPiPinIn.new x, pull: :
|
21
|
+
@pins = settings[:pins].map {|x| RPiPinIn.new x, pull: settings[:pull]}
|
22
22
|
@notifier = variables[:notifier]
|
23
23
|
@device_id = variables[:device_id] || 'pi'
|
24
24
|
|
@@ -32,7 +32,6 @@ class HumbleRPiPluginMagneticSwitch
|
|
32
32
|
nc = @nc
|
33
33
|
|
34
34
|
puts 'ready to detect magnetic switches'
|
35
|
-
|
36
35
|
|
37
36
|
@pins.each.with_index do |pin, i|
|
38
37
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: humble_rpi-plugin-magneticswitch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
bPWFwNbEi9CiEPveT/uvh62PLy8oXqUUvXHHxIjvpQICBlT6wc8vkY+Lz86rQ+xY
|
32
32
|
nKxNwaysAN6TFg==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-12-
|
34
|
+
date: 2016-12-18 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rpi_pinin
|
metadata.gz.sig
CHANGED
Binary file
|