rpi 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +2 -2
  4. data/lib/rpi.rb +2 -10
  5. metadata +2 -2
  6. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77b014df263b389a23ca63fd6004028709863b2f
4
- data.tar.gz: 5935ff94f91c371b67c2f3da94116210e901903e
3
+ metadata.gz: cbb715d3e63fba0eca3c9f2ff2cc772d5cee1440
4
+ data.tar.gz: a8ecaf37d0ce4e85a5d0642b4768747c081214aa
5
5
  SHA512:
6
- metadata.gz: fb8a9f351e2caa531490a6e14ee93e5fc522792f8f0e3ffc0897983e7c30068bf038b67ca54c9582ed43e3fcfc718f560baf5fa35120068d47cacc7f0a8a398a
7
- data.tar.gz: ba62392047290f6318eae029c18f4009514fea7e8e9d42a31ac91fa6be81002ef4d72637ef0a95932ff6f5f54c05ed29f9f7587a91bc3fdecb31e416ec739798
6
+ metadata.gz: 62e3b66c4000229b3bbe2d30d18bb0b9a48917ca13c095b930d0c27f735a2b8971c9f3513725e9a6824f30c271b360b8bfae7efcbed44abd2bc4fc77050b2ede
7
+ data.tar.gz: 6581fd9540254267a2c3e221a3b78f5334be37367a682764298e4ad3e6e3b209f9e211265f3a5d91e45ac02bf0ace67f3d0e303b9d854d9365d68bbfc5144ecd
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- "J���,J`�|h/���}����D*T3ޢ�#�O�Ѥ�$�8c9����<����*��P!�����b�f�[|r���`h2��(�i$"HD��v)2�"��n�@CJH� �(׀4�'��v���)+d����1���jFyM-w��g�k���y���� ��T
2
- ћ�??KF�+�_۝iW!��g��m Iy�2��z��������7Y(u�QCƩ��U{�#&}c�}/�2Ӽuh v7w‚�;/S
1
+ �wVWt�� ������N>�oýݞ/9]l�C���b\-
2
+ ;��ܪ ���ƬZ]�$o5cx��κ8�+4��L���p%O���~��YCD����� M�F�u�쐛�^t��� Ȋ3m��<G�.�3Vh��b�~�e8����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.0
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-10 00:00:00.000000000 Z
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