contacts_client 0.0.52 → 0.0.53

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,10 +17,7 @@ class Email < ContactAttribute
17
17
  self.class.name
18
18
  end
19
19
 
20
-
21
- # enable on rails4 # validates :value, { with: URI::MailTo::EMAIL_REGEXP }
22
- validates :value, :email_format => true # before rails 4
23
-
20
+ validates :value, format: { with: URI::MailTo::EMAIL_REGEXP }
24
21
 
25
22
  private
26
23
  def strip_whitespace
@@ -12,7 +12,7 @@ class Telephone < ContactAttribute
12
12
 
13
13
  attr_accessor :category, :value, :public, :primary
14
14
 
15
- validates :value, format: { with: /\A[\(|\d][\d| |\)\-|\.]{6,16}.*\d\z/ },
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,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contacts_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.52
4
+ version: 0.0.53
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Dwayne Macgowan
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2019-01-18 00:00:00.000000000 Z
12
+ date: 2019-09-30 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: railties
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ! '>='
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ! '>='
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: logical_model
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ! '>='
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ! '>='
39
44
  - !ruby/object:Gem::Version
@@ -45,49 +50,51 @@ executables: []
45
50
  extensions: []
46
51
  extra_rdoc_files: []
47
52
  files:
48
- - app/models/address.rb
53
+ - app/models/tag.rb
54
+ - app/models/contacts_merge.rb
55
+ - app/models/occupation.rb
56
+ - app/models/identification.rb
57
+ - app/models/date_attribute.rb
58
+ - app/models/email.rb
49
59
  - app/models/attachment.rb
60
+ - app/models/padma_contact.rb
50
61
  - app/models/avatar.rb
62
+ - app/models/history_entry.rb
51
63
  - app/models/contact_attribute.rb
52
64
  - app/models/contact_attribute/custom_keys.rb
53
- - app/models/contacts_merge.rb
54
65
  - app/models/custom_attribute.rb
55
- - app/models/date_attribute.rb
56
- - app/models/email.rb
57
- - app/models/history_entry.rb
58
- - app/models/identification.rb
59
- - app/models/occupation.rb
60
- - app/models/padma_contact.rb
61
- - app/models/social_network_id.rb
62
- - app/models/tag.rb
63
66
  - app/models/telephone.rb
67
+ - app/models/address.rb
68
+ - app/models/social_network_id.rb
64
69
  - app/validators/email_format_validator.rb
65
- - config/initializers/contacts_client.rb
70
+ - lib/contacts_client.rb
66
71
  - lib/contacts/belongs_to_contact.rb
67
72
  - lib/contacts/railties.rb
68
73
  - lib/contacts/shared_examples.rb
69
- - lib/contacts_client.rb
74
+ - config/initializers/contacts_client.rb
70
75
  homepage: ''
71
76
  licenses: []
72
- metadata: {}
73
77
  post_install_message:
74
78
  rdoc_options: []
75
79
  require_paths:
76
80
  - lib
77
81
  required_ruby_version: !ruby/object:Gem::Requirement
82
+ none: false
78
83
  requirements:
79
84
  - - ! '>='
80
85
  - !ruby/object:Gem::Version
81
86
  version: '0'
82
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
+ none: false
83
89
  requirements:
84
90
  - - ! '>='
85
91
  - !ruby/object:Gem::Version
86
92
  version: '0'
87
93
  requirements: []
88
94
  rubyforge_project:
89
- rubygems_version: 2.7.7
95
+ rubygems_version: 1.8.23.2
90
96
  signing_key:
91
- specification_version: 4
97
+ specification_version: 3
92
98
  summary: Client library for padma-contacts-ws
93
99
  test_files: []
100
+ has_rdoc:
checksums.yaml DELETED
@@ -1,17 +0,0 @@
1
- ---
2
- !binary "U0hBMjU2":
3
- metadata.gz: !binary |-
4
- NjZjNThhODkzMWUxOGY5OGNlOGQxMTEwNDExYTdkM2Y2ZDk5YWI3YWVmOGJi
5
- NTRjNjNlNzUzMmUwMGE2NzhmOQ==
6
- data.tar.gz: !binary |-
7
- ZDE4ZmQ0MmRkMjI3MmZlYjBiMDhjZWUxMmI1NTc0NGIxNzFjZWM1NmQ2ZjJh
8
- MDdlOWI5MzE4NjIxYmUyMTJlYw==
9
- SHA512:
10
- metadata.gz: !binary |-
11
- MTRhODVkZjIyOWZmNmFiODJiNWU5YjY4ODFmNGM5ZDYwZGVkY2YzMTllMWZm
12
- NjNhNzQ3ODJhZTM3YTEwMTgyOGExODc0NGZjNGE0YzBmMzA2NzRjMzlmN2Mz
13
- MTgxNDhlODI5ZTZmNzZjOTUzZTM0M2JmZjJlZTFjNDg3YTI5ZjE=
14
- data.tar.gz: !binary |-
15
- OTEwMjBmOTI3ZjExZTllN2NhMTE3NzhiNzZhZWU0MWYwZGJmNzhlNDczMDEx
16
- NTE4YTkxYTIwZjE3MTkzZGQzZmVlNTU1ZjE4N2VkZDFkYzc1NmZiNGYyZWI1
17
- YmExODJkNDBmYWQwMWI0N2FhMmVhNGRhZDUxYTVkODZlMDYxNmU=