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 +4 -4
- data/lib/project/reminders.rb +2 -1
- data/lib/project/version.rb +1 -1
- 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: c75f93232e1eaac14f9f0683066d3819729149b6
|
4
|
+
data.tar.gz: eac535f362ee6497b39ff3f25202bf63cfc8b2a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efde29707cbc183ac0b65f2fcd95e64f387131b7e23f53ebed7ed0dd7999a137ce08439763cae85b3310fa70d2f2cd42654d50b7fbcfdc4c0153a25a21dcf93c
|
7
|
+
data.tar.gz: 99b5090aca7a49bb2c2d62c1c186638813100e809cfb39924499af39bf0f7996c7e265e65cf780b83db37db69bdf9b90f1fb24cd1b734406722871eb5cacc6c1
|
data/lib/project/reminders.rb
CHANGED
@@ -3,7 +3,8 @@ module Takeoff
|
|
3
3
|
|
4
4
|
class << self
|
5
5
|
def setup
|
6
|
-
|
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)
|
data/lib/project/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|