rpi 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04cbba2ed26415a679ee16da642acf02be4dbefd
4
- data.tar.gz: 11bc38f2afd5387434f1d348c29d2a6b96fdffa6
3
+ metadata.gz: a657cdfcc556de3d6ad6f9242bc23ad53185d919
4
+ data.tar.gz: ff956c21e60ee89edb564b0907cd2e6459127c09
5
5
  SHA512:
6
- metadata.gz: 99a314bb8c1e4c87b41319304b2ee83a27b7e33adda5f6d2c48db62d99501a7bb133b2aacb877fbaaf55a6b19a62aa91249ff52def899e8909249bd3d18e4477
7
- data.tar.gz: f72bb28d0756cc822ad9d86cde24a00f78764efdd7bb4ff3bb157504813d8a942f2a25d1f18953720b7e9462135a1aef7f83593b0003bb3e0ff059ef7585eb84
6
+ metadata.gz: 67758e0fb443bd5118197598e18bdf8503d1354cc37ee3b1217f2ee91284e6ec98c5526eae11e085d986be42f16e3581181e0554af18fdc825f3a6bb4d61fb53
7
+ data.tar.gz: c9e72bc6de8ef0f9e883d26bbe1136993fdd95472de8b906408f26b7f32b30ef49f86ec892fbf383b68add8cab9e49a36f0e2e7699487b2f2ca89113286125d5
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/rpi.rb CHANGED
@@ -35,11 +35,11 @@ class RPi
35
35
  end
36
36
 
37
37
  alias high on # opposite of low
38
- alias open on # opposite of closed
38
+ alias open on # opposite of close
39
39
  alias lock on # opposite of unlock
40
40
 
41
41
  alias low off
42
- alias closed off
42
+ alias close off
43
43
  alias unlock off
44
44
 
45
45
  def blink(seconds=0.5, duration: nil)
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.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -83,5 +83,5 @@ rubyforge_project:
83
83
  rubygems_version: 2.4.8
84
84
  signing_key:
85
85
  specification_version: 4
86
- summary: The RPi gem makes it easy to set blinking LEDs on the Raspberry Pi
86
+ summary: The RPi gem makes it easy to set the GPIO pins on the Raspberry Pi e.g. RPi.new([4,27]).pins.first.on
87
87
  test_files: []
metadata.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- t-�n4�Փ~�fN�!‘�e �'�k���;��fIe!kO@L��oU9g4�?u�������8=׿�
2
- S����@&?DU��~�H���-@��%���u�'�+�Ϩ���8�Ӆ���Ϝ�0+���h��!����J�G�q��$(nDq�C���aљj�%&/�Vݪ �Hd"�OrY ����;~��".��6�}�D露�Q�e�Pl.�y�H�=�-6�C2Y}�J~-kN�r�Z��@�n� 7����6`0��
1
+ CoĬ�:�����Ɩ(
2
+ �:��B0̟����E3��+����W��tM
3
+ �U>"���٬