enum_extensions 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/enum_extensions/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1 -687
- data/test/enum_extensions_test.rb +0 -1
- metadata +30 -35
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 86232e7a74a70ba7ca3b5aef4612061cffe2710ae6e9e196a79bfceb4e88e8e3
|
4
|
+
data.tar.gz: 254f2c254e15ab5d1c40911ba30e00395efc6c3086bf48ac3fa0d44284cc1f5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 854061153494c66e883c69e635cd0b382aca5cca2423bd01c9ae42774ff1940b3d9f115a6d5634bc5a07bddd3dfcd19b9e1c7679eb75dc0e614d77eda04d6568
|
7
|
+
data.tar.gz: 37649094898ff671aad3dc05339d14a16a89cc5d66bb0d1438fcdaa7291ff76a49ac5c1de65c8b401a8a4b545203dfb654c8a1a33900326aecaf1ab6ba3b023b
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -1,687 +1 @@
|
|
1
|
-
[1m[35m (
|
2
|
-
------------------------------
|
3
|
-
EnumExtensionsTest: test_truth
|
4
|
-
------------------------------
|
5
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
6
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
7
|
-
------------------------------
|
8
|
-
EnumExtensionsTest: test_truth
|
9
|
-
------------------------------
|
10
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
12
|
-
------------------------------
|
13
|
-
EnumExtensionsTest: test_truth
|
14
|
-
------------------------------
|
15
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
16
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
17
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
18
|
-
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
19
|
-
[1m[35m (1.0ms)[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
|
20
|
-
[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]]
|
21
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
22
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-08-09 23:48:56 UTC], ["updated_at", 2016-08-09 23:48:56 UTC]]
|
23
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
24
|
-
[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]]
|
25
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
26
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
27
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
28
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
29
|
-
------------------------------
|
30
|
-
EnumExtensionsTest: test_truth
|
31
|
-
------------------------------
|
32
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
33
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
34
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
35
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
36
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
37
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
38
|
-
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
39
|
-
[1m[35m (1.1ms)[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
|
40
|
-
[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]]
|
41
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
42
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-08-09 23:49:34 UTC], ["updated_at", 2016-08-09 23:49:34 UTC]]
|
43
|
-
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
44
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
45
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
46
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
47
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
48
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
49
|
-
------------------------------
|
50
|
-
EnumExtensionsTest: test_truth
|
51
|
-
------------------------------
|
52
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
53
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
54
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
56
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "format" varchar, "status" integer DEFAULT 0, "read_status" integer DEFAULT 0, "nullable_status" integer)[0m
|
57
|
-
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
58
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
59
|
-
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20151002191153')[0m
|
60
|
-
[1m[35m (1.1ms)[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
|
61
|
-
[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]]
|
62
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
63
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-08-09 23:53:44 UTC], ["updated_at", 2016-08-09 23:53:44 UTC]]
|
64
|
-
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
65
|
-
[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]]
|
66
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
67
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
68
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
69
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
70
|
-
[1m[36mFixture Delete (1.2ms)[0m [1m[31mDELETE FROM "books"[0m
|
71
|
-
[1m[36mFixture Insert (0.2ms)[0m [1m[32mINSERT INTO "books" ("id", "name", "format") VALUES (1, 'Agile Web Development with Rails', 'paperback')[0m
|
72
|
-
[1m[36mFixture Insert (0.2ms)[0m [1m[32mINSERT INTO "books" ("id", "name", "format") VALUES (2, 'Ruby for Rails', 'ebook')[0m
|
73
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
74
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
75
|
-
-----------------------------------------------------------------------------
|
76
|
-
EnumExtensionsTest: test_enum_attribute_changed_from_old_status_to_new_status
|
77
|
-
-----------------------------------------------------------------------------
|
78
|
-
[1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
79
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
80
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
81
|
-
------------------------------------------------
|
82
|
-
EnumExtensionsTest: test_enum_changed_attributes
|
83
|
-
------------------------------------------------
|
84
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
85
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
86
|
-
[1m[35m (13.8ms)[0m [1m[36mbegin transaction[0m
|
87
|
-
-------------------------------
|
88
|
-
EnumExtensionsTest: test_module
|
89
|
-
-------------------------------
|
90
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
91
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
92
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
93
|
-
----------------------------------------------
|
94
|
-
EnumExtensionsTest: test_enums_are_inheritable
|
95
|
-
----------------------------------------------
|
96
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
97
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
98
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
99
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
100
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
101
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
102
|
-
--------------------------------------------------
|
103
|
-
EnumExtensionsTest: test_enum_attribute_changed_to
|
104
|
-
--------------------------------------------------
|
105
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
106
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
107
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
108
|
-
-------------------------------------
|
109
|
-
EnumExtensionsTest: test_enum_changes
|
110
|
-
-------------------------------------
|
111
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
112
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
113
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
114
|
-
-----------------------------------------------
|
115
|
-
EnumExtensionsTest: test_enum_attribute_changed
|
116
|
-
-----------------------------------------------
|
117
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
118
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
119
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
120
|
-
-------------------------------------------------------
|
121
|
-
EnumExtensionsTest: test_constant_to_access_the_mapping
|
122
|
-
-------------------------------------------------------
|
123
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
124
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
125
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
126
|
-
------------------------------------------------------------------
|
127
|
-
EnumExtensionsTest: test_assign_non_existing_value_raises_an_error
|
128
|
-
------------------------------------------------------------------
|
129
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
130
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
131
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
132
|
-
-----------------------------------------------------
|
133
|
-
EnumExtensionsTest: test_enums_are_distinct_per_class
|
134
|
-
-----------------------------------------------------
|
135
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
136
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
137
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
138
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
139
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
140
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
141
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
142
|
-
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
143
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
144
|
-
-------------------------------------------------
|
145
|
-
EnumExtensionsTest: test_query_state_with_strings
|
146
|
-
-------------------------------------------------
|
147
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
148
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
149
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
150
|
-
--------------------------------------------------------------------------------------------
|
151
|
-
EnumExtensionsTest: test__before_type_cast_returns_the_enum_label_(required_for_form_fields)
|
152
|
-
--------------------------------------------------------------------------------------------
|
153
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
154
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
155
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
156
|
-
-----------------------------------------
|
157
|
-
EnumExtensionsTest: test_assign_nil_value
|
158
|
-
-----------------------------------------
|
159
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
160
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
161
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
162
|
-
---------------------------------------------
|
163
|
-
EnumExtensionsTest: test_reserved_enum_values
|
164
|
-
---------------------------------------------
|
165
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
166
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
167
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
168
|
-
------------------------------------------
|
169
|
-
EnumExtensionsTest: test_direct_assignment
|
170
|
-
------------------------------------------
|
171
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
172
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
173
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
174
|
-
-------------------------------------------
|
175
|
-
EnumExtensionsTest: test_enum_didn't_change
|
176
|
-
-------------------------------------------
|
177
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
178
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
179
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
180
|
-
----------------------------------------------------
|
181
|
-
EnumExtensionsTest: test_enum_attribute_changed_from
|
182
|
-
----------------------------------------------------
|
183
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
184
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
185
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
186
|
-
-------------------------------------------------------
|
187
|
-
EnumExtensionsTest: test_assign_long_empty_string_value
|
188
|
-
-------------------------------------------------------
|
189
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
190
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
191
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
192
|
-
------------------------------------------------------------
|
193
|
-
EnumExtensionsTest: test_reverted_changes_that_are_not_dirty
|
194
|
-
------------------------------------------------------------
|
195
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
196
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
197
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
198
|
-
-----------------------------------------
|
199
|
-
EnumExtensionsTest: test_update_by_setter
|
200
|
-
-----------------------------------------
|
201
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
202
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
203
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "books" SET "status" = ? WHERE "books"."id" = ?[0m [["status", 1], ["id", 1]]
|
204
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
205
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
206
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
207
|
-
--------------------------------------------
|
208
|
-
EnumExtensionsTest: test_validate_uniqueness
|
209
|
-
--------------------------------------------
|
210
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
211
|
-
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "books"[0m
|
212
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
213
|
-
[1m[36mBook Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 0], ["LIMIT", 1]]
|
214
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
215
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
216
|
-
[1m[36mBook Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 1], ["LIMIT", 1]]
|
217
|
-
[1m[36mBook Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 0], ["LIMIT", 1]]
|
218
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
219
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
220
|
-
-------------------------------------------
|
221
|
-
EnumExtensionsTest: test_enum_attribute_was
|
222
|
-
-------------------------------------------
|
223
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
224
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
225
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
226
|
-
-------------------------------------------------------
|
227
|
-
EnumExtensionsTest: test_persist_changes_that_are_dirty
|
228
|
-
-------------------------------------------------------
|
229
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
230
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
231
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
232
|
-
--------------------------------------------------
|
233
|
-
EnumExtensionsTest: test_assign_empty_string_value
|
234
|
-
--------------------------------------------------
|
235
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
236
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
237
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
238
|
-
-------------------------------------------------------------
|
239
|
-
EnumExtensionsTest: test_validate_inclusion_of_value_in_array
|
240
|
-
-------------------------------------------------------------
|
241
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
242
|
-
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "books"[0m
|
243
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
244
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
245
|
-
--------------------------------------------
|
246
|
-
EnumExtensionsTest: test_reserved_enum_names
|
247
|
-
--------------------------------------------
|
248
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
249
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
250
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
251
|
-
----------------------------------------------------------------------------------------
|
252
|
-
EnumExtensionsTest: test_reverted_changes_are_not_dirty_going_from_nil_to_value_and_back
|
253
|
-
----------------------------------------------------------------------------------------
|
254
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
255
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
256
|
-
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
257
|
-
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
258
|
-
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
259
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
260
|
-
--------------------------------------------
|
261
|
-
EnumExtensionsTest: test_assign_string_value
|
262
|
-
--------------------------------------------
|
263
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
264
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
265
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
266
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
267
|
-
[1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM "books"[0m
|
268
|
-
[1m[36mFixture Insert (0.4ms)[0m [1m[32mINSERT INTO "books" ("id", "name", "format") VALUES (1, 'Agile Web Development with Rails', 'paperback')[0m
|
269
|
-
[1m[36mFixture Insert (0.1ms)[0m [1m[32mINSERT INTO "books" ("id", "name", "format") VALUES (2, 'Ruby for Rails', 'ebook')[0m
|
270
|
-
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
271
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
272
|
-
----------------------------------------------
|
273
|
-
EnumExtensionsTest: test_enums_are_inheritable
|
274
|
-
----------------------------------------------
|
275
|
-
[1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
276
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
277
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
278
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
279
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
280
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
281
|
-
-----------------------------------------
|
282
|
-
EnumExtensionsTest: test_update_by_setter
|
283
|
-
-----------------------------------------
|
284
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
285
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
286
|
-
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "books" SET "status" = ? WHERE "books"."id" = ?[0m [["status", 1], ["id", 1]]
|
287
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
288
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
289
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
290
|
-
------------------------------------------
|
291
|
-
EnumExtensionsTest: test_direct_assignment
|
292
|
-
------------------------------------------
|
293
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
294
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
295
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
296
|
-
-------------------------------------------------------
|
297
|
-
EnumExtensionsTest: test_assign_long_empty_string_value
|
298
|
-
-------------------------------------------------------
|
299
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
300
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
301
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
302
|
-
-------------------------------------------------
|
303
|
-
EnumExtensionsTest: test_query_state_with_strings
|
304
|
-
-------------------------------------------------
|
305
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
306
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
307
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
308
|
-
----------------------------------------------------------------------------------------
|
309
|
-
EnumExtensionsTest: test_reverted_changes_are_not_dirty_going_from_nil_to_value_and_back
|
310
|
-
----------------------------------------------------------------------------------------
|
311
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
312
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
313
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
314
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
315
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
316
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
317
|
-
------------------------------------------------------------------
|
318
|
-
EnumExtensionsTest: test_assign_non_existing_value_raises_an_error
|
319
|
-
------------------------------------------------------------------
|
320
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
321
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
322
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
323
|
-
-------------------------------------
|
324
|
-
EnumExtensionsTest: test_enum_changes
|
325
|
-
-------------------------------------
|
326
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
327
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
328
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
329
|
-
----------------------------------------------------
|
330
|
-
EnumExtensionsTest: test_enum_attribute_changed_from
|
331
|
-
----------------------------------------------------
|
332
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
333
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
334
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
335
|
-
------------------------------------------------------------
|
336
|
-
EnumExtensionsTest: test_reverted_changes_that_are_not_dirty
|
337
|
-
------------------------------------------------------------
|
338
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
339
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
340
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
341
|
-
-----------------------------------------------------------------------------
|
342
|
-
EnumExtensionsTest: test_enum_attribute_changed_from_old_status_to_new_status
|
343
|
-
-----------------------------------------------------------------------------
|
344
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
345
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
346
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
347
|
-
--------------------------------------------------------------------------------------------
|
348
|
-
EnumExtensionsTest: test__before_type_cast_returns_the_enum_label_(required_for_form_fields)
|
349
|
-
--------------------------------------------------------------------------------------------
|
350
|
-
[1m[36mBook Load (1.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
351
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
352
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
353
|
-
-----------------------------------------------
|
354
|
-
EnumExtensionsTest: test_enum_attribute_changed
|
355
|
-
-----------------------------------------------
|
356
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
357
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
358
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
359
|
-
--------------------------------------------------
|
360
|
-
EnumExtensionsTest: test_enum_attribute_changed_to
|
361
|
-
--------------------------------------------------
|
362
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
363
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
364
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
365
|
-
--------------------------------------------
|
366
|
-
EnumExtensionsTest: test_assign_string_value
|
367
|
-
--------------------------------------------
|
368
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
369
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
370
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
371
|
-
--------------------------------------------------
|
372
|
-
EnumExtensionsTest: test_assign_empty_string_value
|
373
|
-
--------------------------------------------------
|
374
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
375
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
376
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
377
|
-
-----------------------------------------------------
|
378
|
-
EnumExtensionsTest: test_enums_are_distinct_per_class
|
379
|
-
-----------------------------------------------------
|
380
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
381
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
382
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
383
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
384
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
385
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
386
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
387
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
388
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
|
-
-------------------------------------------
|
390
|
-
EnumExtensionsTest: test_enum_attribute_was
|
391
|
-
-------------------------------------------
|
392
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
393
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
394
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
395
|
-
---------------------------------------------
|
396
|
-
EnumExtensionsTest: test_reserved_enum_values
|
397
|
-
---------------------------------------------
|
398
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
399
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
400
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
401
|
-
-----------------------------------------
|
402
|
-
EnumExtensionsTest: test_assign_nil_value
|
403
|
-
-----------------------------------------
|
404
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
405
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
406
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
407
|
-
-------------------------------------------------------
|
408
|
-
EnumExtensionsTest: test_persist_changes_that_are_dirty
|
409
|
-
-------------------------------------------------------
|
410
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
411
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
412
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
413
|
-
-------------------------------------------------------------
|
414
|
-
EnumExtensionsTest: test_validate_inclusion_of_value_in_array
|
415
|
-
-------------------------------------------------------------
|
416
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
417
|
-
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "books"[0m
|
418
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
419
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
420
|
-
--------------------------------------------
|
421
|
-
EnumExtensionsTest: test_validate_uniqueness
|
422
|
-
--------------------------------------------
|
423
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
424
|
-
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "books"[0m
|
425
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
426
|
-
[1m[36mBook Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 0], ["LIMIT", 1]]
|
427
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
428
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
429
|
-
[1m[36mBook Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 1], ["LIMIT", 1]]
|
430
|
-
[1m[36mBook Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 0], ["LIMIT", 1]]
|
431
|
-
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
432
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
433
|
-
------------------------------------------------
|
434
|
-
EnumExtensionsTest: test_enum_changed_attributes
|
435
|
-
------------------------------------------------
|
436
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
437
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
438
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
439
|
-
-------------------------------------------
|
440
|
-
EnumExtensionsTest: test_enum_didn't_change
|
441
|
-
-------------------------------------------
|
442
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
443
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
444
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
445
|
-
-------------------------------
|
446
|
-
EnumExtensionsTest: test_module
|
447
|
-
-------------------------------
|
448
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
449
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
450
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
451
|
-
--------------------------------------------
|
452
|
-
EnumExtensionsTest: test_reserved_enum_names
|
453
|
-
--------------------------------------------
|
454
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
455
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
456
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
457
|
-
-------------------------------------------------------
|
458
|
-
EnumExtensionsTest: test_constant_to_access_the_mapping
|
459
|
-
-------------------------------------------------------
|
460
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
461
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
462
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
463
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
464
|
-
[1m[36mFixture Delete (0.7ms)[0m [1m[31mDELETE FROM "books"[0m
|
465
|
-
[1m[36mFixture Insert (0.5ms)[0m [1m[32mINSERT INTO "books" ("id", "name", "format") VALUES (1, 'Agile Web Development with Rails', 'paperback')[0m
|
466
|
-
[1m[36mFixture Insert (0.1ms)[0m [1m[32mINSERT INTO "books" ("id", "name", "format") VALUES (2, 'Ruby for Rails', 'ebook')[0m
|
467
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
468
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
469
|
-
-------------------------------------------------------
|
470
|
-
EnumExtensionsTest: test_assign_long_empty_string_value
|
471
|
-
-------------------------------------------------------
|
472
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
473
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
474
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
475
|
-
-------------------------------------------
|
476
|
-
EnumExtensionsTest: test_enum_attribute_was
|
477
|
-
-------------------------------------------
|
478
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
479
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
480
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
481
|
-
-----------------------------------------------------------------------------
|
482
|
-
EnumExtensionsTest: test_enum_attribute_changed_from_old_status_to_new_status
|
483
|
-
-----------------------------------------------------------------------------
|
484
|
-
[1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
485
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
486
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
487
|
-
---------------------------------------------
|
488
|
-
EnumExtensionsTest: test_reserved_enum_values
|
489
|
-
---------------------------------------------
|
490
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
491
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
492
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
493
|
-
----------------------------------------------------
|
494
|
-
EnumExtensionsTest: test_enum_attribute_changed_from
|
495
|
-
----------------------------------------------------
|
496
|
-
[1m[36mBook Load (0.3ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
497
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
498
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
499
|
-
------------------------------------------
|
500
|
-
EnumExtensionsTest: test_direct_assignment
|
501
|
-
------------------------------------------
|
502
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
503
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
504
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
505
|
-
-------------------------------------------------------
|
506
|
-
EnumExtensionsTest: test_constant_to_access_the_mapping
|
507
|
-
-------------------------------------------------------
|
508
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
509
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
510
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
511
|
-
-------------------------------------------------------------
|
512
|
-
EnumExtensionsTest: test_validate_inclusion_of_value_in_array
|
513
|
-
-------------------------------------------------------------
|
514
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
515
|
-
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "books"[0m
|
516
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
517
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
518
|
-
--------------------------------------------------
|
519
|
-
EnumExtensionsTest: test_assign_empty_string_value
|
520
|
-
--------------------------------------------------
|
521
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
522
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
523
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
524
|
-
-----------------------------------------------
|
525
|
-
EnumExtensionsTest: test_enum_attribute_changed
|
526
|
-
-----------------------------------------------
|
527
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
528
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
529
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
530
|
-
-------------------------------
|
531
|
-
EnumExtensionsTest: test_module
|
532
|
-
-------------------------------
|
533
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
534
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
535
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
536
|
-
-----------------------------------------
|
537
|
-
EnumExtensionsTest: test_update_by_setter
|
538
|
-
-----------------------------------------
|
539
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
540
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
541
|
-
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "books" SET "status" = ? WHERE "books"."id" = ?[0m [["status", 1], ["id", 1]]
|
542
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
543
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
544
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
545
|
-
-----------------------------------------------------
|
546
|
-
EnumExtensionsTest: test_enums_are_distinct_per_class
|
547
|
-
-----------------------------------------------------
|
548
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
549
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
550
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
551
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
552
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
553
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
554
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
555
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
556
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
557
|
-
-----------------------------------------
|
558
|
-
EnumExtensionsTest: test_assign_nil_value
|
559
|
-
-----------------------------------------
|
560
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
561
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
562
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
563
|
-
--------------------------------------------
|
564
|
-
EnumExtensionsTest: test_assign_string_value
|
565
|
-
--------------------------------------------
|
566
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
567
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
568
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
569
|
-
-------------------------------------------
|
570
|
-
EnumExtensionsTest: test_enum_didn't_change
|
571
|
-
-------------------------------------------
|
572
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
573
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
574
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
575
|
-
-------------------------------------------------
|
576
|
-
EnumExtensionsTest: test_query_state_with_strings
|
577
|
-
-------------------------------------------------
|
578
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
579
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
580
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
581
|
-
--------------------------------------------------------------------------------------------
|
582
|
-
EnumExtensionsTest: test__before_type_cast_returns_the_enum_label_(required_for_form_fields)
|
583
|
-
--------------------------------------------------------------------------------------------
|
584
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
585
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
586
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
587
|
-
-------------------------------------
|
588
|
-
EnumExtensionsTest: test_enum_changes
|
589
|
-
-------------------------------------
|
590
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
591
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
592
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
593
|
-
----------------------------------------------------------------------------------------
|
594
|
-
EnumExtensionsTest: test_reverted_changes_are_not_dirty_going_from_nil_to_value_and_back
|
595
|
-
----------------------------------------------------------------------------------------
|
596
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
597
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
598
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
599
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
600
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
601
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
602
|
-
--------------------------------------------
|
603
|
-
EnumExtensionsTest: test_validate_uniqueness
|
604
|
-
--------------------------------------------
|
605
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
606
|
-
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "books"[0m
|
607
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
608
|
-
[1m[36mBook Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 0], ["LIMIT", 1]]
|
609
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
610
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
611
|
-
[1m[36mBook Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 1], ["LIMIT", 1]]
|
612
|
-
[1m[36mBook Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "books" WHERE "books"."status" = ? LIMIT ?[0m [["status", 0], ["LIMIT", 1]]
|
613
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
614
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
615
|
-
-------------------------------------------------------
|
616
|
-
EnumExtensionsTest: test_persist_changes_that_are_dirty
|
617
|
-
-------------------------------------------------------
|
618
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
619
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
620
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
621
|
-
------------------------------------------------------------
|
622
|
-
EnumExtensionsTest: test_reverted_changes_that_are_not_dirty
|
623
|
-
------------------------------------------------------------
|
624
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
625
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
626
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
627
|
-
--------------------------------------------
|
628
|
-
EnumExtensionsTest: test_reserved_enum_names
|
629
|
-
--------------------------------------------
|
630
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
631
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
632
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
633
|
-
--------------------------------------------------
|
634
|
-
EnumExtensionsTest: test_enum_attribute_changed_to
|
635
|
-
--------------------------------------------------
|
636
|
-
[1m[36mBook Load (0.6ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
637
|
-
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
638
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
639
|
-
------------------------------------------------
|
640
|
-
EnumExtensionsTest: test_enum_changed_attributes
|
641
|
-
------------------------------------------------
|
642
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
643
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
644
|
-
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
645
|
-
------------------------------------------------------------------
|
646
|
-
EnumExtensionsTest: test_assign_non_existing_value_raises_an_error
|
647
|
-
------------------------------------------------------------------
|
648
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
649
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
650
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
651
|
-
----------------------------------------------
|
652
|
-
EnumExtensionsTest: test_enums_are_inheritable
|
653
|
-
----------------------------------------------
|
654
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
655
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
656
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "books" DEFAULT VALUES[0m
|
657
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
658
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
659
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
660
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
661
|
-
[1m[36mFixture Delete (0.6ms)[0m [1m[31mDELETE FROM "books"[0m
|
662
|
-
[1m[36mFixture Insert (0.4ms)[0m [1m[32mINSERT INTO "books" ("id", "name", "format") VALUES (1, 'Agile Web Development with Rails', 'paperback')[0m
|
663
|
-
[1m[36mFixture Insert (0.1ms)[0m [1m[32mINSERT INTO "books" ("id", "name", "format") VALUES (2, 'Ruby for Rails', 'ebook')[0m
|
664
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
665
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
666
|
-
--------------------------------------------
|
667
|
-
EnumExtensionsTest: test_reserved_enum_names
|
668
|
-
--------------------------------------------
|
669
|
-
[1m[36mBook Load (0.2ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
670
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
671
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
672
|
-
-------------------------------------------------
|
673
|
-
EnumExtensionsTest: test_query_state_with_strings
|
674
|
-
-------------------------------------------------
|
675
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
676
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
677
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
678
|
-
--------------------------------------------------------------------------------------------
|
679
|
-
EnumExtensionsTest: test__before_type_cast_returns_the_enum_label_(required_for_form_fields)
|
680
|
-
--------------------------------------------------------------------------------------------
|
681
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
682
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
683
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
684
|
-
-------------------------------------------
|
685
|
-
EnumExtensionsTest: test_enum_attribute_was
|
686
|
-
-------------------------------------------
|
687
|
-
[1m[36mBook Load (0.1ms)[0m [1m[34mSELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1
|
+
[1m[35m (6.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enum_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesús Dugarte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6'
|
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: '6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '6'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sqlite3
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -96,11 +96,9 @@ files:
|
|
96
96
|
- test/dummy/config/locales/en.yml
|
97
97
|
- test/dummy/config/routes.rb
|
98
98
|
- test/dummy/config/secrets.yml
|
99
|
-
- test/dummy/db/development.sqlite3
|
100
99
|
- test/dummy/db/migrate/20151002191153_create_books.rb
|
101
100
|
- test/dummy/db/schema.rb
|
102
101
|
- test/dummy/db/test.sqlite3
|
103
|
-
- test/dummy/log/development.log
|
104
102
|
- test/dummy/log/test.log
|
105
103
|
- test/dummy/public/404.html
|
106
104
|
- test/dummy/public/422.html
|
@@ -128,52 +126,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
126
|
- !ruby/object:Gem::Version
|
129
127
|
version: '0'
|
130
128
|
requirements: []
|
131
|
-
|
132
|
-
rubygems_version: 2.5.1
|
129
|
+
rubygems_version: 3.0.6
|
133
130
|
signing_key:
|
134
131
|
specification_version: 4
|
135
132
|
summary: Scopeless enums, and some syntactic sugar for string enums
|
136
133
|
test_files:
|
134
|
+
- test/dummy/app/models/book.rb
|
135
|
+
- test/dummy/app/controllers/application_controller.rb
|
136
|
+
- test/dummy/app/views/layouts/application.html.erb
|
137
137
|
- test/dummy/app/assets/javascripts/application.js
|
138
138
|
- test/dummy/app/assets/stylesheets/application.css
|
139
|
-
- test/dummy/app/controllers/application_controller.rb
|
140
139
|
- test/dummy/app/helpers/application_helper.rb
|
141
|
-
- test/dummy/app/models/book.rb
|
142
|
-
- test/dummy/app/views/layouts/application.html.erb
|
143
|
-
- test/dummy/bin/bundle
|
144
|
-
- test/dummy/bin/rails
|
145
140
|
- test/dummy/bin/rake
|
146
141
|
- test/dummy/bin/setup
|
147
|
-
- test/dummy/
|
148
|
-
- test/dummy/
|
149
|
-
- test/dummy/config/
|
150
|
-
- test/dummy/config/
|
151
|
-
- test/dummy/config/
|
142
|
+
- test/dummy/bin/bundle
|
143
|
+
- test/dummy/bin/rails
|
144
|
+
- test/dummy/config/secrets.yml
|
145
|
+
- test/dummy/config/routes.rb
|
146
|
+
- test/dummy/config/locales/en.yml
|
152
147
|
- test/dummy/config/environments/production.rb
|
148
|
+
- test/dummy/config/environments/development.rb
|
153
149
|
- test/dummy/config/environments/test.rb
|
154
|
-
- test/dummy/config/
|
150
|
+
- test/dummy/config/environment.rb
|
151
|
+
- test/dummy/config/application.rb
|
152
|
+
- test/dummy/config/database.yml
|
153
|
+
- test/dummy/config/boot.rb
|
155
154
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
156
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
157
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
158
|
-
- test/dummy/config/initializers/inflections.rb
|
159
155
|
- test/dummy/config/initializers/mime_types.rb
|
156
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
160
157
|
- test/dummy/config/initializers/session_store.rb
|
161
158
|
- test/dummy/config/initializers/wrap_parameters.rb
|
162
|
-
- test/dummy/config/
|
163
|
-
- test/dummy/config/
|
164
|
-
- test/dummy/config/
|
159
|
+
- test/dummy/config/initializers/assets.rb
|
160
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
161
|
+
- test/dummy/config/initializers/inflections.rb
|
165
162
|
- test/dummy/config.ru
|
166
|
-
- test/dummy/
|
167
|
-
- test/dummy/
|
163
|
+
- test/dummy/Rakefile
|
164
|
+
- test/dummy/public/favicon.ico
|
165
|
+
- test/dummy/public/422.html
|
166
|
+
- test/dummy/public/500.html
|
167
|
+
- test/dummy/public/404.html
|
168
168
|
- test/dummy/db/schema.rb
|
169
169
|
- test/dummy/db/test.sqlite3
|
170
|
-
- test/dummy/
|
170
|
+
- test/dummy/db/migrate/20151002191153_create_books.rb
|
171
171
|
- test/dummy/log/test.log
|
172
|
-
- test/dummy/public/404.html
|
173
|
-
- test/dummy/public/422.html
|
174
|
-
- test/dummy/public/500.html
|
175
|
-
- test/dummy/public/favicon.ico
|
176
|
-
- test/dummy/Rakefile
|
177
172
|
- test/dummy/README.rdoc
|
178
173
|
- test/enum_extensions_test.rb
|
179
174
|
- test/fixtures/books.yml
|
Binary file
|
@@ -1,8 +0,0 @@
|
|
1
|
-
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/jd/Dropbox/rails/activerecord-enum-extensions/test/dummy/config/environment.rb:5)
|
2
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3
|
-
[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
|
4
|
-
[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]]
|
5
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2016-08-09 23:48:44 UTC], ["updated_at", 2016-08-09 23:48:44 UTC]]
|
7
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
8
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|