motion-takeoff 0.0.7 → 0.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: 47e0a5393dfcf148ff212c8005c18b42af806a5d
4
- data.tar.gz: af85bf18d7267fdd2951d337b0d4c4771eca65aa
3
+ metadata.gz: a4d3cbb3cdb1c8830294e8608a75c28f53b6663d
4
+ data.tar.gz: 5ffbbedae339a7b8beab45ef372592926f98247a
5
5
  SHA512:
6
- metadata.gz: ec7a5f821b294630c584a248c73adbd6586ed44e7435c02d058dc7593349d3d34007ad28bba30e76a0edbc322fe573d990e41172a70a05a7ed603c80c3872ab9
7
- data.tar.gz: 989804ccbece88bceac781f1d1546c5cad632657e022eda791215e8f8552df190f9d39393a1df2fb8a1d595003b5e3a7be26e925556718054e9ccf0bc37ad977
6
+ metadata.gz: ee52b75ad6a20483da231ac6380f42684f80f4affa28c8ea1384bffa18b5c3ad068389409a2b82c658978ec8b4f9ec637e0cd92db1c1cd667ece069fc7b1e86f
7
+ data.tar.gz: 74828e4b7b26af17cd5854884b1cd1009b9ad0b6c29178a7f8d11e8dd1a0a33d91ef4c41ccea57870acdc10f2371d5c0d379b8f1452fb5f94454dc91aeb0c5d3
data/README.md CHANGED
@@ -1,6 +1,4 @@
1
- # motion-takeoff [![Build Status](https://travis-ci.org/MohawkApps/motion-takeoff.png)](https://travis-ci.org/MohawkApps/motion-takeoff) [![Code Climate](https://codeclimate.com/github/MohawkApps/motion-takeoff.png)](https://codeclimate.com/github/MohawkApps/motion-takeoff) [![Gem Version](https://badge.fury.io/rb/motion-takeoff.png)](http://badge.fury.io/rb/motion-takeoff)
2
-
3
- [![Support via Gittip](https://rawgithub.com/twolfson/gittip-badge/0.1.0/dist/gittip.png)](https://www.gittip.com/markrickert/)
1
+ # motion-takeoff [![Code Climate](https://codeclimate.com/github/MohawkApps/motion-takeoff.png)](https://codeclimate.com/github/MohawkApps/motion-takeoff) [![Gem Version](https://badge.fury.io/rb/motion-takeoff.png)](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
 
@@ -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
- UIApplication.sharedApplication.scheduledLocalNotifications.count
76
+ all.count
71
77
  end
72
78
 
73
79
  def notifications
74
- UIApplication.sharedApplication.scheduledLocalNotifications
80
+ all
75
81
  end
76
82
  end
77
83
  end
78
84
  end
79
-
@@ -1,3 +1,3 @@
1
1
  module Takeoff
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
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.7
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-01-04 00:00:00.000000000 Z
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.0.0
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.0.0
40
+ version: 1.7.0
41
41
  description: A RubyMotion specific iOS gem for scheduling stuff.
42
42
  email:
43
43
  - mjar81@gmail.com