rpi 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rpi.rb +2 -2
- metadata +2 -2
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a657cdfcc556de3d6ad6f9242bc23ad53185d919
|
|
4
|
+
data.tar.gz: ff956c21e60ee89edb564b0907cd2e6459127c09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67758e0fb443bd5118197598e18bdf8503d1354cc37ee3b1217f2ee91284e6ec98c5526eae11e085d986be42f16e3581181e0554af18fdc825f3a6bb4d61fb53
|
|
7
|
+
data.tar.gz: c9e72bc6de8ef0f9e883d26bbe1136993fdd95472de8b906408f26b7f32b30ef49f86ec892fbf383b68add8cab9e49a36f0e2e7699487b2f2ca89113286125d5
|
checksums.yaml.gz.sig
CHANGED
|
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
|
|
38
|
+
alias open on # opposite of close
|
|
39
39
|
alias lock on # opposite of unlock
|
|
40
40
|
|
|
41
41
|
alias low off
|
|
42
|
-
alias
|
|
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.
|
|
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
|
|
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
|
-
�
|
|
2
|
-
|
|
1
|
+
C�oĬ�:�����Ɩ(
|
|
2
|
+
�:��B0̟����E3��+����W��tM
|
|
3
|
+
�U>"���٬
|