ocache 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ocache/version.rb +1 -1
- data/test/dummy/log/test.log +196 -0
- data/test/dummy/tmp/cache/55D/4C1/queryables%2F1-20141216010501129830000%2Fexpensive_instance_method%2F +1 -0
- data/test/dummy/tmp/cache/565/9F1/queryables%2F1-20141216013516315760000%2Fexpensive_instance_method%2F +1 -0
- data/test/dummy/tmp/cache/6F8/561/Queryable%2Fexpensive_class_method_with_arguments%2Fstring +1 -1
- data/test/dummy/tmp/cache/70E/850/Queryable%2Fcount%2F +1 -1
- data/test/dummy/tmp/cache/961/551/Queryable%2Fexpensive_class_method_with_options%2Fstring%3Dstring +1 -1
- data/test/dummy/tmp/cache/D4D/4D0/Queryable%2Ffind_by_string%2Fstring +0 -0
- data/test/dummy/tmp/cache/E11/210/Queryable%2Fexpensive_class_method%2F +1 -1
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df119681e18ab4b7001e3d8151d1ceaeaa103ba1
|
|
4
|
+
data.tar.gz: 39a7168ab704fd7898922ad05053b88b7bce24dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 627882a3d32de65a873df1f51253d0f2529445adce4d5b4a371ff50869dccef57bfcc79bccd522e3c83bb7f3329351e74b527d328d147e18efc05e03bc4f3e85
|
|
7
|
+
data.tar.gz: ea078dbe05f4dd929dafaab625e1df59aee55a0b5ec0b68396de4a2f133e484160b1ff67af52d9a65ff8713a02a3813d9dddd2b5b4f304a284e3509e61e12dd1
|
data/lib/ocache/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
|
@@ -49454,5 +49454,201 @@ OCacheTest: test_cache_fetch_handles_options_on_instance_methods
|
|
|
49454
49454
|
[1m[35m (0.1ms)[0m begin transaction
|
|
49455
49455
|
------------------------------------------
|
|
49456
49456
|
OCacheTest: test_ensure_caching_is_enabled
|
|
49457
|
+
------------------------------------------
|
|
49458
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
49459
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
49460
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49461
|
+
----------------------------------------------
|
|
49462
|
+
OCacheTest: test_cache_fetch_handles_arguments
|
|
49463
|
+
----------------------------------------------
|
|
49464
|
+
[1m[36mQueryable Load (0.7ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
|
49465
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
|
49466
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49467
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:05:01.100222"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.100222"]]
|
|
49468
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49469
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
|
49470
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
|
49471
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
|
49472
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
49473
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49474
|
+
---------------------------------------------------------------
|
|
49475
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_class_methods
|
|
49476
|
+
---------------------------------------------------------------
|
|
49477
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49478
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
49479
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-16 01:05:01.111463"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.111463"]]
|
|
49480
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
49481
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49482
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
49483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
49484
|
+
------------------------------------------------------------------
|
|
49485
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_instance_methods
|
|
49486
|
+
------------------------------------------------------------------
|
|
49487
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49488
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49489
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:05:01.118579"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.118579"]]
|
|
49490
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49491
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49492
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
49493
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49494
|
+
--------------------------------------------------
|
|
49495
|
+
OCacheTest: test_cache_fetch_handles_class_methods
|
|
49496
|
+
--------------------------------------------------
|
|
49497
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
|
49498
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
49499
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-16 01:05:01.124951"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.124951"]]
|
|
49500
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
49501
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
|
49502
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
49503
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
49504
|
+
-----------------------------------------------------
|
|
49505
|
+
OCacheTest: test_cache_fetch_handles_instance_methods
|
|
49506
|
+
-----------------------------------------------------
|
|
49507
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
49508
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-16 01:05:01.129830"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.129830"]]
|
|
49509
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
49510
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
|
49511
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
|
49512
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49513
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:05:01.135778"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.135778"]]
|
|
49514
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49515
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" LIMIT 1
|
|
49516
|
+
[1m[36mQueryable Load (0.2ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
|
49517
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "queryables"
|
|
49518
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
49519
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49520
|
+
--------------------------------------------
|
|
49521
|
+
OCacheTest: test_cache_fetch_handles_options
|
|
49522
|
+
--------------------------------------------
|
|
49523
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49524
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "queryables"
|
|
49525
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49526
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:05:01.149453"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.149453"]]
|
|
49527
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49528
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49529
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49530
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
|
49531
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
|
49532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49533
|
+
-------------------------------------------------------------
|
|
49534
|
+
OCacheTest: test_cache_fetch_handles_options_on_class_methods
|
|
49535
|
+
-------------------------------------------------------------
|
|
49536
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49537
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
49538
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-16 01:05:01.158049"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.158049"]]
|
|
49539
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
49540
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49541
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
49542
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
49543
|
+
----------------------------------------------------------------
|
|
49544
|
+
OCacheTest: test_cache_fetch_handles_options_on_instance_methods
|
|
49545
|
+
----------------------------------------------------------------
|
|
49546
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49547
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49548
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:05:01.165078"], ["string", "string"], ["updated_at", "2014-12-16 01:05:01.165078"]]
|
|
49549
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49550
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49551
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
49552
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49553
|
+
------------------------------------------
|
|
49554
|
+
OCacheTest: test_ensure_caching_is_enabled
|
|
49555
|
+
------------------------------------------
|
|
49556
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
49557
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
49558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49559
|
+
----------------------------------------------
|
|
49560
|
+
OCacheTest: test_cache_fetch_handles_arguments
|
|
49561
|
+
----------------------------------------------
|
|
49562
|
+
[1m[36mQueryable Load (0.5ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
|
49563
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
|
49564
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49565
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:35:16.288630"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.288630"]]
|
|
49566
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49567
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
|
49568
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
|
49569
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
|
49570
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
49571
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49572
|
+
---------------------------------------------------------------
|
|
49573
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_class_methods
|
|
49574
|
+
---------------------------------------------------------------
|
|
49575
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49576
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
49577
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-16 01:35:16.299082"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.299082"]]
|
|
49578
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
49579
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49580
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
49581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
49582
|
+
------------------------------------------------------------------
|
|
49583
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_instance_methods
|
|
49584
|
+
------------------------------------------------------------------
|
|
49585
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49586
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49587
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:35:16.305080"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.305080"]]
|
|
49588
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49589
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49590
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
49591
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49592
|
+
--------------------------------------------------
|
|
49593
|
+
OCacheTest: test_cache_fetch_handles_class_methods
|
|
49594
|
+
--------------------------------------------------
|
|
49595
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
|
49596
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
49597
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-16 01:35:16.311381"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.311381"]]
|
|
49598
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
49599
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
|
49600
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
49601
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
49602
|
+
-----------------------------------------------------
|
|
49603
|
+
OCacheTest: test_cache_fetch_handles_instance_methods
|
|
49604
|
+
-----------------------------------------------------
|
|
49605
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
49606
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-16 01:35:16.315760"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.315760"]]
|
|
49607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
49608
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
|
49609
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
|
49610
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49611
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:35:16.320566"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.320566"]]
|
|
49612
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49613
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" LIMIT 1
|
|
49614
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
|
49615
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
|
49616
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
49617
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
49618
|
+
--------------------------------------------
|
|
49619
|
+
OCacheTest: test_cache_fetch_handles_options
|
|
49620
|
+
--------------------------------------------
|
|
49621
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49622
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
|
49623
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49624
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:35:16.329961"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.329961"]]
|
|
49625
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49626
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49627
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49628
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
|
49629
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
49630
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49631
|
+
-------------------------------------------------------------
|
|
49632
|
+
OCacheTest: test_cache_fetch_handles_options_on_class_methods
|
|
49633
|
+
-------------------------------------------------------------
|
|
49634
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49635
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
49636
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-16 01:35:16.337859"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.337859"]]
|
|
49637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
49638
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
|
49639
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
49640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
49641
|
+
----------------------------------------------------------------
|
|
49642
|
+
OCacheTest: test_cache_fetch_handles_options_on_instance_methods
|
|
49643
|
+
----------------------------------------------------------------
|
|
49644
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49645
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
49646
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-16 01:35:16.343770"], ["string", "string"], ["updated_at", "2014-12-16 01:35:16.343770"]]
|
|
49647
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
49648
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
|
49649
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
49650
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
49651
|
+
------------------------------------------
|
|
49652
|
+
OCacheTest: test_ensure_caching_is_enabled
|
|
49457
49653
|
------------------------------------------
|
|
49458
49654
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418691901.141438:@expires_in0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418693716.323541:@expires_in0
|
data/test/dummy/tmp/cache/6F8/561/Queryable%2Fexpensive_class_method_with_arguments%2Fstring
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
o: ActiveSupport::Cache::Entry:@valuei:@created_atf
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418693716.3072388:@expires_in0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
o: ActiveSupport::Cache::Entry:@valuei:@created_atf
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418693716.333917:@expires_in0
|
data/test/dummy/tmp/cache/961/551/Queryable%2Fexpensive_class_method_with_options%2Fstring%3Dstring
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
o: ActiveSupport::Cache::Entry:@valuei:@created_atf
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418693716.3459:@expires_in0
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
o: ActiveSupport::Cache::Entry:@valuei:@created_atf
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418693716.313514:@expires_in0
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ocache
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luke Heuer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-12-
|
|
11
|
+
date: 2014-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -24,8 +24,7 @@ dependencies:
|
|
|
24
24
|
- - ~>
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 4.1.8
|
|
27
|
-
description:
|
|
28
|
-
you can run Rails.cache directly on objects.
|
|
27
|
+
description: Run Rails.cache.fetch directly on objects.
|
|
29
28
|
email:
|
|
30
29
|
- Luke@HeuerLabs.com
|
|
31
30
|
executables: []
|
|
@@ -116,6 +115,7 @@ files:
|
|
|
116
115
|
- test/dummy/tmp/cache/55B/211/queryables%2F1-20141209123203113334000%2Fexpensive_instance_method%2F
|
|
117
116
|
- test/dummy/tmp/cache/55C/231/queryables%2F1-20141210070502079203000%2Fexpensive_instance_method%2F
|
|
118
117
|
- test/dummy/tmp/cache/55D/101/queryables%2F1-20141210022041613287000%2Fexpensive_instance_method%2F
|
|
118
|
+
- test/dummy/tmp/cache/55D/4C1/queryables%2F1-20141216010501129830000%2Fexpensive_instance_method%2F
|
|
119
119
|
- test/dummy/tmp/cache/55D/5D1/queryables%2F1-20141211023950033730000%2Fexpensive_instance_method%2F
|
|
120
120
|
- test/dummy/tmp/cache/55E/4C1/queryables%2F1-20141211020512417563000%2Fexpensive_instance_method%2F
|
|
121
121
|
- test/dummy/tmp/cache/55E/5E1/queryables%2F1-20141210004224819250000%2Fexpensive_instance_method%2F
|
|
@@ -147,6 +147,7 @@ files:
|
|
|
147
147
|
- test/dummy/tmp/cache/565/6A1/queryables%2F1-20141210004134868640000%2Fexpensive_instance_method%2F
|
|
148
148
|
- test/dummy/tmp/cache/565/751/queryables%2F1-20141211020551782742000%2Fexpensive_instance_method%2F
|
|
149
149
|
- test/dummy/tmp/cache/565/8E1/queryables%2F1-20141210082017755603000%2Fexpensive_instance_method%2F
|
|
150
|
+
- test/dummy/tmp/cache/565/9F1/queryables%2F1-20141216013516315760000%2Fexpensive_instance_method%2F
|
|
150
151
|
- test/dummy/tmp/cache/566/751/queryables%2F1-20141210010231799742000%2Fexpensive_instance_method%2F
|
|
151
152
|
- test/dummy/tmp/cache/566/A81/queryables%2F1-20141210021922856712000%2Fexpensive_instance_method%2F
|
|
152
153
|
- test/dummy/tmp/cache/566/BE1/queryables%2F1-20141210020959346601000%2Fexpensive_instance_method%2F
|
|
@@ -483,7 +484,7 @@ rubyforge_project:
|
|
|
483
484
|
rubygems_version: 2.4.5
|
|
484
485
|
signing_key:
|
|
485
486
|
specification_version: 4
|
|
486
|
-
summary: Run Rails.cache directly on objects.
|
|
487
|
+
summary: Run Rails.cache.fetch directly on objects.
|
|
487
488
|
test_files:
|
|
488
489
|
- test/dummy/app/assets/javascripts/application.js
|
|
489
490
|
- test/dummy/app/assets/stylesheets/application.css
|
|
@@ -563,6 +564,7 @@ test_files:
|
|
|
563
564
|
- test/dummy/tmp/cache/55B/211/queryables%2F1-20141209123203113334000%2Fexpensive_instance_method%2F
|
|
564
565
|
- test/dummy/tmp/cache/55C/231/queryables%2F1-20141210070502079203000%2Fexpensive_instance_method%2F
|
|
565
566
|
- test/dummy/tmp/cache/55D/101/queryables%2F1-20141210022041613287000%2Fexpensive_instance_method%2F
|
|
567
|
+
- test/dummy/tmp/cache/55D/4C1/queryables%2F1-20141216010501129830000%2Fexpensive_instance_method%2F
|
|
566
568
|
- test/dummy/tmp/cache/55D/5D1/queryables%2F1-20141211023950033730000%2Fexpensive_instance_method%2F
|
|
567
569
|
- test/dummy/tmp/cache/55E/4C1/queryables%2F1-20141211020512417563000%2Fexpensive_instance_method%2F
|
|
568
570
|
- test/dummy/tmp/cache/55E/5E1/queryables%2F1-20141210004224819250000%2Fexpensive_instance_method%2F
|
|
@@ -594,6 +596,7 @@ test_files:
|
|
|
594
596
|
- test/dummy/tmp/cache/565/6A1/queryables%2F1-20141210004134868640000%2Fexpensive_instance_method%2F
|
|
595
597
|
- test/dummy/tmp/cache/565/751/queryables%2F1-20141211020551782742000%2Fexpensive_instance_method%2F
|
|
596
598
|
- test/dummy/tmp/cache/565/8E1/queryables%2F1-20141210082017755603000%2Fexpensive_instance_method%2F
|
|
599
|
+
- test/dummy/tmp/cache/565/9F1/queryables%2F1-20141216013516315760000%2Fexpensive_instance_method%2F
|
|
597
600
|
- test/dummy/tmp/cache/566/751/queryables%2F1-20141210010231799742000%2Fexpensive_instance_method%2F
|
|
598
601
|
- test/dummy/tmp/cache/566/A81/queryables%2F1-20141210021922856712000%2Fexpensive_instance_method%2F
|
|
599
602
|
- test/dummy/tmp/cache/566/BE1/queryables%2F1-20141210020959346601000%2Fexpensive_instance_method%2F
|