factorylabs-apn_on_rails 0.3.0.3 → 0.3.0.20090917115042

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ class APN::Device < APN::Base
12
12
 
13
13
  has_many :notifications, :class_name => 'APN::Notification'
14
14
 
15
- validates_uniqueness_of :token, :allow_nil => true
15
+ validates_uniqueness_of :token
16
16
  validates_format_of :token, :with => /^[a-z0-9]{8}\s[a-z0-9]{8}\s[a-z0-9]{8}\s[a-z0-9]{8}\s[a-z0-9]{8}\s[a-z0-9]{8}\s[a-z0-9]{8}\s[a-z0-9]{8}$/, :allow_nil => true
17
17
 
18
18
  before_save :set_last_registered_at
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factorylabs-apn_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.3
4
+ version: 0.3.0.20090917115042
5
5
  platform: ruby
6
6
  authors:
7
7
  - jeremyjackson