contacts_client 0.0.50 → 0.0.54.pre.b

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
- NjAwODg2NmFmYWQyYWYxNmYwNzhiNDQxOTFjNWRiYTVmZmI3YWMwMTI0ZmQ2
5
- NTVjN2E5MWUxNDJiMDFjM2ZmNA==
6
- data.tar.gz: !binary |-
7
- MjNlOGQ3NGJlOWRmNmI3MThlNTc2ZjQ5MjcyYTgyZGMwZDFkNjFlM2IyMDY1
8
- ZTYyMTU5YWVlMTlmODVmNjg5Zg==
2
+ SHA1:
3
+ metadata.gz: a68f0fc42e869125a95ecb02fabd800852d22bd1
4
+ data.tar.gz: 842398d91114909d4f48ea00800b26e9885825c5
9
5
  SHA512:
10
- metadata.gz: !binary |-
11
- NWVhMjVlMjgyMDU4ZDFmMTgzMDY2NDlkYzE3MWM5ODVmNzFlOTI1OTYxZTlk
12
- NTU3NDRhOWViOTFjNDU5NTkxNjM4MWFhZjU1NWFiOWIyOTVmZTk4NDRjY2Ez
13
- ZmQ3NGI5OTBkOGIzZjlkZjBlZWZmYmM4MmRiZGVlYjJmYjI5MjI=
14
- data.tar.gz: !binary |-
15
- ZWM5OWRkYTFjMTI4M2FkM2FmYjkxYWEyYmI4MWU3OTZlNGRhNWI3NjI1MTQ3
16
- NDNhY2JlNmI5YmQzY2JmNGQzOTU3YWYyMmQwMzc2OThlMzRhZDM3MDU2OGY5
17
- OGEwYTFhNmZmMzU4N2M3Y2I5YTM5Y2EyNjdjNDQ2ZjBjYzU1ZDc=
6
+ metadata.gz: f9ce8815b6f5d62cd34e16b5285d5198879b64ac31f01e477615900ce84e19698055a5767e52de672fdf8197a0f9f4f16c07e2fe24ff822b65b6dd251743a564
7
+ data.tar.gz: ac446807593d19a5a5a9748690f25be778ed6037fbf0e6cc3f805d38e0a4555432a281ffd8d2c985fb88a3c506814e6bf63a8f6f460a7d67bc1dd77c41963540
@@ -45,14 +45,18 @@ 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
+
48
51
  has_many :contact_attributes
49
52
  has_many :attachments
50
53
  has_many :tags
54
+ has_many :history_entries
51
55
 
52
56
  self.enable_delete_multiple = true
53
57
 
54
58
  validates_presence_of :first_name
55
- validates_inclusion_of :gender, in: %W(male female), allow_blank: true
59
+ validates_inclusion_of :gender, in: %W(male female non_binary), allow_blank: true
56
60
  validates_numericality_of :estimated_age, allow_blank: true
57
61
 
58
62
  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.50
4
+ version: 0.0.54.pre.b
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-15 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: