artoo 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +10 -5
- data/Gemfile.lock +33 -11
- data/api/assets/javascripts/artoo/controllers/robot.js.coffee +6 -2
- data/api/assets/stylesheets/core.scss +6 -0
- data/api/public/core.css +1539 -1531
- data/api/public/core.js +11 -0
- data/api/public/partials/robot-detail.html +16 -2
- data/artoo.gemspec +3 -2
- data/bin/sphero_linux_bind.sh +25 -0
- data/examples/ardrone_wiiclassic.rb +18 -22
- data/examples/conway_sphero.procfile +7 -0
- data/examples/conway_sphero.rb +8 -5
- data/examples/sphero_messages.rb +1 -10
- data/lib/artoo/api.rb +3 -3
- data/lib/artoo/drivers/ardrone.rb +2 -0
- data/lib/artoo/drivers/button.rb +15 -2
- data/lib/artoo/drivers/led.rb +1 -1
- data/lib/artoo/drivers/sphero.rb +32 -0
- data/lib/artoo/drivers/wiidriver.rb +19 -9
- data/lib/artoo/version.rb +1 -1
- data/test/connection_test.rb +1 -1
- data/test/delegator_test.rb +1 -1
- data/test/robot_test.rb +1 -1
- data/test/test_helper.rb +0 -1
- metadata +23 -6
data/test/robot_test.rb
CHANGED
@@ -57,7 +57,7 @@ describe Artoo::Robot do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
it 'connects to Artoo::Adaptors::Loopback' do
|
60
|
-
@robot.default_connection.adaptor.
|
60
|
+
@robot.default_connection.adaptor.class.must_equal Artoo::Adaptors::Loopback
|
61
61
|
end
|
62
62
|
|
63
63
|
it 'Artoo::Robot#as_json' do
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artoo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ron Evans
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-05-
|
15
|
+
date: 2013-05-16 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: celluloid
|
@@ -104,28 +104,42 @@ dependencies:
|
|
104
104
|
requirements:
|
105
105
|
- - ~>
|
106
106
|
- !ruby/object:Gem::Version
|
107
|
-
version: '
|
107
|
+
version: '5.0'
|
108
108
|
type: :development
|
109
109
|
prerelease: false
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
112
|
- - ~>
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version: '
|
114
|
+
version: '5.0'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: minitest-happy
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
115
129
|
- !ruby/object:Gem::Dependency
|
116
130
|
name: mocha
|
117
131
|
requirement: !ruby/object:Gem::Requirement
|
118
132
|
requirements:
|
119
133
|
- - ~>
|
120
134
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
135
|
+
version: 0.14.0.alpha
|
122
136
|
type: :development
|
123
137
|
prerelease: false
|
124
138
|
version_requirements: !ruby/object:Gem::Requirement
|
125
139
|
requirements:
|
126
140
|
- - ~>
|
127
141
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
142
|
+
version: 0.14.0.alpha
|
129
143
|
description: Ruby-based microframework for robotics
|
130
144
|
email:
|
131
145
|
- artoo@hybridgroup.com
|
@@ -133,6 +147,7 @@ executables:
|
|
133
147
|
- retry.sh
|
134
148
|
- robi
|
135
149
|
- sphero.sh
|
150
|
+
- sphero_linux_bind.sh
|
136
151
|
- sphero_linux_socat.sh
|
137
152
|
extensions: []
|
138
153
|
extra_rdoc_files: []
|
@@ -179,6 +194,7 @@ files:
|
|
179
194
|
- bin/retry.sh
|
180
195
|
- bin/robi
|
181
196
|
- bin/sphero.sh
|
197
|
+
- bin/sphero_linux_bind.sh
|
182
198
|
- bin/sphero_linux_socat.sh
|
183
199
|
- examples/ardrone.rb
|
184
200
|
- examples/ardrone_nav.rb
|
@@ -188,6 +204,7 @@ files:
|
|
188
204
|
- examples/ardrone_video.rb
|
189
205
|
- examples/ardrone_wiiclassic.rb
|
190
206
|
- examples/christmas_roomba.rb
|
207
|
+
- examples/conway_sphero.procfile
|
191
208
|
- examples/conway_sphero.rb
|
192
209
|
- examples/firmata.rb
|
193
210
|
- examples/firmata_button.rb
|