rpi_gpio 0.1.5 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +36 -0
- data/README.md +137 -122
- data/ext/new/c_gpio.c +237 -0
- data/ext/new/c_gpio.h +49 -0
- data/ext/new/common.c +87 -0
- data/ext/new/common.h +43 -0
- data/ext/new/constants.c +84 -0
- data/ext/new/constants.h +45 -0
- data/ext/new/cpuinfo.c +149 -0
- data/ext/new/cpuinfo.h +36 -0
- data/ext/new/event_gpio.c +550 -0
- data/ext/new/event_gpio.h +36 -0
- data/ext/new/py_gpio.c +1048 -0
- data/ext/new/py_pwm.c +199 -0
- data/ext/new/py_pwm.h +24 -0
- data/ext/new/soft_pwm.c +214 -0
- data/ext/new/soft_pwm.h +28 -0
- data/ext/rpi_gpio/c_gpio.c +253 -233
- data/ext/rpi_gpio/c_gpio.h +53 -50
- data/ext/rpi_gpio/common.c +101 -100
- data/ext/rpi_gpio/common.h +47 -46
- data/ext/rpi_gpio/cpuinfo.c +159 -88
- data/ext/rpi_gpio/cpuinfo.h +40 -27
- data/ext/rpi_gpio/event_gpio.c +561 -561
- data/ext/rpi_gpio/rb_gpio.c +399 -389
- data/ext/rpi_gpio/rb_gpio.h +48 -47
- data/ext/rpi_gpio/rb_pwm.c +141 -131
- data/ext/rpi_gpio/rb_pwm.h +41 -40
- data/lib/rpi_gpio.so +0 -0
- metadata +34 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpi_gpio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Lowery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: Ruby conversion of RPi.GPIO Python module
|
28
42
|
email: nick.a.lowery@gmail.com
|
29
43
|
executables: []
|
@@ -32,9 +46,25 @@ extensions:
|
|
32
46
|
extra_rdoc_files: []
|
33
47
|
files:
|
34
48
|
- Gemfile
|
49
|
+
- Gemfile.lock
|
35
50
|
- LICENSE
|
36
51
|
- README.md
|
37
52
|
- Rakefile
|
53
|
+
- ext/new/c_gpio.c
|
54
|
+
- ext/new/c_gpio.h
|
55
|
+
- ext/new/common.c
|
56
|
+
- ext/new/common.h
|
57
|
+
- ext/new/constants.c
|
58
|
+
- ext/new/constants.h
|
59
|
+
- ext/new/cpuinfo.c
|
60
|
+
- ext/new/cpuinfo.h
|
61
|
+
- ext/new/event_gpio.c
|
62
|
+
- ext/new/event_gpio.h
|
63
|
+
- ext/new/py_gpio.c
|
64
|
+
- ext/new/py_pwm.c
|
65
|
+
- ext/new/py_pwm.h
|
66
|
+
- ext/new/soft_pwm.c
|
67
|
+
- ext/new/soft_pwm.h
|
38
68
|
- ext/rpi_gpio/c_gpio.c
|
39
69
|
- ext/rpi_gpio/c_gpio.h
|
40
70
|
- ext/rpi_gpio/common.c
|
@@ -52,6 +82,7 @@ files:
|
|
52
82
|
- ext/rpi_gpio/rpi_gpio.h
|
53
83
|
- ext/rpi_gpio/soft_pwm.c
|
54
84
|
- ext/rpi_gpio/soft_pwm.h
|
85
|
+
- lib/rpi_gpio.so
|
55
86
|
homepage: https://github.com/ClockVapor/rpi_gpio
|
56
87
|
licenses:
|
57
88
|
- MIT
|
@@ -72,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
103
|
version: '0'
|
73
104
|
requirements: []
|
74
105
|
rubyforge_project:
|
75
|
-
rubygems_version: 2.4.
|
106
|
+
rubygems_version: 2.4.8
|
76
107
|
signing_key:
|
77
108
|
specification_version: 4
|
78
109
|
summary: Ruby conversion of RPi.GPIO Python module
|