thermos 0.0.8 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thermos/beverage_storage.rb +1 -1
- data/lib/thermos/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +5 -0
- data/test/dummy/log/test.log +300 -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: 0e56655085c639d7a4badf9d091a170799398c2f
|
4
|
+
data.tar.gz: 8d78876dfac8afa21c9e0ef83f1ef6355e943da2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ec22dd805affff9b331f0b5fa7249d8c74a4e453c54cd0c8bbe909d41971fcc252f1bd29238b716e04deb4fbd9aabc581df0db55be59ddbad94c57f0d6f7b7c
|
7
|
+
data.tar.gz: 90c16773bac12acf6ba7ad295ed38785b806fab9e9aa24631820ff79be59c51ceb674632a0f22bdf91e737509bde433e22a8df375ca2b81f1f3c2925c6a5becd
|
data/lib/thermos/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -152,3 +152,8 @@ true by adding the following to your application.rb file:
|
|
152
152
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
153
153
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
154
154
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
155
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
156
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
157
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
158
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
159
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
data/test/dummy/log/test.log
CHANGED
@@ -2297,3 +2297,303 @@ ThermosTest: test_rebuilds_the_cache_on_primary_model_change
|
|
2297
2297
|
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 0471df84-b002-4c33-b5d1-6bdfce03f390) to Inline(default) with arguments: #<GlobalID:0x007fe18898a8e8 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2298
2298
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2299
2299
|
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
2300
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2301
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
2302
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
2303
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2304
|
+
[1m[36mFixture Delete (1.8ms)[0m [1m[31mDELETE FROM "products"[0m
|
2305
|
+
[1m[36mFixture Delete (1.0ms)[0m [1m[31mDELETE FROM "categories"[0m
|
2306
|
+
[1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM "category_items"[0m
|
2307
|
+
[1m[36mFixture Delete (0.5ms)[0m [1m[31mDELETE FROM "stores"[0m
|
2308
|
+
[1m[36mFixture Insert (0.8ms)[0m [1m[32mINSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-16 14:00:21.112152', '2018-10-16 14:00:21.112152', 469160771)[0m
|
2309
|
+
[1m[36mFixture Insert (0.1ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-16 14:00:21.114283', '2018-10-16 14:00:21.114283', 322908140, 868874525)[0m
|
2310
|
+
[1m[36mFixture Insert (0.1ms)[0m [1m[32mINSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-16 14:00:21.116511', '2018-10-16 14:00:21.116511', 678302810, 322908140, 469160771)[0m
|
2311
|
+
[1m[36mFixture Insert (0.1ms)[0m [1m[32mINSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-16 14:00:21.118109', '2018-10-16 14:00:21.118109', 868874525)[0m
|
2312
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
2313
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
2314
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2315
|
+
----------------------------------------------------------------
|
2316
|
+
ThermosTest: test_pre-builds_cache_for_new_primary_model_records
|
2317
|
+
----------------------------------------------------------------
|
2318
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2319
|
+
[1m[36mCategory Create (0.5ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "foo"], ["created_at", "2018-10-16 14:00:21.138243"], ["updated_at", "2018-10-16 14:00:21.138243"]]
|
2320
|
+
[ActiveJob] [1m[36mCategory Load (0.6ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908141], ["LIMIT", 1]]
|
2321
|
+
[ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] Performing Thermos::RefillJob (Job ID: 2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa) from Inline(default) with arguments: #<GlobalID:0x007fc5c7be1998 @uri=#<URI::GID gid://dummy/Category/322908141>>
|
2322
|
+
[ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] [Thermos::RebuildCacheJob] [1bead20d-fa1f-4403-b681-efacc8d445de] Performing Thermos::RebuildCacheJob (Job ID: 1bead20d-fa1f-4403-b681-efacc8d445de) from Inline(default) with arguments: "key", "foo"
|
2323
|
+
[ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] [Thermos::RebuildCacheJob] [1bead20d-fa1f-4403-b681-efacc8d445de] Performed Thermos::RebuildCacheJob (Job ID: 1bead20d-fa1f-4403-b681-efacc8d445de) from Inline(default) in 3.49ms
|
2324
|
+
[ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] Enqueued Thermos::RebuildCacheJob (Job ID: 1bead20d-fa1f-4403-b681-efacc8d445de) to Inline(default) with arguments: "key", "foo"
|
2325
|
+
[ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] Performed Thermos::RefillJob (Job ID: 2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa) from Inline(default) in 10.26ms
|
2326
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa) to Inline(default) with arguments: #<GlobalID:0x007fc5c8b38950 @uri=#<URI::GID gid://dummy/Category/322908141>>
|
2327
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2328
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2329
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2330
|
+
---------------------------------------------------------------------
|
2331
|
+
ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
|
2332
|
+
---------------------------------------------------------------------
|
2333
|
+
[1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2334
|
+
[1m[36mProduct Load (0.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160771], ["LIMIT", 1]]
|
2335
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2336
|
+
[1m[36mProduct Update (0.6ms)[0m [1m[33mUPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.186437"], ["id", 469160771]]
|
2337
|
+
[ActiveJob] [1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160771], ["LIMIT", 1]]
|
2338
|
+
[ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] Performing Thermos::RefillJob (Job ID: 5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1) from Inline(default) with arguments: #<GlobalID:0x007fc5c8af98b8 @uri=#<URI::GID gid://dummy/Product/469160771>>
|
2339
|
+
[ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] [1m[35m (0.2ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ?[0m [["id", 469160771]]
|
2340
|
+
[ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] [Thermos::RebuildCacheJob] [c8b3ea73-73bb-4345-bdf7-9d02b524335e] Performing Thermos::RebuildCacheJob (Job ID: c8b3ea73-73bb-4345-bdf7-9d02b524335e) from Inline(default) with arguments: "key", 322908140
|
2341
|
+
[ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] [Thermos::RebuildCacheJob] [c8b3ea73-73bb-4345-bdf7-9d02b524335e] Performed Thermos::RebuildCacheJob (Job ID: c8b3ea73-73bb-4345-bdf7-9d02b524335e) from Inline(default) in 0.81ms
|
2342
|
+
[ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] Enqueued Thermos::RebuildCacheJob (Job ID: c8b3ea73-73bb-4345-bdf7-9d02b524335e) to Inline(default) with arguments: "key", 322908140
|
2343
|
+
[ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] Performed Thermos::RefillJob (Job ID: 5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1) from Inline(default) in 16.91ms
|
2344
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1) to Inline(default) with arguments: #<GlobalID:0x007fc5c7bbc0f8 @uri=#<URI::GID gid://dummy/Product/469160771>>
|
2345
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2346
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
2347
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2348
|
+
------------------------------------------------------
|
2349
|
+
ThermosTest: test_keeps_the_cache_warm_using_keep_warm
|
2350
|
+
------------------------------------------------------
|
2351
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2352
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2353
|
+
-----------------------------------------------------------------------------------
|
2354
|
+
ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
|
2355
|
+
-----------------------------------------------------------------------------------
|
2356
|
+
[1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2357
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2358
|
+
[1m[36mCategoryItem Create (0.8ms)[0m [1m[32mINSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2018-10-16 14:00:21.243339"], ["updated_at", "2018-10-16 14:00:21.243339"]]
|
2359
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2360
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2361
|
+
[1m[36mCategoryItem Update (0.2ms)[0m [1m[33mUPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.250132"], ["id", 678302811]]
|
2362
|
+
[ActiveJob] [1m[36mCategoryItem Load (0.2ms)[0m [1m[34mSELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ?[0m [["id", 678302811], ["LIMIT", 1]]
|
2363
|
+
[ActiveJob] [Thermos::RefillJob] [72332f4b-88ef-4a7f-8fd4-d9ad10219947] Performing Thermos::RefillJob (Job ID: 72332f4b-88ef-4a7f-8fd4-d9ad10219947) from Inline(default) with arguments: #<GlobalID:0x007fc5c8a920c8 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
|
2364
|
+
[ActiveJob] [Thermos::RefillJob] [72332f4b-88ef-4a7f-8fd4-d9ad10219947] [1m[35m (0.1ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ?[0m [["id", 678302811]]
|
2365
|
+
[ActiveJob] [Thermos::RefillJob] [72332f4b-88ef-4a7f-8fd4-d9ad10219947] Performed Thermos::RefillJob (Job ID: 72332f4b-88ef-4a7f-8fd4-d9ad10219947) from Inline(default) in 3.13ms
|
2366
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 72332f4b-88ef-4a7f-8fd4-d9ad10219947) to Inline(default) with arguments: #<GlobalID:0x007fc5c92bbf60 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
|
2367
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2368
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2369
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
2370
|
+
----------------------------------------------------------------------------------
|
2371
|
+
ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
|
2372
|
+
----------------------------------------------------------------------------------
|
2373
|
+
[1m[36mCategory Load (0.9ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2374
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2375
|
+
[1m[36mCategory Create (0.8ms)[0m [1m[32mINSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "bar"], ["created_at", "2018-10-16 14:00:21.265676"], ["updated_at", "2018-10-16 14:00:21.265676"]]
|
2376
|
+
[ActiveJob] [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908141], ["LIMIT", 1]]
|
2377
|
+
[ActiveJob] [Thermos::RefillJob] [ea509e8b-4e06-43c4-ae1c-6cbfed741bec] Performing Thermos::RefillJob (Job ID: ea509e8b-4e06-43c4-ae1c-6cbfed741bec) from Inline(default) with arguments: #<GlobalID:0x007fc5c8a6b608 @uri=#<URI::GID gid://dummy/Category/322908141>>
|
2378
|
+
[ActiveJob] [Thermos::RefillJob] [ea509e8b-4e06-43c4-ae1c-6cbfed741bec] Performed Thermos::RefillJob (Job ID: ea509e8b-4e06-43c4-ae1c-6cbfed741bec) from Inline(default) in 0.28ms
|
2379
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: ea509e8b-4e06-43c4-ae1c-6cbfed741bec) to Inline(default) with arguments: #<GlobalID:0x007fc5c7aeded8 @uri=#<URI::GID gid://dummy/Category/322908141>>
|
2380
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2381
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2382
|
+
[1m[36mCategory Update (0.1ms)[0m [1m[33mUPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.282813"], ["id", 322908140]]
|
2383
|
+
[ActiveJob] [1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2384
|
+
[ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] Performing Thermos::RefillJob (Job ID: 6ee55d45-7506-45cb-a865-6a029b27abaf) from Inline(default) with arguments: #<GlobalID:0x007fc5c92926d8 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2385
|
+
[ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] [Thermos::RebuildCacheJob] [a9e0dd01-7a19-481b-8edf-2e77d979dcb5] Performing Thermos::RebuildCacheJob (Job ID: a9e0dd01-7a19-481b-8edf-2e77d979dcb5) from Inline(default) with arguments: "key", 322908140
|
2386
|
+
[ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] [Thermos::RebuildCacheJob] [a9e0dd01-7a19-481b-8edf-2e77d979dcb5] Performed Thermos::RebuildCacheJob (Job ID: a9e0dd01-7a19-481b-8edf-2e77d979dcb5) from Inline(default) in 2.55ms
|
2387
|
+
[ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] Enqueued Thermos::RebuildCacheJob (Job ID: a9e0dd01-7a19-481b-8edf-2e77d979dcb5) to Inline(default) with arguments: "key", 322908140
|
2388
|
+
[ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] Performed Thermos::RefillJob (Job ID: 6ee55d45-7506-45cb-a865-6a029b27abaf) from Inline(default) in 3.73ms
|
2389
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 6ee55d45-7506-45cb-a865-6a029b27abaf) to Inline(default) with arguments: #<GlobalID:0x007fc5c8a5ac40 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2390
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2391
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
2392
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2393
|
+
-------------------------------------------------------------------------------------------
|
2394
|
+
ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
|
2395
|
+
-------------------------------------------------------------------------------------------
|
2396
|
+
[1m[36mCategory Load (0.8ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2397
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2398
|
+
[1m[36mProduct Create (1.1ms)[0m [1m[32mINSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2018-10-16 14:00:21.299518"], ["updated_at", "2018-10-16 14:00:21.299518"]]
|
2399
|
+
[ActiveJob] [1m[36mProduct Load (0.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160772], ["LIMIT", 1]]
|
2400
|
+
[ActiveJob] [Thermos::RefillJob] [bdb055a5-8add-4f52-82a6-5371f44fd19a] Performing Thermos::RefillJob (Job ID: bdb055a5-8add-4f52-82a6-5371f44fd19a) from Inline(default) with arguments: #<GlobalID:0x007fc5c7a9ff80 @uri=#<URI::GID gid://dummy/Product/469160772>>
|
2401
|
+
[ActiveJob] [Thermos::RefillJob] [bdb055a5-8add-4f52-82a6-5371f44fd19a] Performed Thermos::RefillJob (Job ID: bdb055a5-8add-4f52-82a6-5371f44fd19a) from Inline(default) in 0.05ms
|
2402
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: bdb055a5-8add-4f52-82a6-5371f44fd19a) to Inline(default) with arguments: #<GlobalID:0x007fc5c7ab7ce8 @uri=#<URI::GID gid://dummy/Product/469160772>>
|
2403
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2404
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2405
|
+
[1m[36mProduct Update (0.2ms)[0m [1m[33mUPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.314428"], ["id", 469160772]]
|
2406
|
+
[ActiveJob] [1m[36mProduct Load (0.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160772], ["LIMIT", 1]]
|
2407
|
+
[ActiveJob] [Thermos::RefillJob] [a55b8392-5477-4c61-95ca-b7bc284d55f1] Performing Thermos::RefillJob (Job ID: a55b8392-5477-4c61-95ca-b7bc284d55f1) from Inline(default) with arguments: #<GlobalID:0x007fc5c824ca80 @uri=#<URI::GID gid://dummy/Product/469160772>>
|
2408
|
+
[ActiveJob] [Thermos::RefillJob] [a55b8392-5477-4c61-95ca-b7bc284d55f1] [1m[35m (0.2ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ?[0m [["id", 469160772]]
|
2409
|
+
[ActiveJob] [Thermos::RefillJob] [a55b8392-5477-4c61-95ca-b7bc284d55f1] Performed Thermos::RefillJob (Job ID: a55b8392-5477-4c61-95ca-b7bc284d55f1) from Inline(default) in 2.07ms
|
2410
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: a55b8392-5477-4c61-95ca-b7bc284d55f1) to Inline(default) with arguments: #<GlobalID:0x007fc5c7ab7ce8 @uri=#<URI::GID gid://dummy/Product/469160772>>
|
2411
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2412
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2413
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
2414
|
+
--------------------------------------------------------------------------
|
2415
|
+
ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
|
2416
|
+
--------------------------------------------------------------------------
|
2417
|
+
[1m[36mCategory Load (2.3ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2418
|
+
[1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160771], ["LIMIT", 1]]
|
2419
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2420
|
+
[1m[36mCategory Update (3.1ms)[0m [1m[33mUPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.338177"], ["id", 322908140]]
|
2421
|
+
[ActiveJob] [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2422
|
+
[ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] Performing Thermos::RefillJob (Job ID: 41f27ac7-b91f-4dd3-9745-eca8429d270c) from Inline(default) with arguments: #<GlobalID:0x007fc5c923a190 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2423
|
+
[ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] [Thermos::RebuildCacheJob] [dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f] Performing Thermos::RebuildCacheJob (Job ID: dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f) from Inline(default) with arguments: "key", "foo"
|
2424
|
+
[ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] [Thermos::RebuildCacheJob] [dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f] Performed Thermos::RebuildCacheJob (Job ID: dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f) from Inline(default) in 4.49ms
|
2425
|
+
[ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] Enqueued Thermos::RebuildCacheJob (Job ID: dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f) to Inline(default) with arguments: "key", "foo"
|
2426
|
+
[ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] Performed Thermos::RefillJob (Job ID: 41f27ac7-b91f-4dd3-9745-eca8429d270c) from Inline(default) in 5.73ms
|
2427
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 41f27ac7-b91f-4dd3-9745-eca8429d270c) to Inline(default) with arguments: #<GlobalID:0x007fc5c823cd38 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2428
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2429
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2430
|
+
[1m[36mProduct Update (0.2ms)[0m [1m[33mUPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.356022"], ["id", 469160771]]
|
2431
|
+
[ActiveJob] [1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160771], ["LIMIT", 1]]
|
2432
|
+
[ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] Performing Thermos::RefillJob (Job ID: b26a9055-f62e-4bff-934f-e688177f7db0) from Inline(default) with arguments: #<GlobalID:0x007fc5c92181f8 @uri=#<URI::GID gid://dummy/Product/469160771>>
|
2433
|
+
[ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] [1m[35m (0.2ms)[0m [1m[34mSELECT "categories"."name" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ?[0m [["id", 469160771]]
|
2434
|
+
[ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] [Thermos::RebuildCacheJob] [b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd] Performing Thermos::RebuildCacheJob (Job ID: b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd) from Inline(default) with arguments: "key", "foo"
|
2435
|
+
[ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] [Thermos::RebuildCacheJob] [b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd] Performed Thermos::RebuildCacheJob (Job ID: b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd) from Inline(default) in 1.75ms
|
2436
|
+
[ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] Enqueued Thermos::RebuildCacheJob (Job ID: b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd) to Inline(default) with arguments: "key", "foo"
|
2437
|
+
[ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] Performed Thermos::RefillJob (Job ID: b26a9055-f62e-4bff-934f-e688177f7db0) from Inline(default) in 3.8ms
|
2438
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: b26a9055-f62e-4bff-934f-e688177f7db0) to Inline(default) with arguments: #<GlobalID:0x007fc5c7a76770 @uri=#<URI::GID gid://dummy/Product/469160771>>
|
2439
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2440
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2441
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2442
|
+
----------------------------------------------------------------
|
2443
|
+
ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
|
2444
|
+
----------------------------------------------------------------
|
2445
|
+
[1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2446
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2447
|
+
[1m[36mStore Create (0.9ms)[0m [1m[32mINSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "foo"], ["created_at", "2018-10-16 14:00:21.416598"], ["updated_at", "2018-10-16 14:00:21.416598"]]
|
2448
|
+
[1m[36mCategory Update (0.5ms)[0m [1m[33mUPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ?[0m [["store_id", 868874526], ["updated_at", "2018-10-16 14:00:21.420098"], ["id", 322908140]]
|
2449
|
+
[ActiveJob] [1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2450
|
+
[ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] Performing Thermos::RefillJob (Job ID: d6d52362-13c9-45e8-b9b4-f9daf0b07e71) from Inline(default) with arguments: #<GlobalID:0x007fc5c89338d0 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2451
|
+
[ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] [Thermos::RebuildCacheJob] [be74976e-a631-4f74-a5dd-ca8614a54f47] Performing Thermos::RebuildCacheJob (Job ID: be74976e-a631-4f74-a5dd-ca8614a54f47) from Inline(default) with arguments: "key", 322908140
|
2452
|
+
[ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] [Thermos::RebuildCacheJob] [be74976e-a631-4f74-a5dd-ca8614a54f47] Performed Thermos::RebuildCacheJob (Job ID: be74976e-a631-4f74-a5dd-ca8614a54f47) from Inline(default) in 2.09ms
|
2453
|
+
[ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] Enqueued Thermos::RebuildCacheJob (Job ID: be74976e-a631-4f74-a5dd-ca8614a54f47) to Inline(default) with arguments: "key", 322908140
|
2454
|
+
[ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] Performed Thermos::RefillJob (Job ID: d6d52362-13c9-45e8-b9b4-f9daf0b07e71) from Inline(default) in 3.18ms
|
2455
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: d6d52362-13c9-45e8-b9b4-f9daf0b07e71) to Inline(default) with arguments: #<GlobalID:0x007fc5c9130060 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2456
|
+
[ActiveJob] [1m[36mStore Load (0.2ms)[0m [1m[34mSELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ?[0m [["id", 868874526], ["LIMIT", 1]]
|
2457
|
+
[ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] Performing Thermos::RefillJob (Job ID: ac97eddc-d07d-4b49-aa43-9e86c0dd9076) from Inline(default) with arguments: #<GlobalID:0x007fc5c90ea510 @uri=#<URI::GID gid://dummy/Store/868874526>>
|
2458
|
+
[ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] [1m[35m (0.2ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ?[0m [["id", 868874526]]
|
2459
|
+
[ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] [Thermos::RebuildCacheJob] [19d948f2-74c2-405e-b3dc-a009b4cdeebb] Performing Thermos::RebuildCacheJob (Job ID: 19d948f2-74c2-405e-b3dc-a009b4cdeebb) from Inline(default) with arguments: "key", 322908140
|
2460
|
+
[ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] [Thermos::RebuildCacheJob] [19d948f2-74c2-405e-b3dc-a009b4cdeebb] Performed Thermos::RebuildCacheJob (Job ID: 19d948f2-74c2-405e-b3dc-a009b4cdeebb) from Inline(default) in 1.21ms
|
2461
|
+
[ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] Enqueued Thermos::RebuildCacheJob (Job ID: 19d948f2-74c2-405e-b3dc-a009b4cdeebb) to Inline(default) with arguments: "key", 322908140
|
2462
|
+
[ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] Performed Thermos::RefillJob (Job ID: ac97eddc-d07d-4b49-aa43-9e86c0dd9076) from Inline(default) in 4.84ms
|
2463
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: ac97eddc-d07d-4b49-aa43-9e86c0dd9076) to Inline(default) with arguments: #<GlobalID:0x007fc5c90f19a0 @uri=#<URI::GID gid://dummy/Store/868874526>>
|
2464
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2465
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2466
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2467
|
+
--------------------------------------------------------------
|
2468
|
+
ThermosTest: test_re-builds_the_cache_for_new_has_many_records
|
2469
|
+
--------------------------------------------------------------
|
2470
|
+
[1m[36mCategory Load (0.3ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2471
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2472
|
+
[1m[36mCategoryItem Create (0.8ms)[0m [1m[32mINSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["category_id", 322908140], ["created_at", "2018-10-16 14:00:21.480870"], ["updated_at", "2018-10-16 14:00:21.480870"]]
|
2473
|
+
[ActiveJob] [1m[36mCategoryItem Load (0.3ms)[0m [1m[34mSELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ?[0m [["id", 678302811], ["LIMIT", 1]]
|
2474
|
+
[ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] Performing Thermos::RefillJob (Job ID: 761e31a5-e9a3-4fa9-81cb-30925121b8ee) from Inline(default) with arguments: #<GlobalID:0x007fc5c90ab4a0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
|
2475
|
+
[ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] [1m[35m (0.1ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ?[0m [["id", 678302811]]
|
2476
|
+
[ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] [Thermos::RebuildCacheJob] [19d73530-ba01-4135-9aa4-cc25b69105f8] Performing Thermos::RebuildCacheJob (Job ID: 19d73530-ba01-4135-9aa4-cc25b69105f8) from Inline(default) with arguments: "key", 322908140
|
2477
|
+
[ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] [Thermos::RebuildCacheJob] [19d73530-ba01-4135-9aa4-cc25b69105f8] Performed Thermos::RebuildCacheJob (Job ID: 19d73530-ba01-4135-9aa4-cc25b69105f8) from Inline(default) in 3.03ms
|
2478
|
+
[ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] Enqueued Thermos::RebuildCacheJob (Job ID: 19d73530-ba01-4135-9aa4-cc25b69105f8) to Inline(default) with arguments: "key", 322908140
|
2479
|
+
[ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] Performed Thermos::RefillJob (Job ID: 761e31a5-e9a3-4fa9-81cb-30925121b8ee) from Inline(default) in 5.17ms
|
2480
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 761e31a5-e9a3-4fa9-81cb-30925121b8ee) to Inline(default) with arguments: #<GlobalID:0x007fc5c88d0f50 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
|
2481
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2482
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2483
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2484
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2485
|
+
ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
|
2486
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2487
|
+
[1m[36mCategory Load (0.1ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2488
|
+
[1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160771], ["LIMIT", 1]]
|
2489
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2490
|
+
[1m[36mProduct Update (0.8ms)[0m [1m[33mUPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.519725"], ["id", 469160771]]
|
2491
|
+
[ActiveJob] [1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160771], ["LIMIT", 1]]
|
2492
|
+
[ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] Performing Thermos::RefillJob (Job ID: e3e51754-9136-4b29-9bd2-7a1b99107cfd) from Inline(default) with arguments: #<GlobalID:0x007fc5c7de26e8 @uri=#<URI::GID gid://dummy/Product/469160771>>
|
2493
|
+
[ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] [Thermos::RebuildCacheJob] [1ca196a1-697a-497c-b9e7-54b7e355a619] Performing Thermos::RebuildCacheJob (Job ID: 1ca196a1-697a-497c-b9e7-54b7e355a619) from Inline(default) with arguments: "product_key", 469160771
|
2494
|
+
[ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] [Thermos::RebuildCacheJob] [1ca196a1-697a-497c-b9e7-54b7e355a619] Performed Thermos::RebuildCacheJob (Job ID: 1ca196a1-697a-497c-b9e7-54b7e355a619) from Inline(default) in 11.72ms
|
2495
|
+
[ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] Enqueued Thermos::RebuildCacheJob (Job ID: 1ca196a1-697a-497c-b9e7-54b7e355a619) to Inline(default) with arguments: "product_key", 469160771
|
2496
|
+
[ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] Performed Thermos::RefillJob (Job ID: e3e51754-9136-4b29-9bd2-7a1b99107cfd) from Inline(default) in 12.46ms
|
2497
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: e3e51754-9136-4b29-9bd2-7a1b99107cfd) to Inline(default) with arguments: #<GlobalID:0x007fc5c7ddb528 @uri=#<URI::GID gid://dummy/Product/469160771>>
|
2498
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2499
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
2500
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2501
|
+
----------------------------------------------------------------------
|
2502
|
+
ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
|
2503
|
+
----------------------------------------------------------------------
|
2504
|
+
[1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2505
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2506
|
+
[1m[36mProduct Create (0.6ms)[0m [1m[32mINSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2018-10-16 14:00:21.568097"], ["updated_at", "2018-10-16 14:00:21.568097"]]
|
2507
|
+
[1m[36mCategoryItem Create (0.6ms)[0m [1m[32mINSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-16 14:00:21.569757"], ["updated_at", "2018-10-16 14:00:21.569757"]]
|
2508
|
+
[ActiveJob] [1m[36mCategoryItem Load (0.1ms)[0m [1m[34mSELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ?[0m [["id", 678302811], ["LIMIT", 1]]
|
2509
|
+
[ActiveJob] [Thermos::RefillJob] [a8cf1e48-f179-4c3c-993f-0e961a00d9ad] Performing Thermos::RefillJob (Job ID: a8cf1e48-f179-4c3c-993f-0e961a00d9ad) from Inline(default) with arguments: #<GlobalID:0x007fc5c7dcac28 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
|
2510
|
+
[ActiveJob] [Thermos::RefillJob] [a8cf1e48-f179-4c3c-993f-0e961a00d9ad] Performed Thermos::RefillJob (Job ID: a8cf1e48-f179-4c3c-993f-0e961a00d9ad) from Inline(default) in 0.06ms
|
2511
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: a8cf1e48-f179-4c3c-993f-0e961a00d9ad) to Inline(default) with arguments: #<GlobalID:0x007fc5c96ba6e8 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
|
2512
|
+
[ActiveJob] [1m[36mProduct Load (0.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 469160772], ["LIMIT", 1]]
|
2513
|
+
[ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] Performing Thermos::RefillJob (Job ID: 925428a9-4676-4ede-90bd-970644367591) from Inline(default) with arguments: #<GlobalID:0x007fc5c96b1728 @uri=#<URI::GID gid://dummy/Product/469160772>>
|
2514
|
+
[ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] [1m[35m (0.2ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ?[0m [["id", 469160772]]
|
2515
|
+
[ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] [Thermos::RebuildCacheJob] [b3db99c7-2799-4507-93ea-b1c9f12e6e78] Performing Thermos::RebuildCacheJob (Job ID: b3db99c7-2799-4507-93ea-b1c9f12e6e78) from Inline(default) with arguments: "key", 322908140
|
2516
|
+
[ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] [Thermos::RebuildCacheJob] [b3db99c7-2799-4507-93ea-b1c9f12e6e78] Performed Thermos::RebuildCacheJob (Job ID: b3db99c7-2799-4507-93ea-b1c9f12e6e78) from Inline(default) in 5.85ms
|
2517
|
+
[ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] Enqueued Thermos::RebuildCacheJob (Job ID: b3db99c7-2799-4507-93ea-b1c9f12e6e78) to Inline(default) with arguments: "key", 322908140
|
2518
|
+
[ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] Performed Thermos::RefillJob (Job ID: 925428a9-4676-4ede-90bd-970644367591) from Inline(default) in 10.0ms
|
2519
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 925428a9-4676-4ede-90bd-970644367591) to Inline(default) with arguments: #<GlobalID:0x007fc5c7dc3220 @uri=#<URI::GID gid://dummy/Product/469160772>>
|
2520
|
+
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2521
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2522
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
2523
|
+
-------------------------------------------------------------
|
2524
|
+
ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
|
2525
|
+
-------------------------------------------------------------
|
2526
|
+
[1m[36mCategory Load (1.8ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2527
|
+
[1m[36mCategoryItem Load (0.1ms)[0m [1m[34mSELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ?[0m [["id", 678302810], ["LIMIT", 1]]
|
2528
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2529
|
+
[1m[36mCategoryItem Update (0.4ms)[0m [1m[33mUPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.605297"], ["id", 678302810]]
|
2530
|
+
[ActiveJob] [1m[36mCategoryItem Load (0.2ms)[0m [1m[34mSELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ?[0m [["id", 678302810], ["LIMIT", 1]]
|
2531
|
+
[ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] Performing Thermos::RefillJob (Job ID: 995ea3c2-cf3e-434a-a9d2-511a0fd57297) from Inline(default) with arguments: #<GlobalID:0x007fc5c9680560 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
|
2532
|
+
[ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] [1m[35m (0.2ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ?[0m [["id", 678302810]]
|
2533
|
+
[ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] [Thermos::RebuildCacheJob] [50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41] Performing Thermos::RebuildCacheJob (Job ID: 50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41) from Inline(default) with arguments: "key", 322908140
|
2534
|
+
[ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] [Thermos::RebuildCacheJob] [50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41] Performed Thermos::RebuildCacheJob (Job ID: 50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41) from Inline(default) in 3.18ms
|
2535
|
+
[ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] Enqueued Thermos::RebuildCacheJob (Job ID: 50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41) to Inline(default) with arguments: "key", 322908140
|
2536
|
+
[ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] Performed Thermos::RefillJob (Job ID: 995ea3c2-cf3e-434a-a9d2-511a0fd57297) from Inline(default) in 7.18ms
|
2537
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 995ea3c2-cf3e-434a-a9d2-511a0fd57297) to Inline(default) with arguments: #<GlobalID:0x007fc5c866c160 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
|
2538
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2539
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
2540
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2541
|
+
-------------------------------------------------------------------------------------
|
2542
|
+
ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
|
2543
|
+
-------------------------------------------------------------------------------------
|
2544
|
+
[1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2545
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2546
|
+
[1m[36mStore Create (4.9ms)[0m [1m[32mINSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2018-10-16 14:00:21.636642"], ["updated_at", "2018-10-16 14:00:21.636642"]]
|
2547
|
+
[ActiveJob] [1m[36mStore Load (0.2ms)[0m [1m[34mSELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ?[0m [["id", 868874526], ["LIMIT", 1]]
|
2548
|
+
[ActiveJob] [Thermos::RefillJob] [174e998a-9580-4e27-aad4-8d7295a8ff7a] Performing Thermos::RefillJob (Job ID: 174e998a-9580-4e27-aad4-8d7295a8ff7a) from Inline(default) with arguments: #<GlobalID:0x007fc5c8ca0270 @uri=#<URI::GID gid://dummy/Store/868874526>>
|
2549
|
+
[ActiveJob] [Thermos::RefillJob] [174e998a-9580-4e27-aad4-8d7295a8ff7a] Performed Thermos::RefillJob (Job ID: 174e998a-9580-4e27-aad4-8d7295a8ff7a) from Inline(default) in 0.07ms
|
2550
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 174e998a-9580-4e27-aad4-8d7295a8ff7a) to Inline(default) with arguments: #<GlobalID:0x007fc5c8caafb8 @uri=#<URI::GID gid://dummy/Store/868874526>>
|
2551
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2552
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2553
|
+
[1m[36mStore Update (0.1ms)[0m [1m[33mUPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.657090"], ["id", 868874526]]
|
2554
|
+
[ActiveJob] [1m[36mStore Load (0.2ms)[0m [1m[34mSELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ?[0m [["id", 868874526], ["LIMIT", 1]]
|
2555
|
+
[ActiveJob] [Thermos::RefillJob] [76e0f285-ecfd-477a-943a-54fd72487f82] Performing Thermos::RefillJob (Job ID: 76e0f285-ecfd-477a-943a-54fd72487f82) from Inline(default) with arguments: #<GlobalID:0x007fc5c863eda0 @uri=#<URI::GID gid://dummy/Store/868874526>>
|
2556
|
+
[ActiveJob] [Thermos::RefillJob] [76e0f285-ecfd-477a-943a-54fd72487f82] [1m[35m (0.3ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ?[0m [["id", 868874526]]
|
2557
|
+
[ActiveJob] [Thermos::RefillJob] [76e0f285-ecfd-477a-943a-54fd72487f82] Performed Thermos::RefillJob (Job ID: 76e0f285-ecfd-477a-943a-54fd72487f82) from Inline(default) in 6.08ms
|
2558
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 76e0f285-ecfd-477a-943a-54fd72487f82) to Inline(default) with arguments: #<GlobalID:0x007fc5c8caafb8 @uri=#<URI::GID gid://dummy/Store/868874526>>
|
2559
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2560
|
+
[1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
|
2561
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2562
|
+
---------------------------------------------------------------
|
2563
|
+
ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
|
2564
|
+
---------------------------------------------------------------
|
2565
|
+
[1m[36mCategory Load (0.3ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2566
|
+
[1m[36mStore Load (0.3ms)[0m [1m[34mSELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ?[0m [["id", 868874525], ["LIMIT", 1]]
|
2567
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2568
|
+
[1m[36mStore Update (0.4ms)[0m [1m[33mUPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.683268"], ["id", 868874525]]
|
2569
|
+
[ActiveJob] [1m[36mStore Load (0.1ms)[0m [1m[34mSELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ?[0m [["id", 868874525], ["LIMIT", 1]]
|
2570
|
+
[ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] Performing Thermos::RefillJob (Job ID: 2214b629-8ace-4ae1-805d-37157297e6c8) from Inline(default) with arguments: #<GlobalID:0x007fc5c8627218 @uri=#<URI::GID gid://dummy/Store/868874525>>
|
2571
|
+
[ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] [1m[35m (0.2ms)[0m [1m[34mSELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ?[0m [["id", 868874525]]
|
2572
|
+
[ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] [Thermos::RebuildCacheJob] [c2e56da2-18ec-4e60-88a1-4c276aa96434] Performing Thermos::RebuildCacheJob (Job ID: c2e56da2-18ec-4e60-88a1-4c276aa96434) from Inline(default) with arguments: "key", 322908140
|
2573
|
+
[ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] [Thermos::RebuildCacheJob] [c2e56da2-18ec-4e60-88a1-4c276aa96434] Performed Thermos::RebuildCacheJob (Job ID: c2e56da2-18ec-4e60-88a1-4c276aa96434) from Inline(default) in 1.59ms
|
2574
|
+
[ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] Enqueued Thermos::RebuildCacheJob (Job ID: c2e56da2-18ec-4e60-88a1-4c276aa96434) to Inline(default) with arguments: "key", 322908140
|
2575
|
+
[ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] Performed Thermos::RefillJob (Job ID: 2214b629-8ace-4ae1-805d-37157297e6c8) from Inline(default) in 4.75ms
|
2576
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 2214b629-8ace-4ae1-805d-37157297e6c8) to Inline(default) with arguments: #<GlobalID:0x007fc5c862cee8 @uri=#<URI::GID gid://dummy/Store/868874525>>
|
2577
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2578
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
2579
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2580
|
+
---------------------------------------------------------
|
2581
|
+
ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
|
2582
|
+
---------------------------------------------------------
|
2583
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
2584
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2585
|
+
------------------------------------------------------------
|
2586
|
+
ThermosTest: test_rebuilds_the_cache_on_primary_model_change
|
2587
|
+
------------------------------------------------------------
|
2588
|
+
[1m[36mCategory Load (0.2ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2589
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2590
|
+
[1m[36mCategory Update (2.5ms)[0m [1m[33mUPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ?[0m [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.724960"], ["id", 322908140]]
|
2591
|
+
[ActiveJob] [1m[36mCategory Load (0.4ms)[0m [1m[34mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ?[0m [["id", 322908140], ["LIMIT", 1]]
|
2592
|
+
[ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] Performing Thermos::RefillJob (Job ID: 770b673a-2a5c-4ce5-ac86-7a1aad43c996) from Inline(default) with arguments: #<GlobalID:0x007fc5c8c836c0 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2593
|
+
[ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] [Thermos::RebuildCacheJob] [cea4027e-1169-4523-97b6-2a6cf6bc00dc] Performing Thermos::RebuildCacheJob (Job ID: cea4027e-1169-4523-97b6-2a6cf6bc00dc) from Inline(default) with arguments: "key", 322908140
|
2594
|
+
[ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] [Thermos::RebuildCacheJob] [cea4027e-1169-4523-97b6-2a6cf6bc00dc] Performed Thermos::RebuildCacheJob (Job ID: cea4027e-1169-4523-97b6-2a6cf6bc00dc) from Inline(default) in 1.15ms
|
2595
|
+
[ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] Enqueued Thermos::RebuildCacheJob (Job ID: cea4027e-1169-4523-97b6-2a6cf6bc00dc) to Inline(default) with arguments: "key", 322908140
|
2596
|
+
[ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] Performed Thermos::RefillJob (Job ID: 770b673a-2a5c-4ce5-ac86-7a1aad43c996) from Inline(default) in 4.02ms
|
2597
|
+
[ActiveJob] Enqueued Thermos::RefillJob (Job ID: 770b673a-2a5c-4ce5-ac86-7a1aad43c996) to Inline(default) with arguments: #<GlobalID:0x007fc5c86057f8 @uri=#<URI::GID gid://dummy/Category/322908140>>
|
2598
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2599
|
+
[1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thermos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Thal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|