apidae 1.3.6 → 1.3.7
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/app/models/apidae/obj.rb +5 -4
- data/lib/apidae/version.rb +1 -1
- data/test/dummy/log/development.log +1 -376
- metadata +3 -6
- data/test/dummy/log/test.log +0 -9460
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75dde9650200cc683aac33972e62266dd313530eb14fdf1adce960666b055752
|
|
4
|
+
data.tar.gz: 210f1dcc7a842812d00fb4ea471b33c2f00327b4ae32bb1727dc831e878df263
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1e8f20bd1163222ad25c737b2d4593159c774f15afe9d10143317540de6fb4cab3f66f09bab4155e41e7459b7728e3bb64ba39f46600011fd1bc7daac561eaa
|
|
7
|
+
data.tar.gz: 44ca9a17ccd7d50fe8bf878158902f623e007162027abc923293dbbf3ee96e0fde3b41809f1d93b8e33f8000ff85acc68d40d3c1c4c9025db2bcf093caabb815
|
|
@@ -113,7 +113,7 @@ module Apidae
|
|
|
113
113
|
short_desc: node_value(data_hash, :descriptifCourt, *locales),
|
|
114
114
|
long_desc: node_value(data_hash, :descriptifDetaille, *locales),
|
|
115
115
|
theme_desc: data_hash[:descriptifsThematises].blank? ? {} : Hash[data_hash[:descriptifsThematises].map {|th| [node_id(th, :theme), node_value(th, :description, *locales)]}],
|
|
116
|
-
private_desc: private_data.blank? ? {} : Hash[private_data.map {|d| [d[:nomTechnique], node_value(d, :descriptif, *locales)]}]
|
|
116
|
+
private_desc: private_data.blank? ? {} : Hash[private_data.map {|d| [d[:nomTechnique], (node_value(d, :descriptif, *locales).blank? ? {LOCALE_FR => d[:libelleFr]} : node_value(d, :descriptif, *locales))]}]
|
|
117
117
|
}
|
|
118
118
|
end
|
|
119
119
|
end
|
|
@@ -253,6 +253,7 @@ module Apidae
|
|
|
253
253
|
methods = rates_hash[:modesPaiement].blank? ? [] : rates_hash[:modesPaiement].map {|p| p[:id]}
|
|
254
254
|
{
|
|
255
255
|
rates_desc: desc, rates: values, payment_methods: methods,
|
|
256
|
+
tax_included: rates_hash[:taxeDeSejourIncluse].blank? ? nil : (rates_hash[:taxeDeSejourIncluse] == 'OUI'),
|
|
256
257
|
rates_desc_mode: rates_hash[:tarifsEnClairGenerationMode] == 'AUTOMATIQUE' ? MODE_AUTO : MODE_MANUAL,
|
|
257
258
|
includes: node_value(rates_hash, :leTarifComprend, *locales),
|
|
258
259
|
excludes: node_value(rates_hash, :leTarifNeComprendPas, *locales),
|
|
@@ -275,6 +276,8 @@ module Apidae
|
|
|
275
276
|
age_min: presta_hash[:ageMin], age_max: presta_hash[:ageMax]} : {}),
|
|
276
277
|
classification: nodes_ids(data_hash[:classement], data_hash[:classementPrefectoral], data_hash[:classification]) +
|
|
277
278
|
lists_ids(data_hash[:classementsGuides]) + lists_ids(data_hash[:classements]),
|
|
279
|
+
classification_date: data_hash[:dateClassement],
|
|
280
|
+
classification_ref: data_hash[:numeroClassement],
|
|
278
281
|
labels: lists_ids(data_hash[:labels], data_hash[:labelsChartesQualite], prestations_hash[:labelsTourismeHandicap]) +
|
|
279
282
|
(node_id(data_hash, :typeLabel) ? [node_id(data_hash, :typeLabel)] : []),
|
|
280
283
|
chains: lists_ids(data_hash[:chaines]) + nodes_ids(data_hash[:chaineEtLabel]),
|
|
@@ -288,7 +291,10 @@ module Apidae
|
|
|
288
291
|
extra: apidae_obj.apidae_type == Obj::SPA ? node_value(data_hash, :formuleHebergement, *locales) : node_value(prestations_hash, :complementAccueil, *locales),
|
|
289
292
|
duration: apidae_obj.apidae_type == Obj::SPA ? {days: data_hash[:nombreJours], nights: data_hash[:nombreNuits]} : data_hash[:dureeSeance],
|
|
290
293
|
certifications: data_hash[:agrements].blank? ? [] : data_hash[:agrements].map {|a| {id: a[:type][:id], identifier: a[:numero]}},
|
|
291
|
-
business: business_hash
|
|
294
|
+
business: (business_hash || {}).except(:sallesEquipeesPour, :sallesEquipement, :sallesRestauration, :sallesReunion, :sallesHebergement),
|
|
295
|
+
business_equipments: lists_ids((business_hash || {})[:sallesEquipeesPour], (business_hash || {})[:sallesEquipement],
|
|
296
|
+
(business_hash || {})[:sallesRestauration], (business_hash || {})[:sallesHebergement]),
|
|
297
|
+
business_rooms: (business_hash || {})[:sallesReunion]
|
|
292
298
|
}
|
|
293
299
|
end
|
|
294
300
|
|
|
@@ -331,6 +337,8 @@ module Apidae
|
|
|
331
337
|
if visits_hash
|
|
332
338
|
booking_hash[:visits_allowed] = visits_hash[:visitable] == true
|
|
333
339
|
booking_hash[:visits_desc] = node_value(visits_hash, :complementVisite, *locales)
|
|
340
|
+
booking_hash[:visits_duration] = visits_hash[:dureeMoyenneVisiteIndividuelle]
|
|
341
|
+
booking_hash[:visits_services] = lists_ids(visits_hash[:prestationsVisitesGroupees]) + lists_ids(visits_hash[:prestationsVisitesIndividuelles])
|
|
334
342
|
end
|
|
335
343
|
booking_hash
|
|
336
344
|
end
|
data/app/models/apidae/obj.rb
CHANGED
|
@@ -14,16 +14,17 @@ module Apidae
|
|
|
14
14
|
store_accessor :description_data, :short_desc, :long_desc, :theme_desc, :private_desc
|
|
15
15
|
store_accessor :pictures_data, :pictures
|
|
16
16
|
store_accessor :attachments_data, :attachments
|
|
17
|
-
store_accessor :type_data, :categories, :themes, :capacity, :classification, :
|
|
18
|
-
:
|
|
17
|
+
store_accessor :type_data, :categories, :themes, :capacity, :classification, :classification_date,
|
|
18
|
+
:classification_ref, :labels, :chains, :area, :track, :tricky_sections, :products, :audience, :animals,
|
|
19
|
+
:animals_desc, :extra, :duration, :certifications, :business, :business_equipments, :business_rooms
|
|
19
20
|
store_accessor :entity_data, :entity_id, :entity_name, :service_provider_id, :is_service_provider, :legal
|
|
20
21
|
store_accessor :contact_data, :telephone, :email, :website, :google, :facebook, :twitter, :yelp, :trip_advisor, :fax,
|
|
21
22
|
:mobile_website, :shorty_url, :contacts
|
|
22
23
|
store_accessor :location_data, :address, :place, :latitude, :longitude, :access, :territories, :environments, :altitude, :map_reference
|
|
23
24
|
store_accessor :openings_data, :openings_desc, :openings_desc_mode, :openings, :time_periods, :openings_extra
|
|
24
|
-
store_accessor :rates_data, :rates_desc, :rates_desc_mode, :rates, :payment_methods, :includes, :excludes, :rates_extra
|
|
25
|
+
store_accessor :rates_data, :rates_desc, :rates_desc_mode, :rates, :payment_methods, :includes, :excludes, :rates_extra, :tax_included
|
|
25
26
|
store_accessor :service_data, :services, :equipments, :comfort, :activities, :challenged, :languages
|
|
26
|
-
store_accessor :booking_data, :booking_desc, :booking_entities, :visits_allowed, :visits_desc
|
|
27
|
+
store_accessor :booking_data, :booking_desc, :booking_entities, :visits_allowed, :visits_desc, :visits_duration, :visits_services
|
|
27
28
|
store_accessor :tags_data, :promo, :internal, :linked
|
|
28
29
|
store_accessor :version_data, :versioned_fields
|
|
29
30
|
|
data/lib/apidae/version.rb
CHANGED
|
@@ -1,353 +1,3 @@
|
|
|
1
|
-
[1m[36mApidae::Obj Load (1.5ms)[0m [1m[34mSELECT "apidae_objs".* FROM "apidae_objs" ORDER BY "apidae_objs"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
|
2
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6140174353533887940)[0m
|
|
3
|
-
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
4
|
-
Migrating to AddProjectIdToSelections (20181024072424)
|
|
5
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
6
|
-
[1m[35m (39.2ms)[0m [1m[35mALTER TABLE "apidae_selections" ADD "apidae_project_id" integer[0m
|
|
7
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20181024072424"]]
|
|
8
|
-
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
|
|
9
|
-
Migrating to CreateApidaeProjects (20181024072843)
|
|
10
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
11
|
-
[1m[35m (56.9ms)[0m [1m[35mCREATE 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)[0m
|
|
12
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20181024072843"]]
|
|
13
|
-
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
|
14
|
-
Migrating to AddApidaeIdToApidaeFileImports (20190111162443)
|
|
15
|
-
[1m[35m (40.0ms)[0m [1m[35mBEGIN[0m
|
|
16
|
-
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "apidae_file_imports" ADD "apidae_id" integer[0m
|
|
17
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190111162443"]]
|
|
18
|
-
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
|
19
|
-
Migrating to UpgradeApidaeObjsTitleDataType (20190123142628)
|
|
20
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
21
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "title_data" jsonb[0m
|
|
22
|
-
[1m[36mApidae::Obj Load (0.5ms)[0m [1m[34mSELECT "apidae_objs".* FROM "apidae_objs"[0m
|
|
23
|
-
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "apidae_objs" DROP COLUMN "title"[0m
|
|
24
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190123142628"]]
|
|
25
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
26
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
27
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
28
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
29
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6140174353533887940)[0m
|
|
30
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
31
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(6140174353533887940)[0m
|
|
32
|
-
[1m[35m (3.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
33
|
-
Migrating to AddBookingDataToApidaeObjs (20190123160046)
|
|
34
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
35
|
-
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "booking_data" jsonb[0m
|
|
36
|
-
[1m[36mApidae::Obj Load (1.0ms)[0m [1m[34mSELECT "apidae_objs".* FROM "apidae_objs"[0m
|
|
37
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "apidae_objs" DROP COLUMN "reservation"[0m
|
|
38
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190123160046"]]
|
|
39
|
-
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
|
40
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
41
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
42
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
43
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6140174353533887940)[0m
|
|
44
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
45
|
-
[1m[35m (4.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
46
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6140174353533887940)[0m
|
|
47
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
48
|
-
Migrating to AddLocalesDataToApidaeProjects (20190123214635)
|
|
49
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
50
|
-
[1m[35m (3.2ms)[0m [1m[35mALTER TABLE "apidae_projects" ADD "locales_data" character varying[0m
|
|
51
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190123214635"]]
|
|
52
|
-
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
53
|
-
[1m[36mActiveRecord::InternalMetadata Load (42.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
54
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
55
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
56
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6140174353533887940)[0m
|
|
57
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
58
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
59
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6140174353533887940)[0m
|
|
60
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
61
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
62
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
63
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
|
64
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6140174353533887940)[0m
|
|
65
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
66
|
-
[1m[36mApidae::Obj Load (26.8ms)[0m [1m[34mSELECT 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)[0m
|
|
67
|
-
[1m[36mApidae::Obj Load (2.4ms)[0m [1m[34mSELECT 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)[0m
|
|
68
|
-
[1m[36mApidae::Obj Load (0.8ms)[0m [1m[34mSELECT "apidae_objs".* FROM "apidae_objs" ORDER BY "apidae_objs"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
|
69
|
-
[1m[35m (3.4ms)[0m [1m[34mSELECT COUNT(*) FROM "apidae_objs"[0m
|
|
70
|
-
[1m[35m (20.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
|
71
|
-
[1m[35m (40.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
72
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT pg_try_advisory_lock(6140174353533887940)[0m
|
|
73
|
-
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
74
|
-
Migrating to CreateApidaeSelections (20170512212941)
|
|
75
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
76
|
-
[1m[35m (40.3ms)[0m [1m[35mCREATE TABLE "apidae_selections" ("id" serial NOT NULL PRIMARY KEY, "label" character varying, "reference" character varying, "apidae_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
77
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170512212941"]]
|
|
78
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
79
|
-
Migrating to CreateApidaeObjects (20170512214641)
|
|
80
|
-
[1m[35m (40.8ms)[0m [1m[35mBEGIN[0m
|
|
81
|
-
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "apidae_objects" ("id" serial NOT NULL PRIMARY KEY, "address" character varying, "apidae_id" integer, "apidae_type" character varying, "apidae_subtype" character varying, "title" character varying, "short_desc" text, "contact" text, "long_desc" text, "type_data" text, "latitude" float, "longitude" float, "openings" text, "rates" text, "reservation" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
82
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170512214641"]]
|
|
83
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
84
|
-
Migrating to CreateApidaeObjectsApidaeSelections (20170512221525)
|
|
85
|
-
[1m[35m (39.6ms)[0m [1m[35mBEGIN[0m
|
|
86
|
-
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "apidae_objects_apidae_selections" ("id" serial NOT NULL PRIMARY KEY, "object_id" integer, "selection_id" integer)[0m
|
|
87
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170512221525"]]
|
|
88
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
|
89
|
-
Migrating to CreateApidaeTowns (20170513114002)
|
|
90
|
-
[1m[35m (40.7ms)[0m [1m[35mBEGIN[0m
|
|
91
|
-
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "apidae_towns" ("id" serial NOT NULL PRIMARY KEY, "country" character varying, "apidae_id" integer, "insee_code" character varying, "name" character varying, "postal_code" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
92
|
-
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_apidae_towns_on_insee_code" ON "apidae_towns" ("insee_code")[0m
|
|
93
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170513114002"]]
|
|
94
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
95
|
-
Migrating to AddTownInseeCodeToObjects (20170513114409)
|
|
96
|
-
[1m[35m (40.5ms)[0m [1m[35mBEGIN[0m
|
|
97
|
-
[1m[35m (4.3ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "town_insee_code" character varying[0m
|
|
98
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170513114409"]]
|
|
99
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
100
|
-
Migrating to AddPicturesDataToObjects (20170513115401)
|
|
101
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
102
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "pictures_data" text[0m
|
|
103
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170513115401"]]
|
|
104
|
-
[1m[35m (27.1ms)[0m [1m[35mCOMMIT[0m
|
|
105
|
-
Migrating to CreateApidaeAttachedFiles (20170513121215)
|
|
106
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
|
107
|
-
[1m[35m (24.8ms)[0m [1m[35mCREATE TABLE "apidae_attached_files" ("id" serial NOT NULL PRIMARY KEY, "name" character varying, "credits" character varying, "description" text, "apidae_object_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
108
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170513121215"]]
|
|
109
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
110
|
-
Migrating to RenameObjectsSelectionsTable (20170513205932)
|
|
111
|
-
[1m[35m (33.6ms)[0m [1m[35mBEGIN[0m
|
|
112
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "apidae_objects_apidae_selections" RENAME TO "apidae_objects_selections"[0m
|
|
113
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER INDEX "apidae_objects_apidae_selections_pkey" RENAME TO "apidae_objects_selections_pkey"[0m
|
|
114
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "public"."apidae_objects_apidae_selections_id_seq" RENAME TO "apidae_objects_selections_id_seq"[0m
|
|
115
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170513205932"]]
|
|
116
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
|
117
|
-
Migrating to AddEntityDataToObjects (20170720161134)
|
|
118
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
119
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "entity_data" text[0m
|
|
120
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170720161134"]]
|
|
121
|
-
[1m[35m (40.7ms)[0m [1m[35mCOMMIT[0m
|
|
122
|
-
Migrating to CreateApidaeFileImports (20170730102424)
|
|
123
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
|
124
|
-
[1m[35m (47.6ms)[0m [1m[35mCREATE TABLE "apidae_file_imports" ("id" serial NOT NULL PRIMARY KEY, "status" character varying, "remote_file" character varying, "created" integer, "updated" integer, "deleted" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
125
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170730102424"]]
|
|
126
|
-
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
|
127
|
-
Migrating to CreateApidaeExports (20171025075304)
|
|
128
|
-
[1m[35m (40.4ms)[0m [1m[35mBEGIN[0m
|
|
129
|
-
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "apidae_exports" ("id" serial NOT NULL PRIMARY KEY, "status" character varying, "remote_status" character varying, "oneshot" boolean, "reset" boolean, "file_url" character varying, "confirm_url" character varying, "project_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
130
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171025075304"]]
|
|
131
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
|
132
|
-
Migrating to CreateApidaeSelectionObjects (20180217222410)
|
|
133
|
-
[1m[35m (40.4ms)[0m [1m[35mBEGIN[0m
|
|
134
|
-
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "apidae_selection_objects" ("id" bigserial primary key, "apidae_selection_id" integer, "apidae_object_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
135
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180217222410"]]
|
|
136
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
137
|
-
Migrating to ChangeTextColumnsToJson (20180218172704)
|
|
138
|
-
[1m[35m (32.6ms)[0m [1m[35mBEGIN[0m
|
|
139
|
-
[1m[35m (6.8ms)[0m [1m[35mALTER TABLE "apidae_objects" ALTER COLUMN "pictures_data" TYPE jsonb USING pictures_data::text::jsonb[0m
|
|
140
|
-
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "apidae_objects" ALTER COLUMN "type_data" TYPE jsonb USING type_data::text::jsonb[0m
|
|
141
|
-
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "apidae_objects" ALTER COLUMN "entity_data" TYPE jsonb USING entity_data::text::jsonb[0m
|
|
142
|
-
[1m[35m (3.0ms)[0m [1m[35mALTER TABLE "apidae_objects" ALTER COLUMN "contact" TYPE jsonb USING contact::text::jsonb[0m
|
|
143
|
-
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "apidae_objects" ALTER COLUMN "address" TYPE jsonb USING address::text::jsonb[0m
|
|
144
|
-
[1m[35m (2.8ms)[0m [1m[35mALTER TABLE "apidae_objects" ALTER COLUMN "openings" TYPE jsonb USING openings::text::jsonb[0m
|
|
145
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180218172704"]]
|
|
146
|
-
[1m[35m (3.7ms)[0m [1m[35mCOMMIT[0m
|
|
147
|
-
Migrating to AddServiceDataToApidaeObjects (20180218231319)
|
|
148
|
-
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
|
149
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "service_data" jsonb[0m
|
|
150
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180218231319"]]
|
|
151
|
-
[1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
|
|
152
|
-
Migrating to AddRatesDataToApidaeObjects (20180222104915)
|
|
153
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
154
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "rates_data" jsonb[0m
|
|
155
|
-
[1m[35m (41.4ms)[0m [1m[35mALTER TABLE "apidae_objects" DROP COLUMN "rates"[0m
|
|
156
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180222104915"]]
|
|
157
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
158
|
-
Migrating to RenameOpeningsToOpeningsData (20180222105302)
|
|
159
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
160
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objects" RENAME COLUMN "openings" TO "openings_data"[0m
|
|
161
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180222105302"]]
|
|
162
|
-
[1m[35m (40.6ms)[0m [1m[35mCOMMIT[0m
|
|
163
|
-
Migrating to AddAttachmentsDataToApidaeObjects (20180307164936)
|
|
164
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
165
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "attachments_data" jsonb[0m
|
|
166
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180307164936"]]
|
|
167
|
-
[1m[35m (37.6ms)[0m [1m[35mCOMMIT[0m
|
|
168
|
-
Migrating to CreateApidaeReferences (20180307170349)
|
|
169
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
170
|
-
[1m[35m (85.3ms)[0m [1m[35mCREATE TABLE "apidae_references" ("id" bigserial primary key, "apidae_id" integer, "apidae_type" character varying, "label_data" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
171
|
-
[1m[35m (41.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_apidae_references_on_apidae_id" ON "apidae_references" ("apidae_id")[0m
|
|
172
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180307170349"]]
|
|
173
|
-
[1m[35m (41.1ms)[0m [1m[35mCOMMIT[0m
|
|
174
|
-
Migrating to AddTagsDataToApidaeObjects (20180314093512)
|
|
175
|
-
[1m[35m (81.8ms)[0m [1m[35mBEGIN[0m
|
|
176
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "tags_data" jsonb[0m
|
|
177
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180314093512"]]
|
|
178
|
-
[1m[35m (40.8ms)[0m [1m[35mCOMMIT[0m
|
|
179
|
-
Migrating to AddMetaDataToApidaeObjects (20180314132631)
|
|
180
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
181
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "meta_data" jsonb[0m
|
|
182
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180314132631"]]
|
|
183
|
-
[1m[35m (41.0ms)[0m [1m[35mCOMMIT[0m
|
|
184
|
-
Migrating to RemoveApidaeIdUnicity (20180319143954)
|
|
185
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
186
|
-
[1m[35m (0.5ms)[0m [1m[35mDROP INDEX "index_apidae_references_on_apidae_id"[0m
|
|
187
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_apidae_references_on_apidae_id" ON "apidae_references" ("apidae_id")[0m
|
|
188
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180319143954"]]
|
|
189
|
-
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
190
|
-
Migrating to AddLocationDataToApidaeObjects (20180417164604)
|
|
191
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
|
192
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "location_data" jsonb[0m
|
|
193
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180417164604"]]
|
|
194
|
-
[1m[35m (23.5ms)[0m [1m[35mCOMMIT[0m
|
|
195
|
-
Migrating to RemoveAddressFromApidaeObjects (20180417165744)
|
|
196
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
197
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "apidae_objects" DROP COLUMN "address"[0m
|
|
198
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180417165744"]]
|
|
199
|
-
[1m[35m (23.3ms)[0m [1m[35mCOMMIT[0m
|
|
200
|
-
Migrating to RemoveLatLngFromApidaeObjects (20180417171344)
|
|
201
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
202
|
-
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "apidae_objects" DROP COLUMN "latitude"[0m
|
|
203
|
-
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "apidae_objects" DROP COLUMN "longitude"[0m
|
|
204
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180417171344"]]
|
|
205
|
-
[1m[35m (20.9ms)[0m [1m[35mCOMMIT[0m
|
|
206
|
-
Migrating to AddDescriptionDataToApidaeObjects (20180418141248)
|
|
207
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
208
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_objects" ADD "description_data" jsonb[0m
|
|
209
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180418141248"]]
|
|
210
|
-
[1m[35m (22.7ms)[0m [1m[35mCOMMIT[0m
|
|
211
|
-
Migrating to RemoveDescColumnsFromApidaeObjects (20180418141305)
|
|
212
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
213
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_objects" DROP COLUMN "short_desc"[0m
|
|
214
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "apidae_objects" DROP COLUMN "long_desc"[0m
|
|
215
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180418141305"]]
|
|
216
|
-
[1m[35m (41.3ms)[0m [1m[35mCOMMIT[0m
|
|
217
|
-
Migrating to AddMetaDataToApidaeReferences (20180424141656)
|
|
218
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
219
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_references" ADD "meta_data" jsonb[0m
|
|
220
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180424141656"]]
|
|
221
|
-
[1m[35m (40.2ms)[0m [1m[35mCOMMIT[0m
|
|
222
|
-
Migrating to RemoveInseeCodeUnicity (20180519170210)
|
|
223
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
224
|
-
[1m[35m (0.3ms)[0m [1m[35mDROP INDEX "index_apidae_towns_on_insee_code"[0m
|
|
225
|
-
[1m[35m (41.9ms)[0m [1m[35mCREATE INDEX "index_apidae_towns_on_insee_code" ON "apidae_towns" ("insee_code")[0m
|
|
226
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180519170210"]]
|
|
227
|
-
[1m[35m (2.8ms)[0m [1m[35mCOMMIT[0m
|
|
228
|
-
Migrating to DestroyAttachedFiles (20180521211735)
|
|
229
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
230
|
-
[1m[35m (37.9ms)[0m [1m[35mDROP TABLE "apidae_attached_files"[0m
|
|
231
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180521211735"]]
|
|
232
|
-
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
|
233
|
-
Migrating to RenameObjectsToObj (20180625050400)
|
|
234
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
235
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objects" RENAME TO "apidae_objs"[0m
|
|
236
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER INDEX "apidae_objects_pkey" RENAME TO "apidae_objs_pkey"[0m
|
|
237
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "public"."apidae_objects_id_seq" RENAME TO "apidae_objs_id_seq"[0m
|
|
238
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180625050400"]]
|
|
239
|
-
[1m[35m (40.7ms)[0m [1m[35mCOMMIT[0m
|
|
240
|
-
Migrating to AddProjectIdToSelections (20181024072424)
|
|
241
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
|
242
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_selections" ADD "apidae_project_id" integer[0m
|
|
243
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20181024072424"]]
|
|
244
|
-
[1m[35m (34.0ms)[0m [1m[35mCOMMIT[0m
|
|
245
|
-
Migrating to CreateApidaeProjects (20181024072843)
|
|
246
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
|
247
|
-
[1m[35m (43.8ms)[0m [1m[35mCREATE 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)[0m
|
|
248
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20181024072843"]]
|
|
249
|
-
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
250
|
-
Migrating to AddApidaeIdToApidaeFileImports (20190111162443)
|
|
251
|
-
[1m[35m (40.4ms)[0m [1m[35mBEGIN[0m
|
|
252
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_file_imports" ADD "apidae_id" integer[0m
|
|
253
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190111162443"]]
|
|
254
|
-
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
|
255
|
-
Migrating to UpgradeApidaeObjsTitleDataType (20190123142628)
|
|
256
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
257
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "title_data" jsonb[0m
|
|
258
|
-
[1m[36mApidae::Obj Load (0.4ms)[0m [1m[34mSELECT "apidae_objs".* FROM "apidae_objs"[0m
|
|
259
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objs" DROP COLUMN "title"[0m
|
|
260
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190123142628"]]
|
|
261
|
-
[1m[35m (40.4ms)[0m [1m[35mCOMMIT[0m
|
|
262
|
-
Migrating to AddBookingDataToApidaeObjs (20190123160046)
|
|
263
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
264
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "booking_data" jsonb[0m
|
|
265
|
-
[1m[36mApidae::Obj Load (0.3ms)[0m [1m[34mSELECT "apidae_objs".* FROM "apidae_objs"[0m
|
|
266
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "apidae_objs" DROP COLUMN "reservation"[0m
|
|
267
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190123160046"]]
|
|
268
|
-
[1m[35m (40.1ms)[0m [1m[35mCOMMIT[0m
|
|
269
|
-
Migrating to AddLocalesDataToApidaeProjects (20190123214635)
|
|
270
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
271
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_projects" ADD "locales_data" character varying[0m
|
|
272
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190123214635"]]
|
|
273
|
-
[1m[35m (22.4ms)[0m [1m[35mCOMMIT[0m
|
|
274
|
-
Migrating to AddVersionToApidaeObjs (20190124162543)
|
|
275
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
276
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "version" character varying[0m
|
|
277
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "root_obj_id" integer[0m
|
|
278
|
-
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "apidae_projects" ADD "versions_data" character varying[0m
|
|
279
|
-
[1m[36mApidae::Obj Update All (0.5ms)[0m [1m[33mUPDATE "apidae_objs" SET "version" = 'STANDARD' WHERE "apidae_objs"."root_obj_id" IS NULL[0m
|
|
280
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190124162543"]]
|
|
281
|
-
[1m[35m (40.7ms)[0m [1m[35mCOMMIT[0m
|
|
282
|
-
Migrating to MigrateLocalizedApidaeObjFields (20190127210921)
|
|
283
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
|
284
|
-
[1m[36mApidae::Obj Load (0.6ms)[0m [1m[34mSELECT "apidae_objs".* FROM "apidae_objs" WHERE "apidae_objs"."root_obj_id" IS NULL[0m
|
|
285
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190127210921"]]
|
|
286
|
-
[1m[35m (39.7ms)[0m [1m[35mCOMMIT[0m
|
|
287
|
-
Migrating to MigrateLocalizedApidaeReferences (20190127213602)
|
|
288
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
289
|
-
[1m[36mApidae::Reference Load (0.6ms)[0m [1m[34mSELECT "apidae_references".* FROM "apidae_references"[0m
|
|
290
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190127213602"]]
|
|
291
|
-
[1m[35m (40.5ms)[0m [1m[35mCOMMIT[0m
|
|
292
|
-
Migrating to MigrateDescApidaeObjFields (20190304142446)
|
|
293
|
-
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
|
294
|
-
[1m[36mApidae::Obj Load (0.5ms)[0m [1m[34mSELECT "apidae_objs"."id", "root_obj_id", "apidae_objs"."description_data" FROM "apidae_objs" WHERE "apidae_objs"."root_obj_id" IS NULL[0m
|
|
295
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190304142446"]]
|
|
296
|
-
[1m[35m (20.7ms)[0m [1m[35mCOMMIT[0m
|
|
297
|
-
Migrating to AddIndexOnApidaeObj (20190418133435)
|
|
298
|
-
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
|
299
|
-
[1m[35m (20.4ms)[0m [1m[35mCREATE INDEX "apidae_objs_apidae_id" ON "apidae_objs" ("apidae_id")[0m
|
|
300
|
-
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "apidae_objs_root_obj_id" ON "apidae_objs" ("root_obj_id")[0m
|
|
301
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190418133435"]]
|
|
302
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
303
|
-
Migrating to AddDescriptionToApidaeTowns (20190517153215)
|
|
304
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
305
|
-
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "apidae_towns" ADD "description" character varying[0m
|
|
306
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190517153215"]]
|
|
307
|
-
[1m[35m (21.5ms)[0m [1m[35mCOMMIT[0m
|
|
308
|
-
Migrating to AddLastUpdateToApidaeOjbs (20200111214145)
|
|
309
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
310
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "last_update" timestamp[0m
|
|
311
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200111214145"]]
|
|
312
|
-
[1m[35m (21.4ms)[0m [1m[35mCOMMIT[0m
|
|
313
|
-
Migrating to AddOwnerDataToApidaeObjs (20200111214631)
|
|
314
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
|
315
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "owner_data" jsonb[0m
|
|
316
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200111214631"]]
|
|
317
|
-
[1m[35m (23.2ms)[0m [1m[35mCOMMIT[0m
|
|
318
|
-
Migrating to AddApidaeTypeIndexOnReferences (20200224130804)
|
|
319
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
320
|
-
[1m[35m (23.3ms)[0m [1m[35mCREATE INDEX "index_apidae_references_on_apidae_type" ON "apidae_references" ("apidae_type")[0m
|
|
321
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200224130804"]]
|
|
322
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
323
|
-
Migrating to AddTownInseeCodeIndexToObjs (20200224145802)
|
|
324
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
325
|
-
[1m[35m (24.5ms)[0m [1m[35mCREATE INDEX "index_apidae_objs_on_town_insee_code" ON "apidae_objs" ("town_insee_code")[0m
|
|
326
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200224145802"]]
|
|
327
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
328
|
-
Migrating to AddVersionDataToApidaeObjs (20200312150008)
|
|
329
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
330
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "apidae_objs" ADD "version_data" jsonb[0m
|
|
331
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200312150008"]]
|
|
332
|
-
[1m[35m (24.0ms)[0m [1m[35mCOMMIT[0m
|
|
333
|
-
Migrating to AddVersionIndexOnApidaeObjs (20200312150904)
|
|
334
|
-
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
|
|
335
|
-
[1m[35m (21.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_apidae_objs_on_root_obj_id_and_version" ON "apidae_objs" ("root_obj_id", "version")[0m
|
|
336
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200312150904"]]
|
|
337
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
|
338
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
339
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
340
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2021-07-08 09:47:54.615597"], ["updated_at", "2021-07-08 09:47:54.615597"]]
|
|
341
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
|
342
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6140174353533887940)[0m
|
|
343
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
344
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(6140174353533887940)[0m
|
|
345
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
346
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
347
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
348
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
349
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(6140174353533887940)[0m
|
|
350
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
351
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.
|
|
352
2
|
|
|
353
3
|
Being able to do this is deprecated. Autoloading during initialization is going
|
|
@@ -371,29 +21,4 @@ For historical reasons, it may run twice, so it has to be idempotent.
|
|
|
371
21
|
|
|
372
22
|
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
373
23
|
Rails autoloads and reloads.
|
|
374
|
-
(called from <top (required)> at /Users/jbvilain/workspace/
|
|
375
|
-
[1m[35m (170.6ms)[0m [1m[34mSELECT COUNT(*) FROM "apidae_objs" WHERE "apidae_objs"."root_obj_id" IS NULL[0m
|
|
376
|
-
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.
|
|
377
|
-
|
|
378
|
-
Being able to do this is deprecated. Autoloading during initialization is going
|
|
379
|
-
to be an error condition in future versions of Rails.
|
|
380
|
-
|
|
381
|
-
Reloading does not reboot the application, and therefore code executed during
|
|
382
|
-
initialization does not run again. So, if you reload Apidae::ApidaeHelper, for example,
|
|
383
|
-
the expected changes won't be reflected in that stale Module object.
|
|
384
|
-
|
|
385
|
-
`config.autoloader` is set to `classic`. These autoloaded constants would have been unloaded if `config.autoloader` had been set to `:zeitwerk`.
|
|
386
|
-
|
|
387
|
-
In order to autoload safely at boot time, please wrap your code in a reloader
|
|
388
|
-
callback this way:
|
|
389
|
-
|
|
390
|
-
Rails.application.reloader.to_prepare do
|
|
391
|
-
# Autoload classes and modules needed at boot time here.
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
That block runs when the application boots, and every time there is a reload.
|
|
395
|
-
For historical reasons, it may run twice, so it has to be idempotent.
|
|
396
|
-
|
|
397
|
-
Check the "Autoloading and Reloading Constants" guide to learn more about how
|
|
398
|
-
Rails autoloads and reloads.
|
|
399
|
-
(called from <top (required)> at /Users/jbvilain/workspace/code/apidae-engine-rails/test/dummy/config/environment.rb:5)
|
|
24
|
+
(called from <top (required)> at /Users/jbvilain/workspace/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.3.
|
|
4
|
+
version: 1.3.7
|
|
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: 2022-01-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -247,7 +247,6 @@ files:
|
|
|
247
247
|
- test/dummy/config/secrets.yml
|
|
248
248
|
- test/dummy/db/schema.rb
|
|
249
249
|
- test/dummy/log/development.log
|
|
250
|
-
- test/dummy/log/test.log
|
|
251
250
|
- test/dummy/public/404.html
|
|
252
251
|
- test/dummy/public/422.html
|
|
253
252
|
- test/dummy/public/500.html
|
|
@@ -286,8 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
286
285
|
- !ruby/object:Gem::Version
|
|
287
286
|
version: '0'
|
|
288
287
|
requirements: []
|
|
289
|
-
|
|
290
|
-
rubygems_version: 2.7.6.2
|
|
288
|
+
rubygems_version: 3.1.6
|
|
291
289
|
signing_key:
|
|
292
290
|
specification_version: 4
|
|
293
291
|
summary: A Ruby on Rails engine for projects that involve Apidae data
|
|
@@ -329,7 +327,6 @@ test_files:
|
|
|
329
327
|
- test/dummy/public/500.html
|
|
330
328
|
- test/dummy/public/404.html
|
|
331
329
|
- test/dummy/db/schema.rb
|
|
332
|
-
- test/dummy/log/test.log
|
|
333
330
|
- test/dummy/log/development.log
|
|
334
331
|
- test/dummy/README.rdoc
|
|
335
332
|
- test/integration/navigation_test.rb
|