bit_core 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7eec3eb5b82ccfe870024a1a24f930e35b9361c7
4
- data.tar.gz: c015d5b31f3373a694efa16aca326bea44992b39
3
+ metadata.gz: 7b6043b98fb0fe82d9004e6ea1b9a55222aa4348
4
+ data.tar.gz: b0f2c3c86049ec592ecd593490ddfd5e6b51b6b1
5
5
  SHA512:
6
- metadata.gz: 9784da73d210855d3020496b917082e6e87a43334114c92698139a394c5b5e7fb8a511243215120ced00d6872979be808575ad0f4b974c2ad45a9c40fc6c25f5
7
- data.tar.gz: eb333983594407c91c1a807e273ef2502d226fe3d73c7b6d33f827631c08b2503266edb0eb0916455288c1c0b3e4961c782a55db88d4a7dcd74735821f8de6b4
6
+ metadata.gz: 8415346437cb714f816f7464bfee83970919625a06d3353cc002578ac4faa331750ccf7cd44cf30b56159bd9c68e68c23de1292162a06a3e5ccc26dcac155c7f
7
+ data.tar.gz: 35da3aa2c00d2ffb5beec4e828eea9d9456ea3d8685d8e96580ff71326c866db27c95d75886acf55e7896408d5d6f9db1cf326b17b951cc05902a3f0e321b794
@@ -34,14 +34,14 @@ module BitCore
34
34
  )
35
35
  end
36
36
 
37
+ def last_position
38
+ content_providers.order(:position).last.try(:position) || 0
39
+ end
40
+
37
41
  private
38
42
 
39
43
  def next_position
40
44
  last_position + 1
41
45
  end
42
-
43
- def last_position
44
- content_providers.order(:position).last.try(:position) || 0
45
- end
46
46
  end
47
47
  end
@@ -40,6 +40,12 @@ module BitCore
40
40
  show_next_nav
41
41
  end
42
42
 
43
+ # Returns a human readable string extracted from the ContentProvider class
44
+ # name.
45
+ def pretty_label
46
+ self.class.to_s.split("::").last.underscore.gsub(/_/, " ")
47
+ end
48
+
43
49
  private
44
50
 
45
51
  def template_path_exists
@@ -23,14 +23,14 @@ module BitCore
23
23
  end
24
24
  end
25
25
 
26
+ def last_position
27
+ content_modules.order(:position).last.try(:position) || 0
28
+ end
29
+
26
30
  private
27
31
 
28
32
  def next_position
29
33
  last_position + 1
30
34
  end
31
-
32
- def last_position
33
- content_modules.order(:position).last.try(:position) || 0
34
- end
35
35
  end
36
36
  end
@@ -1,4 +1,4 @@
1
1
  # nodoc
2
2
  module BitCore
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
@@ -7494,3 +7494,185 @@ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_14
7494
7494
  BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
7495
7495
  BitCore::ContentProvider Load (0.4ms) 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]]
7496
7496
   (0.1ms) ROLLBACK
7497
+  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
7498
+  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7499
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
7500
+ Migrating to CreateBitCoreTools (20140415210052)
7501
+  (0.3ms) BEGIN
7502
+  (4.8ms) 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) 
7503
+  (2.2ms) ALTER TABLE bit_core_tools
7504
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
7505
+ DEFERRABLE INITIALLY IMMEDIATE
7506
+
7507
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
7508
+  (0.7ms) COMMIT
7509
+ Migrating to CreateBitCoreContentModules (20140415211458)
7510
+  (0.4ms) BEGIN
7511
+  (3.6ms) 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)
7512
+  (1.7ms)  ALTER TABLE bit_core_content_modules
7513
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
7514
+ DEFERRABLE INITIALLY IMMEDIATE
7515
+ 
7516
+  (2.6ms) ALTER TABLE bit_core_content_modules
7517
+ ADD CONSTRAINT fk_content_modules_tools
7518
+ FOREIGN KEY (bit_core_tool_id)
7519
+ REFERENCES bit_core_tools(id)
7520
+
7521
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
7522
+  (0.6ms) COMMIT
7523
+ Migrating to CreateBitCoreContentProviders (20140415213346)
7524
+  (0.4ms) BEGIN
7525
+  (5.0ms) 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)
7526
+  (1.4ms)  ALTER TABLE bit_core_content_providers
7527
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
7528
+ DEFERRABLE INITIALLY IMMEDIATE
7529
+ 
7530
+  (1.9ms) ALTER TABLE bit_core_content_providers
7531
+ ADD CONSTRAINT fk_content_providers_modules
7532
+ FOREIGN KEY (bit_core_content_module_id)
7533
+ REFERENCES bit_core_content_modules(id)
7534
+
7535
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
7536
+  (0.6ms) COMMIT
7537
+ Migrating to CreateBitCoreSlideshows (20140417173056)
7538
+  (0.4ms) BEGIN
7539
+  (6.0ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
7540
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
7541
+  (0.5ms) COMMIT
7542
+ Migrating to CreateBitCoreSlides (20140417174159)
7543
+  (0.4ms) BEGIN
7544
+  (5.2ms) 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)
7545
+  (1.5ms)  ALTER TABLE bit_core_slides
7546
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
7547
+ DEFERRABLE INITIALLY IMMEDIATE
7548
+ 
7549
+  (1.9ms) ALTER TABLE bit_core_slides
7550
+ ADD CONSTRAINT fk_slideshows_slides
7551
+ FOREIGN KEY (bit_core_slideshow_id)
7552
+ REFERENCES bit_core_slideshows(id)
7553
+
7554
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
7555
+  (0.6ms) COMMIT
7556
+ Migrating to AddOptionsToSlides (20140620174146)
7557
+  (0.4ms) BEGIN
7558
+  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
7559
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
7560
+  (0.4ms) COMMIT
7561
+ Migrating to AddConfigFieldsToProviders (20140620174147)
7562
+  (0.2ms) BEGIN
7563
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
7564
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
7565
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
7566
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
7567
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
7568
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
7569
+  (0.7ms) COMMIT
7570
+ Migrating to AddTypeToContentModules (20140625133118)
7571
+  (0.3ms) BEGIN
7572
+  (2.4ms) ALTER TABLE "bit_core_content_modules" ADD COLUMN "type" character varying(255)
7573
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140625133118"]]
7574
+  (0.5ms) COMMIT
7575
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
7576
+  (0.9ms) 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
7577
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1535258" is a system trigger
7578
+ : 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
7579
+  (1.2ms) 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
7580
+  (0.3ms) BEGIN
7581
+ Fixture Delete (0.8ms) DELETE FROM "bit_core_slideshows"
7582
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-07-02 18:03:52', '2014-07-02 18:03:52', 504123193)
7583
+ Fixture Delete (0.8ms) DELETE FROM "bit_core_slides"
7584
+ Fixture Insert (1.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-07-02 18:03:52', '2014-07-02 18:03:52', 538050605, 504123193)
7585
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-07-02 18:03:52', '2014-07-02 18:03:52', 958091673, 504123193)
7586
+ Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-07-02 18:03:52', '2014-07-02 18:03:52', 236740868, 504123193)
7587
+  (0.4ms) COMMIT
7588
+  (0.4ms) 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
7589
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1535258" is a system trigger
7590
+ : 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
7591
+  (0.4ms) 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
7592
+  (0.2ms) BEGIN
7593
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
7594
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
7595
+  (0.2ms) SAVEPOINT active_record_1
7596
+ SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
7597
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7598
+ BitCore::Slide Load (0.4ms) 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]]
7599
+ BitCore::Slide Load (0.5ms) 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]]
7600
+  (0.1ms) SAVEPOINT active_record_1
7601
+ BitCore::Slide Exists (0.6ms) 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
7602
+ SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-07-02 18:03:52.438870"]]
7603
+  (0.2ms) RELEASE SAVEPOINT active_record_1
7604
+  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
7605
+ BitCore::Slide Load (0.4ms) 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]]
7606
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
7607
+ BitCore::Slide Load (0.4ms) 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]]
7608
+ BitCore::Slide Load (0.4ms) 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]]
7609
+ BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
7610
+ BitCore::Slide Load (0.3ms) 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]]
7611
+  (0.2ms) ROLLBACK
7612
+  (0.1ms) BEGIN
7613
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
7614
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
7615
+ BitCore::Slide Exists (0.4ms) 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
7616
+  (0.2ms) ROLLBACK
7617
+  (0.1ms) BEGIN
7618
+ BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
7619
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
7620
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
7621
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
7622
+  (0.2ms) SAVEPOINT active_record_1
7623
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
7624
+ BitCore::Slide Load (0.4ms) 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]]
7625
+ SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 1], ["updated_at", "2014-07-02 18:03:52.462889"]]
7626
+ BitCore::Slide Load (0.4ms) 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]]
7627
+ SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605 [["position", 2], ["updated_at", "2014-07-02 18:03:52.465248"]]
7628
+ BitCore::Slide Load (0.4ms) 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", 958091673]]
7629
+ SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673 [["position", 3], ["updated_at", "2014-07-02 18:03:52.467740"]]
7630
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7631
+ BitCore::Slide Load (0.4ms) 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]]
7632
+ BitCore::Slide Load (0.5ms) 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", 958091673]]
7633
+ BitCore::Slide Load (0.4ms) 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]]
7634
+  (0.2ms) ROLLBACK
7635
+  (0.1ms) BEGIN
7636
+ BitCore::ContentProvider Exists (1.0ms) 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
7637
+ BitCore::ContentProvider Exists (0.5ms) 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
7638
+  (0.2ms) ROLLBACK
7639
+  (0.1ms) BEGIN
7640
+ BitCore::ContentProvider Exists (0.4ms) 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
7641
+ BitCore::ContentProvider Exists (0.5ms) 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
7642
+  (0.2ms) ROLLBACK
7643
+  (0.1ms) BEGIN
7644
+ BitCore::ContentProvider Exists (0.8ms) 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
7645
+ BitCore::ContentProvider Exists (0.5ms) 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
7646
+  (0.3ms) ROLLBACK
7647
+  (0.5ms) 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
7648
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1535258" is a system trigger
7649
+ : 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
7650
+  (0.4ms) 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
7651
+  (0.3ms) BEGIN
7652
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_tools"
7653
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-07-02 18:03:52', '2014-07-02 18:03:52', 836111569)
7654
+ Fixture Delete (0.8ms) DELETE FROM "bit_core_content_modules"
7655
+ Fixture Insert (1.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-07-02 18:03:52', '2014-07-02 18:03:52', 437912910, 836111569)
7656
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-07-02 18:03:52', '2014-07-02 18:03:52', 511237275, 836111569)
7657
+ Fixture Delete (0.4ms) DELETE FROM "bit_core_content_providers"
7658
+ Fixture Insert (1.3ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-07-02 18:03:52', '2014-07-02 18:03:52', 555816777, 437912910)
7659
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-07-02 18:03:52', '2014-07-02 18:03:52', 46790607, 511237275)
7660
+  (0.6ms) COMMIT
7661
+  (0.6ms) 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
7662
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1535258" is a system trigger
7663
+ : 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
7664
+  (0.6ms) 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
7665
+  (0.2ms) BEGIN
7666
+ BitCore::ContentModule Load (0.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
7667
+ BitCore::ContentProvider Load (0.9ms) 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]]
7668
+  (0.3ms) ROLLBACK
7669
+  (0.2ms) BEGIN
7670
+ BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
7671
+ BitCore::ContentProvider Load (0.5ms) 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]]
7672
+  (0.2ms) ROLLBACK
7673
+  (0.1ms) BEGIN
7674
+  (0.2ms) ROLLBACK
7675
+  (0.1ms) BEGIN
7676
+  (0.1ms) ROLLBACK
7677
+  (0.1ms) BEGIN
7678
+  (0.1ms) ROLLBACK
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bit_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Carty-Fickes