contacts_client 0.0.50 → 0.0.55

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ class PadmaContact < LogicalModel
13
13
  attribute :last_name
14
14
  attribute :gender
15
15
  attribute :estimated_age
16
+ attribute :estimated_age_on
16
17
  attribute :avatar
17
18
  attribute :status
18
19
  attribute :local_status # will only be setted if #find specifies account_name
@@ -48,11 +49,12 @@ class PadmaContact < LogicalModel
48
49
  has_many :contact_attributes
49
50
  has_many :attachments
50
51
  has_many :tags
52
+ has_many :history_entries
51
53
 
52
54
  self.enable_delete_multiple = true
53
55
 
54
56
  validates_presence_of :first_name
55
- validates_inclusion_of :gender, in: %W(male female), allow_blank: true
57
+ validates_inclusion_of :gender, in: %W(male female non_binary), allow_blank: true
56
58
  validates_numericality_of :estimated_age, allow_blank: true
57
59
 
58
60
  validates_associated :contact_attributes
@@ -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.50
4
+ version: 0.0.55
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Dwayne Macgowan
8
- autorequire:
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
12
+ date: 2021-05-19 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
- post_install_message:
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
- rubyforge_project:
89
- rubygems_version: 2.7.7
90
- signing_key:
91
- specification_version: 4
94
+ rubyforge_project:
95
+ rubygems_version: 1.8.23.2
96
+ signing_key:
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
- NjAwODg2NmFmYWQyYWYxNmYwNzhiNDQxOTFjNWRiYTVmZmI3YWMwMTI0ZmQ2
5
- NTVjN2E5MWUxNDJiMDFjM2ZmNA==
6
- data.tar.gz: !binary |-
7
- MjNlOGQ3NGJlOWRmNmI3MThlNTc2ZjQ5MjcyYTgyZGMwZDFkNjFlM2IyMDY1
8
- ZTYyMTU5YWVlMTlmODVmNjg5Zg==
9
- SHA512:
10
- metadata.gz: !binary |-
11
- NWVhMjVlMjgyMDU4ZDFmMTgzMDY2NDlkYzE3MWM5ODVmNzFlOTI1OTYxZTlk
12
- NTU3NDRhOWViOTFjNDU5NTkxNjM4MWFhZjU1NWFiOWIyOTVmZTk4NDRjY2Ez
13
- ZmQ3NGI5OTBkOGIzZjlkZjBlZWZmYmM4MmRiZGVlYjJmYjI5MjI=
14
- data.tar.gz: !binary |-
15
- ZWM5OWRkYTFjMTI4M2FkM2FmYjkxYWEyYmI4MWU3OTZlNGRhNWI3NjI1MTQ3
16
- NDNhY2JlNmI5YmQzY2JmNGQzOTU3YWYyMmQwMzc2OThlMzRhZDM3MDU2OGY5
17
- OGEwYTFhNmZmMzU4N2M3Y2I5YTM5Y2EyNjdjNDQ2ZjBjYzU1ZDc=