motion-takeoff 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/lib/project/reminders.rb +8 -3
- data/lib/project/version.rb +1 -1
- 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: a4d3cbb3cdb1c8830294e8608a75c28f53b6663d
|
|
4
|
+
data.tar.gz: 5ffbbedae339a7b8beab45ef372592926f98247a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee52b75ad6a20483da231ac6380f42684f80f4affa28c8ea1384bffa18b5c3ad068389409a2b82c658978ec8b4f9ec637e0cd92db1c1cd667ece069fc7b1e86f
|
|
7
|
+
data.tar.gz: 74828e4b7b26af17cd5854884b1cd1009b9ad0b6c29178a7f8d11e8dd1a0a33d91ef4c41ccea57870acdc10f2371d5c0d379b8f1452fb5f94454dc91aeb0c5d3
|
data/README.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
# motion-takeoff [](https://www.gittip.com/markrickert/)
|
|
1
|
+
# motion-takeoff [](https://codeclimate.com/github/MohawkApps/motion-takeoff) [](http://badge.fury.io/rb/motion-takeoff)
|
|
4
2
|
|
|
5
3
|
A RubyMotion specific iOS gem for scheduling stuff. You can use motion-takeoff to display messages at certain launch counts and schedule local notifications. Currently, there are two modules in this gem: `Messages` & `Reminders`.
|
|
6
4
|
|
data/lib/project/reminders.rb
CHANGED
|
@@ -57,6 +57,8 @@ module Takeoff
|
|
|
57
57
|
notif.userInfo = opts[:user_info]
|
|
58
58
|
end
|
|
59
59
|
UIApplication.sharedApplication.scheduleLocalNotification notification
|
|
60
|
+
|
|
61
|
+
notification
|
|
60
62
|
end
|
|
61
63
|
|
|
62
64
|
def reset
|
|
@@ -66,14 +68,17 @@ module Takeoff
|
|
|
66
68
|
end
|
|
67
69
|
end
|
|
68
70
|
|
|
71
|
+
def all
|
|
72
|
+
UIApplication.sharedApplication.scheduledLocalNotifications
|
|
73
|
+
end
|
|
74
|
+
|
|
69
75
|
def count
|
|
70
|
-
|
|
76
|
+
all.count
|
|
71
77
|
end
|
|
72
78
|
|
|
73
79
|
def notifications
|
|
74
|
-
|
|
80
|
+
all
|
|
75
81
|
end
|
|
76
82
|
end
|
|
77
83
|
end
|
|
78
84
|
end
|
|
79
|
-
|
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.8
|
|
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-
|
|
11
|
+
date: 2015-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - ">"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.
|
|
33
|
+
version: 1.7.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ">"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.
|
|
40
|
+
version: 1.7.0
|
|
41
41
|
description: A RubyMotion specific iOS gem for scheduling stuff.
|
|
42
42
|
email:
|
|
43
43
|
- mjar81@gmail.com
|