apidae 1.4.19 → 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 +2 -12
- data/app/models/apidae/obj.rb +1 -1
- data/lib/apidae/version.rb +1 -1
- data/test/dummy/log/development.log +288 -0
- metadata +2 -2
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
|
|
@@ -251,7 +251,7 @@ module Apidae
|
|
|
251
251
|
end
|
|
252
252
|
end
|
|
253
253
|
|
|
254
|
-
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)
|
|
255
255
|
data_hash = type_hash || {}
|
|
256
256
|
prestations_hash = presta_hash || {}
|
|
257
257
|
apidae_obj.apidae_subtype = lists_ids(data_hash[:typesManifestation]).first if apidae_obj.apidae_type == Obj::FEM
|
|
@@ -271,17 +271,7 @@ module Apidae
|
|
|
271
271
|
labels: lists_ids(data_hash[:labels], data_hash[:labelsChartesQualite], prestations_hash[:labelsTourismeHandicap]) +
|
|
272
272
|
(node_id(data_hash, :typeLabel) ? [node_id(data_hash, :typeLabel)] : []),
|
|
273
273
|
chains: lists_ids(data_hash[:chaines]) + nodes_ids(data_hash[:chaineEtLabel]),
|
|
274
|
-
ratings: (
|
|
275
|
-
lists_ids(data_hash[:labelsChartesQualite]).map {|label_id| {id: label_id, type: 'labelsChartesQualite'}} +
|
|
276
|
-
lists_ids(prestations_hash[:labelsTourismeHandicap]).map {|label_id| {id: label_id, type: 'labelsTourismeHandicap'}} +
|
|
277
|
-
nodes_ids(data_hash[:typeLabel]).map {|label_id| {id: label_id, type: 'typeLabel', ref: data_hash[:numeroAgrementLabel], start_date: data_hash[:dateAgrementLabel]}} +
|
|
278
|
-
lists_ids(data_hash[:chaines]).map {|ch_id| {id: ch_id, type: 'chaines'}} +
|
|
279
|
-
nodes_ids(data_hash[:chaineEtLabel]).map {|ch_id| {id: ch_id, type: 'chaineEtLabel'}} +
|
|
280
|
-
nodes_ids(data_hash[:classement]).map {|c_id| {id: c_id, type: 'classement', start_date: data_hash[:dateClassement], ref: data_hash[:numeroClassement]}} +
|
|
281
|
-
nodes_ids(data_hash[:classementPrefectoral]).map {|c_id| {id: c_id, type: 'classementPrefectoral', start_date: data_hash[:dateClassement], ref: data_hash[:numeroClassement]}} +
|
|
282
|
-
nodes_ids(data_hash[:classification]).map {|c_id| {id: c_id, type: 'classification'}} +
|
|
283
|
-
lists_ids(data_hash[:classementsGuides]).map {|c_id| {id: c_id, type: 'classementsGuides'}} +
|
|
284
|
-
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]}},
|
|
285
275
|
area: apidae_obj.apidae_type == Obj::DOS ? data_hash.except(:classification) : node_value(data_hash, :lieuDePratique),
|
|
286
276
|
track: apidae_obj.apidae_type == Obj::EQU ? (data_hash[:itineraire] || {}).except(:passagesDelicats) : nil,
|
|
287
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
|
@@ -13859,3 +13859,291 @@ Migrating to MigrateLocalizedApidaeReferences (20190127213602)
|
|
|
13859
13859
|
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mBEGIN[0m
|
|
13860
13860
|
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mROLLBACK[0m
|
|
13861
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
|