contacts_client 0.0.43 → 0.0.44

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/app/models/telephone.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjYxMTExNjQxYjI4NWM1Y2EwMmY3N2M4YTM0MWRjNzBjN2Y0NmE1MA==
4
+ MDY2NzVhYWJlYTFhNDA1MTIwMjZmNzkwYWRmOWIzNWM3YzcxNWY0MA==
5
5
  data.tar.gz: !binary |-
6
- NWRkMWMyMjg5ZWVkMWMyZmMzYjVhZTlmZDFkZjBlNmQ2NzQ4NWJkMw==
6
+ YjhkNDZkMmNjMGNkZWIwNmNkN2QxMjc3OTU2M2FjOGZlZTA2YjA3Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2RkMmY4MzFkODZlMDZmZjhjOWEzOGYxZjRiMDVjYmU3Mjg5NmIyMTUzNDg5
10
- YmE0NGU5NDY3MzIyNDIzYjg3NzFkZTIzYWJjN2JhMjg2ZjFhN2U3OTZmM2M2
11
- MTZlMzQ0OGVhZjQxYWUzYTA1ZjY4YzAyZjJlNjJkODQ0NzQ5YmY=
9
+ YWRkODg0ODg1ZDk3MGUyM2I1OTA4NzkzNjE1ZTYyNjU3MmEyZWUzYWFlM2Y0
10
+ NDk2YmU4NGI3NThiMjIwNjRjOWEyNGUxMjAyOGVkMmM3YWIyYWFlODUxMjNj
11
+ ZDYwMTY1NTA0MTE0ZGYxY2M0YzMyOTdiODhmMTM2MTllZjJiODQ=
12
12
  data.tar.gz: !binary |-
13
- MTA5MTFlZjgyMDMwNzVhZDUyZTdkODhjNzRiMjlmNGFhMWRmNTVhOGRjMTdm
14
- ZjIyMjIxMjIzMmIyZTk0N2M0YTc2NmJhZjAwMGFiMDQzMjQ3YjZmOTRhZTgw
15
- NWNmNWNlZjVhZWRkYWVhOWFlODA2MTQwMjlmMjEzMmIyNjM4YTQ=
13
+ OTczZWQyYmMzNGYyNmE3Y2FlYWQzNGY0ZDRlNzNiNmEwNzE1ODAyNzZjMjJj
14
+ Nzk1M2YyNWE2OTkyODk2MDUyZGNjMmVkYWNkMzNjZGNkODU2MTBmYWE0ZjIz
15
+ OWE2OTFiMjhiMTk3ZDBmNWNkNWU1Mzk0NTk4YzZjMzcxZWFlMmU=
@@ -12,7 +12,8 @@ class Telephone < ContactAttribute
12
12
 
13
13
  attr_accessor :category, :value, :public, :primary
14
14
 
15
- validates :value, format: { with: /^[\(|\d][\d| |\)\-|\.]{6,16}.*\d$/ }
15
+ validates :value, format: { with: /^[\(|\d][\d| |\)\-|\.]{6,16}.*\d$/ },
16
+ length: { maximum: 45 }
16
17
 
17
18
  def masked?
18
19
  value.present? && value.last == '#'
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.43
4
+ version: 0.0.44
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-02-05 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties