categorical 0.0.9.1 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/categorical/concerns/models/tag.rb +2 -2
- data/lib/categorical/version.rb +1 -1
- data/test/dummy/config/environments/development.rb +0 -14
- data/test/dummy/log/development.log +124 -46
- data/test/dummy/log/test.log +286 -48
- metadata +38 -40
- data/test/dummy/config/initializers/assets.rb +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65a7e1f1b15e51ca9cdbe31f360affbb37a1bcc2731546844740d90d2c44e853
|
|
4
|
+
data.tar.gz: c149e3b2e00d1a99d47f87e858dabee3b3b7a96501848ba4fcacb7f0e986a231
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 827981db9dee14ead17226ef5371a1e44e2c8800ba6faf11b497a91d9a423de8ae1cae9a24cc935b2bfc7939433911511cf5e53db476e9edd5baba72c3732d89
|
|
7
|
+
data.tar.gz: 0f07abc938cdc71ff7eef946accbb6d918428b62109c0431e91d57715e730c115324e28808e9354da72b734135c07f52135ec9f20c69e3654f8250d8e8515ad8
|
data/lib/categorical/version.rb
CHANGED
|
@@ -22,20 +22,6 @@ Rails.application.configure do
|
|
|
22
22
|
# Raise an error on page load if there are pending migrations.
|
|
23
23
|
config.active_record.migration_error = :page_load
|
|
24
24
|
|
|
25
|
-
# Debug mode disables concatenation and preprocessing of assets.
|
|
26
|
-
# This option may cause significant delays in view rendering with a large
|
|
27
|
-
# number of complex assets.
|
|
28
|
-
config.assets.debug = true
|
|
29
|
-
|
|
30
|
-
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
|
31
|
-
# yet still be able to expire them through the digest params.
|
|
32
|
-
config.assets.digest = true
|
|
33
|
-
|
|
34
|
-
# Adds additional error checking when serving assets at runtime.
|
|
35
|
-
# Checks for improperly declared sprockets dependencies.
|
|
36
|
-
# Raises helpful error messages.
|
|
37
|
-
config.assets.raise_runtime_errors = true
|
|
38
|
-
|
|
39
25
|
# Raises error for missing translations
|
|
40
26
|
# config.action_view.raise_on_missing_translations = true
|
|
41
27
|
end
|
|
@@ -1,62 +1,140 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
DEPRECATION WARNING: Using legacy connection handling is deprecated. Please set
|
|
2
|
+
`legacy_connection_handling` to `false` in your application.
|
|
3
|
+
|
|
4
|
+
The new connection handling does not support `connection_handlers`
|
|
5
|
+
getter and setter.
|
|
6
|
+
|
|
7
|
+
Read more about how to migrate at: https://guides.rubyonrails.org/active_record_multiple_databases.html#migrate-to-the-new-connection-handling
|
|
8
|
+
(called from block in execute at /usr/local/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281)
|
|
9
|
+
[1m[35m (567.6ms)[0m [1m[35mCREATE DATABASE "categorical_development" ENCODING = 'unicode'[0m
|
|
10
|
+
[1m[35m (573.5ms)[0m [1m[35mCREATE DATABASE "categorical_test" ENCODING = 'unicode'[0m
|
|
11
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
12
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "categorical_taggings" CASCADE[0m
|
|
13
|
+
[1m[35m (102.7ms)[0m [1m[35mCREATE TABLE "categorical_taggings" ("id" bigserial primary key, "taggable_id" integer, "taggable_type" character varying, "tag_id" integer)[0m
|
|
14
|
+
[1m[35m (61.9ms)[0m [1m[35mCREATE INDEX "index_categorical_taggings_on_taggable_type_and_taggable_id" ON "categorical_taggings" USING btree ("taggable_type", "taggable_id")[0m
|
|
7
15
|
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "categorical_tags" CASCADE[0m
|
|
8
|
-
[1m[35m (
|
|
9
|
-
[1m[35m (
|
|
10
|
-
[1m[35m (
|
|
11
|
-
[1m[35m (
|
|
12
|
-
[1m[35m (
|
|
13
|
-
[1m[
|
|
14
|
-
[1m[35m (
|
|
15
|
-
[1m[35m (
|
|
16
|
+
[1m[35m (108.5ms)[0m [1m[35mCREATE TABLE "categorical_tags" ("id" bigserial primary key, "label" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
17
|
+
[1m[35m (70.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_categorical_tags_on_label" ON "categorical_tags" USING btree ("label")[0m
|
|
18
|
+
[1m[35m (1.9ms)[0m [1m[35mDROP TABLE IF EXISTS "posts" CASCADE[0m
|
|
19
|
+
[1m[35m (118.8ms)[0m [1m[35mCREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
20
|
+
[1m[35m (123.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
|
21
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
22
|
+
[1m[35m (20.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20151015173150)[0m
|
|
23
|
+
[1m[35m (19.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
|
16
24
|
(20150919153408),
|
|
17
25
|
(20151003185718),
|
|
18
26
|
(20151011215525);
|
|
19
27
|
|
|
20
28
|
[0m
|
|
21
|
-
[1m[35m (
|
|
22
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
|
29
|
+
[1m[35m (99.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
30
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
23
31
|
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
|
|
24
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
|
25
|
-
[1m[36mTRANSACTION (
|
|
32
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-28 19:35:29.465878"], ["updated_at", "2022-02-28 19:35:29.465878"]]
|
|
33
|
+
[1m[36mTRANSACTION (19.8ms)[0m [1m[35mCOMMIT[0m
|
|
34
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
35
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
|
36
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
37
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b956a2888ca5ca710a5a2eb673b7f0efe73df9a1"], ["created_at", "2022-02-28 19:35:29.494073"], ["updated_at", "2022-02-28 19:35:29.494073"]]
|
|
38
|
+
[1m[36mTRANSACTION (18.9ms)[0m [1m[35mCOMMIT[0m
|
|
39
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
40
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "categorical_taggings" CASCADE[0m
|
|
41
|
+
[1m[35m (101.9ms)[0m [1m[35mCREATE TABLE "categorical_taggings" ("id" bigserial primary key, "taggable_id" integer, "taggable_type" character varying, "tag_id" integer)[0m
|
|
42
|
+
[1m[35m (61.8ms)[0m [1m[35mCREATE INDEX "index_categorical_taggings_on_taggable_type_and_taggable_id" ON "categorical_taggings" USING btree ("taggable_type", "taggable_id")[0m
|
|
43
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "categorical_tags" CASCADE[0m
|
|
44
|
+
[1m[35m (129.1ms)[0m [1m[35mCREATE TABLE "categorical_tags" ("id" bigserial primary key, "label" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
45
|
+
[1m[35m (74.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_categorical_tags_on_label" ON "categorical_tags" USING btree ("label")[0m
|
|
46
|
+
[1m[35m (1.1ms)[0m [1m[35mDROP TABLE IF EXISTS "posts" CASCADE[0m
|
|
47
|
+
[1m[35m (122.1ms)[0m [1m[35mCREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
48
|
+
[1m[35m (119.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
|
49
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
50
|
+
[1m[35m (22.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20151015173150)[0m
|
|
51
|
+
[1m[35m (24.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
|
52
|
+
(20150919153408),
|
|
53
|
+
(20151003185718),
|
|
54
|
+
(20151011215525);
|
|
55
|
+
|
|
56
|
+
[0m
|
|
57
|
+
[1m[35m (110.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
58
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
59
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mBEGIN[0m
|
|
60
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-02-28 19:35:30.410347"], ["updated_at", "2022-02-28 19:35:30.410347"]]
|
|
61
|
+
[1m[36mTRANSACTION (20.7ms)[0m [1m[35mCOMMIT[0m
|
|
26
62
|
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
27
|
-
[1m[
|
|
63
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
|
|
64
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-02-28 19:35:30.442040"], ["key", "environment"]]
|
|
65
|
+
[1m[36mTRANSACTION (21.7ms)[0m [1m[35mCOMMIT[0m
|
|
66
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
|
28
67
|
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
|
|
29
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
|
30
|
-
[1m[36mTRANSACTION (
|
|
31
|
-
[1m[
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
[1m[35m (
|
|
41
|
-
[1m[35m (
|
|
42
|
-
[1m[
|
|
43
|
-
[1m[35m (0.
|
|
68
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b956a2888ca5ca710a5a2eb673b7f0efe73df9a1"], ["created_at", "2022-02-28 19:35:30.473954"], ["updated_at", "2022-02-28 19:35:30.473954"]]
|
|
69
|
+
[1m[36mTRANSACTION (20.9ms)[0m [1m[35mCOMMIT[0m
|
|
70
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
71
|
+
DEPRECATION WARNING: Using legacy connection handling is deprecated. Please set
|
|
72
|
+
`legacy_connection_handling` to `false` in your application.
|
|
73
|
+
|
|
74
|
+
The new connection handling does not support `connection_handlers`
|
|
75
|
+
getter and setter.
|
|
76
|
+
|
|
77
|
+
Read more about how to migrate at: https://guides.rubyonrails.org/active_record_multiple_databases.html#migrate-to-the-new-connection-handling
|
|
78
|
+
(called from block in execute at /usr/local/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281)
|
|
79
|
+
[1m[35m (665.0ms)[0m [1m[35mCREATE DATABASE "categorical_development" ENCODING = 'unicode'[0m
|
|
80
|
+
[1m[35m (547.1ms)[0m [1m[35mCREATE DATABASE "categorical_test" ENCODING = 'unicode'[0m
|
|
81
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
82
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "categorical_taggings" CASCADE[0m
|
|
83
|
+
[1m[35m (98.4ms)[0m [1m[35mCREATE TABLE "categorical_taggings" ("id" bigserial primary key, "taggable_id" integer, "taggable_type" character varying, "tag_id" integer)[0m
|
|
84
|
+
[1m[35m (61.0ms)[0m [1m[35mCREATE INDEX "index_categorical_taggings_on_taggable_type_and_taggable_id" ON "categorical_taggings" USING btree ("taggable_type", "taggable_id")[0m
|
|
85
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "categorical_tags" CASCADE[0m
|
|
86
|
+
[1m[35m (108.5ms)[0m [1m[35mCREATE TABLE "categorical_tags" ("id" bigserial primary key, "label" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
87
|
+
[1m[35m (73.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_categorical_tags_on_label" ON "categorical_tags" USING btree ("label")[0m
|
|
88
|
+
[1m[35m (1.0ms)[0m [1m[35mDROP TABLE IF EXISTS "posts" CASCADE[0m
|
|
89
|
+
[1m[35m (113.1ms)[0m [1m[35mCREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
90
|
+
[1m[35m (126.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
|
91
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
92
|
+
[1m[35m (19.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20151015173150)[0m
|
|
93
|
+
[1m[35m (19.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
|
44
94
|
(20150919153408),
|
|
45
95
|
(20151003185718),
|
|
46
96
|
(20151011215525);
|
|
47
97
|
|
|
48
98
|
[0m
|
|
49
|
-
[1m[35m (
|
|
50
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
|
51
|
-
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
|
|
52
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2020-12-19 15:25:51.155990"], ["updated_at", "2020-12-19 15:25:51.155990"]]
|
|
53
|
-
[1m[36mTRANSACTION (0.6ms)[0m [1m[35mCOMMIT[0m
|
|
54
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
99
|
+
[1m[35m (99.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
100
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
55
101
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
56
|
-
[1m[36mActiveRecord::InternalMetadata
|
|
57
|
-
[1m[36mTRANSACTION (
|
|
102
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-03-01 14:19:36.927757"], ["updated_at", "2022-03-01 14:19:36.927757"]]
|
|
103
|
+
[1m[36mTRANSACTION (19.1ms)[0m [1m[35mCOMMIT[0m
|
|
104
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
58
105
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
|
59
|
-
[1m[36mTRANSACTION (0.
|
|
60
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
|
61
|
-
[1m[36mTRANSACTION (
|
|
62
|
-
[1m[
|
|
106
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
107
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b956a2888ca5ca710a5a2eb673b7f0efe73df9a1"], ["created_at", "2022-03-01 14:19:36.954068"], ["updated_at", "2022-03-01 14:19:36.954068"]]
|
|
108
|
+
[1m[36mTRANSACTION (20.2ms)[0m [1m[35mCOMMIT[0m
|
|
109
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
|
110
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "categorical_taggings" CASCADE[0m
|
|
111
|
+
[1m[35m (99.3ms)[0m [1m[35mCREATE TABLE "categorical_taggings" ("id" bigserial primary key, "taggable_id" integer, "taggable_type" character varying, "tag_id" integer)[0m
|
|
112
|
+
[1m[35m (62.1ms)[0m [1m[35mCREATE INDEX "index_categorical_taggings_on_taggable_type_and_taggable_id" ON "categorical_taggings" USING btree ("taggable_type", "taggable_id")[0m
|
|
113
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "categorical_tags" CASCADE[0m
|
|
114
|
+
[1m[35m (119.7ms)[0m [1m[35mCREATE TABLE "categorical_tags" ("id" bigserial primary key, "label" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
115
|
+
[1m[35m (71.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_categorical_tags_on_label" ON "categorical_tags" USING btree ("label")[0m
|
|
116
|
+
[1m[35m (1.1ms)[0m [1m[35mDROP TABLE IF EXISTS "posts" CASCADE[0m
|
|
117
|
+
[1m[35m (120.4ms)[0m [1m[35mCREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
118
|
+
[1m[35m (159.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
|
119
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (6.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
120
|
+
[1m[35m (22.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20151015173150)[0m
|
|
121
|
+
[1m[35m (20.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
|
122
|
+
(20150919153408),
|
|
123
|
+
(20151003185718),
|
|
124
|
+
(20151011215525);
|
|
125
|
+
|
|
126
|
+
[0m
|
|
127
|
+
[1m[35m (130.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
|
128
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
129
|
+
[1m[36mTRANSACTION (0.7ms)[0m [1m[35mBEGIN[0m
|
|
130
|
+
[1m[36mActiveRecord::InternalMetadata Create (2.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2022-03-01 14:19:37.919958"], ["updated_at", "2022-03-01 14:19:37.919958"]]
|
|
131
|
+
[1m[36mTRANSACTION (20.9ms)[0m [1m[35mCOMMIT[0m
|
|
132
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
|
133
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mBEGIN[0m
|
|
134
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.5ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-03-01 14:19:37.959439"], ["key", "environment"]]
|
|
135
|
+
[1m[36mTRANSACTION (20.8ms)[0m [1m[35mCOMMIT[0m
|
|
136
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
|
137
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
138
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "b956a2888ca5ca710a5a2eb673b7f0efe73df9a1"], ["created_at", "2022-03-01 14:19:37.989023"], ["updated_at", "2022-03-01 14:19:37.989023"]]
|
|
139
|
+
[1m[36mTRANSACTION (19.1ms)[0m [1m[35mCOMMIT[0m
|
|
140
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
data/test/dummy/log/test.log
CHANGED
|
@@ -1,72 +1,167 @@
|
|
|
1
|
-
[1m[
|
|
2
|
-
[1m[
|
|
1
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
|
2
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
3
3
|
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
|
|
4
|
+
-------------------------------
|
|
5
|
+
Categorical::TagTest: test_to_s
|
|
6
|
+
-------------------------------
|
|
7
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
8
|
+
[1m[36mCategorical::Tag Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
9
|
+
[1m[36mCategorical::Tag Create (0.4ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-02-28 19:35:39.854740"], ["updated_at", "2022-02-28 19:35:39.854740"]]
|
|
10
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
11
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
12
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
13
|
+
------------------------------------------------------
|
|
14
|
+
Categorical::TagTest: test_validates_presence_of_label
|
|
15
|
+
------------------------------------------------------
|
|
16
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
17
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE "categorical_tags"."label" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
|
18
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
19
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
20
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
4
21
|
---------------------------------------------------------------------------
|
|
5
22
|
Categorical::TagTest: test_validates_uniqueness_of_label_not_case_sensitive
|
|
6
23
|
---------------------------------------------------------------------------
|
|
7
|
-
[1m[36mTRANSACTION (0.
|
|
8
|
-
[1m[36mCategorical::Tag Exists? (0.
|
|
9
|
-
[1m[36mCategorical::Tag Create (0.
|
|
24
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
25
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "Label"], ["LIMIT", 1]]
|
|
26
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "Label"], ["created_at", "2022-02-28 19:35:39.871537"], ["updated_at", "2022-02-28 19:35:39.871537"]]
|
|
10
27
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
11
|
-
[1m[36mTRANSACTION (0.
|
|
12
|
-
[1m[36mCategorical::Tag Exists? (0.
|
|
13
|
-
[1m[36mTRANSACTION (0.
|
|
28
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
29
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
30
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
31
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
32
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
33
|
+
----------------------------------------------------
|
|
34
|
+
Categorical::TagTest: test_validates_length_of_label
|
|
35
|
+
----------------------------------------------------
|
|
36
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
37
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"], ["LIMIT", 1]]
|
|
38
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
14
39
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
15
40
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
16
41
|
--------------------------------------------
|
|
17
42
|
Categorical::TagTest: test_has_many_taggings
|
|
18
43
|
--------------------------------------------
|
|
19
|
-
[1m[36mTRANSACTION (0.
|
|
20
|
-
[1m[36mCategorical::Tag Exists? (0.
|
|
21
|
-
[1m[36mCategorical::Tag Create (0.
|
|
22
|
-
[1m[36mTRANSACTION (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
23
|
-
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
24
|
-
[1m[36mCategorical::Tagging Create (0.4ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("tag_id") VALUES ($1) RETURNING "id"[0m [["tag_id", 2]]
|
|
44
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
45
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
46
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-02-28 19:35:39.886347"], ["updated_at", "2022-02-28 19:35:39.886347"]]
|
|
25
47
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
26
|
-
[1m[
|
|
27
|
-
[1m[
|
|
48
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
49
|
+
[1m[36mCategorical::Tagging Create (0.6ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("tag_id") VALUES ($1) RETURNING "id"[0m [["tag_id", 3]]
|
|
50
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
51
|
+
[1m[36mCategorical::Tagging Load (0.2ms)[0m [1m[34mSELECT "categorical_taggings".* FROM "categorical_taggings" WHERE "categorical_taggings"."tag_id" = $1[0m [["tag_id", 3]]
|
|
52
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
28
53
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
29
54
|
------------------------------------------------------
|
|
30
|
-
Categorical::TagTest:
|
|
55
|
+
Categorical::TagTest: test_fetching_taggables_by_class
|
|
31
56
|
------------------------------------------------------
|
|
57
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
58
|
+
[1m[36mCategorical::Tag Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
59
|
+
[1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-02-28 19:35:39.987777"], ["updated_at", "2022-02-28 19:35:39.987777"]]
|
|
60
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
61
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "tag"], ["created_at", "2022-02-28 19:35:39.989966"], ["updated_at", "2022-02-28 19:35:39.989966"]]
|
|
62
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("taggable_id", "taggable_type", "tag_id") VALUES ($1, $2, $3) RETURNING "id"[0m [["taggable_id", 1], ["taggable_type", "Post"], ["tag_id", 4]]
|
|
63
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
64
|
+
[1m[36mCategorical::Tagging Load (0.2ms)[0m [1m[34mSELECT "categorical_taggings".* FROM "categorical_taggings" WHERE "categorical_taggings"."tag_id" = $1 AND "categorical_taggings"."taggable_type" = $2[0m [["tag_id", 4], ["taggable_type", "Post"]]
|
|
65
|
+
[1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."id" = $1[0m [["id", 1]]
|
|
66
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK[0m
|
|
67
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
68
|
+
--------------------------------------------------------
|
|
69
|
+
Categorical::TagTest: test_validates_uniqueness_of_label
|
|
70
|
+
--------------------------------------------------------
|
|
32
71
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
33
|
-
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE "categorical_tags"."label"
|
|
72
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
73
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-02-28 19:35:39.999418"], ["updated_at", "2022-02-28 19:35:39.999418"]]
|
|
74
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
75
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
76
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
34
77
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
35
78
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
36
79
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
80
|
+
-----------------------------------------------------------------------
|
|
81
|
+
Categorical::TaggableTest: test_taggable_has_many_tags_through_taggings
|
|
82
|
+
-----------------------------------------------------------------------
|
|
83
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
84
|
+
[1m[36mCategorical::Tag Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
85
|
+
[1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-02-28 19:35:40.032405"], ["updated_at", "2022-02-28 19:35:40.032405"]]
|
|
86
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
87
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "tag"], ["created_at", "2022-02-28 19:35:40.034514"], ["updated_at", "2022-02-28 19:35:40.034514"]]
|
|
88
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("taggable_id", "taggable_type", "tag_id") VALUES ($1, $2, $3) RETURNING "id"[0m [["taggable_id", 2], ["taggable_type", "Post"], ["tag_id", 6]]
|
|
89
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
90
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
91
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
92
|
+
-----------------------------------------------------
|
|
93
|
+
Categorical::TaggingTest: test_tagging_belongs_to_tag
|
|
94
|
+
-----------------------------------------------------
|
|
95
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
96
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
97
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-02-28 19:35:40.041581"], ["updated_at", "2022-02-28 19:35:40.041581"]]
|
|
98
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
99
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
100
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" DEFAULT VALUES RETURNING "id"[0m
|
|
101
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
102
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
103
|
+
[1m[36mCategorical::Tagging Update (0.3ms)[0m [1m[33mUPDATE "categorical_taggings" SET "tag_id" = $1 WHERE "categorical_taggings"."id" = $2[0m [["tag_id", 7], ["id", 4]]
|
|
104
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
105
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
106
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
107
|
+
----------------------------------------------------------
|
|
108
|
+
Categorical::TaggingTest: test_tagging_belongs_to_taggable
|
|
109
|
+
----------------------------------------------------------
|
|
110
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
111
|
+
[1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-02-28 19:35:40.050398"], ["updated_at", "2022-02-28 19:35:40.050398"]]
|
|
112
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
113
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
114
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" DEFAULT VALUES RETURNING "id"[0m
|
|
115
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
116
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
117
|
+
[1m[36mCategorical::Tagging Update (0.3ms)[0m [1m[33mUPDATE "categorical_taggings" SET "taggable_id" = $1, "taggable_type" = $2 WHERE "categorical_taggings"."id" = $3[0m [["taggable_id", 3], ["taggable_type", "Post"], ["id", 5]]
|
|
118
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
119
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
120
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
|
121
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
122
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
|
|
123
|
+
-----------------------------------------------------------------------
|
|
124
|
+
Categorical::TaggableTest: test_taggable_has_many_tags_through_taggings
|
|
125
|
+
-----------------------------------------------------------------------
|
|
126
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
127
|
+
[1m[36mCategorical::Tag Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
128
|
+
[1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-03-01 14:19:49.399617"], ["updated_at", "2022-03-01 14:19:49.399617"]]
|
|
129
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
130
|
+
[1m[36mCategorical::Tag Create (0.3ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "tag"], ["created_at", "2022-03-01 14:19:49.402055"], ["updated_at", "2022-03-01 14:19:49.402055"]]
|
|
131
|
+
[1m[36mCategorical::Tagging Create (0.3ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("taggable_id", "taggable_type", "tag_id") VALUES ($1, $2, $3) RETURNING "id"[0m [["taggable_id", 1], ["taggable_type", "Post"], ["tag_id", 1]]
|
|
132
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
133
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
134
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
37
135
|
--------------------------------------------------------
|
|
38
136
|
Categorical::TagTest: test_validates_uniqueness_of_label
|
|
39
137
|
--------------------------------------------------------
|
|
40
138
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
41
|
-
[1m[36mCategorical::Tag Exists? (0.
|
|
42
|
-
[1m[36mCategorical::Tag Create (0.
|
|
139
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
140
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-03-01 14:19:49.408332"], ["updated_at", "2022-03-01 14:19:49.408332"]]
|
|
43
141
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
44
142
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
45
143
|
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
46
144
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
47
145
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
48
146
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
49
|
-
|
|
50
|
-
Categorical::TagTest:
|
|
51
|
-
|
|
52
|
-
[1m[36mTRANSACTION (0.
|
|
53
|
-
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "
|
|
54
|
-
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "
|
|
147
|
+
---------------------------------------------------------------------------
|
|
148
|
+
Categorical::TagTest: test_validates_uniqueness_of_label_not_case_sensitive
|
|
149
|
+
---------------------------------------------------------------------------
|
|
150
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
151
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "Label"], ["LIMIT", 1]]
|
|
152
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "Label"], ["created_at", "2022-03-01 14:19:49.419554"], ["updated_at", "2022-03-01 14:19:49.419554"]]
|
|
55
153
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
56
|
-
[1m[36mTRANSACTION (0.
|
|
154
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
155
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
156
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
157
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
57
158
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
58
159
|
------------------------------------------------------
|
|
59
|
-
Categorical::TagTest:
|
|
160
|
+
Categorical::TagTest: test_validates_presence_of_label
|
|
60
161
|
------------------------------------------------------
|
|
61
|
-
[1m[36mTRANSACTION (0.
|
|
62
|
-
[1m[36mCategorical::Tag Exists? (0.
|
|
63
|
-
[1m[
|
|
64
|
-
[1m[36mCategorical::Tag Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
65
|
-
[1m[36mCategorical::Tag Create (0.4ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "tag"], ["created_at", "2020-12-19 15:25:59.575863"], ["updated_at", "2020-12-19 15:25:59.575863"]]
|
|
66
|
-
[1m[36mCategorical::Tagging Create (0.7ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("taggable_id", "taggable_type", "tag_id") VALUES ($1, $2, $3) RETURNING "id"[0m [["taggable_id", 1], ["taggable_type", "Post"], ["tag_id", 5]]
|
|
67
|
-
[1m[36mTRANSACTION (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
68
|
-
[1m[36mCategorical::Tagging Load (0.2ms)[0m [1m[34mSELECT "categorical_taggings".* FROM "categorical_taggings" WHERE "categorical_taggings"."tag_id" = $1 AND "categorical_taggings"."taggable_type" = $2[0m [["tag_id", 5], ["taggable_type", "Post"]]
|
|
69
|
-
[1m[36mPost Load (0.3ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."id" = $1[0m [["id", 1]]
|
|
162
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
163
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE "categorical_tags"."label" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
|
164
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
70
165
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
71
166
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
72
167
|
----------------------------------------------------
|
|
@@ -74,7 +169,43 @@ Categorical::TagTest: test_validates_length_of_label
|
|
|
74
169
|
----------------------------------------------------
|
|
75
170
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
76
171
|
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"], ["LIMIT", 1]]
|
|
77
|
-
[1m[36mTRANSACTION (0.
|
|
172
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
173
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
174
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
175
|
+
--------------------------------------------
|
|
176
|
+
Categorical::TagTest: test_has_many_taggings
|
|
177
|
+
--------------------------------------------
|
|
178
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
179
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
180
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-03-01 14:19:49.440091"], ["updated_at", "2022-03-01 14:19:49.440091"]]
|
|
181
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
182
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
183
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("tag_id") VALUES ($1) RETURNING "id"[0m [["tag_id", 4]]
|
|
184
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
185
|
+
[1m[36mCategorical::Tagging Load (0.2ms)[0m [1m[34mSELECT "categorical_taggings".* FROM "categorical_taggings" WHERE "categorical_taggings"."tag_id" = $1[0m [["tag_id", 4]]
|
|
186
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
187
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
188
|
+
------------------------------------------------------
|
|
189
|
+
Categorical::TagTest: test_fetching_taggables_by_class
|
|
190
|
+
------------------------------------------------------
|
|
191
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
192
|
+
[1m[36mCategorical::Tag Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
193
|
+
[1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-03-01 14:19:49.470653"], ["updated_at", "2022-03-01 14:19:49.470653"]]
|
|
194
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
195
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "tag"], ["created_at", "2022-03-01 14:19:49.473443"], ["updated_at", "2022-03-01 14:19:49.473443"]]
|
|
196
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("taggable_id", "taggable_type", "tag_id") VALUES ($1, $2, $3) RETURNING "id"[0m [["taggable_id", 2], ["taggable_type", "Post"], ["tag_id", 5]]
|
|
197
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
198
|
+
[1m[36mCategorical::Tagging Load (0.2ms)[0m [1m[34mSELECT "categorical_taggings".* FROM "categorical_taggings" WHERE "categorical_taggings"."tag_id" = $1 AND "categorical_taggings"."taggable_type" = $2[0m [["tag_id", 5], ["taggable_type", "Post"]]
|
|
199
|
+
[1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."id" = $1[0m [["id", 2]]
|
|
200
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
201
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
202
|
+
-------------------------------
|
|
203
|
+
Categorical::TagTest: test_to_s
|
|
204
|
+
-------------------------------
|
|
205
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
206
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
207
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-03-01 14:19:49.482865"], ["updated_at", "2022-03-01 14:19:49.482865"]]
|
|
208
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
78
209
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
79
210
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
80
211
|
-----------------------------------------------------
|
|
@@ -82,13 +213,13 @@ Categorical::TaggingTest: test_tagging_belongs_to_tag
|
|
|
82
213
|
-----------------------------------------------------
|
|
83
214
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
84
215
|
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
85
|
-
[1m[36mCategorical::Tag Create (0.
|
|
216
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-03-01 14:19:49.488633"], ["updated_at", "2022-03-01 14:19:49.488633"]]
|
|
86
217
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
87
|
-
[1m[36mTRANSACTION (0.
|
|
218
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
88
219
|
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" DEFAULT VALUES RETURNING "id"[0m
|
|
89
220
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
90
221
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
91
|
-
[1m[36mCategorical::Tagging Update (0.2ms)[0m [1m[33mUPDATE "categorical_taggings" SET "tag_id" = $1 WHERE "categorical_taggings"."id" = $2[0m [["tag_id",
|
|
222
|
+
[1m[36mCategorical::Tagging Update (0.2ms)[0m [1m[33mUPDATE "categorical_taggings" SET "tag_id" = $1 WHERE "categorical_taggings"."id" = $2[0m [["tag_id", 7], ["id", 4]]
|
|
92
223
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
93
224
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
94
225
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
@@ -96,24 +227,131 @@ Categorical::TaggingTest: test_tagging_belongs_to_tag
|
|
|
96
227
|
Categorical::TaggingTest: test_tagging_belongs_to_taggable
|
|
97
228
|
----------------------------------------------------------
|
|
98
229
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
99
|
-
[1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "
|
|
230
|
+
[1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-03-01 14:19:49.497241"], ["updated_at", "2022-03-01 14:19:49.497241"]]
|
|
100
231
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
101
232
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
102
233
|
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" DEFAULT VALUES RETURNING "id"[0m
|
|
103
234
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
104
235
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
105
|
-
[1m[36mCategorical::Tagging Update (0.
|
|
236
|
+
[1m[36mCategorical::Tagging Update (0.2ms)[0m [1m[33mUPDATE "categorical_taggings" SET "taggable_id" = $1, "taggable_type" = $2 WHERE "categorical_taggings"."id" = $3[0m [["taggable_id", 3], ["taggable_type", "Post"], ["id", 5]]
|
|
106
237
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
107
238
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
239
|
+
[1m[36mActiveRecord::InternalMetadata Pluck (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
|
240
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
108
241
|
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
|
|
109
242
|
-----------------------------------------------------------------------
|
|
110
243
|
Categorical::TaggableTest: test_taggable_has_many_tags_through_taggings
|
|
111
244
|
-----------------------------------------------------------------------
|
|
112
|
-
[1m[36mTRANSACTION (0.
|
|
113
|
-
[1m[36mCategorical::Tag Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
114
|
-
[1m[36mPost Create (0.5ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2020-12-19 15:25:59.605162"], ["updated_at", "2020-12-19 15:25:59.605162"]]
|
|
245
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
115
246
|
[1m[36mCategorical::Tag Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
116
|
-
[1m[
|
|
117
|
-
[1m[36mCategorical::
|
|
247
|
+
[1m[36mPost Create (0.4ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-03-01 14:21:21.088888"], ["updated_at", "2022-03-01 14:21:21.088888"]]
|
|
248
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
249
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "tag"], ["created_at", "2022-03-01 14:21:21.091372"], ["updated_at", "2022-03-01 14:21:21.091372"]]
|
|
250
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("taggable_id", "taggable_type", "tag_id") VALUES ($1, $2, $3) RETURNING "id"[0m [["taggable_id", 4], ["taggable_type", "Post"], ["tag_id", 8]]
|
|
118
251
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
119
252
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
253
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
254
|
+
-----------------------------------------------------
|
|
255
|
+
Categorical::TaggingTest: test_tagging_belongs_to_tag
|
|
256
|
+
-----------------------------------------------------
|
|
257
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
258
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
259
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-03-01 14:21:21.117957"], ["updated_at", "2022-03-01 14:21:21.117957"]]
|
|
260
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
261
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
262
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" DEFAULT VALUES RETURNING "id"[0m
|
|
263
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
264
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
265
|
+
[1m[36mCategorical::Tagging Update (0.3ms)[0m [1m[33mUPDATE "categorical_taggings" SET "tag_id" = $1 WHERE "categorical_taggings"."id" = $2[0m [["tag_id", 9], ["id", 7]]
|
|
266
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
267
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
268
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
269
|
+
----------------------------------------------------------
|
|
270
|
+
Categorical::TaggingTest: test_tagging_belongs_to_taggable
|
|
271
|
+
----------------------------------------------------------
|
|
272
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
273
|
+
[1m[36mPost Create (0.3ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-03-01 14:21:21.127131"], ["updated_at", "2022-03-01 14:21:21.127131"]]
|
|
274
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
275
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
276
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" DEFAULT VALUES RETURNING "id"[0m
|
|
277
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
278
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
279
|
+
[1m[36mCategorical::Tagging Update (0.2ms)[0m [1m[33mUPDATE "categorical_taggings" SET "taggable_id" = $1, "taggable_type" = $2 WHERE "categorical_taggings"."id" = $3[0m [["taggable_id", 5], ["taggable_type", "Post"], ["id", 8]]
|
|
280
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
281
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
282
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
283
|
+
----------------------------------------------------
|
|
284
|
+
Categorical::TagTest: test_validates_length_of_label
|
|
285
|
+
----------------------------------------------------
|
|
286
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
287
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"], ["LIMIT", 1]]
|
|
288
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
289
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
290
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
291
|
+
------------------------------------------------------
|
|
292
|
+
Categorical::TagTest: test_validates_presence_of_label
|
|
293
|
+
------------------------------------------------------
|
|
294
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
295
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE "categorical_tags"."label" IS NULL LIMIT $1[0m [["LIMIT", 1]]
|
|
296
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
297
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
298
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
299
|
+
-------------------------------
|
|
300
|
+
Categorical::TagTest: test_to_s
|
|
301
|
+
-------------------------------
|
|
302
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
303
|
+
[1m[36mCategorical::Tag Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
304
|
+
[1m[36mCategorical::Tag Create (0.3ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-03-01 14:21:21.153215"], ["updated_at", "2022-03-01 14:21:21.153215"]]
|
|
305
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
306
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
307
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
308
|
+
--------------------------------------------
|
|
309
|
+
Categorical::TagTest: test_has_many_taggings
|
|
310
|
+
--------------------------------------------
|
|
311
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
312
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
313
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-03-01 14:21:21.159034"], ["updated_at", "2022-03-01 14:21:21.159034"]]
|
|
314
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
315
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
316
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("tag_id") VALUES ($1) RETURNING "id"[0m [["tag_id", 11]]
|
|
317
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
318
|
+
[1m[36mCategorical::Tagging Load (0.2ms)[0m [1m[34mSELECT "categorical_taggings".* FROM "categorical_taggings" WHERE "categorical_taggings"."tag_id" = $1[0m [["tag_id", 11]]
|
|
319
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
320
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
321
|
+
------------------------------------------------------
|
|
322
|
+
Categorical::TagTest: test_fetching_taggables_by_class
|
|
323
|
+
------------------------------------------------------
|
|
324
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
325
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
326
|
+
[1m[36mPost Create (0.2ms)[0m [1m[32mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2022-03-01 14:21:21.170599"], ["updated_at", "2022-03-01 14:21:21.170599"]]
|
|
327
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "tag"], ["LIMIT", 1]]
|
|
328
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "tag"], ["created_at", "2022-03-01 14:21:21.172494"], ["updated_at", "2022-03-01 14:21:21.172494"]]
|
|
329
|
+
[1m[36mCategorical::Tagging Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_taggings" ("taggable_id", "taggable_type", "tag_id") VALUES ($1, $2, $3) RETURNING "id"[0m [["taggable_id", 6], ["taggable_type", "Post"], ["tag_id", 12]]
|
|
330
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
331
|
+
[1m[36mCategorical::Tagging Load (0.1ms)[0m [1m[34mSELECT "categorical_taggings".* FROM "categorical_taggings" WHERE "categorical_taggings"."tag_id" = $1 AND "categorical_taggings"."taggable_type" = $2[0m [["tag_id", 12], ["taggable_type", "Post"]]
|
|
332
|
+
[1m[36mPost Load (0.2ms)[0m [1m[34mSELECT "posts".* FROM "posts" WHERE "posts"."id" = $1[0m [["id", 6]]
|
|
333
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
334
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[35mBEGIN[0m
|
|
335
|
+
---------------------------------------------------------------------------
|
|
336
|
+
Categorical::TagTest: test_validates_uniqueness_of_label_not_case_sensitive
|
|
337
|
+
---------------------------------------------------------------------------
|
|
338
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
339
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "Label"], ["LIMIT", 1]]
|
|
340
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "Label"], ["created_at", "2022-03-01 14:21:21.182380"], ["updated_at", "2022-03-01 14:21:21.182380"]]
|
|
341
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
342
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
343
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
344
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
345
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
346
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
|
347
|
+
--------------------------------------------------------
|
|
348
|
+
Categorical::TagTest: test_validates_uniqueness_of_label
|
|
349
|
+
--------------------------------------------------------
|
|
350
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
351
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
352
|
+
[1m[36mCategorical::Tag Create (0.2ms)[0m [1m[32mINSERT INTO "categorical_tags" ("label", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["label", "label"], ["created_at", "2022-03-01 14:21:21.191288"], ["updated_at", "2022-03-01 14:21:21.191288"]]
|
|
353
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
354
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
355
|
+
[1m[36mCategorical::Tag Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "categorical_tags" WHERE LOWER("categorical_tags"."label") = LOWER($1) LIMIT $2[0m [["label", "label"], ["LIMIT", 1]]
|
|
356
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
357
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK[0m
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: categorical
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Klina
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-03-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 7.0.2
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 7.0.2
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: tzinfo-data
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,7 +94,6 @@ files:
|
|
|
94
94
|
- test/dummy/config/environments/development.rb
|
|
95
95
|
- test/dummy/config/environments/production.rb
|
|
96
96
|
- test/dummy/config/environments/test.rb
|
|
97
|
-
- test/dummy/config/initializers/assets.rb
|
|
98
97
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
99
98
|
- test/dummy/config/initializers/cookies_serializer.rb
|
|
100
99
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
@@ -121,7 +120,7 @@ homepage: https://github.com/jklina/categorical
|
|
|
121
120
|
licenses:
|
|
122
121
|
- MIT
|
|
123
122
|
metadata: {}
|
|
124
|
-
post_install_message:
|
|
123
|
+
post_install_message:
|
|
125
124
|
rdoc_options: []
|
|
126
125
|
require_paths:
|
|
127
126
|
- lib
|
|
@@ -129,60 +128,59 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
129
128
|
requirements:
|
|
130
129
|
- - ">="
|
|
131
130
|
- !ruby/object:Gem::Version
|
|
132
|
-
version:
|
|
131
|
+
version: 3.0.0
|
|
133
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
133
|
requirements:
|
|
135
134
|
- - ">="
|
|
136
135
|
- !ruby/object:Gem::Version
|
|
137
136
|
version: '0'
|
|
138
137
|
requirements: []
|
|
139
|
-
rubygems_version: 3.
|
|
140
|
-
signing_key:
|
|
138
|
+
rubygems_version: 3.3.7
|
|
139
|
+
signing_key:
|
|
141
140
|
specification_version: 4
|
|
142
141
|
summary: Provides basic tagging for Rails applications
|
|
143
142
|
test_files:
|
|
144
|
-
- test/test_helper.rb
|
|
145
143
|
- test/categorical_test.rb
|
|
146
|
-
- test/models/categorical/concerns/taggable_test.rb
|
|
147
|
-
- test/models/categorical/tagging_test.rb
|
|
148
|
-
- test/models/categorical/tag_test.rb
|
|
149
144
|
- test/dummy/README.rdoc
|
|
150
|
-
- test/dummy/config.ru
|
|
151
145
|
- test/dummy/Rakefile
|
|
152
|
-
- test/dummy/app/views/layouts/application.html.erb
|
|
153
|
-
- test/dummy/app/helpers/application_helper.rb
|
|
154
|
-
- test/dummy/app/models/post.rb
|
|
155
|
-
- test/dummy/app/controllers/application_controller.rb
|
|
156
|
-
- test/dummy/app/assets/stylesheets/application.css
|
|
157
146
|
- test/dummy/app/assets/config/manifest.js
|
|
158
147
|
- test/dummy/app/assets/javascripts/application.js
|
|
159
|
-
- test/dummy/
|
|
160
|
-
- test/dummy/
|
|
161
|
-
- test/dummy/
|
|
162
|
-
- test/dummy/
|
|
148
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
149
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
150
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
151
|
+
- test/dummy/app/models/post.rb
|
|
152
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
153
|
+
- test/dummy/bin/bundle
|
|
154
|
+
- test/dummy/bin/rails
|
|
155
|
+
- test/dummy/bin/rake
|
|
156
|
+
- test/dummy/bin/setup
|
|
157
|
+
- test/dummy/config/application.rb
|
|
163
158
|
- test/dummy/config/boot.rb
|
|
159
|
+
- test/dummy/config/database.yml
|
|
160
|
+
- test/dummy/config/environment.rb
|
|
161
|
+
- test/dummy/config/environments/development.rb
|
|
162
|
+
- test/dummy/config/environments/production.rb
|
|
163
|
+
- test/dummy/config/environments/test.rb
|
|
164
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
165
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
|
164
166
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
|
165
167
|
- test/dummy/config/initializers/inflections.rb
|
|
166
168
|
- test/dummy/config/initializers/mime_types.rb
|
|
167
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
|
168
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
|
169
169
|
- test/dummy/config/initializers/session_store.rb
|
|
170
|
-
- test/dummy/config/initializers/
|
|
171
|
-
- test/dummy/config/initializers/assets.rb
|
|
172
|
-
- test/dummy/config/application.rb
|
|
170
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
173
171
|
- test/dummy/config/locales/en.yml
|
|
174
|
-
- test/dummy/config/environments/development.rb
|
|
175
|
-
- test/dummy/config/environments/test.rb
|
|
176
|
-
- test/dummy/config/environments/production.rb
|
|
177
172
|
- test/dummy/config/routes.rb
|
|
178
|
-
- test/dummy/config/environment.rb
|
|
179
173
|
- test/dummy/config/secrets.yml
|
|
180
|
-
- test/dummy/config
|
|
181
|
-
- test/dummy/
|
|
182
|
-
- test/dummy/
|
|
183
|
-
- test/dummy/
|
|
184
|
-
- test/dummy/
|
|
185
|
-
- test/dummy/public/422.html
|
|
186
|
-
- test/dummy/public/favicon.ico
|
|
174
|
+
- test/dummy/config.ru
|
|
175
|
+
- test/dummy/db/migrate/20151003185718_create_posts.rb
|
|
176
|
+
- test/dummy/db/schema.rb
|
|
177
|
+
- test/dummy/log/development.log
|
|
178
|
+
- test/dummy/log/test.log
|
|
187
179
|
- test/dummy/public/404.html
|
|
180
|
+
- test/dummy/public/422.html
|
|
188
181
|
- test/dummy/public/500.html
|
|
182
|
+
- test/dummy/public/favicon.ico
|
|
183
|
+
- test/models/categorical/concerns/taggable_test.rb
|
|
184
|
+
- test/models/categorical/tag_test.rb
|
|
185
|
+
- test/models/categorical/tagging_test.rb
|
|
186
|
+
- test/test_helper.rb
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
|
2
|
-
|
|
3
|
-
# Version of your assets, change this if you want to expire all your assets.
|
|
4
|
-
Rails.application.config.assets.version = '1.0'
|
|
5
|
-
|
|
6
|
-
# Add additional assets to the asset load path
|
|
7
|
-
# Rails.application.config.assets.paths << Emoji.images_path
|
|
8
|
-
|
|
9
|
-
# Precompile additional assets.
|
|
10
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
|
11
|
-
# Rails.application.config.assets.precompile += %w( search.js )
|