motion-takeoff 0.0.8 → 0.0.9

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: a4d3cbb3cdb1c8830294e8608a75c28f53b6663d
4
- data.tar.gz: 5ffbbedae339a7b8beab45ef372592926f98247a
3
+ metadata.gz: c75f93232e1eaac14f9f0683066d3819729149b6
4
+ data.tar.gz: eac535f362ee6497b39ff3f25202bf63cfc8b2a7
5
5
  SHA512:
6
- metadata.gz: ee52b75ad6a20483da231ac6380f42684f80f4affa28c8ea1384bffa18b5c3ad068389409a2b82c658978ec8b4f9ec637e0cd92db1c1cd667ece069fc7b1e86f
7
- data.tar.gz: 74828e4b7b26af17cd5854884b1cd1009b9ad0b6c29178a7f8d11e8dd1a0a33d91ef4c41ccea57870acdc10f2371d5c0d379b8f1452fb5f94454dc91aeb0c5d3
6
+ metadata.gz: efde29707cbc183ac0b65f2fcd95e64f387131b7e23f53ebed7ed0dd7999a137ce08439763cae85b3310fa70d2f2cd42654d50b7fbcfdc4c0153a25a21dcf93c
7
+ data.tar.gz: 99b5090aca7a49bb2c2d62c1c186638813100e809cfb39924499af39bf0f7996c7e265e65cf780b83db37db69bdf9b90f1fb24cd1b734406722871eb5cacc6c1
@@ -3,7 +3,8 @@ module Takeoff
3
3
 
4
4
  class << self
5
5
  def setup
6
- if Device.ios_version >= "8.0"
6
+ version_components = Device.ios_version.split '.'
7
+ if version_components[0].to_i >= 8
7
8
  types = UIUserNotificationTypeSound | UIUserNotificationTypeBadge | UIUserNotificationTypeAlert
8
9
  notificationSettings = UIUserNotificationSettings.settingsForTypes(types, categories:nil)
9
10
  UIApplication.sharedApplication.registerUserNotificationSettings(notificationSettings)
@@ -1,3 +1,3 @@
1
1
  module Takeoff
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-takeoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rickert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-29 00:00:00.000000000 Z
11
+ date: 2017-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake