contacts_client 0.0.53 → 0.0.54.pre.b

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 +7 -0
  2. data/app/models/padma_contact.rb +4 -1
  3. metadata +29 -35
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a68f0fc42e869125a95ecb02fabd800852d22bd1
4
+ data.tar.gz: 842398d91114909d4f48ea00800b26e9885825c5
5
+ SHA512:
6
+ metadata.gz: f9ce8815b6f5d62cd34e16b5285d5198879b64ac31f01e477615900ce84e19698055a5767e52de672fdf8197a0f9f4f16c07e2fe24ff822b65b6dd251743a564
7
+ data.tar.gz: ac446807593d19a5a5a9748690f25be778ed6037fbf0e6cc3f805d38e0a4555432a281ffd8d2c985fb88a3c506814e6bf63a8f6f460a7d67bc1dd77c41963540
@@ -45,6 +45,9 @@ 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
@@ -53,7 +56,7 @@ class PadmaContact < LogicalModel
53
56
  self.enable_delete_multiple = true
54
57
 
55
58
  validates_presence_of :first_name
56
- 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
57
60
  validates_numericality_of :estimated_age, allow_blank: true
58
61
 
59
62
  validates_associated :contact_attributes
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contacts_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.53
5
- prerelease:
4
+ version: 0.0.54.pre.b
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dwayne Macgowan
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2019-09-30 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: railties
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.1'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: logical_model
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: 0.6.5
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: 0.6.5
46
41
  description: This is client library for padma-Contacts-ws
@@ -50,51 +45,50 @@ executables: []
50
45
  extensions: []
51
46
  extra_rdoc_files: []
52
47
  files:
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
48
+ - app/models/address.rb
59
49
  - app/models/attachment.rb
60
- - app/models/padma_contact.rb
61
50
  - app/models/avatar.rb
62
- - app/models/history_entry.rb
63
51
  - app/models/contact_attribute.rb
64
52
  - app/models/contact_attribute/custom_keys.rb
53
+ - app/models/contacts_merge.rb
65
54
  - app/models/custom_attribute.rb
66
- - app/models/telephone.rb
67
- - app/models/address.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
68
61
  - app/models/social_network_id.rb
62
+ - app/models/tag.rb
63
+ - app/models/telephone.rb
69
64
  - app/validators/email_format_validator.rb
70
- - lib/contacts_client.rb
65
+ - config/initializers/contacts_client.rb
71
66
  - lib/contacts/belongs_to_contact.rb
72
67
  - lib/contacts/railties.rb
73
68
  - lib/contacts/shared_examples.rb
74
- - config/initializers/contacts_client.rb
69
+ - lib/contacts_client.rb
75
70
  homepage: ''
76
71
  licenses: []
77
- post_install_message:
72
+ metadata: {}
73
+ post_install_message:
78
74
  rdoc_options: []
79
75
  require_paths:
80
76
  - lib
81
77
  required_ruby_version: !ruby/object:Gem::Requirement
82
- none: false
83
78
  requirements:
84
- - - ! '>='
79
+ - - ">="
85
80
  - !ruby/object:Gem::Version
86
81
  version: '0'
87
82
  required_rubygems_version: !ruby/object:Gem::Requirement
88
- none: false
89
83
  requirements:
90
- - - ! '>='
84
+ - - ">"
91
85
  - !ruby/object:Gem::Version
92
- version: '0'
86
+ version: 1.3.1
93
87
  requirements: []
94
- rubyforge_project:
95
- rubygems_version: 1.8.23.2
96
- signing_key:
97
- specification_version: 3
88
+ rubyforge_project:
89
+ rubygems_version: 2.4.5.2
90
+ signing_key:
91
+ specification_version: 4
98
92
  summary: Client library for padma-contacts-ws
99
93
  test_files: []
100
- has_rdoc:
94
+ has_rdoc: