ivt_mellon_reader 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ivt_mellon_reader/client.rb +5 -1
- data/lib/ivt_mellon_reader/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3aa8f6c72ed3f7e78059042a8d66db73c427899e
|
4
|
+
data.tar.gz: 00d97ecbf9350fe3918a4dd095972ffcffd5b5c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b2c939bcbc54a8d422b731a96f21494c2f0abe59c098f9dd9e99f73ef2be1ba8ca7ce03f402187c5e694acfa6e75cea32cb26c176429f37daeb88b4d34912ee
|
7
|
+
data.tar.gz: af7837e98083f4e27f33d2dd63603e78f67ccfd4dcdd2551c8aa9636c74af57c5ea2c8402506f0d82cd8c350a1486b83c376ffd5304fc779eb0407b98702d050
|
@@ -103,7 +103,11 @@ module IvtMellonReader
|
|
103
103
|
|
104
104
|
def birth_date
|
105
105
|
if @client[:Titular].has_key? :dataNascimento
|
106
|
-
|
106
|
+
if !@client[:Titular][:dataNascimento].empty?
|
107
|
+
Date.parse(@client[:Titular][:dataNascimento])
|
108
|
+
else
|
109
|
+
return nil
|
110
|
+
end
|
107
111
|
end
|
108
112
|
end
|
109
113
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ivt_mellon_reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Pérez'
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|