after_commit_queue 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/after_commit_queue/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +18 -584
- metadata +49 -37
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -55
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e433311ed540c64198826ce29c13d199bd932f2f
|
4
|
+
data.tar.gz: 903b98ef62043d34abb9e56748ade38b11dc5d8d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8cbc6429372bfcef3802025c4e3cb24562f6b3744c109f8b4289d15f72fdb68a967dc64d41415e4f867e7f7f1232e151bbb36081ef41b1e610e5ad571381c433
|
7
|
+
data.tar.gz: ba5bf64c08c5062aea023bd2852b5779e61fe611b56ab1b8c64c5894ab01c569faf793cb46abb28919e1a67b1063558514000ddc1b89810807d86c8a98e78ebc
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -1,303 +1,32 @@
|
|
1
|
-
|
2
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3
|
-
[1m[35mSQL (10.2ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 01 Jun 2013 22:14:16 UTC +00:00], ["state", "running"], ["updated_at", Sat, 01 Jun 2013 22:14:16 UTC +00:00]]
|
4
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
5
|
-
[1m[35m (0.1ms)[0m begin transaction
|
6
|
-
[1m[36m (0.4ms)[0m [1mUPDATE "servers" SET "state" = 'turned_off', "updated_at" = '2013-06-01 22:14:16.525379' WHERE "servers"."id" = 1[0m
|
7
|
-
[1m[35m (3.0ms)[0m commit transaction
|
8
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 01 Jun 2013 22:14:16 UTC +00:00], ["state", "running"], ["updated_at", Sat, 01 Jun 2013 22:14:16 UTC +00:00]]
|
10
|
-
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
11
|
-
[1m[35m (0.1ms)[0m begin transaction
|
12
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 01 Jun 2013 22:14:16 UTC +00:00], ["state", "running"], ["updated_at", Sat, 01 Jun 2013 22:14:16 UTC +00:00]]
|
13
|
-
[1m[35m (6.4ms)[0m commit transaction
|
14
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15
|
-
[1m[35m (0.4ms)[0m UPDATE "servers" SET "state" = 'crashed', "updated_at" = '2013-06-01 22:14:16.547687' WHERE "servers"."id" = 2
|
16
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
17
|
-
[1m[35m (0.1ms)[0m begin transaction
|
18
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 01 Jun 2013 22:14:16 UTC +00:00], ["state", "running"], ["updated_at", Sat, 01 Jun 2013 22:14:16 UTC +00:00]]
|
19
|
-
[1m[35m (0.8ms)[0m commit transaction
|
20
|
-
Connecting to database specified by database.yml
|
21
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22
|
-
[1m[35mSQL (3.2ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 01 Jun 2013 22:14:26 UTC +00:00], ["state", "running"], ["updated_at", Sat, 01 Jun 2013 22:14:26 UTC +00:00]]
|
23
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
24
|
-
[1m[35m (0.0ms)[0m begin transaction
|
25
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "servers" SET "state" = 'turned_off', "updated_at" = '2013-06-01 22:14:26.675346' WHERE "servers"."id" = 1[0m
|
26
|
-
[1m[35m (0.9ms)[0m commit transaction
|
27
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 01 Jun 2013 22:14:26 UTC +00:00], ["state", "running"], ["updated_at", Sat, 01 Jun 2013 22:14:26 UTC +00:00]]
|
29
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
30
|
-
[1m[35m (0.0ms)[0m begin transaction
|
31
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 01 Jun 2013 22:14:26 UTC +00:00], ["state", "running"], ["updated_at", Sat, 01 Jun 2013 22:14:26 UTC +00:00]]
|
32
|
-
[1m[35m (1.4ms)[0m commit transaction
|
33
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34
|
-
[1m[35m (0.5ms)[0m UPDATE "servers" SET "state" = 'crashed', "updated_at" = '2013-06-01 22:14:26.684702' WHERE "servers"."id" = 2
|
35
|
-
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
36
|
-
[1m[35m (0.0ms)[0m begin transaction
|
37
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 01 Jun 2013 22:14:26 UTC +00:00], ["state", "running"], ["updated_at", Sat, 01 Jun 2013 22:14:26 UTC +00:00]]
|
38
|
-
[1m[35m (0.6ms)[0m commit transaction
|
39
|
-
Connecting to database specified by database.yml
|
40
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41
|
-
[1m[35mSQL (5.8ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00]]
|
42
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
43
|
-
[1m[35m (0.0ms)[0m begin transaction
|
44
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "servers" SET "state" = 'turned_off', "updated_at" = '2013-07-24 06:43:51.699293' WHERE "servers"."id" = 1[0m
|
45
|
-
[1m[35m (0.9ms)[0m commit transaction
|
46
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00]]
|
48
|
-
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
49
|
-
[1m[35m (0.2ms)[0m begin transaction
|
50
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00]]
|
51
|
-
[1m[35m (0.6ms)[0m commit transaction
|
52
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
53
|
-
[1m[35m (0.2ms)[0m UPDATE "servers" SET "state" = 'turned_off', "updated_at" = '2013-07-24 06:43:51.711309' WHERE "servers"."id" = 2
|
54
|
-
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
55
|
-
[1m[35m (0.0ms)[0m begin transaction
|
56
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "servers" SET "state" = 'uninstalled', "updated_at" = '2013-07-24 06:43:51.713271' WHERE "servers"."id" = 2[0m
|
57
|
-
[1m[35m (0.5ms)[0m commit transaction
|
58
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
59
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00]]
|
60
|
-
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
61
|
-
[1m[35m (0.0ms)[0m begin transaction
|
62
|
-
[1m[36m (0.3ms)[0m [1mUPDATE "servers" SET "state" = 'crashed', "updated_at" = '2013-07-24 06:43:51.717490' WHERE "servers"."id" = 3[0m
|
63
|
-
[1m[35m (0.5ms)[0m commit transaction
|
64
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
65
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:43:51 UTC +00:00]]
|
66
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
67
|
-
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
68
|
-
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
69
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
70
|
-
Migrating to CreateServers (20120622135717)
|
71
|
-
[1m[35m (0.0ms)[0m begin transaction
|
72
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
73
|
-
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
74
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
75
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
76
|
-
[1m[36m (1.2ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
77
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
78
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
79
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
80
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
81
|
-
[1m[36m (2.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
82
|
-
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
83
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
84
|
-
Migrating to CreateServers (20120622135717)
|
85
|
-
[1m[35m (0.0ms)[0m begin transaction
|
86
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
87
|
-
[1m[35mSQL (1.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
88
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
89
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
90
|
-
[1m[36m (1.0ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
91
|
-
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
92
|
-
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
93
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
94
|
-
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
95
|
-
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
96
2
|
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
97
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
98
4
|
Migrating to CreateServers (20120622135717)
|
99
|
-
[1m[35m (0.0ms)[0m begin transaction
|
100
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
101
|
-
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
102
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
103
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
104
|
-
[1m[36m (1.1ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
105
|
-
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
106
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
107
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
108
|
-
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
109
|
-
--------------------------------------------------------------------
|
110
|
-
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
111
|
-
--------------------------------------------------------------------
|
112
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
113
|
-
[1m[35mSQL (3.0ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
114
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
115
|
-
[1m[35m (0.1ms)[0m begin transaction
|
116
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
117
|
-
[1m[35m (0.9ms)[0m commit transaction
|
118
|
-
------------------------------------------------------
|
119
|
-
AfterCommitQueueTest: test_clears_queue_after_rollback
|
120
|
-
------------------------------------------------------
|
121
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
122
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
123
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
124
|
-
--------------------------------------------------------------------------
|
125
|
-
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
126
|
-
--------------------------------------------------------------------------
|
127
|
-
----------------------------------------------------------
|
128
|
-
AfterCommitQueueTest: test_external_observer_changes_state
|
129
|
-
----------------------------------------------------------
|
130
|
-
[1m[35m (0.1ms)[0m begin transaction
|
131
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
132
|
-
[1m[35m (0.6ms)[0m commit transaction
|
133
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
134
|
-
[1m[35mSQL (0.6ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
135
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
136
|
-
[1m[35m (0.0ms)[0m begin transaction
|
137
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
138
|
-
[1m[35m (0.7ms)[0m commit transaction
|
139
|
-
--------------------------------------------------------------------
|
140
|
-
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
141
|
-
--------------------------------------------------------------------
|
142
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
143
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
144
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
145
|
-
[1m[35m (0.0ms)[0m begin transaction
|
146
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
147
|
-
[1m[35m (1.0ms)[0m commit transaction
|
148
|
-
---------------------------------------------------------------------
|
149
|
-
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
150
|
-
---------------------------------------------------------------------
|
151
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
152
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:49:16 UTC +00:00]]
|
153
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
154
|
-
[1m[36m (3.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
155
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
156
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
157
|
-
Migrating to CreateServers (20120622135717)
|
158
|
-
[1m[35m (0.0ms)[0m begin transaction
|
159
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
160
|
-
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
161
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
162
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
163
|
-
[1m[36m (1.3ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
164
|
-
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
165
|
-
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
166
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
167
|
-
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
168
|
-
--------------------------------------------------------------------
|
169
|
-
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
170
|
-
--------------------------------------------------------------------
|
171
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
172
|
-
[1m[35mSQL (3.1ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
173
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
174
|
-
[1m[35m (0.0ms)[0m begin transaction
|
175
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
176
|
-
[1m[35m (0.6ms)[0m commit transaction
|
177
|
-
------------------------------------------------------
|
178
|
-
AfterCommitQueueTest: test_clears_queue_after_rollback
|
179
|
-
------------------------------------------------------
|
180
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
181
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
182
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
183
|
-
--------------------------------------------------------------------------
|
184
|
-
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
185
|
-
--------------------------------------------------------------------------
|
186
|
-
----------------------------------------------------------
|
187
|
-
AfterCommitQueueTest: test_external_observer_changes_state
|
188
|
-
----------------------------------------------------------
|
189
5
|
[1m[35m (0.1ms)[0m begin transaction
|
190
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
191
|
-
[1m[35m (1.0ms)[0m commit transaction
|
192
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
193
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
194
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
195
|
-
[1m[35m (0.0ms)[0m begin transaction
|
196
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
197
|
-
[1m[35m (0.9ms)[0m commit transaction
|
198
|
-
--------------------------------------------------------------------
|
199
|
-
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
200
|
-
--------------------------------------------------------------------
|
201
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
202
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
203
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
204
|
-
[1m[35m (0.1ms)[0m begin transaction
|
205
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
206
|
-
[1m[35m (1.0ms)[0m commit transaction
|
207
|
-
---------------------------------------------------------------------
|
208
|
-
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
209
|
-
---------------------------------------------------------------------
|
210
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
211
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:04 UTC +00:00]]
|
212
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
213
|
-
[1m[36m (3.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
214
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
215
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
216
|
-
Migrating to CreateServers (20120622135717)
|
217
|
-
[1m[35m (0.0ms)[0m begin transaction
|
218
6
|
[1m[36m (0.3ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
219
|
-
[1m[35mSQL (
|
220
|
-
[1m[36m (1.
|
7
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
8
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
221
9
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
222
|
-
[1m[36m (1.
|
10
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
223
11
|
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
224
12
|
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
225
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
226
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
227
|
-
--------------------------------------------------------------------
|
228
|
-
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
229
|
-
--------------------------------------------------------------------
|
230
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
231
|
-
[1m[35mSQL (3.0ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
232
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
233
|
-
[1m[35m (0.1ms)[0m begin transaction
|
234
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
235
|
-
[1m[35m (0.6ms)[0m commit transaction
|
236
|
-
------------------------------------------------------
|
237
|
-
AfterCommitQueueTest: test_clears_queue_after_rollback
|
238
|
-
------------------------------------------------------
|
239
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
240
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
241
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
242
|
-
--------------------------------------------------------------------------
|
243
|
-
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
244
|
-
--------------------------------------------------------------------------
|
245
|
-
----------------------------------------------------------
|
246
|
-
AfterCommitQueueTest: test_external_observer_changes_state
|
247
|
-
----------------------------------------------------------
|
248
|
-
[1m[35m (0.1ms)[0m begin transaction
|
249
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
250
|
-
[1m[35m (0.5ms)[0m commit transaction
|
251
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
252
|
-
[1m[35mSQL (0.5ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
253
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
254
|
-
[1m[35m (0.1ms)[0m begin transaction
|
255
|
-
[1m[36mSQL (0.6ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
256
|
-
[1m[35m (1.2ms)[0m commit transaction
|
257
|
-
--------------------------------------------------------------------
|
258
|
-
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
259
|
-
--------------------------------------------------------------------
|
260
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
261
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
262
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
263
|
-
[1m[35m (0.0ms)[0m begin transaction
|
264
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
265
|
-
[1m[35m (1.1ms)[0m commit transaction
|
266
|
-
---------------------------------------------------------------------
|
267
|
-
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
268
|
-
---------------------------------------------------------------------
|
269
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
270
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:50:54 UTC +00:00]]
|
271
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
272
|
-
[1m[36m (2.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
273
|
-
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
274
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
275
|
-
Migrating to CreateServers (20120622135717)
|
276
|
-
[1m[35m (0.0ms)[0m begin transaction
|
277
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
278
|
-
[1m[35mSQL (1.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
279
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
280
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
281
|
-
[1m[36m (1.3ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
282
|
-
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
283
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
284
13
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
285
|
-
[1m[36m (
|
14
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
286
15
|
--------------------------------------------------------------------
|
287
16
|
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
288
17
|
--------------------------------------------------------------------
|
289
18
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
290
|
-
[1m[35mSQL (
|
291
|
-
[1m[36m (
|
19
|
+
[1m[35mSQL (6.0ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00], ["state", "running"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
20
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
292
21
|
[1m[35m (0.0ms)[0m begin transaction
|
293
|
-
[1m[36mSQL (0.
|
22
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
294
23
|
[1m[35m (1.1ms)[0m commit transaction
|
295
24
|
------------------------------------------------------
|
296
25
|
AfterCommitQueueTest: test_clears_queue_after_rollback
|
297
26
|
------------------------------------------------------
|
298
27
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
299
|
-
[1m[35mSQL (0.
|
300
|
-
[1m[36m (
|
28
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00], ["state", "running"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
29
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
301
30
|
--------------------------------------------------------------------------
|
302
31
|
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
303
32
|
--------------------------------------------------------------------------
|
@@ -305,321 +34,26 @@ AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
|
305
34
|
AfterCommitQueueTest: test_external_observer_changes_state
|
306
35
|
----------------------------------------------------------
|
307
36
|
[1m[35m (0.1ms)[0m begin transaction
|
308
|
-
[1m[36mSQL (0.
|
309
|
-
[1m[35m (1.1ms)[0m commit transaction
|
310
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
311
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:51:12 UTC +00:00]]
|
312
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
313
|
-
[1m[35m (0.0ms)[0m begin transaction
|
314
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:51:12 UTC +00:00]]
|
37
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00], ["state", "running"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
315
38
|
[1m[35m (1.2ms)[0m commit transaction
|
316
|
-
--------------------------------------------------------------------
|
317
|
-
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
318
|
-
--------------------------------------------------------------------
|
319
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
320
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:51:12 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:51:12 UTC +00:00]]
|
321
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
322
|
-
[1m[35m (0.0ms)[0m begin transaction
|
323
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Wed, 24 Jul 2013 06:51:12 UTC +00:00]]
|
324
|
-
[1m[35m (0.9ms)[0m commit transaction
|
325
|
-
---------------------------------------------------------------------
|
326
|
-
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
327
|
-
---------------------------------------------------------------------
|
328
39
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
329
|
-
[1m[35mSQL (0.
|
330
|
-
[1m[36m (1.
|
331
|
-
[1m[36m (2.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
332
|
-
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
333
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
334
|
-
Migrating to CreateServers (20120622135717)
|
335
|
-
[1m[35m (0.0ms)[0m begin transaction
|
336
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
337
|
-
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
338
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
339
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
340
|
-
[1m[36m (1.2ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
341
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
342
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
343
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
344
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
345
|
-
--------------------------------------------------------------------
|
346
|
-
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
347
|
-
--------------------------------------------------------------------
|
348
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
349
|
-
[1m[35mSQL (3.0ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00]]
|
350
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
351
|
-
[1m[35m (0.1ms)[0m begin transaction
|
352
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00]]
|
353
|
-
[1m[35m (1.0ms)[0m commit transaction
|
354
|
-
------------------------------------------------------
|
355
|
-
AfterCommitQueueTest: test_clears_queue_after_rollback
|
356
|
-
------------------------------------------------------
|
357
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
358
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00]]
|
359
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
360
|
-
--------------------------------------------------------------------------
|
361
|
-
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
362
|
-
--------------------------------------------------------------------------
|
363
|
-
----------------------------------------------------------
|
364
|
-
AfterCommitQueueTest: test_external_observer_changes_state
|
365
|
-
----------------------------------------------------------
|
40
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
41
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
366
42
|
[1m[35m (0.1ms)[0m begin transaction
|
367
|
-
[1m[36mSQL (0.
|
368
|
-
[1m[35m (1.
|
369
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
370
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00]]
|
371
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
372
|
-
[1m[35m (0.0ms)[0m begin transaction
|
373
|
-
[1m[36mSQL (0.6ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00]]
|
374
|
-
[1m[35m (1.0ms)[0m commit transaction
|
43
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
44
|
+
[1m[35m (1.1ms)[0m commit transaction
|
375
45
|
--------------------------------------------------------------------
|
376
46
|
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
377
47
|
--------------------------------------------------------------------
|
378
48
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
379
|
-
[1m[35mSQL (0.
|
380
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
381
|
-
[1m[35m (0.0ms)[0m begin transaction
|
382
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00]]
|
383
|
-
[1m[35m (1.0ms)[0m commit transaction
|
384
|
-
---------------------------------------------------------------------
|
385
|
-
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
386
|
-
---------------------------------------------------------------------
|
387
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
388
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:51:40 UTC +00:00]]
|
389
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
390
|
-
[1m[36m (2.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
391
|
-
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
392
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
393
|
-
Migrating to CreateServers (20120622135717)
|
394
|
-
[1m[35m (0.0ms)[0m begin transaction
|
395
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
396
|
-
[1m[35mSQL (1.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
49
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00], ["state", "running"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
397
50
|
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
398
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
399
|
-
[1m[36m (1.2ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
400
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
401
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
402
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
403
|
-
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
404
|
-
--------------------------------------------------------------------
|
405
|
-
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
406
|
-
--------------------------------------------------------------------
|
407
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
408
|
-
[1m[35mSQL (3.0ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00]]
|
409
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
410
|
-
[1m[35m (0.1ms)[0m begin transaction
|
411
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00]]
|
412
|
-
[1m[35m (0.9ms)[0m commit transaction
|
413
|
-
------------------------------------------------------
|
414
|
-
AfterCommitQueueTest: test_clears_queue_after_rollback
|
415
|
-
------------------------------------------------------
|
416
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
417
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00]]
|
418
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
419
|
-
--------------------------------------------------------------------------
|
420
|
-
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
421
|
-
--------------------------------------------------------------------------
|
422
|
-
----------------------------------------------------------
|
423
|
-
AfterCommitQueueTest: test_external_observer_changes_state
|
424
|
-
----------------------------------------------------------
|
425
|
-
[1m[35m (0.1ms)[0m begin transaction
|
426
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00]]
|
427
|
-
[1m[35m (0.6ms)[0m commit transaction
|
428
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
429
|
-
[1m[35mSQL (0.5ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00]]
|
430
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
431
|
-
[1m[35m (0.0ms)[0m begin transaction
|
432
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00]]
|
433
|
-
[1m[35m (0.9ms)[0m commit transaction
|
434
|
-
--------------------------------------------------------------------
|
435
|
-
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
436
|
-
--------------------------------------------------------------------
|
437
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
438
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00]]
|
439
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
440
51
|
[1m[35m (0.0ms)[0m begin transaction
|
441
|
-
[1m[36mSQL (0.
|
442
|
-
[1m[35m (0.9ms)[0m commit transaction
|
443
|
-
---------------------------------------------------------------------
|
444
|
-
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
445
|
-
---------------------------------------------------------------------
|
446
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
447
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:03 UTC +00:00]]
|
448
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
449
|
-
[1m[36m (3.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
450
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
451
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
452
|
-
Migrating to CreateServers (20120622135717)
|
453
|
-
[1m[35m (0.1ms)[0m begin transaction
|
454
|
-
[1m[36m (0.6ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
455
|
-
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
456
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
457
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
458
|
-
[1m[36m (1.2ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
459
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
460
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
461
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
462
|
-
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
463
|
-
--------------------------------------------------------------------
|
464
|
-
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
465
|
-
--------------------------------------------------------------------
|
466
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
467
|
-
[1m[35mSQL (3.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
468
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
469
|
-
[1m[35m (0.1ms)[0m begin transaction
|
470
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
52
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
471
53
|
[1m[35m (0.7ms)[0m commit transaction
|
472
|
-
------------------------------------------------------
|
473
|
-
AfterCommitQueueTest: test_clears_queue_after_rollback
|
474
|
-
------------------------------------------------------
|
475
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
476
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
477
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
478
|
-
--------------------------------------------------------------------------
|
479
|
-
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
480
|
-
--------------------------------------------------------------------------
|
481
|
-
----------------------------------------------------------
|
482
|
-
AfterCommitQueueTest: test_external_observer_changes_state
|
483
|
-
----------------------------------------------------------
|
484
|
-
[1m[35m (0.1ms)[0m begin transaction
|
485
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
486
|
-
[1m[35m (0.6ms)[0m commit transaction
|
487
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
488
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
489
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
490
|
-
[1m[35m (0.1ms)[0m begin transaction
|
491
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
492
|
-
[1m[35m (0.9ms)[0m commit transaction
|
493
|
-
--------------------------------------------------------------------
|
494
|
-
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
495
|
-
--------------------------------------------------------------------
|
496
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
497
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
498
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
499
|
-
[1m[35m (0.0ms)[0m begin transaction
|
500
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
501
|
-
[1m[35m (1.0ms)[0m commit transaction
|
502
|
-
---------------------------------------------------------------------
|
503
|
-
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
504
|
-
---------------------------------------------------------------------
|
505
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
506
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:44 UTC +00:00]]
|
507
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
508
|
-
[1m[36m (2.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
509
|
-
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
510
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
511
|
-
Migrating to CreateServers (20120622135717)
|
512
|
-
[1m[35m (0.1ms)[0m begin transaction
|
513
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
514
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
515
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
516
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
517
|
-
[1m[36m (1.3ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
518
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
519
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
520
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
521
|
-
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
522
|
-
--------------------------------------------------------------------
|
523
|
-
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
524
|
-
--------------------------------------------------------------------
|
525
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
526
|
-
[1m[35mSQL (3.0ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00]]
|
527
|
-
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
528
|
-
[1m[35m (0.1ms)[0m begin transaction
|
529
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00]]
|
530
|
-
[1m[35m (0.6ms)[0m commit transaction
|
531
|
-
------------------------------------------------------
|
532
|
-
AfterCommitQueueTest: test_clears_queue_after_rollback
|
533
|
-
------------------------------------------------------
|
534
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
535
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00]]
|
536
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
537
|
-
--------------------------------------------------------------------------
|
538
|
-
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
539
|
-
--------------------------------------------------------------------------
|
540
|
-
----------------------------------------------------------
|
541
|
-
AfterCommitQueueTest: test_external_observer_changes_state
|
542
|
-
----------------------------------------------------------
|
543
|
-
[1m[35m (0.1ms)[0m begin transaction
|
544
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00]]
|
545
|
-
[1m[35m (0.7ms)[0m commit transaction
|
546
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
547
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00]]
|
548
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
549
|
-
[1m[35m (0.1ms)[0m begin transaction
|
550
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00]]
|
551
|
-
[1m[35m (1.1ms)[0m commit transaction
|
552
|
-
--------------------------------------------------------------------
|
553
|
-
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
554
|
-
--------------------------------------------------------------------
|
555
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
556
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00]]
|
557
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
558
|
-
[1m[35m (0.1ms)[0m begin transaction
|
559
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Wed, 24 Jul 2013 06:52:53 UTC +00:00]]
|
560
|
-
[1m[35m (1.1ms)[0m commit transaction
|
561
54
|
---------------------------------------------------------------------
|
562
55
|
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
563
56
|
---------------------------------------------------------------------
|
564
57
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
565
|
-
[1m[35mSQL (0.
|
566
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
567
|
-
[1m[36m (2.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
568
|
-
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
569
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
570
|
-
Migrating to CreateServers (20120622135717)
|
571
|
-
[1m[35m (0.1ms)[0m begin transaction
|
572
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
573
|
-
[1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120622135717"]]
|
574
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
575
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
576
|
-
[1m[36m (0.8ms)[0m [1mCREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
577
|
-
[1m[35m (1.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
578
|
-
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
579
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
580
|
-
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120622135717')[0m
|
581
|
-
--------------------------------------------------------------------
|
582
|
-
AfterCommitQueueTest: test_clear_queue_after_methods_from_are_called
|
583
|
-
--------------------------------------------------------------------
|
584
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
585
|
-
[1m[35mSQL (3.0ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
586
|
-
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
587
|
-
[1m[35m (0.1ms)[0m begin transaction
|
588
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 1[0m [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
589
|
-
[1m[35m (1.1ms)[0m commit transaction
|
590
|
-
------------------------------------------------------
|
591
|
-
AfterCommitQueueTest: test_clears_queue_after_rollback
|
592
|
-
------------------------------------------------------
|
593
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
594
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
595
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
596
|
-
--------------------------------------------------------------------------
|
597
|
-
AfterCommitQueueTest: test_clears_queue_even_when_no_callback_was_enqueued
|
598
|
-
--------------------------------------------------------------------------
|
599
|
-
----------------------------------------------------------
|
600
|
-
AfterCommitQueueTest: test_external_observer_changes_state
|
601
|
-
----------------------------------------------------------
|
602
|
-
[1m[35m (0.1ms)[0m begin transaction
|
603
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
604
|
-
[1m[35m (1.0ms)[0m commit transaction
|
605
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
606
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2 [["state", "turned_off"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
607
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
608
|
-
[1m[35m (0.1ms)[0m begin transaction
|
609
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 2[0m [["state", "uninstalled"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
610
|
-
[1m[35m (0.8ms)[0m commit transaction
|
611
|
-
--------------------------------------------------------------------
|
612
|
-
AfterCommitQueueTest: test_run_blocks_after_transaction_is_committed
|
613
|
-
--------------------------------------------------------------------
|
614
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
615
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
616
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
617
|
-
[1m[35m (0.0ms)[0m begin transaction
|
618
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "servers" SET "state" = ?, "updated_at" = ? WHERE "servers"."id" = 3[0m [["state", "crashed"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
619
|
-
[1m[35m (0.8ms)[0m commit transaction
|
620
|
-
---------------------------------------------------------------------
|
621
|
-
AfterCommitQueueTest: test_run_methods_after_transaction_is_committed
|
622
|
-
---------------------------------------------------------------------
|
623
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
624
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00], ["state", "running"], ["updated_at", Wed, 24 Jul 2013 06:53:11 UTC +00:00]]
|
58
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "servers" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00], ["state", "running"], ["updated_at", Tue, 29 Sep 2015 20:23:15 UTC +00:00]]
|
625
59
|
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: after_commit_queue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 1.1.0
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Grzegorz Kołodziejczyk
|
@@ -10,40 +9,64 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
type: :runtime
|
15
|
+
name: activerecord
|
18
16
|
requirement: !ruby/object:Gem::Requirement
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - ">="
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '3.0'
|
23
|
-
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
24
|
requirements:
|
26
|
-
- -
|
25
|
+
- - ">="
|
27
26
|
- !ruby/object:Gem::Version
|
28
27
|
version: '3.0'
|
29
|
-
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: state_machine
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
30
36
|
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
31
42
|
- !ruby/object:Gem::Dependency
|
32
43
|
name: sqlite3
|
33
|
-
type: :development
|
34
44
|
requirement: !ruby/object:Gem::Requirement
|
35
45
|
requirements:
|
36
|
-
- -
|
46
|
+
- - ">="
|
37
47
|
- !ruby/object:Gem::Version
|
38
48
|
version: '0'
|
39
|
-
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
40
51
|
version_requirements: !ruby/object:Gem::Requirement
|
41
52
|
requirements:
|
42
|
-
- -
|
53
|
+
- - ">="
|
43
54
|
- !ruby/object:Gem::Version
|
44
55
|
version: '0'
|
45
|
-
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rails
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
63
|
+
type: :development
|
46
64
|
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.0'
|
47
70
|
description: Plugin for running methods on ActiveRecord models after record is committed
|
48
71
|
email:
|
49
72
|
- devs@shellycloud.com
|
@@ -51,13 +74,15 @@ executables: []
|
|
51
74
|
extensions: []
|
52
75
|
extra_rdoc_files: []
|
53
76
|
files:
|
54
|
-
- lib/after_commit_queue/version.rb
|
55
|
-
- lib/after_commit_queue.rb
|
56
|
-
- lib/tasks/after_commit_queue_tasks.rake
|
57
77
|
- MIT-LICENSE
|
58
|
-
- Rakefile
|
59
78
|
- README.md
|
79
|
+
- Rakefile
|
80
|
+
- lib/after_commit_queue.rb
|
81
|
+
- lib/after_commit_queue/version.rb
|
82
|
+
- lib/tasks/after_commit_queue_tasks.rake
|
60
83
|
- test/after_commit_queue_test.rb
|
84
|
+
- test/dummy/README.rdoc
|
85
|
+
- test/dummy/Rakefile
|
61
86
|
- test/dummy/app/assets/javascripts/application.js
|
62
87
|
- test/dummy/app/assets/stylesheets/application.css
|
63
88
|
- test/dummy/app/controllers/application_controller.rb
|
@@ -65,6 +90,7 @@ files:
|
|
65
90
|
- test/dummy/app/models/server.rb
|
66
91
|
- test/dummy/app/models/server_observer.rb
|
67
92
|
- test/dummy/app/views/layouts/application.html.erb
|
93
|
+
- test/dummy/config.ru
|
68
94
|
- test/dummy/config/application.rb
|
69
95
|
- test/dummy/config/boot.rb
|
70
96
|
- test/dummy/config/database.yml
|
@@ -80,52 +106,40 @@ files:
|
|
80
106
|
- test/dummy/config/initializers/wrap_parameters.rb
|
81
107
|
- test/dummy/config/locales/en.yml
|
82
108
|
- test/dummy/config/routes.rb
|
83
|
-
- test/dummy/config.ru
|
84
|
-
- test/dummy/db/development.sqlite3
|
85
109
|
- test/dummy/db/migrate/20120622135717_create_servers.rb
|
86
110
|
- test/dummy/db/schema.rb
|
87
111
|
- test/dummy/db/test.sqlite3
|
88
|
-
- test/dummy/log/development.log
|
89
112
|
- test/dummy/log/test.log
|
90
113
|
- test/dummy/public/404.html
|
91
114
|
- test/dummy/public/422.html
|
92
115
|
- test/dummy/public/500.html
|
93
116
|
- test/dummy/public/favicon.ico
|
94
|
-
- test/dummy/Rakefile
|
95
|
-
- test/dummy/README.rdoc
|
96
117
|
- test/dummy/script/rails
|
97
118
|
- test/dummy/test/fixtures/servers.yml
|
98
119
|
- test/dummy/test/unit/server_test.rb
|
99
120
|
- test/test_helper.rb
|
100
121
|
homepage: https://github.com/shellycloud/after_commit_queue
|
101
122
|
licenses: []
|
123
|
+
metadata: {}
|
102
124
|
post_install_message:
|
103
125
|
rdoc_options: []
|
104
126
|
require_paths:
|
105
127
|
- lib
|
106
128
|
required_ruby_version: !ruby/object:Gem::Requirement
|
107
129
|
requirements:
|
108
|
-
- -
|
130
|
+
- - ">="
|
109
131
|
- !ruby/object:Gem::Version
|
110
|
-
segments:
|
111
|
-
- 0
|
112
|
-
hash: 3379039987841084501
|
113
132
|
version: '0'
|
114
|
-
none: false
|
115
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
134
|
requirements:
|
117
|
-
- -
|
135
|
+
- - ">="
|
118
136
|
- !ruby/object:Gem::Version
|
119
|
-
segments:
|
120
|
-
- 0
|
121
|
-
hash: 3379039987841084501
|
122
137
|
version: '0'
|
123
|
-
none: false
|
124
138
|
requirements: []
|
125
139
|
rubyforge_project:
|
126
|
-
rubygems_version:
|
140
|
+
rubygems_version: 2.4.5.1
|
127
141
|
signing_key:
|
128
|
-
specification_version:
|
142
|
+
specification_version: 4
|
129
143
|
summary: after_commit queue
|
130
144
|
test_files:
|
131
145
|
- test/after_commit_queue_test.rb
|
@@ -152,11 +166,9 @@ test_files:
|
|
152
166
|
- test/dummy/config/locales/en.yml
|
153
167
|
- test/dummy/config/routes.rb
|
154
168
|
- test/dummy/config.ru
|
155
|
-
- test/dummy/db/development.sqlite3
|
156
169
|
- test/dummy/db/migrate/20120622135717_create_servers.rb
|
157
170
|
- test/dummy/db/schema.rb
|
158
171
|
- test/dummy/db/test.sqlite3
|
159
|
-
- test/dummy/log/development.log
|
160
172
|
- test/dummy/log/test.log
|
161
173
|
- test/dummy/public/404.html
|
162
174
|
- test/dummy/public/422.html
|
Binary file
|
@@ -1,55 +0,0 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
-
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
5
|
-
[1m[35m (1.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
6
|
-
Migrating to CreateServers (20120622135717)
|
7
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
8
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
9
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120622135717')[0m
|
10
|
-
[1m[35m (1.1ms)[0m commit transaction
|
11
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
12
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
13
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
14
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15
|
-
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
16
|
-
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
17
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
18
|
-
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120622135717')
|
19
|
-
Connecting to database specified by database.yml
|
20
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
21
|
-
[1m[35m (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
22
|
-
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
23
|
-
[1m[35m (1.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
24
|
-
Migrating to CreateServers (20120622135717)
|
25
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
27
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120622135717')[0m
|
28
|
-
[1m[35m (1.2ms)[0m commit transaction
|
29
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
30
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
31
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
32
|
-
[1m[35m (1.3ms)[0m CREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
33
|
-
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
34
|
-
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
35
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
36
|
-
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120622135717')
|
37
|
-
Connecting to database specified by database.yml
|
38
|
-
Connecting to database specified by database.yml
|
39
|
-
[1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
|
40
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
41
|
-
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
42
|
-
[1m[35m (3.6ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
43
|
-
Migrating to CreateServers (20120622135717)
|
44
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
46
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120622135717')[0m
|
47
|
-
[1m[35m (1.1ms)[0m commit transaction
|
48
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
49
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
50
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
51
|
-
[1m[35m (1.2ms)[0m CREATE TABLE "servers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
52
|
-
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
53
|
-
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
54
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
55
|
-
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120622135717')
|