bit_player 0.1.1 → 0.1.2
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/Rakefile +4 -0
- data/app/models/bit_player/slide.rb +7 -2
- data/lib/bit_player/version.rb +1 -1
- data/lib/tasks/bit_player_tasks.rake +3 -0
- data/spec/dummy/db/schema.rb +5 -4
- data/spec/dummy/log/development.log +86 -0
- data/spec/dummy/log/test.log +171 -0
- data/spec/models/bit_player/slide_spec.rb +7 -1
- metadata +24 -22
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 2519fc4a1fc94f6a853a5c805579fb14e90f6184
         | 
| 4 | 
            +
              data.tar.gz: 1ad14c9bcf84750b0d93331819c98f3834040c48
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: fe590279df0dcbc33aa605a89e82810f5e024438673d34d6427a95c4fae4033f3e5b452fd8bafb0bd881dff717524b93f84bc8b5529303b3791072f6d359a6c5
         | 
| 7 | 
            +
              data.tar.gz: 38d4dee6e5454c535dd84282cdd5e69a1a6761bb0b9704dc93248d4d9519fc06477aba2ed8a51269d48cc92a19d6bdf480a48cd884f2ea41f2513d1e37da410a
         | 
    
        data/Rakefile
    CHANGED
    
    
| @@ -12,9 +12,14 @@ module BitPlayer | |
| 12 12 | 
             
                validates_uniqueness_of :position, scope: :bit_player_slideshow_id
         | 
| 13 13 |  | 
| 14 14 | 
             
                def render_body
         | 
| 15 | 
            -
                   | 
| 15 | 
            +
                  rendered = ""
         | 
| 16 16 |  | 
| 17 | 
            -
                   | 
| 17 | 
            +
                  if !body.nil?
         | 
| 18 | 
            +
                    markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, space_after_headers: true)
         | 
| 19 | 
            +
                    rendered += markdown.render(body).html_safe
         | 
| 20 | 
            +
                  end
         | 
| 21 | 
            +
             | 
| 22 | 
            +
                  rendered
         | 
| 18 23 | 
             
                end
         | 
| 19 24 |  | 
| 20 25 | 
             
                def self.update_positions(ids)
         | 
    
        data/lib/bit_player/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: 20140306000537) do
         | 
| 15 15 |  | 
| 16 16 | 
             
              # These are extensions that must be enabled in order to support this database
         | 
| 17 17 | 
             
              enable_extension "plpgsql"
         | 
| @@ -50,11 +50,12 @@ ActiveRecord::Schema.define(version: 20140305235008) do | |
| 50 50 |  | 
| 51 51 | 
             
              create_table "bit_player_slides", force: true do |t|
         | 
| 52 52 | 
             
                t.string   "title"
         | 
| 53 | 
            -
                t.text     "body", | 
| 54 | 
            -
                t.integer  "position",                default: 1, | 
| 55 | 
            -
                t.integer  "bit_player_slideshow_id", | 
| 53 | 
            +
                t.text     "body",                                   null: false
         | 
| 54 | 
            +
                t.integer  "position",                default: 1,    null: false
         | 
| 55 | 
            +
                t.integer  "bit_player_slideshow_id",                null: false
         | 
| 56 56 | 
             
                t.string   "type"
         | 
| 57 57 | 
             
                t.text     "options"
         | 
| 58 | 
            +
                t.boolean  "is_title_visible",        default: true, null: false
         | 
| 58 59 | 
             
                t.datetime "created_at"
         | 
| 59 60 | 
             
                t.datetime "updated_at"
         | 
| 60 61 | 
             
              end
         | 
| @@ -0,0 +1,86 @@ | |
| 1 | 
            +
              [1m[36mSQL (3.9ms)[0m  [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
         | 
| 2 | 
            +
              [1m[35m (8.7ms)[0m  DROP TABLE "bit_player_content_modules"
         | 
| 3 | 
            +
            PG::DependentObjectsStillExist: ERROR:  cannot drop table bit_player_content_modules because other objects depend on it
         | 
| 4 | 
            +
            DETAIL:  constraint fk_content_providers_modules on table bit_player_content_providers depends on table bit_player_content_modules
         | 
| 5 | 
            +
            HINT:  Use DROP ... CASCADE to drop the dependent objects too.
         | 
| 6 | 
            +
            : DROP TABLE "bit_player_content_modules"
         | 
| 7 | 
            +
              [1m[36mActiveRecord::SchemaMigration Load (3.5ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 8 | 
            +
            Migrating to CreateBitPlayerSlides (20140306000537)
         | 
| 9 | 
            +
              [1m[35m (0.3ms)[0m  BEGIN
         | 
| 10 | 
            +
              [1m[36m (10.1ms)[0m  [1mCREATE 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) [0m
         | 
| 11 | 
            +
            PG::DuplicateTable: ERROR:  relation "bit_player_slides" already exists
         | 
| 12 | 
            +
            : 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) 
         | 
| 13 | 
            +
              [1m[35m (0.2ms)[0m  ROLLBACK
         | 
| 14 | 
            +
              [1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 15 | 
            +
            Migrating to CreateBitPlayerSlides (20140306000537)
         | 
| 16 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 17 | 
            +
              [1m[36m (4.0ms)[0m  [1mCREATE 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) [0m
         | 
| 18 | 
            +
            PG::DuplicateTable: ERROR:  relation "bit_player_slides" already exists
         | 
| 19 | 
            +
            : 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) 
         | 
| 20 | 
            +
              [1m[35m (0.2ms)[0m  ROLLBACK
         | 
| 21 | 
            +
              [1m[36m (114.2ms)[0m  [1mDROP DATABASE IF EXISTS "dummy_test"[0m
         | 
| 22 | 
            +
              [1m[35m (246.1ms)[0m  CREATE DATABASE "dummy_test" ENCODING = 'unicode'
         | 
| 23 | 
            +
              [1m[36mSQL (1.2ms)[0m  [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
         | 
| 24 | 
            +
              [1m[35m (13.0ms)[0m  CREATE 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) 
         | 
| 25 | 
            +
              [1m[36m (5.5ms)[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
         | 
| 26 | 
            +
              [1m[35m (2.0ms)[0m  CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
         | 
| 27 | 
            +
              [1m[36m (3.9ms)[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
         | 
| 28 | 
            +
              [1m[35m (1.9ms)[0m  CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
         | 
| 29 | 
            +
              [1m[36m (7.5ms)[0m  [1mCREATE 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, "created_at" timestamp, "updated_at" timestamp) [0m
         | 
| 30 | 
            +
              [1m[35m (1.8ms)[0m  CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
         | 
| 31 | 
            +
              [1m[36m (1.5ms)[0m  [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
         | 
| 32 | 
            +
              [1m[35m (1.5ms)[0m  CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
         | 
| 33 | 
            +
              [1m[36m (3.7ms)[0m  [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
         | 
| 34 | 
            +
              [1m[35m (1.5ms)[0m  CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
         | 
| 35 | 
            +
              [1m[36m (1.7ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
         | 
| 36 | 
            +
              [1m[35m (0.5ms)[0m  SELECT version FROM "schema_migrations"
         | 
| 37 | 
            +
              [1m[36m (0.8ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305235008')[0m
         | 
| 38 | 
            +
              [1m[35m (0.8ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
         | 
| 39 | 
            +
              [1m[36m (0.5ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
         | 
| 40 | 
            +
              [1m[35m (0.4ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
         | 
| 41 | 
            +
              [1m[36m (0.4ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
         | 
| 42 | 
            +
              [1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m  SELECT "schema_migrations".* FROM "schema_migrations"
         | 
| 43 | 
            +
              [1m[36m (118.4ms)[0m  [1mDROP DATABASE IF EXISTS "dummy_test"[0m
         | 
| 44 | 
            +
              [1m[35m (241.7ms)[0m  CREATE DATABASE "dummy_test" ENCODING = 'unicode'
         | 
| 45 | 
            +
              [1m[36mSQL (1.2ms)[0m  [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
         | 
| 46 | 
            +
              [1m[35m (9.8ms)[0m  CREATE 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) 
         | 
| 47 | 
            +
              [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
         | 
| 48 | 
            +
              [1m[35m (1.4ms)[0m  CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
         | 
| 49 | 
            +
              [1m[36m (3.6ms)[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
         | 
| 50 | 
            +
              [1m[35m (1.3ms)[0m  CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
         | 
| 51 | 
            +
              [1m[36m (5.2ms)[0m  [1mCREATE 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) [0m
         | 
| 52 | 
            +
              [1m[35m (1.3ms)[0m  CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
         | 
| 53 | 
            +
              [1m[36m (1.2ms)[0m  [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
         | 
| 54 | 
            +
              [1m[35m (1.3ms)[0m  CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
         | 
| 55 | 
            +
              [1m[36m (3.5ms)[0m  [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
         | 
| 56 | 
            +
              [1m[35m (1.4ms)[0m  CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
         | 
| 57 | 
            +
              [1m[36m (1.6ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
         | 
| 58 | 
            +
              [1m[35m (0.5ms)[0m  SELECT version FROM "schema_migrations"
         | 
| 59 | 
            +
              [1m[36m (0.7ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
         | 
| 60 | 
            +
              [1m[35m (0.6ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
         | 
| 61 | 
            +
              [1m[36m (0.4ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
         | 
| 62 | 
            +
              [1m[35m (0.4ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
         | 
| 63 | 
            +
              [1m[36m (0.4ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
         | 
| 64 | 
            +
              [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m  SELECT "schema_migrations".* FROM "schema_migrations"
         | 
| 65 | 
            +
              [1m[36m (116.2ms)[0m  [1mDROP DATABASE IF EXISTS "dummy_test"[0m
         | 
| 66 | 
            +
              [1m[35m (244.2ms)[0m  CREATE DATABASE "dummy_test" ENCODING = 'unicode'
         | 
| 67 | 
            +
              [1m[36mSQL (1.2ms)[0m  [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
         | 
| 68 | 
            +
              [1m[35m (9.1ms)[0m  CREATE 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) 
         | 
| 69 | 
            +
              [1m[36m (5.3ms)[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
         | 
| 70 | 
            +
              [1m[35m (1.4ms)[0m  CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
         | 
| 71 | 
            +
              [1m[36m (3.6ms)[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
         | 
| 72 | 
            +
              [1m[35m (1.3ms)[0m  CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
         | 
| 73 | 
            +
              [1m[36m (5.1ms)[0m  [1mCREATE 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) [0m
         | 
| 74 | 
            +
              [1m[35m (1.3ms)[0m  CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
         | 
| 75 | 
            +
              [1m[36m (1.3ms)[0m  [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
         | 
| 76 | 
            +
              [1m[35m (1.4ms)[0m  CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
         | 
| 77 | 
            +
              [1m[36m (3.5ms)[0m  [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
         | 
| 78 | 
            +
              [1m[35m (1.3ms)[0m  CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
         | 
| 79 | 
            +
              [1m[36m (1.5ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
         | 
| 80 | 
            +
              [1m[35m (0.4ms)[0m  SELECT version FROM "schema_migrations"
         | 
| 81 | 
            +
              [1m[36m (0.6ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
         | 
| 82 | 
            +
              [1m[35m (0.5ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
         | 
| 83 | 
            +
              [1m[36m (0.4ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
         | 
| 84 | 
            +
              [1m[35m (0.4ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
         | 
| 85 | 
            +
              [1m[36m (0.4ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
         | 
| 86 | 
            +
              [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m  SELECT "schema_migrations".* FROM "schema_migrations"
         | 
    
        data/spec/dummy/log/test.log
    CHANGED
    
    | @@ -84,3 +84,174 @@ | |
| 84 84 | 
             
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 85 85 | 
             
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 86 86 | 
             
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 87 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 88 | 
            +
              [1m[35mBitPlayer::ContentModule Load (1.7ms)[0m  SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 89 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 90 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 91 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 92 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 93 | 
            +
              [1m[36m (0.2ms)[0m  [1mROLLBACK[0m
         | 
| 94 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 95 | 
            +
              [1m[35mBitPlayer::ContentModule Load (5.2ms)[0m  SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 96 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 97 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 98 | 
            +
              [1m[36m (0.2ms)[0m  [1mROLLBACK[0m
         | 
| 99 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 100 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 101 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 102 | 
            +
            PG::UndefinedTable: ERROR:  relation "bit_player_slides" does not exist
         | 
| 103 | 
            +
            LINE 5:                WHERE a.attrelid = '"bit_player_slides"'::reg...
         | 
| 104 | 
            +
                                                      ^
         | 
| 105 | 
            +
            :               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
         | 
| 106 | 
            +
                                 pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
         | 
| 107 | 
            +
                            FROM pg_attribute a LEFT JOIN pg_attrdef d
         | 
| 108 | 
            +
                              ON a.attrelid = d.adrelid AND a.attnum = d.adnum
         | 
| 109 | 
            +
                           WHERE a.attrelid = '"bit_player_slides"'::regclass
         | 
| 110 | 
            +
                             AND a.attnum > 0 AND NOT a.attisdropped
         | 
| 111 | 
            +
                           ORDER BY a.attnum
         | 
| 112 | 
            +
             | 
| 113 | 
            +
              [1m[35m (0.2ms)[0m  ROLLBACK
         | 
| 114 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 115 | 
            +
              [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m  SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 116 | 
            +
            PG::UndefinedTable: ERROR:  relation "bit_player_content_modules" does not exist
         | 
| 117 | 
            +
            LINE 1: SELECT  "bit_player_content_modules".* FROM "bit_player_cont...
         | 
| 118 | 
            +
                                                                ^
         | 
| 119 | 
            +
            : SELECT  "bit_player_content_modules".* FROM "bit_player_content_modules"  WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1  ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 120 | 
            +
              [1m[36m (0.1ms)[0m  [1mROLLBACK[0m
         | 
| 121 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 122 | 
            +
              [1m[36m (0.2ms)[0m  [1mROLLBACK[0m
         | 
| 123 | 
            +
              [1m[36m (4.3ms)[0m  [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
         | 
| 124 | 
            +
              [1m[35m (2.1ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
         | 
| 125 | 
            +
              [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 126 | 
            +
            Migrating to CreateBitPlayerContentModules (20140305231316)
         | 
| 127 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 128 | 
            +
              [1m[36m (6.0ms)[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
         | 
| 129 | 
            +
              [1m[35mSQL (1.2ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ($1)  [["version", "20140305231316"]]
         | 
| 130 | 
            +
              [1m[36m (0.5ms)[0m  [1mCOMMIT[0m
         | 
| 131 | 
            +
            Migrating to CreateBitPlayerContentProviders (20140305231317)
         | 
| 132 | 
            +
              [1m[35m (0.3ms)[0m  BEGIN
         | 
| 133 | 
            +
              [1m[36m (4.7ms)[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
         | 
| 134 | 
            +
              [1m[35m (1.2ms)[0m  CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
         | 
| 135 | 
            +
              [1m[36m (5.2ms)[0m  [1m ALTER TABLE bit_player_content_providers
         | 
| 136 | 
            +
             ADD CONSTRAINT fk_content_providers_modules
         | 
| 137 | 
            +
             FOREIGN KEY (bit_player_content_module_id)
         | 
| 138 | 
            +
             REFERENCES bit_player_content_modules(id)
         | 
| 139 | 
            +
            [0m
         | 
| 140 | 
            +
              [1m[35mSQL (0.5ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ($1)  [["version", "20140305231317"]]
         | 
| 141 | 
            +
              [1m[36m (0.9ms)[0m  [1mCOMMIT[0m
         | 
| 142 | 
            +
            Migrating to CreateBitPlayerParticipantStatuses (20140305233110)
         | 
| 143 | 
            +
              [1m[35m (0.5ms)[0m  BEGIN
         | 
| 144 | 
            +
              [1m[36m (4.6ms)[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
         | 
| 145 | 
            +
              [1m[35m (1.2ms)[0m  CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
         | 
| 146 | 
            +
              [1m[36mSQL (0.3ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20140305233110"]]
         | 
| 147 | 
            +
              [1m[35m (0.5ms)[0m  COMMIT
         | 
| 148 | 
            +
            Migrating to CreateBitPlayerSlideshows (20140305234757)
         | 
| 149 | 
            +
              [1m[36m (0.3ms)[0m  [1mBEGIN[0m
         | 
| 150 | 
            +
              [1m[35m (3.4ms)[0m  CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
         | 
| 151 | 
            +
              [1m[36mSQL (0.3ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20140305234757"]]
         | 
| 152 | 
            +
              [1m[35m (0.4ms)[0m  COMMIT
         | 
| 153 | 
            +
            Migrating to CreateBitPlayerSlides (20140306000537)
         | 
| 154 | 
            +
              [1m[36m (0.3ms)[0m  [1mBEGIN[0m
         | 
| 155 | 
            +
              [1m[35m (4.8ms)[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) 
         | 
| 156 | 
            +
              [1m[36m (1.1ms)[0m  [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
         | 
| 157 | 
            +
              [1m[35m (1.2ms)[0m  CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" ("position", "bit_player_slideshow_id")
         | 
| 158 | 
            +
              [1m[36m (1.9ms)[0m  [1m ALTER TABLE bit_player_slides
         | 
| 159 | 
            +
             ADD CONSTRAINT fk_slides_slideshows
         | 
| 160 | 
            +
             FOREIGN KEY (bit_player_slideshow_id)
         | 
| 161 | 
            +
             REFERENCES bit_player_slideshows(id)
         | 
| 162 | 
            +
            [0m
         | 
| 163 | 
            +
              [1m[35m (1.6ms)[0m   ALTER TABLE bit_player_slides
         | 
| 164 | 
            +
             ADD CONSTRAINT slide_position UNIQUE (bit_player_slideshow_id, position)
         | 
| 165 | 
            +
             DEFERRABLE INITIALLY IMMEDIATE
         | 
| 166 | 
            +
             | 
| 167 | 
            +
              [1m[36mSQL (0.3ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20140306000537"]]
         | 
| 168 | 
            +
              [1m[35m (0.8ms)[0m  COMMIT
         | 
| 169 | 
            +
              [1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 170 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 171 | 
            +
              [1m[35mBitPlayer::ContentModule Load (1.9ms)[0m  SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 172 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 173 | 
            +
              [1m[35m (0.1ms)[0m  BEGIN
         | 
| 174 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 175 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 176 | 
            +
              [1m[36m (0.2ms)[0m  [1mROLLBACK[0m
         | 
| 177 | 
            +
              [1m[36m (3.8ms)[0m  [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
         | 
| 178 | 
            +
              [1m[35m (1.8ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
         | 
| 179 | 
            +
              [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 180 | 
            +
            Migrating to CreateBitPlayerContentModules (20140305231316)
         | 
| 181 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 182 | 
            +
              [1m[36m (6.0ms)[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
         | 
| 183 | 
            +
              [1m[35mSQL (1.2ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ($1)  [["version", "20140305231316"]]
         | 
| 184 | 
            +
              [1m[36m (0.5ms)[0m  [1mCOMMIT[0m
         | 
| 185 | 
            +
            Migrating to CreateBitPlayerContentProviders (20140305231317)
         | 
| 186 | 
            +
              [1m[35m (0.3ms)[0m  BEGIN
         | 
| 187 | 
            +
              [1m[36m (4.9ms)[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
         | 
| 188 | 
            +
              [1m[35m (1.1ms)[0m  CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
         | 
| 189 | 
            +
              [1m[36m (3.0ms)[0m  [1m ALTER TABLE bit_player_content_providers
         | 
| 190 | 
            +
             ADD CONSTRAINT fk_content_providers_modules
         | 
| 191 | 
            +
             FOREIGN KEY (bit_player_content_module_id)
         | 
| 192 | 
            +
             REFERENCES bit_player_content_modules(id)
         | 
| 193 | 
            +
            [0m
         | 
| 194 | 
            +
              [1m[35mSQL (0.5ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ($1)  [["version", "20140305231317"]]
         | 
| 195 | 
            +
              [1m[36m (0.8ms)[0m  [1mCOMMIT[0m
         | 
| 196 | 
            +
            Migrating to CreateBitPlayerParticipantStatuses (20140305233110)
         | 
| 197 | 
            +
              [1m[35m (0.4ms)[0m  BEGIN
         | 
| 198 | 
            +
              [1m[36m (3.9ms)[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
         | 
| 199 | 
            +
              [1m[35m (1.2ms)[0m  CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
         | 
| 200 | 
            +
              [1m[36mSQL (0.3ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20140305233110"]]
         | 
| 201 | 
            +
              [1m[35m (0.5ms)[0m  COMMIT
         | 
| 202 | 
            +
            Migrating to CreateBitPlayerSlideshows (20140305234757)
         | 
| 203 | 
            +
              [1m[36m (0.3ms)[0m  [1mBEGIN[0m
         | 
| 204 | 
            +
              [1m[35m (3.4ms)[0m  CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
         | 
| 205 | 
            +
              [1m[36mSQL (0.3ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20140305234757"]]
         | 
| 206 | 
            +
              [1m[35m (0.5ms)[0m  COMMIT
         | 
| 207 | 
            +
            Migrating to CreateBitPlayerSlides (20140306000537)
         | 
| 208 | 
            +
              [1m[36m (0.3ms)[0m  [1mBEGIN[0m
         | 
| 209 | 
            +
              [1m[35m (4.9ms)[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) 
         | 
| 210 | 
            +
              [1m[36m (1.2ms)[0m  [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
         | 
| 211 | 
            +
              [1m[35m (1.2ms)[0m  CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" ("position", "bit_player_slideshow_id")
         | 
| 212 | 
            +
              [1m[36m (2.0ms)[0m  [1m ALTER TABLE bit_player_slides
         | 
| 213 | 
            +
             ADD CONSTRAINT fk_slides_slideshows
         | 
| 214 | 
            +
             FOREIGN KEY (bit_player_slideshow_id)
         | 
| 215 | 
            +
             REFERENCES bit_player_slideshows(id)
         | 
| 216 | 
            +
            [0m
         | 
| 217 | 
            +
              [1m[35m (1.5ms)[0m   ALTER TABLE bit_player_slides
         | 
| 218 | 
            +
             ADD CONSTRAINT slide_position UNIQUE (bit_player_slideshow_id, position)
         | 
| 219 | 
            +
             DEFERRABLE INITIALLY IMMEDIATE
         | 
| 220 | 
            +
             | 
| 221 | 
            +
              [1m[36mSQL (0.3ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m  [["version", "20140306000537"]]
         | 
| 222 | 
            +
              [1m[35m (0.6ms)[0m  COMMIT
         | 
| 223 | 
            +
              [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m  [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
         | 
| 224 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 225 | 
            +
              [1m[35m (0.3ms)[0m  ROLLBACK
         | 
| 226 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 227 | 
            +
              [1m[35m (0.2ms)[0m  ROLLBACK
         | 
| 228 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 229 | 
            +
              [1m[35mBitPlayer::ContentModule Load (1.8ms)[0m  SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 230 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 231 | 
            +
              [1m[36m (0.1ms)[0m  [1mBEGIN[0m
         | 
| 232 | 
            +
              [1m[35mBitPlayer::ContentModule Load (2.4ms)[0m  SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 233 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 234 | 
            +
              [1m[35m (0.3ms)[0m  BEGIN
         | 
| 235 | 
            +
              [1m[36m (0.2ms)[0m  [1mROLLBACK[0m
         | 
| 236 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 237 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 238 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 239 | 
            +
              [1m[36m (0.2ms)[0m  [1mROLLBACK[0m
         | 
| 240 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 241 | 
            +
              [1m[35m (0.3ms)[0m  ROLLBACK
         | 
| 242 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 243 | 
            +
              [1m[35m (0.2ms)[0m  ROLLBACK
         | 
| 244 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 245 | 
            +
              [1m[35mBitPlayer::ContentModule Load (1.8ms)[0m  SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 246 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| 247 | 
            +
              [1m[35m (0.2ms)[0m  BEGIN
         | 
| 248 | 
            +
              [1m[36m (0.2ms)[0m  [1mROLLBACK[0m
         | 
| 249 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 250 | 
            +
              [1m[35m (0.3ms)[0m  ROLLBACK
         | 
| 251 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 252 | 
            +
              [1m[35m (0.2ms)[0m  ROLLBACK
         | 
| 253 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 254 | 
            +
              [1m[35m (0.2ms)[0m  ROLLBACK
         | 
| 255 | 
            +
              [1m[36m (0.2ms)[0m  [1mBEGIN[0m
         | 
| 256 | 
            +
              [1m[35mBitPlayer::ContentModule Load (2.0ms)[0m  SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
         | 
| 257 | 
            +
              [1m[36m (0.3ms)[0m  [1mROLLBACK[0m
         | 
| @@ -2,9 +2,15 @@ require "spec_helper" | |
| 2 2 |  | 
| 3 3 | 
             
            describe BitPlayer::Slide do
         | 
| 4 4 | 
             
              describe "#render_body" do
         | 
| 5 | 
            -
                let(:slide) { BitPlayer::Slide.new | 
| 5 | 
            +
                let(:slide) { BitPlayer::Slide.new }
         | 
| 6 | 
            +
             | 
| 7 | 
            +
                it "should render a nil body" do
         | 
| 8 | 
            +
                  expect(slide.render_body).to eq("")
         | 
| 9 | 
            +
                end
         | 
| 6 10 |  | 
| 7 11 | 
             
                it "should render markdown as html" do
         | 
| 12 | 
            +
                  slide.body = "# header"
         | 
| 13 | 
            +
             | 
| 8 14 | 
             
                  expect(slide.render_body).to match(/<h1>header<\/h1>/)
         | 
| 9 15 | 
             
                end
         | 
| 10 16 | 
             
              end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,69 +1,69 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: bit_player
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.2
         | 
| 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-03- | 
| 11 | 
            +
            date: 2014-03-14 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rails
         | 
| 15 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 16 | 
             
                requirements:
         | 
| 17 | 
            -
                - - ~>
         | 
| 17 | 
            +
                - - "~>"
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 4.0 | 
| 19 | 
            +
                    version: '4.0'
         | 
| 20 20 | 
             
              type: :runtime
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 | 
            -
                - - ~>
         | 
| 24 | 
            +
                - - "~>"
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version: 4.0 | 
| 26 | 
            +
                    version: '4.0'
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: pg
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 30 | 
             
                requirements:
         | 
| 31 | 
            -
                - - ~>
         | 
| 31 | 
            +
                - - "~>"
         | 
| 32 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 33 | 
             
                    version: '0.17'
         | 
| 34 34 | 
             
              type: :development
         | 
| 35 35 | 
             
              prerelease: false
         | 
| 36 36 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 37 | 
             
                requirements:
         | 
| 38 | 
            -
                - - ~>
         | 
| 38 | 
            +
                - - "~>"
         | 
| 39 39 | 
             
                  - !ruby/object:Gem::Version
         | 
| 40 40 | 
             
                    version: '0.17'
         | 
| 41 41 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 42 | 
             
              name: redcarpet
         | 
| 43 43 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 44 44 | 
             
                requirements:
         | 
| 45 | 
            -
                - - ~>
         | 
| 45 | 
            +
                - - "~>"
         | 
| 46 46 | 
             
                  - !ruby/object:Gem::Version
         | 
| 47 47 | 
             
                    version: '2.3'
         | 
| 48 48 | 
             
              type: :development
         | 
| 49 49 | 
             
              prerelease: false
         | 
| 50 50 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 51 | 
             
                requirements:
         | 
| 52 | 
            -
                - - ~>
         | 
| 52 | 
            +
                - - "~>"
         | 
| 53 53 | 
             
                  - !ruby/object:Gem::Version
         | 
| 54 54 | 
             
                    version: '2.3'
         | 
| 55 55 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 56 | 
             
              name: rspec-rails
         | 
| 57 57 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 58 58 | 
             
                requirements:
         | 
| 59 | 
            -
                - - ~>
         | 
| 59 | 
            +
                - - "~>"
         | 
| 60 60 | 
             
                  - !ruby/object:Gem::Version
         | 
| 61 61 | 
             
                    version: 3.0.0.beta2
         | 
| 62 62 | 
             
              type: :development
         | 
| 63 63 | 
             
              prerelease: false
         | 
| 64 64 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 65 65 | 
             
                requirements:
         | 
| 66 | 
            -
                - - ~>
         | 
| 66 | 
            +
                - - "~>"
         | 
| 67 67 | 
             
                  - !ruby/object:Gem::Version
         | 
| 68 68 | 
             
                    version: 3.0.0.beta2
         | 
| 69 69 | 
             
            description: A Rails engine for presenting a BIT web application
         | 
| @@ -73,6 +73,9 @@ executables: [] | |
| 73 73 | 
             
            extensions: []
         | 
| 74 74 | 
             
            extra_rdoc_files: []
         | 
| 75 75 | 
             
            files:
         | 
| 76 | 
            +
            - MIT-LICENSE
         | 
| 77 | 
            +
            - README.md
         | 
| 78 | 
            +
            - Rakefile
         | 
| 76 79 | 
             
            - app/assets/javascripts/bit_player/application.js
         | 
| 77 80 | 
             
            - app/assets/stylesheets/bit_player/application.css
         | 
| 78 81 | 
             
            - app/controllers/bit_player/application_controller.rb
         | 
| @@ -95,13 +98,12 @@ files: | |
| 95 98 | 
             
            - db/migrate/20140305232705_create_bit_player_participant_statuses.rb
         | 
| 96 99 | 
             
            - db/migrate/20140305232705_create_bit_player_slideshows.rb
         | 
| 97 100 | 
             
            - db/migrate/20140305234327_create_bit_player_slides.rb
         | 
| 101 | 
            +
            - lib/bit_player.rb
         | 
| 98 102 | 
             
            - lib/bit_player/engine.rb
         | 
| 99 103 | 
             
            - lib/bit_player/version.rb
         | 
| 100 | 
            -
            - lib/bit_player.rb
         | 
| 101 104 | 
             
            - lib/tasks/bit_player_tasks.rake
         | 
| 102 | 
            -
            -  | 
| 103 | 
            -
            - Rakefile
         | 
| 104 | 
            -
            - README.md
         | 
| 105 | 
            +
            - spec/dummy/README.rdoc
         | 
| 106 | 
            +
            - spec/dummy/Rakefile
         | 
| 105 107 | 
             
            - spec/dummy/app/assets/javascripts/application.js
         | 
| 106 108 | 
             
            - spec/dummy/app/assets/stylesheets/application.css
         | 
| 107 109 | 
             
            - spec/dummy/app/controllers/application_controller.rb
         | 
| @@ -110,6 +112,7 @@ files: | |
| 110 112 | 
             
            - spec/dummy/bin/bundle
         | 
| 111 113 | 
             
            - spec/dummy/bin/rails
         | 
| 112 114 | 
             
            - spec/dummy/bin/rake
         | 
| 115 | 
            +
            - spec/dummy/config.ru
         | 
| 113 116 | 
             
            - spec/dummy/config/application.rb
         | 
| 114 117 | 
             
            - spec/dummy/config/boot.rb
         | 
| 115 118 | 
             
            - spec/dummy/config/database.yml
         | 
| @@ -126,20 +129,18 @@ files: | |
| 126 129 | 
             
            - spec/dummy/config/initializers/wrap_parameters.rb
         | 
| 127 130 | 
             
            - spec/dummy/config/locales/en.yml
         | 
| 128 131 | 
             
            - spec/dummy/config/routes.rb
         | 
| 129 | 
            -
            - spec/dummy/config.ru
         | 
| 130 132 | 
             
            - spec/dummy/db/migrate/20140305231316_create_bit_player_content_modules.bit_player.rb
         | 
| 131 133 | 
             
            - spec/dummy/db/migrate/20140305231317_create_bit_player_content_providers.bit_player.rb
         | 
| 132 134 | 
             
            - spec/dummy/db/migrate/20140305233110_create_bit_player_participant_statuses.bit_player.rb
         | 
| 133 135 | 
             
            - spec/dummy/db/migrate/20140305234757_create_bit_player_slideshows.bit_player.rb
         | 
| 134 136 | 
             
            - spec/dummy/db/migrate/20140306000537_create_bit_player_slides.bit_player.rb
         | 
| 135 137 | 
             
            - spec/dummy/db/schema.rb
         | 
| 138 | 
            +
            - spec/dummy/log/development.log
         | 
| 136 139 | 
             
            - spec/dummy/log/test.log
         | 
| 137 140 | 
             
            - spec/dummy/public/404.html
         | 
| 138 141 | 
             
            - spec/dummy/public/422.html
         | 
| 139 142 | 
             
            - spec/dummy/public/500.html
         | 
| 140 143 | 
             
            - spec/dummy/public/favicon.ico
         | 
| 141 | 
            -
            - spec/dummy/Rakefile
         | 
| 142 | 
            -
            - spec/dummy/README.rdoc
         | 
| 143 144 | 
             
            - spec/models/bit_player/content_providers/view_provider_spec.rb
         | 
| 144 145 | 
             
            - spec/models/bit_player/navigator_spec.rb
         | 
| 145 146 | 
             
            - spec/models/bit_player/slide_spec.rb
         | 
| @@ -153,17 +154,17 @@ require_paths: | |
| 153 154 | 
             
            - lib
         | 
| 154 155 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 155 156 | 
             
              requirements:
         | 
| 156 | 
            -
              - -  | 
| 157 | 
            +
              - - ">="
         | 
| 157 158 | 
             
                - !ruby/object:Gem::Version
         | 
| 158 159 | 
             
                  version: '0'
         | 
| 159 160 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 160 161 | 
             
              requirements:
         | 
| 161 | 
            -
              - -  | 
| 162 | 
            +
              - - ">="
         | 
| 162 163 | 
             
                - !ruby/object:Gem::Version
         | 
| 163 164 | 
             
                  version: '0'
         | 
| 164 165 | 
             
            requirements: []
         | 
| 165 166 | 
             
            rubyforge_project: 
         | 
| 166 | 
            -
            rubygems_version: 2. | 
| 167 | 
            +
            rubygems_version: 2.2.2
         | 
| 167 168 | 
             
            signing_key: 
         | 
| 168 169 | 
             
            specification_version: 4
         | 
| 169 170 | 
             
            summary: A Rails engine for presenting a BIT web application
         | 
| @@ -199,6 +200,7 @@ test_files: | |
| 199 200 | 
             
            - spec/dummy/db/migrate/20140305234757_create_bit_player_slideshows.bit_player.rb
         | 
| 200 201 | 
             
            - spec/dummy/db/migrate/20140306000537_create_bit_player_slides.bit_player.rb
         | 
| 201 202 | 
             
            - spec/dummy/db/schema.rb
         | 
| 203 | 
            +
            - spec/dummy/log/development.log
         | 
| 202 204 | 
             
            - spec/dummy/log/test.log
         | 
| 203 205 | 
             
            - spec/dummy/public/404.html
         | 
| 204 206 | 
             
            - spec/dummy/public/422.html
         |