contacts_client 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/models/date_attribute.rb +1 -1
- metadata +3 -3
|
@@ -20,7 +20,7 @@ class DateAttribute < ContactAttribute
|
|
|
20
20
|
# Is this a birthday with year?
|
|
21
21
|
# @return [Boolean]
|
|
22
22
|
def is_a_complete_birthday?
|
|
23
|
-
self.category == '
|
|
23
|
+
self.category == 'birthday' && !self.year.blank? && self.year!='-'
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
private
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 4
|
|
9
|
+
version: 0.0.4
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Dwayne Macgowan
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2013-01-
|
|
17
|
+
date: 2013-01-12 00:00:00 -03:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|