apidae 1.4.16 → 1.4.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44f3b5a191f7f2f610620e188d2be34c993a5a809fb669732ebcdbed450c1f8b
4
- data.tar.gz: 7ffceca9b1cdd04cf30765c28e232a222ed70b39c78cf768637b0864ac98a798
3
+ metadata.gz: 2f95b9e7fa42cf5b6e8726526abf2c8dbaef2d903d81d8b114e38879af1fe0ee
4
+ data.tar.gz: fc0423dd7cb323027a25f1320ccb30a934c1b0788ae29f5cf060d28992ce6a1f
5
5
  SHA512:
6
- metadata.gz: da91c8d99c4c586ab67812a49f66b2ca286e5695082ff93af37fccf6dc4ecd1071ebb024b6a92e34e03c60247779c76b31047d1225afddaa3223b4b3c5aa18d4
7
- data.tar.gz: 5440942e4b41d30fe82957254c9ce36bb5cc19be0d7961f757a9e4190349581db698f5d5cd50eb0e390c5c35f668feab7acf4aea584da504335df2c1f4904260
6
+ metadata.gz: 22ab57e4a74563557f764b757ad3914de05ccae6a3ee346e7e47cf9bf0d247280267c965e820a8b8f78e1bc07c625b5b90beabf7c9ad7e91133b004fedb1073b
7
+ data.tar.gz: 11211dbdb0423e2b251c45fbee439bade36a9036f1741ebbe56145baf5056fc2d8e1637a81b2a3676d75d40d44e2e01cf9624c0068ff088131d81f7445ab3008
@@ -270,6 +270,17 @@ module Apidae
270
270
  labels: lists_ids(data_hash[:labels], data_hash[:labelsChartesQualite], prestations_hash[:labelsTourismeHandicap]) +
271
271
  (node_id(data_hash, :typeLabel) ? [node_id(data_hash, :typeLabel)] : []),
272
272
  chains: lists_ids(data_hash[:chaines]) + nodes_ids(data_hash[:chaineEtLabel]),
273
+ ratings: (lists_ids(data_hash[:labels]).map {|label_id| {id: label_id, type: 'labels'}} +
274
+ lists_ids(data_hash[:labelsChartesQualite]).map {|label_id| {id: label_id, type: 'labelsChartesQualite'}} +
275
+ lists_ids(prestations_hash[:labelsTourismeHandicap]).map {|label_id| {id: label_id, type: 'labelsTourismeHandicap'}} +
276
+ nodes_ids(data_hash[:typeLabel]).map {|label_id| {id: label_id, type: 'typeLabel', ref: data_hash[:numeroAgrementLabel], start_date: data_hash[:dateAgrementLabel]}} +
277
+ lists_ids(data_hash[:chaines]).map {|ch_id| {id: ch_id, type: 'chaines'}} +
278
+ nodes_ids(data_hash[:chaineEtLabel]).map {|ch_id| {id: ch_id, type: 'chaineEtLabel'}} +
279
+ nodes_ids(data_hash[:classement]).map {|c_id| {id: c_id, type: 'classement', start_date: data_hash[:dateClassement], ref: data_hash[:numeroClassement]}} +
280
+ nodes_ids(data_hash[:classementPrefectoral]).map {|c_id| {id: c_id, type: 'classementPrefectoral', start_date: data_hash[:dateClassement], ref: data_hash[:numeroClassement]}} +
281
+ nodes_ids(data_hash[:classification]).map {|c_id| {id: c_id, type: 'classification'}} +
282
+ lists_ids(data_hash[:classementsGuides]).map {|c_id| {id: c_id, type: 'classementsGuides'}} +
283
+ lists_ids(data_hash[:classements]).map {|c_id| {id: c_id, type: 'classements'}}),
273
284
  area: apidae_obj.apidae_type == Obj::DOS ? data_hash.except(:classification) : node_value(data_hash, :lieuDePratique),
274
285
  track: apidae_obj.apidae_type == Obj::EQU ? (data_hash[:itineraire] || {}).except(:passagesDelicats) : nil,
275
286
  tricky_sections: apidae_obj.apidae_type == Obj::EQU ? node_value(data_hash[:itineraire], :passagesDelicats, *locales) : nil,
@@ -15,7 +15,7 @@ module Apidae
15
15
  store_accessor :description_data, :short_desc, :long_desc, :theme_desc, :private_desc, :accessibility_desc
16
16
  store_accessor :pictures_data, :pictures
17
17
  store_accessor :attachments_data, :attachments
18
- store_accessor :type_data, :categories, :themes, :capacity, :classification, :classification_date,
18
+ store_accessor :type_data, :categories, :themes, :capacity, :classification, :classification_date, :ratings,
19
19
  :classification_ref, :labels, :chains, :area, :track, :tricky_sections, :products, :audience, :animals,
20
20
  :animals_desc, :extra, :duration, :certifications, :business, :business_equipments, :business_rooms
21
21
  store_accessor :entity_data, :entity_id, :entity_name, :info_entity_id, :info_entity_name, :service_provider_id,
@@ -1,3 +1,3 @@
1
1
  module Apidae
2
- VERSION = "1.4.16"
2
+ VERSION = "1.4.17"
3
3
  end
@@ -13845,3 +13845,10 @@ Migrating to MigrateLocalizedApidaeObjFields (20190127210921)
13845
13845
  Apidae::Obj Load (2.4ms) SELECT "apidae_objs".* FROM "apidae_objs" WHERE "apidae_objs"."root_obj_id" IS NULL
13846
13846
  TRANSACTION (0.8ms) ROLLBACK
13847
13847
   (0.5ms) SELECT pg_advisory_unlock(6140174353533887940)
13848
+  (0.1ms) SELECT pg_try_advisory_lock(6140174353533887940)
13849
+ ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
13850
+ ActiveRecord::InternalMetadata Load (2.2ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "environment"]]
13851
+ Migrating to MigrateLocalizedApidaeReferences (20190127213602)
13852
+ TRANSACTION (0.2ms) BEGIN
13853
+ TRANSACTION (0.1ms) ROLLBACK
13854
+  (0.3ms) SELECT pg_advisory_unlock(6140174353533887940)
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.4.16
4
+ version: 1.4.17
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: 2025-03-23 00:00:00.000000000 Z
11
+ date: 2025-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails