spid-es 0.0.30 → 0.0.31

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: ef4d9da8e2a6d3b9e6f0b70a8970010864b1cc98a9b3ca7461717512ec6a04b4
4
- data.tar.gz: 18c491970d8215cb051c0a505cf33a65b2f0a1170735d27b527a0c1b2777b5bf
3
+ metadata.gz: 45a2021698f17c419eff32d26d8ce5a49cad6b73aa011448a8457d1a3e94d964
4
+ data.tar.gz: aa22c0c52bc2cc16d91403d32465df43ff880302444d500f99d7bfd816787048
5
5
  SHA512:
6
- metadata.gz: 83e2246e5c07bc0b143c02a72db90dd75f67c0035f2265c524d82d0c5a9db1226fbf84e27bbda03fe58b71d03c0cd8329a451fc69d7097d03b07c2c0b1d3c482
7
- data.tar.gz: e71257e4fe2e3627d25d880b392527d9f9b4e5a29e3900f2161d584cff4fde9cbafe79f130b5cb09890e7b5a37e8476eeee459aa30197751c533cf284d3bd109
6
+ metadata.gz: 780073b1f2b9c1a8735725d365fcec406c70772c712c5338780be0d3073cd679802f274a2b497a569f64b3df99b5972c4f579a6785622a9bbb8f805b25efc934
7
+ data.tar.gz: 3c0ee1bba5171de914b7b173ed0eacfa76ae91d3c9211dc515e4ef34568db574cb5ac9efab403bbd11b69e9f4f23593f956084ecd69f242ece239373215e3492
@@ -235,20 +235,6 @@ module Spid
235
235
  "contactType" => "other",
236
236
  "spid:entityType" => "spid:aggregator"
237
237
  }
238
- unless settings.hash_aggregatore['soggetto_aggregatore'].blank?
239
- company = contact_person_aggregatore.add_element "md:Company"
240
- company.text = settings.hash_aggregatore['soggetto_aggregatore']
241
- end
242
-
243
- unless settings.hash_aggregatore['email_aggregatore'].blank?
244
- email_address = contact_person_aggregatore.add_element "md:EmailAddress"
245
- email_address.text = settings.hash_aggregatore['email_aggregatore']
246
- end
247
-
248
- unless settings.hash_aggregatore['telefono_aggregatore'].blank?
249
- telephone_number = contact_person_aggregatore.add_element "md:TelephoneNumber"
250
- telephone_number.text = settings.hash_aggregatore['telefono_aggregatore']
251
- end
252
238
 
253
239
  extensions_aggregatore = contact_person_aggregatore.add_element "md:Extensions"
254
240
 
@@ -269,10 +255,26 @@ module Spid
269
255
 
270
256
  tipo_aggregatore = extensions_aggregatore.add_element "spid:PublicServicesFullAggregator"
271
257
 
258
+ unless settings.hash_aggregatore['soggetto_aggregatore'].blank?
259
+ company = contact_person_aggregatore.add_element "md:Company"
260
+ company.text = settings.hash_aggregatore['soggetto_aggregatore']
261
+ end
262
+
263
+ unless settings.hash_aggregatore['email_aggregatore'].blank?
264
+ email_address = contact_person_aggregatore.add_element "md:EmailAddress"
265
+ email_address.text = settings.hash_aggregatore['email_aggregatore']
266
+ end
267
+
268
+ unless settings.hash_aggregatore['telefono_aggregatore'].blank?
269
+ telephone_number = contact_person_aggregatore.add_element "md:TelephoneNumber"
270
+ telephone_number.text = settings.hash_aggregatore['telefono_aggregatore']
271
+ end
272
+
272
273
  contact_person_aggregato = root.add_element "md:ContactPerson", {
273
274
  "contactType" => "other",
274
275
  "spid:entityType" => "spid:aggregated"
275
276
  }
277
+
276
278
  company = contact_person_aggregato.add_element "md:Company"
277
279
  company.text = settings.organization['org_name']
278
280
 
@@ -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.30'
5
+ s.version = '0.0.31'
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.30
4
+ version: 0.0.31
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-22 00:00:00.000000000 Z
11
+ date: 2020-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: canonix