rapns 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rapns/notification.rb +1 -1
- data/lib/rapns/version.rb +1 -1
- metadata +3 -3
data/lib/rapns/notification.rb
CHANGED
@@ -9,7 +9,7 @@ module Rapns
|
|
9
9
|
validates_with Rapns::DeviceTokenFormatValidator
|
10
10
|
validates_with Rapns::BinaryNotificationValidator
|
11
11
|
|
12
|
-
scope :ready_for_delivery, lambda { where(
|
12
|
+
scope :ready_for_delivery, lambda { where('delivered = ? AND failed = ? AND (deliver_after IS NULL OR deliver_after < ?)', false, false, Time.now) }
|
13
13
|
|
14
14
|
def device_token=(token)
|
15
15
|
write_attribute(:device_token, token.delete(" <>")) if !token.nil?
|
data/lib/rapns/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rapns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-01-13 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Easy to use library for Apple's Push Notification Service with Rails
|
15
15
|
3
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 1.8.
|
89
|
+
rubygems_version: 1.8.15
|
90
90
|
signing_key:
|
91
91
|
specification_version: 3
|
92
92
|
summary: Easy to use library for Apple's Push Notification Service with Rails 3
|