apidae 1.2.13 → 1.2.14

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: d44db939b2c69c3821b8c82b9e38441b69e63ab7
4
- data.tar.gz: 5762520b0275479d67ce316d177c3f750c7519e1
3
+ metadata.gz: eb14f5d801d035d8f53e81c4fd05c383a880a12f
4
+ data.tar.gz: e2bbf9c0cfb99b65c00913fdca94bd02a73ea794
5
5
  SHA512:
6
- metadata.gz: 12d44dcf49f4b3288ed04381405fc0188adb8715aa49cd2586b80a3bdab572780ba47470dfcab7d0033b21c05ebb5a42583ab346cd64c309d62b64d0da92aa3f
7
- data.tar.gz: 63edb21d44e5997086a883570ac71de38e3910f85d39c322cbe37acdf377bbb2d764f08af339e1b1703f2279b29543259107610942de3b64830ee828940657ed
6
+ metadata.gz: f8e3f3d162355c19e25756696e415b6dcbfb89f276ed6017ebad77d627fa834cf5cf8b68fe8682db55223f17dfb9f879843e422a3b34647aa1d78becd46c3780
7
+ data.tar.gz: 973a2f042b1f057b61ec9c31d6399323b1b7d1abe2a58b869725bb5de5a4a3e690bb010ed1f0be6b483a59af6ee9530bd031bf7f3d2b5c1a5ad4f489ef2eea54
@@ -279,7 +279,7 @@ module Apidae
279
279
  chains: lists_ids(data_hash[:chaines]) + nodes_ids(data_hash[:chaineEtLabel]),
280
280
  area: apidae_obj.apidae_type == Obj::DOS ? data_hash.except(:classification) : node_value(data_hash, :lieuDePratique),
281
281
  track: apidae_obj.apidae_type == Obj::EQU ? (data_hash[:itineraire] || {}).except(:passagesDelicats) : nil,
282
- tricky_sections: apidae_obj.apidae_type == Obj::EQU ? data_hash.dig(:itineraire, :passagesDelicats) : nil,
282
+ tricky_sections: apidae_obj.apidae_type == Obj::EQU ? node_value(data_hash[:itineraire], :passagesDelicats, *locales) : nil,
283
283
  products: lists_ids(data_hash[:typesProduit], data_hash[:aopAocIgps], data_hash[:specialites]),
284
284
  audience: lists_ids(prestations_hash[:typesClientele]),
285
285
  animals: {allowed: prestations_hash[:animauxAcceptes] == 'ACCEPTES', desc: node_value(prestations_hash, :descriptifAnimauxAcceptes, *locales),
@@ -1,3 +1,3 @@
1
1
  module Apidae
2
- VERSION = "1.2.13"
2
+ VERSION = "1.2.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apidae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.13
4
+ version: 1.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Baptiste Vilain