rpi 0.5.0 → 0.5.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.tar.gz.sig +2 -2
- data/lib/rpi.rb +2 -10
- 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: cbb715d3e63fba0eca3c9f2ff2cc772d5cee1440
|
4
|
+
data.tar.gz: a8ecaf37d0ce4e85a5d0642b4768747c081214aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62e3b66c4000229b3bbe2d30d18bb0b9a48917ca13c095b930d0c27f735a2b8971c9f3513725e9a6824f30c271b360b8bfae7efcbed44abd2bc4fc77050b2ede
|
7
|
+
data.tar.gz: 6581fd9540254267a2c3e221a3b78f5334be37367a682764298e4ad3e6e3b209f9e211265f3a5d91e45ac02bf0ace67f3d0e303b9d854d9365d68bbfc5144ecd
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
�
|
2
|
-
|
1
|
+
�w�VWt�� ������N>�oýݞ/9]�l�C���b\-
|
2
|
+
;��ܪ ���ƬZ]�$o5�c�x��κ8�+4��L���p%O���~��YCD����� M�F�u�쐛�^t���Ȋ3m��<G�.�3�V�h��b�~�e�8����Xu��Ef�'8��
|
data/lib/rpi.rb
CHANGED
@@ -5,14 +5,7 @@
|
|
5
5
|
require 'rpi_pinout'
|
6
6
|
|
7
7
|
|
8
|
-
class RPi
|
9
|
-
|
10
|
-
class Void
|
11
|
-
def on(duration=nil) end
|
12
|
-
def off() end
|
13
|
-
def blink(seconds=0, duration=nil) end
|
14
|
-
alias stop off
|
15
|
-
end
|
8
|
+
class RPi
|
16
9
|
|
17
10
|
def initialize(x=[])
|
18
11
|
|
@@ -33,7 +26,7 @@ class RPi
|
|
33
26
|
|
34
27
|
if i.to_i >= self.length then
|
35
28
|
puts "RPi warning: RPiPinOut instance #{i.inspect} not found"
|
36
|
-
Void.new
|
29
|
+
PinX::Void.new
|
37
30
|
else
|
38
31
|
self.at(i)
|
39
32
|
end
|
@@ -44,7 +37,6 @@ class RPi
|
|
44
37
|
def pin() @pins.first end
|
45
38
|
def pins() @pins end
|
46
39
|
|
47
|
-
|
48
40
|
end
|
49
41
|
|
50
42
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
03+2ttzIMR7wl/1qlZlAlvMQ71TeyXUIKE3dzMV3MlQqD5jNgpweeDOVAu06J77/
|
32
32
|
C4Q94lEe/XWITQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-05-
|
34
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rpi_pinout
|
metadata.gz.sig
CHANGED
Binary file
|