backframe 0.0.29 → 0.0.30
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebdbf3db5d3fb919597ebb2c99d61d348b13b243
|
4
|
+
data.tar.gz: 0574c991141de7e9a309618dd504c87682a539b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e5165fb38d8eac669db73e54b06d83312347418bac13a7552edcef3b3fc99ca1d503784131e81e66b9e96402cde299e553f3c987c9dbb3c9bcc7f8cc6574f4
|
7
|
+
data.tar.gz: 8c1328458791bb52b2727f3412161958bae5f2607c4e99f24431f5cca7101e558f37ed7a343b0a836b6277c6ba4a8bdc7c6d3fb42c2d5a1bcd9526a655c17231
|
@@ -36,7 +36,7 @@ module Backframe
|
|
36
36
|
|
37
37
|
def validates_phone_#{entity}
|
38
38
|
testvalue = Phony.normalize(self.#{entity})
|
39
|
-
testvalue = '1'+
|
39
|
+
testvalue = '1'+testvalue if (testvalue.length == 10)
|
40
40
|
if Phony.plausible?(testvalue)
|
41
41
|
self.#{entity}.add(:#{entity}, 'invalid #{entity} number')
|
42
42
|
end
|
data/lib/backframe/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backframe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Kops
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-05-
|
12
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: write_xlsx
|