cmor_files 0.0.6.pre → 0.0.7.pre

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
  SHA256:
3
- metadata.gz: 3424acaaa41eae764ba958e85f0b3b5a506bf1d5129de602040f867f8d464283
4
- data.tar.gz: 805972ad6cbe59ebdd435da55fa8346ceac48bb6e4197b0bce5550751546ec57
3
+ metadata.gz: 9760ed4ae678d4fd81d76317c970cd1ae661999ad208f44ba566404ccf610099
4
+ data.tar.gz: 21fc46f2b28d959ffd6cbd7544bfa5e243fa51ab4a0a859c4b955f6d9782d7a7
5
5
  SHA512:
6
- metadata.gz: 3795a25c2f440c8756b7b2ddc71945591f3e94aec2de2be2ed8a1b52862eed209ae404f8855ad56a7ae876b865b53bba42f8886580f695757032e2fe4c93c3b1
7
- data.tar.gz: 4663dd772044cdf03b0f5e2d20eece602d5da295984c92a6a070727a6750530933f21ba01d9407f42f2dc104d1c0dfdfb2df5bc419080d2f6bb74285f319a180
6
+ metadata.gz: 1e8932a1178d76293524a4fc963f52a066042a955c3bd7afe3545eb253d987213b00172bcd92c64911533410a3fcf94cfb5e74b4c39257de9dce4fd654b73fdb
7
+ data.tar.gz: 910e2082411e91a565548b1efd26b986783080253fe70b9ec6eb6a1771b107b6b3523017a73e52db65a02dc7a07000585970692e7075e9f39aaeb523eec10a85
@@ -1,5 +1,5 @@
1
1
  module Cmor::Files
2
- class ApplicationResourcesController < Cmor::Blog::Configuration.base_controller.constantize
2
+ class ApplicationResourcesController < Cmor::Files::Configuration.base_controller.constantize
3
3
  include Rao::ResourcesController::RestActionsConcern
4
4
  include Rao::ResourcesController::ResourcesConcern
5
5
  include Rao::ResourcesController::RestResourceUrlsConcern
@@ -1,4 +1,6 @@
1
1
  de:
2
+ classes:
3
+ cmor/files/engine: Dateien
2
4
  routes:
3
5
  cmor_files_engine: dateien
4
6
  folders: ordner
@@ -1,4 +1,6 @@
1
1
  en:
2
+ classes:
3
+ cmor/files/engine: Files
2
4
  routes:
3
5
  cmor_files_engine: files
4
6
  folders: folders
data/config/routes.rb CHANGED
@@ -2,6 +2,8 @@ Cmor::Files::Engine.routes.draw do
2
2
  localized do
3
3
  scope :cmor_files_engine do
4
4
  resources :folders
5
+
6
+ root to: 'folders#index'
5
7
  end
6
8
  end
7
9
  end
data/lib/cmor_files.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'cmor_core'
1
+ require 'cmor_core_frontend'
2
2
  require 'acts_as_published'
3
3
  require 'rao-resources_controller'
4
4
  require 'rao-component'
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_091047) do
13
+ ActiveRecord::Schema.define(version: 2019_04_12_002354) 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.8ms) SELECT sqlite_version(*)
1
+  (0.3ms) SELECT sqlite_version(*)
2
2
  ↳ bin/rails:4
3
-  (32.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (4.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4
4
  ↳ bin/rails:4
5
-  (7.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
+  (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)
6
6
  ↳ bin/rails:4
7
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
7
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
8
8
  ↳ bin/rails:4
9
- Migrating to CreateActiveStorageTables (20190331091014)
10
-  (0.2ms) begin transaction
9
+ Migrating to CreateActiveStorageTables (20190412002334)
10
+  (0.3ms) begin transaction
11
11
  ↳ bin/rails:4
12
-  (2.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/20190331091014_create_active_storage_tables.active_storage.rb:4
14
-  (0.5ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
15
- ↳ db/migrate/20190331091014_create_active_storage_tables.active_storage.rb:4
16
-  (0.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, CONSTRAINT "fk_rails_c3b3935057"
12
+  (1.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)
13
+ ↳ db/migrate/20190412002334_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/20190412002334_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/20190331091014_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/20190331091014_create_active_storage_tables.active_storage.rb:16
23
-  (0.6ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
24
- ↳ db/migrate/20190331091014_create_active_storage_tables.active_storage.rb:16
25
- ActiveRecord::SchemaMigration Create (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190331091014"]]
20
+ ↳ db/migrate/20190412002334_create_active_storage_tables.active_storage.rb:16
21
+  (0.2ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
22
+ ↳ db/migrate/20190412002334_create_active_storage_tables.active_storage.rb:16
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/20190412002334_create_active_storage_tables.active_storage.rb:16
25
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190412002334"]]
26
26
  ↳ bin/rails:4
27
-  (9.9ms) commit transaction
27
+  (6.3ms) commit transaction
28
28
  ↳ bin/rails:4
29
- Migrating to CreateCmorFilesFolders (20190331091046)
30
-  (0.3ms) begin transaction
29
+ Migrating to CreateCmorFilesFolders (20190412002353)
30
+  (0.1ms) begin transaction
31
31
  ↳ bin/rails:4
32
-  (3.4ms) CREATE TABLE "cmor_files_folders" ("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/20190331091046_create_cmor_files_folders.cmor_files.rb:4
34
- ActiveRecord::SchemaMigration Create (2.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190331091046"]]
32
+  (0.7ms) CREATE TABLE "cmor_files_folders" ("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/20190412002353_create_cmor_files_folders.cmor_files.rb:4
34
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190412002353"]]
35
35
  ↳ bin/rails:4
36
-  (10.1ms) commit transaction
36
+  (9.2ms) commit transaction
37
37
  ↳ bin/rails:4
38
- Migrating to CreateCmorFilesFileDetails (20190331091047)
39
-  (0.2ms) begin transaction
38
+ Migrating to CreateCmorFilesFileDetails (20190412002354)
39
+  (0.1ms) begin transaction
40
40
  ↳ bin/rails:4
41
-  (7.5ms) CREATE TABLE "cmor_files_file_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "asset_id" integer, "title" varchar, "description" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
42
- ↳ db/migrate/20190331091047_create_cmor_files_file_details.cmor_files.rb:4
43
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190331091047"]]
41
+  (0.5ms) CREATE TABLE "cmor_files_file_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "asset_id" integer, "title" varchar, "description" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
42
+ ↳ db/migrate/20190412002354_create_cmor_files_file_details.cmor_files.rb:4
43
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190412002354"]]
44
44
  ↳ bin/rails:4
45
-  (25.8ms) commit transaction
45
+  (3.7ms) commit transaction
46
46
  ↳ bin/rails:4
47
- ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
47
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
48
48
  ↳ bin/rails:4
49
49
   (0.2ms) begin transaction
50
50
  ↳ bin/rails:4
51
- ActiveRecord::InternalMetadata Create (4.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-03-31 09:10:47.034154"], ["updated_at", "2019-03-31 09:10:47.034154"]]
51
+ ActiveRecord::InternalMetadata Create (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 00:23:53.283587"], ["updated_at", "2019-04-12 00:23:53.283587"]]
52
52
  ↳ bin/rails:4
53
-  (30.7ms) commit transaction
53
+  (24.3ms) commit transaction
54
54
  ↳ bin/rails:4
55
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
55
+  (2.1ms) 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
+  (0.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
-  (1.5ms) 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.2ms) 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.3ms) 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.3ms) 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.3ms) SELECT sqlite_version(*)
71
+  (0.1ms) SELECT sqlite_version(*)
72
72
  ↳ db/schema.rb:15
73
-  (10.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)
73
+  (9.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)
74
74
  ↳ db/schema.rb:15
75
-  (11.1ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
75
+  (13.5ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")
76
76
  ↳ db/schema.rb:15
77
-  (6.4ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")
77
+  (5.8ms) 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
-  (1.0ms) DROP TABLE IF EXISTS "active_storage_blobs"
79
+  (0.2ms) DROP TABLE IF EXISTS "active_storage_blobs"
80
80
  ↳ db/schema.rb:25
81
-  (9.3ms) 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
+  (5.0ms) 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
-  (6.4ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")
83
+  (5.7ms) 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_files_file_details"
85
+  (0.2ms) DROP TABLE IF EXISTS "cmor_files_file_details"
86
86
  ↳ db/schema.rb:36
87
-  (15.6ms) CREATE TABLE "cmor_files_file_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "asset_id" integer, "title" varchar, "description" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
87
+  (4.8ms) CREATE TABLE "cmor_files_file_details" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "asset_id" integer, "title" varchar, "description" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
88
88
  ↳ db/schema.rb:36
89
-  (0.5ms) DROP TABLE IF EXISTS "cmor_files_folders"
89
+  (0.2ms) DROP TABLE IF EXISTS "cmor_files_folders"
90
90
  ↳ db/schema.rb:46
91
-  (17.2ms) CREATE TABLE "cmor_files_folders" ("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.8ms) CREATE TABLE "cmor_files_folders" ("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:46
93
-  (7.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
93
+  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
94
94
  ↳ db/schema.rb:13
95
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
95
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
96
96
  ↳ db/schema.rb:13
97
-  (15.0ms) INSERT INTO "schema_migrations" (version) VALUES (20190331091047)
97
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES (20190412002354)
98
98
  ↳ db/schema.rb:13
99
-  (10.8ms) INSERT INTO "schema_migrations" (version) VALUES
100
- (20190331091046),
101
- (20190331091014);
99
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES
100
+ (20190412002334),
101
+ (20190412002353);
102
102
 
103
103
  
104
104
  ↳ db/schema.rb:13
105
-  (12.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
105
+  (3.3ms) 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.7ms) 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.2ms) begin transaction
109
+  (0.1ms) begin transaction
110
110
  ↳ db/schema.rb:13
111
- ActiveRecord::InternalMetadata Create (1.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-03-31 09:10:47.364240"], ["updated_at", "2019-03-31 09:10:47.364240"]]
111
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-04-12 00:23:53.455299"], ["updated_at", "2019-04-12 00:23:53.455299"]]
112
112
  ↳ db/schema.rb:13
113
-  (6.6ms) commit transaction
113
+  (4.3ms) commit transaction
114
114
  ↳ db/schema.rb:13
115
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
115
+ ActiveRecord::InternalMetadata Load (0.1ms) 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.3ms) begin transaction
117
+  (0.1ms) begin transaction
118
118
  ↳ bin/rails:4
119
- ActiveRecord::InternalMetadata Update (2.8ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-03-31 09:10:47.387690"], ["key", "environment"]]
119
+ ActiveRecord::InternalMetadata Update (0.2ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-04-12 00:23:53.465651"], ["key", "environment"]]
120
120
  ↳ bin/rails:4
121
-  (4.9ms) commit transaction
121
+  (3.9ms) commit transaction
122
122
  ↳ bin/rails:4
@@ -1,145 +1,288 @@
1
1
   (0.2ms) begin transaction
2
-  (0.4ms) rollback transaction
3
-  (0.4ms) begin transaction
4
-  (0.4ms) rollback transaction
5
-  (0.6ms) begin transaction
6
-  (0.3ms) rollback transaction
7
-  (0.3ms) begin transaction
8
- Cmor::Files::Folder Exists (0.4ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" IS NULL LIMIT ? [["LIMIT", 1]]
9
-  (0.0ms) rollback transaction
10
-  (0.9ms) begin transaction
11
- Cmor::Files::Folder Load (0.5ms) SELECT "cmor_files_folders".* FROM "cmor_files_folders" ORDER BY "cmor_files_folders"."id" ASC LIMIT ? [["LIMIT", 1]]
12
-  (0.6ms) SAVEPOINT active_record_1
13
- Cmor::Files::Folder Create (1.5ms) INSERT INTO "cmor_files_folders" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-03-31 09:10:58.938163"], ["updated_at", "2019-03-31 09:10:58.938163"]]
14
-  (0.3ms) RELEASE SAVEPOINT active_record_1
15
-  (0.5ms) SAVEPOINT active_record_1
16
- Cmor::Files::Folder Update (0.7ms) UPDATE "cmor_files_folders" SET "name" = ?, "updated_at" = ? WHERE "cmor_files_folders"."id" = ? [["name", "dummy value"], ["updated_at", "2019-03-31 09:10:58.949660"], ["id", 1]]
17
-  (0.3ms) RELEASE SAVEPOINT active_record_1
18
- Cmor::Files::Folder Exists (0.8ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]]
19
- Cmor::Files::Folder Exists (0.8ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]
20
-  (0.7ms) rollback transaction
21
-  (0.4ms) begin transaction
22
-  (1.5ms) rollback transaction
23
-  (7.7ms) begin transaction
2
+  (0.1ms) rollback transaction
3
+  (0.2ms) begin transaction
24
4
   (0.1ms) rollback transaction
25
5
   (0.4ms) begin transaction
26
- Cmor::Files::Folder Exists (1.0ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "Folder #1"], ["LIMIT", 1]]
27
-  (0.7ms) rollback transaction
6
+  (0.2ms) rollback transaction
28
7
   (0.1ms) begin transaction
29
- Cmor::Files::Folder Exists (0.7ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" IS NULL LIMIT ? [["LIMIT", 1]]
8
+ Cmor::Files::Folder Exists (0.2ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" IS NULL LIMIT ? [["LIMIT", 1]]
9
+  (0.1ms) rollback transaction
10
+  (0.0ms) begin transaction
11
+ Cmor::Files::Folder Load (0.4ms) SELECT "cmor_files_folders".* FROM "cmor_files_folders" ORDER BY "cmor_files_folders"."id" ASC LIMIT ? [["LIMIT", 1]]
12
+  (0.2ms) SAVEPOINT active_record_1
13
+ Cmor::Files::Folder Create (0.6ms) INSERT INTO "cmor_files_folders" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-04-12 00:24:01.179796"], ["updated_at", "2019-04-12 00:24:01.179796"]]
14
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15
+  (0.1ms) SAVEPOINT active_record_1
16
+ Cmor::Files::Folder Update (0.0ms) UPDATE "cmor_files_folders" SET "name" = ?, "updated_at" = ? WHERE "cmor_files_folders"."id" = ? [["name", "dummy value"], ["updated_at", "2019-04-12 00:24:01.183025"], ["id", 1]]
17
+  (0.1ms) RELEASE SAVEPOINT active_record_1
18
+ Cmor::Files::Folder Exists (0.2ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]]
19
+ Cmor::Files::Folder Exists (0.2ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]
30
20
   (0.3ms) rollback transaction
21
+  (0.2ms) begin transaction
22
+  (0.1ms) rollback transaction
23
+  (0.1ms) begin transaction
24
+  (0.1ms) rollback transaction
31
25
   (0.3ms) begin transaction
26
+ Cmor::Files::Folder Exists (0.2ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "Folder #1"], ["LIMIT", 1]]
27
+  (0.1ms) rollback transaction
28
+  (0.3ms) begin transaction
29
+ Cmor::Files::Folder Exists (0.6ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" IS NULL LIMIT ? [["LIMIT", 1]]
30
+  (0.1ms) rollback transaction
31
+  (0.2ms) begin transaction
32
32
   (0.3ms) SAVEPOINT active_record_1
33
33
  Cmor::Files::Folder Exists (0.5ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "Folder #2"], ["LIMIT", 1]]
34
- Cmor::Files::Folder Create (1.2ms) INSERT INTO "cmor_files_folders" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Folder #2"], ["created_at", "2019-03-31 09:10:59.156565"], ["updated_at", "2019-03-31 09:10:59.156565"]]
35
-  (0.3ms) RELEASE SAVEPOINT active_record_1
36
-  (0.9ms) rollback transaction
37
-  (0.5ms) begin transaction
38
-  (0.4ms) rollback transaction
34
+ Cmor::Files::Folder Create (0.5ms) INSERT INTO "cmor_files_folders" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Folder #2"], ["created_at", "2019-04-12 00:24:01.302379"], ["updated_at", "2019-04-12 00:24:01.302379"]]
35
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36
+  (2.3ms) rollback transaction
37
+  (0.2ms) begin transaction
38
+  (0.1ms) rollback transaction
39
39
   (0.1ms) begin transaction
40
-  (0.4ms) rollback transaction
41
-  (0.5ms) begin transaction
42
-  Disk Storage (2.9ms) Uploaded file to key: wjC5TSUKngEV6ixGX465jgtP (checksum: PQckBuk+cVT3lBy73cnuAQ==)
43
-  (0.8ms) SAVEPOINT active_record_1
44
- ActiveStorage::Blob Create (1.0ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "wjC5TSUKngEV6ixGX465jgtP"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-03-31 09:10:59.534561"]]
45
-  (0.2ms) RELEASE SAVEPOINT active_record_1
40
+  (0.3ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+  Disk Storage (0.5ms) Uploaded file to key: PYUyow9XHTsJNpoCcVjAhQEX (checksum: PQckBuk+cVT3lBy73cnuAQ==)
43
+  (0.1ms) SAVEPOINT active_record_1
44
+ ActiveStorage::Blob Create (0.3ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "PYUyow9XHTsJNpoCcVjAhQEX"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-12 00:24:01.532768"]]
45
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46
46
   (0.5ms) rollback transaction
47
-  (0.2ms) begin transaction
48
-  (0.2ms) rollback transaction
49
-  (0.3ms) begin transaction
50
-  Disk Storage (4.4ms) Uploaded file to key: otPdDy2VPAj1cN6qYH7JAAPQ (checksum: PQckBuk+cVT3lBy73cnuAQ==)
47
+  (0.1ms) begin transaction
48
+  (0.1ms) rollback transaction
49
+  (0.1ms) begin transaction
50
+  Disk Storage (3.1ms) Uploaded file to key: LudLvXxqDbxWKATeuf2SKqx4 (checksum: PQckBuk+cVT3lBy73cnuAQ==)
51
51
   (0.3ms) SAVEPOINT active_record_1
52
- ActiveStorage::Blob Create (1.7ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "otPdDy2VPAj1cN6qYH7JAAPQ"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-03-31 09:10:59.648304"]]
53
-  (0.3ms) RELEASE SAVEPOINT active_record_1
54
-  (0.6ms) SAVEPOINT active_record_1
55
- Cmor::Files::Folder Exists (2.0ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "Folder #4"], ["LIMIT", 1]]
56
- Cmor::Files::Folder Create (1.9ms) INSERT INTO "cmor_files_folders" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Folder #4"], ["created_at", "2019-03-31 09:10:59.679955"], ["updated_at", "2019-03-31 09:10:59.679955"]]
57
- ActiveStorage::Attachment Create (1.0ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Files::Folder"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-03-31 09:10:59.687118"]]
58
- Cmor::Files::FileDetail Create (4.2ms) INSERT INTO "cmor_files_file_details" ("folder_id", "asset_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["folder_id", 1], ["asset_id", 1], ["created_at", "2019-03-31 09:10:59.692432"], ["updated_at", "2019-03-31 09:10:59.692432"]]
59
- Cmor::Files::FileDetail Create (0.7ms) INSERT INTO "cmor_files_file_details" ("folder_id", "asset_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["folder_id", 1], ["asset_id", 1], ["created_at", "2019-03-31 09:10:59.702282"], ["updated_at", "2019-03-31 09:10:59.702282"]]
60
- Cmor::Files::Folder Update (0.7ms) UPDATE "cmor_files_folders" SET "updated_at" = ? WHERE "cmor_files_folders"."id" = ? [["updated_at", "2019-03-31 09:10:59.691126"], ["id", 1]]
61
-  (0.6ms) RELEASE SAVEPOINT active_record_1
62
- [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 8f39df33-de5a-464d-99e7-ec964265b566) to Async(default) with arguments: #<GlobalID:0x00000004ed5478 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
63
- ActiveStorage::Blob Load (3.2ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
64
-  (1.2ms) rollback transaction
65
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566] Performing ActiveStorage::AnalyzeJob (Job ID: 8f39df33-de5a-464d-99e7-ec964265b566) from Async(default) with arguments: #<GlobalID:0x00000004ebeb10 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
66
-  (0.2ms) begin transaction
67
-  (0.2ms) rollback transaction
68
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566]  Disk Storage (2.1ms) Downloaded file from key: otPdDy2VPAj1cN6qYH7JAAPQ
52
+ ActiveStorage::Blob Create (0.5ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "LudLvXxqDbxWKATeuf2SKqx4"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-12 00:24:01.603621"]]
53
+  (0.1ms) RELEASE SAVEPOINT active_record_1
54
+  (0.2ms) SAVEPOINT active_record_1
55
+ Cmor::Files::Folder Exists (0.3ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "Folder #4"], ["LIMIT", 1]]
56
+ Cmor::Files::Folder Create (0.3ms) INSERT INTO "cmor_files_folders" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Folder #4"], ["created_at", "2019-04-12 00:24:01.619449"], ["updated_at", "2019-04-12 00:24:01.619449"]]
57
+ ActiveStorage::Attachment Create (0.7ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Files::Folder"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-12 00:24:01.621504"]]
58
+ Cmor::Files::FileDetail Create (0.9ms) INSERT INTO "cmor_files_file_details" ("folder_id", "asset_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["folder_id", 1], ["asset_id", 1], ["created_at", "2019-04-12 00:24:01.625279"], ["updated_at", "2019-04-12 00:24:01.625279"]]
59
+ Cmor::Files::FileDetail Create (0.4ms) INSERT INTO "cmor_files_file_details" ("folder_id", "asset_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["folder_id", 1], ["asset_id", 1], ["created_at", "2019-04-12 00:24:01.628677"], ["updated_at", "2019-04-12 00:24:01.628677"]]
60
+ Cmor::Files::Folder Update (0.3ms) UPDATE "cmor_files_folders" SET "updated_at" = ? WHERE "cmor_files_folders"."id" = ? [["updated_at", "2019-04-12 00:24:01.624502"], ["id", 1]]
61
+  (0.1ms) RELEASE SAVEPOINT active_record_1
62
+ [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: 88eb047d-4306-4907-8916-2bb306c9e58f) to Async(default) with arguments: #<GlobalID:0x000000069a60b8 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
63
+ ActiveStorage::Blob Load (1.9ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
64
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [88eb047d-4306-4907-8916-2bb306c9e58f] Performing ActiveStorage::AnalyzeJob (Job ID: 88eb047d-4306-4907-8916-2bb306c9e58f) from Async(default) with arguments: #<GlobalID:0x00000006981b50 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
65
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [88eb047d-4306-4907-8916-2bb306c9e58f]  Disk Storage (3.0ms) Downloaded file from key: LudLvXxqDbxWKATeuf2SKqx4
66
+  (0.7ms) rollback transaction
67
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [88eb047d-4306-4907-8916-2bb306c9e58f] Skipping image analysis because the mini_magick gem isn't installed
68
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [88eb047d-4306-4907-8916-2bb306c9e58f]  (0.4ms) begin transaction
69
+  (0.1ms) begin transaction
70
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [88eb047d-4306-4907-8916-2bb306c9e58f] ActiveStorage::Blob Update (0.3ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
71
+  (0.1ms) rollback transaction
72
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [88eb047d-4306-4907-8916-2bb306c9e58f]  (0.3ms) commit transaction
69
73
   (0.4ms) begin transaction
70
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566] Skipping image analysis because the mini_magick gem isn't installed
74
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [88eb047d-4306-4907-8916-2bb306c9e58f] Performed ActiveStorage::AnalyzeJob (Job ID: 88eb047d-4306-4907-8916-2bb306c9e58f) from Async(default) in 51.35ms
71
75
   (0.2ms) rollback transaction
72
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566]  (0.1ms) begin transaction
73
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566]  (0.3ms) begin transaction
74
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566] ActiveStorage::Blob Update (0.5ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
75
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566]  (0.3ms) commit transaction
76
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566]  (0.4ms) commit transaction
76
+  (0.3ms) begin transaction
77
+  (0.1ms) rollback transaction
78
+  (0.2ms) begin transaction
79
+  (0.1ms) rollback transaction
80
+  (0.2ms) begin transaction
81
+  (0.1ms) rollback transaction
82
+  (0.2ms) begin transaction
83
+  (0.4ms) rollback transaction
84
+  (0.9ms) begin transaction
85
+  (0.1ms) rollback transaction
77
86
   (0.6ms) begin transaction
78
- [ActiveJob] [ActiveStorage::AnalyzeJob] [8f39df33-de5a-464d-99e7-ec964265b566] Performed ActiveStorage::AnalyzeJob (Job ID: 8f39df33-de5a-464d-99e7-ec964265b566) from Async(default) in 103.08ms
79
-  (0.3ms) rollback transaction
87
+  (0.1ms) rollback transaction
88
+  (8.5ms) begin transaction
89
+  (0.2ms) rollback transaction
80
90
   (0.2ms) begin transaction
91
+  (0.1ms) rollback transaction
92
+  (0.1ms) begin transaction
93
+  (0.1ms) rollback transaction
94
+  (0.3ms) begin transaction
81
95
   (0.2ms) rollback transaction
96
+  (0.3ms) begin transaction
97
+  (1.4ms) rollback transaction
98
+  (0.2ms) begin transaction
99
+  (0.1ms) rollback transaction
100
+  (0.1ms) begin transaction
101
+  (0.1ms) rollback transaction
82
102
   (0.2ms) begin transaction
103
+  (1.0ms) rollback transaction
104
+  (0.3ms) begin transaction
105
+  (0.1ms) rollback transaction
106
+  (0.3ms) begin transaction
107
+  (0.3ms) rollback transaction
108
+  (0.1ms) begin transaction
109
+  (0.3ms) rollback transaction
110
+  (0.1ms) begin transaction
111
+  (0.1ms) rollback transaction
112
+  (0.1ms) begin transaction
83
113
   (0.2ms) rollback transaction
84
-  (0.5ms) begin transaction
85
-  (0.6ms) rollback transaction
114
+  (0.1ms) begin transaction
115
+  (0.1ms) rollback transaction
116
+  (0.1ms) begin transaction
117
+  (0.1ms) rollback transaction
86
118
   (0.3ms) begin transaction
87
-  (1.3ms) rollback transaction
88
-  (0.0ms) begin transaction
89
119
   (0.2ms) rollback transaction
90
120
   (0.1ms) begin transaction
121
+  (0.1ms) rollback transaction
122
+  (0.2ms) begin transaction
91
123
   (0.2ms) rollback transaction
92
-  (0.5ms) begin transaction
124
+  (0.1ms) begin transaction
125
+  (0.1ms) rollback transaction
126
+  (0.3ms) begin transaction
127
+  (0.6ms) rollback transaction
128
+  (0.7ms) begin transaction
129
+  (0.2ms) rollback transaction
130
+  (0.2ms) begin transaction
131
+  (0.0ms) rollback transaction
132
+  (0.4ms) begin transaction
93
133
   (0.4ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+  (0.1ms) rollback transaction
94
136
   (0.3ms) begin transaction
95
-  (0.3ms) rollback transaction
137
+  (0.1ms) rollback transaction
96
138
   (0.2ms) begin transaction
97
139
   (0.2ms) rollback transaction
98
-  (0.4ms) begin transaction
140
+  (0.2ms) begin transaction
141
+  (0.1ms) rollback transaction
142
+  (0.2ms) begin transaction
143
+  (8.1ms) rollback transaction
144
+  (0.1ms) begin transaction
145
+  (0.2ms) rollback transaction
146
+  (0.1ms) begin transaction
147
+  (0.1ms) rollback transaction
148
+  (0.2ms) begin transaction
99
149
   (0.1ms) rollback transaction
150
+  (0.2ms) begin transaction
151
+ Cmor::Files::Folder Exists (0.4ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" IS NULL LIMIT ? [["LIMIT", 1]]
152
+  (0.1ms) rollback transaction
153
+  (0.1ms) begin transaction
154
+ Cmor::Files::Folder Load (0.3ms) SELECT "cmor_files_folders".* FROM "cmor_files_folders" ORDER BY "cmor_files_folders"."id" ASC LIMIT ? [["LIMIT", 1]]
155
+  (0.2ms) SAVEPOINT active_record_1
156
+ Cmor::Files::Folder Create (0.6ms) INSERT INTO "cmor_files_folders" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2019-04-15 22:13:30.056552"], ["updated_at", "2019-04-15 22:13:30.056552"]]
157
+  (0.3ms) RELEASE SAVEPOINT active_record_1
158
+  (0.4ms) SAVEPOINT active_record_1
159
+ Cmor::Files::Folder Update (1.0ms) UPDATE "cmor_files_folders" SET "name" = ?, "updated_at" = ? WHERE "cmor_files_folders"."id" = ? [["name", "dummy value"], ["updated_at", "2019-04-15 22:13:30.063651"], ["id", 1]]
160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
161
+ Cmor::Files::Folder Exists (0.6ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "dummy value"], ["LIMIT", 1]]
162
+ Cmor::Files::Folder Exists (0.3ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "DUMMY VALUE"], ["LIMIT", 1]]
163
+  (0.6ms) rollback transaction
164
+  (0.1ms) begin transaction
165
+  (0.3ms) rollback transaction
100
166
   (0.7ms) begin transaction
101
-  (0.5ms) rollback transaction
167
+  (0.3ms) rollback transaction
168
+  (0.0ms) begin transaction
169
+ Cmor::Files::Folder Exists (0.3ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "Folder #1"], ["LIMIT", 1]]
170
+  (0.1ms) rollback transaction
171
+  (0.4ms) begin transaction
172
+ Cmor::Files::Folder Exists (0.6ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" IS NULL LIMIT ? [["LIMIT", 1]]
173
+  (0.1ms) rollback transaction
174
+  (0.1ms) begin transaction
175
+  (0.3ms) SAVEPOINT active_record_1
176
+ Cmor::Files::Folder Exists (0.3ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "Folder #2"], ["LIMIT", 1]]
177
+ Cmor::Files::Folder Create (0.4ms) INSERT INTO "cmor_files_folders" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Folder #2"], ["created_at", "2019-04-15 22:13:30.212621"], ["updated_at", "2019-04-15 22:13:30.212621"]]
178
+  (0.2ms) RELEASE SAVEPOINT active_record_1
179
+  (0.2ms) rollback transaction
102
180
   (0.2ms) begin transaction
103
181
   (0.1ms) rollback transaction
104
-  (0.6ms) begin transaction
182
+  (0.2ms) begin transaction
105
183
   (0.5ms) rollback transaction
106
-  (0.5ms) begin transaction
107
-  (0.4ms) rollback transaction
108
-  (0.5ms) begin transaction
109
-  (0.2ms) rollback transaction
184
+  (0.1ms) begin transaction
185
+  Disk Storage (8.2ms) Uploaded file to key: m3KnN3FN36ZFAAJaSkY86kpV (checksum: PQckBuk+cVT3lBy73cnuAQ==)
186
+  (0.2ms) SAVEPOINT active_record_1
187
+ ActiveStorage::Blob Create (0.9ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "m3KnN3FN36ZFAAJaSkY86kpV"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-15 22:13:30.531176"]]
188
+  (0.2ms) RELEASE SAVEPOINT active_record_1
189
+  (0.3ms) rollback transaction
190
+  (0.1ms) begin transaction
191
+  (0.5ms) rollback transaction
192
+  (0.1ms) begin transaction
193
+  Disk Storage (6.0ms) Uploaded file to key: 8dXMyr63ZSrDjZaNMUF58yg7 (checksum: PQckBuk+cVT3lBy73cnuAQ==)
194
+  (0.2ms) SAVEPOINT active_record_1
195
+ ActiveStorage::Blob Create (0.8ms) INSERT INTO "active_storage_blobs" ("key", "filename", "content_type", "metadata", "byte_size", "checksum", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["key", "8dXMyr63ZSrDjZaNMUF58yg7"], ["filename", "example.png"], ["content_type", "image/png"], ["metadata", "{\"identified\":true}"], ["byte_size", 9691], ["checksum", "PQckBuk+cVT3lBy73cnuAQ=="], ["created_at", "2019-04-15 22:13:30.614455"]]
196
+  (0.1ms) RELEASE SAVEPOINT active_record_1
197
+  (0.4ms) SAVEPOINT active_record_1
198
+ Cmor::Files::Folder Exists (0.5ms) SELECT 1 AS one FROM "cmor_files_folders" WHERE "cmor_files_folders"."name" = ? LIMIT ? [["name", "Folder #4"], ["LIMIT", 1]]
199
+ Cmor::Files::Folder Create (0.5ms) INSERT INTO "cmor_files_folders" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Folder #4"], ["created_at", "2019-04-15 22:13:30.664822"], ["updated_at", "2019-04-15 22:13:30.664822"]]
200
+ ActiveStorage::Attachment Create (1.6ms) INSERT INTO "active_storage_attachments" ("name", "record_type", "record_id", "blob_id", "created_at") VALUES (?, ?, ?, ?, ?) [["name", "assets"], ["record_type", "Cmor::Files::Folder"], ["record_id", 1], ["blob_id", 1], ["created_at", "2019-04-15 22:13:30.669675"]]
201
+ Cmor::Files::FileDetail Create (0.6ms) INSERT INTO "cmor_files_file_details" ("folder_id", "asset_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["folder_id", 1], ["asset_id", 1], ["created_at", "2019-04-15 22:13:30.676262"], ["updated_at", "2019-04-15 22:13:30.676262"]]
202
+ Cmor::Files::FileDetail Create (0.2ms) INSERT INTO "cmor_files_file_details" ("folder_id", "asset_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["folder_id", 1], ["asset_id", 1], ["created_at", "2019-04-15 22:13:30.679775"], ["updated_at", "2019-04-15 22:13:30.679775"]]
203
+ Cmor::Files::Folder Update (0.5ms) UPDATE "cmor_files_folders" SET "updated_at" = ? WHERE "cmor_files_folders"."id" = ? [["updated_at", "2019-04-15 22:13:30.674519"], ["id", 1]]
204
+  (0.1ms) RELEASE SAVEPOINT active_record_1
205
+ [ActiveJob] Enqueued ActiveStorage::AnalyzeJob (Job ID: f185ae37-9339-47d6-82c5-4f360fdc2b2c) to Async(default) with arguments: #<GlobalID:0x00000006d788d0 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
206
+ ActiveStorage::Blob Load (1.9ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
207
+  (1.3ms) rollback transaction
208
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c] Performing ActiveStorage::AnalyzeJob (Job ID: f185ae37-9339-47d6-82c5-4f360fdc2b2c) from Async(default) with arguments: #<GlobalID:0x00000006d3b390 @uri=#<URI::GID gid://dummy/ActiveStorage::Blob/1>>
110
209
   (0.2ms) begin transaction
111
-  (0.2ms) rollback transaction
210
+  (0.1ms) rollback transaction
112
211
   (0.1ms) begin transaction
113
212
   (0.1ms) rollback transaction
114
-  (0.3ms) begin transaction
213
+  (0.1ms) begin transaction
214
+  (0.1ms) rollback transaction
215
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c]  Disk Storage (28.6ms) Downloaded file from key: 8dXMyr63ZSrDjZaNMUF58yg7
216
+  (0.1ms) begin transaction
217
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c] Skipping image analysis because the mini_magick gem isn't installed
115
218
   (0.3ms) rollback transaction
116
-  (0.3ms) begin transaction
219
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c]  (1.2ms) begin transaction
220
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c]  (0.2ms) begin transaction
221
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c] ActiveStorage::Blob Update (0.3ms) UPDATE "active_storage_blobs" SET "metadata" = ? WHERE "active_storage_blobs"."id" = ? [["metadata", "{\"identified\":true,\"analyzed\":true}"], ["id", 1]]
222
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c]  (0.4ms) commit transaction
223
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c]  (0.1ms) commit transaction
224
+ [ActiveJob] [ActiveStorage::AnalyzeJob] [f185ae37-9339-47d6-82c5-4f360fdc2b2c] Performed ActiveStorage::AnalyzeJob (Job ID: f185ae37-9339-47d6-82c5-4f360fdc2b2c) from Async(default) in 95.29ms
225
+  (1.2ms) begin transaction
226
+  (0.5ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+  (0.2ms) rollback transaction
229
+  (0.4ms) begin transaction
230
+  (0.3ms) rollback transaction
231
+  (0.1ms) begin transaction
117
232
   (0.4ms) rollback transaction
233
+  (0.3ms) begin transaction
234
+  (0.3ms) rollback transaction
118
235
   (0.4ms) begin transaction
119
236
   (0.3ms) rollback transaction
120
-  (1.4ms) begin transaction
237
+  (0.2ms) begin transaction
238
+  (0.1ms) rollback transaction
239
+  (0.3ms) begin transaction
240
+  (0.2ms) rollback transaction
241
+  (0.4ms) begin transaction
121
242
   (0.1ms) rollback transaction
122
243
   (0.3ms) begin transaction
123
244
   (0.1ms) rollback transaction
245
+  (0.1ms) begin transaction
246
+  (0.1ms) rollback transaction
247
+  (0.1ms) begin transaction
248
+  (0.1ms) rollback transaction
124
249
   (0.4ms) begin transaction
125
-  (0.2ms) rollback transaction
126
-  (0.6ms) begin transaction
250
+  (1.2ms) rollback transaction
251
+  (0.2ms) begin transaction
127
252
   (0.3ms) rollback transaction
128
-  (0.8ms) begin transaction
129
-  (0.4ms) rollback transaction
130
253
   (0.1ms) begin transaction
131
-  (0.3ms) rollback transaction
254
+  (0.1ms) rollback transaction
255
+  (0.2ms) begin transaction
256
+  (0.2ms) rollback transaction
132
257
   (0.3ms) begin transaction
133
258
   (0.3ms) rollback transaction
134
259
   (0.4ms) begin transaction
135
260
   (0.4ms) rollback transaction
261
+  (0.2ms) begin transaction
262
+  (0.3ms) rollback transaction
136
263
   (0.3ms) begin transaction
264
+  (7.9ms) rollback transaction
265
+  (0.1ms) begin transaction
266
+  (0.1ms) rollback transaction
267
+  (0.1ms) begin transaction
268
+  (0.1ms) rollback transaction
269
+  (0.3ms) begin transaction
270
+  (3.4ms) rollback transaction
271
+  (0.1ms) begin transaction
137
272
   (0.2ms) rollback transaction
138
273
   (0.2ms) begin transaction
139
274
   (0.1ms) rollback transaction
275
+  (0.2ms) begin transaction
276
+  (0.2ms) rollback transaction
277
+  (0.2ms) begin transaction
278
+  (0.1ms) rollback transaction
279
+  (0.1ms) begin transaction
280
+  (0.2ms) rollback transaction
140
281
   (0.5ms) begin transaction
141
-  (0.4ms) rollback transaction
142
-  (0.5ms) begin transaction
143
-  (0.3ms) rollback transaction
282
+  (0.2ms) rollback transaction
283
+  (0.2ms) begin transaction
284
+  (0.6ms) rollback transaction
144
285
   (0.5ms) begin transaction
145
-  (0.3ms) rollback transaction
286
+  (0.1ms) rollback transaction
287
+  (0.2ms) begin transaction
288
+  (0.4ms) rollback transaction
@@ -1 +1 @@
1
- 728af5c367bec4cf0aee79ef20fc0fdc48f8e81f844ea74c05c8c7ee68ba9675da5e307148423eb2b61efb4ed9efa3741597b66e40ca7e2bbf8cf9a41093ccfe
1
+ d493ac0d0819cef30a32d06e7517d1f24e60d418ecb79165db916fbf60e36fa4fb0edc0096f46c6c0ed48882471b4b92fff081cecfd4c6056a4574cb24031680
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_files
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
@@ -333,7 +347,7 @@ files:
333
347
  - app/assets/javascripts/cmor/files/application/keep.js
334
348
  - app/assets/stylesheets/cmor/files/application.css
335
349
  - app/assets/stylesheets/cmor/files/application/keep.css
336
- - app/controllers/cmor/files/application_controller.rb
350
+ - app/controllers/cmor/files/application_controller.rb~
337
351
  - app/controllers/cmor/files/application_resources_controller.rb
338
352
  - app/controllers/cmor/files/folders_controller.rb
339
353
  - app/helpers/cmor/files/application_helper.rb
@@ -409,9 +423,9 @@ files:
409
423
  - spec/dummy/config/spring.rb
410
424
  - spec/dummy/config/storage.yml
411
425
  - spec/dummy/db/development.sqlite3
412
- - spec/dummy/db/migrate/20190331091014_create_active_storage_tables.active_storage.rb
413
- - spec/dummy/db/migrate/20190331091046_create_cmor_files_folders.cmor_files.rb
414
- - spec/dummy/db/migrate/20190331091047_create_cmor_files_file_details.cmor_files.rb
426
+ - spec/dummy/db/migrate/20190412002334_create_active_storage_tables.active_storage.rb
427
+ - spec/dummy/db/migrate/20190412002353_create_cmor_files_folders.cmor_files.rb
428
+ - spec/dummy/db/migrate/20190412002354_create_cmor_files_file_details.cmor_files.rb
415
429
  - spec/dummy/db/schema.rb
416
430
  - spec/dummy/db/test.sqlite3
417
431
  - spec/dummy/log/development.log
@@ -424,8 +438,10 @@ files:
424
438
  - spec/dummy/public/apple-touch-icon.png
425
439
  - spec/dummy/public/favicon.ico
426
440
  - spec/dummy/tmp/development_secret.txt
427
- - spec/dummy/tmp/storage/ot/Pd/otPdDy2VPAj1cN6qYH7JAAPQ
428
- - spec/dummy/tmp/storage/wj/C5/wjC5TSUKngEV6ixGX465jgtP
441
+ - spec/dummy/tmp/storage/8d/XM/8dXMyr63ZSrDjZaNMUF58yg7
442
+ - spec/dummy/tmp/storage/Lu/dL/LudLvXxqDbxWKATeuf2SKqx4
443
+ - spec/dummy/tmp/storage/PY/Uy/PYUyow9XHTsJNpoCcVjAhQEX
444
+ - spec/dummy/tmp/storage/m3/Kn/m3KnN3FN36ZFAAJaSkY86kpV
429
445
  - spec/dummy~/Rakefile
430
446
  - spec/dummy~/app/assets/config/manifest.js
431
447
  - spec/dummy~/app/assets/javascripts/application.js