contacts_client 0.0.51 → 0.0.54.pre.c

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,17 +1,7 @@
1
1
  ---
2
- !binary "U0hBMjU2":
3
- metadata.gz: !binary |-
4
- Y2IyM2UxNjBkMTU0MjJjNjQ3OTc2YTY3ZmYyMGUwMzM3MTY0ZjQ0YzRhOGMz
5
- NjhjNzNhMTRmNWUzZmU3MzljZg==
6
- data.tar.gz: !binary |-
7
- MWE0MzlmNzg0N2M1OTg5NjQ4NTI3NGYwMGFiZWYzNjFhZGI1MzBmZWM3ZmEy
8
- ZTgzYWQ4YmYyYWI2NWYyYzJiMg==
2
+ SHA1:
3
+ metadata.gz: 17781b0e225848055aea3a4da3edf703f88e671c
4
+ data.tar.gz: d88cadad8ba67bccda1703d954291f6742c838f5
9
5
  SHA512:
10
- metadata.gz: !binary |-
11
- ZjI4NDgyZjU3NjgyYWJiMTJlNDhiN2U0ODhjOTRkZjFmOWZmMGM3ODU2ZmU4
12
- MWM3YjUwYTFhNDBiYTZiMDIzZGEwMzk0ZDAyYmVlZjNiNDlhM2E2NGUxNTRj
13
- NjY2NzVkNThjNjQ5NmM1NGIyODBhMGU5YmYwZjY5NmIwOGVhN2I=
14
- data.tar.gz: !binary |-
15
- OTJkYzA4OGQyZGU3NDk5YjI5ZTcxMmUyOWY4MmFiMWNhYTk4YjE3NTNmNDQw
16
- YzBhOGIwNDlmNzViODdhODM0YmQ4YWZjZDEyMTBmZjUwOGU4ZmYwYzQ0MjI2
17
- NzViNjkxYzMwNTZmZDBmZTFkMzkwNjM3OTUxNmYxYzkzNjFjNmI=
6
+ metadata.gz: 010bd95dfd95de0c217e48fb4d047e869b22c34da7760a23a4e2cc7b66b07d8e3b5087bcf13f86ef1721b7e001ddc332531e99330fda33987cadf50ba7a42fd3
7
+ data.tar.gz: 208f81d3ddc3d62d7562792d90cefc70a2f4ed1fc38f60e5c95c44af793f5603e3ee85072caabdfcce6ad8a6bbe5b3e674f90e2cbf3f17b09a340b603edffc36
@@ -45,6 +45,12 @@ class PadmaContact < LogicalModel
45
45
  # setter for adding tags on creation or update
46
46
  attribute :new_tag_names
47
47
 
48
+ # accessor for service to cache local version of contact
49
+ attribute :local_contact
50
+
51
+ # accessor for service to cache local version of account-contact relationship
52
+ attribute :current_account_contact
53
+
48
54
  has_many :contact_attributes
49
55
  has_many :attachments
50
56
  has_many :tags
@@ -53,7 +59,7 @@ class PadmaContact < LogicalModel
53
59
  self.enable_delete_multiple = true
54
60
 
55
61
  validates_presence_of :first_name
56
- validates_inclusion_of :gender, in: %W(male female), allow_blank: true
62
+ validates_inclusion_of :gender, in: %W(male female non_binary), allow_blank: true
57
63
  validates_numericality_of :estimated_age, allow_blank: true
58
64
 
59
65
  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,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contacts_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.51
4
+ version: 0.0.54.pre.c
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-17 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: logical_model
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.6.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.6.5
41
41
  description: This is client library for padma-Contacts-ws
@@ -70,24 +70,25 @@ files:
70
70
  homepage: ''
71
71
  licenses: []
72
72
  metadata: {}
73
- post_install_message:
73
+ post_install_message:
74
74
  rdoc_options: []
75
75
  require_paths:
76
76
  - lib
77
77
  required_ruby_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ! '>='
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - ! '>='
84
+ - - ">"
85
85
  - !ruby/object:Gem::Version
86
- version: '0'
86
+ version: 1.3.1
87
87
  requirements: []
88
- rubyforge_project:
89
- rubygems_version: 2.7.7
90
- signing_key:
88
+ rubyforge_project:
89
+ rubygems_version: 2.4.5.2
90
+ signing_key:
91
91
  specification_version: 4
92
92
  summary: Client library for padma-contacts-ws
93
93
  test_files: []
94
+ has_rdoc: