contacts_client 0.0.53 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,5 +15,13 @@ class HistoryEntry < LogicalModel
15
15
  def contact_id
16
16
  self.historiable_id
17
17
  end
18
+
19
+ def id
20
+ self._id
21
+ end
22
+
23
+ def id=(value)
24
+ self._id = value
25
+ end
18
26
  end
19
27
 
@@ -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
@@ -53,7 +54,7 @@ class PadmaContact < LogicalModel
53
54
  self.enable_delete_multiple = true
54
55
 
55
56
  validates_presence_of :first_name
56
- 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
57
58
  validates_numericality_of :estimated_age, allow_blank: true
58
59
 
59
60
  validates_associated :contact_attributes
metadata CHANGED
@@ -1,15 +1,15 @@
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.1.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dwayne Macgowan
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-30 00:00:00.000000000 Z
12
+ date: 2021-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -32,17 +32,17 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.6.5
37
+ version: 0.7.1
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: 0.6.5
45
+ version: 0.7.1
46
46
  description: This is client library for padma-Contacts-ws
47
47
  email:
48
48
  - dwaynemac@gmail.com
@@ -74,7 +74,7 @@ files:
74
74
  - config/initializers/contacts_client.rb
75
75
  homepage: ''
76
76
  licenses: []
77
- post_install_message:
77
+ post_install_message:
78
78
  rdoc_options: []
79
79
  require_paths:
80
80
  - lib
@@ -91,10 +91,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubyforge_project:
94
+ rubyforge_project:
95
95
  rubygems_version: 1.8.23.2
96
- signing_key:
96
+ signing_key:
97
97
  specification_version: 3
98
98
  summary: Client library for padma-contacts-ws
99
99
  test_files: []
100
- has_rdoc:
100
+ has_rdoc: