apidae 1.4.24 → 1.4.26
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 +10 -2
- data/lib/apidae/version.rb +1 -1
- data/test/dummy/log/development.log +72 -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: 1b5f1e7bc931578067144a5f16694fbc79e2f51c467656b2b1dcaf9fcc34b632
|
|
4
|
+
data.tar.gz: 70357a305970c3bc87e9a235ba1343cccb9d7f05fdcef6c87dd41087fb451e08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e33789e716ab48e998bb58b9daba74c9bb2d02a5208635a2ed4270fb7d8c76a89c43c00f23395e21919d38186164edaf1a56af9373f31e45f81d31ed79a71c3
|
|
7
|
+
data.tar.gz: 1d19cf480d60561f29554334b6b6ab14778750e6048555cd4b262b533e3c472f4c0bbe91847af12bcc2d8d564e97b16c103a81910a8b6215ceb320bc81c2808a
|
|
@@ -179,13 +179,21 @@ module Apidae
|
|
|
179
179
|
case c[:type][:id]
|
|
180
180
|
when PHONE, ALT_PHONE
|
|
181
181
|
contact_details[:telephone] ||= {}
|
|
182
|
-
contact_details[:telephone][c[:identifiant]] = {
|
|
182
|
+
contact_details[:telephone][c[:identifiant]] = {
|
|
183
|
+
value: c.dig(:coordonnees, :fr),
|
|
184
|
+
description: c.dig(:observation, :libelleFr),
|
|
185
|
+
locales: Hash[(c[:coordonnees] || {}).except(:fr).keys.map {|l| [l, {value: c.dig(:coordonnees, l), description: c.dig(:observation, localized_key(l.to_s))}]}]
|
|
186
|
+
}
|
|
183
187
|
else
|
|
184
188
|
contacts_refs_by_code = CONTACTS_MAP.invert
|
|
185
189
|
if contacts_refs_by_code.keys.include?(c[:type][:id])
|
|
186
190
|
contact_ref = contacts_refs_by_code[c[:type][:id]].to_sym
|
|
187
191
|
contact_details[contact_ref] ||= {}
|
|
188
|
-
contact_details[contact_ref][c[:identifiant]] = {
|
|
192
|
+
contact_details[contact_ref][c[:identifiant]] = {
|
|
193
|
+
value: c.dig(:coordonnees, :fr),
|
|
194
|
+
description: c.dig(:observation, :libelleFr),
|
|
195
|
+
locales: Hash[(c[:coordonnees] || {}).except(:fr).keys.map {|l| [l, {value: c.dig(:coordonnees, l), description: c.dig(:observation, localized_key(l.to_s))}]}]
|
|
196
|
+
}
|
|
189
197
|
end
|
|
190
198
|
end
|
|
191
199
|
end
|
data/lib/apidae/version.rb
CHANGED
|
@@ -15128,6 +15128,78 @@ callback this way:
|
|
|
15128
15128
|
That block runs when the application boots, and every time there is a reload.
|
|
15129
15129
|
For historical reasons, it may run twice, so it has to be idempotent.
|
|
15130
15130
|
|
|
15131
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
15132
|
+
Rails autoloads and reloads.
|
|
15133
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
15134
|
+
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.
|
|
15135
|
+
|
|
15136
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
15137
|
+
to be an error condition in future versions of Rails.
|
|
15138
|
+
|
|
15139
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
15140
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
15141
|
+
the expected changes won't be reflected in that stale Module object.
|
|
15142
|
+
|
|
15143
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
15144
|
+
|
|
15145
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
15146
|
+
callback this way:
|
|
15147
|
+
|
|
15148
|
+
Rails.application.reloader.to_prepare do
|
|
15149
|
+
# Autoload classes and modules needed at boot time here.
|
|
15150
|
+
end
|
|
15151
|
+
|
|
15152
|
+
That block runs when the application boots, and every time there is a reload.
|
|
15153
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
15154
|
+
|
|
15155
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
15156
|
+
Rails autoloads and reloads.
|
|
15157
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
15158
|
+
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.
|
|
15159
|
+
|
|
15160
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
15161
|
+
to be an error condition in future versions of Rails.
|
|
15162
|
+
|
|
15163
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
15164
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
15165
|
+
the expected changes won't be reflected in that stale Module object.
|
|
15166
|
+
|
|
15167
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
15168
|
+
|
|
15169
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
15170
|
+
callback this way:
|
|
15171
|
+
|
|
15172
|
+
Rails.application.reloader.to_prepare do
|
|
15173
|
+
# Autoload classes and modules needed at boot time here.
|
|
15174
|
+
end
|
|
15175
|
+
|
|
15176
|
+
That block runs when the application boots, and every time there is a reload.
|
|
15177
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
15178
|
+
|
|
15179
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
15180
|
+
Rails autoloads and reloads.
|
|
15181
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
15182
|
+
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.
|
|
15183
|
+
|
|
15184
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
15185
|
+
to be an error condition in future versions of Rails.
|
|
15186
|
+
|
|
15187
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
15188
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
15189
|
+
the expected changes won't be reflected in that stale Module object.
|
|
15190
|
+
|
|
15191
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
15192
|
+
|
|
15193
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
15194
|
+
callback this way:
|
|
15195
|
+
|
|
15196
|
+
Rails.application.reloader.to_prepare do
|
|
15197
|
+
# Autoload classes and modules needed at boot time here.
|
|
15198
|
+
end
|
|
15199
|
+
|
|
15200
|
+
That block runs when the application boots, and every time there is a reload.
|
|
15201
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
15202
|
+
|
|
15131
15203
|
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
15132
15204
|
Rails autoloads and reloads.
|
|
15133
15205
|
(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.26
|
|
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: 2026-06-
|
|
11
|
+
date: 2026-06-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|