artoo 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ec3dffe53098b116ffd1d43926b191217004e92
4
- data.tar.gz: 1ac14de8f26da07e301b070a4f49c9953d23e3d2
3
+ metadata.gz: fc2c09e0a14563f5fe2f41494c5b6585a4e03149
4
+ data.tar.gz: 9ad3f22226d23f71b6669a02d49d2d7c5aacb725
5
5
  SHA512:
6
- metadata.gz: 65a2047f7c1a45058ecd1c255912e6fe1ab5b9aaf9a3f476d20f385d150972266a37a036aeddea890fe3e0c0a8b27d04dc4264ef4fe6b27518caf3882c22f552
7
- data.tar.gz: b44b3a7e6b8cc1caa1c60f39115c8778d5ec549dd2f7c25ca7c456df6a938a5441ab29ab99cbf0f91aab5fbf267406d4f2ab84c450a823bd079a55b1e2f00355
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
- - Kurtis Rainbolt-Greene([@krainboltgreene](https://github.com/krainboltgreene))
13
- - Luis Galaviz([@MGalv](https://github.com/MGalv))
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artoo (1.3.0)
4
+ artoo (1.4.0)
5
5
  celluloid (~> 0.15.0)
6
6
  celluloid-io (~> 0.15.0)
7
7
  multi_json (~> 1.6)
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 domain-specific language (DSL) for robotics and physical computing.
7
+ Artoo provides a simple, yet powerful Domain-Specific Language (DSL) for robotics and physical computing.
8
8
 
9
9
  [![Code Climate](https://codeclimate.com/github/hybridgroup/artoo.png)](https://codeclimate.com/github/hybridgroup/artoo) [![Build Status](https://travis-ci.org/hybridgroup/artoo.png?branch=master)](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/tty.usbmodemxxxxx'
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-rc1
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 Wiiclassic controller connected to an Arduino to fly your ARDrone:
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-arduino
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 abut Artoo, check out our repo at https://github.com/hybridgroup/artoo
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', '~> <%= artoo_version %>'
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', '~> 5.0'
25
+ # s.add_development_dependency 'minitest', '>= 5.0'
26
26
  # s.add_development_dependency 'minitest-happy'
27
- # s.add_development_dependency 'mocha', '~> 0.14.0'
27
+ # s.add_development_dependency 'mocha', '>= 0.14.0'
28
28
  end
data/lib/artoo/port.rb CHANGED
@@ -43,7 +43,7 @@ module Artoo
43
43
  case
44
44
  # portless
45
45
  when data.nil?
46
- @port = "none"
46
+ @port = nil
47
47
  @is_portless = true
48
48
 
49
49
  # is TCP host/port?
data/lib/artoo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Artoo
2
2
  unless const_defined?('VERSION')
3
- VERSION = "1.3.0"
3
+ VERSION = "1.4.0"
4
4
  end
5
5
  end
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 "none"
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.3.0
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-04 00:00:00.000000000 Z
15
+ date: 2013-10-18 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: celluloid