spid-es 0.0.32 → 0.0.33

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: afd826c70f90739045be11c8bfc34e703e2fdf45cb4059fbff53863b34f80126
4
- data.tar.gz: eb412f78bb1ad1e5498f7e7f2a3ed8683b2d527571327b71595b3a01fe01af6d
3
+ metadata.gz: 678eabae1888696ae13ef20f1d9c3a6e180bb244453593798ff6535da3d180d5
4
+ data.tar.gz: fe6f4201824240ec8dffd40a3891d95a726170f3b40f358935bcfba9b220d060
5
5
  SHA512:
6
- metadata.gz: edb1f2460b97716cbf230cd319364cf015b06cee61af607b031925787c4cc04ddaebfb742e4ad504f24cdb595a82d6b7ad5551dc3fcfaf4e5c12247edd164bb5
7
- data.tar.gz: 126404ab5a6bc21ced03cc974f5ffb8947b1d6e0d2cf61045b9d2c2dbff03a34aafb13082de63004e7b568f640dfe4f2a937e8a777bf52386157fc15f690b852
6
+ metadata.gz: 0a52274c11b1d38726295bbaff4d7cbf9a2b7ec3ca06128e5c7b1c36bbf10ad4ae8a346078fd40808c7ac1361bade9ac57111328b99f8577484c4c2f231210bb
7
+ data.tar.gz: a30bb7df8b93cab978687467dee2e9eb42a6de0ce1af282de1e4387763609ee24b63b3954bec0665dc7586ad9fa10bdf8e9c058612fa62367688ce23da562d67
@@ -276,21 +276,34 @@ module Spid
276
276
  }
277
277
 
278
278
  extensions_aggregato = contact_person_aggregato.add_element "md:Extensions"
279
- unless settings.hash_aggregatore['soggetto_aggregato']['vat_number'].blank?
280
- vat_number_aggregato = extensions_aggregato.add_element "spid:VATNumber"
281
- vat_number_aggregato.text = settings.hash_aggregatore['soggetto_aggregato']['vat_number']
282
- end
283
279
  unless settings.hash_aggregatore['soggetto_aggregato']['ipa_code'].blank?
284
280
  ipa_code_aggregato = extensions_aggregato.add_element "spid:IPACode"
285
281
  ipa_code_aggregato.text = settings.hash_aggregatore['soggetto_aggregato']['ipa_code']
286
282
  end
283
+ unless settings.hash_aggregatore['soggetto_aggregato']['vat_number'].blank?
284
+ vat_number_aggregato = extensions_aggregato.add_element "spid:VATNumber"
285
+ vat_number_aggregato.text = settings.hash_aggregatore['soggetto_aggregato']['vat_number']
286
+ end
287
287
  unless settings.hash_aggregatore['soggetto_aggregato']['fiscal_code'].blank?
288
288
  fiscal_code_aggregato = extensions_aggregato.add_element "spid:FiscalCode"
289
289
  fiscal_code_aggregato.text = settings.hash_aggregatore['soggetto_aggregato']['fiscal_code']
290
290
  end
291
+ unless settings.hash_aggregatore['soggetto_aggregato']['ipa_code'].blank?
292
+ tipo_aggregato = extensions_aggregato.add_element "spid:Public"
293
+ end
291
294
 
292
295
  company = contact_person_aggregato.add_element "md:Company"
293
296
  company.text = settings.organization['org_name']
297
+
298
+ unless settings.hash_aggregatore['soggetto_aggregato']['email_address'].blank?
299
+ email_address = contact_person_aggregato.add_element "md:EmailAddress"
300
+ email_address.text = settings.hash_aggregatore['soggetto_aggregato']['email_address']
301
+ end
302
+
303
+ unless settings.hash_aggregatore['soggetto_aggregato']['telephone_number'].blank?
304
+ telephone_number = contact_person_aggregato.add_element "md:TelephoneNumber"
305
+ telephone_number.text = settings.hash_aggregatore['soggetto_aggregato']['telephone_number']
306
+ end
294
307
 
295
308
  end
296
309
 
@@ -2,7 +2,7 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'spid-es'
5
- s.version = '0.0.32'
5
+ s.version = '0.0.33'
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Fabiano Pavan"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spid-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabiano Pavan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-28 00:00:00.000000000 Z
11
+ date: 2020-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: canonix