artoo-roomba 1.0.2 → 1.1.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: ac1550b13547cec9d3cd1582d76fd33cbc88f948
4
- data.tar.gz: f78192d26db53ba3df3b4e502397600fe20898cf
3
+ metadata.gz: 666de5acdc78c1b13ffb27937c00959cdce7d7ed
4
+ data.tar.gz: 5631226e52ee441837d3a7974de77f237b2cea8d
5
5
  SHA512:
6
- metadata.gz: fd59d7a2f1f79067d957fd666c392166dfeaed4df379d68971af642a89c79a3b34b27022323379766615c03eb50e267b4109a08cf0bd82d4569392184aa9bc60
7
- data.tar.gz: ce5f1fc310d29fd61b9342bf4fea656bfba0b73225e373d8fa5d920377d9ee423d04aff0b85f5839e55ec81d54b207faf2659b989158c16f2b156a949dd3524a
6
+ metadata.gz: 16f3476e3e866b6a55c0080287ec0ac752b002d3a18fdcd3f15dd2a9b3fcc28d8bef5bb30cf031a9b8faee8ed124cbd4d516f60bcebbe5200f2ec0616e763b6f
7
+ data.tar.gz: 3e5cfb2b6c0ff62b8fe5e2a721d45a7c6beb55ebbc9fd73071433a938d858971044600fd1ff95f5fed81b8034b375c6c344aeda23d0ab5e2efebf162a80e0fe8
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artoo-roomba (1.0.2)
5
- artoo (>= 1.2.2)
4
+ artoo-roomba (1.1.0)
5
+ artoo (>= 1.4.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- artoo (1.2.2)
10
+ artoo (1.4.1)
11
11
  celluloid (~> 0.15.0)
12
12
  celluloid-io (~> 0.15.0)
13
13
  multi_json (~> 1.6)
@@ -15,7 +15,7 @@ GEM
15
15
  rake
16
16
  reel (~> 0.4.0)
17
17
  thor (~> 0.18.1)
18
- celluloid (0.15.1)
18
+ celluloid (0.15.2)
19
19
  timers (~> 1.1.0)
20
20
  celluloid-io (0.15.0)
21
21
  celluloid (>= 0.15.0)
@@ -30,7 +30,7 @@ GEM
30
30
  minitest-happy (1.0.0)
31
31
  mocha (0.14.0)
32
32
  metaclass (~> 0.0.1)
33
- multi_json (1.8.0)
33
+ multi_json (1.8.2)
34
34
  nio4r (0.5.0)
35
35
  pry (0.9.12.2)
36
36
  coderay (~> 1.0.5)
data/artoo-roomba.gemspec CHANGED
@@ -19,7 +19,7 @@ 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', '>= 1.2.2'
22
+ s.add_runtime_dependency 'artoo', '>= 1.4.0'
23
23
  s.add_development_dependency 'minitest', '>= 5.0'
24
24
  s.add_development_dependency 'minitest-happy'
25
25
  s.add_development_dependency 'mocha', '>= 0.14.0'
@@ -1,5 +1,5 @@
1
1
  module Artoo
2
2
  module Roomba
3
- VERSION = '1.0.2'
3
+ VERSION = '1.1.0'
4
4
  end
5
5
  end
@@ -5,17 +5,8 @@ module Artoo
5
5
  # Connect to a Roomba
6
6
  # @see http://www.irobot.com/en/us/robots/Educators/Create.aspx Roomba information
7
7
  class Roomba < Adaptor
8
- finalizer :finalize
9
8
  attr_reader :sp
10
9
 
11
- # Closes connection if already connected
12
- # @return [Boolean]
13
- def finalize
14
- if connected?
15
- @sp.close
16
- end
17
- end
18
-
19
10
  # Creates serial or tcp connection
20
11
  # @return [Boolean]
21
12
  def connect
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artoo-roomba
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ron Evans
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-09-27 00:00:00.000000000 Z
13
+ date: 2013-10-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: artoo
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.2.2
21
+ version: 1.4.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '>='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.2.2
28
+ version: 1.4.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: minitest
31
31
  requirement: !ruby/object:Gem::Requirement