humble_rpi-plugin-led 0.1.2 → 0.1.3
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/humble_rpi-plugin-led.rb +2 -2
- data.tar.gz.sig +0 -0
- 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: d21fc8a0613afe70225bf9e7bcc9b24227bd457f
|
4
|
+
data.tar.gz: 8795dc4e82abe8008e5871abb08d8e6aad7fcf2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 919a6719425176681dbefdf71c1606e13ad926c77e2add830ff319e4cda7dc5b03523b18475c49da1e3b5e147900bae7073342311e96ae8b5e5b64567110ee3f
|
7
|
+
data.tar.gz: 58e248a4403b2af65ef2ad7cc9abc975e443fdb8fcbd9ec43967e4a5831f02bfd5a13d99b03799f2fdd23aa5181eef31be3dd638047b84ecaee90b21a615deb2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -9,7 +9,7 @@ class HumbleRPiPluginLed
|
|
9
9
|
|
10
10
|
def initialize(settings: {}, variables: {})
|
11
11
|
|
12
|
-
@
|
12
|
+
@gpio_pins = settings[:pins]
|
13
13
|
|
14
14
|
end
|
15
15
|
|
@@ -40,7 +40,7 @@ class HumbleRPiPluginLed
|
|
40
40
|
|
41
41
|
def start()
|
42
42
|
|
43
|
-
@led = RPi.new(@
|
43
|
+
@led = RPi.new(@gpio_pins).pins if @gpio_pins.any?
|
44
44
|
|
45
45
|
end
|
46
46
|
|
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-led
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
DWZU516n825c7yCIYUbK4paHe+EmHf7LUyqjhB21vyAtbAXVBo9wFxFUrv8ledMm
|
32
32
|
5HwpZH8LZVos/A==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-
|
34
|
+
date: 2015-09-26 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rpi
|
metadata.gz.sig
CHANGED
Binary file
|