bonekit 0.0.2-arm-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +20 -0
- data/Gemfile +3 -0
- data/LICENSE +20 -0
- data/README.md +91 -0
- data/Rakefile +43 -0
- data/bonekit.gemspec +29 -0
- data/examples/analog/analog_read.rb +9 -0
- data/examples/basics/blink.rb +10 -0
- data/examples/basics/digital_read.rb +9 -0
- data/examples/basics/switch.rb +10 -0
- data/ext/bonekit/adc.c +92 -0
- data/ext/bonekit/adc.h +53 -0
- data/ext/bonekit/beaglebone.c +46 -0
- data/ext/bonekit/beaglebone.h +141 -0
- data/ext/bonekit/beaglebone_global_const.c +132 -0
- data/ext/bonekit/beaglebone_global_const.h +33 -0
- data/ext/bonekit/extconf.rb +32 -0
- data/ext/bonekit/gpio.c +147 -0
- data/ext/bonekit/gpio.h +60 -0
- data/ext/bonekit/hmc5883l.c +107 -0
- data/ext/bonekit/hmc5883l.h +92 -0
- data/ext/bonekit/hmc5883l_class.c +66 -0
- data/ext/bonekit/hmc5883l_class.h +33 -0
- data/ext/bonekit/pin.c +133 -0
- data/ext/bonekit/pin.h +58 -0
- data/ext/bonekit/pin_class.c +175 -0
- data/ext/bonekit/pin_class.h +33 -0
- data/ext/bonekit/rbinit.c +42 -0
- data/lib/bonekit/version.rb +3 -0
- data/lib/bonekit.rb +9 -0
- data/lib/bonekit.so +0 -0
- data/spec/pin_spec.rb +55 -0
- data/spec/spec_helper.rb +1 -0
- data/test/test_helper.rb +2 -0
- data/test/unit/pin_test.rb +41 -0
- metadata +154 -0
metadata
ADDED
@@ -0,0 +1,154 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bonekit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: arm-linux
|
6
|
+
authors:
|
7
|
+
- Luis Laugga
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-09-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.9.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.9.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake-compiler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.9.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.9.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rpec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.0.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.0.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: yard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.8.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.8.0
|
83
|
+
description: ! 'BoneKit is a hardware interface toolkit for the beaglebone. It enables
|
84
|
+
access from ruby to hardware features such as: Digital I/O, Interrupts, ADC, PWM,
|
85
|
+
I2C and SPI.'
|
86
|
+
email: dev@laugga.com
|
87
|
+
executables: []
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- .gitignore
|
92
|
+
- Gemfile
|
93
|
+
- LICENSE
|
94
|
+
- README.md
|
95
|
+
- Rakefile
|
96
|
+
- bonekit.gemspec
|
97
|
+
- examples/analog/analog_read.rb
|
98
|
+
- examples/basics/blink.rb
|
99
|
+
- examples/basics/digital_read.rb
|
100
|
+
- examples/basics/switch.rb
|
101
|
+
- ext/bonekit/adc.c
|
102
|
+
- ext/bonekit/adc.h
|
103
|
+
- ext/bonekit/beaglebone.c
|
104
|
+
- ext/bonekit/beaglebone.h
|
105
|
+
- ext/bonekit/beaglebone_global_const.c
|
106
|
+
- ext/bonekit/beaglebone_global_const.h
|
107
|
+
- ext/bonekit/extconf.rb
|
108
|
+
- ext/bonekit/gpio.c
|
109
|
+
- ext/bonekit/gpio.h
|
110
|
+
- ext/bonekit/hmc5883l.c
|
111
|
+
- ext/bonekit/hmc5883l.h
|
112
|
+
- ext/bonekit/hmc5883l_class.c
|
113
|
+
- ext/bonekit/hmc5883l_class.h
|
114
|
+
- ext/bonekit/pin.c
|
115
|
+
- ext/bonekit/pin.h
|
116
|
+
- ext/bonekit/pin_class.c
|
117
|
+
- ext/bonekit/pin_class.h
|
118
|
+
- ext/bonekit/rbinit.c
|
119
|
+
- lib/bonekit.rb
|
120
|
+
- lib/bonekit/version.rb
|
121
|
+
- spec/pin_spec.rb
|
122
|
+
- spec/spec_helper.rb
|
123
|
+
- test/test_helper.rb
|
124
|
+
- test/unit/pin_test.rb
|
125
|
+
- lib/bonekit.so
|
126
|
+
homepage: http://laugga.com/bonekit
|
127
|
+
licenses:
|
128
|
+
- MIT
|
129
|
+
metadata: {}
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ! '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
requirements: []
|
145
|
+
rubyforge_project:
|
146
|
+
rubygems_version: 2.1.4
|
147
|
+
signing_key:
|
148
|
+
specification_version: 4
|
149
|
+
summary: Physical interaction toolkit for the beaglebone.
|
150
|
+
test_files:
|
151
|
+
- spec/pin_spec.rb
|
152
|
+
- spec/spec_helper.rb
|
153
|
+
- test/test_helper.rb
|
154
|
+
- test/unit/pin_test.rb
|