g5_updatable 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/g5_updatable/factories.rb +1 -0
- data/lib/g5_updatable/version.rb +1 -1
- data/spec/dummy/log/test.log +462 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3f217930a98d0426de2adc2d6f084c04f119f77
|
4
|
+
data.tar.gz: d64405973f1a794c1e32f45777574cd0924838f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9ddc9bfddb27697bc2b565878ed4f8867dabbd7674da26cec3c088313e7b3ee0648708d0b217c28cf8618b4250f94b9877558b2a3eb28c0c680b9f192f7baa4
|
7
|
+
data.tar.gz: 97d41ba4fcafa58e0300bf2139f9582d62b3abe84c9b9dc5a23a8c2f454ba5f57b3d1a3b3a51ed4c063b624077ce87365f85de7d27361921f372118464691fe9
|
data/lib/g5_updatable/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -3192,3 +3192,465 @@ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.5ms)
|
|
3192
3192
|
[1m[35m (0.3ms)[0m ROLLBACK
|
3193
3193
|
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3194
3194
|
[1m[35m (0.3ms)[0m ROLLBACK
|
3195
|
+
[1m[36mActiveRecord::SchemaMigration Load (38.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3196
|
+
[1m[35m (0.4ms)[0m BEGIN
|
3197
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
3198
|
+
[1m[35mSQL (59.7ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.067637"], ["updated_at", "2015-07-22 02:26:57.067637"]]
|
3199
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3200
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3201
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3202
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-07-22 02:26:57.168037"], ["id", 89]]
|
3203
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3204
|
+
[1m[35m (14.7ms)[0m SELECT COUNT(*) FROM "g5_updatable_clients"
|
3205
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
3206
|
+
[1m[35m (0.9ms)[0m BEGIN
|
3207
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
3208
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.203445"], ["updated_at", "2015-07-22 02:26:57.203445"]]
|
3209
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3210
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3211
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3212
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-07-22 02:26:57.207506"], ["id", 90]]
|
3213
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3214
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
3215
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
3216
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3217
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3218
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.213805"], ["updated_at", "2015-07-22 02:26:57.213805"]]
|
3219
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3220
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3221
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3222
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_clients" SET "urn" = $1, "name" = $2, "properties" = $3, "updated_at" = $4 WHERE "g5_updatable_clients"."id" = $5 [["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["updated_at", "2015-07-22 02:26:57.217715"], ["id", 91]]
|
3223
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3224
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
3225
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3226
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3227
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3228
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3229
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-07-22 02:26:57.224252"], ["updated_at", "2015-07-22 02:26:57.224252"]]
|
3230
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3231
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
3232
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3233
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3234
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3235
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3236
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-07-22 02:26:57.230464"], ["updated_at", "2015-07-22 02:26:57.230464"]]
|
3237
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3238
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "g5_updatable_clients"
|
3239
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3240
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3241
|
+
[1m[36mG5Updatable::Client Load (0.5ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3242
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3243
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-07-22 02:26:57.237409"], ["updated_at", "2015-07-22 02:26:57.237409"]]
|
3244
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
3245
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
3246
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."name" = $1 LIMIT 1 [["name", "Client Name"]]
|
3247
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3248
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3249
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3250
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3251
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-07-22 02:26:57.247933"], ["updated_at", "2015-07-22 02:26:57.247933"]]
|
3252
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3253
|
+
[1m[36mG5Updatable::Client Load (0.5ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
3254
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3255
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3256
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3257
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3258
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-07-22 02:26:57.255841"], ["updated_at", "2015-07-22 02:26:57.255841"]]
|
3259
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3260
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1
|
3261
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3262
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3263
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3264
|
+
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
3265
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Client Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"name\":\"Client Name\"}"], ["created_at", "2015-07-22 02:26:57.273566"], ["updated_at", "2015-07-22 02:26:57.273566"]]
|
3266
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3267
|
+
[1m[36mG5Updatable::Client Load (0.6ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" ORDER BY "g5_updatable_clients"."id" ASC LIMIT 1[0m
|
3268
|
+
[1m[35m (0.6ms)[0m ROLLBACK
|
3269
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
3270
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3271
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3272
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3273
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3274
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3275
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3276
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3277
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-07-22 02:26:57.312737"], ["updated_at", "2015-07-22 02:26:57.312737"]]
|
3278
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
3279
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 98]]
|
3280
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3281
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3282
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3283
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3284
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
3285
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3286
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3287
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.338314"], ["updated_at", "2015-07-22 02:26:57.338314"]]
|
3288
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3289
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
3290
|
+
[1m[35mSQL (15.8ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.347464"], ["updated_at", "2015-07-22 02:26:57.347464"]]
|
3291
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3292
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
3293
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3294
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3295
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3296
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3297
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3298
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3299
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3300
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3301
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3302
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3303
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3304
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3305
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3306
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3307
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3308
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3309
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3310
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3311
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3312
|
+
[1m[35m (0.5ms)[0m BEGIN
|
3313
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3314
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3315
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3316
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3317
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3318
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3319
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3320
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3321
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3322
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.440529"], ["updated_at", "2015-07-22 02:26:57.440529"]]
|
3323
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3324
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
3325
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.447462"], ["updated_at", "2015-07-22 02:26:57.447462"]]
|
3326
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3327
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3328
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.450569"], ["updated_at", "2015-07-22 02:26:57.450569"]]
|
3329
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3330
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3331
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.453208"], ["updated_at", "2015-07-22 02:26:57.453208"]]
|
3332
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3333
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3334
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.455863"], ["updated_at", "2015-07-22 02:26:57.455863"]]
|
3335
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3336
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
3337
|
+
Parameters: {"urn"=>"xxx"}
|
3338
|
+
[1m[35mG5Updatable::Client Load (0.5ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "xxx"]]
|
3339
|
+
Completed 404 Not Found in 2ms (ActiveRecord: 0.5ms)
|
3340
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3341
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3342
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3343
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.467495"], ["updated_at", "2015-07-22 02:26:57.467495"]]
|
3344
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3345
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3346
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.470840"], ["updated_at", "2015-07-22 02:26:57.470840"]]
|
3347
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3348
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3349
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.473622"], ["updated_at", "2015-07-22 02:26:57.473622"]]
|
3350
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3351
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3352
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.475831"], ["updated_at", "2015-07-22 02:26:57.475831"]]
|
3353
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3354
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3355
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.478626"], ["updated_at", "2015-07-22 02:26:57.478626"]]
|
3356
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3357
|
+
Processing by G5Updatable::SyncsController#index as HTML
|
3358
|
+
Parameters: {"urn"=>"g5-c-1234-client"}
|
3359
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."urn" = $1 LIMIT 1 [["urn", "g5-c-1234-client"]]
|
3360
|
+
[1m[36m (0.4ms)[0m [1mSELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
3361
|
+
Completed 200 OK in 15ms (Views: 10.8ms | ActiveRecord: 0.8ms)
|
3362
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3363
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3364
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3365
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3366
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
3367
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.518378"], ["updated_at", "2015-07-22 02:26:57.518378"]]
|
3368
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3369
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3370
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.522019"], ["updated_at", "2015-07-22 02:26:57.522019"]]
|
3371
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3372
|
+
[1m[35mG5Updatable::Client Load (0.4ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
3373
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3374
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3375
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3376
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "madeup"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.529275"], ["updated_at", "2015-07-22 02:26:57.529275"]]
|
3377
|
+
[1m[36m (0.7ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3378
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1 [["uid", "madeup"]]
|
3379
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3380
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3381
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3382
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.534844"], ["updated_at", "2015-07-22 02:26:57.534844"]]
|
3383
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3384
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3385
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.537821"], ["updated_at", "2015-07-22 02:26:57.537821"]]
|
3386
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3387
|
+
[1m[36mG5Updatable::Client Load (0.3ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/clients/g5-c-1234-client"]]
|
3388
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3389
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3390
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3391
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3392
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3393
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3394
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3395
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"key\":\"value\"}"], ["created_at", "2015-07-22 02:26:57.547422"], ["updated_at", "2015-07-22 02:26:57.547422"]]
|
3396
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3397
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 294]]
|
3398
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3399
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3400
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3401
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3402
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3403
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
3404
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3405
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3406
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3407
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.575329"], ["updated_at", "2015-07-22 02:26:57.575329"]]
|
3408
|
+
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
3409
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3410
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.612254"], ["updated_at", "2015-07-22 02:26:57.612254"]]
|
3411
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3412
|
+
[1m[35m (0.5ms)[0m SELECT MAX("g5_updatable_locations"."updated_at") FROM "g5_updatable_locations"
|
3413
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3414
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3415
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3416
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.617900"], ["updated_at", "2015-07-22 02:26:57.617900"]]
|
3417
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3418
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3419
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.620927"], ["updated_at", "2015-07-22 02:26:57.620927"]]
|
3420
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3421
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "http://example.com/clients/g5-c-1234-client"]]
|
3422
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3423
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3424
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3425
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.626796"], ["updated_at", "2015-07-22 02:26:57.626796"]]
|
3426
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3427
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3428
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "another_urn"], ["client_uid", "something_else"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.629861"], ["updated_at", "2015-07-22 02:26:57.629861"]]
|
3429
|
+
[1m[36m (0.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3430
|
+
[1m[35mG5Updatable::Location Load (0.5ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 [["urn", "g5-cl-1234-location"]]
|
3431
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3432
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3433
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3434
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3435
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3436
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.638613"], ["updated_at", "2015-07-22 02:26:57.638613"]]
|
3437
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3438
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
3439
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
3440
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
|
3441
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
3442
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3443
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3444
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3445
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.647509"], ["updated_at", "2015-07-22 02:26:57.647509"]]
|
3446
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3447
|
+
Processing by G5Updatable::LocationsController#show as HTML
|
3448
|
+
Parameters: {"urn"=>"g5-cl-1234-location"}
|
3449
|
+
[1m[35mG5Updatable::Location Load (0.6ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 LIMIT 1 [["urn", "g5-cl-1234-location"]]
|
3450
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.6ms)
|
3451
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3452
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3453
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3454
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3455
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.655950"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.656956"]]
|
3456
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3457
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3458
|
+
[1m[35mG5Updatable::Location Load (0.5ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" ASC LIMIT 1
|
3459
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3460
|
+
[1m[35m (0.4ms)[0m BEGIN
|
3461
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3462
|
+
[1m[35m (0.4ms)[0m BEGIN
|
3463
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3464
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.670168"], ["updated_at", "2015-07-22 02:26:57.670168"]]
|
3465
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3466
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3467
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3468
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.673926"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 304]]
|
3469
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3470
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
3471
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations"[0m
|
3472
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3473
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3474
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3475
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.681854"], ["updated_at", "2015-07-22 02:26:57.681854"]]
|
3476
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3477
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3478
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3479
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.684855"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 305]]
|
3480
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3481
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3482
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
3483
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3484
|
+
[1m[35m (0.4ms)[0m BEGIN
|
3485
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3486
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.693894"], ["updated_at", "2015-07-22 02:26:57.693894"]]
|
3487
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3488
|
+
[1m[35mG5Updatable::Location Load (0.7ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3489
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3490
|
+
[1m[35mSQL (0.7ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.697881"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 306]]
|
3491
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3492
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
3493
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
3494
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3495
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3496
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3497
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.707142"], ["updated_at", "2015-07-22 02:26:57.707142"]]
|
3498
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3499
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3500
|
+
[1m[35m (1.9ms)[0m SAVEPOINT active_record_1
|
3501
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6[0m [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.710251"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 307]]
|
3502
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3503
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3504
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3505
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.716721"], ["updated_at", "2015-07-22 02:26:57.716721"]]
|
3506
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3507
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3508
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.719236"], ["updated_at", "2015-07-22 02:26:57.719236"]]
|
3509
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3510
|
+
[1m[35mG5Updatable::Client Load (0.3ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 106]]
|
3511
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 308]]
|
3512
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3513
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3514
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3515
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "another_uid"], ["urn", "dead_urn"], ["client_uid", "client_uid"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.724860"], ["updated_at", "2015-07-22 02:26:57.724860"]]
|
3516
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3517
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3518
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3519
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.727698"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.728582"]]
|
3520
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3521
|
+
[1m[36mG5Updatable::Location Load (1.5ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3522
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3523
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1[0m [["id", 309]]
|
3524
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3525
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2[0m [["urn", "urn"], ["client_uid", "client_uid"]]
|
3526
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."urn" = $1 AND "g5_updatable_locations"."client_uid" = $2 [["urn", "dead_urn"], ["client_uid", "client_uid"]]
|
3527
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3528
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3529
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3530
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "another_urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.739368"], ["updated_at", "2015-07-22 02:26:57.739368"]]
|
3531
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3532
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3533
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "some_urn"], ["client_uid", "another_client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.742384"], ["updated_at", "2015-07-22 02:26:57.742384"]]
|
3534
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3535
|
+
[1m[36mG5Updatable::Location Load (0.6ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3536
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3537
|
+
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1[0m [["id", 311]]
|
3538
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3539
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3540
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."client_uid" = $1 [["client_uid", "another_client_uid"]]
|
3541
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3542
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3543
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3544
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3545
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.752913"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.753852"]]
|
3546
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3547
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3548
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
3549
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3550
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3551
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3552
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3553
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.760829"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.761796"]]
|
3554
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3555
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3556
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "g5_updatable_locations"
|
3557
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3558
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3559
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3560
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3561
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.768077"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.768954"]]
|
3562
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3563
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3564
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
3565
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."name" = $1 LIMIT 1[0m [["name", "Location Name"]]
|
3566
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3567
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3568
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3569
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3570
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.776992"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.777921"]]
|
3571
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3572
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
3573
|
+
[1m[36mG5Updatable::Location Load (0.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
3574
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3575
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3576
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3577
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3578
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.785385"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.786247"]]
|
3579
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3580
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
3581
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
3582
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3583
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
3584
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3585
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3586
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.792255"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.793186"]]
|
3587
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3588
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
3589
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1[0m
|
3590
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3591
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3592
|
+
[1m[35mG5Updatable::Location Load (0.2ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3593
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3594
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.799218"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.800031"]]
|
3595
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3596
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
3597
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3598
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.804074"], ["updated_at", "2015-07-22 02:26:57.804074"]]
|
3599
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3600
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
3601
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.806857"], ["updated_at", "2015-07-22 02:26:57.806857"]]
|
3602
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3603
|
+
[1m[36mG5Updatable::Client Load (0.4ms)[0m [1mSELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1[0m [["id", 107]]
|
3604
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 320]]
|
3605
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
3606
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3607
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3608
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3609
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "g5_updatable_locations" ("uid", "urn", "name", "client_uid", "updated_at", "properties", "created_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uid", "http://example.com/uid"], ["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.813361"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.814207"]]
|
3610
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3611
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3612
|
+
[1m[35mG5Updatable::Location Load (0.4ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
3613
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3614
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3615
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3616
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "old"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.820938"], ["updated_at", "2015-07-22 02:26:57.820938"]]
|
3617
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3618
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1 [["uid", "http://example.com/uid"]]
|
3619
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3620
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "g5_updatable_locations" SET "urn" = $1, "name" = $2, "client_uid" = $3, "updated_at" = $4, "properties" = $5 WHERE "g5_updatable_locations"."id" = $6 [["urn", "urn"], ["name", "Location Name"], ["client_uid", "client_uid"], ["updated_at", "2015-07-22 02:26:57.825267"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["id", 322]]
|
3621
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3622
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1 [["client_uid", "client_uid"]]
|
3623
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
3624
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3625
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3626
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.834773"], ["updated_at", "2015-07-22 02:26:57.834773"]]
|
3627
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3628
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
3629
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3630
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3631
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2[0m [["updated_at", "2015-07-22 02:26:57.840208"], ["id", 323]]
|
3632
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3633
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3634
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1 [["id", 323]]
|
3635
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3636
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3637
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
3638
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/uid"], ["urn", "urn"], ["client_uid", "client_uid"], ["name", "Location Name"], ["properties", "{\"uid\":\"http://example.com/uid\",\"urn\":\"urn\",\"client_uid\":\"client_uid\",\"name\":\"Location Name\"}"], ["created_at", "2015-07-22 02:26:57.847855"], ["updated_at", "2015-07-22 02:26:57.847855"]]
|
3639
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3640
|
+
[1m[35mG5Updatable::Location Load (0.3ms)[0m SELECT "g5_updatable_locations".* FROM "g5_updatable_locations" ORDER BY "g5_updatable_locations"."id" DESC LIMIT 1
|
3641
|
+
[1m[36mG5Updatable::Location Load (0.3ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."uid" = $1 LIMIT 1[0m [["uid", "http://example.com/uid"]]
|
3642
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3643
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "g5_updatable_locations" SET "updated_at" = $1 WHERE "g5_updatable_locations"."id" = $2[0m [["updated_at", "2015-07-22 02:26:57.852612"], ["id", 324]]
|
3644
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
3645
|
+
[1m[36mG5Updatable::Location Load (0.2ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE ("g5_updatable_locations"."urn" != 'urn') AND "g5_updatable_locations"."client_uid" = $1[0m [["client_uid", "client_uid"]]
|
3646
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3647
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "g5_updatable_clients" ("uid", "urn", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["uid", "http://example.com/clients/g5-c-1234-client"], ["urn", "g5-c-1234-client"], ["name", "test client"], ["properties", "{\"city\":\"Test Client\"}"], ["created_at", "2015-07-22 02:26:57.856947"], ["updated_at", "2015-07-22 02:26:57.856947"]]
|
3648
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3649
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
3650
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "g5_updatable_locations" ("uid", "urn", "client_uid", "name", "properties", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["uid", "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"], ["urn", "g5-cl-1234-location"], ["client_uid", "http://example.com/clients/g5-c-1234-client"], ["name", "test location"], ["properties", "{\"domain\":\"http://myloc.com\"}"], ["created_at", "2015-07-22 02:26:57.859427"], ["updated_at", "2015-07-22 02:26:57.859427"]]
|
3651
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3652
|
+
[1m[35mG5Updatable::Client Load (0.6ms)[0m SELECT "g5_updatable_clients".* FROM "g5_updatable_clients" WHERE "g5_updatable_clients"."id" = $1 LIMIT 1 [["id", 108]]
|
3653
|
+
[1m[36mG5Updatable::Location Load (1.4ms)[0m [1mSELECT "g5_updatable_locations".* FROM "g5_updatable_locations" WHERE "g5_updatable_locations"."id" = $1 LIMIT 1[0m [["id", 325]]
|
3654
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3655
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3656
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: g5_updatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|