audited_views 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/audited_views/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +63 -81
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{9_/9_cM740XJw5nR9SOdODeRgZ4eQdzkrCQ9yOSRkSOXJo.cache → -e/-eZTr7vhQJZp9mpIhUcg_P_5o_wwCtTfnxRF8iWeO5A.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{0F/0F82Dfa41LKwbYBpctk03ybbzstbSP0kFKqQuIZ8c4k.cache → 3e/3enNZyjwdN_o72CFKL1h0pu6u3A3Ihb5O2qrB45OqV8.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{_J/_JY2Q8WkSG3T9kGkKpz2J6Ir80JyQ-tZN9Cuml87J5I.cache → 5p/5pBT7XAPlTWeM3lqH3T0CObNXXNjOcDY6ICOIYhXvCs.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{t7/t7hUrb4QUYgtLztKCrZMZZlEd_gFwKgCMj_lt_sh3pc.cache → 7d/7dyOeHOc4SaKYDDjKMxnGHDNLHTj6kbKxUkfwsqmCUg.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{am/am7Do4UyDjVwvPQpzZ1T10Fv4xFg1lG-zyNHlic1lGs.cache → Be/Bekxk4jpkBx8-70uOuZ_tXTZvHk2BffYk6yFNR7okFA.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{so/soKEEdhfSxoebFItr1FUfHawl5ecABIKiGCYyQwG4uM.cache → Bf/BfAbUfDS7fc-h3JrBiTLhNdqIgINUXbTInwuYhpZTSw.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bf/bFu8kdTZGAJ8IRJ4CW3f-ULNdD99OUgYecjim73y8ZI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/C_/C_EhaALUV9sIW-Tflz29kmVZ8xIYQ2eVN1sTXpuVGx0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EF/EFkCrgaWKrWmC4184jISWULtuIOy2j0J5zQVXdD6Q9Y.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GD/GD6jEbjxKsiJG_gdymPLw6zDx0X3RFMEv4vjo64gOis.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{S1/S1z7i-CVlvezwnGUmDwLsIiAkXiuvb3P40x892XT_Ek.cache → Iq/IqELAF4O9wiVqzWCWFmwZORLYtB3GROic7Ld3hDuEIw.cache} +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{28/280SG7m3WfwQqx60QVG02lH7sA6Miv8_wvmILgBSOy8.cache → Je/JeE7chFLsqUBD3iUWz3mO7qPERfU_KJ69IfjY0edm8w.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{50/50kaaYySnZcG6Raj2DyAQkE9NVC7GOgEYExh-gwRUko.cache → Nh/NhFEmwglL4mYiRNtBIbsbFn6BLbfGI_b24i_E1BWCTE.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{0Y/0YYxZbmf4eBBrd4l2zVwyVJ8NWDsJNu5lQmw6pdnrP8.cache → Qy/QyamizzTIib94B-i7CXqUQHfAM4Z4rObRRDHWUK45kE.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XH/XHSVGZoX06sROUYc3ILT_3VhOBYzdI_d-HOCvPIQLKg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{-Y/-YymUmuvGh07mddnTJj_cgMSfx5quxjyGjRP7EkoTwQ.cache → Z8/Z8pbjSrP8aXaX_-7uGgb7uBDStBuA_nlf__vh9enkgY.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZE/ZEEOa0dpWXE7jJKydMJ4V3ZThw23bICkaXK-TTvwr20.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{rL/rL3RFcWrJkkySZ6fb9qysIUUyKU92tVZp2WQwra3QTw.cache → ZW/ZWPCLaigGkYPPQrYrjzBMZIiLZuyAP0tASiMFila7sU.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Zo/ZoRCB1hJDKP7SXg8B_3fauzLx2sF-C1lYEU0Z-RGSag.cache → ch/chrvohjefEPMaoMhxfhKGVDFhm5sg3TYIX6kqy_XpJM.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/en/enFi_kQfrbll3rs5qfUEMPWAo3c2HZBoO9tlmj8DQ0M.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{hS/hScHwzdjmcRoPHBILy-WfkEQLi5gtOBYL3AgJCGxRpk.cache → fM/fMPuOcy3j3Qg6fghMWjFYZYmi2Ap2WKv9j7vSQVuqjg.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fY/fY86pB9L9MUVrlQe1KSuyQ7tqEqxW2WPksp_rraZFvs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iM/iM-TSGc37a2sjXtrY3NGjrZyqXvRqiasQ7nhVDmyYqw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{xO/xORU3CObV7eAfbBcV5dj7qUZCqTZBgBwvFO-r0VBhCY.cache → p3/P3B8t2cV8el5OgrVKR-yuszZJKGTZv3Y3Bouh1CJxmo.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Uc/Uc3Wj0ecUUV-OzjhYRhkFQcgpDv7wlcxvDh0eon4Hic.cache → p3/p3ZqYowAmJH0VS4xziCurDbIGdfIiV8e7Xqx_69ZLso.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{AJ/AJEKm6Si046b8FvMhfGSxStIrnFb1_mijaBgkRFOvqY.cache → rE/rEMXKu1g0tDAZ8ew5RgFUUk0VGI0bjz3XvATeDxoFe4.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{_t/_tt8wp32pp5L2O2X1uvsHznA2xTfTH4hlYOuNLMm97E.cache → x0/x08jjjlXtzuQtb7rB7x3o-2qf98VD05NCbBhWMgWpvQ.cache} +0 -0
- data/spec/dummy/tmp/capybara/{capybara-201806202314198171543396.html → capybara-201811012333254271642951.html} +3 -3
- metadata +58 -62
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -110
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8x/8xoBZbh_cvT9EjAppZfAwbyGkvyw33r6D4jEoXJ8E3g.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LW/LWvEFImqIeBZqMP8GEe0W5JhcxFKQaN6Yw4_ZjnZA_o.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ll/LlDmEDut9KSHs1huPtez5pCrEStJ0xbv90BAvRL45Ek.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MR/MRBFJnLrCbpyUPTnvxqvXJQDeUDvjbYYVfPWmgSezKU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rb/RbStQeBxEZI9BGCSMb0iROr94h-xJRSjqjiDo9IB4uo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cl/clNwTZeYerxRGUZRyrJDXfX5oH0sVH7V_Hkhjz3jRdY.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jm/jmAimAIDJ2Icw7Fv6FpfNt7NdkCVHbk1mS8IdM_UdNo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uL/uL3i40dKCdUTUNjmQlXRC2qS4ikGaVYjRb_gMUFSgfo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uf/ufTRVvHuh0gVhWdEzeM4_SnvLslT7_C0AskKq45q10Q.cache +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed2d40efa22251f9ee32c274b2cc3a3958e1a68f6125ee888d1e67298a84434b
|
4
|
+
data.tar.gz: 292263dca9b988af61803afe968da21bc260bd8546b4c68c8df045b106e2b82f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 034cb44c067ace67e5a2a6cd5087a6c4a75a1aabeebaa3fb3c1647e944a99b40fe5197375550ea03fcd2197a8680fb033c063dd6bccd50392d93bcd0f6a52aa6
|
7
|
+
data.tar.gz: ee62d6be900199f1ded30c1443b698714125874f02104866a56b6ef7b7be2bb1585a3aac4d6bc7482c4d470d1b59e3a5cd1fe76cc55efb9c812b1dcbd55dd296
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -1,101 +1,83 @@
|
|
1
|
-
[1m[35m (
|
2
|
-
[1m[35m (0.
|
3
|
-
[1m[35m (1.
|
4
|
-
[1m[35m (
|
5
|
-
[1m[35m (
|
6
|
-
[1m[35m (
|
7
|
-
[1m[35m (
|
8
|
-
[1m[35m (
|
9
|
-
[1m[35m (0.2ms)[0m [1m[
|
10
|
-
[1m[35m (
|
11
|
-
[1m[35m (0.
|
12
|
-
[1m[35m (
|
13
|
-
[1m[35m (
|
14
|
-
[1m[35m (0.
|
15
|
-
[1m[35m (
|
16
|
-
[1m[35m (0.
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
23
|
-
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "title" varchar, "price" decimal, "active" boolean, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
24
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170507023018"]]
|
25
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
26
|
-
Migrating to CreateUsers (20170507023113)
|
27
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
28
|
-
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
29
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170507023113"]]
|
30
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
31
|
-
Migrating to InstallAudited (20170507191539)
|
32
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
33
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "audits"[0m
|
34
|
-
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "audits" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "auditable_id" integer, "auditable_type" varchar, "associated_id" integer, "associated_type" varchar, "user_id" integer, "user_type" varchar, "username" varchar, "action" varchar, "audited_changes" text, "version" integer DEFAULT 0, "comment" varchar, "remote_address" varchar, "request_uuid" varchar, "created_at" datetime)[0m
|
35
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "auditable_index" ON "audits" ("auditable_id", "auditable_type")[0m
|
36
|
-
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "associated_index" ON "audits" ("associated_id", "associated_type")[0m
|
37
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "user_index" ON "audits" ("user_id", "user_type")[0m
|
38
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_audits_on_request_uuid" ON "audits" ("request_uuid")[0m
|
39
|
-
[1m[35m (0.3ms)[0m [1m[35mCREATE INDEX "index_audits_on_created_at" ON "audits" ("created_at")[0m
|
40
|
-
[1m[36mActiveRecord::SchemaMigration Create (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170507191539"]]
|
41
|
-
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "audits"[0m
|
2
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "audits" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "auditable_id" integer, "auditable_type" varchar, "associated_id" integer, "associated_type" varchar, "user_id" integer, "user_type" varchar, "username" varchar, "action" varchar, "audited_changes" text, "version" integer DEFAULT 0, "comment" varchar, "remote_address" varchar, "request_uuid" varchar, "created_at" datetime)[0m
|
4
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "associated_index" ON "audits" ("associated_id", "associated_type")[0m
|
5
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "auditable_index" ON "audits" ("auditable_id", "auditable_type")[0m
|
6
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_audits_on_created_at" ON "audits" ("created_at")[0m
|
7
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_audits_on_request_uuid" ON "audits" ("request_uuid")[0m
|
8
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "user_index" ON "audits" ("user_id", "user_type")[0m
|
9
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products"[0m
|
10
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "title" varchar, "price" decimal, "active" boolean, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
11
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
12
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
13
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
14
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
15
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170507191539)[0m
|
16
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
17
|
+
(20170507023018),
|
18
|
+
(20170507023113);
|
19
|
+
|
20
|
+
[0m
|
21
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
42
22
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
23
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
24
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-11-02 02:33:21.760012"], ["updated_at", "2018-11-02 02:33:21.760012"]]
|
25
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
26
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
27
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
43
29
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
44
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-06-21 02:14:15.101229"], ["updated_at", "2018-06-21 02:14:15.101229"]]
|
45
|
-
[1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
|
46
|
-
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
47
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
48
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
49
|
-
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "user@domain.com"], ["created_at", "2018-06-21 02:14:19.259093"], ["updated_at", "2018-06-21 02:14:19.259093"]]
|
50
|
-
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
51
30
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
52
|
-
[1m[
|
53
|
-
[1m[36mAudited::Audit Load (0.4ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? ORDER BY "audits"."version" DESC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["LIMIT", 1]]
|
54
|
-
[1m[36mAudited::Audit Create (1.5ms)[0m [1m[32mINSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "user_type", "action", "audited_changes", "version", "request_uuid", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auditable_id", 1], ["auditable_type", "Product"], ["user_id", 1], ["user_type", "User"], ["action", "create"], ["audited_changes", "---\nsku: '001'\ntitle: Smartphone\nprice: !ruby/object:BigDecimal 18:0.45e3\nactive: true\ndescription: Smartphone ABC\n"], ["version", 1], ["request_uuid", "98490529-f9fe-450f-a7ba-6b35b694409f"], ["created_at", "2018-06-21 02:14:19.345277"]]
|
31
|
+
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "user@domain.com"], ["created_at", "2018-11-02 02:33:25.004094"], ["updated_at", "2018-11-02 02:33:25.004094"]]
|
55
32
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
56
|
-
|
33
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
34
|
+
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "title", "price", "active", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "001"], ["title", "Smartphone"], ["price", 450.0], ["active", "t"], ["description", "Smartphone ABC"], ["created_at", "2018-11-02 02:33:25.030110"], ["updated_at", "2018-11-02 02:33:25.030110"]]
|
35
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT MAX("audits"."version") FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ?[0m [["auditable_id", 1], ["auditable_type", "Product"]]
|
36
|
+
[1m[36mAudited::Audit Create (0.6ms)[0m [1m[32mINSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "user_type", "action", "audited_changes", "version", "request_uuid", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auditable_id", 1], ["auditable_type", "Product"], ["user_id", 1], ["user_type", "User"], ["action", "create"], ["audited_changes", "---\nsku: '001'\ntitle: Smartphone\nprice: !ruby/object:BigDecimal 18:0.45e3\nactive: true\ndescription: Smartphone ABC\n"], ["version", 1], ["request_uuid", "1d43f5f3-6e68-42d8-b1fb-da4e4b58e02d"], ["created_at", "2018-11-02 02:33:25.072335"]]
|
37
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38
|
+
Started GET "/products/1" for 127.0.0.1 at 2018-11-01 23:33:25 -0300
|
57
39
|
Processing by ProductsController#show as HTML
|
58
40
|
Parameters: {"id"=>"1"}
|
59
|
-
[1m[36mProduct Load (0.
|
41
|
+
[1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
60
42
|
Rendering products/show.html.erb within layouts/application
|
61
|
-
[1m[36mAudited::Audit Load (0.
|
43
|
+
[1m[36mAudited::Audit Load (0.3ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? AND "audits"."action" = ? ORDER BY "audits"."version" ASC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["action", "create"], ["LIMIT", 1]]
|
62
44
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
63
|
-
Rendered /Users/douglas.lise/code/douglas/
|
64
|
-
Rendered products/show.html.erb within layouts/application (
|
65
|
-
Completed 200 OK in
|
66
|
-
Started GET "/products/1?show_log=true" for 127.0.0.1 at 2018-
|
45
|
+
Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_controls.html.erb (10.9ms)
|
46
|
+
Rendered products/show.html.erb within layouts/application (21.8ms)
|
47
|
+
Completed 200 OK in 243ms (Views: 238.3ms | ActiveRecord: 0.6ms)
|
48
|
+
Started GET "/products/1?show_log=true" for 127.0.0.1 at 2018-11-01 23:33:25 -0300
|
67
49
|
Processing by ProductsController#show as HTML
|
68
50
|
Parameters: {"show_log"=>"true", "id"=>"1"}
|
69
51
|
[1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
70
52
|
Rendering products/show.html.erb within layouts/application
|
71
|
-
[1m[36mAudited::Audit Load (0.
|
72
|
-
[1m[36mUser Load (0.
|
73
|
-
[1m[36mAudited::Audit Load (0.
|
53
|
+
[1m[36mAudited::Audit Load (0.2ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? AND "audits"."action" = ? ORDER BY "audits"."version" ASC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["action", "create"], ["LIMIT", 1]]
|
54
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
55
|
+
[1m[36mAudited::Audit Load (0.2ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? ORDER BY "audits"."version" ASC[0m [["auditable_id", 1], ["auditable_type", "Product"]]
|
74
56
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
75
57
|
[1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
76
|
-
Rendered /Users/douglas.lise/code/douglas/
|
77
|
-
Rendered /Users/douglas.lise/code/douglas/
|
78
|
-
Rendered /Users/douglas.lise/code/douglas/
|
79
|
-
Rendered products/show.html.erb within layouts/application (
|
80
|
-
Completed 200 OK in
|
81
|
-
[1m[35m (
|
58
|
+
Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_audit_record.html.erb (5.6ms)
|
59
|
+
Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_audits.html.erb (13.2ms)
|
60
|
+
Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_controls.html.erb (21.5ms)
|
61
|
+
Rendered products/show.html.erb within layouts/application (22.0ms)
|
62
|
+
Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.7ms)
|
63
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
82
64
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
83
65
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
84
|
-
[1m[36mUser Create (0.
|
66
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "user@domain.com"], ["created_at", "2018-11-02 02:33:25.370446"], ["updated_at", "2018-11-02 02:33:25.370446"]]
|
67
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
68
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
69
|
+
[1m[36mProduct Create (0.1ms)[0m [1m[32mINSERT INTO "products" ("sku", "title", "price", "active", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "001"], ["title", "Smartphone"], ["price", 450.0], ["active", "t"], ["description", "Smartphone ABC"], ["created_at", "2018-11-02 02:33:25.371857"], ["updated_at", "2018-11-02 02:33:25.371857"]]
|
70
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT MAX("audits"."version") FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ?[0m [["auditable_id", 1], ["auditable_type", "Product"]]
|
71
|
+
[1m[36mAudited::Audit Create (0.6ms)[0m [1m[32mINSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "user_type", "action", "audited_changes", "version", "request_uuid", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auditable_id", 1], ["auditable_type", "Product"], ["user_id", 1], ["user_type", "User"], ["action", "create"], ["audited_changes", "---\nsku: '001'\ntitle: Smartphone\nprice: !ruby/object:BigDecimal 18:0.45e3\nactive: true\ndescription: Smartphone ABC\n"], ["version", 1], ["request_uuid", "8a79d021-e6f8-4801-81ff-eae8b8b20fa4"], ["created_at", "2018-11-02 02:33:25.374072"]]
|
85
72
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
86
|
-
|
87
|
-
[1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "title", "price", "active", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "001"], ["title", "Smartphone"], ["price", 450.0], ["active", "t"], ["description", "Smartphone ABC"], ["created_at", "2018-06-21 02:14:19.730526"], ["updated_at", "2018-06-21 02:14:19.730526"]]
|
88
|
-
[1m[36mAudited::Audit Load (0.3ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? ORDER BY "audits"."version" DESC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["LIMIT", 1]]
|
89
|
-
[1m[36mAudited::Audit Create (0.7ms)[0m [1m[32mINSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "user_type", "action", "audited_changes", "version", "request_uuid", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auditable_id", 1], ["auditable_type", "Product"], ["user_id", 1], ["user_type", "User"], ["action", "create"], ["audited_changes", "---\nsku: '001'\ntitle: Smartphone\nprice: !ruby/object:BigDecimal 18:0.45e3\nactive: true\ndescription: Smartphone ABC\n"], ["version", 1], ["request_uuid", "3d830aea-6f89-4734-9921-93530d71afc7"], ["created_at", "2018-06-21 02:14:19.734682"]]
|
90
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
91
|
-
Started GET "/products/1" for 127.0.0.1 at 2018-06-20 23:14:19 -0300
|
73
|
+
Started GET "/products/1" for 127.0.0.1 at 2018-11-01 23:33:25 -0300
|
92
74
|
Processing by ProductsController#show as HTML
|
93
75
|
Parameters: {"id"=>"1"}
|
94
|
-
[1m[36mProduct Load (0.
|
76
|
+
[1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
95
77
|
Rendering products/show.html.erb within layouts/application
|
96
|
-
[1m[36mAudited::Audit Load (0.
|
97
|
-
[1m[36mUser Load (0.
|
98
|
-
Rendered /Users/douglas.lise/code/douglas/
|
99
|
-
Rendered products/show.html.erb within layouts/application (
|
100
|
-
Completed 200 OK in
|
101
|
-
[1m[35m (
|
78
|
+
[1m[36mAudited::Audit Load (0.3ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? AND "audits"."action" = ? ORDER BY "audits"."version" ASC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["action", "create"], ["LIMIT", 1]]
|
79
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
80
|
+
Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_controls.html.erb (2.2ms)
|
81
|
+
Rendered products/show.html.erb within layouts/application (2.6ms)
|
82
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.4ms)
|
83
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bf/bFu8kdTZGAJ8IRJ4CW3f-ULNdD99OUgYecjim73y8ZI.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/C_/C_EhaALUV9sIW-Tflz29kmVZ8xIYQ2eVN1sTXpuVGx0.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EF/EFkCrgaWKrWmC4184jISWULtuIOy2j0J5zQVXdD6Q9Y.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=67d36fc428a414949d7ba5cad26fc923dc75191adb0a56842e6e022dde6aca5a:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GD/GD6jEbjxKsiJG_gdymPLw6zDx0X3RFMEv4vjo64gOis.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&id=4316e39268cb9e0fc639b685a1ea756607999ea9680faebf42ae65cd028e525f:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
[o:Set:
|
2
|
-
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI"
|
2
|
+
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI"Sfile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/config;TTI"`file-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/config/action_cable;TTI"Sfile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/images;TTI"`file-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/images/action_cable;TTI"Xfile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/javascripts;TTI"efile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/javascripts/action_cable;TTI"Xfile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/stylesheets;TTI"efile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/stylesheets/action_cable;TTI"ffile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.1/lib/assets/compiled;TTI"sfile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.1/lib/assets/compiled/action_cable;TTI"vfile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.1/lib/assets/compiled/action_cable.js;TTI"2file-digest://app/assets/javascripts/channels;TTF
|
@@ -1,3 +1,3 @@
|
|
1
1
|
[o:Set:
|
2
2
|
@hash}
|
3
|
-
I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"vfile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.
|
3
|
+
I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"vfile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.1/lib/assets/compiled/action_cable.js;TTF
|
File without changes
|
File without changes
|
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XH/XHSVGZoX06sROUYc3ILT_3VhOBYzdI_d-HOCvPIQLKg.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=cd58370231253a14cb26ae10d0f7fbf07ec19802352c5eb6e72229cf1b8c6c51:ET
|
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZE/ZEEOa0dpWXE7jJKydMJ4V3ZThw23bICkaXK-TTvwr20.cache
ADDED
Binary file
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
[o:Set:
|
2
|
-
@hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"vfile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.
|
2
|
+
@hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"vfile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.1/lib/assets/compiled/action_cable.js;TTI"2file-digest://app/assets/javascripts/cable.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI"Sfile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/config;TTI"`file-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/config/action_cable;TTI"Sfile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/images;TTI"`file-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/images/action_cable;TTI"Xfile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/javascripts;TTI"efile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/javascripts/action_cable;TTI"Xfile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/stylesheets;TTI"efile-digest:///Users/douglas.lise/code/douglas/audited_views/app/assets/stylesheets/action_cable;TTI"ffile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.1/lib/assets/compiled;TTI"sfile-digest:///Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.1/lib/assets/compiled/action_cable;TTI"2file-digest://app/assets/javascripts/channels;TTF
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/en/enFi_kQfrbll3rs5qfUEMPWAo3c2HZBoO9tlmj8DQ0M.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=ff834e5fdf657da2a304be71a20b1677d8e68f0bf2abb515d872339fb31b4655:ET
|
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fY/fY86pB9L9MUVrlQe1KSuyQ7tqEqxW2WPksp_rraZFvs.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"}app/assets/stylesheets/application.css?type=text/css&id=ca816310934801c7d174d29cb9e87530b5c5f76a80d9cb756a570beb8b5ecd79:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iM/iM-TSGc37a2sjXtrY3NGjrZyqXvRqiasQ7nhVDmyYqw.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.1/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self&id=d0fe5609f564454bb80b4d7ed0babd8b06a09e0e40aa7ac3778851ff682ce220:ET
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<hr>
|
43
43
|
|
44
44
|
<span class="audit-created-at">
|
45
|
-
Created at
|
45
|
+
Created at 02 Nov 02:33 by user@domain.com
|
46
46
|
</span>
|
47
47
|
|
48
48
|
|
@@ -53,13 +53,13 @@
|
|
53
53
|
<div class="panel panel-success">
|
54
54
|
<div class="panel-heading">
|
55
55
|
<b>Creation</b> -
|
56
|
-
|
56
|
+
02 Nov 02:33 -
|
57
57
|
user@domain.com
|
58
58
|
</div>
|
59
59
|
<div class="panel-body">
|
60
60
|
<p>
|
61
61
|
Product:
|
62
|
-
<b><span title="Id 1">#<Product:
|
62
|
+
<b><span title="Id 1">#<Product:0x00007fdb8d8f0780></span></b>
|
63
63
|
</p>
|
64
64
|
|
65
65
|
<table class="table audits">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audited_views
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Douglas Lise
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -183,13 +183,11 @@ files:
|
|
183
183
|
- spec/dummy/config/routes.rb
|
184
184
|
- spec/dummy/config/secrets.yml
|
185
185
|
- spec/dummy/config/spring.rb
|
186
|
-
- spec/dummy/db/development.sqlite3
|
187
186
|
- spec/dummy/db/migrate/20170507023018_create_products.rb
|
188
187
|
- spec/dummy/db/migrate/20170507023113_create_users.rb
|
189
188
|
- spec/dummy/db/migrate/20170507191539_install_audited.rb
|
190
189
|
- spec/dummy/db/schema.rb
|
191
190
|
- spec/dummy/db/test.sqlite3
|
192
|
-
- spec/dummy/log/development.log
|
193
191
|
- spec/dummy/log/test.log
|
194
192
|
- spec/dummy/package.json
|
195
193
|
- spec/dummy/public/404.html
|
@@ -204,39 +202,39 @@ files:
|
|
204
202
|
- spec/dummy/spec/helpers/audited_views_helper_spec.rb
|
205
203
|
- spec/dummy/spec/models/product_spec.rb
|
206
204
|
- spec/dummy/spec/models/user_spec.rb
|
207
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-
|
208
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
209
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
210
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
211
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
212
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
213
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
214
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
205
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-e/-eZTr7vhQJZp9mpIhUcg_P_5o_wwCtTfnxRF8iWeO5A.cache
|
206
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/3e/3enNZyjwdN_o72CFKL1h0pu6u3A3Ihb5O2qrB45OqV8.cache
|
207
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/5p/5pBT7XAPlTWeM3lqH3T0CObNXXNjOcDY6ICOIYhXvCs.cache
|
208
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7d/7dyOeHOc4SaKYDDjKMxnGHDNLHTj6kbKxUkfwsqmCUg.cache
|
209
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Be/Bekxk4jpkBx8-70uOuZ_tXTZvHk2BffYk6yFNR7okFA.cache
|
210
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Bf/BfAbUfDS7fc-h3JrBiTLhNdqIgINUXbTInwuYhpZTSw.cache
|
211
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Bf/bFu8kdTZGAJ8IRJ4CW3f-ULNdD99OUgYecjim73y8ZI.cache
|
212
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/C_/C_EhaALUV9sIW-Tflz29kmVZ8xIYQ2eVN1sTXpuVGx0.cache
|
213
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/EF/EFkCrgaWKrWmC4184jISWULtuIOy2j0J5zQVXdD6Q9Y.cache
|
214
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/GD/GD6jEbjxKsiJG_gdymPLw6zDx0X3RFMEv4vjo64gOis.cache
|
215
215
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache
|
216
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
217
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
218
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
219
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
220
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
221
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
222
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
223
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
224
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/_t/_tt8wp32pp5L2O2X1uvsHznA2xTfTH4hlYOuNLMm97E.cache
|
225
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/am/am7Do4UyDjVwvPQpzZ1T10Fv4xFg1lG-zyNHlic1lGs.cache
|
216
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Iq/IqELAF4O9wiVqzWCWFmwZORLYtB3GROic7Ld3hDuEIw.cache
|
217
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Je/JeE7chFLsqUBD3iUWz3mO7qPERfU_KJ69IfjY0edm8w.cache
|
218
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Nh/NhFEmwglL4mYiRNtBIbsbFn6BLbfGI_b24i_E1BWCTE.cache
|
219
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Qy/QyamizzTIib94B-i7CXqUQHfAM4Z4rObRRDHWUK45kE.cache
|
220
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/XH/XHSVGZoX06sROUYc3ILT_3VhOBYzdI_d-HOCvPIQLKg.cache
|
221
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Z8/Z8pbjSrP8aXaX_-7uGgb7uBDStBuA_nlf__vh9enkgY.cache
|
222
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ZE/ZEEOa0dpWXE7jJKydMJ4V3ZThw23bICkaXK-TTvwr20.cache
|
223
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ZW/ZWPCLaigGkYPPQrYrjzBMZIiLZuyAP0tASiMFila7sU.cache
|
226
224
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache
|
227
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
228
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
229
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
225
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ch/chrvohjefEPMaoMhxfhKGVDFhm5sg3TYIX6kqy_XpJM.cache
|
226
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/en/enFi_kQfrbll3rs5qfUEMPWAo3c2HZBoO9tlmj8DQ0M.cache
|
227
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/fM/fMPuOcy3j3Qg6fghMWjFYZYmi2Ap2WKv9j7vSQVuqjg.cache
|
228
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/fY/fY86pB9L9MUVrlQe1KSuyQ7tqEqxW2WPksp_rraZFvs.cache
|
229
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/iM/iM-TSGc37a2sjXtrY3NGjrZyqXvRqiasQ7nhVDmyYqw.cache
|
230
230
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache
|
231
231
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
|
232
232
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
|
233
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
234
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
235
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
236
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
237
|
-
- spec/dummy/tmp/
|
238
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/xO/xORU3CObV7eAfbBcV5dj7qUZCqTZBgBwvFO-r0VBhCY.cache
|
239
|
-
- spec/dummy/tmp/capybara/capybara-201806202314198171543396.html
|
233
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/p3/P3B8t2cV8el5OgrVKR-yuszZJKGTZv3Y3Bouh1CJxmo.cache
|
234
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/p3/p3ZqYowAmJH0VS4xziCurDbIGdfIiV8e7Xqx_69ZLso.cache
|
235
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/rE/rEMXKu1g0tDAZ8ew5RgFUUk0VGI0bjz3XvATeDxoFe4.cache
|
236
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x0/x08jjjlXtzuQtb7rB7x3o-2qf98VD05NCbBhWMgWpvQ.cache
|
237
|
+
- spec/dummy/tmp/capybara/capybara-201811012333254271642951.html
|
240
238
|
- spec/spec_helper.rb
|
241
239
|
homepage: http://github.com/douglaslise/audited_views
|
242
240
|
licenses:
|
@@ -334,39 +332,37 @@ test_files:
|
|
334
332
|
- spec/dummy/db/migrate/20170507023018_create_products.rb
|
335
333
|
- spec/dummy/db/migrate/20170507023113_create_users.rb
|
336
334
|
- spec/dummy/db/migrate/20170507191539_install_audited.rb
|
337
|
-
- spec/dummy/db/development.sqlite3
|
338
335
|
- spec/dummy/log/test.log
|
339
|
-
- spec/dummy/
|
340
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
341
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
342
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
343
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
344
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
345
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/AJ/AJEKm6Si046b8FvMhfGSxStIrnFb1_mijaBgkRFOvqY.cache
|
336
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/3e/3enNZyjwdN_o72CFKL1h0pu6u3A3Ihb5O2qrB45OqV8.cache
|
337
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/p3/p3ZqYowAmJH0VS4xziCurDbIGdfIiV8e7Xqx_69ZLso.cache
|
338
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/p3/P3B8t2cV8el5OgrVKR-yuszZJKGTZv3Y3Bouh1CJxmo.cache
|
339
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ZW/ZWPCLaigGkYPPQrYrjzBMZIiLZuyAP0tASiMFila7sU.cache
|
340
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ZE/ZEEOa0dpWXE7jJKydMJ4V3ZThw23bICkaXK-TTvwr20.cache
|
341
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Be/Bekxk4jpkBx8-70uOuZ_tXTZvHk2BffYk6yFNR7okFA.cache
|
346
342
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache
|
347
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
343
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Nh/NhFEmwglL4mYiRNtBIbsbFn6BLbfGI_b24i_E1BWCTE.cache
|
348
344
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
|
349
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
350
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
351
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
352
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
353
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
354
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
355
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
356
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
357
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
358
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0
|
359
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Zo/ZoRCB1hJDKP7SXg8B_3fauzLx2sF-C1lYEU0Z-RGSag.cache
|
360
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/0F/0F82Dfa41LKwbYBpctk03ybbzstbSP0kFKqQuIZ8c4k.cache
|
345
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/fM/fMPuOcy3j3Qg6fghMWjFYZYmi2Ap2WKv9j7vSQVuqjg.cache
|
346
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ch/chrvohjefEPMaoMhxfhKGVDFhm5sg3TYIX6kqy_XpJM.cache
|
347
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/fY/fY86pB9L9MUVrlQe1KSuyQ7tqEqxW2WPksp_rraZFvs.cache
|
348
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/C_/C_EhaALUV9sIW-Tflz29kmVZ8xIYQ2eVN1sTXpuVGx0.cache
|
349
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7d/7dyOeHOc4SaKYDDjKMxnGHDNLHTj6kbKxUkfwsqmCUg.cache
|
350
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x0/x08jjjlXtzuQtb7rB7x3o-2qf98VD05NCbBhWMgWpvQ.cache
|
351
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/XH/XHSVGZoX06sROUYc3ILT_3VhOBYzdI_d-HOCvPIQLKg.cache
|
352
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/5p/5pBT7XAPlTWeM3lqH3T0CObNXXNjOcDY6ICOIYhXvCs.cache
|
353
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Z8/Z8pbjSrP8aXaX_-7uGgb7uBDStBuA_nlf__vh9enkgY.cache
|
354
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-e/-eZTr7vhQJZp9mpIhUcg_P_5o_wwCtTfnxRF8iWeO5A.cache
|
361
355
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache
|
362
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
356
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Bf/BfAbUfDS7fc-h3JrBiTLhNdqIgINUXbTInwuYhpZTSw.cache
|
357
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Bf/bFu8kdTZGAJ8IRJ4CW3f-ULNdD99OUgYecjim73y8ZI.cache
|
363
358
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
|
364
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-Y/-YymUmuvGh07mddnTJj_cgMSfx5quxjyGjRP7EkoTwQ.cache
|
365
359
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache
|
366
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
367
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
368
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
369
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
370
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
371
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
372
|
-
- spec/dummy/tmp/
|
360
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/GD/GD6jEbjxKsiJG_gdymPLw6zDx0X3RFMEv4vjo64gOis.cache
|
361
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/iM/iM-TSGc37a2sjXtrY3NGjrZyqXvRqiasQ7nhVDmyYqw.cache
|
362
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/EF/EFkCrgaWKrWmC4184jISWULtuIOy2j0J5zQVXdD6Q9Y.cache
|
363
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Je/JeE7chFLsqUBD3iUWz3mO7qPERfU_KJ69IfjY0edm8w.cache
|
364
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Iq/IqELAF4O9wiVqzWCWFmwZORLYtB3GROic7Ld3hDuEIw.cache
|
365
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/en/enFi_kQfrbll3rs5qfUEMPWAo3c2HZBoO9tlmj8DQ0M.cache
|
366
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Qy/QyamizzTIib94B-i7CXqUQHfAM4Z4rObRRDHWUK45kE.cache
|
367
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/rE/rEMXKu1g0tDAZ8ew5RgFUUk0VGI0bjz3XvATeDxoFe4.cache
|
368
|
+
- spec/dummy/tmp/capybara/capybara-201811012333254271642951.html
|
Binary file
|
@@ -1,110 +0,0 @@
|
|
1
|
-
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
2
|
-
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
3
|
-
boolean values and must have old data converted to 1 and 0 (its native boolean
|
4
|
-
serialization) before setting this flag to true. Conversion can be accomplished
|
5
|
-
by setting up a rake task which runs
|
6
|
-
|
7
|
-
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
8
|
-
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
9
|
-
|
10
|
-
for all models and all boolean columns, after which the flag must be set to
|
11
|
-
true by adding the following to your application.rb file:
|
12
|
-
|
13
|
-
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
14
|
-
(called from <top (required)> at /Users/douglas.lise/code/douglas/lab/audited_views/spec/dummy/config/environment.rb:5)
|
15
|
-
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
16
|
-
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
17
|
-
boolean values and must have old data converted to 1 and 0 (its native boolean
|
18
|
-
serialization) before setting this flag to true. Conversion can be accomplished
|
19
|
-
by setting up a rake task which runs
|
20
|
-
|
21
|
-
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
22
|
-
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
23
|
-
|
24
|
-
for all models and all boolean columns, after which the flag must be set to
|
25
|
-
true by adding the following to your application.rb file:
|
26
|
-
|
27
|
-
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
28
|
-
(called from <top (required)> at /Users/douglas.lise/code/douglas/lab/audited_views/spec/dummy/config/environment.rb:5)
|
29
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
30
|
-
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
31
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
32
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
33
|
-
Migrating to CreateProducts (20170507023018)
|
34
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
35
|
-
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "title" varchar, "price" decimal, "active" boolean, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
36
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170507023018"]]
|
37
|
-
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
38
|
-
Migrating to CreateUsers (20170507023113)
|
39
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
40
|
-
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
41
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170507023113"]]
|
42
|
-
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
43
|
-
Migrating to InstallAudited (20170507191539)
|
44
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
45
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "audits"[0m
|
46
|
-
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "audits" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "auditable_id" integer, "auditable_type" varchar, "associated_id" integer, "associated_type" varchar, "user_id" integer, "user_type" varchar, "username" varchar, "action" varchar, "audited_changes" text, "version" integer DEFAULT 0, "comment" varchar, "remote_address" varchar, "request_uuid" varchar, "created_at" datetime)[0m
|
47
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "auditable_index" ON "audits" ("auditable_id", "auditable_type")[0m
|
48
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "associated_index" ON "audits" ("associated_id", "associated_type")[0m
|
49
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "user_index" ON "audits" ("user_id", "user_type")[0m
|
50
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_audits_on_request_uuid" ON "audits" ("request_uuid")[0m
|
51
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_audits_on_created_at" ON "audits" ("created_at")[0m
|
52
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170507191539"]]
|
53
|
-
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
54
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
55
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
56
|
-
[1m[36mActiveRecord::InternalMetadata Create (1.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-06-21 02:11:57.885505"], ["updated_at", "2018-06-21 02:11:57.885505"]]
|
57
|
-
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
58
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
59
|
-
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
60
|
-
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
61
|
-
boolean values and must have old data converted to 1 and 0 (its native boolean
|
62
|
-
serialization) before setting this flag to true. Conversion can be accomplished
|
63
|
-
by setting up a rake task which runs
|
64
|
-
|
65
|
-
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
66
|
-
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
67
|
-
|
68
|
-
for all models and all boolean columns, after which the flag must be set to
|
69
|
-
true by adding the following to your application.rb file:
|
70
|
-
|
71
|
-
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
72
|
-
(called from <top (required)> at /Users/douglas.lise/code/douglas/lab/audited_views/spec/dummy/config/environment.rb:5)
|
73
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
74
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
75
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
76
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
77
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
78
|
-
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
79
|
-
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
80
|
-
boolean values and must have old data converted to 1 and 0 (its native boolean
|
81
|
-
serialization) before setting this flag to true. Conversion can be accomplished
|
82
|
-
by setting up a rake task which runs
|
83
|
-
|
84
|
-
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
85
|
-
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
86
|
-
|
87
|
-
for all models and all boolean columns, after which the flag must be set to
|
88
|
-
true by adding the following to your application.rb file:
|
89
|
-
|
90
|
-
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
91
|
-
(called from <top (required)> at /Users/douglas.lise/code/douglas/lab/audited_views/spec/dummy/config/environment.rb:5)
|
92
|
-
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
93
|
-
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
94
|
-
boolean values and must have old data converted to 1 and 0 (its native boolean
|
95
|
-
serialization) before setting this flag to true. Conversion can be accomplished
|
96
|
-
by setting up a rake task which runs
|
97
|
-
|
98
|
-
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
99
|
-
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
100
|
-
|
101
|
-
for all models and all boolean columns, after which the flag must be set to
|
102
|
-
true by adding the following to your application.rb file:
|
103
|
-
|
104
|
-
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
105
|
-
(called from <top (required)> at /Users/douglas.lise/code/douglas/lab/audited_views/spec/dummy/config/environment.rb:5)
|
106
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
107
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
108
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
109
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
110
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8x/8xoBZbh_cvT9EjAppZfAwbyGkvyw33r6D4jEoXJ8E3g.cache
DELETED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LW/LWvEFImqIeBZqMP8GEe0W5JhcxFKQaN6Yw4_ZjnZA_o.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�/Users/douglas.lise/.rvm/gems/ruby-2.5.1/gems/actioncable-5.2.0/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self&id=9b1b9be967a4f2bff67a30f5af42958030a0bfcc8bff8879c81aa95fbee38a58:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ll/LlDmEDut9KSHs1huPtez5pCrEStJ0xbv90BAvRL45Ek.cache
DELETED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MR/MRBFJnLrCbpyUPTnvxqvXJQDeUDvjbYYVfPWmgSezKU.cache
DELETED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rb/RbStQeBxEZI9BGCSMb0iROr94h-xJRSjqjiDo9IB4uo.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=1c34c7a2c5a845d4073bc31a4582f5141ad7470047a8a93073fd7095674ecadf:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cl/clNwTZeYerxRGUZRyrJDXfX5oH0sVH7V_Hkhjz3jRdY.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/application.js?type=application/javascript&id=1cbcd54ca1dd3665e950225265220d253a2ca88a87fac6795e21ed86668224fb:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jm/jmAimAIDJ2Icw7Fv6FpfNt7NdkCVHbk1mS8IdM_UdNo.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=d8301eff682c170fe5209b45d8d7b74a4a12d623a3a6b04d1d9e0ad32a04d001:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uL/uL3i40dKCdUTUNjmQlXRC2qS4ikGaVYjRb_gMUFSgfo.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"}app/assets/stylesheets/application.css?type=text/css&id=07ffb85348a61da1829870c777060e20f8ac7c0ca391390de259d4709b9c3c6e:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uf/ufTRVvHuh0gVhWdEzeM4_SnvLslT7_C0AskKq45q10Q.cache
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=a6f2fd4ba9366819eb9f93a69d310c172f473d1ca243a45e356f2ed3f104316b:ET
|