./lib/rack/passbook/models/registration.rb in rack-passbook-0.1.1 vs ./lib/rack/passbook/models/registration.rb in rack-passbook-0.2.0
- old
+ new
@@ -18,10 +18,10 @@
super
validates_presence :device_library_identifier
validates_unique [:device_library_identifier, :pass_id]
validates_format /[[:xdigit:]]+/, :push_token
- validates_exact_length 40, :push_token
+ validates_exact_length 64, :push_token
end
private
def normalize_push_token!