beaglebone-rails 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/README.md +5 -3
- data/beaglebone-rails.gemspec +0 -4
- data/lib/beaglebone/GPIO/pins.rb +43 -0
- data/lib/beaglebone/version.rb +1 -1
- data/lib/beaglebone-rails.rb +1 -0
- metadata +3 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63c4e8a445a9cd50935043e9d14bc4fd0a516c48
|
4
|
+
data.tar.gz: a9d38a2e6a7ac0e0556de016e93d687cdd361a3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2f748f0cb0b64902d8e2841c6e6bf2bb75089cc15fa8ecd2ba7bae1f164e2d8332295769754398d150531bce0658899bfa7ebe70184ca09f7ba72deb194a3af
|
7
|
+
data.tar.gz: d5eb524abb647379501a996def5a45d1c1f914f830703fb2a59417bba5f4487f6f36b2021a9aacd4f833338e284851dbf6c31335ac4e68c88357ccece3741cc4
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
[![Gem](https://img.shields.io/gem/v/beaglebone-rails.svg)]()
|
2
|
-
[![Travis](https://img.shields.io/travis/DivXZero/beaglebone-rails.svg)]()
|
3
|
-
[![
|
1
|
+
[![Gem](https://img.shields.io/gem/v/beaglebone-rails.svg)](https://rubygems.org/gems/beaglebone-rails)
|
2
|
+
[![Travis](https://img.shields.io/travis/DivXZero/beaglebone-rails.svg)](https://travis-ci.org/DivXZero/beaglebone-rails)
|
3
|
+
[![Coveralls](https://img.shields.io/coveralls/DivXZero/beaglebone-rails.svg)](https://coveralls.io/github/DivXZero/beaglebone-rails)
|
4
|
+
[![Inline docs](http://inch-ci.org/github/DivXZero/beaglebone-rails.svg?branch=master&style=shields)](http://inch-ci.org/github/DivXZero/beaglebone-rails)
|
5
|
+
[//]: [![Gemnasium](https://img.shields.io/gemnasium/DivXZero/beaglebone-rails.svg)](https://gemnasium.com/DivXZero/beaglebone-rails)
|
4
6
|
|
5
7
|
# Beaglebone::Rails
|
6
8
|
|
data/beaglebone-rails.gemspec
CHANGED
@@ -19,8 +19,4 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.10"
|
22
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
-
spec.add_development_dependency "rspec"
|
24
|
-
spec.add_development_dependency "yard", "~> 0.8.7.6"
|
25
|
-
spec.add_runtime_dependency "rails", "~> 4.2.5"
|
26
22
|
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
|
2
|
+
module Beaglebone
|
3
|
+
module GPIO
|
4
|
+
PINS = {
|
5
|
+
:P9_11 => 30, :P9_12 => 60,
|
6
|
+
:P9_13 => 31, :P9_14 => 50,
|
7
|
+
:P9_15 => 48, :P9_16 => 51,
|
8
|
+
:P9_17 => 5, :P9_18 => 4,
|
9
|
+
|
10
|
+
:P9_21 => 3, :P9_22 => 2,
|
11
|
+
:P9_23 => 49, :P9_24 => 15,
|
12
|
+
:P9_25 => 117, :P9_26 => 14,
|
13
|
+
:P9_27 => 115, :P9_28 => 113,
|
14
|
+
:P9_29 => 111, :P9_30 => 112,
|
15
|
+
:P9_31 => 110,
|
16
|
+
|
17
|
+
:P9_41 => 20, :P9_42 => 7,
|
18
|
+
|
19
|
+
:P8_3 => 38, :P8_4 => 39,
|
20
|
+
:P8_5 => 34, :P8_6 => 35,
|
21
|
+
:P8_7 => 66, :P8_8 => 67,
|
22
|
+
:P8_9 => 69, :P8_10 => 68,
|
23
|
+
:P8_11 => 45, :P8_12 => 44,
|
24
|
+
:P8_13 => 23, :P8_14 => 26,
|
25
|
+
:P8_15 => 47, :P8_16 => 46,
|
26
|
+
:P8_17 => 27, :P8_18 => 65,
|
27
|
+
:P8_19 => 22, :P8_20 => 63,
|
28
|
+
:P8_21 => 62, :P8_22 => 37,
|
29
|
+
:P8_23 => 36, :P8_24 => 33,
|
30
|
+
:P8_25 => 32, :P8_26 => 61,
|
31
|
+
:P8_27 => 86, :P8_28 => 88,
|
32
|
+
:P8_29 => 87, :P8_30 => 89,
|
33
|
+
:P8_31 => 10, :P8_32 => 11,
|
34
|
+
:P8_33 => 9, :P8_34 => 81,
|
35
|
+
:P8_35 => 8, :P8_36 => 80,
|
36
|
+
:P8_37 => 78, :P8_38 => 79,
|
37
|
+
:P8_39 => 76, :P8_40 => 77,
|
38
|
+
:P8_41 => 74, :P8_42 => 75,
|
39
|
+
:P8_43 => 72, :P8_44 => 73,
|
40
|
+
:P8_45 => 70, :P8_46 => 71
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
data/lib/beaglebone/version.rb
CHANGED
data/lib/beaglebone-rails.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaglebone-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholaus Brabant
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,62 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.10'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '10.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '10.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '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'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: yard
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.8.7.6
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.8.7.6
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rails
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 4.2.5
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 4.2.5
|
83
27
|
description:
|
84
28
|
email:
|
85
29
|
- nicholaus.brabant@gmail.com
|
@@ -100,6 +44,7 @@ files:
|
|
100
44
|
- bin/setup
|
101
45
|
- lib/beaglebone-rails.rb
|
102
46
|
- lib/beaglebone/GPIO/GPIO.rb
|
47
|
+
- lib/beaglebone/GPIO/pins.rb
|
103
48
|
- lib/beaglebone/version.rb
|
104
49
|
homepage: https://github.com/DivXZero/beaglebone-rails
|
105
50
|
licenses:
|
@@ -126,4 +71,3 @@ signing_key:
|
|
126
71
|
specification_version: 4
|
127
72
|
summary: A Beaglebone Gem for Rails
|
128
73
|
test_files: []
|
129
|
-
has_rdoc:
|