artoo-sphero 1.1.1 → 1.2.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: e3b822b2acf8d156d246aa664b84bda7b5529af4
4
- data.tar.gz: dd0854039e5d8d1bd28b74ecdc6a73e0f30037e7
3
+ metadata.gz: e73a37bcec5b30a8ca3683e92523237e7bd0fd86
4
+ data.tar.gz: 5c6eae27a54d587fd233dcb2b33e5a710d1b4319
5
5
  SHA512:
6
- metadata.gz: c4500a8f6544622644c394d94f1dac518e5ee26aacba06b70958d8c7e34fd4596b231b2fa22d414f98b30e97f3fec0160a982380ff7927264a156da76732dd16
7
- data.tar.gz: a773811268a821ef529bf7d0cfb6dbac84a78cbd78d8bd57b0cfda2de6180bbeec6944ecb5b4773e7a7b6df5732a968c692227aec029302e95c6ea2fa069d108
6
+ metadata.gz: 67f50d1cf5c9105877e8a5e06bfc7cecfbb50dfbd8e6157c470010028687f5f4443e9f4f6a138fb5d3387ec67c1585d305a11f78dc9b99a24acf581cfbd35dd7
7
+ data.tar.gz: 36a066ea1516cd11283df95d61974a7445f4976b46db623c468e0979995b91edf299f0c7410f160f17f582041365a398c82f0221a0fabf1c9188572112dac3f7
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artoo-sphero (1.1.1)
5
- artoo (>= 1.2.2)
4
+ artoo-sphero (1.2.0)
5
+ artoo (>= 1.4.0)
6
6
  sphero (>= 1.4.1)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- artoo (1.2.2)
11
+ artoo (1.4.1)
12
12
  celluloid (~> 0.15.0)
13
13
  celluloid-io (~> 0.15.0)
14
14
  multi_json (~> 1.6)
@@ -16,7 +16,7 @@ GEM
16
16
  rake
17
17
  reel (~> 0.4.0)
18
18
  thor (~> 0.18.1)
19
- celluloid (0.15.1)
19
+ celluloid (0.15.2)
20
20
  timers (~> 1.1.0)
21
21
  celluloid-io (0.15.0)
22
22
  celluloid (>= 0.15.0)
@@ -31,7 +31,7 @@ GEM
31
31
  minitest-happy (1.0.0)
32
32
  mocha (0.14.0)
33
33
  metaclass (~> 0.0.1)
34
- multi_json (1.8.0)
34
+ multi_json (1.8.2)
35
35
  nio4r (0.5.0)
36
36
  pry (0.9.12.2)
37
37
  coderay (~> 1.0.5)
data/artoo-sphero.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_runtime_dependency 'sphero', '>= 1.4.1'
24
24
  s.add_development_dependency 'minitest', '>= 5.0'
25
25
  s.add_development_dependency 'minitest-happy'
@@ -6,18 +6,11 @@ module Artoo
6
6
  # @see http://gosphero.com Sphero information
7
7
  # @see http://rubydoc.info/gems/hybridgroup-sphero Sphero gem Documentation
8
8
  class Sphero < Adaptor
9
- finalizer :finalize
10
9
  attr_reader :sphero
11
10
 
12
11
  # Number of retries when connecting
13
12
  RETRY_COUNT = 5
14
13
 
15
- # Closes connection with device if connected
16
- # @return [Boolean]
17
- def finalize
18
- disconnect if connected?
19
- end
20
-
21
14
  # Creates a connection with Sphero object with retries
22
15
  # @return [Boolean]
23
16
  def connect
@@ -1,5 +1,5 @@
1
1
  module Artoo
2
2
  module Sphero
3
- VERSION = '1.1.1'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artoo-sphero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.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: sphero
31
31
  requirement: !ruby/object:Gem::Requirement