fiscalizer 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 045e9981b8eb241a0f835bec36c807dc3d5a0c63
4
- data.tar.gz: 2a9d580d9fe57d603ac159dbab9ea6f40150c117
3
+ metadata.gz: 34a5d71923c8d6d000befe77d5fb43fd23bd8849
4
+ data.tar.gz: ed5e75220e3a7297d8bd2d0c3db7213df86834ae
5
5
  SHA512:
6
- metadata.gz: 215031491a90f3a1bb98004a78bdab4fdfe4756eb53a543ffb0f4b714a3a02de63c3fb5fc011a9905927e26bf057f3c868f60f006d7db7b3d3f5606b7d6fc026
7
- data.tar.gz: 37f49cca56f04ac490857d73dd26654f12b745b66769f98c4e3fb9b98bde583aed88ca6c097dd8f881242abf1b49604cc15677116b332201df10255a6a634c93
6
+ metadata.gz: 243478070f354f8e4dcfecaf45237e4a0db9e4998f89fe88d66d144c350badfe7dc6ca9dc860810652d3b9e7bd3dd1365d5b90a4e6361d8729fe6d110ad8fbcc
7
+ data.tar.gz: 99ad408075abc325acc2fc7e11c5f4172bca77ae6431c97bfa009456bc949daec9a2bceb52e00ae6bdd6473faf1d1f95183793a81ab09141e5eff168c1e5c059
@@ -111,12 +111,12 @@ class Fiscalizer
111
111
  xml['tns'].OznPoslProstora object.office_label
112
112
  xml['tns'].AdresniPodatak {
113
113
  xml['tns'].Adresa {
114
- xml['tns'].Ulica object.adress_street_name
115
- xml['tns'].KucniBroj object.adress_house_num
116
- xml['tns'].KucniBrojDodatak object.adress_house_num_addendum
117
- xml['tns'].BrojPoste object.adress_post_num
118
- xml['tns'].Naselje object.adress_settlement
119
- xml['tns'].Opcina object.adress_township
114
+ xml['tns'].Ulica object.adress_street_name if object.adress_street_name != nil
115
+ xml['tns'].KucniBroj object.adress_house_num if object.adress_house_num != nil
116
+ xml['tns'].KucniBrojDodatak object.adress_house_num_addendum if object.adress_house_num_addendum != nil
117
+ xml['tns'].BrojPoste object.adress_post_num if object.adress_post_num != nil
118
+ xml['tns'].Naselje object.adress_settlement if object.adress_settlement != nil
119
+ xml['tns'].Opcina object.adress_township if object.adress_township != nil
120
120
  } if object.adress_other == nil
121
121
  xml['tns'].OstaliTipoviPP object.adress_other if object.adress_other != nil
122
122
  }
@@ -1,3 +1,3 @@
1
1
  class Fiscalizer
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiscalizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanko Krtalić Rusendić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-07 00:00:00.000000000 Z
11
+ date: 2014-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri