egov_utils 1.5.0.alpha7 → 1.5.0.alpha8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d80ce57772376984dc71c64d0decbdd53c4073799b6723342894bc9a3bedca3
4
- data.tar.gz: e1fc10f642117f82182dee45fc843f8edae595e147ca947282451d98ba3c172b
3
+ metadata.gz: b6a2e101cbf4b714b08ce70939e456be732a40ab86d7604353fb38305c0a1279
4
+ data.tar.gz: f35085cfd393565d01c9e29ec2cf8fce368a969681bed47fe4764152443b892f
5
5
  SHA512:
6
- metadata.gz: bf4f4e4e7c9d410dae945f4ba17277542f7a6e592fbe608dbc8138aaa18d95d231ecc49cbda23956f6656810d55d77c979f68a2fd205f7d4c3df5bb53da94387
7
- data.tar.gz: 46ae91daba2de27e4eb820b33ff0b88b19e3cbef7872df53532a928eb9e0aef3090477854167674983b749f63fd9ee84907be51896f107e1ba005e1dddd26b30
6
+ metadata.gz: a07adfc98c660f9bb8a109438df3c39c8012358a7185c3378eb273622c8b21aa6195b9a960c34c80955d7b292feaadf8a4fd66134e3b3843152b42049bd2a923
7
+ data.tar.gz: c065f9700cfb5fa5cb5da42105c40935018db05cfedec59b138a6e0f33a10bf9581c56eccea52f3f05c7a7b8cc1d2ed84a32826630d0c70b957c788c26d233b8
@@ -8,12 +8,12 @@ module EgovUtils
8
8
  private
9
9
 
10
10
  def handle_response!
11
- EgovUtils::NaturalPerson.new(
11
+ {
12
12
  firstname: response_body.xpath('//Jmeno').text.capitalize,
13
13
  lastname: response_body.xpath('//Prijmeni').text.capitalize,
14
14
  birth_date: response_body.xpath('//DatumNarozeni').text,
15
15
  birth_place: response_body.xpath('//Lokalita/Nazev').text
16
- )
16
+ }
17
17
  end
18
18
 
19
19
  def body
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '1.5.0.alpha7'
2
+ VERSION = '1.5.0.alpha8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egov_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.alpha7
4
+ version: 1.5.0.alpha8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr