motion-xray 1.0.7 → 1.0.8

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: e7647130b6160a8f45f4d9327616d8400f4284e6
4
- data.tar.gz: d2a02146e577cef09c7ef0315b83431edbd51775
3
+ metadata.gz: 13d588a2325973f2c3a1bdaf28441fb474ae8b48
4
+ data.tar.gz: 5942736dcd0c267f20f752bf60d5119bbbd3f39f
5
5
  SHA512:
6
- metadata.gz: 54472423ec4852fe74f4ec5ceba7c740f7360a23e5f62775c94296231d383866e6cdae269adc126ba096e3aceee56eb43fcc830d1da5b6cb5b6180107178a0f3
7
- data.tar.gz: 78d8766e93274bdfa09dfa0d8209c64c036602db0cd70e6897c1ad9c15b8cc59694fcb941027f1933369e2a4242440eb135597876f281cdc771ecde65f2de3c6
6
+ metadata.gz: aa169e074c04d5f1ba0d17ea5d2102a3b819211c344fc14cad62f2b79d25b3282cecc11a10f4d189063ace846f2bdc4a12a8205ec49fa0ba689273cee01f7ce6
7
+ data.tar.gz: 33bc08632d354e762d7059124f08c474851cc6598efc78e09ca7e8909b58f21d9ba7374a1963925b18de2b9effd7160b0bc4a7e3ebda8d487d9dae97e7fcd112
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- motion-xray (1.0.7)
4
+ motion-xray (1.0.8)
5
5
  geomotion (>= 0.10.0)
6
6
  sugarcube (>= 0.20.1)
7
7
 
data/Rakefile CHANGED
@@ -10,4 +10,5 @@ Motion::Project::App.setup do |app|
10
10
  app.detect_dependencies = false
11
11
  app.frameworks << 'MessageUI'
12
12
  app.device_family = [:iphone, :ipad]
13
+ app.info_plist['UIViewControllerBasedStatusBarAppearance'] = false
13
14
  end
@@ -14,6 +14,7 @@ require 'sugarcube-color'
14
14
  require 'sugarcube-events'
15
15
  require 'sugarcube-image'
16
16
  require 'sugarcube-animations'
17
+ require 'sugarcube-timer'
17
18
  require 'geomotion'
18
19
 
19
20
  Motion::Project::App.setup do |app|
@@ -1,5 +1,5 @@
1
1
  module Motion
2
2
  module Xray
3
- Version = '1.0.7'
3
+ Version = '1.0.8'
4
4
  end
5
5
  end
@@ -3,8 +3,10 @@ module Motion ; module Xray
3
3
  class XrayWindow < UIWindow
4
4
 
5
5
  def motionEnded(motion, withEvent:event)
6
- if event.type == UIEventSubtypeMotionShake
6
+ if RUBYMOTION_ENV == 'development' && event.type == UIEventSubtypeMotionShake
7
7
  Xray.toggle
8
+ else
9
+ super
8
10
  end
9
11
  end
10
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-xray
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin T.A. Gray