ios_push_notifications 0.9 → 1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module IOSPN
3
3
  set_table_name "iospn_devices"
4
4
  has_many :notifications
5
5
  validates_uniqueness_of :token
6
- 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}$/
6
+ # 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}$/
7
7
 
8
8
  def save
9
9
  self.last_registered_at = Time.now if self.last_registered_at.nil?
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ios_push_notifications
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.9"
5
+ version: "1.0"
6
6
  platform: ruby
7
7
  authors:
8
8
  - Seivan Heidari
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-10 00:00:00 +08:00
13
+ date: 2011-03-13 00:00:00 +08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency