cmor_galleries 0.0.6.pre → 0.0.7.pre

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.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/config/locales/de.yml +2 -0
  3. data/config/locales/en.yml +2 -0
  4. data/config/routes.rb +2 -0
  5. data/lib/cmor_galleries.rb +1 -1
  6. data/spec/dummy/db/development.sqlite3 +0 -0
  7. data/spec/dummy/db/migrate/{20190331091441_create_active_storage_tables.active_storage.rb → 20190412002557_create_active_storage_tables.active_storage.rb} +0 -0
  8. data/spec/dummy/db/migrate/{20190331091513_create_cmor_galleries_picture_galleries.cmor_galleries.rb → 20190412002615_create_cmor_galleries_picture_galleries.cmor_galleries.rb} +0 -0
  9. data/spec/dummy/db/migrate/{20190331091514_create_cmor_galleries_picture_details.cmor_galleries.rb → 20190412002616_create_cmor_galleries_picture_details.cmor_galleries.rb} +0 -0
  10. data/spec/dummy/db/schema.rb +1 -1
  11. data/spec/dummy/db/test.sqlite3 +0 -0
  12. data/spec/dummy/log/development.log +67 -67
  13. data/spec/dummy/log/test.log +355 -74
  14. data/spec/dummy/tmp/development_secret.txt +1 -1
  15. data/spec/dummy/tmp/storage/{2d/Kz/2dKzVqXCk2qqmXQoYrAm9aCH → 5F/Zq/5FZqufP29w1edEEqzRj5zc7v} +0 -0
  16. data/spec/dummy/tmp/storage/{m1/b5/m1b5RdCm33VEoLZ9zkqR85JQ → Sw/dJ/SwdJNVpNuHVGDH4KKv9nUibF} +0 -0
  17. data/spec/dummy/tmp/storage/gf/cu/gfcujDxmEQ4PwewXhzgKrzoX +0 -0
  18. data/spec/dummy/tmp/storage/gu/5L/gu5LAekzHG27oxkhzW5DaCyS +0 -0
  19. data/spec/dummy/tmp/storage/kk/9W/kk9WwKcDWLtzs224mZaW5unu +0 -0
  20. data/spec/dummy/tmp/storage/xd/XG/xdXGEMEz4VmQkJ47oUrb6fQJ +0 -0
  21. metadata +27 -27
  22. data/spec/rails_helper.rb~ +0 -58
  23. data/spec/spec_helper.rb~ +0 -96
  24. data/spec/support~/factory_bot_rails.rb +0 -11
  25. data/spec/support~/shoulda_matchers.rb +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f582bf5392de2fe0b2b977e626e4e2499676854aa41cdd3c71060678cba3c09
4
- data.tar.gz: f3fd6f80c5d970bd98954f570b18bcdec89af61926726a1a47c467d8928b98bf
3
+ metadata.gz: 2191f99dfebd806cab5d78a1aef77aaf76a177d1a2dd667d7564a7f1b63cfa07
4
+ data.tar.gz: de8b77d5298597e9524589e21c98372e89cbec15d0130ec574c0d8f990ae515e
5
5
  SHA512:
6
- metadata.gz: 9786abbccd533937d72dbeabcc4987caa2287a96fd96b23fc57459715f0cc74f98fac3574b1235773134ca598752c3a2dfed1da01a3ad3761b0393c1aca08a55
7
- data.tar.gz: 34a8b9b906f5fbee572546f2aed359ff2cdcc6f8fd55862a0746111d63d8bf6f2c1926bae9e5b1ce25a4f910381b899ba67f2641227739be8f589ea677f613a6
6
+ metadata.gz: 9398c6d292d1bfaff546400653c44ab4eef825689a7938b74e01a3e3859d9de9fb28c64c3112ff5646c151f62698fa7dc77e0ad664a2f464e62ce5d55f2dd1df
7
+ data.tar.gz: 408a3c8f4ac4a2bf9daa9cedcfbee7302dceb8930be7563c2f6a1dd53aad9e06bfb9c51aea1991fac352ebb4a32bc64986583d388ff8939757b47166a63da948
@@ -1,4 +1,6 @@
1
1
  de:
2
+ classes:
3
+ cmor/galleries/engine: Bilder
2
4
  routes:
3
5
  cmor_galleries_engine: bilder
4
6
  picture_galleries: galerien
@@ -1,4 +1,6 @@
1
1
  en:
2
+ classes:
3
+ cmor/galleries/engine: Pictures
2
4
  routes:
3
5
  cmor_galleries_engine: pictures
4
6
  picture_galleries: galleries
data/config/routes.rb CHANGED
@@ -4,6 +4,8 @@ Cmor::Galleries::Engine.routes.draw do
4
4
  resources :picture_galleries do
5
5
  post :toggle_published, on: :member
6
6
  end
7
+
8
+ root to: 'picture_galleries#index'
7
9
  end
8
10
  end
9
11
  end
@@ -1,6 +1,6 @@
1
1
  require 'acts_as_list'
2
2
  require 'acts_as_published'
3
- require 'cmor_core'
3
+ require 'cmor_core_frontend'
4
4
  require 'rao-resources_controller'
5
5
  require 'rao-view_helper'
6
6
 
Binary file
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 2019_03_31_091514) do
13
+ ActiveRecord::Schema.define(version: 2019_04_12_002616) do
14
14
 
15
15
  create_table "active_storage_attachments", force: :cascade do |t|
16
16
  t.string "name", null: false
Binary file
@@ -1,122 +1,122 @@
1
-  (0.5ms) SELECT sqlite_version(*)
1
+  (0.3ms) SELECT sqlite_version(*)
2
2
  ↳ bin/rails:4
3
-  (16.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (6.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4
4
  ↳ bin/rails:4
5
-  (5.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
+  (5.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
6
6
  ↳ bin/rails:4
7
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
8
8
  ↳ bin/rails:4
9
- Migrating to CreateActiveStorageTables (20190331091441)
10
-  (0.2ms) begin transaction
9
+ Migrating to CreateActiveStorageTables (20190412002557)
10
+  (0.1ms) begin transaction
11
11
  ↳ bin/rails:4
12
-  (0.9ms) CREATE TABLE "active_storage_blobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar NOT NULL, "filename" varchar NOT NULL, "content_type" varchar, "metadata" text, "byte_size" bigint NOT NULL, "checksum" varchar NOT NULL, "created_at" datetime NOT NULL)
13
- ↳ db/migrate/20190331091441_create_active_storage_tables.active_storage.rb:4
14
-  (0.4ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
15
- ↳ db/migrate/20190331091441_create_active_storage_tables.active_storage.rb:4
16
-  (0.5ms) CREATE TABLE "active_storage_attachments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "blob_id" integer NOT NULL, "created_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3b3935057"
12
+  (0.7ms) CREATE TABLE "active_storage_blobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar NOT NULL, "filename" varchar NOT NULL, "content_type" varchar, "metadata" text, "byte_size" bigint NOT NULL, "checksum" varchar NOT NULL, "created_at" datetime NOT NULL)
13
+ ↳ db/migrate/20190412002557_create_active_storage_tables.active_storage.rb:4
14
+  (0.3ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
15
+ ↳ db/migrate/20190412002557_create_active_storage_tables.active_storage.rb:4
16
+  (0.3ms) CREATE TABLE "active_storage_attachments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "blob_id" integer NOT NULL, "created_at" datetime NOT NULL, CONSTRAINT "fk_rails_c3b3935057"
17
17
  FOREIGN KEY ("blob_id")
18
18
  REFERENCES "active_storage_blobs" ("id")
19
19
  )
20
- ↳ db/migrate/20190331091441_create_active_storage_tables.active_storage.rb:16
21
-  (0.3ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
22
- ↳ db/migrate/20190331091441_create_active_storage_tables.active_storage.rb:16
20
+ ↳ db/migrate/20190412002557_create_active_storage_tables.active_storage.rb:16
21
+  (0.7ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
22
+ ↳ db/migrate/20190412002557_create_active_storage_tables.active_storage.rb:16
23
23
   (0.3ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
24
- ↳ db/migrate/20190331091441_create_active_storage_tables.active_storage.rb:16
25
- ActiveRecord::SchemaMigration Create (2.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190331091441"]]
24
+ ↳ db/migrate/20190412002557_create_active_storage_tables.active_storage.rb:16
25
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190412002557"]]
26
26
  ↳ bin/rails:4
27
-  (30.4ms) commit transaction
27
+  (4.7ms) commit transaction
28
28
  ↳ bin/rails:4
29
- Migrating to CreateCmorGalleriesPictureGalleries (20190331091513)
30
-  (0.1ms) begin transaction
29
+ Migrating to CreateCmorGalleriesPictureGalleries (20190412002615)
30
+  (0.2ms) begin transaction
31
31
  ↳ bin/rails:4
32
-  (6.5ms) CREATE TABLE "cmor_galleries_picture_galleries" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "published_at" datetime, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
33
- ↳ db/migrate/20190331091513_create_cmor_galleries_picture_galleries.cmor_galleries.rb:4
34
- ActiveRecord::SchemaMigration Create (4.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190331091513"]]
32
+  (0.5ms) CREATE TABLE "cmor_galleries_picture_galleries" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "published_at" datetime, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
33
+ ↳ db/migrate/20190412002615_create_cmor_galleries_picture_galleries.cmor_galleries.rb:4
34
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190412002615"]]
35
35
  ↳ bin/rails:4
36
-  (22.4ms) commit transaction
36
+  (10.7ms) commit transaction
37
37
  ↳ bin/rails:4
38
- Migrating to CreateCmorGalleriesPictureDetails (20190331091514)
39
-  (0.3ms) begin transaction
38
+ Migrating to CreateCmorGalleriesPictureDetails (20190412002616)
39
+  (0.1ms) begin transaction
40
40
  ↳ bin/rails:4
41
-  (5.3ms) CREATE TABLE "cmor_galleries_picture_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_gallery_id" integer, "asset_id" integer, "title" varchar, "description" text, "position" integer, "published_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
42
- ↳ db/migrate/20190331091514_create_cmor_galleries_picture_details.cmor_galleries.rb:4
43
- ActiveRecord::SchemaMigration Create (4.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190331091514"]]
41
+  (0.8ms) CREATE TABLE "cmor_galleries_picture_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_gallery_id" integer, "asset_id" integer, "title" varchar, "description" text, "position" integer, "published_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
42
+ ↳ db/migrate/20190412002616_create_cmor_galleries_picture_details.cmor_galleries.rb:4
43
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190412002616"]]
44
44
  ↳ bin/rails:4
45
-  (12.9ms) commit transaction
45
+  (10.7ms) commit transaction
46
46
  ↳ bin/rails:4
47
- ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
47
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
48
48
  ↳ bin/rails:4
49
-  (0.4ms) begin transaction
49
+  (0.3ms) begin transaction
50
50
  ↳ bin/rails:4
51
- ActiveRecord::InternalMetadata Create (2.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-03-31 09:15:13.920656"], ["updated_at", "2019-03-31 09:15:13.920656"]]
51
+ ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 00:26:16.001272"], ["updated_at", "2019-04-12 00:26:16.001272"]]
52
52
  ↳ bin/rails:4
53
-  (16.1ms) commit transaction
53
+  (7.1ms) commit transaction
54
54
  ↳ bin/rails:4
55
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
55
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
56
56
  ↳ bin/rails:4
57
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
58
58
  ↳ bin/rails:4
59
-  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
59
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
60
60
  ↳ bin/rails:4
61
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
61
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
62
62
  ↳ bin/rails:4
63
-  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
63
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
64
64
  ↳ bin/rails:4
65
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
65
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
66
66
  ↳ bin/rails:4
67
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
67
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
68
68
  ↳ bin/rails:4
69
-  (0.1ms) DROP TABLE IF EXISTS "active_storage_attachments"
69
+  (0.2ms) DROP TABLE IF EXISTS "active_storage_attachments"
70
70
  ↳ db/schema.rb:15
71
-  (0.6ms) SELECT sqlite_version(*)
71
+  (0.1ms) SELECT sqlite_version(*)
72
72
  ↳ db/schema.rb:15
73
-  (6.4ms) CREATE TABLE "active_storage_attachments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "blob_id" integer NOT NULL, "created_at" datetime NOT NULL)
73
+  (4.6ms) CREATE TABLE "active_storage_attachments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "blob_id" integer NOT NULL, "created_at" datetime NOT NULL)
74
74
  ↳ db/schema.rb:15
75
-  (11.3ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
75
+  (4.8ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
76
76
  ↳ db/schema.rb:15
77
-  (13.8ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
77
+  (4.5ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
78
78
  ↳ db/schema.rb:15
79
-  (0.3ms) DROP TABLE IF EXISTS "active_storage_blobs"
79
+  (0.2ms) DROP TABLE IF EXISTS "active_storage_blobs"
80
80
  ↳ db/schema.rb:25
81
-  (15.1ms) CREATE TABLE "active_storage_blobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar NOT NULL, "filename" varchar NOT NULL, "content_type" varchar, "metadata" text, "byte_size" bigint NOT NULL, "checksum" varchar NOT NULL, "created_at" datetime NOT NULL)
81
+  (8.4ms) CREATE TABLE "active_storage_blobs" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar NOT NULL, "filename" varchar NOT NULL, "content_type" varchar, "metadata" text, "byte_size" bigint NOT NULL, "checksum" varchar NOT NULL, "created_at" datetime NOT NULL)
82
82
  ↳ db/schema.rb:25
83
-  (9.6ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
83
+  (6.9ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
84
84
  ↳ db/schema.rb:25
85
-  (0.6ms) DROP TABLE IF EXISTS "cmor_galleries_picture_details"
85
+  (0.4ms) DROP TABLE IF EXISTS "cmor_galleries_picture_details"
86
86
  ↳ db/schema.rb:36
87
-  (8.8ms) CREATE TABLE "cmor_galleries_picture_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_gallery_id" integer, "asset_id" integer, "title" varchar, "description" text, "position" integer, "published_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
87
+  (4.4ms) CREATE TABLE "cmor_galleries_picture_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_gallery_id" integer, "asset_id" integer, "title" varchar, "description" text, "position" integer, "published_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
88
88
  ↳ db/schema.rb:36
89
-  (0.5ms) DROP TABLE IF EXISTS "cmor_galleries_picture_galleries"
89
+  (0.1ms) DROP TABLE IF EXISTS "cmor_galleries_picture_galleries"
90
90
  ↳ db/schema.rb:47
91
-  (7.3ms) CREATE TABLE "cmor_galleries_picture_galleries" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "published_at" datetime, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
91
+  (5.7ms) CREATE TABLE "cmor_galleries_picture_galleries" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "published_at" datetime, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
92
92
  ↳ db/schema.rb:47
93
-  (7.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
93
+  (5.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
94
94
  ↳ db/schema.rb:13
95
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
95
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
96
96
  ↳ db/schema.rb:13
97
-  (6.1ms) INSERT INTO "schema_migrations" (version) VALUES (20190331091514)
97
+  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190412002616)
98
98
  ↳ db/schema.rb:13
99
-  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES
100
- (20190331091513),
101
- (20190331091441);
99
+  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES
100
+ (20190412002615),
101
+ (20190412002557);
102
102
 
103
103
  
104
104
  ↳ db/schema.rb:13
105
-  (13.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
105
+  (4.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
106
106
  ↳ db/schema.rb:13
107
- ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
107
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
108
108
  ↳ db/schema.rb:13
109
-  (0.3ms) begin transaction
109
+  (0.1ms) begin transaction
110
110
  ↳ db/schema.rb:13
111
- ActiveRecord::InternalMetadata Create (1.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-03-31 09:15:14.167323"], ["updated_at", "2019-03-31 09:15:14.167323"]]
111
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 00:26:16.151283"], ["updated_at", "2019-04-12 00:26:16.151283"]]
112
112
  ↳ db/schema.rb:13
113
-  (7.9ms) commit transaction
113
+  (5.7ms) commit transaction
114
114
  ↳ db/schema.rb:13
115
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
115
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
116
116
  ↳ bin/rails:4
117
-  (0.5ms) begin transaction
117
+  (0.2ms) begin transaction
118
118
  ↳ bin/rails:4
119
- ActiveRecord::InternalMetadata Update (1.1ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-03-31 09:15:14.190718"], ["key", "environment"]]
119
+ ActiveRecord::InternalMetadata Update (0.4ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-04-12 00:26:16.166589"], ["key", "environment"]]
120
120
  ↳ bin/rails:4
121
-  (10.9ms) commit transaction
121
+  (5.2ms) commit transaction
122
122
  ↳ bin/rails:4
@@ -1,145 +1,426 @@
1
+  (0.1ms) begin transaction
2
+ Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]
3
+  (0.1ms) rollback transaction
4
+  (0.1ms) begin transaction
5
+ Cmor::Galleries::PictureGallery Load (0.5ms) SELECT "cmor_galleries_picture_galleries".* FROM "cmor_galleries_picture_galleries" ORDER BY "cmor_galleries_picture_galleries"."id" ASC LIMIT ? [["LIMIT", 1]]
6
+  (0.2ms) SAVEPOINT active_record_1
7
+ Cmor::Galleries::PictureGallery Create (0.8ms) INSERT INTO "cmor_galleries_picture_galleries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-04-12 00:26:23.464113"], ["updated_at", "2019-04-12 00:26:23.464113"]]
8
+  (0.2ms) RELEASE SAVEPOINT active_record_1
9
+  (0.3ms) SAVEPOINT active_record_1
10
+ Cmor::Galleries::PictureGallery Update (0.6ms) UPDATE "cmor_galleries_picture_galleries" SET "name" = ?, "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["name", "dummy value"], ["updated_at", "2019-04-12 00:26:23.469974"], ["id", 1]]
11
+  (0.3ms) RELEASE SAVEPOINT active_record_1
12
+ Cmor::Galleries::PictureGallery Exists (0.5ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]]
13
+ Cmor::Galleries::PictureGallery Exists (0.0ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]
14
+  (0.3ms) rollback transaction
15
+  (0.1ms) begin transaction
16
+  (0.1ms) rollback transaction
17
+  (0.4ms) begin transaction
18
+  (0.3ms) rollback transaction
19
+  (0.3ms) begin transaction
20
+ Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #1"], ["LIMIT", 1]]
21
+  (0.2ms) rollback transaction
22
+  (0.3ms) begin transaction
23
+ Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]
24
+  (0.2ms) rollback transaction
25
+  (0.1ms) begin transaction
26
+  (0.2ms) SAVEPOINT active_record_1
27
+ Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #2"], ["LIMIT", 1]]
28
+ Cmor::Galleries::PictureGallery Create (0.3ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #2"], ["created_at", "2019-04-12 00:26:23.609316"], ["updated_at", "2019-04-12 00:26:23.609316"]]
29
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30
+  (4.5ms) rollback transaction
31
+  (0.2ms) begin transaction
32
+  (0.1ms) rollback transaction
1
33
   (0.2ms) begin transaction
2
- Cmor::Galleries::PictureGallery Exists (0.7ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]
3
-  (1.1ms) rollback transaction
34
+  (0.3ms) rollback transaction
4
35
   (0.3ms) begin transaction
5
- Cmor::Galleries::PictureGallery Load (0.9ms) SELECT "cmor_galleries_picture_galleries".* FROM "cmor_galleries_picture_galleries" ORDER BY "cmor_galleries_picture_galleries"."id" ASC LIMIT ? [["LIMIT", 1]]
6
-  (0.4ms) SAVEPOINT active_record_1
7
- Cmor::Galleries::PictureGallery Create (1.4ms) INSERT INTO "cmor_galleries_picture_galleries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-03-31 09:15:25.184020"], ["updated_at", "2019-03-31 09:15:25.184020"]]
8
-  (0.4ms) RELEASE SAVEPOINT active_record_1
9
-  (0.9ms) SAVEPOINT active_record_1
10
- Cmor::Galleries::PictureGallery Update (0.7ms) UPDATE "cmor_galleries_picture_galleries" SET "name" = ?, "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["name", "dummy value"], ["updated_at", "2019-03-31 09:15:25.222710"], ["id", 1]]
11
-  (0.4ms) RELEASE SAVEPOINT active_record_1
12
- Cmor::Galleries::PictureGallery Exists (2.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]]
13
- Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]
36
+  Disk Storage (1.2ms) Uploaded file to key: SwdJNVpNuHVGDH4KKv9nUibF (checksum: PQckBuk+cVT3lBy73cnuAQ==)
37
+  (0.1ms) SAVEPOINT active_record_1
38
+ ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "SwdJNVpNuHVGDH4KKv9nUibF"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-12 00:26:23.925207"]]
39
+  (0.6ms) RELEASE SAVEPOINT active_record_1
40
+  (0.3ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+  (0.1ms) rollback transaction
43
+  (0.1ms) begin transaction
44
+  Disk Storage (1.5ms) Uploaded file to key: gu5LAekzHG27oxkhzW5DaCyS (checksum: PQckBuk+cVT3lBy73cnuAQ==)
45
+  (0.2ms) SAVEPOINT active_record_1
46
+ ActiveStorage::Blob Create (1.6ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "gu5LAekzHG27oxkhzW5DaCyS"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-12 00:26:24.004895"]]
47
+  (0.3ms) RELEASE SAVEPOINT active_record_1
48
+  (0.3ms) SAVEPOINT active_record_1
49
+ Cmor::Galleries::PictureGallery Exists (0.2ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #4"], ["LIMIT", 1]]
50
+ Cmor::Galleries::PictureGallery Create (0.4ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #4"], ["created_at", "2019-04-12 00:26:24.058914"], ["updated_at", "2019-04-12 00:26:24.058914"]]
51
+ ActiveStorage::Attachment Create (0.3ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Galleries::PictureGallery"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:26:24.061122"]]
52
+ Cmor::Galleries::PictureDetail Load (0.3ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]]
53
+ Cmor::Galleries::PictureDetail Create (0.3ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-12 00:26:24.063046"], ["updated_at", "2019-04-12 00:26:24.063046"]]
54
+ Cmor::Galleries::PictureDetail Load (0.1ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]]
55
+ Cmor::Galleries::PictureDetail Create (0.2ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-04-12 00:26:24.066470"], ["updated_at", "2019-04-12 00:26:24.066470"]]
56
+ Cmor::Galleries::PictureGallery Update (0.3ms) UPDATE "cmor_galleries_picture_galleries" SET "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["updated_at", "2019-04-12 00:26:24.062471"], ["id", 1]]
57
+  (0.1ms) RELEASE SAVEPOINT active_record_1
58
+ [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: a0d443db-9b9f-491b-b81a-520a2bfebbd8) to Async(default) with arguments: #<GlobalID:0x007f4718034da8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
59
+ ActiveStorage::Blob Load (3.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
60
+  (2.6ms) rollback transaction
61
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8] Performing ActiveStorage::AnalyzeJob (Job ID: a0d443db-9b9f-491b-b81a-520a2bfebbd8) from Async(default) with arguments: #<GlobalID:0x007f4718046198 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
62
+  (0.1ms) begin transaction
63
+  (0.1ms) rollback transaction
64
+  (0.1ms) begin transaction
65
+  (0.1ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+  (0.1ms) rollback transaction
68
+  (0.9ms) begin transaction
69
+  (0.2ms) rollback transaction
70
+  (0.3ms) begin transaction
71
+  (0.1ms) rollback transaction
72
+  (0.1ms) begin transaction
73
+  (0.9ms) rollback transaction
74
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  Disk Storage (0.7ms) Downloaded file from key: gu5LAekzHG27oxkhzW5DaCyS
75
+  (0.1ms) begin transaction
76
+  (0.1ms) rollback transaction
77
+  (0.1ms) begin transaction
78
+  (0.1ms) rollback transaction
79
+  (0.2ms) begin transaction
80
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8] Skipping image analysis because the mini_magick gem isn't installed
14
81
   (0.2ms) rollback transaction
82
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  (0.1ms) begin transaction
83
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  (0.1ms) begin transaction
84
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8] ActiveStorage::Blob Update (6.1ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
85
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  (0.3ms) commit transaction
86
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8]  (0.2ms) commit transaction
87
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [a0d443db-9b9f-491b-b81a-520a2bfebbd8] Performed ActiveStorage::AnalyzeJob (Job ID: a0d443db-9b9f-491b-b81a-520a2bfebbd8) from Async(default) in 121.73ms
88
+  (0.2ms) begin transaction
89
+  (0.1ms) rollback transaction
15
90
   (0.3ms) begin transaction
91
+  (0.2ms) rollback transaction
92
+  (0.2ms) begin transaction
93
+  (0.1ms) rollback transaction
94
+  (0.1ms) begin transaction
95
+  (0.1ms) rollback transaction
96
+  (0.2ms) begin transaction
97
+  (0.1ms) rollback transaction
98
+  (0.0ms) begin transaction
99
+  (0.0ms) rollback transaction
100
+  (0.2ms) begin transaction
16
101
   (0.3ms) rollback transaction
17
102
   (0.2ms) begin transaction
18
103
   (0.1ms) rollback transaction
19
104
   (0.1ms) begin transaction
20
- Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #1"], ["LIMIT", 1]]
105
+  (0.1ms) rollback transaction
106
+  (0.2ms) begin transaction
107
+  (0.4ms) rollback transaction
108
+  (0.2ms) begin transaction
109
+  (0.1ms) rollback transaction
110
+  (0.2ms) begin transaction
111
+  (0.1ms) rollback transaction
112
+  (0.2ms) begin transaction
21
113
   (0.2ms) rollback transaction
114
+  (0.1ms) begin transaction
115
+  (0.1ms) rollback transaction
116
+  (0.2ms) begin transaction
117
+  (0.1ms) rollback transaction
118
+  (0.1ms) begin transaction
119
+  (0.1ms) rollback transaction
22
120
   (0.4ms) begin transaction
23
- Cmor::Galleries::PictureGallery Exists (0.7ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]
24
121
   (0.3ms) rollback transaction
122
+  (0.2ms) begin transaction
123
+  (0.2ms) rollback transaction
25
124
   (0.1ms) begin transaction
26
-  (0.5ms) SAVEPOINT active_record_1
27
- Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #2"], ["LIMIT", 1]]
28
- Cmor::Galleries::PictureGallery Create (0.6ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #2"], ["created_at", "2019-03-31 09:15:25.389644"], ["updated_at", "2019-03-31 09:15:25.389644"]]
29
-  (0.2ms) RELEASE SAVEPOINT active_record_1
30
-  (0.3ms) rollback transaction
125
+  (0.1ms) rollback transaction
126
+  (1.1ms) begin transaction
127
+  (0.1ms) rollback transaction
128
+  (0.3ms) begin transaction
129
+  (0.1ms) rollback transaction
130
+  (0.1ms) begin transaction
131
+  (0.1ms) rollback transaction
132
+  (0.6ms) begin transaction
133
+  (0.1ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+  (0.1ms) rollback transaction
136
+  (0.2ms) begin transaction
137
+  (0.2ms) rollback transaction
138
+  (0.1ms) begin transaction
139
+  (0.1ms) rollback transaction
140
+  (0.2ms) begin transaction
141
+  (0.2ms) rollback transaction
31
142
   (0.4ms) begin transaction
32
-  (0.3ms) rollback transaction
33
-  (0.5ms) begin transaction
143
+  (0.2ms) rollback transaction
144
+  (0.1ms) begin transaction
145
+  (0.1ms) rollback transaction
146
+  (0.2ms) begin transaction
147
+ Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]
148
+  (0.1ms) rollback transaction
149
+  (0.1ms) begin transaction
150
+ Cmor::Galleries::PictureGallery Load (0.5ms) SELECT "cmor_galleries_picture_galleries".* FROM "cmor_galleries_picture_galleries" ORDER BY "cmor_galleries_picture_galleries"."id" ASC LIMIT ? [["LIMIT", 1]]
151
+  (0.1ms) SAVEPOINT active_record_1
152
+ Cmor::Galleries::PictureGallery Create (0.5ms) INSERT INTO "cmor_galleries_picture_galleries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-04-15 22:13:56.529609"], ["updated_at", "2019-04-15 22:13:56.529609"]]
153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
154
+  (0.1ms) SAVEPOINT active_record_1
155
+ Cmor::Galleries::PictureGallery Update (0.2ms) UPDATE "cmor_galleries_picture_galleries" SET "name" = ?, "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["name", "dummy value"], ["updated_at", "2019-04-15 22:13:56.533443"], ["id", 1]]
156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157
+ Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]]
158
+ Cmor::Galleries::PictureGallery Exists (0.7ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]
34
159
   (0.3ms) rollback transaction
35
160
   (0.4ms) begin transaction
36
-  Disk Storage (1.1ms) Uploaded file to key: 2dKzVqXCk2qqmXQoYrAm9aCH (checksum: PQckBuk+cVT3lBy73cnuAQ==)
37
-  (0.2ms) SAVEPOINT active_record_1
38
- ActiveStorage::Blob Create (0.6ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "2dKzVqXCk2qqmXQoYrAm9aCH"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-03-31 09:15:25.721025"]]
39
-  (0.2ms) RELEASE SAVEPOINT active_record_1
40
161
   (0.4ms) rollback transaction
41
162
   (0.3ms) begin transaction
42
-  (0.2ms) rollback transaction
43
-  (0.3ms) begin transaction
44
-  Disk Storage (5.4ms) Uploaded file to key: m1b5RdCm33VEoLZ9zkqR85JQ (checksum: PQckBuk+cVT3lBy73cnuAQ==)
163
+  (0.1ms) rollback transaction
164
+  (0.2ms) begin transaction
165
+ Cmor::Galleries::PictureGallery Exists (0.4ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #1"], ["LIMIT", 1]]
166
+  (0.4ms) rollback transaction
167
+  (0.4ms) begin transaction
168
+ Cmor::Galleries::PictureGallery Exists (2.2ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]
169
+  (0.3ms) rollback transaction
170
+  (0.2ms) begin transaction
45
171
   (0.6ms) SAVEPOINT active_record_1
46
- ActiveStorage::Blob Create (1.9ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "m1b5RdCm33VEoLZ9zkqR85JQ"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-03-31 09:15:25.836082"]]
47
-  (0.5ms) RELEASE SAVEPOINT active_record_1
48
-  (0.7ms) SAVEPOINT active_record_1
49
- Cmor::Galleries::PictureGallery Exists (0.5ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #4"], ["LIMIT", 1]]
50
- Cmor::Galleries::PictureGallery Create (1.0ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #4"], ["created_at", "2019-03-31 09:15:25.862876"], ["updated_at", "2019-03-31 09:15:25.862876"]]
51
- ActiveStorage::Attachment Create (3.7ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Galleries::PictureGallery"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 09:15:25.869352"]]
52
- Cmor::Galleries::PictureDetail Load (1.3ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]]
53
- Cmor::Galleries::PictureDetail Create (1.6ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-03-31 09:15:25.878135"], ["updated_at", "2019-03-31 09:15:25.878135"]]
54
- Cmor::Galleries::PictureDetail Load (1.5ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]]
55
- Cmor::Galleries::PictureDetail Create (0.6ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-03-31 09:15:25.891175"], ["updated_at", "2019-03-31 09:15:25.891175"]]
56
- Cmor::Galleries::PictureGallery Update (0.6ms) UPDATE "cmor_galleries_picture_galleries" SET "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["updated_at", "2019-03-31 09:15:25.876612"], ["id", 1]]
172
+ Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #2"], ["LIMIT", 1]]
173
+ Cmor::Galleries::PictureGallery Create (0.4ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #2"], ["created_at", "2019-04-15 22:13:56.699217"], ["updated_at", "2019-04-15 22:13:56.699217"]]
57
174
   (0.3ms) RELEASE SAVEPOINT active_record_1
58
- [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: e0d7a1bd-837d-4def-8eac-2f0b48ea08aa) to Async(default) with arguments: #<GlobalID:0x00000004aeb880 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
59
- ActiveStorage::Blob Load (2.9ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
60
-  (0.8ms) rollback transaction
61
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa] Performing ActiveStorage::AnalyzeJob (Job ID: e0d7a1bd-837d-4def-8eac-2f0b48ea08aa) from Async(default) with arguments: #<GlobalID:0x00000004acc318 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
62
-  (0.3ms) begin transaction
175
+  (0.5ms) rollback transaction
176
+  (0.5ms) begin transaction
177
+  (0.6ms) rollback transaction
178
+  (0.2ms) begin transaction
63
179
   (0.2ms) rollback transaction
180
+  (0.1ms) begin transaction
181
+  Disk Storage (1.4ms) Uploaded file to key: xdXGEMEz4VmQkJ47oUrb6fQJ (checksum: PQckBuk+cVT3lBy73cnuAQ==)
182
+  (0.1ms) SAVEPOINT active_record_1
183
+ ActiveStorage::Blob Create (0.4ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "xdXGEMEz4VmQkJ47oUrb6fQJ"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-15 22:13:57.028004"]]
184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
185
+  (1.3ms) rollback transaction
186
+  (0.1ms) begin transaction
187
+  (0.6ms) rollback transaction
188
+  (0.1ms) begin transaction
189
+  Disk Storage (1.1ms) Uploaded file to key: kk9WwKcDWLtzs224mZaW5unu (checksum: PQckBuk+cVT3lBy73cnuAQ==)
190
+  (0.2ms) SAVEPOINT active_record_1
191
+ ActiveStorage::Blob Create (0.6ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "kk9WwKcDWLtzs224mZaW5unu"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-15 22:13:57.087194"]]
192
+  (0.2ms) RELEASE SAVEPOINT active_record_1
193
+  (2.7ms) SAVEPOINT active_record_1
194
+ Cmor::Galleries::PictureGallery Exists (0.6ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #4"], ["LIMIT", 1]]
195
+ Cmor::Galleries::PictureGallery Create (0.4ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #4"], ["created_at", "2019-04-15 22:13:57.102705"], ["updated_at", "2019-04-15 22:13:57.102705"]]
196
+ ActiveStorage::Attachment Create (0.5ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Galleries::PictureGallery"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:13:57.105226"]]
197
+ Cmor::Galleries::PictureDetail Load (0.5ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]]
198
+ Cmor::Galleries::PictureDetail Create (0.3ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-15 22:13:57.108387"], ["updated_at", "2019-04-15 22:13:57.108387"]]
199
+ Cmor::Galleries::PictureDetail Load (0.4ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]]
200
+ Cmor::Galleries::PictureDetail Create (0.6ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-04-15 22:13:57.113409"], ["updated_at", "2019-04-15 22:13:57.113409"]]
201
+ Cmor::Galleries::PictureGallery Update (0.8ms) UPDATE "cmor_galleries_picture_galleries" SET "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["updated_at", "2019-04-15 22:13:57.107771"], ["id", 1]]
202
+  (0.5ms) RELEASE SAVEPOINT active_record_1
203
+ [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 6e1c62a1-8b1b-454f-9aa6-f14ba72b139c) to Async(default) with arguments: #<GlobalID:0x000000052dca08 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
204
+  (0.7ms) rollback transaction
205
+ ActiveStorage::Blob Load (20.5ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
206
+  (0.2ms) begin transaction
207
+  (0.1ms) rollback transaction
64
208
   (0.3ms) begin transaction
65
209
   (0.2ms) rollback transaction
66
-  (0.3ms) begin transaction
210
+  (0.1ms) begin transaction
211
+  (0.1ms) rollback transaction
212
+  (0.2ms) begin transaction
67
213
   (0.2ms) rollback transaction
68
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa]  Disk Storage (23.2ms) Downloaded file from key: m1b5RdCm33VEoLZ9zkqR85JQ
69
-  (0.4ms) begin transaction
70
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa] Skipping image analysis because the mini_magick gem isn't installed
214
+  (0.2ms) begin transaction
71
215
   (0.2ms) rollback transaction
72
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa]  (0.2ms) begin transaction
73
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa]  (12.0ms) begin transaction
74
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa] ActiveStorage::Blob Update (1.0ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
75
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa]  (0.2ms) commit transaction
76
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa]  (0.1ms) commit transaction
77
216
   (0.2ms) begin transaction
78
- [ActiveJob] [ActiveStorage::AnalyzeJob] [e0d7a1bd-837d-4def-8eac-2f0b48ea08aa] Performed ActiveStorage::AnalyzeJob (Job ID: e0d7a1bd-837d-4def-8eac-2f0b48ea08aa) from Async(default) in 201.49ms
79
217
   (0.2ms) rollback transaction
218
+  (0.1ms) begin transaction
219
+  (0.4ms) rollback transaction
220
+  (0.2ms) begin transaction
221
+  (0.3ms) rollback transaction
222
+  (0.4ms) begin transaction
223
+  (0.5ms) rollback transaction
80
224
   (0.3ms) begin transaction
225
+  (0.4ms) rollback transaction
226
+  (1.3ms) begin transaction
81
227
   (0.2ms) rollback transaction
228
+  (0.3ms) begin transaction
229
+  (0.1ms) rollback transaction
230
+  (0.4ms) begin transaction
231
+  (0.1ms) rollback transaction
232
+  (0.2ms) begin transaction
233
+  (0.1ms) rollback transaction
82
234
   (0.2ms) begin transaction
235
+  (0.3ms) rollback transaction
236
+  (0.3ms) begin transaction
83
237
   (0.2ms) rollback transaction
84
238
   (0.3ms) begin transaction
85
-  (0.1ms) rollback transaction
239
+  (0.3ms) rollback transaction
86
240
   (0.4ms) begin transaction
87
241
   (0.3ms) rollback transaction
88
242
   (0.2ms) begin transaction
89
243
   (0.2ms) rollback transaction
90
244
   (0.2ms) begin transaction
245
+  (6.8ms) rollback transaction
246
+  (0.7ms) begin transaction
247
+  (0.2ms) rollback transaction
248
+  (0.2ms) begin transaction
91
249
   (0.1ms) rollback transaction
92
-  (0.1ms) begin transaction
250
+  (0.2ms) begin transaction
93
251
   (0.1ms) rollback transaction
94
252
   (0.1ms) begin transaction
95
253
   (0.1ms) rollback transaction
254
+  (0.3ms) begin transaction
255
+  (9.8ms) rollback transaction
256
+  (0.8ms) begin transaction
257
+  (0.0ms) rollback transaction
258
+  (0.4ms) begin transaction
259
+  (0.1ms) rollback transaction
96
260
   (0.5ms) begin transaction
97
261
   (0.4ms) rollback transaction
98
-  (1.3ms) begin transaction
262
+  (0.2ms) begin transaction
263
+  (0.2ms) rollback transaction
264
+  (0.4ms) begin transaction
265
+  (0.6ms) rollback transaction
266
+  (0.8ms) begin transaction
267
+  (0.4ms) rollback transaction
268
+  (0.2ms) begin transaction
269
+  (0.2ms) rollback transaction
270
+  (0.4ms) begin transaction
271
+  (0.3ms) rollback transaction
272
+  (0.4ms) begin transaction
99
273
   (0.1ms) rollback transaction
274
+  (0.2ms) begin transaction
275
+  (0.3ms) rollback transaction
276
+  (0.3ms) begin transaction
277
+  (0.2ms) rollback transaction
278
+  (0.2ms) begin transaction
279
+  (0.3ms) rollback transaction
280
+  (0.6ms) begin transaction
281
+  (0.3ms) rollback transaction
100
282
   (0.1ms) begin transaction
283
+ Cmor::Galleries::PictureGallery Exists (0.1ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]
101
284
   (0.1ms) rollback transaction
285
+  (0.1ms) begin transaction
286
+ Cmor::Galleries::PictureGallery Load (0.2ms) SELECT "cmor_galleries_picture_galleries".* FROM "cmor_galleries_picture_galleries" ORDER BY "cmor_galleries_picture_galleries"."id" ASC LIMIT ? [["LIMIT", 1]]
287
+  (0.1ms) SAVEPOINT active_record_1
288
+ Cmor::Galleries::PictureGallery Create (0.3ms) INSERT INTO "cmor_galleries_picture_galleries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-04-24 20:58:10.744499"], ["updated_at", "2019-04-24 20:58:10.744499"]]
289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
290
+  (0.1ms) SAVEPOINT active_record_1
291
+ Cmor::Galleries::PictureGallery Update (0.2ms) UPDATE "cmor_galleries_picture_galleries" SET "name" = ?, "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["name", "dummy value"], ["updated_at", "2019-04-24 20:58:10.747546"], ["id", 1]]
292
+  (0.1ms) RELEASE SAVEPOINT active_record_1
293
+ Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]]
294
+ Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]
295
+  (0.4ms) rollback transaction
296
+  (0.1ms) begin transaction
297
+  (5.3ms) rollback transaction
298
+  (0.3ms) begin transaction
299
+  (0.2ms) rollback transaction
300
+  (0.2ms) begin transaction
301
+ Cmor::Galleries::PictureGallery Exists (0.2ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #1"], ["LIMIT", 1]]
302
+  (0.3ms) rollback transaction
303
+  (0.2ms) begin transaction
304
+ Cmor::Galleries::PictureGallery Exists (0.6ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" IS NULL LIMIT ? [["LIMIT", 1]]
305
+  (0.2ms) rollback transaction
306
+  (0.2ms) begin transaction
307
+  (0.2ms) SAVEPOINT active_record_1
308
+ Cmor::Galleries::PictureGallery Exists (0.3ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #2"], ["LIMIT", 1]]
309
+ Cmor::Galleries::PictureGallery Create (0.8ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #2"], ["created_at", "2019-04-24 20:58:10.883028"], ["updated_at", "2019-04-24 20:58:10.883028"]]
310
+  (0.3ms) RELEASE SAVEPOINT active_record_1
311
+  (0.4ms) rollback transaction
102
312
   (0.2ms) begin transaction
103
313
   (0.1ms) rollback transaction
314
+  (0.1ms) begin transaction
315
+  (0.4ms) rollback transaction
104
316
   (0.2ms) begin transaction
105
-  (0.5ms) rollback transaction
106
-  (9.0ms) begin transaction
107
-  (1.1ms) rollback transaction
108
-  (0.3ms) begin transaction
317
+  Disk Storage (0.8ms) Uploaded file to key: gfcujDxmEQ4PwewXhzgKrzoX (checksum: PQckBuk+cVT3lBy73cnuAQ==)
318
+  (0.1ms) SAVEPOINT active_record_1
319
+ ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "gfcujDxmEQ4PwewXhzgKrzoX"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-24 20:58:11.140314"]]
320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
109
321
   (0.2ms) rollback transaction
322
+  (1.1ms) begin transaction
323
+  (0.1ms) rollback transaction
110
324
   (0.1ms) begin transaction
111
-  (0.5ms) rollback transaction
325
+  Disk Storage (4.8ms) Uploaded file to key: 5FZqufP29w1edEEqzRj5zc7v (checksum: PQckBuk+cVT3lBy73cnuAQ==)
326
+  (0.4ms) SAVEPOINT active_record_1
327
+ ActiveStorage::Blob Create (0.7ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "5FZqufP29w1edEEqzRj5zc7v"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-24 20:58:11.223658"]]
328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
329
+  (0.8ms) SAVEPOINT active_record_1
330
+ Cmor::Galleries::PictureGallery Exists (0.5ms) SELECT 1 AS one FROM "cmor_galleries_picture_galleries" WHERE "cmor_galleries_picture_galleries"."name" = ? LIMIT ? [["name", "Picture Gallery #4"], ["LIMIT", 1]]
331
+ Cmor::Galleries::PictureGallery Create (1.2ms) INSERT INTO "cmor_galleries_picture_galleries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Picture Gallery #4"], ["created_at", "2019-04-24 20:58:11.246032"], ["updated_at", "2019-04-24 20:58:11.246032"]]
332
+ ActiveStorage::Attachment Create (0.8ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Galleries::PictureGallery"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-24 20:58:11.249672"]]
333
+ Cmor::Galleries::PictureDetail Load (1.0ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]]
334
+ Cmor::Galleries::PictureDetail Create (2.4ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 1], ["created_at", "2019-04-24 20:58:11.254467"], ["updated_at", "2019-04-24 20:58:11.254467"]]
335
+ Cmor::Galleries::PictureDetail Load (1.6ms) SELECT "cmor_galleries_picture_details".* FROM "cmor_galleries_picture_details" WHERE "cmor_galleries_picture_details"."picture_gallery_id" = ? AND ("cmor_galleries_picture_details"."position" IS NOT NULL) ORDER BY "cmor_galleries_picture_details"."position" DESC LIMIT ? [["picture_gallery_id", 1], ["LIMIT", 1]]
336
+ Cmor::Galleries::PictureDetail Create (0.3ms) INSERT INTO "cmor_galleries_picture_details" ("picture_gallery_id", "asset_id", "position", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["picture_gallery_id", 1], ["asset_id", 1], ["position", 2], ["created_at", "2019-04-24 20:58:11.265816"], ["updated_at", "2019-04-24 20:58:11.265816"]]
337
+ Cmor::Galleries::PictureGallery Update (0.2ms) UPDATE "cmor_galleries_picture_galleries" SET "updated_at" = ? WHERE "cmor_galleries_picture_galleries"."id" = ? [["updated_at", "2019-04-24 20:58:11.252769"], ["id", 1]]
338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
339
+ [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 83bbf6ff-1123-4434-aef6-654658ab2456) to Async(default) with arguments: #<GlobalID:0x00000006544268 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
340
+ ActiveStorage::Blob Load (1.6ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
341
+  (0.4ms) rollback transaction
342
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456] Performing ActiveStorage::AnalyzeJob (Job ID: 83bbf6ff-1123-4434-aef6-654658ab2456) from Async(default) with arguments: #<GlobalID:0x0000000651d9d8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
343
+  (0.2ms) begin transaction
344
+  (0.1ms) rollback transaction
345
+  (0.1ms) begin transaction
346
+  (0.1ms) rollback transaction
347
+  (0.2ms) begin transaction
348
+  (0.1ms) rollback transaction
349
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  Disk Storage (28.7ms) Downloaded file from key: 5FZqufP29w1edEEqzRj5zc7v
112
350
   (0.1ms) begin transaction
351
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456] Skipping image analysis because the mini_magick gem isn't installed
352
+  (0.7ms) rollback transaction
353
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  (0.2ms) begin transaction
354
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  (0.1ms) begin transaction
355
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456] ActiveStorage::Blob Update (0.4ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
356
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  (0.2ms) commit transaction
357
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456]  (0.1ms) commit transaction
358
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [83bbf6ff-1123-4434-aef6-654658ab2456] Performed ActiveStorage::AnalyzeJob (Job ID: 83bbf6ff-1123-4434-aef6-654658ab2456) from Async(default) in 99.7ms
359
+  (0.2ms) begin transaction
113
360
   (0.2ms) rollback transaction
361
+  (0.3ms) begin transaction
362
+  (0.3ms) rollback transaction
363
+  (0.8ms) begin transaction
364
+  (0.3ms) rollback transaction
365
+  (0.2ms) begin transaction
366
+  (0.1ms) rollback transaction
114
367
   (0.1ms) begin transaction
368
+  (0.3ms) rollback transaction
369
+  (0.2ms) begin transaction
370
+  (0.1ms) rollback transaction
371
+  (0.4ms) begin transaction
115
372
   (0.1ms) rollback transaction
116
373
   (0.4ms) begin transaction
117
-  (8.2ms) rollback transaction
374
+  (0.4ms) rollback transaction
375
+  (0.1ms) begin transaction
376
+  (0.1ms) rollback transaction
377
+  (0.1ms) begin transaction
378
+  (0.1ms) rollback transaction
118
379
   (0.2ms) begin transaction
119
-  (0.2ms) rollback transaction
380
+  (0.1ms) rollback transaction
120
381
   (0.3ms) begin transaction
121
382
   (0.2ms) rollback transaction
122
383
   (0.2ms) begin transaction
123
384
   (0.1ms) rollback transaction
124
-  (0.7ms) begin transaction
125
-  (0.5ms) rollback transaction
126
385
   (0.3ms) begin transaction
127
-  (0.3ms) rollback transaction
386
+  (0.2ms) rollback transaction
128
387
   (0.2ms) begin transaction
388
+  (0.1ms) rollback transaction
389
+  (0.2ms) begin transaction
390
+  (0.3ms) rollback transaction
391
+  (0.4ms) begin transaction
129
392
   (0.2ms) rollback transaction
130
-  (0.1ms) begin transaction
131
-  (6.3ms) rollback transaction
132
-  (0.7ms) begin transaction
393
+  (5.8ms) begin transaction
133
394
   (0.5ms) rollback transaction
395
+  (0.2ms) begin transaction
396
+  (0.1ms) rollback transaction
134
397
   (0.1ms) begin transaction
135
398
   (0.1ms) rollback transaction
136
-  (0.9ms) begin transaction
137
-  (0.3ms) rollback transaction
138
-  (0.4ms) begin transaction
399
+  (0.1ms) begin transaction
400
+  (0.1ms) rollback transaction
401
+  (0.8ms) begin transaction
139
402
   (0.3ms) rollback transaction
403
+  (0.2ms) begin transaction
404
+  (0.4ms) rollback transaction
140
405
   (0.3ms) begin transaction
406
+  (0.2ms) rollback transaction
407
+  (0.1ms) begin transaction
408
+  (0.2ms) rollback transaction
409
+  (0.1ms) begin transaction
410
+  (0.1ms) rollback transaction
411
+  (0.1ms) begin transaction
141
412
   (0.1ms) rollback transaction
142
413
   (0.3ms) begin transaction
143
-  (0.2ms) rollback transaction
144
-  (1.1ms) begin transaction
145
414
   (0.3ms) rollback transaction
415
+  (0.1ms) begin transaction
416
+  (0.1ms) rollback transaction
417
+  (0.1ms) begin transaction
418
+  (0.1ms) rollback transaction
419
+  (0.2ms) begin transaction
420
+  (0.1ms) rollback transaction
421
+  (0.2ms) begin transaction
422
+  (0.2ms) rollback transaction
423
+  (0.1ms) begin transaction
424
+  (0.1ms) rollback transaction
425
+  (0.2ms) begin transaction
426
+  (0.1ms) rollback transaction
@@ -1 +1 @@
1
- ed4cbbd3fe14df8019c4bc403628b7ea4739457d4592a214a1a6d5d6705bc8cf1b03254852dd3b74232d55d1224efe1c2865cf3d46ac100a8b43a7c4ea0b7710
1
+ c9a5e6de748dd09ccea0604e0fde6348fbc66d7ffcba731e35c2e7f282b27906dd1441febe6490d3ae9a78a608c0a9dce5b4534d4e01ff0b7689af9b550b5380
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_galleries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.pre
4
+ version: 0.0.7.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.6.pre
33
+ version: 0.0.7.pre
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.6.pre
40
+ version: 0.0.7.pre
41
+ - !ruby/object:Gem::Dependency
42
+ name: cmor_core_frontend
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.0.7.pre
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.7.pre
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: sqlite3
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -318,20 +332,6 @@ dependencies:
318
332
  - - ">="
319
333
  - !ruby/object:Gem::Version
320
334
  version: 0.0.14.pre
321
- - !ruby/object:Gem::Dependency
322
- name: rao-view_helper
323
- requirement: !ruby/object:Gem::Requirement
324
- requirements:
325
- - - ">="
326
- - !ruby/object:Gem::Version
327
- version: 0.0.14.pre
328
- type: :runtime
329
- prerelease: false
330
- version_requirements: !ruby/object:Gem::Requirement
331
- requirements:
332
- - - ">="
333
- - !ruby/object:Gem::Version
334
- version: 0.0.14.pre
335
335
  description:
336
336
  email:
337
337
  - roberto@vasquez-angel.de
@@ -422,9 +422,9 @@ files:
422
422
  - spec/dummy/config/spring.rb
423
423
  - spec/dummy/config/storage.yml
424
424
  - spec/dummy/db/development.sqlite3
425
- - spec/dummy/db/migrate/20190331091441_create_active_storage_tables.active_storage.rb
426
- - spec/dummy/db/migrate/20190331091513_create_cmor_galleries_picture_galleries.cmor_galleries.rb
427
- - spec/dummy/db/migrate/20190331091514_create_cmor_galleries_picture_details.cmor_galleries.rb
425
+ - spec/dummy/db/migrate/20190412002557_create_active_storage_tables.active_storage.rb
426
+ - spec/dummy/db/migrate/20190412002615_create_cmor_galleries_picture_galleries.cmor_galleries.rb
427
+ - spec/dummy/db/migrate/20190412002616_create_cmor_galleries_picture_details.cmor_galleries.rb
428
428
  - spec/dummy/db/schema.rb
429
429
  - spec/dummy/db/test.sqlite3
430
430
  - spec/dummy/log/development.log
@@ -437,8 +437,12 @@ files:
437
437
  - spec/dummy/public/apple-touch-icon.png
438
438
  - spec/dummy/public/favicon.ico
439
439
  - spec/dummy/tmp/development_secret.txt
440
- - spec/dummy/tmp/storage/2d/Kz/2dKzVqXCk2qqmXQoYrAm9aCH
441
- - spec/dummy/tmp/storage/m1/b5/m1b5RdCm33VEoLZ9zkqR85JQ
440
+ - spec/dummy/tmp/storage/5F/Zq/5FZqufP29w1edEEqzRj5zc7v
441
+ - spec/dummy/tmp/storage/Sw/dJ/SwdJNVpNuHVGDH4KKv9nUibF
442
+ - spec/dummy/tmp/storage/gf/cu/gfcujDxmEQ4PwewXhzgKrzoX
443
+ - spec/dummy/tmp/storage/gu/5L/gu5LAekzHG27oxkhzW5DaCyS
444
+ - spec/dummy/tmp/storage/kk/9W/kk9WwKcDWLtzs224mZaW5unu
445
+ - spec/dummy/tmp/storage/xd/XG/xdXGEMEz4VmQkJ47oUrb6fQJ
442
446
  - spec/factories/cmor_galleries_picture_details.rb
443
447
  - spec/factories/cmor_galleries_picture_galleries.rb
444
448
  - spec/files/cmor/galleries/picture_details/example.png
@@ -447,15 +451,11 @@ files:
447
451
  - spec/models/generic_spec.rb
448
452
  - spec/models/i18n_spec.rb
449
453
  - spec/rails_helper.rb
450
- - spec/rails_helper.rb~
451
454
  - spec/spec_helper.rb
452
- - spec/spec_helper.rb~
453
455
  - spec/support/capybara.rb
454
456
  - spec/support/factory_bot.rb
455
457
  - spec/support/rao-shoulda_matchers.rb
456
458
  - spec/support/shoulda_matchers.rb
457
- - spec/support~/factory_bot_rails.rb
458
- - spec/support~/shoulda_matchers.rb
459
459
  homepage: https://github.com/content-management-on-rails
460
460
  licenses:
461
461
  - MIT
@@ -1,58 +0,0 @@
1
- # This file is copied to spec/ when you run 'rails generate rspec:install'
2
- require 'spec_helper'
3
- ENV['RAILS_ENV'] ||= 'test'
4
- require File.expand_path('../dummy/config/environment', __FILE__)
5
- # Prevent database truncation if the environment is production
6
- abort("The Rails environment is running in production mode!") if Rails.env.production?
7
- require 'rspec/rails'
8
- # Add additional requires below this line. Rails is not loaded until this point!
9
-
10
- # Requires supporting ruby files with custom matchers and macros, etc, in
11
- # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
12
- # run as spec files by default. This means that files in spec/support that end
13
- # in _spec.rb will both be required and run as specs, causing the specs to be
14
- # run twice. It is recommended that you do not name files matching this glob to
15
- # end with _spec.rb. You can configure this pattern with the --pattern
16
- # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
17
- #
18
- # The following line is provided for convenience purposes. It has the downside
19
- # of increasing the boot-up time by auto-requiring all files in the support
20
- # directory. Alternatively, in the individual `*_spec.rb` files, manually
21
- # require only the support files necessary.
22
- #
23
- # Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
24
- Dir[Cmor::Galleries::Engine.root.join('spec/support/**/*.rb')].each { |f| require f }
25
-
26
- # Checks for pending migrations and applies them before tests are run.
27
- # If you are not using ActiveRecord, you can remove this line.
28
- # ActiveRecord::Migration.maintain_test_schema!
29
-
30
- RSpec.configure do |config|
31
- # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
32
- config.fixture_path = "#{::Rails.root}/spec/fixtures"
33
-
34
- # If you're not using ActiveRecord, or you'd prefer not to run each of your
35
- # examples within a transaction, remove the following line or assign false
36
- # instead of true.
37
- config.use_transactional_fixtures = true
38
-
39
- # RSpec Rails can automatically mix in different behaviours to your tests
40
- # based on their file location, for example enabling you to call `get` and
41
- # `post` in specs under `spec/controllers`.
42
- #
43
- # You can disable this behaviour by removing the line below, and instead
44
- # explicitly tag your specs with their type, e.g.:
45
- #
46
- # RSpec.describe UsersController, :type => :controller do
47
- # # ...
48
- # end
49
- #
50
- # The different available types are documented in the features, such as in
51
- # https://relishapp.com/rspec/rspec-rails/docs
52
- config.infer_spec_type_from_file_location!
53
-
54
- # Filter lines from Rails gems in backtraces.
55
- config.filter_rails_from_backtrace!
56
- # arbitrary gems may also be filtered via:
57
- # config.filter_gems_from_backtrace("gem name")
58
- end
data/spec/spec_helper.rb~ DELETED
@@ -1,96 +0,0 @@
1
- # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # The generated `.rspec` file contains `--require spec_helper` which will cause
4
- # this file to always be loaded, without a need to explicitly require it in any
5
- # files.
6
- #
7
- # Given that it is always loaded, you are encouraged to keep this file as
8
- # light-weight as possible. Requiring heavyweight dependencies from this file
9
- # will add to the boot time of your test suite on EVERY test run, even for an
10
- # individual file that may not need all of that loaded. Instead, consider making
11
- # a separate helper file that requires the additional dependencies and performs
12
- # the additional setup, and require it from the spec files that actually need
13
- # it.
14
- #
15
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
16
- RSpec.configure do |config|
17
- # rspec-expectations config goes here. You can use an alternate
18
- # assertion/expectation library such as wrong or the stdlib/minitest
19
- # assertions if you prefer.
20
- config.expect_with :rspec do |expectations|
21
- # This option will default to `true` in RSpec 4. It makes the `description`
22
- # and `failure_message` of custom matchers include text for helper methods
23
- # defined using `chain`, e.g.:
24
- # be_bigger_than(2).and_smaller_than(4).description
25
- # # => "be bigger than 2 and smaller than 4"
26
- # ...rather than:
27
- # # => "be bigger than 2"
28
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
29
- end
30
-
31
- # rspec-mocks config goes here. You can use an alternate test double
32
- # library (such as bogus or mocha) by changing the `mock_with` option here.
33
- config.mock_with :rspec do |mocks|
34
- # Prevents you from mocking or stubbing a method that does not exist on
35
- # a real object. This is generally recommended, and will default to
36
- # `true` in RSpec 4.
37
- mocks.verify_partial_doubles = true
38
- end
39
-
40
- # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
41
- # have no way to turn it off -- the option exists only for backwards
42
- # compatibility in RSpec 3). It causes shared context metadata to be
43
- # inherited by the metadata hash of host groups and examples, rather than
44
- # triggering implicit auto-inclusion in groups with matching metadata.
45
- config.shared_context_metadata_behavior = :apply_to_host_groups
46
-
47
- # The settings below are suggested to provide a good initial experience
48
- # with RSpec, but feel free to customize to your heart's content.
49
- =begin
50
- # This allows you to limit a spec run to individual examples or groups
51
- # you care about by tagging them with `:focus` metadata. When nothing
52
- # is tagged with `:focus`, all examples get run. RSpec also provides
53
- # aliases for `it`, `describe`, and `context` that include `:focus`
54
- # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
55
- config.filter_run_when_matching :focus
56
-
57
- # Allows RSpec to persist some state between runs in order to support
58
- # the `--only-failures` and `--next-failure` CLI options. We recommend
59
- # you configure your source control system to ignore this file.
60
- config.example_status_persistence_file_path = "spec/examples.txt"
61
-
62
- # Limits the available syntax to the non-monkey patched syntax that is
63
- # recommended. For more details, see:
64
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
65
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
66
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
67
- config.disable_monkey_patching!
68
-
69
- # Many RSpec users commonly either run the entire suite or an individual
70
- # file, and it's useful to allow more verbose output when running an
71
- # individual spec file.
72
- if config.files_to_run.one?
73
- # Use the documentation formatter for detailed output,
74
- # unless a formatter has already been configured
75
- # (e.g. via a command-line flag).
76
- config.default_formatter = "doc"
77
- end
78
-
79
- # Print the 10 slowest examples and example groups at the
80
- # end of the spec run, to help surface which specs are running
81
- # particularly slow.
82
- config.profile_examples = 10
83
-
84
- # Run specs in random order to surface order dependencies. If you find an
85
- # order dependency and want to debug it, you can fix the order by providing
86
- # the seed, which is printed after each run.
87
- # --seed 1234
88
- config.order = :random
89
-
90
- # Seed global randomization in this process using the `--seed` CLI option.
91
- # Setting this allows you to use `--seed` to deterministically reproduce
92
- # test failures related to randomization by passing the same `--seed` value
93
- # as the one that triggered the failure.
94
- Kernel.srand config.seed
95
- =end
96
- end
@@ -1,11 +0,0 @@
1
- require 'factory_bot_rails'
2
-
3
- FactoryBot = FactoryBot
4
-
5
- # FactoryBot.definition_file_paths << Cmor::Blorgh::Engine.root.join(*%w(spec factories))
6
- # FactoryBot.factories.clear
7
- # FactoryBot.find_definitions
8
-
9
- RSpec.configure do |config|
10
- config.include FactoryBot::Syntax::Methods
11
- end
@@ -1,8 +0,0 @@
1
- require 'shoulda-matchers'
2
-
3
- Shoulda::Matchers.configure do |config|
4
- config.integrate do |with|
5
- with.test_framework :rspec
6
- with.library :rails
7
- end
8
- end