artoo-raspi 0.2.0 → 0.2.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +9 -9
- data/README.md +3 -3
- data/artoo-raspi.gemspec +1 -1
- data/lib/artoo-raspi/version.rb +1 -1
- data/test/test_helper.rb +5 -0
- metadata +14 -32
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 34a20c1c04d5e5607ae1ddda759aa53174798203
|
4
|
+
data.tar.gz: ff2f4650d72d52bd579d04bb6786592dc1278a20
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e88e12dc9c51c1b0068df4d2a927fc3f093db38ed9623295615f283ae3f7120ebada2702775118386d90bad4ce8d94c25759ae7c56075a7243c682669efb0cdb
|
7
|
+
data.tar.gz: 70a3225603e1bbd2f9ebe68b83f8b132eef928713a1e3ab48d9265d8ec937913aa9f24f9f0b940f93ad119527b57d56e6ff81c94490727a8edf5fd6802acd37f
|
data/Gemfile.lock
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
artoo-raspi (0.2.
|
5
|
-
artoo (~> 1.0.
|
4
|
+
artoo-raspi (0.2.1.pre)
|
5
|
+
artoo (~> 1.1.0.pre)
|
6
6
|
pi_piper
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
artoo (1.0.
|
12
|
-
celluloid (~> 0.
|
13
|
-
celluloid-io (~> 0.
|
11
|
+
artoo (1.1.0.pre)
|
12
|
+
celluloid (~> 0.15.0.pre2)
|
13
|
+
celluloid-io (~> 0.15.0.pre2)
|
14
14
|
multi_json (~> 1.6)
|
15
15
|
pry (~> 0.9)
|
16
16
|
rake (~> 10.0)
|
17
17
|
reel (~> 0.4.0.pre)
|
18
18
|
thor (~> 0.18.1)
|
19
|
-
celluloid (0.
|
19
|
+
celluloid (0.15.0.pre2)
|
20
20
|
timers (>= 1.0.0)
|
21
|
-
celluloid-io (0.
|
22
|
-
celluloid (>= 0.
|
23
|
-
nio4r (>= 0.
|
21
|
+
celluloid-io (0.15.0.pre2)
|
22
|
+
celluloid (>= 0.15.0.pre)
|
23
|
+
nio4r (>= 0.5.0)
|
24
24
|
certified (0.1.1)
|
25
25
|
coderay (1.0.9)
|
26
26
|
ffi (1.9.0)
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Artoo is a open source micro-framework for robotics using Ruby.
|
|
6
6
|
|
7
7
|
For more information about Artoo, check out our repo at https://github.com/hybridgroup/artoo
|
8
8
|
|
9
|
-
This gem makes extensive us the the pi_piper gem (https://github.com/jwhitehorn/pi_piper) thanks to @jwhitehorn
|
9
|
+
This gem makes extensive us the the pi_piper gem (https://github.com/jwhitehorn/pi_piper) thanks to [@jwhitehorn](https://github.com/jwhitehorn)
|
10
10
|
|
11
11
|
[![Code Climate](https://codeclimate.com/github/hybridgroup/artoo-raspi.png)](https://codeclimate.com/github/hybridgroup/artoo-raspi) [![Build Status](https://travis-ci.org/hybridgroup/artoo-raspi.png?branch=master)](https://travis-ci.org/hybridgroup/artoo-raspi)
|
12
12
|
|
@@ -52,11 +52,11 @@ sudo ruby examples/raspi_led.rb
|
|
52
52
|
|
53
53
|
This gem only works on a real Raspberry Pi. Do not bother trying on any other kind of computer it will not work. Also note you will need to connect actual circuits to the Raspberry Pi's GPIO pins. Here is an example of wiring the circuits for the GPIO to connect a single LED:
|
54
54
|
|
55
|
-
![GPIO LED Circuit Example](https://github.com/jwhitehorn/pi_piper/
|
55
|
+
![GPIO LED Circuit Example](https://raw.github.com/jwhitehorn/pi_piper/master/examples/morse_code/circuit.png)
|
56
56
|
|
57
57
|
To add the button used in the example, add a momentary contact switch to the circuit.
|
58
58
|
|
59
|
-
![GPIO Switch Circuit Example](https://github.com/jwhitehorn/pi_piper/
|
59
|
+
![GPIO Switch Circuit Example](https://raw.github.com/jwhitehorn/pi_piper/master/examples/simple_switch/circuit.png)
|
60
60
|
|
61
61
|
## Contributing
|
62
62
|
|
data/artoo-raspi.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
21
|
s.require_paths = ["lib"]
|
22
22
|
|
23
|
-
s.add_runtime_dependency 'artoo', '~> 1.0.
|
23
|
+
s.add_runtime_dependency 'artoo', '~> 1.1.0.pre'
|
24
24
|
s.add_runtime_dependency 'pi_piper'
|
25
25
|
s.add_development_dependency 'minitest', '~> 5.0'
|
26
26
|
s.add_development_dependency 'minitest-happy'
|
data/lib/artoo-raspi/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,52 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artoo-raspi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.1.pre
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ron Evans
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-31 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: artoo
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.0.
|
19
|
+
version: 1.1.0.pre
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.0.
|
26
|
+
version: 1.1.0.pre
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: pi_piper
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: minitest
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,23 +55,20 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: minitest-happy
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: mocha
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -117,32 +106,25 @@ files:
|
|
117
106
|
homepage: https://github.com/hybridgroup/artoo-raspi
|
118
107
|
licenses:
|
119
108
|
- Apache 2.0
|
109
|
+
metadata: {}
|
120
110
|
post_install_message:
|
121
111
|
rdoc_options: []
|
122
112
|
require_paths:
|
123
113
|
- lib
|
124
114
|
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
115
|
requirements:
|
127
|
-
- -
|
116
|
+
- - '>='
|
128
117
|
- !ruby/object:Gem::Version
|
129
118
|
version: '0'
|
130
|
-
segments:
|
131
|
-
- 0
|
132
|
-
hash: -4183422452259887056
|
133
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
-
none: false
|
135
120
|
requirements:
|
136
|
-
- -
|
121
|
+
- - '>'
|
137
122
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
139
|
-
segments:
|
140
|
-
- 0
|
141
|
-
hash: -4183422452259887056
|
123
|
+
version: 1.3.1
|
142
124
|
requirements: []
|
143
125
|
rubyforge_project: artoo-raspi
|
144
|
-
rubygems_version:
|
126
|
+
rubygems_version: 2.0.3
|
145
127
|
signing_key:
|
146
|
-
specification_version:
|
128
|
+
specification_version: 4
|
147
129
|
summary: Artoo adaptor and driver for Raspberry Pi
|
148
130
|
test_files: []
|