apidae 1.2.35 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,58 +1,67 @@
1
- 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.
2
-
3
- Being able to do this is deprecated. Autoloading during initialization is going
4
- to be an error condition in future versions of Rails.
5
-
6
- Reloading does not reboot the application, and therefore code executed during
7
- initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
8
- the expected changes won't be reflected in that stale Module object.
9
-
10
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
11
-
12
- In order to autoload safely at boot time, please wrap your code in a reloader
13
- callback this way:
14
-
15
- Rails.application.reloader.to_prepare do
16
- # Autoload classes and modules needed at boot time here.
17
- end
18
-
19
- That block runs when the application boots, and every time there is a reload.
20
- For historical reasons, it may run twice, so it has to be idempotent.
21
-
22
- Check the "Autoloading and Reloading Constants" guide to learn more about how
23
- Rails autoloads and reloads.
24
- (called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
25
- Apidae::Obj Load (0.8ms) SELECT "apidae_objs".* FROM "apidae_objs" WHERE "apidae_objs"."root_obj_id" IS NULL ORDER BY "apidae_objs"."id" ASC LIMIT $1 [["LIMIT", 1]]
26
- TRANSACTION (1.0ms) BEGIN
27
- Apidae::Obj Create (8.3ms) INSERT INTO "apidae_objs" ("apidae_type", "created_at", "updated_at", "description_data") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_type", "test"], ["created_at", "2023-02-16 21:12:52.351303"], ["updated_at", "2023-02-16 21:12:52.351303"], ["description_data", "{\"short_desc\":{\"\":\"test desc\"}}"]]
28
- TRANSACTION (0.7ms) COMMIT
29
- TRANSACTION (0.2ms) BEGIN
30
- Apidae::Obj Update (1.3ms) UPDATE "apidae_objs" SET "updated_at" = $1, "description_data" = $2 WHERE "apidae_objs"."id" = $3 [["updated_at", "2023-02-16 21:16:00.968796"], ["description_data", "{\"short_desc\":{\"\":\"test desc\",\"fr\":\"updated desc\"}}"], ["id", 1]]
31
- TRANSACTION (0.7ms) COMMIT
32
- TRANSACTION (0.2ms) BEGIN
33
- Apidae::Obj Create (0.9ms) INSERT INTO "apidae_objs" ("apidae_type", "created_at", "updated_at", "description_data") VALUES ($1, $2, $3, $4) RETURNING "id" [["apidae_type", "HOTELLERIE"], ["created_at", "2023-02-16 21:17:36.422310"], ["updated_at", "2023-02-16 21:17:36.422310"], ["description_data", "{\"short_desc\":{\"fr\":\"short desc fr\"}}"]]
34
- TRANSACTION (1.4ms) COMMIT
35
- 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.
36
-
37
- Being able to do this is deprecated. Autoloading during initialization is going
38
- to be an error condition in future versions of Rails.
39
-
40
- Reloading does not reboot the application, and therefore code executed during
41
- initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
42
- the expected changes won't be reflected in that stale Module object.
43
-
44
- `config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
45
-
46
- In order to autoload safely at boot time, please wrap your code in a reloader
47
- callback this way:
48
-
49
- Rails.application.reloader.to_prepare do
50
- # Autoload classes and modules needed at boot time here.
51
- end
52
-
53
- That block runs when the application boots, and every time there is a reload.
54
- For historical reasons, it may run twice, so it has to be idempotent.
55
-
56
- Check the "Autoloading and Reloading Constants" guide to learn more about how
57
- Rails autoloads and reloads.
58
- (called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
1
+ Apidae::Obj Load (1.5ms) SELECT "apidae_objs".* FROM "apidae_objs" ORDER BY "apidae_objs"."id" ASC LIMIT $1 [["LIMIT", 1]]
2
+  (0.2ms) SELECT pg_try_advisory_lock(6140174353533887940)
3
+  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4
+ Migrating to AddProjectIdToSelections (20181024072424)
5
+  (0.2ms) BEGIN
6
+  (39.2ms) ALTER TABLE "apidae_selections" ADD "apidae_project_id" integer
7
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20181024072424"]]
8
+  (0.8ms) COMMIT
9
+ Migrating to CreateApidaeProjects (20181024072843)
10
+  (0.1ms) BEGIN
11
+  (56.9ms) CREATE TABLE "apidae_projects" ("id" bigserial primary key, "name" character varying, "apidae_id" integer, "api_key" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
12
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20181024072843"]]
13
+  (2.1ms) COMMIT
14
+ Migrating to AddApidaeIdToApidaeFileImports (20190111162443)
15
+  (40.0ms) BEGIN
16
+  (0.6ms) ALTER TABLE "apidae_file_imports" ADD "apidae_id" integer
17
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190111162443"]]
18
+  (0.6ms) COMMIT
19
+ Migrating to UpgradeApidaeObjsTitleDataType (20190123142628)
20
+  (0.1ms) BEGIN
21
+  (0.4ms) ALTER TABLE "apidae_objs" ADD "title_data" jsonb
22
+ Apidae::Obj Load (0.5ms) SELECT "apidae_objs".* FROM "apidae_objs"
23
+  (1.4ms) ALTER TABLE "apidae_objs" DROP COLUMN "title"
24
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190123142628"]]
25
+  (0.4ms) COMMIT
26
+ ActiveRecord::InternalMetadata Load (1.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
27
+  (0.2ms) BEGIN
28
+  (0.1ms) COMMIT
29
+  (0.2ms) SELECT pg_advisory_unlock(6140174353533887940)
30
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
31
+  (0.3ms) SELECT pg_try_advisory_lock(6140174353533887940)
32
+  (3.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
33
+ Migrating to AddBookingDataToApidaeObjs (20190123160046)
34
+  (0.2ms) BEGIN
35
+  (0.7ms) ALTER TABLE "apidae_objs" ADD "booking_data" jsonb
36
+ Apidae::Obj Load (1.0ms) SELECT "apidae_objs".* FROM "apidae_objs"
37
+  (0.5ms) ALTER TABLE "apidae_objs" DROP COLUMN "reservation"
38
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190123160046"]]
39
+  (0.6ms) COMMIT
40
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
41
+  (0.2ms) BEGIN
42
+  (0.1ms) COMMIT
43
+  (0.2ms) SELECT pg_advisory_unlock(6140174353533887940)
44
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
45
+  (4.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
46
+  (0.2ms) SELECT pg_try_advisory_lock(6140174353533887940)
47
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
48
+ Migrating to AddLocalesDataToApidaeProjects (20190123214635)
49
+  (0.2ms) BEGIN
50
+  (3.2ms) ALTER TABLE "apidae_projects" ADD "locales_data" character varying
51
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190123214635"]]
52
+  (0.5ms) COMMIT
53
+ ActiveRecord::InternalMetadata Load (42.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
54
+  (0.2ms) BEGIN
55
+  (0.1ms) COMMIT
56
+  (0.2ms) SELECT pg_advisory_unlock(6140174353533887940)
57
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
58
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
59
+  (0.2ms) SELECT pg_try_advisory_lock(6140174353533887940)
60
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
61
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
62
+  (0.2ms) BEGIN
63
+  (0.2ms) COMMIT
64
+  (0.2ms) SELECT pg_advisory_unlock(6140174353533887940)
65
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
66
+ Apidae::Obj Load (26.8ms) SELECT apidae_id, COUNT(id) FROM "apidae_objs" WHERE "apidae_objs"."root_obj_id" IS NULL GROUP BY "apidae_objs"."apidae_id" HAVING (COUNT(id) > 1)
67
+ Apidae::Obj Load (2.4ms) SELECT apidae_id, COUNT(id) FROM "apidae_objs" WHERE "apidae_objs"."root_obj_id" IS NULL GROUP BY "apidae_objs"."apidae_id" HAVING (COUNT(id) > 1)