spec/dummy/log/test.log in bit_player-0.4.1 vs spec/dummy/log/test.log in bit_player-0.4.2
- old
+ new
@@ -2812,5 +2812,163 @@
[1m[36m (0.3ms)[0m [1mBEGIN[0m
[1m[35mBitCore::ContentModule Load (1.9ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (3.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBitPlayerContentModules (20140305200438)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (6.4ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerContentProviders (20140305201300)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.4ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.1ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (4.1ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlideshows (20140305232706)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (3.9ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlides (20140305234327)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (7.7ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.8ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (3.2ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
+
+ [1m[36m (2.0ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerTools (20140402224913)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.3ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS fk_slides_slideshows
+[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.5ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.2ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.1ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (5.5ms)[0m CREATE 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)
+ [1m[36m (2.4ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.1ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.7ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.0ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.7ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.0ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (5.5ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (8.5ms)[0m [1mCREATE 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) [0m
+ [1m[35m (2.5ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.0ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (0.8ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (1.0ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.8ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.9ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.9ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.2ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.8ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (1.0ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (1.3ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (2.5ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (2.7ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (2.9ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (3.2ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mBitCore::ContentModule Load (1.7ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m