contacts_client 0.0.53 → 0.0.57
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/history_entry.rb +8 -0
- data/app/models/padma_contact.rb +2 -1
- metadata +12 -12
data/app/models/history_entry.rb
CHANGED
data/app/models/padma_contact.rb
CHANGED
@@ -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.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.57
|
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:
|
12
|
+
date: 2021-11-07 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.
|
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.
|
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:
|