humble_rpi 0.6.2 → 0.6.3
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
- checksums.yaml.gz.sig +0 -0
- data/lib/humble_rpi.rb +11 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: e0ce85d5465d3b0971d0717179dd4838d2a66784
|
|
4
|
+
data.tar.gz: 69e436ad69cfe1fe6f4c1d938acef2de8002d383
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d31f55c64d49221c80fd2d54031ca8da3fca2b761463043a63c7dfebb15cd4161c02a0f01604788f5f89402d0699547024acd7c7ac6dfa21fc203dbdffebea5
|
|
7
|
+
data.tar.gz: 1c381951f6d523c1266049102c8635767f949bb1426368ad1647cb4b547dd62030f4793b5739efcff1d8dedefbeb1ca7c089e6b5eaf59af13333f6cd1bba1cc8
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/humble_rpi.rb
CHANGED
|
@@ -27,6 +27,17 @@ class HumbleRPi
|
|
|
27
27
|
: [DummyNotifier.new, nil]
|
|
28
28
|
|
|
29
29
|
@plugins = initialize_plugins(plugins || [])
|
|
30
|
+
|
|
31
|
+
at_exit do
|
|
32
|
+
|
|
33
|
+
@plugins.each do |x|
|
|
34
|
+
if x.respond_to? :on_exit then
|
|
35
|
+
puts 'stopping ' + x.inspect
|
|
36
|
+
Thread.new { x.on_exit() }
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
30
41
|
|
|
31
42
|
end
|
|
32
43
|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: humble_rpi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
999CZL08Zqxa+1DKwhW/XqeiQ9eIZ+1fLAK+XbAKgv6ghNYEPtZLUFiD73uUbsKd
|
|
32
32
|
sBqeV1LF1yKYmA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-06
|
|
34
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: sps-pub
|
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
100
100
|
version: '0'
|
|
101
101
|
requirements: []
|
|
102
102
|
rubyforge_project:
|
|
103
|
-
rubygems_version: 2.4.
|
|
103
|
+
rubygems_version: 2.4.8
|
|
104
104
|
signing_key:
|
|
105
105
|
specification_version: 4
|
|
106
106
|
summary: Controls components wired in through the Raspberry Pi's GPIO pins. see the
|
metadata.gz.sig
CHANGED
|
Binary file
|