ocache 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocache/version.rb +1 -1
- data/test/dummy/log/test.log +294 -0
- data/test/dummy/tmp/cache/569/4C1/queryables%2F1-20141215032943046750000%2Fexpensive_instance_method%2F +1 -0
- data/test/dummy/tmp/cache/56C/B01/queryables%2F1-20141215032918132566000%2Fexpensive_instance_method%2F +1 -0
- data/test/dummy/tmp/cache/573/C51/queryables%2F1-20141215032932966229000%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 +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5fae8b73d3a958f66f13ef90b14e2cecdc090cc
|
4
|
+
data.tar.gz: e419762005f1b923a992dce75e67282f6ea0320e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3309f2b7f16dfb98c13f2e648ed2c82af94e3f9e1004bc897515a7c98680ab9f6512aad2fd3fb896bb781a3640ff633e93c956654622bb1ad32b85401e0dc914
|
7
|
+
data.tar.gz: 0c2a279bcbe24b6aa81880cabf28b3b728b33bb94e04540c451400fcf52b02835c94f7b92c83a77868e921afef008926763511e0abcb1c2861420ecd5378c26c
|
data/lib/ocache/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -49162,3 +49162,297 @@ OCacheTest: test_cache_fetch_handles_options_on_instance_methods
|
|
49162
49162
|
OCacheTest: test_ensure_caching_is_enabled
|
49163
49163
|
------------------------------------------
|
49164
49164
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
49165
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49166
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49167
|
+
----------------------------------------------
|
49168
|
+
OCacheTest: test_cache_fetch_handles_arguments
|
49169
|
+
----------------------------------------------
|
49170
|
+
[1m[36mQueryable Load (0.6ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
49171
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49172
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49173
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:18.107581"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.107581"]]
|
49174
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49175
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49176
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
49177
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49178
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
49179
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49180
|
+
---------------------------------------------------------------
|
49181
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_class_methods
|
49182
|
+
---------------------------------------------------------------
|
49183
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49184
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49185
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:18.117709"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.117709"]]
|
49186
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49187
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49188
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
49189
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49190
|
+
------------------------------------------------------------------
|
49191
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_instance_methods
|
49192
|
+
------------------------------------------------------------------
|
49193
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49194
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49195
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:18.123279"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.123279"]]
|
49196
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49197
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49198
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
49199
|
+
[1m[35m (0.0ms)[0m begin transaction
|
49200
|
+
--------------------------------------------------
|
49201
|
+
OCacheTest: test_cache_fetch_handles_class_methods
|
49202
|
+
--------------------------------------------------
|
49203
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
49204
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49205
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:18.128992"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.128992"]]
|
49206
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49207
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
49208
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
49209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49210
|
+
-----------------------------------------------------
|
49211
|
+
OCacheTest: test_cache_fetch_handles_instance_methods
|
49212
|
+
-----------------------------------------------------
|
49213
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
49214
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:18.132566"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.132566"]]
|
49215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
49216
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
49217
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49218
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
49219
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:18.136257"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.136257"]]
|
49220
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49221
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" LIMIT 1
|
49222
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
49223
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49224
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
49225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49226
|
+
--------------------------------------------
|
49227
|
+
OCacheTest: test_cache_fetch_handles_options
|
49228
|
+
--------------------------------------------
|
49229
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49230
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49231
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49232
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:18.145552"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.145552"]]
|
49233
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49234
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49235
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49236
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49237
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
49238
|
+
[1m[35m (0.2ms)[0m begin transaction
|
49239
|
+
-------------------------------------------------------------
|
49240
|
+
OCacheTest: test_cache_fetch_handles_options_on_class_methods
|
49241
|
+
-------------------------------------------------------------
|
49242
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49243
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49244
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:18.158683"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.158683"]]
|
49245
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49246
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49247
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
49248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49249
|
+
----------------------------------------------------------------
|
49250
|
+
OCacheTest: test_cache_fetch_handles_options_on_instance_methods
|
49251
|
+
----------------------------------------------------------------
|
49252
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49253
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49254
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:18.168034"], ["string", "string"], ["updated_at", "2014-12-15 03:29:18.168034"]]
|
49255
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49256
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49257
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
49258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49259
|
+
------------------------------------------
|
49260
|
+
OCacheTest: test_ensure_caching_is_enabled
|
49261
|
+
------------------------------------------
|
49262
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49263
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49264
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49265
|
+
----------------------------------------------
|
49266
|
+
OCacheTest: test_cache_fetch_handles_arguments
|
49267
|
+
----------------------------------------------
|
49268
|
+
[1m[36mQueryable Load (0.2ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
49269
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49270
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49271
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:32.940180"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.940180"]]
|
49272
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49273
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49274
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
49275
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49276
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
49277
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49278
|
+
---------------------------------------------------------------
|
49279
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_class_methods
|
49280
|
+
---------------------------------------------------------------
|
49281
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49282
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49283
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:32.950104"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.950104"]]
|
49284
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
49285
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49286
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
49287
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49288
|
+
------------------------------------------------------------------
|
49289
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_instance_methods
|
49290
|
+
------------------------------------------------------------------
|
49291
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49293
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:32.957020"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.957020"]]
|
49294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49295
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49296
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
49297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
49298
|
+
--------------------------------------------------
|
49299
|
+
OCacheTest: test_cache_fetch_handles_class_methods
|
49300
|
+
--------------------------------------------------
|
49301
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
49302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49303
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:32.962179"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.962179"]]
|
49304
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49305
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
49306
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
49307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49308
|
+
-----------------------------------------------------
|
49309
|
+
OCacheTest: test_cache_fetch_handles_instance_methods
|
49310
|
+
-----------------------------------------------------
|
49311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
49312
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:32.966229"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.966229"]]
|
49313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
49314
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
49315
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49316
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
49317
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:32.969905"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.969905"]]
|
49318
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49319
|
+
[1m[35mQueryable Load (0.2ms)[0m SELECT "queryables".* FROM "queryables" LIMIT 1
|
49320
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
49321
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49322
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
49323
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49324
|
+
--------------------------------------------
|
49325
|
+
OCacheTest: test_cache_fetch_handles_options
|
49326
|
+
--------------------------------------------
|
49327
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49328
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49329
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49330
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:32.979596"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.979596"]]
|
49331
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49332
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49333
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49334
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49335
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
49336
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49337
|
+
-------------------------------------------------------------
|
49338
|
+
OCacheTest: test_cache_fetch_handles_options_on_class_methods
|
49339
|
+
-------------------------------------------------------------
|
49340
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49341
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49342
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:32.988594"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.988594"]]
|
49343
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49344
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49345
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
49346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49347
|
+
----------------------------------------------------------------
|
49348
|
+
OCacheTest: test_cache_fetch_handles_options_on_instance_methods
|
49349
|
+
----------------------------------------------------------------
|
49350
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49351
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49352
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:32.995563"], ["string", "string"], ["updated_at", "2014-12-15 03:29:32.995563"]]
|
49353
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49354
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49355
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
49356
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49357
|
+
------------------------------------------
|
49358
|
+
OCacheTest: test_ensure_caching_is_enabled
|
49359
|
+
------------------------------------------
|
49360
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49361
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49363
|
+
----------------------------------------------
|
49364
|
+
OCacheTest: test_cache_fetch_handles_arguments
|
49365
|
+
----------------------------------------------
|
49366
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
49367
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49368
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49369
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:43.014504"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.014504"]]
|
49370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49371
|
+
[1m[35mQueryable Load (0.2ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49372
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1[0m
|
49373
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" WHERE "queryables"."string" = 'string' LIMIT 1
|
49374
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
49375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49376
|
+
---------------------------------------------------------------
|
49377
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_class_methods
|
49378
|
+
---------------------------------------------------------------
|
49379
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49380
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49381
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:43.026949"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.026949"]]
|
49382
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49383
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49384
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
49385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49386
|
+
------------------------------------------------------------------
|
49387
|
+
OCacheTest: test_cache_fetch_handles_arguments_on_instance_methods
|
49388
|
+
------------------------------------------------------------------
|
49389
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49390
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49391
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:43.033750"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.033750"]]
|
49392
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49393
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49394
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
49395
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49396
|
+
--------------------------------------------------
|
49397
|
+
OCacheTest: test_cache_fetch_handles_class_methods
|
49398
|
+
--------------------------------------------------
|
49399
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
49400
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49401
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:43.041051"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.041051"]]
|
49402
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49403
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables"[0m
|
49404
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
49405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49406
|
+
-----------------------------------------------------
|
49407
|
+
OCacheTest: test_cache_fetch_handles_instance_methods
|
49408
|
+
-----------------------------------------------------
|
49409
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49410
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:43.046750"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.046750"]]
|
49411
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49412
|
+
[1m[36mQueryable Load (0.2ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
49413
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49414
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49415
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:43.052476"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.052476"]]
|
49416
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49417
|
+
[1m[35mQueryable Load (0.1ms)[0m SELECT "queryables".* FROM "queryables" LIMIT 1
|
49418
|
+
[1m[36mQueryable Load (0.1ms)[0m [1mSELECT "queryables".* FROM "queryables" LIMIT 1[0m
|
49419
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49420
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
49421
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49422
|
+
--------------------------------------------
|
49423
|
+
OCacheTest: test_cache_fetch_handles_options
|
49424
|
+
--------------------------------------------
|
49425
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49426
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49427
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49428
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:43.063856"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.063856"]]
|
49429
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49430
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49431
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49432
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables"
|
49433
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
49434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49435
|
+
-------------------------------------------------------------
|
49436
|
+
OCacheTest: test_cache_fetch_handles_options_on_class_methods
|
49437
|
+
-------------------------------------------------------------
|
49438
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49439
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49440
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2014-12-15 03:29:43.071762"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.071762"]]
|
49441
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49442
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'[0m
|
49443
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
49444
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49445
|
+
----------------------------------------------------------------
|
49446
|
+
OCacheTest: test_cache_fetch_handles_options_on_instance_methods
|
49447
|
+
----------------------------------------------------------------
|
49448
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49449
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49450
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "queryables" ("created_at", "string", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-15 03:29:43.079218"], ["string", "string"], ["updated_at", "2014-12-15 03:29:43.079218"]]
|
49451
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
49452
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "queryables" WHERE "queryables"."string" = 'string'
|
49453
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
49454
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49455
|
+
------------------------------------------
|
49456
|
+
OCacheTest: test_ensure_caching_is_enabled
|
49457
|
+
------------------------------------------
|
49458
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
@@ -0,0 +1 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418614183.057597:@expires_in0
|
@@ -0,0 +1 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418614158.139491:@expires_in0
|
@@ -0,0 +1 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418614172.97331:@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_atf1418614183.03585:@expires_in0
|
@@ -1 +1 @@
|
|
1
|
-
o: ActiveSupport::Cache::Entry:@valuei:@created_atf
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418614183.0672388:@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_atf1418614183.082988:@expires_in0
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
o: ActiveSupport::Cache::Entry:@valuei:@created_atf
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418614183.0441291:@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.4
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -162,6 +162,7 @@ files:
|
|
162
162
|
- test/dummy/tmp/cache/569/141/queryables%2F1-20141210003948417039000%2Fexpensive_instance_method%2F
|
163
163
|
- test/dummy/tmp/cache/569/1B1/queryables%2F1-20141210082529004288000%2Fexpensive_instance_method%2F
|
164
164
|
- test/dummy/tmp/cache/569/481/queryables%2F1-20141210085555271208000%2Fexpensive_instance_method%2F
|
165
|
+
- test/dummy/tmp/cache/569/4C1/queryables%2F1-20141215032943046750000%2Fexpensive_instance_method%2F
|
165
166
|
- test/dummy/tmp/cache/569/DF1/queryables%2F1-20141210002634084399000%2Fexpensive_instance_method%2F
|
166
167
|
- test/dummy/tmp/cache/56A/151/queryables%2F1-20141210104327282389000%2Fexpensive_instance_method%2F
|
167
168
|
- test/dummy/tmp/cache/56A/2F1/queryables%2F1-20141210021427948615000%2Fexpensive_instance_method%2F
|
@@ -179,6 +180,7 @@ files:
|
|
179
180
|
- test/dummy/tmp/cache/56C/8F1/queryables%2F1-20141210082514438727000%2Fexpensive_instance_method%2F
|
180
181
|
- test/dummy/tmp/cache/56C/9F1/queryables%2F1-20141209120106299544000%2Fexpensive_instance_method%2F
|
181
182
|
- test/dummy/tmp/cache/56C/AB1/queryables%2F1-20141210082729215906000%2Fexpensive_instance_method%2F
|
183
|
+
- test/dummy/tmp/cache/56C/B01/queryables%2F1-20141215032918132566000%2Fexpensive_instance_method%2F
|
182
184
|
- test/dummy/tmp/cache/56D/AD1/queryables%2F1-20141211015504786762000%2Fexpensive_instance_method%2F
|
183
185
|
- test/dummy/tmp/cache/56E/1F1/queryables%2F1-20141209082432274319000%2Fexpensive_instance_method%2F
|
184
186
|
- test/dummy/tmp/cache/56E/3F1/queryables%2F1-20141209125857122723000%2Fexpensive_instance_method%2F
|
@@ -199,6 +201,7 @@ files:
|
|
199
201
|
- test/dummy/tmp/cache/573/2C1/queryables%2F1-20141209091839692120000%2Fexpensive_instance_method%2F
|
200
202
|
- test/dummy/tmp/cache/573/6C1/queryables%2F1-20141211013148449698000%2Fexpensive_instance_method%2F
|
201
203
|
- test/dummy/tmp/cache/573/B91/queryables%2F1-20141210082656575338000%2Fexpensive_instance_method%2F
|
204
|
+
- test/dummy/tmp/cache/573/C51/queryables%2F1-20141215032932966229000%2Fexpensive_instance_method%2F
|
202
205
|
- test/dummy/tmp/cache/573/D11/queryables%2F1-20141209092135154677000%2Fexpensive_instance_method%2F
|
203
206
|
- test/dummy/tmp/cache/573/F11/queryables%2F1-20141209125804677442000%2Fexpensive_instance_method%2F
|
204
207
|
- test/dummy/tmp/cache/574/0B1/queryables%2F1-20141209224613688092000%2Fexpensive_instance_method%2F
|
@@ -467,7 +470,7 @@ require_paths:
|
|
467
470
|
- lib
|
468
471
|
required_ruby_version: !ruby/object:Gem::Requirement
|
469
472
|
requirements:
|
470
|
-
- - '
|
473
|
+
- - '>='
|
471
474
|
- !ruby/object:Gem::Version
|
472
475
|
version: 1.9.3
|
473
476
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -606,6 +609,7 @@ test_files:
|
|
606
609
|
- test/dummy/tmp/cache/569/141/queryables%2F1-20141210003948417039000%2Fexpensive_instance_method%2F
|
607
610
|
- test/dummy/tmp/cache/569/1B1/queryables%2F1-20141210082529004288000%2Fexpensive_instance_method%2F
|
608
611
|
- test/dummy/tmp/cache/569/481/queryables%2F1-20141210085555271208000%2Fexpensive_instance_method%2F
|
612
|
+
- test/dummy/tmp/cache/569/4C1/queryables%2F1-20141215032943046750000%2Fexpensive_instance_method%2F
|
609
613
|
- test/dummy/tmp/cache/569/DF1/queryables%2F1-20141210002634084399000%2Fexpensive_instance_method%2F
|
610
614
|
- test/dummy/tmp/cache/56A/151/queryables%2F1-20141210104327282389000%2Fexpensive_instance_method%2F
|
611
615
|
- test/dummy/tmp/cache/56A/2F1/queryables%2F1-20141210021427948615000%2Fexpensive_instance_method%2F
|
@@ -623,6 +627,7 @@ test_files:
|
|
623
627
|
- test/dummy/tmp/cache/56C/8F1/queryables%2F1-20141210082514438727000%2Fexpensive_instance_method%2F
|
624
628
|
- test/dummy/tmp/cache/56C/9F1/queryables%2F1-20141209120106299544000%2Fexpensive_instance_method%2F
|
625
629
|
- test/dummy/tmp/cache/56C/AB1/queryables%2F1-20141210082729215906000%2Fexpensive_instance_method%2F
|
630
|
+
- test/dummy/tmp/cache/56C/B01/queryables%2F1-20141215032918132566000%2Fexpensive_instance_method%2F
|
626
631
|
- test/dummy/tmp/cache/56D/AD1/queryables%2F1-20141211015504786762000%2Fexpensive_instance_method%2F
|
627
632
|
- test/dummy/tmp/cache/56E/1F1/queryables%2F1-20141209082432274319000%2Fexpensive_instance_method%2F
|
628
633
|
- test/dummy/tmp/cache/56E/3F1/queryables%2F1-20141209125857122723000%2Fexpensive_instance_method%2F
|
@@ -643,6 +648,7 @@ test_files:
|
|
643
648
|
- test/dummy/tmp/cache/573/2C1/queryables%2F1-20141209091839692120000%2Fexpensive_instance_method%2F
|
644
649
|
- test/dummy/tmp/cache/573/6C1/queryables%2F1-20141211013148449698000%2Fexpensive_instance_method%2F
|
645
650
|
- test/dummy/tmp/cache/573/B91/queryables%2F1-20141210082656575338000%2Fexpensive_instance_method%2F
|
651
|
+
- test/dummy/tmp/cache/573/C51/queryables%2F1-20141215032932966229000%2Fexpensive_instance_method%2F
|
646
652
|
- test/dummy/tmp/cache/573/D11/queryables%2F1-20141209092135154677000%2Fexpensive_instance_method%2F
|
647
653
|
- test/dummy/tmp/cache/573/F11/queryables%2F1-20141209125804677442000%2Fexpensive_instance_method%2F
|
648
654
|
- test/dummy/tmp/cache/574/0B1/queryables%2F1-20141209224613688092000%2Fexpensive_instance_method%2F
|