spid-es 0.0.28 → 0.0.29

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: cb8b587fc1cfcdcd48c3036862abaeb4ead7a9cdc4dd49e5d8eff6aa3f957b21
4
- data.tar.gz: 02c2db9b713ff0660ba9866fe3ad4b85f2ffb7329993df80a41da35f1f94d65a
3
+ metadata.gz: 914b31e7840c617f7853dc604a2f89bc73d13b6ffd112d1486e7545ad7436d7f
4
+ data.tar.gz: 931465c5e2d56a53738da3b2d165f8a17231ba8009a22dfb7faf38edc88b7318
5
5
  SHA512:
6
- metadata.gz: a505c385493da04481b3ff5846b4f7202485468946d10b6270fa9c5058aed656368784a383b73bfe6f8e046a78b06d4b91240ace162fd26859da25719d9ad44e
7
- data.tar.gz: 9b4f324436969186405ff0c76caa5bd9ef8dc00250266924d549c6d7244307635da631002758c0aaf9fb45c2aa0314f7274dd7b54df3dadd2421988fff2be706
6
+ metadata.gz: 673f12a17aba77f61dad64c49cecaf5ccddc6a11238575765777b23b7b8c22dd0c4c085413527afff9ec621ebcd7d1418206172dbd30286abbb66f0bdcef99a7
7
+ data.tar.gz: 1e4ec887b388b9a25eacfa0a2d98dac6852436cf77de558d49f2659345a486a640af3f815b66d2bcc4741362c48b8b8c427200df43fed7d1a8d6967277031867
@@ -223,7 +223,7 @@ module Spid
223
223
  "xml:lang" => "it"
224
224
  }
225
225
 
226
- org_display_name.text = settings.organization['org_display_name']+(settings.aggregato ? " tramite #{settings.hash_aggregatore['soggetto_aggregatore']}" : '')
226
+ org_display_name.text = settings.organization['org_display_name'] #+(settings.aggregato ? " tramite #{settings.hash_aggregatore['soggetto_aggregatore']}" : '')
227
227
  org_url = organization.add_element "md:OrganizationURL", {
228
228
  "xml:lang" => "it"
229
229
  }
@@ -238,15 +238,29 @@ module Spid
238
238
  company = contact_person_aggregatore.add_element "md:Company"
239
239
  company.text = settings.hash_aggregatore['soggetto_aggregatore']
240
240
 
241
+ email_address = contact_person_aggregatore.add_element "md:EmailAddress"
242
+ email_address.text = settings.hash_aggregatore['email_address']
243
+
244
+ telephone_number = contact_person_aggregatore.add_element "md:TelephoneNumber"
245
+ telephone_number.text = settings.hash_aggregatore['telephone_number']
246
+
241
247
  extensions_aggregatore = contact_person_aggregatore.add_element "md:Extensions"
242
- vat_number_aggregatore = extensions_aggregatore.add_element "spid:VATNumber"
243
- vat_number_aggregatore.text = settings.hash_aggregatore['piva_aggregatore']
244
-
245
- ipa_code_aggregatore = extensions_aggregatore.add_element "spid:IPACode"
246
- ipa_code_aggregatore.text = settings.hash_aggregatore['cipa_aggregatore']
248
+ unless settings.hash_aggregatore['piva_aggregatore'].blank?
249
+ vat_number_aggregatore = extensions_aggregatore.add_element "spid:VATNumber"
250
+ vat_number_aggregatore.text = settings.hash_aggregatore['piva_aggregatore']
251
+ end
252
+
253
+ unless settings.hash_aggregatore['cipa_aggregatore'].blank?
254
+ ipa_code_aggregatore = extensions_aggregatore.add_element "spid:IPACode"
255
+ ipa_code_aggregatore.text = settings.hash_aggregatore['cipa_aggregatore']
256
+ end
257
+
258
+ unless settings.hash_aggregatore['cf_aggregatore'].blank?
259
+ fiscal_code_aggregatore = extensions_aggregatore.add_element "spid:FiscalCode"
260
+ fiscal_code_aggregatore.text = settings.hash_aggregatore['cf_aggregatore']
261
+ end
247
262
 
248
- fiscal_code_aggregatore = extensions_aggregatore.add_element "spid:FiscalCode"
249
- fiscal_code_aggregatore.text = settings.hash_aggregatore['cf_aggregatore']
263
+ tipo_aggregatore = extensions_aggregatore.add_element "spid:PublicServicesFullAggregator"
250
264
 
251
265
  contact_person_aggregato = root.add_element "md:ContactPerson", {
252
266
  "contactType" => "other",
@@ -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.28'
5
+ s.version = '0.0.29'
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.28
4
+ version: 0.0.29
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-07-09 00:00:00.000000000 Z
11
+ date: 2020-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: canonix