artoo 1.1.0.pre → 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: f305a1606ec83852aff4b8334d5a736c69819da0
4
- data.tar.gz: 82916bb9719f1aaa4409ea1cbb4be3ee65708bc2
3
+ metadata.gz: 3e3eeb439427b0af42baf98ca4785ae0c017a09e
4
+ data.tar.gz: 8cdfdc43fca9a234b1d8b1c518b539ad8870265a
5
5
  SHA512:
6
- metadata.gz: 8a214bb8e9fcdacf46d28a15421c0e546baa764924a55baa9385d9c2d4242eaac98b5ae6753e400dbce8bcc93db7d90563a6828d641c7677c38119efddc2f093
7
- data.tar.gz: 203a70fbc509da52603629cfe8d2e9318e83d1c57776f622be3e68148be99c2fba0cdce721572f1e604bc256d933ea0dfc760f5c76dc20da918546335077c99c
6
+ metadata.gz: 046a09825eebba8e83d289f26c0a5efb8a3946685914dd97a4bf4149eaf77124cf2892150f2cb149d06ee0f69fe5c1ad056793274b889762a444711112157e19
7
+ data.tar.gz: 72cac3523ba133f5d5fd72717bd7a61bf63efadf1fe4b26ad5b27653ce5ee5c2e752eee2c79bdc35851e75aa98873d0ffefcf668965a1ae7cd96cf359e06d2e4
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artoo (1.1.0.pre)
5
- celluloid (~> 0.15.0.pre2)
6
- celluloid-io (~> 0.15.0.pre2)
4
+ artoo (1.1.0)
5
+ celluloid (~> 0.15.0)
6
+ celluloid-io (~> 0.15.0)
7
7
  multi_json (~> 1.6)
8
8
  pry (~> 0.9)
9
9
  rake (~> 10.0)
@@ -15,10 +15,10 @@ GEM
15
15
  specs:
16
16
  bootstrap-sass (2.3.2.1)
17
17
  sass (~> 3.2)
18
- celluloid (0.15.0.pre2)
19
- timers (>= 1.0.0)
20
- celluloid-io (0.15.0.pre2)
21
- celluloid (>= 0.15.0.pre)
18
+ celluloid (0.15.0)
19
+ timers (~> 1.1.0)
20
+ celluloid-io (0.15.0)
21
+ celluloid (>= 0.15.0)
22
22
  nio4r (>= 0.5.0)
23
23
  certified (0.1.1)
24
24
  chunky_png (1.2.8)
@@ -20,8 +20,8 @@ Gem::Specification.new do |s|
20
20
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
21
  s.require_paths = ["lib"]
22
22
 
23
- s.add_runtime_dependency 'celluloid', '~> 0.15.0.pre2'
24
- s.add_runtime_dependency 'celluloid-io', '~> 0.15.0.pre2'
23
+ s.add_runtime_dependency 'celluloid', '~> 0.15.0'
24
+ s.add_runtime_dependency 'celluloid-io', '~> 0.15.0'
25
25
  s.add_runtime_dependency 'reel', '~> 0.4.0.pre'
26
26
  s.add_runtime_dependency 'multi_json', '~> 1.6'
27
27
  s.add_runtime_dependency 'rake', '~> 10.0'
@@ -11,10 +11,13 @@ module Artoo
11
11
  def scan
12
12
  case os
13
13
  when :linux
14
- if options[:type] == 'bluetooth'
14
+ case options[:type]
15
+ when 'bluetooth'
15
16
  run("hcitool scan")
16
- elsif options[:type] == 'serial'
17
+ when 'serial'
17
18
  run("ls /dev/tty*")
19
+ when 'usb'
20
+ run("lsusb")
18
21
  else
19
22
  say "ERROR: scan type '#{options[:type]}' not supported!"
20
23
  end
@@ -1,5 +1,5 @@
1
1
  module Artoo
2
2
  unless const_defined?('VERSION')
3
- VERSION = "1.1.0.pre"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
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.1.0.pre
4
+ version: 1.1.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-08-30 00:00:00.000000000 Z
15
+ date: 2013-09-05 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: celluloid
@@ -20,28 +20,28 @@ dependencies:
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 0.15.0.pre2
23
+ version: 0.15.0
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
28
  - - ~>
29
29
  - !ruby/object:Gem::Version
30
- version: 0.15.0.pre2
30
+ version: 0.15.0
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: celluloid-io
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 0.15.0.pre2
37
+ version: 0.15.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: 0.15.0.pre2
44
+ version: 0.15.0
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: reel
47
47
  requirement: !ruby/object:Gem::Requirement
@@ -269,9 +269,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
269
269
  version: '0'
270
270
  required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  requirements:
272
- - - '>'
272
+ - - '>='
273
273
  - !ruby/object:Gem::Version
274
- version: 1.3.1
274
+ version: '0'
275
275
  requirements: []
276
276
  rubyforge_project: artoo
277
277
  rubygems_version: 2.0.3