motion-capture 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/project/motion-capture.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da930dcedd39084cf112b4158a95329b90bc7975
|
4
|
+
data.tar.gz: 4be16787b1329e780c73cbd46a22de3d0c5523cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d66d8296c08c1fadef2cf0b1ff1ae89e7805d2b0b893a1bfb59f841cef24380b5ef7596ab824cbac56d805d73d82cd187e65cf5312c67cbdb6c2a6572a72efd5
|
7
|
+
data.tar.gz: 8ab1f3dcec551a40362a48fd3d89ffb715fb81d96e37808bc1ea39d012b663f65435dac4a0e2e126354d5ef31106e09c3e7784ebd22cf75c72830817578de7a4
|
@@ -196,7 +196,7 @@ module Motion; class Capture
|
|
196
196
|
end
|
197
197
|
|
198
198
|
def using_rear_camera?
|
199
|
-
device.position == CAMERA_POSITIONS[:rear]
|
199
|
+
device ? device.position == CAMERA_POSITIONS[:rear] : false
|
200
200
|
end
|
201
201
|
|
202
202
|
def camera_devices
|
@@ -219,7 +219,7 @@ module Motion; class Capture
|
|
219
219
|
end
|
220
220
|
|
221
221
|
def flash_on?
|
222
|
-
[FLASH_MODES[:on], FLASH_MODES[:auto]].include?
|
222
|
+
device ? [FLASH_MODES[:on], FLASH_MODES[:auto]].include?(device.flashMode) : false
|
223
223
|
end
|
224
224
|
|
225
225
|
def session
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-capture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Devon Blandin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|