backframe 0.0.30 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backframe/activerecord/acts_as_phone.rb +1 -1
- data/lib/backframe/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1bdf74706f63ac3c050f8331b44cb5c8f16366d
|
4
|
+
data.tar.gz: 54fadaea0957955e0562d95f23f045a648b5cdec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de568b2b5844a7907c17fb2e2bb9b825b431070b014e0603d993b80000a7f3d11339311ecfce51767de4db036b330cf95f831d8bc2ce7612754acbb3bd44702a
|
7
|
+
data.tar.gz: 36c3c9b38b4676737bb619bf2e058e86382768ab4bd2597cc9d9ef691604f187040bd594e23b325c48f3811e7dee43a8255571ca8df3a429ee4a42cc381522b4
|
@@ -38,7 +38,7 @@ module Backframe
|
|
38
38
|
testvalue = Phony.normalize(self.#{entity})
|
39
39
|
testvalue = '1'+testvalue if (testvalue.length == 10)
|
40
40
|
if Phony.plausible?(testvalue)
|
41
|
-
self
|
41
|
+
self.errors.add(:#{entity}, 'invalid #{entity} number')
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
data/lib/backframe/version.rb
CHANGED