bit_core 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/migrate/20140625133118_add_type_to_content_modules.rb +5 -0
- data/lib/bit_core/version.rb +1 -1
- data/spec/dummy/db/schema.rb +2 -1
- data/spec/dummy/log/development.log +22 -0
- data/spec/dummy/log/test.log +266 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8594bf3fdb86a1b749fdb4db08fa8f151e610a16
|
4
|
+
data.tar.gz: 85df3418c21afb27d93bb8909523d885ce62cdb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00aacf67ed602ed8209142bbac95133b9330f574b47daa6d3a5fb377d9d24f78cbdb0678531183ce965bfcbf7dbb63489a0df55cefa14c0476aa304605807d91
|
7
|
+
data.tar.gz: a141017f153a8c311fb11fed6d669bb0ccc76b0fc082127de59b07a7e3fc3de43117e6c8cafcf32e715cc957721940dcc97bb3a9a23bde0f7edf8b8392bd2171
|
data/lib/bit_core/version.rb
CHANGED
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20140625133118) do
|
15
15
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
17
17
|
enable_extension "plpgsql"
|
@@ -22,6 +22,7 @@ ActiveRecord::Schema.define(version: 20140620174147) do
|
|
22
22
|
t.integer "bit_core_tool_id", null: false
|
23
23
|
t.datetime "created_at"
|
24
24
|
t.datetime "updated_at"
|
25
|
+
t.string "type"
|
25
26
|
end
|
26
27
|
|
27
28
|
add_index "bit_core_content_modules", ["bit_core_tool_id", "position"], name: "bit_core_content_module_position", unique: true, using: :btree
|
@@ -573,3 +573,25 @@ Migrating to CreateBitCoreSlides (20140417174159)
|
|
573
573
|
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
|
574
574
|
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140415213346')[0m
|
575
575
|
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')
|
576
|
+
[1m[36m (1121.7ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
577
|
+
[1m[35m (247.7ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
578
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
579
|
+
[1m[35m (10.0ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
580
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")[0m
|
581
|
+
[1m[35m (7.9ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "template_path" character varying(255), "data_class_name" character varying(255), "data_attributes" text, "show_next_nav" boolean, "locals" text)
|
582
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")[0m
|
583
|
+
[1m[35m (6.4ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp, "options" text)
|
584
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")[0m
|
585
|
+
[1m[35m (3.7ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
586
|
+
[1m[36m (4.1ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
587
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")
|
588
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
589
|
+
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
590
|
+
[1m[36m (0.6ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
591
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140620174147')
|
592
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140415210052')[0m
|
593
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
|
594
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140415213346')[0m
|
595
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')
|
596
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140417174159')[0m
|
597
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140620174146')
|
data/spec/dummy/log/test.log
CHANGED
@@ -6500,3 +6500,269 @@ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_11
|
|
6500
6500
|
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1[0m
|
6501
6501
|
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
|
6502
6502
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6503
|
+
[1m[36m (1.6ms)[0m [1mALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
6504
|
+
[1m[35m (0.3ms)[0m BEGIN
|
6505
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_core_slideshows"[0m
|
6506
|
+
[1m[35mFixture Insert (1.4ms)[0m INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-25 14:35:36', '2014-06-25 14:35:36', 504123193)
|
6507
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_core_slides"[0m
|
6508
|
+
[1m[35mFixture Insert (0.7ms)[0m INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-25 14:35:36', '2014-06-25 14:35:36', 538050605, 504123193)
|
6509
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-25 14:35:36', '2014-06-25 14:35:36', 958091673, 504123193)[0m
|
6510
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-25 14:35:36', '2014-06-25 14:35:36', 236740868, 504123193)
|
6511
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
6512
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
6513
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6514
|
+
[1m[35mBitCore::Slideshow Load (0.5ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
6515
|
+
[1m[36mBitCore::Slide Load (0.7ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
|
6516
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
6517
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1[0m [["id", 958091673]]
|
6518
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6519
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
6520
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
|
6521
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
6522
|
+
[1m[35mBitCore::Slide Exists (0.8ms)[0m SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
|
6523
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868[0m [["position", 2], ["updated_at", "2014-06-25 14:35:36.318764"]]
|
6524
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6525
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
6526
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
|
6527
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
|
6528
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
|
6529
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1[0m [["bit_core_slideshow_id", 504123193]]
|
6530
|
+
[1m[35mBitCore::Slide Load (0.3ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
|
6531
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1[0m [["bit_core_slideshow_id", 504123193]]
|
6532
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6533
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
6534
|
+
[1m[35mBitCore::Slideshow Load (0.3ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
6535
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
6536
|
+
[1m[35mBitCore::Slide Exists (0.4ms)[0m SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
|
6537
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
6538
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6539
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
|
6540
|
+
[1m[35mBitCore::Slide Load (0.3ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
6541
|
+
[1m[36mBitCore::Slide Load (0.3ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
6542
|
+
[1m[35mBitCore::Slideshow Load (0.3ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
6543
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6544
|
+
[1m[35m (0.4ms)[0m SET CONSTRAINTS bit_core_slide_position DEFERRED
|
6545
|
+
PG::UndefinedObject: ERROR: constraint "bit_core_slide_position" does not exist
|
6546
|
+
: SET CONSTRAINTS bit_core_slide_position DEFERRED
|
6547
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
6548
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6549
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6550
|
+
[1m[35mBitCore::ContentProvider Exists (1.0ms)[0m SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
|
6551
|
+
[1m[36mBitCore::ContentProvider Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1[0m
|
6552
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6553
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6554
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
|
6555
|
+
[1m[36mBitCore::ContentProvider Exists (1.0ms)[0m [1mSELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1[0m
|
6556
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6557
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6558
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
|
6559
|
+
[1m[36mBitCore::ContentProvider Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1[0m
|
6560
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6561
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
6562
|
+
[1m[35m (0.3ms)[0m BEGIN
|
6563
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_core_tools"[0m
|
6564
|
+
[1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-25 14:35:36', '2014-06-25 14:35:36', 836111569)
|
6565
|
+
[1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "bit_core_content_modules"[0m
|
6566
|
+
[1m[35mFixture Insert (1.2ms)[0m INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-25 14:35:36', '2014-06-25 14:35:36', 437912910, 836111569)
|
6567
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-25 14:35:36', '2014-06-25 14:35:36', 511237275, 836111569)[0m
|
6568
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_core_content_providers"
|
6569
|
+
[1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-25 14:35:36', '2014-06-25 14:35:36', 555816777, 437912910)[0m
|
6570
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-25 14:35:36', '2014-06-25 14:35:36', 46790607, 511237275)
|
6571
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
6572
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
6573
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6574
|
+
[1m[35mBitCore::ContentModule Load (0.5ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
|
6575
|
+
[1m[36mBitCore::ContentProvider Load (0.7ms)[0m [1mSELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1[0m [["bit_core_content_module_id", 437912910]]
|
6576
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6577
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6578
|
+
[1m[35mBitCore::ContentModule Load (0.4ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
|
6579
|
+
[1m[36mBitCore::ContentProvider Load (0.5ms)[0m [1mSELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1[0m [["bit_core_content_module_id", 437912910]]
|
6580
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6581
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6582
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6583
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6584
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
6585
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
6586
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
6587
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
6588
|
+
[1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6589
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6590
|
+
Migrating to CreateBitCoreTools (20140415210052)
|
6591
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6592
|
+
[1m[36m (5.8ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
6593
|
+
[1m[35m (2.3ms)[0m ALTER TABLE bit_core_tools
|
6594
|
+
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
6595
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
6596
|
+
|
6597
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
6598
|
+
[1m[35m (0.6ms)[0m COMMIT
|
6599
|
+
Migrating to CreateBitCoreContentModules (20140415211458)
|
6600
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
6601
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
6602
|
+
[1m[36m (1.7ms)[0m [1m ALTER TABLE bit_core_content_modules
|
6603
|
+
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
6604
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
6605
|
+
[0m
|
6606
|
+
[1m[35m (2.4ms)[0m ALTER TABLE bit_core_content_modules
|
6607
|
+
ADD CONSTRAINT fk_content_modules_tools
|
6608
|
+
FOREIGN KEY (bit_core_tool_id)
|
6609
|
+
REFERENCES bit_core_tools(id)
|
6610
|
+
|
6611
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
6612
|
+
[1m[35m (0.7ms)[0m COMMIT
|
6613
|
+
Migrating to CreateBitCoreContentProviders (20140415213346)
|
6614
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
6615
|
+
[1m[35m (5.9ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
6616
|
+
[1m[36m (1.6ms)[0m [1m ALTER TABLE bit_core_content_providers
|
6617
|
+
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
6618
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
6619
|
+
[0m
|
6620
|
+
[1m[35m (2.7ms)[0m ALTER TABLE bit_core_content_providers
|
6621
|
+
ADD CONSTRAINT fk_content_providers_modules
|
6622
|
+
FOREIGN KEY (bit_core_content_module_id)
|
6623
|
+
REFERENCES bit_core_content_modules(id)
|
6624
|
+
|
6625
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
6626
|
+
[1m[35m (0.6ms)[0m COMMIT
|
6627
|
+
Migrating to CreateBitCoreSlideshows (20140417173056)
|
6628
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
6629
|
+
[1m[35m (3.4ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
6630
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
6631
|
+
[1m[35m (0.5ms)[0m COMMIT
|
6632
|
+
Migrating to CreateBitCoreSlides (20140417174159)
|
6633
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
6634
|
+
[1m[35m (5.8ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
6635
|
+
[1m[36m (2.0ms)[0m [1m ALTER TABLE bit_core_slides
|
6636
|
+
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
6637
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
6638
|
+
[0m
|
6639
|
+
[1m[35m (2.7ms)[0m ALTER TABLE bit_core_slides
|
6640
|
+
ADD CONSTRAINT fk_slideshows_slides
|
6641
|
+
FOREIGN KEY (bit_core_slideshow_id)
|
6642
|
+
REFERENCES bit_core_slideshows(id)
|
6643
|
+
|
6644
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
6645
|
+
[1m[35m (0.6ms)[0m COMMIT
|
6646
|
+
Migrating to AddOptionsToSlides (20140620174146)
|
6647
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
6648
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
|
6649
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
6650
|
+
[1m[35m (0.5ms)[0m COMMIT
|
6651
|
+
Migrating to AddConfigFieldsToProviders (20140620174147)
|
6652
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
6653
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
|
6654
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)[0m
|
6655
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
|
6656
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean[0m
|
6657
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
|
6658
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
6659
|
+
[1m[35m (0.4ms)[0m COMMIT
|
6660
|
+
Migrating to AddTypeToContentModules (20140625133118)
|
6661
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
6662
|
+
[1m[35m (2.6ms)[0m ALTER TABLE "bit_core_content_modules" ADD COLUMN "type" character varying(255)
|
6663
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
6664
|
+
[1m[35m (0.4ms)[0m COMMIT
|
6665
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6666
|
+
[1m[36m (1.0ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL[0m
|
6667
|
+
PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1337855" is a system trigger
|
6668
|
+
: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
|
6669
|
+
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
|
6670
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
6671
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_core_slideshows"
|
6672
|
+
[1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-25 14:48:41', '2014-06-25 14:48:41', 504123193)[0m
|
6673
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_slides"
|
6674
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-25 14:48:41', '2014-06-25 14:48:41', 538050605, 504123193)[0m
|
6675
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-25 14:48:41', '2014-06-25 14:48:41', 958091673, 504123193)
|
6676
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-25 14:48:41', '2014-06-25 14:48:41', 236740868, 504123193)[0m
|
6677
|
+
[1m[35m (0.5ms)[0m COMMIT
|
6678
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL[0m
|
6679
|
+
PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1337855" is a system trigger
|
6680
|
+
: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
|
6681
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
|
6682
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
6683
|
+
[1m[35mBitCore::Slideshow Load (0.5ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
6684
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
6685
|
+
[1m[35mBitCore::Slide Exists (0.6ms)[0m SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
|
6686
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6687
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6688
|
+
[1m[36mBitCore::Slideshow Load (0.4ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
6689
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
6690
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
6691
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
|
6692
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6693
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]]
|
6694
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
6695
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
6696
|
+
[1m[36mBitCore::Slide Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1[0m
|
6697
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-25 14:48:41.365223"]]
|
6698
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6699
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
|
6700
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
6701
|
+
[1m[35mBitCore::Slide Load (0.3ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
|
6702
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
6703
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
|
6704
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
6705
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
|
6706
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
6707
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6708
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
|
6709
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
6710
|
+
[1m[36mBitCore::Slide Load (0.3ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
6711
|
+
[1m[35mBitCore::Slideshow Load (0.3ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
6712
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
6713
|
+
[1m[35m (0.3ms)[0m SET CONSTRAINTS bit_core_slide_position DEFERRED
|
6714
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
|
6715
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 1], ["updated_at", "2014-06-25 14:48:41.384369"]]
|
6716
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
|
6717
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605 [["position", 2], ["updated_at", "2014-06-25 14:48:41.386970"]]
|
6718
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
|
6719
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673 [["position", 3], ["updated_at", "2014-06-25 14:48:41.389759"]]
|
6720
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6721
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
|
6722
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
|
6723
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
|
6724
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6725
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
|
6726
|
+
PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1337855" is a system trigger
|
6727
|
+
: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
|
6728
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER[0m
|
6729
|
+
[1m[35m (0.3ms)[0m BEGIN
|
6730
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_core_tools"[0m
|
6731
|
+
[1m[35mFixture Insert (0.7ms)[0m INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-25 14:48:41', '2014-06-25 14:48:41', 836111569)
|
6732
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_core_content_modules"[0m
|
6733
|
+
[1m[35mFixture Insert (1.1ms)[0m INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-25 14:48:41', '2014-06-25 14:48:41', 437912910, 836111569)
|
6734
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-25 14:48:41', '2014-06-25 14:48:41', 511237275, 836111569)[0m
|
6735
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_core_content_providers"
|
6736
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-25 14:48:41', '2014-06-25 14:48:41', 555816777, 437912910)[0m
|
6737
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-25 14:48:41', '2014-06-25 14:48:41', 46790607, 511237275)
|
6738
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
6739
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
|
6740
|
+
PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1337855" is a system trigger
|
6741
|
+
: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
|
6742
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER[0m
|
6743
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6744
|
+
[1m[36mBitCore::ContentModule Load (0.6ms)[0m [1mSELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
|
6745
|
+
[1m[35mBitCore::ContentProvider Load (0.7ms)[0m SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
|
6746
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
6747
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6748
|
+
[1m[36mBitCore::ContentModule Load (0.4ms)[0m [1mSELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
|
6749
|
+
[1m[35mBitCore::ContentProvider Load (0.6ms)[0m SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
|
6750
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6751
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6752
|
+
[1m[36mBitCore::ContentProvider Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1[0m
|
6753
|
+
[1m[35mBitCore::ContentProvider Exists (0.6ms)[0m SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
|
6754
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6755
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6756
|
+
[1m[36mBitCore::ContentProvider Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1[0m
|
6757
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
|
6758
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6759
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6760
|
+
[1m[36mBitCore::ContentProvider Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1[0m
|
6761
|
+
[1m[35mBitCore::ContentProvider Exists (0.6ms)[0m SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
|
6762
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6763
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6764
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6765
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6766
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
6767
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6768
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bit_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Carty-Fickes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- db/migrate/20140417174159_create_bit_core_slides.rb
|
111
111
|
- db/migrate/20140620174146_add_options_to_slides.rb
|
112
112
|
- db/migrate/20140620174147_add_config_fields_to_providers.rb
|
113
|
+
- db/migrate/20140625133118_add_type_to_content_modules.rb
|
113
114
|
- lib/bit_core.rb
|
114
115
|
- lib/bit_core/engine.rb
|
115
116
|
- lib/bit_core/version.rb
|