contacts_client 0.0.45 → 0.0.46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/telephone.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzhlNmE0ZDJlNWE0YTE4OGIzMDc2ZDE2OGIwNjZiZTM0MTA1OWFmYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWNjYjdjODRjZGQzZTMxMWEwYzQ4MzI5NTlmNTc1MzkyYjI5ZDY1Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTIzZTBiZjU3NzgwOWM3OGI1MzQ5NDBmZWYxMzgxY2ExZjYzMzFkMzMyZTk0
|
10
|
+
ZWU4ZTAxMzA5NGM0YTA4N2MxZjNkMTNlMDg0OGVmYTkxYjM1YTk5MWY4YmVh
|
11
|
+
YmQ2MjA4OTNlNTI2YzIxMDc1NjcyNDdmNzk0M2Q3Yjg1N2YxMGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDg4YmJjNGZiYzc1MTAxMDUzYTM5NTkwZDU5NTMwNDdjYzUyYzkxYTMzYTNm
|
14
|
+
NTczMTNhYWIwZjI0YjExNzVlOTZkMjU4Mzg1ZTY3NjA0NDExMTUxNGQ2MGNl
|
15
|
+
ZmQwOGFlOTFlNWE0YzE4MTQzZjgyOTM4OTYzYzQzY2I2NDE5Y2Q=
|
data/app/models/telephone.rb
CHANGED
@@ -12,7 +12,7 @@ class Telephone < ContactAttribute
|
|
12
12
|
|
13
13
|
attr_accessor :category, :value, :public, :primary
|
14
14
|
|
15
|
-
validates :value, format: { with:
|
15
|
+
validates :value, format: { with: /\A[\(|\d][\d| |\)\-|\.]{6,16}.*\d\z/ },
|
16
16
|
length: { maximum: 45 }
|
17
17
|
|
18
18
|
def masked?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contacts_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dwayne Macgowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|