rpi_pinin_msgout 0.2.0 → 0.2.1
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/lib/rpi_pinin_msgout.rb +3 -1
- data.tar.gz.sig +0 -0
- metadata +5 -5
- 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: b261da484bdebaca2aff10ffb032233256fab445
|
4
|
+
data.tar.gz: f8cd02a4b59e9ae090f1bda6adacb4bac875e065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2336c509714ad9083c09aab37e7b52210fd8e0b64aa74f6dc46de1f6f1c932cc375a56f3ab50e36628e28b0c4158d898f26469fb046e7f7776619a490f7152fe
|
7
|
+
data.tar.gz: a0d74df5ebdd89617a97361aba5ee4eb74a43e90c4562aff15841e9ee9c25ac37dc23f0b231c5a8b2d8d94feb394447baa6eb62caf3e3c9cedf98a18499c7f30
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rpi_pinin_msgout.rb
CHANGED
@@ -25,8 +25,9 @@ class SecretKnockNotifier
|
|
25
25
|
def knock()
|
26
26
|
end
|
27
27
|
|
28
|
+
|
28
29
|
def message(s)
|
29
|
-
@notifier.notice "%s: %s" % [
|
30
|
+
@notifier.notice "%s: %s" % [@topic, s]
|
30
31
|
end
|
31
32
|
end
|
32
33
|
|
@@ -72,6 +73,7 @@ class RPiPinInMsgOut < RPiPinIn
|
|
72
73
|
sk = SecretKnock.new \
|
73
74
|
short_delay: 0.55, long_delay: 1.1, external: notifier
|
74
75
|
sk.detect
|
76
|
+
|
75
77
|
setup { sk.knock }
|
76
78
|
|
77
79
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpi_pinin_msgout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -59,20 +59,20 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
62
|
+
version: '0.3'
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.
|
65
|
+
version: 0.3.0
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
70
|
- - "~>"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
72
|
+
version: '0.3'
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.3.0
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: chronic_duration
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|