artoo-leapmotion 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/artoo-leapmotion.gemspec +1 -1
- data/lib/artoo-leapmotion/version.rb +1 -1
- data/lib/artoo/adaptors/leapmotion.rb +0 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02ceeb606551122ca82891fe48d65a2d10e6800a
|
4
|
+
data.tar.gz: cbd4d8020e08208ade89632c5f798302fff93ea3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a39c3f28d384a2b8c695f367e1f7cfaf55c17a0df0adbb43393ae30cee86afdf096fb01372d8086da32918b355d818a3dd322baa2935d00d3518aa7e713f286
|
7
|
+
data.tar.gz: 780d38f8dc8ae3640f39d134976648a913c44edd4ae2a03004d83f32bbea6707e5eb1342d66d929b3f4eff5a953f52c72e7510ace71676fe30a3bf6660423571
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
artoo-leapmotion (0.
|
5
|
-
artoo (>= 1.
|
4
|
+
artoo-leapmotion (0.3.0)
|
5
|
+
artoo (>= 1.4.0)
|
6
6
|
hybridgroup-celluloid-websocket-client
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
artoo (1.
|
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.
|
19
|
+
celluloid (0.15.2)
|
20
20
|
timers (~> 1.1.0)
|
21
21
|
celluloid-io (0.15.0)
|
22
22
|
celluloid (>= 0.15.0)
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
minitest-happy (1.0.0)
|
35
35
|
mocha (0.14.0)
|
36
36
|
metaclass (~> 0.0.1)
|
37
|
-
multi_json (1.8.
|
37
|
+
multi_json (1.8.2)
|
38
38
|
nio4r (0.5.0)
|
39
39
|
pry (0.9.12.2)
|
40
40
|
coderay (~> 1.0.5)
|
data/artoo-leapmotion.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.
|
22
|
+
s.add_runtime_dependency 'artoo', '>= 1.4.0'
|
23
23
|
s.add_runtime_dependency 'hybridgroup-celluloid-websocket-client'
|
24
24
|
s.add_development_dependency 'minitest', '>= 5.0'
|
25
25
|
s.add_development_dependency 'minitest-happy'
|
@@ -6,15 +6,8 @@ module Artoo
|
|
6
6
|
# Connect to a leapmotion device
|
7
7
|
# @see device documentation for more information
|
8
8
|
class Leapmotion < Adaptor
|
9
|
-
finalizer :finalize
|
10
9
|
attr_reader :leap
|
11
10
|
|
12
|
-
# Closes connection with device if connected
|
13
|
-
# @return [Boolean]
|
14
|
-
def finalize
|
15
|
-
disconnect if connected?
|
16
|
-
end
|
17
|
-
|
18
11
|
# Creates a connection with device
|
19
12
|
# @return [Boolean]
|
20
13
|
def connect
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artoo-leapmotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ron Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: artoo
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.4.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hybridgroup-celluloid-websocket-client
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|