ocache 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (412) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +32 -0
  3. data/lib/ocache.rb +3 -0
  4. data/lib/ocache/handler.rb +7 -0
  5. data/lib/ocache/proxy.rb +14 -0
  6. data/lib/ocache/rails_hook.rb +15 -0
  7. data/lib/ocache/version.rb +3 -0
  8. data/test/dummy/README.rdoc +28 -0
  9. data/test/dummy/Rakefile +6 -0
  10. data/test/dummy/app/assets/javascripts/application.js +13 -0
  11. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  12. data/test/dummy/app/controllers/application_controller.rb +5 -0
  13. data/test/dummy/app/helpers/application_helper.rb +2 -0
  14. data/test/dummy/app/models/queryable.rb +27 -0
  15. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  16. data/test/dummy/bin/bundle +3 -0
  17. data/test/dummy/bin/rails +4 -0
  18. data/test/dummy/bin/rake +4 -0
  19. data/test/dummy/config.ru +4 -0
  20. data/test/dummy/config/application.rb +23 -0
  21. data/test/dummy/config/boot.rb +5 -0
  22. data/test/dummy/config/database.yml +25 -0
  23. data/test/dummy/config/environment.rb +5 -0
  24. data/test/dummy/config/environments/development.rb +37 -0
  25. data/test/dummy/config/environments/production.rb +78 -0
  26. data/test/dummy/config/environments/test.rb +39 -0
  27. data/test/dummy/config/initializers/assets.rb +8 -0
  28. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  30. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  31. data/test/dummy/config/initializers/inflections.rb +16 -0
  32. data/test/dummy/config/initializers/mime_types.rb +4 -0
  33. data/test/dummy/config/initializers/session_store.rb +3 -0
  34. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  35. data/test/dummy/config/locales/en.yml +23 -0
  36. data/test/dummy/config/routes.rb +56 -0
  37. data/test/dummy/config/secrets.yml +22 -0
  38. data/test/dummy/db/development.sqlite3 +0 -0
  39. data/test/dummy/db/migrate/20141208022159_create_queryables.rb +11 -0
  40. data/test/dummy/db/schema.rb +31 -0
  41. data/test/dummy/db/test.sqlite3 +0 -0
  42. data/test/dummy/log/development.log +379 -0
  43. data/test/dummy/log/test.log +47694 -0
  44. data/test/dummy/public/404.html +67 -0
  45. data/test/dummy/public/422.html +67 -0
  46. data/test/dummy/public/500.html +66 -0
  47. data/test/dummy/public/favicon.ico +0 -0
  48. data/test/dummy/tmp/cache/059/7C1/CacheFetchTest%3A%3ASomeModule%2Fsome_method%2F +1 -0
  49. data/test/dummy/tmp/cache/05B/1F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F +0 -0
  50. data/test/dummy/tmp/cache/060/501/MethodCacheTest%3A%3ASomeClass%2Fsome_method%2F +1 -0
  51. data/test/dummy/tmp/cache/0A8/C31/Queryable%2Fexpensive_class_method%2Fstring +1 -0
  52. data/test/dummy/tmp/cache/0D0/061/MethodCacheTest%3A%3ASomeModule%2Fsome_method%2F +1 -0
  53. data/test/dummy/tmp/cache/1D1/861/CacheFetchTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09 +0 -0
  54. data/test/dummy/tmp/cache/1D6/E91/CacheFetchTest%3A%3ASomeClass%2Fsome_method%2F2014-12-09 +1 -0
  55. data/test/dummy/tmp/cache/246/881/CacheFetchTest%3A%3ASomeModule%2Fsome_method%2F2014-12-09 +1 -0
  56. data/test/dummy/tmp/cache/247/3E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08 +0 -0
  57. data/test/dummy/tmp/cache/248/3F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09 +0 -0
  58. data/test/dummy/tmp/cache/24C/A11/MethodCacheTest%3A%3ASomeClass%2Fsome_method%2F2014-12-08 +1 -0
  59. data/test/dummy/tmp/cache/24D/A21/MethodCacheTest%3A%3ASomeClass%2Fsome_method%2F2014-12-09 +1 -0
  60. data/test/dummy/tmp/cache/2BC/B71/MethodCacheTest%3A%3ASomeModule%2Fsome_method%2F2014-12-08 +1 -0
  61. data/test/dummy/tmp/cache/2BD/B81/MethodCacheTest%3A%3ASomeModule%2Fsome_method%2F2014-12-09 +1 -0
  62. data/test/dummy/tmp/cache/3E4/CD0/3393506222796536138 +0 -0
  63. data/test/dummy/tmp/cache/3EF/1A0/3506853374928343948 +0 -0
  64. data/test/dummy/tmp/cache/3F1/460/4176464805947563539 +1 -0
  65. data/test/dummy/tmp/cache/3FE/860/-4106640260049272038 +0 -0
  66. data/test/dummy/tmp/cache/40C/F90/-3414151446976501395 +0 -0
  67. data/test/dummy/tmp/cache/40D/650/-1381287794170135543 +1 -0
  68. data/test/dummy/tmp/cache/40F/490/-1525653958005182637 +1 -0
  69. data/test/dummy/tmp/cache/411/660/-2932829013391782635 +1 -0
  70. data/test/dummy/tmp/cache/415/AE0/-1358667349046179305 +1 -0
  71. data/test/dummy/tmp/cache/54C/9F1/queryables%2F1-20141210010218014002000%2Fexpensive_instance_method%2F +1 -0
  72. data/test/dummy/tmp/cache/550/521/queryables%2F1-20141210081004203041000%2Fexpensive_instance_method%2F +1 -0
  73. data/test/dummy/tmp/cache/552/681/queryables%2F1-20141210010203501805000%2Fexpensive_instance_method%2F +1 -0
  74. data/test/dummy/tmp/cache/552/931/queryables%2F1-20141210003231491020000%2Fexpensive_instance_method%2F +1 -0
  75. data/test/dummy/tmp/cache/554/F41/queryables%2F1-20141210013642320420000%2Fexpensive_instance_method%2F +1 -0
  76. data/test/dummy/tmp/cache/555/141/queryables%2F1-20141210083001225412000%2Fexpensive_instance_method%2F +1 -0
  77. data/test/dummy/tmp/cache/555/DD1/queryables%2F1-20141210021201354028000%2Fexpensive_instance_method%2F +1 -0
  78. data/test/dummy/tmp/cache/556/5D1/queryables%2F1-20141209120040208211000%2Fexpensive_instance_method%2F +1 -0
  79. data/test/dummy/tmp/cache/559/A81/queryables%2F1-20141210022149109031000%2Fexpensive_instance_method%2F +1 -0
  80. data/test/dummy/tmp/cache/55A/921/queryables%2F1-20141210000017427327000%2Fexpensive_instance_method%2F +1 -0
  81. data/test/dummy/tmp/cache/55B/211/queryables%2F1-20141209123203113334000%2Fexpensive_instance_method%2F +1 -0
  82. data/test/dummy/tmp/cache/55C/231/queryables%2F1-20141210070502079203000%2Fexpensive_instance_method%2F +1 -0
  83. data/test/dummy/tmp/cache/55D/101/queryables%2F1-20141210022041613287000%2Fexpensive_instance_method%2F +1 -0
  84. data/test/dummy/tmp/cache/55E/5E1/queryables%2F1-20141210004224819250000%2Fexpensive_instance_method%2F +1 -0
  85. data/test/dummy/tmp/cache/55F/5F1/queryables%2F1-20141210003039032729000%2Fexpensive_instance_method%2F +1 -0
  86. data/test/dummy/tmp/cache/55F/9C1/queryables%2F1-20141210082029032615000%2Fexpensive_instance_method%2F +1 -0
  87. data/test/dummy/tmp/cache/55F/A41/queryables%2F1-20141210070450903622000%2Fexpensive_instance_method%2F +1 -0
  88. data/test/dummy/tmp/cache/560/A21/queryables%2F1-20141210022007862822000%2Fexpensive_instance_method%2F +1 -0
  89. data/test/dummy/tmp/cache/560/A81/queryables%2F1-20141210021325484451000%2Fexpensive_instance_method%2F +1 -0
  90. data/test/dummy/tmp/cache/560/B11/queryables%2F1-20141210022805363037000%2Fexpensive_instance_method%2F +1 -0
  91. data/test/dummy/tmp/cache/560/DA1/queryables%2F1-20141210013859420223000%2Fexpensive_instance_method%2F +1 -0
  92. data/test/dummy/tmp/cache/561/0F1/queryables%2F1-20141210075054672040000%2Fexpensive_instance_method%2F +1 -0
  93. data/test/dummy/tmp/cache/561/F81/queryables%2F1-20141210083014942621000%2Fexpensive_instance_method%2F +1 -0
  94. data/test/dummy/tmp/cache/561/FA1/queryables%2F1-20141210081713530462000%2Fexpensive_instance_method%2F +1 -0
  95. data/test/dummy/tmp/cache/562/0A1/queryables%2F1-20141210021813684503000%2Fexpensive_instance_method%2F +1 -0
  96. data/test/dummy/tmp/cache/562/1B1/queryables%2F1-20141210082540601762000%2Fexpensive_instance_method%2F +1 -0
  97. data/test/dummy/tmp/cache/562/201/queryables%2F1-20141210082244271650000%2Fexpensive_instance_method%2F +1 -0
  98. data/test/dummy/tmp/cache/562/2A1/queryables%2F1-20141210070537290710000%2Fexpensive_instance_method%2F +1 -0
  99. data/test/dummy/tmp/cache/562/5A1/queryables%2F3-20141208053430004634000%2Fexpensive_instance_method%2F +1 -0
  100. data/test/dummy/tmp/cache/562/CF1/queryables%2F1-20141210021140909069000%2Fexpensive_instance_method%2F +1 -0
  101. data/test/dummy/tmp/cache/562/EA1/queryables%2F1-20141210070211089283000%2Fexpensive_instance_method%2F +1 -0
  102. data/test/dummy/tmp/cache/563/371/queryables%2F1-20141210070255624272000%2Fexpensive_instance_method%2F +1 -0
  103. data/test/dummy/tmp/cache/563/511/queryables%2F1-20141210095110845810000%2Fexpensive_instance_method%2F +1 -0
  104. data/test/dummy/tmp/cache/564/671/queryables%2F1-20141210070547221960000%2Fexpensive_instance_method%2F +1 -0
  105. data/test/dummy/tmp/cache/565/451/queryables%2F1-20141210000152953991000%2Fexpensive_instance_method%2F +1 -0
  106. data/test/dummy/tmp/cache/565/6A1/queryables%2F1-20141210004134868640000%2Fexpensive_instance_method%2F +1 -0
  107. data/test/dummy/tmp/cache/565/8E1/queryables%2F1-20141210082017755603000%2Fexpensive_instance_method%2F +1 -0
  108. data/test/dummy/tmp/cache/566/751/queryables%2F1-20141210010231799742000%2Fexpensive_instance_method%2F +1 -0
  109. data/test/dummy/tmp/cache/566/A81/queryables%2F1-20141210021922856712000%2Fexpensive_instance_method%2F +1 -0
  110. data/test/dummy/tmp/cache/566/BE1/queryables%2F1-20141210020959346601000%2Fexpensive_instance_method%2F +1 -0
  111. data/test/dummy/tmp/cache/566/D01/queryables%2F1-20141210080944471134000%2Fexpensive_instance_method%2F +1 -0
  112. data/test/dummy/tmp/cache/567/B31/queryables%2F1-20141210020837227267000%2Fexpensive_instance_method%2F +1 -0
  113. data/test/dummy/tmp/cache/567/B81/queryables%2F1-20141210002259675136000%2Fexpensive_instance_method%2F +1 -0
  114. data/test/dummy/tmp/cache/567/D61/queryables%2F1-20141210080835501088000%2Fexpensive_instance_method%2F +1 -0
  115. data/test/dummy/tmp/cache/568/1B1/queryables%2F1-20141210082744363271000%2Fexpensive_instance_method%2F +1 -0
  116. data/test/dummy/tmp/cache/568/221/queryables%2F1-20141209110707822128000%2Fexpensive_instance_method%2F +1 -0
  117. data/test/dummy/tmp/cache/568/CC1/queryables%2F1-20141210021420986726000%2Fexpensive_instance_method%2F +1 -0
  118. data/test/dummy/tmp/cache/568/F81/queryables%2F1-20141210021846476234000%2Fexpensive_instance_method%2F +1 -0
  119. data/test/dummy/tmp/cache/569/0E1/queryables%2F1-20141210070437093078000%2Fexpensive_instance_method%2F +1 -0
  120. data/test/dummy/tmp/cache/569/141/queryables%2F1-20141210003948417039000%2Fexpensive_instance_method%2F +1 -0
  121. data/test/dummy/tmp/cache/569/1B1/queryables%2F1-20141210082529004288000%2Fexpensive_instance_method%2F +1 -0
  122. data/test/dummy/tmp/cache/569/481/queryables%2F1-20141210085555271208000%2Fexpensive_instance_method%2F +1 -0
  123. data/test/dummy/tmp/cache/569/DF1/queryables%2F1-20141210002634084399000%2Fexpensive_instance_method%2F +1 -0
  124. data/test/dummy/tmp/cache/56A/151/queryables%2F1-20141210104327282389000%2Fexpensive_instance_method%2F +1 -0
  125. data/test/dummy/tmp/cache/56A/2F1/queryables%2F1-20141210021427948615000%2Fexpensive_instance_method%2F +1 -0
  126. data/test/dummy/tmp/cache/56A/571/queryables%2F1-20141210081649104592000%2Fexpensive_instance_method%2F +1 -0
  127. data/test/dummy/tmp/cache/56A/661/queryables%2F1-20141209123216514736000%2Fexpensive_instance_method%2F +1 -0
  128. data/test/dummy/tmp/cache/56A/841/queryables%2F1-20141209225008825072000%2Fexpensive_instance_method%2F +1 -0
  129. data/test/dummy/tmp/cache/56A/9E1/queryables%2F1-20141209082333911902000%2Fexpensive_instance_method%2F +1 -0
  130. data/test/dummy/tmp/cache/56B/5F1/queryables%2F1-20141210021747176780000%2Fexpensive_instance_method%2F +1 -0
  131. data/test/dummy/tmp/cache/56B/611/queryables%2F1-20141210081043698137000%2Fexpensive_instance_method%2F +1 -0
  132. data/test/dummy/tmp/cache/56B/741/queryables%2F1-20141210070552764770000%2Fexpensive_instance_method%2F +1 -0
  133. data/test/dummy/tmp/cache/56B/BF1/queryables%2F1-20141209084302683224000%2Fexpensive_instance_method%2F +1 -0
  134. data/test/dummy/tmp/cache/56B/C41/queryables%2F1-20141209084530308740000%2Fexpensive_instance_method%2F +1 -0
  135. data/test/dummy/tmp/cache/56C/891/queryables%2F1-20141210083046238584000%2Fexpensive_instance_method%2F +1 -0
  136. data/test/dummy/tmp/cache/56C/8F1/queryables%2F1-20141210082514438727000%2Fexpensive_instance_method%2F +1 -0
  137. data/test/dummy/tmp/cache/56C/9F1/queryables%2F1-20141209120106299544000%2Fexpensive_instance_method%2F +1 -0
  138. data/test/dummy/tmp/cache/56C/AB1/queryables%2F1-20141210082729215906000%2Fexpensive_instance_method%2F +1 -0
  139. data/test/dummy/tmp/cache/56E/1F1/queryables%2F1-20141209082432274319000%2Fexpensive_instance_method%2F +1 -0
  140. data/test/dummy/tmp/cache/56E/3F1/queryables%2F1-20141209125857122723000%2Fexpensive_instance_method%2F +1 -0
  141. data/test/dummy/tmp/cache/56E/4E1/queryables%2F1-20141209084431796111000%2Fexpensive_instance_method%2F +1 -0
  142. data/test/dummy/tmp/cache/56F/111/queryables%2F1-20141210081923627709000%2Fexpensive_instance_method%2F +1 -0
  143. data/test/dummy/tmp/cache/56F/1C1/queryables%2F1-20141210082629803628000%2Fexpensive_instance_method%2F +1 -0
  144. data/test/dummy/tmp/cache/56F/371/queryables%2F1-20141209090323518186000%2Fexpensive_instance_method%2F +1 -0
  145. data/test/dummy/tmp/cache/56F/5A1/queryables%2F1-20141209085610811817000%2Fexpensive_instance_method%2F +1 -0
  146. data/test/dummy/tmp/cache/570/A71/queryables%2F1-20141209085618711721000%2Fexpensive_instance_method%2F +1 -0
  147. data/test/dummy/tmp/cache/571/261/queryables%2F1-20141210003058896539000%2Fexpensive_instance_method%2F +1 -0
  148. data/test/dummy/tmp/cache/571/681/queryables%2F1-20141210082719268508000%2Fexpensive_instance_method%2F +1 -0
  149. data/test/dummy/tmp/cache/571/8B1/queryables%2F1-20141209224508441666000%2Fexpensive_instance_method%2F +0 -0
  150. data/test/dummy/tmp/cache/572/BD1/queryables%2F1-20141209091035469570000%2Fexpensive_instance_method%2F +1 -0
  151. data/test/dummy/tmp/cache/573/221/queryables%2F1-20141209083947470152000%2Fexpensive_instance_method%2F +1 -0
  152. data/test/dummy/tmp/cache/573/2C1/queryables%2F1-20141209091839692120000%2Fexpensive_instance_method%2F +1 -0
  153. data/test/dummy/tmp/cache/573/B91/queryables%2F1-20141210082656575338000%2Fexpensive_instance_method%2F +1 -0
  154. data/test/dummy/tmp/cache/573/D11/queryables%2F1-20141209092135154677000%2Fexpensive_instance_method%2F +1 -0
  155. data/test/dummy/tmp/cache/573/F11/queryables%2F1-20141209125804677442000%2Fexpensive_instance_method%2F +1 -0
  156. data/test/dummy/tmp/cache/574/0B1/queryables%2F1-20141209224613688092000%2Fexpensive_instance_method%2F +1 -0
  157. data/test/dummy/tmp/cache/575/211/queryables%2F1-20141209090130988617000%2Fexpensive_instance_method%2F +1 -0
  158. data/test/dummy/tmp/cache/575/451/queryables%2F1-20141209112928964631000%2Fexpensive_instance_method%2F +1 -0
  159. data/test/dummy/tmp/cache/577/4C1/queryables%2F1-20141210005959980827000%2Fexpensive_instance_method%2F +1 -0
  160. data/test/dummy/tmp/cache/577/661/queryables%2F1-20141209092111699187000%2Fexpensive_instance_method%2F +1 -0
  161. data/test/dummy/tmp/cache/57B/CC1/queryables%2F1-20141210081559149798000%2Fexpensive_instance_method%2F +1 -0
  162. data/test/dummy/tmp/cache/57B/E01/queryables%2F1-20141210082648755498000%2Fexpensive_instance_method%2F +1 -0
  163. data/test/dummy/tmp/cache/57B/E91/queryables%2F1-20141210082639975179000%2Fexpensive_instance_method%2F +1 -0
  164. data/test/dummy/tmp/cache/57D/5B1/queryables%2F1-20141209084132889278000%2Fexpensive_instance_method%2F +1 -0
  165. data/test/dummy/tmp/cache/57E/A61/queryables%2F1-20141209082955823478000%2Fexpensive_instance_method%2F +1 -0
  166. data/test/dummy/tmp/cache/585/AC1/queryables%2F1-20141209083918932997000%2Fexpensive_instance_method%2F +1 -0
  167. data/test/dummy/tmp/cache/59C/430/DateTime%2Fnow%2F +0 -0
  168. data/test/dummy/tmp/cache/61E/251/CacheFetchTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T03%3A29%3A29-08%3A00 +0 -0
  169. data/test/dummy/tmp/cache/681/A11/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A02%3A30-08%3A00 +0 -0
  170. data/test/dummy/tmp/cache/681/A61/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T01%3A01%3A30-08%3A00 +0 -0
  171. data/test/dummy/tmp/cache/682/B91/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T01%3A21%3A11-08%3A00 +0 -0
  172. data/test/dummy/tmp/cache/682/CE1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A20%3A00-08%3A00 +0 -0
  173. data/test/dummy/tmp/cache/683/B01/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A10%3A42-08%3A00 +0 -0
  174. data/test/dummy/tmp/cache/683/B31/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A11%3A23-08%3A00 +0 -0
  175. data/test/dummy/tmp/cache/684/B41/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A01%3A07-08%3A00 +0 -0
  176. data/test/dummy/tmp/cache/684/DB1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T04%3A00%3A40-08%3A00 +0 -0
  177. data/test/dummy/tmp/cache/684/E01/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A02%3A02-08%3A00 +0 -0
  178. data/test/dummy/tmp/cache/685/D31/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T01%3A03%3A23-08%3A00 +0 -0
  179. data/test/dummy/tmp/cache/685/DE1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T03%3A04%3A12-08%3A00 +0 -0
  180. data/test/dummy/tmp/cache/685/DF1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A43%3A02-08%3A00 +0 -0
  181. data/test/dummy/tmp/cache/685/E01/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T03%3A04%3A30-08%3A00 +0 -0
  182. data/test/dummy/tmp/cache/686/061/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A06%3A00-08%3A00 +0 -0
  183. data/test/dummy/tmp/cache/686/0A1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A14%3A00-08%3A00 +0 -0
  184. data/test/dummy/tmp/cache/686/D41/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T01%3A10%3A35-08%3A00 +0 -0
  185. data/test/dummy/tmp/cache/686/E11/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A41%3A32-08%3A00 +0 -0
  186. data/test/dummy/tmp/cache/686/ED1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A01%3A05-08%3A00 +0 -0
  187. data/test/dummy/tmp/cache/687/0B1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A23%3A11-08%3A00 +0 -0
  188. data/test/dummy/tmp/cache/687/0E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A43%3A01-08%3A00 +0 -0
  189. data/test/dummy/tmp/cache/687/131/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A42%3A01-08%3A00 +0 -0
  190. data/test/dummy/tmp/cache/687/E81/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A23%3A33-08%3A00 +0 -0
  191. data/test/dummy/tmp/cache/687/ED1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A24%3A32-08%3A00 +0 -0
  192. data/test/dummy/tmp/cache/687/F41/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T03%3A05%3A04-08%3A00 +0 -0
  193. data/test/dummy/tmp/cache/687/F71/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T04%3A01%3A06-08%3A00 +0 -0
  194. data/test/dummy/tmp/cache/688/021/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A44%3A31-08%3A00 +0 -0
  195. data/test/dummy/tmp/cache/688/071/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A45%3A30-08%3A00 +0 -0
  196. data/test/dummy/tmp/cache/688/0E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A04%3A04-08%3A00 +0 -0
  197. data/test/dummy/tmp/cache/688/101/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A56%3A10-08%3A00 +0 -0
  198. data/test/dummy/tmp/cache/688/111/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A20%3A32-08%3A00 +0 -0
  199. data/test/dummy/tmp/cache/688/171/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T04%3A32%3A03-08%3A00 +0 -0
  200. data/test/dummy/tmp/cache/688/231/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A17%3A00-08%3A00 +0 -0
  201. data/test/dummy/tmp/cache/688/251/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A53%3A00-08%3A00 +0 -0
  202. data/test/dummy/tmp/cache/688/DB1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A10%3A29-08%3A00 +0 -0
  203. data/test/dummy/tmp/cache/688/F11/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T01%3A21%3A35-08%3A00 +0 -0
  204. data/test/dummy/tmp/cache/688/F41/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T03%3A03%3A16-08%3A00 +0 -0
  205. data/test/dummy/tmp/cache/689/041/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A07%3A51-08%3A00 +0 -0
  206. data/test/dummy/tmp/cache/689/121/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A40%3A15-08%3A00 +0 -0
  207. data/test/dummy/tmp/cache/689/291/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A51%3A30-08%3A00 +0 -0
  208. data/test/dummy/tmp/cache/68A/0A1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T03%3A03%3A54-08%3A00 +0 -0
  209. data/test/dummy/tmp/cache/68A/261/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T15%3A20%3A52-08%3A00 +0 -0
  210. data/test/dummy/tmp/cache/68A/271/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A30%3A15-08%3A00 +0 -0
  211. data/test/dummy/tmp/cache/68A/291/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A32%3A32-08%3A00 +0 -0
  212. data/test/dummy/tmp/cache/68A/311/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A25%3A21-08%3A00 +0 -0
  213. data/test/dummy/tmp/cache/68A/850/Queryable%2Ftake%2F +0 -0
  214. data/test/dummy/tmp/cache/68B/1C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A09%3A15-08%3A00 +0 -0
  215. data/test/dummy/tmp/cache/68B/231/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T15%3A00%3A55-08%3A00 +0 -0
  216. data/test/dummy/tmp/cache/68B/291/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A41%3A16-08%3A00 +0 -0
  217. data/test/dummy/tmp/cache/68B/2B1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A13%3A16-08%3A00 +0 -0
  218. data/test/dummy/tmp/cache/68B/2C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T15%3A02%3A44-08%3A00 +0 -0
  219. data/test/dummy/tmp/cache/68B/371/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A40%3A24-08%3A00 +0 -0
  220. data/test/dummy/tmp/cache/68B/3F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T16%3A01%3A52-08%3A00 +0 -0
  221. data/test/dummy/tmp/cache/68B/431/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A27%3A11-08%3A00 +0 -0
  222. data/test/dummy/tmp/cache/68B/471/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A56%3A01-08%3A00 +0 -0
  223. data/test/dummy/tmp/cache/68C/251/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A01%3A29-08%3A00 +0 -0
  224. data/test/dummy/tmp/cache/68C/341/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A04%3A26-08%3A00 +0 -0
  225. data/test/dummy/tmp/cache/68C/3B1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T15%3A12%3A44-08%3A00 +0 -0
  226. data/test/dummy/tmp/cache/68C/3C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T04%3A32%3A16-08%3A00 +0 -0
  227. data/test/dummy/tmp/cache/68C/481/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T03%3A39%3A11-08%3A00 +0 -0
  228. data/test/dummy/tmp/cache/68C/481/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T16%3A01%3A53-08%3A00 +0 -0
  229. data/test/dummy/tmp/cache/68C/521/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A35%3A12-08%3A00 +0 -0
  230. data/test/dummy/tmp/cache/68C/541/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A46%3A20-08%3A00 +0 -0
  231. data/test/dummy/tmp/cache/68D/291/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A08%3A18-08%3A00 +0 -0
  232. data/test/dummy/tmp/cache/68D/2F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T03%3A41%3A19-08%3A00 +0 -0
  233. data/test/dummy/tmp/cache/68D/351/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A02%3A47-08%3A00 +0 -0
  234. data/test/dummy/tmp/cache/68D/3F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T15%3A03%3A09-08%3A00 +0 -0
  235. data/test/dummy/tmp/cache/68D/411/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A13%3A54-08%3A00 +0 -0
  236. data/test/dummy/tmp/cache/68D/411/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T03%3A07%3A07-08%3A00 +0 -0
  237. data/test/dummy/tmp/cache/68D/441/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A30%3A36-08%3A00 +0 -0
  238. data/test/dummy/tmp/cache/68D/591/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A28%3A03-08%3A00 +0 -0
  239. data/test/dummy/tmp/cache/68D/5F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A29%3A11-08%3A00 +0 -0
  240. data/test/dummy/tmp/cache/68D/631/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A58%3A01-08%3A00 +0 -0
  241. data/test/dummy/tmp/cache/68E/421/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A03%3A38-08%3A00 +0 -0
  242. data/test/dummy/tmp/cache/68E/4D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T15%3A04%3A09-08%3A00 +0 -0
  243. data/test/dummy/tmp/cache/68E/511/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A40%3A18-08%3A00 +0 -0
  244. data/test/dummy/tmp/cache/68E/521/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A31%3A36-08%3A00 +0 -0
  245. data/test/dummy/tmp/cache/68E/521/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A50%3A45-08%3A00 +0 -0
  246. data/test/dummy/tmp/cache/68E/551/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A24%3A53-08%3A00 +0 -0
  247. data/test/dummy/tmp/cache/68E/5A1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T14%3A50%3A08-08%3A00 +0 -0
  248. data/test/dummy/tmp/cache/68E/621/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A09%3A50-08%3A00 +0 -0
  249. data/test/dummy/tmp/cache/68E/6C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A19%3A12-08%3A00 +0 -0
  250. data/test/dummy/tmp/cache/68F/3F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A08%3A56-08%3A00 +0 -0
  251. data/test/dummy/tmp/cache/68F/4E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A12%3A57-08%3A00 +0 -0
  252. data/test/dummy/tmp/cache/68F/4F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T15%3A02%3A39-08%3A00 +0 -0
  253. data/test/dummy/tmp/cache/68F/601/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A07%3A44-08%3A00 +0 -0
  254. data/test/dummy/tmp/cache/68F/621/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A15%3A26-08%3A00 +0 -0
  255. data/test/dummy/tmp/cache/68F/691/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A44%3A43-08%3A00 +0 -0
  256. data/test/dummy/tmp/cache/68F/7C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T14%3A46%3A13-08%3A00 +0 -0
  257. data/test/dummy/tmp/cache/690/4E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T03%3A41%3A58-08%3A00 +0 -0
  258. data/test/dummy/tmp/cache/690/561/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A12%3A49-08%3A00 +0 -0
  259. data/test/dummy/tmp/cache/690/581/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A56%3A18-08%3A00 +0 -0
  260. data/test/dummy/tmp/cache/690/5B1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A05%3A29-08%3A00 +0 -0
  261. data/test/dummy/tmp/cache/690/6B1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A34%3A36-08%3A00 +0 -0
  262. data/test/dummy/tmp/cache/690/6C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A33%3A18-08%3A00 +0 -0
  263. data/test/dummy/tmp/cache/690/751/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A19%3A24-08%3A00 +0 -0
  264. data/test/dummy/tmp/cache/691/621/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A29%3A55-08%3A00 +0 -0
  265. data/test/dummy/tmp/cache/691/641/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A39%3A18-08%3A00 +0 -0
  266. data/test/dummy/tmp/cache/691/681/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T15%3A03%3A58-08%3A00 +0 -0
  267. data/test/dummy/tmp/cache/691/691/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A41%3A39-08%3A00 +0 -0
  268. data/test/dummy/tmp/cache/691/771/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A07%3A18-08%3A00 +0 -0
  269. data/test/dummy/tmp/cache/691/881/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T06%3A19%3A24-08%3A00 +0 -0
  270. data/test/dummy/tmp/cache/691/921/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T04%3A58%3A04-08%3A00 +0 -0
  271. data/test/dummy/tmp/cache/692/681/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T01%3A18%3A39-08%3A00 +0 -0
  272. data/test/dummy/tmp/cache/692/7D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T05%3A52%3A38-08%3A00 +0 -0
  273. data/test/dummy/tmp/cache/692/801/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A52%3A47-08%3A00 +0 -0
  274. data/test/dummy/tmp/cache/692/8B1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A28%3A35-08%3A00 +0 -0
  275. data/test/dummy/tmp/cache/692/8F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A47%3A07-08%3A00 +0 -0
  276. data/test/dummy/tmp/cache/692/911/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T14%3A45%3A08-08%3A00 +0 -0
  277. data/test/dummy/tmp/cache/693/791/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T00%3A39%3A47-08%3A00 +0 -0
  278. data/test/dummy/tmp/cache/693/871/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A43%3A39-08%3A00 +0 -0
  279. data/test/dummy/tmp/cache/693/8A1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A54%3A56-08%3A00 +0 -0
  280. data/test/dummy/tmp/cache/693/911/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A47%3A36-08%3A00 +0 -0
  281. data/test/dummy/tmp/cache/693/981/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A57%3A44-08%3A00 +0 -0
  282. data/test/dummy/tmp/cache/693/9B1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A58%3A25-08%3A00 +0 -0
  283. data/test/dummy/tmp/cache/694/9A1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T23%3A45%3A38-08%3A00 +0 -0
  284. data/test/dummy/tmp/cache/694/9D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A57%3A09-08%3A00 +0 -0
  285. data/test/dummy/tmp/cache/695/9E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-08T22%3A37%3A48-08%3A00 +0 -0
  286. data/test/dummy/tmp/cache/699/DF1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2F2014-12-09T04%3A58%3A57-08%3A00 +0 -0
  287. data/test/dummy/tmp/cache/6F8/561/Queryable%2Fexpensive_class_method_with_arguments%2Fstring +1 -0
  288. data/test/dummy/tmp/cache/70E/850/Queryable%2Fcount%2F +1 -0
  289. data/test/dummy/tmp/cache/75A/120/Associable%2Fcount%2F +0 -0
  290. data/test/dummy/tmp/cache/961/551/Queryable%2Fexpensive_class_method_with_options%2Fstring%3Dstring +1 -0
  291. data/test/dummy/tmp/cache/98D/A01/CacheFetchTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T03%253A29%253A29-08%253A00 +0 -0
  292. data/test/dummy/tmp/cache/9F0/E11/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A02%253A30-08%253A00 +0 -0
  293. data/test/dummy/tmp/cache/9F0/E81/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T01%253A01%253A30-08%253A00 +0 -0
  294. data/test/dummy/tmp/cache/9F1/011/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T01%253A21%253A11-08%253A00 +0 -0
  295. data/test/dummy/tmp/cache/9F1/201/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A20%253A00-08%253A00 +0 -0
  296. data/test/dummy/tmp/cache/9F2/F21/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A10%253A42-08%253A00 +0 -0
  297. data/test/dummy/tmp/cache/9F2/F71/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A11%253A23-08%253A00 +0 -0
  298. data/test/dummy/tmp/cache/9F3/2D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T04%253A00%253A40-08%253A00 +0 -0
  299. data/test/dummy/tmp/cache/9F3/361/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A02%253A02-08%253A00 +0 -0
  300. data/test/dummy/tmp/cache/9F3/F81/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A01%253A07-08%253A00 +0 -0
  301. data/test/dummy/tmp/cache/9F4/211/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T01%253A03%253A23-08%253A00 +0 -0
  302. data/test/dummy/tmp/cache/9F4/311/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A43%253A02-08%253A00 +0 -0
  303. data/test/dummy/tmp/cache/9F4/321/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T03%253A04%253A12-08%253A00 +0 -0
  304. data/test/dummy/tmp/cache/9F4/341/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T03%253A04%253A30-08%253A00 +0 -0
  305. data/test/dummy/tmp/cache/9F5/201/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T01%253A10%253A35-08%253A00 +0 -0
  306. data/test/dummy/tmp/cache/9F5/311/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A41%253A32-08%253A00 +0 -0
  307. data/test/dummy/tmp/cache/9F5/451/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A01%253A05-08%253A00 +0 -0
  308. data/test/dummy/tmp/cache/9F5/681/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A06%253A00-08%253A00 +0 -0
  309. data/test/dummy/tmp/cache/9F5/6E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A14%253A00-08%253A00 +0 -0
  310. data/test/dummy/tmp/cache/9F6/3A1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A23%253A33-08%253A00 +0 -0
  311. data/test/dummy/tmp/cache/9F6/411/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A24%253A32-08%253A00 +0 -0
  312. data/test/dummy/tmp/cache/9F6/4E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T03%253A05%253A04-08%253A00 +0 -0
  313. data/test/dummy/tmp/cache/9F6/511/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T04%253A01%253A06-08%253A00 +0 -0
  314. data/test/dummy/tmp/cache/9F6/6D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A23%253A11-08%253A00 +0 -0
  315. data/test/dummy/tmp/cache/9F6/701/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A43%253A01-08%253A00 +0 -0
  316. data/test/dummy/tmp/cache/9F6/771/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A42%253A01-08%253A00 +0 -0
  317. data/test/dummy/tmp/cache/9F7/271/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A10%253A29-08%253A00 +0 -0
  318. data/test/dummy/tmp/cache/9F7/451/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T01%253A21%253A35-08%253A00 +0 -0
  319. data/test/dummy/tmp/cache/9F7/4C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T03%253A03%253A16-08%253A00 +0 -0
  320. data/test/dummy/tmp/cache/9F7/5C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A44%253A31-08%253A00 +0 -0
  321. data/test/dummy/tmp/cache/9F7/631/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A45%253A30-08%253A00 +0 -0
  322. data/test/dummy/tmp/cache/9F7/701/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A04%253A04-08%253A00 +0 -0
  323. data/test/dummy/tmp/cache/9F7/701/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A56%253A10-08%253A00 +0 -0
  324. data/test/dummy/tmp/cache/9F7/731/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A20%253A32-08%253A00 +0 -0
  325. data/test/dummy/tmp/cache/9F7/7B1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T04%253A32%253A03-08%253A00 +0 -0
  326. data/test/dummy/tmp/cache/9F7/8D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A17%253A00-08%253A00 +0 -0
  327. data/test/dummy/tmp/cache/9F7/8F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A53%253A00-08%253A00 +0 -0
  328. data/test/dummy/tmp/cache/9F8/5E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A07%253A51-08%253A00 +0 -0
  329. data/test/dummy/tmp/cache/9F8/721/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A40%253A15-08%253A00 +0 -0
  330. data/test/dummy/tmp/cache/9F8/911/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A51%253A30-08%253A00 +0 -0
  331. data/test/dummy/tmp/cache/9F9/661/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T03%253A03%253A54-08%253A00 +0 -0
  332. data/test/dummy/tmp/cache/9F9/891/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T15%253A02%253A43-08%253A00 +0 -0
  333. data/test/dummy/tmp/cache/9F9/8C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T15%253A20%253A52-08%253A00 +0 -0
  334. data/test/dummy/tmp/cache/9F9/8F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A30%253A15-08%253A00 +0 -0
  335. data/test/dummy/tmp/cache/9F9/911/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A32%253A32-08%253A00 +0 -0
  336. data/test/dummy/tmp/cache/9F9/9D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A25%253A21-08%253A00 +0 -0
  337. data/test/dummy/tmp/cache/9FA/7E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A09%253A15-08%253A00 +0 -0
  338. data/test/dummy/tmp/cache/9FA/871/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T15%253A00%253A55-08%253A00 +0 -0
  339. data/test/dummy/tmp/cache/9FA/8F1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A41%253A16-08%253A00 +0 -0
  340. data/test/dummy/tmp/cache/9FA/931/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A13%253A16-08%253A00 +0 -0
  341. data/test/dummy/tmp/cache/9FA/A31/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A40%253A24-08%253A00 +0 -0
  342. data/test/dummy/tmp/cache/9FA/B51/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A27%253A11-08%253A00 +0 -0
  343. data/test/dummy/tmp/cache/9FA/B91/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A56%253A01-08%253A00 +0 -0
  344. data/test/dummy/tmp/cache/9FB/891/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A01%253A29-08%253A00 +0 -0
  345. data/test/dummy/tmp/cache/9FB/9E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A04%253A26-08%253A00 +0 -0
  346. data/test/dummy/tmp/cache/9FB/A71/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T15%253A12%253A44-08%253A00 +0 -0
  347. data/test/dummy/tmp/cache/9FB/A81/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T04%253A32%253A16-08%253A00 +0 -0
  348. data/test/dummy/tmp/cache/9FB/BA1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T03%253A39%253A11-08%253A00 +0 -0
  349. data/test/dummy/tmp/cache/9FB/C81/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A35%253A12-08%253A00 +0 -0
  350. data/test/dummy/tmp/cache/9FB/CA1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A46%253A20-08%253A00 +0 -0
  351. data/test/dummy/tmp/cache/9FC/8D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A08%253A18-08%253A00 +0 -0
  352. data/test/dummy/tmp/cache/9FC/951/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T03%253A41%253A19-08%253A00 +0 -0
  353. data/test/dummy/tmp/cache/9FC/9D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A02%253A47-08%253A00 +0 -0
  354. data/test/dummy/tmp/cache/9FC/AD1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T15%253A03%253A09-08%253A00 +0 -0
  355. data/test/dummy/tmp/cache/9FC/AD1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A13%253A54-08%253A00 +0 -0
  356. data/test/dummy/tmp/cache/9FC/AF1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T03%253A07%253A07-08%253A00 +0 -0
  357. data/test/dummy/tmp/cache/9FC/B21/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A30%253A36-08%253A00 +0 -0
  358. data/test/dummy/tmp/cache/9FC/D11/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A28%253A03-08%253A00 +0 -0
  359. data/test/dummy/tmp/cache/9FC/D91/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A29%253A11-08%253A00 +0 -0
  360. data/test/dummy/tmp/cache/9FC/DD1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A58%253A01-08%253A00 +0 -0
  361. data/test/dummy/tmp/cache/9FD/AE1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A03%253A38-08%253A00 +0 -0
  362. data/test/dummy/tmp/cache/9FD/BF1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T15%253A04%253A09-08%253A00 +0 -0
  363. data/test/dummy/tmp/cache/9FD/C21/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A50%253A45-08%253A00 +0 -0
  364. data/test/dummy/tmp/cache/9FD/C31/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A40%253A18-08%253A00 +0 -0
  365. data/test/dummy/tmp/cache/9FD/C41/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A31%253A36-08%253A00 +0 -0
  366. data/test/dummy/tmp/cache/9FD/C71/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A24%253A53-08%253A00 +0 -0
  367. data/test/dummy/tmp/cache/9FD/DA1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A09%253A50-08%253A00 +0 -0
  368. data/test/dummy/tmp/cache/9FD/EA1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A19%253A12-08%253A00 +0 -0
  369. data/test/dummy/tmp/cache/9FE/A71/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A08%253A56-08%253A00 +0 -0
  370. data/test/dummy/tmp/cache/9FE/BC1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A12%253A57-08%253A00 +0 -0
  371. data/test/dummy/tmp/cache/9FE/BF1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T15%253A02%253A39-08%253A00 +0 -0
  372. data/test/dummy/tmp/cache/9FE/D61/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A07%253A44-08%253A00 +0 -0
  373. data/test/dummy/tmp/cache/9FE/DA1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A15%253A26-08%253A00 +0 -0
  374. data/test/dummy/tmp/cache/9FE/E11/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A44%253A43-08%253A00 +0 -0
  375. data/test/dummy/tmp/cache/9FF/BA1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T03%253A41%253A58-08%253A00 +0 -0
  376. data/test/dummy/tmp/cache/9FF/C61/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A12%253A49-08%253A00 +0 -0
  377. data/test/dummy/tmp/cache/9FF/C81/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A56%253A18-08%253A00 +0 -0
  378. data/test/dummy/tmp/cache/9FF/CF1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A05%253A29-08%253A00 +0 -0
  379. data/test/dummy/tmp/cache/9FF/E31/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A34%253A36-08%253A00 +0 -0
  380. data/test/dummy/tmp/cache/9FF/E61/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A33%253A18-08%253A00 +0 -0
  381. data/test/dummy/tmp/cache/9FF/F31/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A19%253A24-08%253A00 +0 -0
  382. data/test/dummy/tmp/cache/A00/0C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A19%253A24-08%253A00 +0 -0
  383. data/test/dummy/tmp/cache/A00/181/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T04%253A58%253A04-08%253A00 +0 -0
  384. data/test/dummy/tmp/cache/A00/D41/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A29%253A55-08%253A00 +0 -0
  385. data/test/dummy/tmp/cache/A00/D81/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A39%253A18-08%253A00 +0 -0
  386. data/test/dummy/tmp/cache/A00/DE1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T15%253A03%253A58-08%253A00 +0 -0
  387. data/test/dummy/tmp/cache/A00/DF1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A41%253A39-08%253A00 +0 -0
  388. data/test/dummy/tmp/cache/A00/F51/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T06%253A07%253A18-08%253A00 +0 -0
  389. data/test/dummy/tmp/cache/A01/0D1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A28%253A35-08%253A00 +0 -0
  390. data/test/dummy/tmp/cache/A01/131/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A47%253A07-08%253A00 +0 -0
  391. data/test/dummy/tmp/cache/A01/DC1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T01%253A18%253A39-08%253A00 +0 -0
  392. data/test/dummy/tmp/cache/A01/F91/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T05%253A52%253A38-08%253A00 +0 -0
  393. data/test/dummy/tmp/cache/A01/FC1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A52%253A47-08%253A00 +0 -0
  394. data/test/dummy/tmp/cache/A02/051/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A43%253A39-08%253A00 +0 -0
  395. data/test/dummy/tmp/cache/A02/081/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A54%253A56-08%253A00 +0 -0
  396. data/test/dummy/tmp/cache/A02/131/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A47%253A36-08%253A00 +0 -0
  397. data/test/dummy/tmp/cache/A02/1C1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A57%253A44-08%253A00 +0 -0
  398. data/test/dummy/tmp/cache/A02/211/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A58%253A25-08%253A00 +0 -0
  399. data/test/dummy/tmp/cache/A02/F11/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-09T00%253A39%253A47-08%253A00 +0 -0
  400. data/test/dummy/tmp/cache/A03/1E1/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T23%253A45%253A38-08%253A00 +0 -0
  401. data/test/dummy/tmp/cache/A03/231/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A57%253A09-08%253A00 +0 -0
  402. data/test/dummy/tmp/cache/A04/221/MethodCacheTest%3A%3ASomeModel%2Fsome_method%2Fdate%3D2014-12-08T22%253A37%253A48-08%253A00 +0 -0
  403. data/test/dummy/tmp/cache/ADA/450/DateTime%2Fparse%2F2014-12-03+03%3A46%3A24 +0 -0
  404. data/test/dummy/tmp/cache/CCA/F40/Queryable%2Fwhere%2Fstring%3Dstring +0 -0
  405. data/test/dummy/tmp/cache/D4D/4D0/Queryable%2Ffind_by_string%2Fstring +0 -0
  406. data/test/dummy/tmp/cache/E11/210/Queryable%2Fexpensive_class_method%2F +1 -0
  407. data/test/dummy/tmp/cache/E33/640/Queryable%2Fexpensive_method%2Fstring +1 -0
  408. data/test/dummy/tmp/cache/FE4/0C0/CacheFetchTest%3A%3ASomeModel%2Fsome_method%2F +0 -0
  409. data/test/dummy/tmp/cache/FE9/3D0/CacheFetchTest%3A%3ASomeClass%2Fsome_method%2F +1 -0
  410. data/test/ocache_test.rb +67 -0
  411. data/test/test_helper.rb +16 -0
  412. metadata +886 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d9320c81895383fe8d1a98eb68f5247f440bf3d3
4
+ data.tar.gz: 9debff6d3ad59d2d16d8a2e3b9b5c1c4829e654d
5
+ SHA512:
6
+ metadata.gz: 2a6ac463d49b0b52fb68a285cde7a5f8c715a0da8a46ef199ff6888671f98ddacd1f09b5adb48178faa4f0241a54ca05536229dde8a63b8f09679e5051b33f5b
7
+ data.tar.gz: f33fed31038f2e07c347ce7a7a257acbb481fb0bbbefb7b113b4a58f50ac1f89217a71afdc022d8e0eea9b239f35b730e8d08ea7916fa5bf257c1a8ad3751574
@@ -0,0 +1,32 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'OCache'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+
18
+
19
+
20
+ Bundler::GemHelper.install_tasks
21
+
22
+ require 'rake/testtask'
23
+
24
+ Rake::TestTask.new(:test) do |t|
25
+ t.libs << 'lib'
26
+ t.libs << 'test'
27
+ t.pattern = 'test/**/*_test.rb'
28
+ t.verbose = false
29
+ end
30
+
31
+
32
+ task default: :test
@@ -0,0 +1,3 @@
1
+ require 'ocache/rails_hook' if defined?(::Rails::Engine)
2
+ require 'ocache/handler'
3
+ require 'ocache/proxy'
@@ -0,0 +1,7 @@
1
+ module OCache
2
+ module Handler
3
+ def cache_fetch(options={})
4
+ Proxy.new(self, options)
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,14 @@
1
+ module OCache
2
+ class Proxy < BasicObject
3
+ def initialize(module_target, module_options={})
4
+ @module_target = module_target
5
+ @module_options = module_options
6
+ end
7
+
8
+ def method_missing(method_target, *method_arguments)
9
+ ::Rails.cache.fetch([@module_target, method_target, method_arguments], @module_options) do
10
+ @module_target.__send__(method_target, *method_arguments)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,15 @@
1
+ module OCache
2
+ def self.rails_hook!
3
+ ActiveSupport.on_load(:active_record) do
4
+ include OCache::Handler
5
+ end
6
+
7
+ Module.__send__(:include, OCache::Handler)
8
+ end
9
+
10
+ class Rails < ::Rails::Engine
11
+ initializer 'ocache' do
12
+ OCache.rails_hook!
13
+ end
14
+ end if defined?(::Rails)
15
+ end
@@ -0,0 +1,3 @@
1
+ module OCache
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,28 @@
1
+ == README
2
+
3
+ This README would normally document whatever steps are necessary to get the
4
+ application up and running.
5
+
6
+ Things you may want to cover:
7
+
8
+ * Ruby version
9
+
10
+ * System dependencies
11
+
12
+ * Configuration
13
+
14
+ * Database creation
15
+
16
+ * Database initialization
17
+
18
+ * How to run the test suite
19
+
20
+ * Services (job queues, cache servers, search engines, etc.)
21
+
22
+ * Deployment instructions
23
+
24
+ * ...
25
+
26
+
27
+ Please feel free to use a different markup language if you do not plan to run
28
+ <tt>rake doc:app</tt>.
@@ -0,0 +1,6 @@
1
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
2
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
+
4
+ require File.expand_path('../config/application', __FILE__)
5
+
6
+ Rails.application.load_tasks
@@ -0,0 +1,13 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require_tree .
@@ -0,0 +1,15 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -0,0 +1,5 @@
1
+ class ApplicationController < ActionController::Base
2
+ # Prevent CSRF attacks by raising an exception.
3
+ # For APIs, you may want to use :null_session instead.
4
+ protect_from_forgery with: :exception
5
+ end
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
@@ -0,0 +1,27 @@
1
+ class Queryable < ActiveRecord::Base
2
+ has_many :associable
3
+
4
+ def self.expensive_class_method
5
+ self.count
6
+ end
7
+
8
+ def self.expensive_class_method_with_options(options={})
9
+ self.where(options).count
10
+ end
11
+
12
+ def self.expensive_class_method_with_arguments(arg)
13
+ self.where(string: arg).count
14
+ end
15
+
16
+ def expensive_instance_method
17
+ Queryable.count
18
+ end
19
+
20
+ def expensive_instance_method_with_options(options={})
21
+ Queryable.where(options).count
22
+ end
23
+
24
+ def expensive_instance_method_with_arguments(arg)
25
+ Queryable.where(string: arg).count
26
+ end
27
+ end
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
+ <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <%= yield %>
12
+
13
+ </body>
14
+ </html>
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
+ load Gem.bin_path('bundler', 'bundle')
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
3
+ require_relative '../config/boot'
4
+ require 'rails/commands'
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require_relative '../config/boot'
3
+ require 'rake'
4
+ Rake.application.run
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
@@ -0,0 +1,23 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ require 'rails/all'
4
+
5
+ Bundler.require(*Rails.groups)
6
+ require "ocache"
7
+
8
+ module Dummy
9
+ class Application < Rails::Application
10
+ # Settings in config/environments/* take precedence over those specified here.
11
+ # Application configuration should go into files in config/initializers
12
+ # -- all .rb files in that directory are automatically loaded.
13
+
14
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
15
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
16
+ # config.time_zone = 'Central Time (US & Canada)'
17
+
18
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
19
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
20
+ # config.i18n.default_locale = :de
21
+ end
22
+ end
23
+
@@ -0,0 +1,5 @@
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
5
+ $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,25 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ #
7
+ default: &default
8
+ adapter: sqlite3
9
+ pool: 5
10
+ timeout: 5000
11
+
12
+ development:
13
+ <<: *default
14
+ database: db/development.sqlite3
15
+
16
+ # Warning: The database defined as "test" will be erased and
17
+ # re-generated from your development database when you run "rake".
18
+ # Do not set this db to the same as development or production.
19
+ test:
20
+ <<: *default
21
+ database: db/test.sqlite3
22
+
23
+ production:
24
+ <<: *default
25
+ database: db/production.sqlite3
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,37 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
+
12
+ # Show full error reports and disable caching.
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = true
15
+
16
+ # Don't care if the mailer can't send.
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger.
20
+ config.active_support.deprecation = :log
21
+
22
+ # Raise an error on page load if there are pending migrations.
23
+ config.active_record.migration_error = :page_load
24
+
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
28
+ config.assets.debug = true
29
+
30
+ # Adds additional error checking when serving assets at runtime.
31
+ # Checks for improperly declared sprockets dependencies.
32
+ # Raises helpful error messages.
33
+ config.assets.raise_runtime_errors = true
34
+
35
+ # Raises error for missing translations
36
+ # config.action_view.raise_on_missing_translations = true
37
+ end
@@ -0,0 +1,78 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20
+ # config.action_dispatch.rack_cache = true
21
+
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
23
+ config.serve_static_assets = false
24
+
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
28
+
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
30
+ config.assets.compile = false
31
+
32
+ # Generate digests for assets URLs.
33
+ config.assets.digest = true
34
+
35
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
36
+
37
+ # Specifies the header that your server uses for sending files.
38
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
39
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
40
+
41
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
42
+ # config.force_ssl = true
43
+
44
+ # Set to :debug to see everything in the log.
45
+ config.log_level = :info
46
+
47
+ # Prepend all log lines with the following tags.
48
+ # config.log_tags = [ :subdomain, :uuid ]
49
+
50
+ # Use a different logger for distributed setups.
51
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
52
+
53
+ # Use a different cache store in production.
54
+ # config.cache_store = :mem_cache_store
55
+
56
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
57
+ # config.action_controller.asset_host = "http://assets.example.com"
58
+
59
+ # Ignore bad email addresses and do not raise email delivery errors.
60
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
61
+ # config.action_mailer.raise_delivery_errors = false
62
+
63
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
64
+ # the I18n.default_locale when a translation cannot be found).
65
+ config.i18n.fallbacks = true
66
+
67
+ # Send deprecation notices to registered listeners.
68
+ config.active_support.deprecation = :notify
69
+
70
+ # Disable automatic flushing of the log to improve performance.
71
+ # config.autoflush_log = false
72
+
73
+ # Use default logging formatter so that PID and timestamp are not suppressed.
74
+ config.log_formatter = ::Logger::Formatter.new
75
+
76
+ # Do not dump schema after migrations.
77
+ config.active_record.dump_schema_after_migration = false
78
+ end
@@ -0,0 +1,39 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = false
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = true
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Print deprecation notices to the stderr.
35
+ config.active_support.deprecation = :stderr
36
+
37
+ # Raises error for missing translations
38
+ # config.action_view.raise_on_missing_translations = true
39
+ end