factorylabs-apn_on_rails 0.3.0.3 → 0.3.0.20090917115042

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.
@@ -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