artoo 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CONTRIBUTORS.md +6 -3
- data/Gemfile.lock +1 -1
- data/README.md +13 -5
- data/lib/artoo/generators/adaptor/README.md.tt +1 -1
- data/lib/artoo/generators/adaptor/artoo-%adaptor_name%.gemspec.tt +3 -3
- data/lib/artoo/port.rb +1 -1
- data/lib/artoo/version.rb +1 -1
- data/test/port_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc2c09e0a14563f5fe2f41494c5b6585a4e03149
|
4
|
+
data.tar.gz: 9ad3f22226d23f71b6669a02d49d2d7c5aacb725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83cdfc79670a4d97a58aeff5b0c7600def14b30305773b01955e45b31c5b583c285102334ea9c088b9f7538175fdf3aa2cfcb606770015f0ba98bdd402fd35d0
|
7
|
+
data.tar.gz: cf019656c478414e7670aa65fbc57037acf0393fe1f32a20274649e9b0a23cc710e41bfa77d3fd76178b630f06d1c9671b10cbfeb1621739f54e89818fdb411b
|
data/CONTRIBUTORS.md
CHANGED
@@ -5,12 +5,15 @@ Artoo exists thanks to the work of these wonderful individuals:
|
|
5
5
|
- Adrian Zankich ([@adzankich](https://github.com/adzankich))
|
6
6
|
- Andrew Stewart ([@stewart](https://github.com/stewart))
|
7
7
|
- Ari Lerner ([@auser](https://github.com/auser))
|
8
|
+
- Benjamin Abruzzo ([@benjaminabruzzo](https://github.com/benjaminabruzzo))
|
8
9
|
- Daniel Fischer ([@dfischer](https://github.com/dfischer))
|
9
10
|
- Edgar Silva ([@edgarSilva](https://github.com/edgarSilva))
|
10
11
|
- Jake Good ([@whoisjake](https://github.com/whoisjake))
|
11
12
|
- Javier Cervantes ([@solojavier](https://github.com/solojavier))
|
12
|
-
-
|
13
|
-
-
|
13
|
+
- Joe Merante ([@joemerante](https://github.com/joemerante))
|
14
|
+
- Julian Cheal ([@juliancheal](https://github.com/juliancheal))
|
15
|
+
- Kurtis Rainbolt-Greene ([@krainboltgreene](https://github.com/krainboltgreene))
|
16
|
+
- Luis Galaviz ([@MGalv](https://github.com/MGalv))
|
14
17
|
- Mario "Kuroir" Ricalde ([@MarioRicalde](https://github.com/MarioRicalde))
|
15
18
|
- Mike Ford ([@mikejford](https://github.com/mikejford))
|
16
19
|
- Rafael Magana ([@rafmagana](https://github.com/rafmagana))
|
@@ -19,4 +22,4 @@ Artoo exists thanks to the work of these wonderful individuals:
|
|
19
22
|
|
20
23
|
Thank you!
|
21
24
|
|
22
|
-
Please join us, we'd love your contribution too
|
25
|
+
Please join us, we'd love your contribution too.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@ http://artoo.io/
|
|
4
4
|
|
5
5
|
Artoo is a micro-framework for robotics using Ruby.
|
6
6
|
|
7
|
-
Artoo provides a simple, yet powerful
|
7
|
+
Artoo provides a simple, yet powerful Domain-Specific Language (DSL) for robotics and physical computing.
|
8
8
|
|
9
9
|
[](https://codeclimate.com/github/hybridgroup/artoo) [](https://travis-ci.org/hybridgroup/artoo)
|
10
10
|
|
@@ -17,7 +17,7 @@ Artoo provides a simple, yet powerful domain-specific language (DSL) for robotic
|
|
17
17
|
```ruby
|
18
18
|
require 'artoo'
|
19
19
|
|
20
|
-
connection :arduino, :adaptor => :firmata, :port => '/dev/
|
20
|
+
connection :arduino, :adaptor => :firmata, :port => '/dev/ttyACM0'
|
21
21
|
device :led, :driver => :led, :pin => 13
|
22
22
|
device :button, :driver => :button, :pin => 2
|
23
23
|
|
@@ -73,8 +73,13 @@ SPHEROS.each {|p|
|
|
73
73
|
SpheroRobot.work!(robots)
|
74
74
|
```
|
75
75
|
|
76
|
-
Ruby versions supported: Ruby 2.0, Ruby 1.9.3, JRuby 1.7.4, and Rubinius 2.0
|
76
|
+
Ruby versions supported: Ruby 2.0, Ruby 1.9.3, JRuby 1.7.4, and Rubinius 2.0.
|
77
77
|
|
78
|
+
Rubinius requires 1.9 mode, to install Rubinius in 1.9 mode using rvm
|
79
|
+
|
80
|
+
```
|
81
|
+
rvm get head && rvm install rbx-2.0.0 --1.9
|
82
|
+
```
|
78
83
|
|
79
84
|
Artoo is conceptualy influenced by [Sinatra](https://github.com/sinatra/sinatra) as well as borrowing some code from it.
|
80
85
|
|
@@ -88,8 +93,11 @@ Artoo has a extensible system for connecting to hardware devices. The following
|
|
88
93
|
|
89
94
|
- [Arduino](http://www.arduino.cc/) <=> [Adaptor](https://github.com/hybridgroup/artoo-arduino)
|
90
95
|
- [ARDrone](http://ardrone2.parrot.com/) <=> [Adaptor](https://github.com/hybridgroup/artoo-ardrone)
|
96
|
+
- [BeagleBone](http://beagleboard.org/) <=> [Adaptor](https://github.com/hybridgroup/artoo-beaglebone)
|
97
|
+
- [Crazyflie](http://www.bitcraze.se/) <=> [Adaptor](https://github.com/hybridgroup/artoo-crazyflie)
|
91
98
|
- [Digispark](http://digistump.com/products/1) <=> [Adaptor](https://github.com/hybridgroup/artoo-digispark)
|
92
99
|
- [Leap Motion](https://www.leapmotion.com/) <=> [Adaptor](https://github.com/hybridgroup/artoo-leapmotion)
|
100
|
+
- [Joystick](http://www.libsdl.org/) <=> [Adaptor](https://github.com/hybridgroup/artoo-joystick)
|
93
101
|
- [Pebble](http://getpebble.com/) <=> [Adaptor](https://github.com/hybridgroup/artoo-pebble)
|
94
102
|
- [Raspberry Pi](http://www.raspberrypi.org/) <=> [Adaptor](https://github.com/hybridgroup/artoo-raspi)
|
95
103
|
- [Roomba](http://www.irobot.com/us/robots/Educators/Create.aspx) <=> [Adaptor](https://github.com/hybridgroup/artoo-roomba)
|
@@ -111,10 +119,10 @@ Do you have some hardware that is not yet supported by Artoo? We want to help yo
|
|
111
119
|
gem install artoo
|
112
120
|
```
|
113
121
|
|
114
|
-
Then install the gems required by the hardware you want to use. For example, if you wanted to integrate a
|
122
|
+
Then install the gems required by the hardware you want to use. For example, if you wanted to integrate a PS3 controller to fly your ARDrone:
|
115
123
|
|
116
124
|
```ruby
|
117
|
-
gem install artoo-
|
125
|
+
gem install artoo-joystick
|
118
126
|
gem install artoo-ardrone
|
119
127
|
```
|
120
128
|
|
@@ -4,7 +4,7 @@ This repository contains the Artoo (http://artoo.io/) adaptor for <%= adaptor_cl
|
|
4
4
|
|
5
5
|
Artoo is a open source micro-framework for robotics using Ruby.
|
6
6
|
|
7
|
-
For more information
|
7
|
+
For more information about Artoo, check out our repo at https://github.com/hybridgroup/artoo
|
8
8
|
|
9
9
|
## Installing
|
10
10
|
|
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_runtime_dependency 'artoo', '
|
22
|
+
s.add_runtime_dependency 'artoo', '>= <%= artoo_version %>'
|
23
23
|
# TODO: add your development dependencies here
|
24
24
|
# EXAMPLE:
|
25
|
-
# s.add_development_dependency 'minitest', '
|
25
|
+
# s.add_development_dependency 'minitest', '>= 5.0'
|
26
26
|
# s.add_development_dependency 'minitest-happy'
|
27
|
-
# s.add_development_dependency 'mocha', '
|
27
|
+
# s.add_development_dependency 'mocha', '>= 0.14.0'
|
28
28
|
end
|
data/lib/artoo/port.rb
CHANGED
data/lib/artoo/version.rb
CHANGED
data/test/port_test.rb
CHANGED
@@ -12,7 +12,7 @@ describe Artoo::Port do
|
|
12
12
|
@remote_tcp_port.port.must_equal "8080"
|
13
13
|
@local_tcp_port.port.must_equal "5678"
|
14
14
|
@serial_port.port.must_equal "/dev/tty.usb12345"
|
15
|
-
@portless.port.must_equal
|
15
|
+
@portless.port.must_equal nil
|
16
16
|
end
|
17
17
|
|
18
18
|
it 'Artoo::Port#is_tcp?' do
|
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: 1.
|
4
|
+
version: 1.4.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-10-
|
15
|
+
date: 2013-10-18 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: celluloid
|