apidae 1.4.18 → 1.4.20
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 +4 -4
- data/app/models/apidae/apidae_data_parser.rb +3 -12
- data/app/models/apidae/obj.rb +1 -1
- data/lib/apidae/version.rb +1 -1
- data/test/dummy/log/development.log +295 -0
- metadata +55 -55
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54a93ac526e4c9dab0bfac26d57d9b983040dfd52ca5056a36d3e0a054edf5c3
|
|
4
|
+
data.tar.gz: ecb3cf1c994aeb20b096177b5c0b46aa35893ef60a17d61ce44b9c5207badcfa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38a03a9e32c81da3eb571c2a969249db9381aa5f4b94ce458ddac12f0cffd8ea71e37d455b893382e71f4523f5f03f0cd682d6a4b185d293932413bc2bbef6f5
|
|
7
|
+
data.tar.gz: 74aa46c5f6f7d5979b3b3382cc60eb9439ea0ecbec62ac3fe97e0b56424e968f02b1d67947e1cab5b7883236c6d8e52ed6309e31acbf06ee121a9ef07a0ad75a
|
|
@@ -141,6 +141,7 @@ module Apidae
|
|
|
141
141
|
description: localized_value(pic, :legende, locale),
|
|
142
142
|
credits: localized_value(pic, :copyright, locale),
|
|
143
143
|
expiration_date: pic[:dateLimiteDePublication] || '',
|
|
144
|
+
remote_file_name: pic_file[:fileName] || '',
|
|
144
145
|
properties: {size: pic_file[:taille], width: pic_file[:largeur], height: pic_file[:hauteur]}
|
|
145
146
|
}
|
|
146
147
|
end
|
|
@@ -250,7 +251,7 @@ module Apidae
|
|
|
250
251
|
end
|
|
251
252
|
end
|
|
252
253
|
|
|
253
|
-
def self.parse_type_data(apidae_obj, type_hash, presta_hash, business_hash, *locales)
|
|
254
|
+
def self.parse_type_data(apidae_obj, type_hash, presta_hash, business_hash, ratings_list, *locales)
|
|
254
255
|
data_hash = type_hash || {}
|
|
255
256
|
prestations_hash = presta_hash || {}
|
|
256
257
|
apidae_obj.apidae_subtype = lists_ids(data_hash[:typesManifestation]).first if apidae_obj.apidae_type == Obj::FEM
|
|
@@ -270,17 +271,7 @@ module Apidae
|
|
|
270
271
|
labels: lists_ids(data_hash[:labels], data_hash[:labelsChartesQualite], prestations_hash[:labelsTourismeHandicap]) +
|
|
271
272
|
(node_id(data_hash, :typeLabel) ? [node_id(data_hash, :typeLabel)] : []),
|
|
272
273
|
chains: lists_ids(data_hash[:chaines]) + nodes_ids(data_hash[:chaineEtLabel]),
|
|
273
|
-
ratings: (
|
|
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'}}),
|
|
274
|
+
ratings: (ratings_list || []).map {|r| {id: r[:id], apidae_id: r.dig(:nom, :id), type: r.dig(:nom, :categorie, :id), rating: r.dig(:qualification, :id), ref: r[:numero], start_date: r[:dateDebutValidite], end_date: r[:dateFinValidite], last_visit: r[:dateDerniereVisite]}},
|
|
284
275
|
area: apidae_obj.apidae_type == Obj::DOS ? data_hash.except(:classification) : node_value(data_hash, :lieuDePratique),
|
|
285
276
|
track: apidae_obj.apidae_type == Obj::EQU ? (data_hash[:itineraire] || {}).except(:passagesDelicats) : nil,
|
|
286
277
|
tricky_sections: apidae_obj.apidae_type == Obj::EQU ? node_value(data_hash[:itineraire], :passagesDelicats, *locales) : nil,
|
data/app/models/apidae/obj.rb
CHANGED
|
@@ -246,7 +246,7 @@ module Apidae
|
|
|
246
246
|
apidae_obj.rates_data = ApidaeDataParser.parse_rates(object_data[:descriptionTarif], *locales)
|
|
247
247
|
apidae_obj.booking_data = ApidaeDataParser.parse_booking(object_data[:reservation], object_data[:visites], *locales)
|
|
248
248
|
apidae_obj.type_data = ApidaeDataParser.parse_type_data(apidae_obj, object_data[type_fields[:node]], object_data[:prestations],
|
|
249
|
-
object_data[:tourismeAffaires], *locales)
|
|
249
|
+
object_data[:tourismeAffaires], object_data[:distinctions], *locales)
|
|
250
250
|
apidae_obj.pictures_data = ApidaeDataParser.parse_pictures_data(object_data[:illustrations], *locales)
|
|
251
251
|
apidae_obj.attachments_data = ApidaeDataParser.parse_attachments_data(object_data[:multimedias], *locales)
|
|
252
252
|
apidae_obj.entity_data = ApidaeDataParser.parse_entity_fields(object_data[:informations], object_data[type_fields[:node]], object_data[:informationsPrestataireActivites])
|
data/lib/apidae/version.rb
CHANGED
|
@@ -13852,3 +13852,298 @@ Migrating to MigrateLocalizedApidaeReferences (20190127213602)
|
|
|
13852
13852
|
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
|
|
13853
13853
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
13854
13854
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6140174353533887940)[0m
|
|
13855
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT pg_try_advisory_lock(6140174353533887940)[0m
|
|
13856
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
13857
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.6ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1[0m [[nil, "environment"]]
|
|
13858
|
+
Migrating to MigrateLocalizedApidaeReferences (20190127213602)
|
|
13859
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
|
|
13860
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
|
|
13861
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(6140174353533887940)[0m
|
|
13862
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
13863
|
+
|
|
13864
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
13865
|
+
to be an error condition in future versions of Rails.
|
|
13866
|
+
|
|
13867
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
13868
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
13869
|
+
the expected changes won't be reflected in that stale Module object.
|
|
13870
|
+
|
|
13871
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
13872
|
+
|
|
13873
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
13874
|
+
callback this way:
|
|
13875
|
+
|
|
13876
|
+
Rails.application.reloader.to_prepare do
|
|
13877
|
+
# Autoload classes and modules needed at boot time here.
|
|
13878
|
+
end
|
|
13879
|
+
|
|
13880
|
+
That block runs when the application boots, and every time there is a reload.
|
|
13881
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
13882
|
+
|
|
13883
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
13884
|
+
Rails autoloads and reloads.
|
|
13885
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
13886
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
13887
|
+
|
|
13888
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
13889
|
+
to be an error condition in future versions of Rails.
|
|
13890
|
+
|
|
13891
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
13892
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
13893
|
+
the expected changes won't be reflected in that stale Module object.
|
|
13894
|
+
|
|
13895
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
13896
|
+
|
|
13897
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
13898
|
+
callback this way:
|
|
13899
|
+
|
|
13900
|
+
Rails.application.reloader.to_prepare do
|
|
13901
|
+
# Autoload classes and modules needed at boot time here.
|
|
13902
|
+
end
|
|
13903
|
+
|
|
13904
|
+
That block runs when the application boots, and every time there is a reload.
|
|
13905
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
13906
|
+
|
|
13907
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
13908
|
+
Rails autoloads and reloads.
|
|
13909
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
13910
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
13911
|
+
|
|
13912
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
13913
|
+
to be an error condition in future versions of Rails.
|
|
13914
|
+
|
|
13915
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
13916
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
13917
|
+
the expected changes won't be reflected in that stale Module object.
|
|
13918
|
+
|
|
13919
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
13920
|
+
|
|
13921
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
13922
|
+
callback this way:
|
|
13923
|
+
|
|
13924
|
+
Rails.application.reloader.to_prepare do
|
|
13925
|
+
# Autoload classes and modules needed at boot time here.
|
|
13926
|
+
end
|
|
13927
|
+
|
|
13928
|
+
That block runs when the application boots, and every time there is a reload.
|
|
13929
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
13930
|
+
|
|
13931
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
13932
|
+
Rails autoloads and reloads.
|
|
13933
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
13934
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
13935
|
+
|
|
13936
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
13937
|
+
to be an error condition in future versions of Rails.
|
|
13938
|
+
|
|
13939
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
13940
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
13941
|
+
the expected changes won't be reflected in that stale Module object.
|
|
13942
|
+
|
|
13943
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
13944
|
+
|
|
13945
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
13946
|
+
callback this way:
|
|
13947
|
+
|
|
13948
|
+
Rails.application.reloader.to_prepare do
|
|
13949
|
+
# Autoload classes and modules needed at boot time here.
|
|
13950
|
+
end
|
|
13951
|
+
|
|
13952
|
+
That block runs when the application boots, and every time there is a reload.
|
|
13953
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
13954
|
+
|
|
13955
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
13956
|
+
Rails autoloads and reloads.
|
|
13957
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
13958
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
13959
|
+
|
|
13960
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
13961
|
+
to be an error condition in future versions of Rails.
|
|
13962
|
+
|
|
13963
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
13964
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
13965
|
+
the expected changes won't be reflected in that stale Module object.
|
|
13966
|
+
|
|
13967
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
13968
|
+
|
|
13969
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
13970
|
+
callback this way:
|
|
13971
|
+
|
|
13972
|
+
Rails.application.reloader.to_prepare do
|
|
13973
|
+
# Autoload classes and modules needed at boot time here.
|
|
13974
|
+
end
|
|
13975
|
+
|
|
13976
|
+
That block runs when the application boots, and every time there is a reload.
|
|
13977
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
13978
|
+
|
|
13979
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
13980
|
+
Rails autoloads and reloads.
|
|
13981
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
13982
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
13983
|
+
|
|
13984
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
13985
|
+
to be an error condition in future versions of Rails.
|
|
13986
|
+
|
|
13987
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
13988
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
13989
|
+
the expected changes won't be reflected in that stale Module object.
|
|
13990
|
+
|
|
13991
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
13992
|
+
|
|
13993
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
13994
|
+
callback this way:
|
|
13995
|
+
|
|
13996
|
+
Rails.application.reloader.to_prepare do
|
|
13997
|
+
# Autoload classes and modules needed at boot time here.
|
|
13998
|
+
end
|
|
13999
|
+
|
|
14000
|
+
That block runs when the application boots, and every time there is a reload.
|
|
14001
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
14002
|
+
|
|
14003
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
14004
|
+
Rails autoloads and reloads.
|
|
14005
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
14006
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
14007
|
+
|
|
14008
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
14009
|
+
to be an error condition in future versions of Rails.
|
|
14010
|
+
|
|
14011
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
14012
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
14013
|
+
the expected changes won't be reflected in that stale Module object.
|
|
14014
|
+
|
|
14015
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
14016
|
+
|
|
14017
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
14018
|
+
callback this way:
|
|
14019
|
+
|
|
14020
|
+
Rails.application.reloader.to_prepare do
|
|
14021
|
+
# Autoload classes and modules needed at boot time here.
|
|
14022
|
+
end
|
|
14023
|
+
|
|
14024
|
+
That block runs when the application boots, and every time there is a reload.
|
|
14025
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
14026
|
+
|
|
14027
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
14028
|
+
Rails autoloads and reloads.
|
|
14029
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
14030
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
14031
|
+
|
|
14032
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
14033
|
+
to be an error condition in future versions of Rails.
|
|
14034
|
+
|
|
14035
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
14036
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
14037
|
+
the expected changes won't be reflected in that stale Module object.
|
|
14038
|
+
|
|
14039
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
14040
|
+
|
|
14041
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
14042
|
+
callback this way:
|
|
14043
|
+
|
|
14044
|
+
Rails.application.reloader.to_prepare do
|
|
14045
|
+
# Autoload classes and modules needed at boot time here.
|
|
14046
|
+
end
|
|
14047
|
+
|
|
14048
|
+
That block runs when the application boots, and every time there is a reload.
|
|
14049
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
14050
|
+
|
|
14051
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
14052
|
+
Rails autoloads and reloads.
|
|
14053
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
14054
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
14055
|
+
|
|
14056
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
14057
|
+
to be an error condition in future versions of Rails.
|
|
14058
|
+
|
|
14059
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
14060
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
14061
|
+
the expected changes won't be reflected in that stale Module object.
|
|
14062
|
+
|
|
14063
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
14064
|
+
|
|
14065
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
14066
|
+
callback this way:
|
|
14067
|
+
|
|
14068
|
+
Rails.application.reloader.to_prepare do
|
|
14069
|
+
# Autoload classes and modules needed at boot time here.
|
|
14070
|
+
end
|
|
14071
|
+
|
|
14072
|
+
That block runs when the application boots, and every time there is a reload.
|
|
14073
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
14074
|
+
|
|
14075
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
14076
|
+
Rails autoloads and reloads.
|
|
14077
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
14078
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
14079
|
+
|
|
14080
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
14081
|
+
to be an error condition in future versions of Rails.
|
|
14082
|
+
|
|
14083
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
14084
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
14085
|
+
the expected changes won't be reflected in that stale Module object.
|
|
14086
|
+
|
|
14087
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
14088
|
+
|
|
14089
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
14090
|
+
callback this way:
|
|
14091
|
+
|
|
14092
|
+
Rails.application.reloader.to_prepare do
|
|
14093
|
+
# Autoload classes and modules needed at boot time here.
|
|
14094
|
+
end
|
|
14095
|
+
|
|
14096
|
+
That block runs when the application boots, and every time there is a reload.
|
|
14097
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
14098
|
+
|
|
14099
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
14100
|
+
Rails autoloads and reloads.
|
|
14101
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
14102
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
14103
|
+
|
|
14104
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
14105
|
+
to be an error condition in future versions of Rails.
|
|
14106
|
+
|
|
14107
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
14108
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
14109
|
+
the expected changes won't be reflected in that stale Module object.
|
|
14110
|
+
|
|
14111
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
14112
|
+
|
|
14113
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
14114
|
+
callback this way:
|
|
14115
|
+
|
|
14116
|
+
Rails.application.reloader.to_prepare do
|
|
14117
|
+
# Autoload classes and modules needed at boot time here.
|
|
14118
|
+
end
|
|
14119
|
+
|
|
14120
|
+
That block runs when the application boots, and every time there is a reload.
|
|
14121
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
14122
|
+
|
|
14123
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
14124
|
+
Rails autoloads and reloads.
|
|
14125
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
14126
|
+
DEPRECATION WARNING: Initialization autoloaded the constants Apidae::ApidaeHelper, Apidae::ApplicationHelper, Apidae::ApiHelper, Apidae::DashboardHelper, Apidae::ExtendableHelper, Apidae::ImportHelper, Apidae::ObjectsHelper, Apidae::ReferencesHelper, Apidae::SelectionsHelper, and Apidae::ApplicationController.
|
|
14127
|
+
|
|
14128
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
14129
|
+
to be an error condition in future versions of Rails.
|
|
14130
|
+
|
|
14131
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
14132
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
14133
|
+
the expected changes won't be reflected in that stale Module object.
|
|
14134
|
+
|
|
14135
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
14136
|
+
|
|
14137
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
14138
|
+
callback this way:
|
|
14139
|
+
|
|
14140
|
+
Rails.application.reloader.to_prepare do
|
|
14141
|
+
# Autoload classes and modules needed at boot time here.
|
|
14142
|
+
end
|
|
14143
|
+
|
|
14144
|
+
That block runs when the application boots, and every time there is a reload.
|
|
14145
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
14146
|
+
|
|
14147
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
14148
|
+
Rails autoloads and reloads.
|
|
14149
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
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.
|
|
4
|
+
version: 1.4.20
|
|
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:
|
|
11
|
+
date: 2026-01-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -289,81 +289,81 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
289
289
|
- !ruby/object:Gem::Version
|
|
290
290
|
version: '0'
|
|
291
291
|
requirements: []
|
|
292
|
-
rubygems_version: 3.
|
|
292
|
+
rubygems_version: 3.1.6
|
|
293
293
|
signing_key:
|
|
294
294
|
specification_version: 4
|
|
295
295
|
summary: A Ruby on Rails engine for projects that involve Apidae data
|
|
296
296
|
test_files:
|
|
297
|
-
- test/
|
|
298
|
-
- test/
|
|
299
|
-
- test/controllers/apidae/dashboard_controller_test.rb
|
|
300
|
-
- test/controllers/apidae/import_controller_test.rb
|
|
301
|
-
- test/controllers/apidae/objects_controller_test.rb
|
|
302
|
-
- test/controllers/apidae/references_controller_test.rb
|
|
303
|
-
- test/controllers/apidae/selections_controller_test.rb
|
|
304
|
-
- test/data/cos_winter.json
|
|
305
|
-
- test/data/delete_selections.json
|
|
306
|
-
- test/data/deletion.json
|
|
307
|
-
- test/data/equ_groups.json
|
|
308
|
-
- test/data/hot_fr_en.json
|
|
309
|
-
- test/data/json_export.zip
|
|
310
|
-
- test/data/selections.json
|
|
311
|
-
- test/data/shared_selections.json
|
|
312
|
-
- test/data/structure.json
|
|
313
|
-
- test/data/update_selections.json
|
|
314
|
-
- test/dummy/README.rdoc
|
|
315
|
-
- test/dummy/Rakefile
|
|
297
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
298
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
316
299
|
- test/dummy/app/assets/config/manifest.js
|
|
317
300
|
- test/dummy/app/assets/javascripts/application.js
|
|
318
301
|
- test/dummy/app/assets/stylesheets/application.css
|
|
319
|
-
- test/dummy/app/controllers/application_controller.rb
|
|
320
302
|
- test/dummy/app/helpers/application_helper.rb
|
|
321
|
-
- test/dummy/app/views/layouts/application.html.erb
|
|
322
|
-
- test/dummy/bin/bundle
|
|
323
|
-
- test/dummy/bin/rails
|
|
324
303
|
- test/dummy/bin/rake
|
|
325
304
|
- test/dummy/bin/setup
|
|
326
|
-
- test/dummy/
|
|
327
|
-
- test/dummy/
|
|
328
|
-
- test/dummy/config/
|
|
329
|
-
- test/dummy/config/
|
|
330
|
-
- test/dummy/config/
|
|
305
|
+
- test/dummy/bin/bundle
|
|
306
|
+
- test/dummy/bin/rails
|
|
307
|
+
- test/dummy/config/secrets.yml
|
|
308
|
+
- test/dummy/config/routes.rb
|
|
309
|
+
- test/dummy/config/locales/en.yml
|
|
331
310
|
- test/dummy/config/environments/production.rb
|
|
311
|
+
- test/dummy/config/environments/development.rb
|
|
332
312
|
- test/dummy/config/environments/test.rb
|
|
333
|
-
- test/dummy/config/
|
|
334
|
-
- test/dummy/config/
|
|
313
|
+
- test/dummy/config/environment.rb
|
|
314
|
+
- test/dummy/config/application.rb
|
|
315
|
+
- test/dummy/config/database.yml
|
|
316
|
+
- test/dummy/config/boot.rb
|
|
335
317
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
336
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
|
337
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
338
|
-
- test/dummy/config/initializers/inflections.rb
|
|
339
318
|
- test/dummy/config/initializers/mime_types.rb
|
|
319
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
340
320
|
- test/dummy/config/initializers/session_store.rb
|
|
341
|
-
- test/dummy/config/initializers/to_time_preserves_timezone.rb
|
|
342
321
|
- test/dummy/config/initializers/wrap_parameters.rb
|
|
343
|
-
- test/dummy/config/
|
|
344
|
-
- test/dummy/config/
|
|
345
|
-
- test/dummy/config/
|
|
322
|
+
- test/dummy/config/initializers/assets.rb
|
|
323
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
|
324
|
+
- test/dummy/config/initializers/to_time_preserves_timezone.rb
|
|
325
|
+
- test/dummy/config/initializers/apidae.rb
|
|
326
|
+
- test/dummy/config/initializers/inflections.rb
|
|
346
327
|
- test/dummy/config.ru
|
|
347
|
-
- test/dummy/
|
|
348
|
-
- test/dummy/
|
|
349
|
-
- test/dummy/log/test.log
|
|
350
|
-
- test/dummy/public/404.html
|
|
328
|
+
- test/dummy/Rakefile
|
|
329
|
+
- test/dummy/public/favicon.ico
|
|
351
330
|
- test/dummy/public/422.html
|
|
352
331
|
- test/dummy/public/500.html
|
|
353
|
-
- test/dummy/public/
|
|
332
|
+
- test/dummy/public/404.html
|
|
333
|
+
- test/dummy/db/schema.rb
|
|
334
|
+
- test/dummy/log/test.log
|
|
335
|
+
- test/dummy/log/development.log
|
|
354
336
|
- test/dummy/tmp/local_secret.txt
|
|
355
|
-
- test/
|
|
356
|
-
- test/fixtures/apidae/objects.yml
|
|
357
|
-
- test/fixtures/apidae/references.yml
|
|
358
|
-
- test/fixtures/apidae/selection_objects.yml
|
|
359
|
-
- test/fixtures/apidae/selections.yml
|
|
360
|
-
- test/fixtures/apidae/towns.yml
|
|
337
|
+
- test/dummy/README.rdoc
|
|
361
338
|
- test/integration/navigation_test.rb
|
|
362
|
-
- test/models/apidae/export_test.rb
|
|
363
|
-
- test/models/apidae/file_import_test.rb
|
|
364
|
-
- test/models/apidae/obj_test.rb
|
|
365
|
-
- test/models/apidae/reference_test.rb
|
|
366
339
|
- test/models/apidae/selection_object_test.rb
|
|
367
340
|
- test/models/apidae/selection_test.rb
|
|
341
|
+
- test/models/apidae/file_import_test.rb
|
|
342
|
+
- test/models/apidae/export_test.rb
|
|
343
|
+
- test/models/apidae/reference_test.rb
|
|
368
344
|
- test/models/apidae/town_test.rb
|
|
345
|
+
- test/models/apidae/obj_test.rb
|
|
346
|
+
- test/fixtures/apidae/selection_objects.yml
|
|
347
|
+
- test/fixtures/apidae/towns.yml
|
|
348
|
+
- test/fixtures/apidae/references.yml
|
|
349
|
+
- test/fixtures/apidae/objects.yml
|
|
350
|
+
- test/fixtures/apidae/selections.yml
|
|
351
|
+
- test/fixtures/apidae/exports.yml
|
|
369
352
|
- test/test_helper.rb
|
|
353
|
+
- test/apidae_test.rb
|
|
354
|
+
- test/controllers/apidae/selections_controller_test.rb
|
|
355
|
+
- test/controllers/apidae/api_controller_test.rb
|
|
356
|
+
- test/controllers/apidae/objects_controller_test.rb
|
|
357
|
+
- test/controllers/apidae/dashboard_controller_test.rb
|
|
358
|
+
- test/controllers/apidae/references_controller_test.rb
|
|
359
|
+
- test/controllers/apidae/import_controller_test.rb
|
|
360
|
+
- test/data/shared_selections.json
|
|
361
|
+
- test/data/equ_groups.json
|
|
362
|
+
- test/data/update_selections.json
|
|
363
|
+
- test/data/json_export.zip
|
|
364
|
+
- test/data/delete_selections.json
|
|
365
|
+
- test/data/hot_fr_en.json
|
|
366
|
+
- test/data/structure.json
|
|
367
|
+
- test/data/deletion.json
|
|
368
|
+
- test/data/selections.json
|
|
369
|
+
- test/data/cos_winter.json
|