apidae 1.4.28 → 1.4.29
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ca7026d59321f3f6edf336fe807778fc3f907e9292a8dcd86518195ea76a48a
|
|
4
|
+
data.tar.gz: d6567ea0c1cd5fb21a028a98a29fbec0430903b9682aaf25a60a480b38652cd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9431766168d0fc81820e9cade109d29ad4ec487edbc888086220cc45af06d0a20ec29abec54e383fbf8de8217f91b5880915e9c8d977fd2999a9964c562cb36d
|
|
7
|
+
data.tar.gz: d2abf3f026c8433bdf9949c8d4c0da877c5867d3b59d2cb3609d6ba18e4676854c84c75a3a1f25486f16c9d0d67ad8b99cd658c3ead8cf345d5ef413bc2014f4
|
data/app/models/apidae/obj.rb
CHANGED
|
@@ -2,6 +2,7 @@ module Apidae
|
|
|
2
2
|
class Obj < ActiveRecord::Base
|
|
3
3
|
|
|
4
4
|
belongs_to :town, class_name: 'Apidae::Town', foreign_key: :town_insee_code, primary_key: :insee_code, optional: true
|
|
5
|
+
belongs_to :apidae_town, class_name: 'Apidae::Town', foreign_key: :apidae_town_id, primary_key: :apidae_id, optional: true
|
|
5
6
|
has_many :apidae_selection_objects, class_name: 'Apidae::SelectionObject', foreign_key: :apidae_object_id
|
|
6
7
|
has_many :selections, class_name: 'Apidae::Selection', source: :apidae_selection, through: :apidae_selection_objects
|
|
7
8
|
|
|
@@ -243,6 +244,7 @@ module Apidae
|
|
|
243
244
|
apidae_obj.location_data = ApidaeDataParser.parse_location_data(object_data[:localisation], object_data[type_fields[:node]],
|
|
244
245
|
object_data[:territoires])
|
|
245
246
|
apidae_obj.town = ApidaeDataParser.parse_town(object_data[:localisation])
|
|
247
|
+
apidae_obj.apidae_town_id = apidae_obj.town&.apidae_id
|
|
246
248
|
apidae_obj.openings_data = ApidaeDataParser.parse_openings(object_data[:ouverture], object_data[:datesOuverture], *locales)
|
|
247
249
|
apidae_obj.rates_data = ApidaeDataParser.parse_rates(object_data[:descriptionTarif], *locales)
|
|
248
250
|
apidae_obj.booking_data = ApidaeDataParser.parse_booking(object_data[:reservation], object_data[:visites], *locales)
|
data/lib/apidae/version.rb
CHANGED
|
@@ -16112,6 +16112,198 @@ callback this way:
|
|
|
16112
16112
|
That block runs when the application boots, and every time there is a reload.
|
|
16113
16113
|
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16114
16114
|
|
|
16115
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16116
|
+
Rails autoloads and reloads.
|
|
16117
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
16118
|
+
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.
|
|
16119
|
+
|
|
16120
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
16121
|
+
to be an error condition in future versions of Rails.
|
|
16122
|
+
|
|
16123
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
16124
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
16125
|
+
the expected changes won't be reflected in that stale Module object.
|
|
16126
|
+
|
|
16127
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
16128
|
+
|
|
16129
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
16130
|
+
callback this way:
|
|
16131
|
+
|
|
16132
|
+
Rails.application.reloader.to_prepare do
|
|
16133
|
+
# Autoload classes and modules needed at boot time here.
|
|
16134
|
+
end
|
|
16135
|
+
|
|
16136
|
+
That block runs when the application boots, and every time there is a reload.
|
|
16137
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16138
|
+
|
|
16139
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16140
|
+
Rails autoloads and reloads.
|
|
16141
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
16142
|
+
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.
|
|
16143
|
+
|
|
16144
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
16145
|
+
to be an error condition in future versions of Rails.
|
|
16146
|
+
|
|
16147
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
16148
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
16149
|
+
the expected changes won't be reflected in that stale Module object.
|
|
16150
|
+
|
|
16151
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
16152
|
+
|
|
16153
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
16154
|
+
callback this way:
|
|
16155
|
+
|
|
16156
|
+
Rails.application.reloader.to_prepare do
|
|
16157
|
+
# Autoload classes and modules needed at boot time here.
|
|
16158
|
+
end
|
|
16159
|
+
|
|
16160
|
+
That block runs when the application boots, and every time there is a reload.
|
|
16161
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16162
|
+
|
|
16163
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16164
|
+
Rails autoloads and reloads.
|
|
16165
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
16166
|
+
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.
|
|
16167
|
+
|
|
16168
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
16169
|
+
to be an error condition in future versions of Rails.
|
|
16170
|
+
|
|
16171
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
16172
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
16173
|
+
the expected changes won't be reflected in that stale Module object.
|
|
16174
|
+
|
|
16175
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
16176
|
+
|
|
16177
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
16178
|
+
callback this way:
|
|
16179
|
+
|
|
16180
|
+
Rails.application.reloader.to_prepare do
|
|
16181
|
+
# Autoload classes and modules needed at boot time here.
|
|
16182
|
+
end
|
|
16183
|
+
|
|
16184
|
+
That block runs when the application boots, and every time there is a reload.
|
|
16185
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16186
|
+
|
|
16187
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16188
|
+
Rails autoloads and reloads.
|
|
16189
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
16190
|
+
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.
|
|
16191
|
+
|
|
16192
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
16193
|
+
to be an error condition in future versions of Rails.
|
|
16194
|
+
|
|
16195
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
16196
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
16197
|
+
the expected changes won't be reflected in that stale Module object.
|
|
16198
|
+
|
|
16199
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
16200
|
+
|
|
16201
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
16202
|
+
callback this way:
|
|
16203
|
+
|
|
16204
|
+
Rails.application.reloader.to_prepare do
|
|
16205
|
+
# Autoload classes and modules needed at boot time here.
|
|
16206
|
+
end
|
|
16207
|
+
|
|
16208
|
+
That block runs when the application boots, and every time there is a reload.
|
|
16209
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16210
|
+
|
|
16211
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16212
|
+
Rails autoloads and reloads.
|
|
16213
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
16214
|
+
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.
|
|
16215
|
+
|
|
16216
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
16217
|
+
to be an error condition in future versions of Rails.
|
|
16218
|
+
|
|
16219
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
16220
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
16221
|
+
the expected changes won't be reflected in that stale Module object.
|
|
16222
|
+
|
|
16223
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
16224
|
+
|
|
16225
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
16226
|
+
callback this way:
|
|
16227
|
+
|
|
16228
|
+
Rails.application.reloader.to_prepare do
|
|
16229
|
+
# Autoload classes and modules needed at boot time here.
|
|
16230
|
+
end
|
|
16231
|
+
|
|
16232
|
+
That block runs when the application boots, and every time there is a reload.
|
|
16233
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16234
|
+
|
|
16235
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16236
|
+
Rails autoloads and reloads.
|
|
16237
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
16238
|
+
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.
|
|
16239
|
+
|
|
16240
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
16241
|
+
to be an error condition in future versions of Rails.
|
|
16242
|
+
|
|
16243
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
16244
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
16245
|
+
the expected changes won't be reflected in that stale Module object.
|
|
16246
|
+
|
|
16247
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
16248
|
+
|
|
16249
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
16250
|
+
callback this way:
|
|
16251
|
+
|
|
16252
|
+
Rails.application.reloader.to_prepare do
|
|
16253
|
+
# Autoload classes and modules needed at boot time here.
|
|
16254
|
+
end
|
|
16255
|
+
|
|
16256
|
+
That block runs when the application boots, and every time there is a reload.
|
|
16257
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16258
|
+
|
|
16259
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16260
|
+
Rails autoloads and reloads.
|
|
16261
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
16262
|
+
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.
|
|
16263
|
+
|
|
16264
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
16265
|
+
to be an error condition in future versions of Rails.
|
|
16266
|
+
|
|
16267
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
16268
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
16269
|
+
the expected changes won't be reflected in that stale Module object.
|
|
16270
|
+
|
|
16271
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
16272
|
+
|
|
16273
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
16274
|
+
callback this way:
|
|
16275
|
+
|
|
16276
|
+
Rails.application.reloader.to_prepare do
|
|
16277
|
+
# Autoload classes and modules needed at boot time here.
|
|
16278
|
+
end
|
|
16279
|
+
|
|
16280
|
+
That block runs when the application boots, and every time there is a reload.
|
|
16281
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16282
|
+
|
|
16283
|
+
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16284
|
+
Rails autoloads and reloads.
|
|
16285
|
+
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
16286
|
+
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.
|
|
16287
|
+
|
|
16288
|
+
Being able to do this is deprecated. Autoloading during initialization is going
|
|
16289
|
+
to be an error condition in future versions of Rails.
|
|
16290
|
+
|
|
16291
|
+
Reloading does not reboot the application, and therefore code executed during
|
|
16292
|
+
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
16293
|
+
the expected changes won't be reflected in that stale Module object.
|
|
16294
|
+
|
|
16295
|
+
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
16296
|
+
|
|
16297
|
+
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
16298
|
+
callback this way:
|
|
16299
|
+
|
|
16300
|
+
Rails.application.reloader.to_prepare do
|
|
16301
|
+
# Autoload classes and modules needed at boot time here.
|
|
16302
|
+
end
|
|
16303
|
+
|
|
16304
|
+
That block runs when the application boots, and every time there is a reload.
|
|
16305
|
+
For historical reasons, it may run twice, so it has to be idempotent.
|
|
16306
|
+
|
|
16115
16307
|
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
16116
16308
|
Rails autoloads and reloads.
|
|
16117
16309
|
(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.29
|
|
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-
|
|
11
|
+
date: 2026-09-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -193,6 +193,7 @@ files:
|
|
|
193
193
|
- db/migrate/20210607214647_add_apidae_type_to_apidae_territories.rb
|
|
194
194
|
- db/migrate/20230206113335_add_prev_data_to_apidae_objs.rb
|
|
195
195
|
- db/migrate/20250323201235_change_objs_certifications_structure.rb
|
|
196
|
+
- db/migrate/20260911184620_add_apidae_town_id_to_apidae_objs.rb
|
|
196
197
|
- lib/apidae.rb
|
|
197
198
|
- lib/apidae/engine.rb
|
|
198
199
|
- lib/apidae/version.rb
|