simple_raspberrypi 0.4.1 → 0.4.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 +3 -3
- data.tar.gz.sig +0 -0
- data/lib/simple_raspberrypi.rb +1 -9
- metadata +19 -19
- 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: '055919e5c600aa09bb62a2814c10f7f13206d4ec'
|
4
|
+
data.tar.gz: 4a7a1e29910a5da18b3c2f6ac4634c2b90c65c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e868ab89a6f91d08eca8ab75dd8d086141076f951500267575506df6fe47f2ab13da8bb84c890c5bc909f8ad39f2bc6df1e446380021b6d4475a9990b4104367
|
7
|
+
data.tar.gz: e2837bccbece6c53e7b34268d03ca2ed7fb66a5e6712b7beec45fec80eb0470dcc161af0f1dc64bb3bd74d96bb97e062c2403cc456a0f7a7a50868faadea693f
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�
|
1
|
+
�R��q��s�I�G���+Dٛc�lq�N�~w&;� �/S���I�2��7
|
2
|
+
|
3
|
+
;d���xJ�M*&�b3�"�퍂:
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/simple_raspberrypi.rb
CHANGED
@@ -11,13 +11,6 @@ require 'rpi_pinout'
|
|
11
11
|
|
12
12
|
class SimpleRaspberryPi
|
13
13
|
|
14
|
-
class Void
|
15
|
-
def on(duration=nil) end
|
16
|
-
def off() end
|
17
|
-
def blink(seconds=0, duration=nil) end
|
18
|
-
alias stop off
|
19
|
-
end
|
20
|
-
|
21
14
|
def initialize(x=[])
|
22
15
|
|
23
16
|
a = case x
|
@@ -37,7 +30,7 @@ class SimpleRaspberryPi
|
|
37
30
|
|
38
31
|
if i.to_i >= self.length then
|
39
32
|
puts "RPi warning: RPiPinOut instance #{i.inspect} not found"
|
40
|
-
Void.new
|
33
|
+
PinX::Void.new
|
41
34
|
else
|
42
35
|
self.at(i)
|
43
36
|
end
|
@@ -48,7 +41,6 @@ class SimpleRaspberryPi
|
|
48
41
|
def pin() @pins.first end
|
49
42
|
def pins() @pins end
|
50
43
|
|
51
|
-
|
52
44
|
end
|
53
45
|
|
54
46
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_raspberrypi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE3MDUxMTE4MTY0NFoXDTE4MDUxMTE4MTY0NFowSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBAKzKnc9+Jvk/xiEHyoijBzDJgEkiX4oj6VHJ9Q3ZO3ANPriN9foj/YtDIDK/
|
19
|
+
QGsE/gZ+kEL6OmsNKnXZyXG0gcKibW2H3AvO0+Heonsy4FPCbp1AMxvPJ9vilTTD
|
20
|
+
YiKa4ZjgWk3W+FeycPl7KURXwR8hxWTCxeYKWsXrFZgv19tp9+d81CU2Fj7kFjRo
|
21
|
+
yMxAI9Mpf7jk2ExbiMy9/2RgTVNuta2blcEqx3KrNa/Tk3HCT869nXcNospAgc9e
|
22
|
+
kmXJKMyqivcj04I6Re51mcnS1+hvrLQtHGjX9GG7x8nt+Sjok1VwMPl6FZQMHCDx
|
23
|
+
E4vJXIETtRtKWIPnlnJszgOLWFsCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQU2xuAmFQPzl0XS426EPK+nm/ej5wwJgYDVR0RBB8w
|
25
25
|
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAOttnJQbB
|
27
|
+
TgtnVHA3/9+O0i1ViVTg7vDlsdmUT30dSZ4u2LVFY4rQWVlyFA4FhMk6IDzR68cP
|
28
|
+
2HAaHTDx7vJ5IHis/UtjiELsuHLdCPZgf9idQl3imUwvKwKFHftgJ6BJ4tNEacGf
|
29
|
+
MUlCWDcJvnuhvWHeL2DipyJWUO2QUb8VqGdAe5qgeK/3MOkNDy+ieVayYeaWGW4A
|
30
|
+
keEma7lHWAnVc6uPbly5v633My80nD7nJu1duFCgia20LtMC8aNAP9H/JjUgJJps
|
31
|
+
ml0RNPh8x+/Xsvq/loWIM66LNyhgJ0YvT4aafKWJ0tdNoM50rpPP7EU5wmOL8rmL
|
32
|
+
/mUo4teym9OTSA==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rpi_pinout
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 0.1.0
|
56
56
|
description:
|
57
|
-
email: james@
|
57
|
+
email: james@jamesrobertson.eu
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.6.8
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Has the same features as the rpi gem, but relies upon the rpi_pinout gem
|
metadata.gz.sig
CHANGED
Binary file
|