apidae 1.3.9 → 1.3.10

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: 66681e7a228d04a5be420fea1d27f363dab5f3abd1431cfcfc9ddc00e1931bc1
4
- data.tar.gz: 6872e5a2de4d23d368b00c7bb01639113afc5b1133952ce793a12e7f372885f8
3
+ metadata.gz: ff7e99f43738b625845c69d825db7272d23ac2d65f95750434a5ec9c1f758c21
4
+ data.tar.gz: a445c317db55b883f9226bc41885445c9d67d481fe5e09bb520ebeb3f5b870b0
5
5
  SHA512:
6
- metadata.gz: 45e6cf33a4d259a15576d28936fa7f8fc917cf4538d00c8bfec03b45b0bdde200c6cd6d536884030d2fa9d86a2313ec9e63b2bd190ff65ec6e395a19c6310acc
7
- data.tar.gz: 40040d7672373c353358d5cba94c10f296eb6d810868d698ad11f0090456c3897c33b2838a8aeeac974bb4465f7420f37a5c5eca09cf91d40572ef4c589735b1
6
+ metadata.gz: 947899964c8bd92cf170f2efa7b26d174422cbaf6c6fee4dc582fe8fce8f1cce9ec4f165dd53147356fceb1a60b7c7b5829f40e2ff17057c9d53555c59967652
7
+ data.tar.gz: 89de66fd894f4138e5f658d25c4e606f9d797cc2405d3f76bf85b12952b3c6ced414dbf07d1b8fb0e91177346ef28f29f4ffaeab234253b011413369ce6b7050
@@ -286,8 +286,8 @@ module Apidae
286
286
  tricky_sections: apidae_obj.apidae_type == Obj::EQU ? node_value(data_hash[:itineraire], :passagesDelicats, *locales) : nil,
287
287
  products: lists_ids(data_hash[:typesProduit], data_hash[:aopAocIgps], data_hash[:specialites]),
288
288
  audience: lists_ids(prestations_hash[:typesClientele]),
289
- animals: {allowed: prestations_hash[:animauxAcceptes] == 'ACCEPTES', desc: node_value(prestations_hash, :descriptifAnimauxAcceptes, *locales),
290
- fee: prestations_hash[:animauxAcceptesSupplement] == 'AVEC_SUPPLEMENT'},
289
+ animals: {allowed: prestations_hash[:animauxAcceptes] == 'ACCEPTES', unknown: prestations_hash[:animauxAcceptes] == 'NON_DISPONIBLE',
290
+ desc: node_value(prestations_hash, :descriptifAnimauxAcceptes, *locales), fee: prestations_hash[:animauxAcceptesSupplement] == 'AVEC_SUPPLEMENT'},
291
291
  extra: apidae_obj.apidae_type == Obj::SPA ? node_value(data_hash, :formuleHebergement, *locales) : node_value(prestations_hash, :complementAccueil, *locales),
292
292
  duration: apidae_obj.apidae_type == Obj::SPA ? {days: data_hash[:nombreJours], nights: data_hash[:nombreNuits]} : data_hash[:dureeSeance],
293
293
  certifications: data_hash[:agrements].blank? ? [] : data_hash[:agrements].map {|a| {id: a[:type][:id], identifier: a[:numero]}},
@@ -80,11 +80,10 @@ module Apidae
80
80
  STR = 'STRUCTURE'
81
81
  TER = 'TERRITOIRE'
82
82
 
83
- # Todo : subtype for DEG shoud be :statutsExploitant (double check and fix in 1.2 and master)
84
83
  TYPES_DATA = {
85
84
  ACT => {node: :informationsActivite, subtype: :activiteType},
86
85
  COS => {node: :informationsCommerceEtService, subtype: :commerceEtServiceType},
87
- DEG => {node: :informationsDegustation, subtype: :degustationType},
86
+ DEG => {node: :informationsDegustation, subtype: :statutsExploitant},
88
87
  DOS => {node: :informationsDomaineSkiable, subtype: :domaineSkiableType},
89
88
  EQU => {node: :informationsEquipement, subtype: :rubrique},
90
89
  FEM => {node: :informationsFeteEtManifestation, subtype: :feteEtManifestationType},
@@ -1,3 +1,3 @@
1
1
  module Apidae
2
- VERSION = "1.3.9"
2
+ VERSION = "1.3.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apidae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Baptiste Vilain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-03 00:00:00.000000000 Z
11
+ date: 2022-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails