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.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/app/models/telephone.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDc0NzQ5YTgzZDI3OGZjZWE0OTE3ZmYyYmJlMDQ4YzhmZjJjNDhkYg==
4
+ NzhlNmE0ZDJlNWE0YTE4OGIzMDc2ZDE2OGIwNjZiZTM0MTA1OWFmYw==
5
5
  data.tar.gz: !binary |-
6
- YzdlYzA2YWRjZjM3NDJjNjZlZmQwNzc5NTk1Mjk0MWE4Zjk5OWEyYQ==
6
+ MWNjYjdjODRjZGQzZTMxMWEwYzQ4MzI5NTlmNTc1MzkyYjI5ZDY1Mg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzQ2ODc3OWVjY2Y3MGE0YjlhNDI1M2E0MjkzNTUxYzkwZGVlMjVlOTg5ODgz
10
- OWY2MjRiNWVmOTdhZWE0MzJiZDJkMmM5YTkyNjZhNWY5Yzk5YmExNzEwZGY0
11
- NGIxNWM0YWU3ZDY0YzhjN2U5ZTBkMmRhOWY1YTBmZmM4OWI3MmQ=
9
+ MTIzZTBiZjU3NzgwOWM3OGI1MzQ5NDBmZWYxMzgxY2ExZjYzMzFkMzMyZTk0
10
+ ZWU4ZTAxMzA5NGM0YTA4N2MxZjNkMTNlMDg0OGVmYTkxYjM1YTk5MWY4YmVh
11
+ YmQ2MjA4OTNlNTI2YzIxMDc1NjcyNDdmNzk0M2Q3Yjg1N2YxMGU=
12
12
  data.tar.gz: !binary |-
13
- ZmJkNmZmYWZkZDAwMjJlMjQ2YWNlODgwYWY0MzgzZmVjZmUxMWVjMGRmYTVm
14
- NDI0YTEyYTJiZDQ3OTdhNDA2N2RjMGE5NDdhN2Y4YjZhMDM4NGYzMDFiNjY3
15
- YTQ4NmEzNTA0OWI4N2FmM2U2ZmU1ZGM5MWZjNGM2ZDE4YTE4NmE=
13
+ NDg4YmJjNGZiYzc1MTAxMDUzYTM5NTkwZDU5NTMwNDdjYzUyYzkxYTMzYTNm
14
+ NTczMTNhYWIwZjI0YjExNzVlOTZkMjU4Mzg1ZTY3NjA0NDExMTUxNGQ2MGNl
15
+ ZmQwOGFlOTFlNWE0YzE4MTQzZjgyOTM4OTYzYzQzY2I2NDE5Y2Q=
@@ -12,7 +12,7 @@ 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: /\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.45
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-06-18 00:00:00.000000000 Z
11
+ date: 2017-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties