thorero 0.9.4.4 → 0.9.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (298) hide show
  1. data/LICENSE +1 -1
  2. data/README +21 -0
  3. data/Rakefile +275 -108
  4. data/TODO +0 -0
  5. data/bin/merb +12 -0
  6. data/bin/merb-specs +5 -0
  7. data/docs/bootloading.dox +58 -0
  8. data/docs/documentation_standards +40 -0
  9. data/docs/merb-core-call-stack-diagram.mmap +0 -0
  10. data/docs/merb-core-call-stack-diagram.pdf +0 -0
  11. data/docs/merb-core-call-stack-diagram.png +0 -0
  12. data/docs/new_render_api +51 -0
  13. data/lib/merb-core.rb +603 -0
  14. data/lib/merb-core/autoload.rb +32 -0
  15. data/lib/merb-core/bootloader.rb +708 -0
  16. data/lib/merb-core/config.rb +303 -0
  17. data/lib/merb-core/constants.rb +43 -0
  18. data/lib/merb-core/controller/abstract_controller.rb +578 -0
  19. data/lib/merb-core/controller/exceptions.rb +302 -0
  20. data/lib/merb-core/controller/merb_controller.rb +256 -0
  21. data/lib/merb-core/controller/mime.rb +106 -0
  22. data/lib/merb-core/controller/mixins/authentication.rb +87 -0
  23. data/lib/merb-core/controller/mixins/controller.rb +290 -0
  24. data/lib/merb-core/controller/mixins/render.rb +481 -0
  25. data/lib/merb-core/controller/mixins/responder.rb +472 -0
  26. data/lib/merb-core/controller/template.rb +254 -0
  27. data/lib/merb-core/core_ext.rb +8 -0
  28. data/lib/merb-core/core_ext/kernel.rb +319 -0
  29. data/lib/merb-core/dispatch/cookies.rb +91 -0
  30. data/lib/merb-core/dispatch/dispatcher.rb +278 -0
  31. data/lib/merb-core/dispatch/exceptions.html.erb +303 -0
  32. data/lib/merb-core/dispatch/request.rb +603 -0
  33. data/lib/merb-core/dispatch/router.rb +179 -0
  34. data/lib/merb-core/dispatch/router/behavior.rb +867 -0
  35. data/lib/merb-core/dispatch/router/cached_proc.rb +52 -0
  36. data/lib/merb-core/dispatch/router/route.rb +321 -0
  37. data/lib/merb-core/dispatch/session.rb +78 -0
  38. data/lib/merb-core/dispatch/session/cookie.rb +168 -0
  39. data/lib/merb-core/dispatch/session/memcached.rb +184 -0
  40. data/lib/merb-core/dispatch/session/memory.rb +241 -0
  41. data/lib/merb-core/dispatch/worker.rb +28 -0
  42. data/lib/merb-core/gem_ext/erubis.rb +77 -0
  43. data/lib/{extlib → merb-core}/logger.rb +2 -2
  44. data/lib/merb-core/plugins.rb +59 -0
  45. data/lib/merb-core/rack.rb +21 -0
  46. data/lib/merb-core/rack/adapter.rb +44 -0
  47. data/lib/merb-core/rack/adapter/ebb.rb +25 -0
  48. data/lib/merb-core/rack/adapter/evented_mongrel.rb +26 -0
  49. data/lib/merb-core/rack/adapter/fcgi.rb +17 -0
  50. data/lib/merb-core/rack/adapter/irb.rb +118 -0
  51. data/lib/merb-core/rack/adapter/mongrel.rb +26 -0
  52. data/lib/merb-core/rack/adapter/runner.rb +28 -0
  53. data/lib/merb-core/rack/adapter/swiftiplied_mongrel.rb +26 -0
  54. data/lib/merb-core/rack/adapter/thin.rb +39 -0
  55. data/lib/merb-core/rack/adapter/thin_turbo.rb +24 -0
  56. data/lib/merb-core/rack/adapter/webrick.rb +36 -0
  57. data/lib/merb-core/rack/application.rb +18 -0
  58. data/lib/merb-core/rack/handler/mongrel.rb +97 -0
  59. data/lib/merb-core/rack/middleware.rb +26 -0
  60. data/lib/merb-core/rack/middleware/path_prefix.rb +31 -0
  61. data/lib/merb-core/rack/middleware/profiler.rb +19 -0
  62. data/lib/merb-core/rack/middleware/static.rb +45 -0
  63. data/lib/merb-core/server.rb +252 -0
  64. data/lib/merb-core/tasks/audit.rake +68 -0
  65. data/lib/merb-core/tasks/merb.rb +1 -0
  66. data/lib/merb-core/tasks/merb_rake_helper.rb +12 -0
  67. data/lib/merb-core/test.rb +11 -0
  68. data/lib/merb-core/test/helpers.rb +9 -0
  69. data/lib/merb-core/test/helpers/controller_helper.rb +8 -0
  70. data/lib/merb-core/test/helpers/multipart_request_helper.rb +175 -0
  71. data/lib/merb-core/test/helpers/request_helper.rb +344 -0
  72. data/lib/merb-core/test/helpers/route_helper.rb +33 -0
  73. data/lib/merb-core/test/helpers/view_helper.rb +121 -0
  74. data/lib/merb-core/test/matchers.rb +9 -0
  75. data/lib/merb-core/test/matchers/controller_matchers.rb +319 -0
  76. data/lib/merb-core/test/matchers/route_matchers.rb +136 -0
  77. data/lib/merb-core/test/matchers/view_matchers.rb +335 -0
  78. data/lib/merb-core/test/run_specs.rb +47 -0
  79. data/lib/merb-core/test/tasks/spectasks.rb +68 -0
  80. data/lib/merb-core/test/test_ext/hpricot.rb +32 -0
  81. data/lib/merb-core/test/test_ext/object.rb +14 -0
  82. data/lib/merb-core/test/test_ext/string.rb +14 -0
  83. data/lib/merb-core/vendor/facets.rb +2 -0
  84. data/lib/merb-core/vendor/facets/dictionary.rb +433 -0
  85. data/lib/merb-core/vendor/facets/inflect.rb +345 -0
  86. data/lib/merb-core/version.rb +11 -0
  87. data/spec/private/config/adapter_spec.rb +32 -0
  88. data/spec/private/config/config_spec.rb +202 -0
  89. data/spec/private/config/environment_spec.rb +13 -0
  90. data/spec/private/config/spec_helper.rb +1 -0
  91. data/spec/private/core_ext/kernel_spec.rb +169 -0
  92. data/spec/private/dispatch/bootloader_spec.rb +24 -0
  93. data/spec/private/dispatch/cookies_spec.rb +107 -0
  94. data/spec/private/dispatch/dispatch_spec.rb +35 -0
  95. data/spec/private/dispatch/fixture/app/controllers/application.rb +4 -0
  96. data/spec/private/dispatch/fixture/app/controllers/exceptions.rb +27 -0
  97. data/spec/private/dispatch/fixture/app/controllers/foo.rb +21 -0
  98. data/spec/private/dispatch/fixture/app/helpers/global_helpers.rb +8 -0
  99. data/spec/private/dispatch/fixture/app/views/exeptions/client_error.html.erb +37 -0
  100. data/spec/private/dispatch/fixture/app/views/exeptions/internal_server_error.html.erb +216 -0
  101. data/spec/private/dispatch/fixture/app/views/exeptions/not_acceptable.html.erb +38 -0
  102. data/spec/private/dispatch/fixture/app/views/exeptions/not_found.html.erb +40 -0
  103. data/spec/private/dispatch/fixture/app/views/foo/bar.html.erb +0 -0
  104. data/spec/private/dispatch/fixture/app/views/layout/application.html.erb +11 -0
  105. data/spec/private/dispatch/fixture/config/black_hole.rb +12 -0
  106. data/spec/private/dispatch/fixture/config/environments/development.rb +6 -0
  107. data/spec/private/dispatch/fixture/config/environments/production.rb +5 -0
  108. data/spec/private/dispatch/fixture/config/environments/test.rb +6 -0
  109. data/spec/private/dispatch/fixture/config/init.rb +45 -0
  110. data/spec/private/dispatch/fixture/config/rack.rb +11 -0
  111. data/spec/private/dispatch/fixture/config/router.rb +35 -0
  112. data/spec/private/dispatch/fixture/log/merb_test.log +1874 -0
  113. data/spec/private/dispatch/fixture/public/images/merb.jpg +0 -0
  114. data/spec/private/dispatch/fixture/public/merb.fcgi +4 -0
  115. data/spec/private/dispatch/fixture/public/stylesheets/master.css +119 -0
  116. data/spec/private/dispatch/route_params_spec.rb +24 -0
  117. data/spec/private/dispatch/session_mixin_spec.rb +47 -0
  118. data/spec/private/dispatch/spec_helper.rb +1 -0
  119. data/spec/private/plugins/plugin_spec.rb +166 -0
  120. data/spec/private/rack/application_spec.rb +49 -0
  121. data/spec/private/router/behavior_spec.rb +60 -0
  122. data/spec/private/router/fixture/log/merb_test.log +139 -0
  123. data/spec/private/router/route_spec.rb +414 -0
  124. data/spec/private/router/router_spec.rb +175 -0
  125. data/spec/private/vendor/facets/plural_spec.rb +564 -0
  126. data/spec/private/vendor/facets/singular_spec.rb +489 -0
  127. data/spec/public/DEFINITIONS +11 -0
  128. data/spec/public/abstract_controller/controllers/alt_views/layout/application.erb +1 -0
  129. data/spec/public/abstract_controller/controllers/alt_views/layout/merb/test/fixtures/abstract/render_string_controller_layout.erb +1 -0
  130. data/spec/public/abstract_controller/controllers/alt_views/layout/merb/test/fixtures/abstract/render_template_controller_layout.erb +1 -0
  131. data/spec/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/display_object_with_multiple_roots/index.erb +1 -0
  132. data/spec/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/display_object_with_multiple_roots/show.erb +1 -0
  133. data/spec/public/abstract_controller/controllers/alt_views/merb/test/fixtures/abstract/render_template_multiple_roots/index.erb +1 -0
  134. data/spec/public/abstract_controller/controllers/alt_views/partial/basic_partial_with_multiple_roots/_partial.erb +1 -0
  135. data/spec/public/abstract_controller/controllers/alt_views/render_template_multiple_roots_and_custom_location/index.erb +1 -0
  136. data/spec/public/abstract_controller/controllers/alt_views/render_template_multiple_roots_inherited/index.erb +1 -0
  137. data/spec/public/abstract_controller/controllers/cousins.rb +41 -0
  138. data/spec/public/abstract_controller/controllers/display.rb +54 -0
  139. data/spec/public/abstract_controller/controllers/filters.rb +193 -0
  140. data/spec/public/abstract_controller/controllers/helpers.rb +41 -0
  141. data/spec/public/abstract_controller/controllers/partial.rb +121 -0
  142. data/spec/public/abstract_controller/controllers/render.rb +113 -0
  143. data/spec/public/abstract_controller/controllers/views/helpers/capture/index.erb +1 -0
  144. data/spec/public/abstract_controller/controllers/views/helpers/capture_eq/index.erb +1 -0
  145. data/spec/public/abstract_controller/controllers/views/helpers/capture_with_args/index.erb +1 -0
  146. data/spec/public/abstract_controller/controllers/views/helpers/concat/index.erb +1 -0
  147. data/spec/public/abstract_controller/controllers/views/layout/alt.erb +1 -0
  148. data/spec/public/abstract_controller/controllers/views/layout/custom.erb +1 -0
  149. data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/display_object/index.erb +1 -0
  150. data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/display_object_with_action/new.erb +1 -0
  151. data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template/index.erb +1 -0
  152. data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_app_layout/index.erb +0 -0
  153. data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_custom_layout/index.erb +1 -0
  154. data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_multiple_roots/index.erb +1 -0
  155. data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_template_multiple_roots/show.erb +1 -0
  156. data/spec/public/abstract_controller/controllers/views/merb/test/fixtures/abstract/render_two_throw_contents/index.erb +1 -0
  157. data/spec/public/abstract_controller/controllers/views/partial/another_directory/_partial.erb +1 -0
  158. data/spec/public/abstract_controller/controllers/views/partial/basic_partial/_partial.erb +1 -0
  159. data/spec/public/abstract_controller/controllers/views/partial/basic_partial/index.erb +1 -0
  160. data/spec/public/abstract_controller/controllers/views/partial/basic_partial_with_multiple_roots/index.erb +1 -0
  161. data/spec/public/abstract_controller/controllers/views/partial/nested_partial/_first.erb +1 -0
  162. data/spec/public/abstract_controller/controllers/views/partial/nested_partial/_second.erb +1 -0
  163. data/spec/public/abstract_controller/controllers/views/partial/nested_partial/index.erb +1 -0
  164. data/spec/public/abstract_controller/controllers/views/partial/partial_in_another_directory/index.erb +1 -0
  165. data/spec/public/abstract_controller/controllers/views/partial/partial_with_both/_collection.erb +1 -0
  166. data/spec/public/abstract_controller/controllers/views/partial/partial_with_both/index.erb +1 -0
  167. data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections/_collection.erb +1 -0
  168. data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections/index.erb +1 -0
  169. data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections_and_as/_collection.erb +1 -0
  170. data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections_and_as/index.erb +1 -0
  171. data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections_and_counter/_collection.erb +1 -0
  172. data/spec/public/abstract_controller/controllers/views/partial/partial_with_collections_and_counter/index.erb +1 -0
  173. data/spec/public/abstract_controller/controllers/views/partial/partial_with_locals/_variables.erb +1 -0
  174. data/spec/public/abstract_controller/controllers/views/partial/partial_with_locals/index.erb +1 -0
  175. data/spec/public/abstract_controller/controllers/views/partial/partial_with_with_and_locals/_both.erb +1 -0
  176. data/spec/public/abstract_controller/controllers/views/partial/partial_with_with_and_locals/index.erb +1 -0
  177. data/spec/public/abstract_controller/controllers/views/partial/with_absolute_partial/_partial.erb +1 -0
  178. data/spec/public/abstract_controller/controllers/views/partial/with_absolute_partial/index.erb +1 -0
  179. data/spec/public/abstract_controller/controllers/views/partial/with_as_partial/_with_partial.erb +1 -0
  180. data/spec/public/abstract_controller/controllers/views/partial/with_as_partial/index.erb +1 -0
  181. data/spec/public/abstract_controller/controllers/views/partial/with_nil_partial/_with_partial.erb +1 -0
  182. data/spec/public/abstract_controller/controllers/views/partial/with_nil_partial/index.erb +1 -0
  183. data/spec/public/abstract_controller/controllers/views/partial/with_partial/_with_partial.erb +1 -0
  184. data/spec/public/abstract_controller/controllers/views/partial/with_partial/index.erb +1 -0
  185. data/spec/public/abstract_controller/controllers/views/test_display/foo.html.erb +1 -0
  186. data/spec/public/abstract_controller/controllers/views/test_render/foo.html.erb +0 -0
  187. data/spec/public/abstract_controller/controllers/views/wonderful/index.erb +1 -0
  188. data/spec/public/abstract_controller/display_spec.rb +33 -0
  189. data/spec/public/abstract_controller/filter_spec.rb +106 -0
  190. data/spec/public/abstract_controller/helper_spec.rb +21 -0
  191. data/spec/public/abstract_controller/partial_spec.rb +61 -0
  192. data/spec/public/abstract_controller/render_spec.rb +90 -0
  193. data/spec/public/abstract_controller/spec_helper.rb +31 -0
  194. data/spec/public/boot_loader/boot_loader_spec.rb +33 -0
  195. data/spec/public/boot_loader/spec_helper.rb +1 -0
  196. data/spec/public/controller/authentication_spec.rb +103 -0
  197. data/spec/public/controller/base_spec.rb +36 -0
  198. data/spec/public/controller/controllers/authentication.rb +45 -0
  199. data/spec/public/controller/controllers/base.rb +36 -0
  200. data/spec/public/controller/controllers/display.rb +118 -0
  201. data/spec/public/controller/controllers/redirect.rb +30 -0
  202. data/spec/public/controller/controllers/responder.rb +93 -0
  203. data/spec/public/controller/controllers/url.rb +7 -0
  204. data/spec/public/controller/controllers/views/layout/custom.html.erb +1 -0
  205. data/spec/public/controller/controllers/views/layout/custom_arg.html.erb +1 -0
  206. data/spec/public/controller/controllers/views/layout/custom_arg.json.erb +1 -0
  207. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/class_and_local_provides/index.html.erb +1 -0
  208. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/class_and_local_provides/index.xml.erb +1 -0
  209. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/class_provides/index.html.erb +1 -0
  210. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/class_provides/index.xml.erb +1 -0
  211. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template/index.html.erb +1 -0
  212. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template/no_layout.html.erb +1 -0
  213. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/display_with_template_argument/index.html.erb +1 -0
  214. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/html_default/index.html.erb +1 -0
  215. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/layout/custom.html.erb +1 -0
  216. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/local_provides/index.html.erb +1 -0
  217. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/local_provides/index.xml.erb +1 -0
  218. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/multi_provides/index.html.erb +1 -0
  219. data/spec/public/controller/controllers/views/merb/test/fixtures/controllers/multi_provides/index.js.erb +1 -0
  220. data/spec/public/controller/display_spec.rb +84 -0
  221. data/spec/public/controller/redirect_spec.rb +27 -0
  222. data/spec/public/controller/responder_spec.rb +163 -0
  223. data/spec/public/controller/spec_helper.rb +11 -0
  224. data/spec/public/controller/url_spec.rb +180 -0
  225. data/spec/public/core/merb_core_spec.rb +45 -0
  226. data/spec/public/core_ext/class_spec.rb +91 -0
  227. data/spec/public/core_ext/fixtures/core_ext_dependency.rb +2 -0
  228. data/spec/public/core_ext/kernel_spec.rb +9 -0
  229. data/spec/public/core_ext/spec_helper.rb +1 -0
  230. data/spec/public/directory_structure/directory/app/controllers/application.rb +3 -0
  231. data/spec/public/directory_structure/directory/app/controllers/base.rb +13 -0
  232. data/spec/public/directory_structure/directory/app/controllers/custom.rb +19 -0
  233. data/spec/public/directory_structure/directory/app/views/base/template.html.erb +1 -0
  234. data/spec/public/directory_structure/directory/app/views/wonderful/template.erb +1 -0
  235. data/spec/public/directory_structure/directory/config/router.rb +3 -0
  236. data/spec/public/directory_structure/directory/log/merb_test.log +562 -0
  237. data/spec/public/directory_structure/directory_spec.rb +44 -0
  238. data/spec/public/logger/logger_spec.rb +181 -0
  239. data/spec/public/logger/spec_helper.rb +1 -0
  240. data/spec/public/reloading/directory/app/controllers/application.rb +3 -0
  241. data/spec/public/reloading/directory/app/controllers/reload.rb +6 -0
  242. data/spec/public/reloading/directory/config/init.rb +2 -0
  243. data/spec/public/reloading/directory/log/merb_test.log +138 -0
  244. data/spec/public/reloading/reload_spec.rb +103 -0
  245. data/spec/public/request/multipart_spec.rb +41 -0
  246. data/spec/public/request/request_spec.rb +228 -0
  247. data/spec/public/router/default_spec.rb +21 -0
  248. data/spec/public/router/deferred_spec.rb +22 -0
  249. data/spec/public/router/fixation_spec.rb +27 -0
  250. data/spec/public/router/fixture/log/merb_test.log +1556 -0
  251. data/spec/public/router/namespace_spec.rb +113 -0
  252. data/spec/public/router/nested_matches_spec.rb +97 -0
  253. data/spec/public/router/nested_resources_spec.rb +41 -0
  254. data/spec/public/router/resource_spec.rb +37 -0
  255. data/spec/public/router/resources_spec.rb +82 -0
  256. data/spec/public/router/spec_helper.rb +90 -0
  257. data/spec/public/router/special_spec.rb +61 -0
  258. data/spec/public/router/string_spec.rb +61 -0
  259. data/spec/public/template/template_spec.rb +104 -0
  260. data/spec/public/template/templates/error.html.erb +2 -0
  261. data/spec/public/template/templates/template.html.erb +1 -0
  262. data/spec/public/template/templates/template.html.myt +1 -0
  263. data/spec/public/test/controller_matchers_spec.rb +402 -0
  264. data/spec/public/test/controllers/controller_assertion_mock.rb +7 -0
  265. data/spec/public/test/controllers/dispatch_controller.rb +11 -0
  266. data/spec/public/test/controllers/spec_helper_controller.rb +38 -0
  267. data/spec/public/test/multipart_request_helper_spec.rb +159 -0
  268. data/spec/public/test/multipart_upload_text_file.txt +1 -0
  269. data/spec/public/test/request_helper_spec.rb +221 -0
  270. data/spec/public/test/route_helper_spec.rb +71 -0
  271. data/spec/public/test/route_matchers_spec.rb +162 -0
  272. data/spec/public/test/view_helper_spec.rb +96 -0
  273. data/spec/public/test/view_matchers_spec.rb +183 -0
  274. data/spec/spec_helper.rb +68 -0
  275. metadata +493 -41
  276. data/README.txt +0 -3
  277. data/lib/extlib.rb +0 -32
  278. data/lib/extlib/assertions.rb +0 -8
  279. data/lib/extlib/blank.rb +0 -42
  280. data/lib/extlib/class.rb +0 -175
  281. data/lib/extlib/hash.rb +0 -410
  282. data/lib/extlib/hook.rb +0 -366
  283. data/lib/extlib/inflection.rb +0 -141
  284. data/lib/extlib/lazy_array.rb +0 -106
  285. data/lib/extlib/mash.rb +0 -143
  286. data/lib/extlib/module.rb +0 -37
  287. data/lib/extlib/object.rb +0 -165
  288. data/lib/extlib/object_space.rb +0 -13
  289. data/lib/extlib/pathname.rb +0 -5
  290. data/lib/extlib/pooling.rb +0 -233
  291. data/lib/extlib/rubygems.rb +0 -38
  292. data/lib/extlib/simple_set.rb +0 -39
  293. data/lib/extlib/string.rb +0 -132
  294. data/lib/extlib/struct.rb +0 -8
  295. data/lib/extlib/tasks/release.rb +0 -9
  296. data/lib/extlib/time.rb +0 -12
  297. data/lib/extlib/version.rb +0 -3
  298. data/lib/extlib/virtual_file.rb +0 -10
@@ -0,0 +1,11 @@
1
+ __DIR__ = File.dirname(__FILE__)
2
+
3
+ require File.join(__DIR__, "..", "..", "spec_helper")
4
+
5
+ require File.join(__DIR__, "controllers", "base")
6
+ require File.join(__DIR__, "controllers", "responder")
7
+ require File.join(__DIR__, "controllers", "display")
8
+ require File.join(__DIR__, "controllers", "authentication")
9
+ require File.join(__DIR__, "controllers", "redirect")
10
+
11
+ Merb.start :environment => 'test'
@@ -0,0 +1,180 @@
1
+ require File.join(File.dirname(__FILE__), "spec_helper")
2
+ require File.join(File.dirname(__FILE__), "controllers", "url")
3
+
4
+ class Monkey ; def to_param ; 45 ; end ; end
5
+ class Donkey ; def to_param ; 19 ; end ; end
6
+ class Blue
7
+ def to_param ; 13 ; end
8
+ def monkey_id ; Monkey.new ; end
9
+ def donkey_id ; Donkey.new ; end
10
+ end
11
+ class Pink
12
+ def to_param ; 22 ; end
13
+ def blue_id ; Blue.new ; end
14
+ def monkey_id ; blue_id.monkey_id ; end
15
+ end
16
+
17
+ Merb::Router.prepare do |r|
18
+ r.default_routes
19
+ r.resources :monkeys do |m|
20
+ m.resources :blues do |b|
21
+ b.resources :pinks
22
+ end
23
+ end
24
+ r.resources :donkeys do |d|
25
+ d.resources :blues
26
+ end
27
+ r.resource :red do |red|
28
+ red.resources :blues
29
+ end
30
+ r.match(%r{/foo/(\d+)/}).to(:controller => 'asdf').name(:regexp)
31
+ r.match('/people/:name').
32
+ to(:controller => 'people', :action => 'show').name(:person)
33
+ r.match('/argstrs').to(:controller => "args").name(:args)
34
+ end
35
+
36
+ describe Merb::Controller, " url" do
37
+
38
+ before do
39
+ @controller = dispatch_to(Merb::Test::Fixtures::Controllers::Url, :index)
40
+ end
41
+
42
+ it "should match the :controller to the default route" do
43
+ @controller.url(:controller => "monkeys").should eql("/monkeys")
44
+ end
45
+
46
+ it "should match the :controller,:action to the default route" do
47
+ @controller.url(:controller => "monkeys", :action => "list").
48
+ should eql("/monkeys/list")
49
+ end
50
+
51
+ it "should match the :controller,:action,:id to the default route" do
52
+ @controller.url(:controller => "monkeys", :action => "list", :id => 4).
53
+ should eql("/monkeys/list/4")
54
+ end
55
+
56
+ it "should match the :controller,:action,:id,:format to the default route" do
57
+ @controller.url(:controller => "monkeys", :action => "list", :id => 4, :format => "xml").
58
+ should eql("/monkeys/list/4.xml")
59
+ end
60
+
61
+ it "should raise an error" do
62
+ lambda { @controller.url(:regexp) }.should raise_error
63
+ end
64
+
65
+ it "should match with a route param" do
66
+ @controller.url(:person, :name => "david").should eql("/people/david")
67
+ end
68
+
69
+ it "should match without a route param" do
70
+ @controller.url(:person).should eql("/people/")
71
+ end
72
+
73
+ it "should match with an additional param" do
74
+ @controller.url(:person, :name => 'david', :color => 'blue').should eql("/people/david?color=blue")
75
+ end
76
+
77
+ it "should match with a :format" do
78
+ @controller.url(:person, :name => 'david', :format => :xml).should eql("/people/david.xml")
79
+ end
80
+
81
+ it "should match with an additional param and :format" do
82
+ @controller.url(:person, :name => 'david', :color => 'blue', :format => :xml).should eql("/people/david.xml?color=blue")
83
+ end
84
+
85
+ it "should match with additional params" do
86
+ url = @controller.url(:person, :name => 'david', :smell => 'funky', :color => 'blue')
87
+ url.should match(%r{/people/david?.*color=blue})
88
+ url.should match(%r{/people/david?.*smell=funky})
89
+ end
90
+
91
+ it "should match with extra params and an array" do
92
+ @controller.url(:args, :monkey => [1,2]).should == "/argstrs?monkey[]=1&monkey[]=2"
93
+ end
94
+
95
+ it "should match with no second arg" do
96
+ @controller.url(:monkeys).should == "/monkeys"
97
+ end
98
+
99
+ it "should match with an object as second arg" do
100
+ @monkey = Monkey.new
101
+ @controller.url(:monkey, @monkey).should == "/monkeys/45"
102
+ end
103
+
104
+ it "should match with a fixnum as second arg" do
105
+ @controller.url(:monkey, 3).should == "/monkeys/3"
106
+ end
107
+
108
+ it "should match with an object and :format" do
109
+ @monkey = Monkey.new
110
+ @controller.url(:monkey, :id => @monkey, :format => :xml).should == "/monkeys/45.xml"
111
+ end
112
+
113
+ it "should match with an object, :format and additional options" do
114
+ @monkey = Monkey.new
115
+ @controller.url(:monkey, :id => @monkey, :format => :xml, :color => "blue").should == "/monkeys/45.xml?color=blue"
116
+ end
117
+
118
+ it "should match the delete_monkey route" do
119
+ @monkey = Monkey.new
120
+ @controller.url(:delete_monkey, @monkey).should == "/monkeys/45/delete"
121
+ end
122
+
123
+ it "should match the delete_red route" do
124
+ @controller.url(:delete_red).should == "/red/delete"
125
+ end
126
+
127
+ it "should add a path_prefix to the url if :path_prefix is set" do
128
+ Merb::Config[:path_prefix] = "/jungle"
129
+ @controller.url(:monkeys).should == "/jungle/monkeys"
130
+ Merb::Config[:path_prefix] = nil
131
+ end
132
+
133
+ it "should match a nested resources show action" do
134
+ @blue = Blue.new
135
+ @controller.url(:monkey_blue, @blue).should == "/monkeys/45/blues/13"
136
+ end
137
+
138
+ it "should match the index action of nested resource with parent object" do
139
+ @blue = Blue.new
140
+ @monkey = Monkey.new
141
+ @controller.url(:monkey_blues, :monkey_id => @monkey).should == "/monkeys/45/blues"
142
+ end
143
+
144
+ it "should match the index action of nested resource with parent id as string" do
145
+ @blue = Blue.new
146
+ @controller.url(:monkey_blues, :monkey_id => '1').should == "/monkeys/1/blues"
147
+ end
148
+
149
+ it "should match the edit action of nested resource" do
150
+ @blue = Blue.new
151
+ @controller.url(:edit_monkey_blue, @blue).should == "/monkeys/45/blues/13/edit"
152
+ end
153
+
154
+ it "should match the index action of resources nested under a resource" do
155
+ @blue = Blue.new
156
+ @controller.url(:red_blues).should == "/red/blues"
157
+ end
158
+
159
+ it "should match resource that has been nested multiple times" do
160
+ @blue = Blue.new
161
+ @controller.url(:donkey_blue, @blue).should == "/donkeys/19/blues/13"
162
+ @controller.url(:monkey_blue, @blue).should == "/monkeys/45/blues/13"
163
+ end
164
+
165
+ it "should match resources nested more than one level deep" do
166
+ @pink = Pink.new
167
+ @controller.url(:monkey_blue_pink, @pink).should == "/monkeys/45/blues/13/pinks/22"
168
+ end
169
+
170
+ it "should match resource with additional params" do
171
+ @monkey = Monkey.new
172
+ @controller.url(:monkey, @monkey, :foo => "bar").should == "/monkeys/45?foo=bar"
173
+ end
174
+
175
+ it "should match a nested resource with additional params" do
176
+ @blue = Blue.new
177
+ @controller.url(:monkey_blue, @blue, :foo => "bar").should == "/monkeys/45/blues/13?foo=bar"
178
+ end
179
+
180
+ end
@@ -0,0 +1,45 @@
1
+ require File.join(File.dirname(__FILE__), "..", "..", "spec_helper")
2
+
3
+ describe "Merb.env helpers" do
4
+ before(:all) do
5
+ @orig_env = Merb.environment
6
+ end
7
+ after(:all) do
8
+ Merb.environment = @orig_env
9
+ end
10
+
11
+ it "should pickup the environment from env" do
12
+ %w(development test production staging demo).each do |e|
13
+ Merb.environment = e
14
+ Merb.env.should == e
15
+ end
16
+ end
17
+
18
+ it "should correctly answer the question about which env it's in with symbol or string" do
19
+ %w(development test production staging demo custom).each do |e|
20
+ Merb.environment = e
21
+ Merb.env?(e).should be true
22
+ Merb.env?(e.to_sym).should be_true
23
+ end
24
+ end
25
+
26
+ it "should answer false if asked for an environment that is not current" do
27
+ %w(development test production staging demo custom).each do |e|
28
+ Merb.environment = e
29
+ Merb.env?(:not_it).should be_false
30
+ end
31
+ end
32
+
33
+ it "should allow an environment to merge another environments settings" do
34
+ %w(development test production staging demo custom).each do |e|
35
+
36
+ Merb.environment = e
37
+ Merb.start_environment
38
+ Merb.merge_env "some_other_env"
39
+ Merb.environment_info.nil?.should be_false
40
+ Merb.environment_info[:merged_envs].first.should == "some_other_env"
41
+ end
42
+ end
43
+
44
+
45
+ end
@@ -0,0 +1,91 @@
1
+ require File.join(File.dirname(__FILE__), "spec_helper")
2
+
3
+ class Grandparent
4
+ end
5
+
6
+ class Parent < Grandparent
7
+ end
8
+
9
+ class Child < Parent
10
+ end
11
+
12
+ class Grandparent
13
+ class_inheritable_accessor :last_name
14
+ end
15
+
16
+ describe Class, "#inheritable_accessor" do
17
+
18
+ after :each do
19
+ Grandparent.send(:remove_instance_variable, "@last_name") rescue nil
20
+ Parent.send(:remove_instance_variable, "@last_name") rescue nil
21
+ Child.send(:remove_instance_variable, "@last_name") rescue nil
22
+ end
23
+
24
+ it "inherits even if the accessor is made after the inheritance" do
25
+ Grandparent.last_name = "Merb"
26
+ Parent.last_name.should == "Merb"
27
+ Child.last_name.should == "Merb"
28
+ end
29
+
30
+ it "supports ||= to change a child" do
31
+ Parent.last_name ||= "Merb"
32
+ Grandparent.last_name.should == nil
33
+ Parent.last_name.should == "Merb"
34
+ Child.last_name.should == "Merb"
35
+ end
36
+
37
+ it "supports << to change a child when the parent is an Array" do
38
+ Grandparent.last_name = ["Merb"]
39
+ Parent.last_name << "Core"
40
+ Grandparent.last_name.should == ["Merb"]
41
+ Parent.last_name.should == ["Merb", "Core"]
42
+ end
43
+
44
+ it "supports ! methods on an Array" do
45
+ Grandparent.last_name = %w(Merb Core)
46
+ Parent.last_name.reverse!
47
+ Grandparent.last_name.should == %w(Merb Core)
48
+ Parent.last_name.should == %w(Core Merb)
49
+ end
50
+
51
+ it "support modifying a parent Hash" do
52
+ Grandparent.last_name = {"Merb" => "name"}
53
+ Parent.last_name["Core"] = "name"
54
+ Parent.last_name.should == {"Merb" => "name", "Core" => "name"}
55
+ Grandparent.last_name.should == {"Merb" => "name"}
56
+ end
57
+
58
+ it "supports hard-merging a parent Hash" do
59
+ Grandparent.last_name = {"Merb" => "name"}
60
+ Parent.last_name.merge!("Core" => "name")
61
+ Parent.last_name.should == {"Merb" => "name", "Core" => "name"}
62
+ Grandparent.last_name.should == {"Merb" => "name"}
63
+ end
64
+
65
+ it "supports changes to the parent even if the child has already been read" do
66
+ Child.last_name
67
+ Grandparent.last_name = "Merb"
68
+ Child.last_name.should == "Merb"
69
+ end
70
+
71
+ it "handles nil being set midstream" do
72
+ Child.last_name
73
+ Parent.last_name = nil
74
+ Grandparent.last_name = "Merb"
75
+ Child.last_name.should == nil
76
+ end
77
+
78
+ it "handles false being used in Parent" do
79
+ Child.last_name
80
+ Parent.last_name = false
81
+ Grandparent.last_name = "Merb"
82
+ Child.last_name.should == false
83
+ end
84
+
85
+ it "handles the grandparent changing the value (as long as the child isn't read first)" do
86
+ Grandparent.last_name = "Merb"
87
+ Grandparent.last_name = "Core"
88
+ Child.last_name.should == "Core"
89
+ end
90
+
91
+ end
@@ -0,0 +1,2 @@
1
+ class CoreExtDependency
2
+ end
@@ -0,0 +1,9 @@
1
+ require File.join(File.dirname(__FILE__), "spec_helper")
2
+ $:.push File.join(File.dirname(__FILE__), "fixtures")
3
+
4
+ describe Kernel, "#dependency" do
5
+ it "works even when the BootLoader has already finished" do
6
+ dependency "core_ext_dependency"
7
+ defined?(CoreExtDependency).should_not be_nil
8
+ end
9
+ end
@@ -0,0 +1 @@
1
+ require File.join(File.dirname(__FILE__), "..", "..", "spec_helper")
@@ -0,0 +1,3 @@
1
+
2
+
3
+ class Application < Merb::Controller; end
@@ -0,0 +1,13 @@
1
+
2
+
3
+ class Base < Application
4
+
5
+ def string
6
+ "String"
7
+ end
8
+
9
+ def template
10
+ render
11
+ end
12
+
13
+ end
@@ -0,0 +1,19 @@
1
+
2
+
3
+ class Custom < Application
4
+
5
+ def string
6
+ "String"
7
+ end
8
+
9
+ def template
10
+ render
11
+ end
12
+
13
+ private
14
+
15
+ def _template_location(context, type = nil, controller = controller_name)
16
+ "wonderful/#{context}"
17
+ end
18
+
19
+ end
@@ -0,0 +1,3 @@
1
+ Merb::Router.prepare do |r|
2
+ r.default_routes
3
+ end
@@ -0,0 +1,562 @@
1
+ Thu, 15 May 2008 23:38:57 GMT ~ info ~ Logfile created
2
+ ~ Not Using Sessions
3
+ ~ {:after_filters_time=>7.0e-06, :action_time=>0.000149, :before_filters_time=>8.0e-06}
4
+ ~ {:after_filters_time=>6.0e-06, :action_time=>0.000814, :before_filters_time=>6.0e-06}
5
+ ~ {:after_filters_time=>7.0e-06, :action_time=>0.000851, :before_filters_time=>7.0e-06}
6
+ ~ Not Using Sessions
7
+ ~ {:after_filters_time=>6.0e-06, :action_time=>0.000168, :before_filters_time=>8.0e-06}
8
+ ~ {:after_filters_time=>6.0e-06, :action_time=>0.000721, :before_filters_time=>5.0e-06}
9
+ ~ {:after_filters_time=>6.0e-06, :action_time=>0.004364, :before_filters_time=>7.0e-06}
10
+ ~ Not Using Sessions
11
+ ~ {:action_time=>0.00016, :before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06}
12
+ ~ {:action_time=>0.001089, :before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06}
13
+ ~ {:action_time=>0.000782, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
14
+ ~ Not Using Sessions
15
+ ~ {:action_time=>0.001079, :before_filters_time=>1.0e-05, :after_filters_time=>7.0e-06}
16
+ ~ {:action_time=>0.000803, :before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06}
17
+ ~ {:action_time=>0.000764, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
18
+ ~ Not Using Sessions
19
+ ~ {:action_time=>0.001395, :before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06}
20
+ ~ {:action_time=>0.000715, :before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06}
21
+ ~ {:action_time=>0.002475, :before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06}
22
+ ~ Not Using Sessions
23
+ ~ {:action_time=>0.000366, :before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06}
24
+ ~ {:action_time=>0.000932, :before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06}
25
+ ~ {:action_time=>0.000851, :before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06}
26
+ ~ Not Using Sessions
27
+ ~ {:action_time=>0.000161, :before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06}
28
+ ~ {:action_time=>0.000871, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
29
+ ~ {:action_time=>0.000758, :before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06}
30
+ ~ Not Using Sessions
31
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.0e-05, :action_time=>0.000296}
32
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>1.0e-05, :action_time=>0.001057}
33
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.1e-05, :action_time=>0.001116}
34
+ ~ Not Using Sessions
35
+ ~ {:action_time=>0.00064, :before_filters_time=>9.0e-06, :after_filters_time=>7.0e-06}
36
+ ~ {:action_time=>0.001493, :before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06}
37
+ ~ {:action_time=>0.002979, :before_filters_time=>8.0e-06, :after_filters_time=>9.0e-06}
38
+ ~ Not Using Sessions
39
+ ~ {:action_time=>0.000158, :before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06}
40
+ ~ {:action_time=>0.000682, :before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06}
41
+ ~ {:action_time=>0.000716, :before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06}
42
+ ~ Not Using Sessions
43
+ ~ {:action_time=>0.000155, :before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06}
44
+ ~ {:action_time=>0.000689, :before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06}
45
+ ~ {:action_time=>0.000756, :before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06}
46
+ ~ Not Using Sessions
47
+ ~ {:action_time=>0.000156, :before_filters_time=>8.0e-06, :after_filters_time=>7.0e-06}
48
+ ~ {:action_time=>0.000665, :before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06}
49
+ ~ {:action_time=>0.000757, :before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06}
50
+ ~ Not Using Sessions
51
+ ~ {:action_time=>0.000158, :before_filters_time=>8.0e-06, :after_filters_time=>7.0e-06}
52
+ ~ {:action_time=>0.000675, :before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06}
53
+ ~ {:action_time=>0.000724, :before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06}
54
+ ~ Not Using Sessions
55
+ ~ {:action_time=>0.000159, :before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06}
56
+ ~ {:action_time=>0.000678, :before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06}
57
+ ~ {:action_time=>0.000774, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
58
+ ~ Not Using Sessions
59
+ ~ {:action_time=>0.000154, :before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06}
60
+ ~ {:action_time=>0.000679, :before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06}
61
+ ~ {:action_time=>0.000746, :before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06}
62
+ ~ Not Using Sessions
63
+ ~ {:action_time=>0.000202, :before_filters_time=>9.0e-06, :after_filters_time=>8.0e-06}
64
+ ~ {:action_time=>0.000715, :before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06}
65
+ ~ {:action_time=>0.000793, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
66
+ ~ Not Using Sessions
67
+ ~ {:action_time=>0.000159, :before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06}
68
+ ~ {:action_time=>0.000682, :before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06}
69
+ ~ {:action_time=>0.000741, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
70
+ ~ Not Using Sessions
71
+ ~ {:action_time=>0.000165, :before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06}
72
+ ~ {:action_time=>0.000701, :before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06}
73
+ ~ {:action_time=>0.00085, :before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06}
74
+ ~ Not Using Sessions
75
+ ~ {:action_time=>0.000166, :before_filters_time=>1.0e-05, :after_filters_time=>7.0e-06}
76
+ ~ {:action_time=>0.00075, :before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06}
77
+ ~ {:action_time=>0.000738, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
78
+ ~ Not Using Sessions
79
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000172}
80
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000715}
81
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.00079}
82
+ ~ Not Using Sessions
83
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000169}
84
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000722}
85
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000769}
86
+ ~ Not Using Sessions
87
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000165}
88
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000739}
89
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000739}
90
+ ~ Not Using Sessions
91
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>8.0e-06, :action_time=>0.000235}
92
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000981}
93
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000781}
94
+ ~ Not Using Sessions
95
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000163}
96
+ ~ {:before_filters_time=>4.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000703}
97
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000798}
98
+ ~ Not Using Sessions
99
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000163}
100
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000704}
101
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000835}
102
+ ~ Not Using Sessions
103
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000141}
104
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000739}
105
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000776}
106
+ ~ Not Using Sessions
107
+ ~ {:action_time=>0.000137, :before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06}
108
+ ~ {:action_time=>0.000721, :before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06}
109
+ ~ {:action_time=>0.000762, :before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06}
110
+ ~ Not Using Sessions
111
+ ~ {:action_time=>0.000136, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
112
+ ~ {:action_time=>0.000718, :before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06}
113
+ ~ {:action_time=>0.00078, :before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06}
114
+ ~ Not Using Sessions
115
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000172}
116
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000948}
117
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000817}
118
+ ~ Not Using Sessions
119
+ ~ {:before_filters_time=>3.2e-05, :after_filters_time=>6.0e-06, :action_time=>0.000204}
120
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000767}
121
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000744}
122
+ ~ Not Using Sessions
123
+ ~ {:before_filters_time=>1.5e-05, :after_filters_time=>6.0e-06, :action_time=>0.000191}
124
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000738}
125
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000899}
126
+ ~ Not Using Sessions
127
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000143}
128
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000787}
129
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000828}
130
+ ~ Not Using Sessions
131
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>9.0e-06, :action_time=>0.000241}
132
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>8.0e-06, :action_time=>0.001154}
133
+ ~ {:before_filters_time=>1.6e-05, :after_filters_time=>9.0e-06, :action_time=>0.001332}
134
+ ~ Removed constant Application from Object
135
+ ~ Not Using Sessions
136
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000147}
137
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000753}
138
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000758}
139
+ ~ Not Using Sessions
140
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000141}
141
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000749}
142
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000828}
143
+ ~ Not Using Sessions
144
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000144}
145
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000777}
146
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000778}
147
+ ~ Not Using Sessions
148
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000175}
149
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000949}
150
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000883}
151
+ ~ Not Using Sessions
152
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.00014}
153
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000801}
154
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000775}
155
+ ~ Not Using Sessions
156
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000139}
157
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000772}
158
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.001158}
159
+ ~ Not Using Sessions
160
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000138}
161
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000777}
162
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000802}
163
+ ~ Not Using Sessions
164
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000146}
165
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000787}
166
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000773}
167
+ ~ Not Using Sessions
168
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000142}
169
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000789}
170
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000778}
171
+ ~ Not Using Sessions
172
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000146}
173
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000789}
174
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000831}
175
+ ~ Not Using Sessions
176
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000142}
177
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000788}
178
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000802}
179
+ ~ Not Using Sessions
180
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000137}
181
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>0.000153, :action_time=>0.001418}
182
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000866}
183
+ ~ Not Using Sessions
184
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>8.0e-06, :action_time=>0.000194}
185
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.00119}
186
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.00087}
187
+ ~ Not Using Sessions
188
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000162}
189
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000587}
190
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000774}
191
+ ~ Not Using Sessions
192
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000153}
193
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000748}
194
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000585}
195
+ ~ Not Using Sessions
196
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.1e-05, :action_time=>0.000181}
197
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>1.0e-05, :action_time=>0.00093}
198
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.1e-05, :action_time=>0.000791}
199
+ ~ Not Using Sessions
200
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000152}
201
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.00058}
202
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.001561}
203
+ ~ Not Using Sessions
204
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.1e-05, :action_time=>0.000184}
205
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>1.0e-05, :action_time=>0.000815}
206
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.0e-05, :action_time=>0.000786}
207
+ ~ Not Using Sessions
208
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000225}
209
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000702}
210
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000676}
211
+ ~ Not Using Sessions
212
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000164}
213
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000626}
214
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>9.0e-06, :action_time=>0.00205}
215
+ ~ Not Using Sessions
216
+ ~ {:before_filters_time=>1.5e-05, :after_filters_time=>1.1e-05, :action_time=>0.000473}
217
+ ~ {:before_filters_time=>3.8e-05, :after_filters_time=>1.1e-05, :action_time=>0.000916}
218
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.1e-05, :action_time=>0.000805}
219
+ ~ Not Using Sessions
220
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000167}
221
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000584}
222
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000822}
223
+ ~ Not Using Sessions
224
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.1e-05, :action_time=>0.00018}
225
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>1.0e-05, :action_time=>0.000799}
226
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.1e-05, :action_time=>0.000773}
227
+ ~ Not Using Sessions
228
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000154}
229
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000563}
230
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000689}
231
+ ~ Not Using Sessions
232
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000161}
233
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>4.0e-06, :action_time=>0.000643}
234
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>1.0e-05, :action_time=>0.000862}
235
+ ~ Not Using Sessions
236
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000166}
237
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.00224}
238
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000578}
239
+ ~ Not Using Sessions
240
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>6.0e-06, :action_time=>0.000458}
241
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000734}
242
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>6.0e-06, :action_time=>0.000846}
243
+ ~ Not Using Sessions
244
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000144}
245
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>8.0e-06, :action_time=>0.003346}
246
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>8.0e-06, :action_time=>0.000795}
247
+ ~ Not Using Sessions
248
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000272}
249
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000649}
250
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000586}
251
+ ~ Not Using Sessions
252
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000428}
253
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000587}
254
+ ~ {:before_filters_time=>7.5e-05, :after_filters_time=>7.0e-06, :action_time=>0.003354}
255
+ ~ Not Using Sessions
256
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000154}
257
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000569}
258
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000697}
259
+ ~ Not Using Sessions
260
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000145}
261
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>6.0e-06, :action_time=>0.001217}
262
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>9.0e-06, :action_time=>0.000892}
263
+ ~ Not Using Sessions
264
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.00293}
265
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000583}
266
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000591}
267
+ ~ Not Using Sessions
268
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>8.6e-05, :action_time=>0.001589}
269
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>7.0e-06, :action_time=>0.000853}
270
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000643}
271
+ ~ Not Using Sessions
272
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000153}
273
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000586}
274
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000646}
275
+ ~ Not Using Sessions
276
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000161}
277
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000592}
278
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000734}
279
+ ~ Not Using Sessions
280
+ ~ {:before_filters_time=>1.7e-05, :after_filters_time=>1.2e-05, :action_time=>0.000291}
281
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>9.0e-06, :action_time=>0.000824000000000047}
282
+ ~ {:before_filters_time=>1.5e-05, :after_filters_time=>1.2e-05, :action_time=>0.001157}
283
+ ~ Not Using Sessions
284
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000143}
285
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000588}
286
+ ~ {:before_filters_time=>9.0e-06, :after_filters_time=>8.0e-06, :action_time=>0.005524}
287
+ ~ Not Using Sessions
288
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>1.1e-05, :action_time=>0.000182}
289
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>9.0e-06, :action_time=>0.000881}
290
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.1e-05, :action_time=>0.000818}
291
+ ~ Not Using Sessions
292
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000157}
293
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000646}
294
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000665}
295
+ ~ Not Using Sessions
296
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000168}
297
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000573}
298
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000574}
299
+ ~ Not Using Sessions
300
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000163}
301
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000574}
302
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.00058}
303
+ ~ Not Using Sessions
304
+ ~ {:before_filters_time=>8.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000149}
305
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>5.0e-06, :action_time=>0.000586}
306
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000629}
307
+ ~ Not Using Sessions
308
+ ~ {:before_filters_time=>2.0e-05, :after_filters_time=>1.5e-05, :action_time=>0.000219}
309
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000617}
310
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>1.0e-05, :action_time=>0.000576}
311
+ ~ Not Using Sessions
312
+ ~ Not Using Sessions
313
+ ~ {:before_filters_time=>2.1e-05, :after_filters_time=>1.7e-05, :action_time=>0.000245}
314
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000648}
315
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>1.3e-05, :action_time=>0.00750200000000001}
316
+ ~ Not Using Sessions
317
+ ~ {:before_filters_time=>1.6e-05, :after_filters_time=>3.9e-05, :action_time=>0.000212}
318
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>1.2e-05, :action_time=>0.002552}
319
+ ~ {:before_filters_time=>1.5e-05, :after_filters_time=>1.3e-05, :action_time=>0.000919}
320
+ ~ Not Using Sessions
321
+ ~ {:before_filters_time=>1.6e-05, :after_filters_time=>1.3e-05, :action_time=>0.000181}
322
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000699}
323
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.1e-05, :action_time=>0.000714}
324
+ ~ Not Using Sessions
325
+ ~ {:before_filters_time=>4.5e-05, :after_filters_time=>1.4e-05, :action_time=>0.000433}
326
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>8.0e-06, :action_time=>0.00775}
327
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.1e-05, :action_time=>0.000815}
328
+ ~ Not Using Sessions
329
+ ~ {:before_filters_time=>1.6e-05, :after_filters_time=>1.3e-05, :action_time=>0.000175}
330
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.003669}
331
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.1e-05, :action_time=>0.0007}
332
+ ~ Not Using Sessions
333
+ ~ {:before_filters_time=>2.2e-05, :after_filters_time=>1.6e-05, :action_time=>0.000283}
334
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.000787}
335
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>1.2e-05, :action_time=>0.000631}
336
+ ~ Not Using Sessions
337
+ ~ {:before_filters_time=>1.9e-05, :after_filters_time=>1.5e-05, :action_time=>0.000208}
338
+ ~ {:before_filters_time=>5.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000732}
339
+ ~ {:before_filters_time=>1.0e-05, :after_filters_time=>1.0e-05, :action_time=>0.000682}
340
+ ~ Not Using Sessions
341
+ ~ {:before_filters_time=>2.4e-05, :after_filters_time=>1.7e-05, :action_time=>0.000276}
342
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000744}
343
+ ~ {:before_filters_time=>1.2e-05, :after_filters_time=>1.0e-05, :action_time=>0.000715}
344
+ ~ Not Using Sessions
345
+ ~ {:before_filters_time=>2.1e-05, :after_filters_time=>9.7e-05, :action_time=>0.000325}
346
+ ~ Not Using Sessions
347
+ ~ {:before_filters_time=>2.6e-05, :after_filters_time=>1.8e-05, :action_time=>0.000713}
348
+ ~ {:before_filters_time=>9.3e-05, :after_filters_time=>8.0e-06, :action_time=>0.000833}
349
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>1.1e-05, :action_time=>0.000821}
350
+ ~ Not Using Sessions
351
+ ~ {:before_filters_time=>1.7e-05, :after_filters_time=>1.5e-05, :action_time=>0.000189}
352
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>6.0e-06, :action_time=>0.000666}
353
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>1.0e-05, :action_time=>0.000655}
354
+ ~ Not Using Sessions
355
+ ~ {:before_filters_time=>2.2e-05, :after_filters_time=>1.8e-05, :action_time=>0.000658}
356
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.009476}
357
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>1.1e-05, :action_time=>0.000727}
358
+ ~ Not Using Sessions
359
+ ~ {:before_filters_time=>2.2e-05, :after_filters_time=>1.4e-05, :action_time=>0.002228}
360
+ ~ {:before_filters_time=>6.0e-06, :after_filters_time=>7.0e-06, :action_time=>0.00071}
361
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.1e-05, :action_time=>0.00125}
362
+ ~ Not Using Sessions
363
+ ~ {:before_filters_time=>2.1e-05, :after_filters_time=>1.6e-05, :action_time=>0.000224}
364
+ ~ {:before_filters_time=>1.4e-05, :after_filters_time=>9.0e-06, :action_time=>0.00099}
365
+ ~ {:before_filters_time=>1.3e-05, :after_filters_time=>1.1e-05, :action_time=>0.000711}
366
+ ~ Not Using Sessions
367
+ ~ {:before_filters_time=>2.4e-05, :after_filters_time=>1.4e-05, :action_time=>0.000421}
368
+ ~ {:before_filters_time=>7.0e-06, :after_filters_time=>8.0e-06, :action_time=>0.013726}
369
+ ~ {:before_filters_time=>1.1e-05, :after_filters_time=>1.4e-05, :action_time=>0.000983}
370
+ ~ Not Using Sessions
371
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>2.6e-05, :action_time=>0.000211}
372
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000599}
373
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.001033}
374
+ ~ Not Using Sessions
375
+ ~ {:after_filters_time=>2.0e-05, :before_filters_time=>2.3e-05, :action_time=>0.000243}
376
+ ~ {:after_filters_time=>9.0e-06, :before_filters_time=>1.0e-05, :action_time=>0.000803}
377
+ ~ {:after_filters_time=>1.6e-05, :before_filters_time=>1.5e-05, :action_time=>0.000873}
378
+ ~ Not Using Sessions
379
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.7e-05, :action_time=>0.000331}
380
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000591}
381
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.0e-05, :action_time=>0.000665}
382
+ ~ Not Using Sessions
383
+ ~ {:before_filters_time=>1.7e-05, :action_time=>0.000333, :after_filters_time=>1.3e-05}
384
+ ~ {:before_filters_time=>5.0e-06, :action_time=>0.000695, :after_filters_time=>6.0e-06}
385
+ ~ {:before_filters_time=>1.0e-05, :action_time=>0.000617, :after_filters_time=>1.0e-05}
386
+ ~ Not Using Sessions
387
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.8e-05, :action_time=>0.000181}
388
+ ~ {:after_filters_time=>5.0e-06, :before_filters_time=>7.0e-06, :action_time=>0.000573}
389
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.0e-05, :action_time=>0.000598}
390
+ ~ Not Using Sessions
391
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05, :action_time=>0.000176}
392
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000582}
393
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.1e-05, :action_time=>0.000634}
394
+ ~ Not Using Sessions
395
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.7e-05, :action_time=>0.000172}
396
+ ~ {:after_filters_time=>7.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.00054}
397
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.1e-05, :action_time=>0.000592}
398
+ ~ Not Using Sessions
399
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.5e-05, :action_time=>0.000172}
400
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000552}
401
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.0e-05, :action_time=>0.001033}
402
+ ~ Not Using Sessions
403
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.8e-05, :action_time=>0.00018}
404
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000605}
405
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.1e-05, :action_time=>0.000652}
406
+ ~ Not Using Sessions
407
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05, :action_time=>0.000176}
408
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000562}
409
+ ~ {:after_filters_time=>1.2e-05, :before_filters_time=>1.4e-05, :action_time=>0.000683}
410
+ ~ Not Using Sessions
411
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05, :action_time=>0.000172}
412
+ ~ {:after_filters_time=>7.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.00059}
413
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.000626}
414
+ ~ Not Using Sessions
415
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.6e-05, :action_time=>0.00018}
416
+ ~ {:after_filters_time=>8.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.003563}
417
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.1e-05, :action_time=>0.002963}
418
+ ~ Not Using Sessions
419
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.6e-05, :action_time=>0.000178}
420
+ ~ {:after_filters_time=>7.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000807}
421
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.1e-05, :action_time=>0.000838}
422
+ ~ Not Using Sessions
423
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.8e-05, :action_time=>0.002023}
424
+ ~ {:after_filters_time=>5.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000751}
425
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.0e-05, :action_time=>0.000967}
426
+ ~ Not Using Sessions
427
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.7e-05, :action_time=>0.00018}
428
+ ~ {:after_filters_time=>7.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000765}
429
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.1e-05, :action_time=>0.000807}
430
+ ~ Not Using Sessions
431
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.5e-05, :action_time=>0.000164}
432
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.001646}
433
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.1e-05, :action_time=>0.000782}
434
+ ~ Not Using Sessions
435
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05, :action_time=>0.000166}
436
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.007614}
437
+ ~ {:after_filters_time=>9.0e-06, :before_filters_time=>1.1e-05, :action_time=>0.000754}
438
+ ~ Not Using Sessions
439
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.6e-05, :action_time=>0.000169}
440
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000724}
441
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.00077}
442
+ ~ Not Using Sessions
443
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05, :action_time=>0.00017}
444
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.00073}
445
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.000761}
446
+ ~ Not Using Sessions
447
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.7e-05, :action_time=>0.000522}
448
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000737}
449
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.000833}
450
+ ~ Not Using Sessions
451
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.8e-05, :action_time=>0.002602}
452
+ ~ {:after_filters_time=>5.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000728}
453
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.000745}
454
+ ~ Not Using Sessions
455
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.7e-05, :action_time=>0.000174}
456
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.001915}
457
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.0e-05, :action_time=>0.000811}
458
+ ~ Not Using Sessions
459
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.7e-05, :action_time=>0.0026}
460
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000727}
461
+ ~ {:after_filters_time=>9.0e-06, :before_filters_time=>1.0e-05, :action_time=>0.000743}
462
+ ~ Not Using Sessions
463
+ ~ {:after_filters_time=>1.5e-05, :before_filters_time=>0.000419, :action_time=>0.001609}
464
+ ~ {:after_filters_time=>9.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000797}
465
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.4e-05, :action_time=>0.000785}
466
+ ~ Not Using Sessions
467
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.8e-05, :action_time=>0.00017}
468
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>8.0e-06, :action_time=>0.000799}
469
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.000766}
470
+ ~ Not Using Sessions
471
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.7e-05, :action_time=>0.000168}
472
+ ~ {:after_filters_time=>7.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.004391}
473
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.1e-05, :action_time=>0.001867}
474
+ ~ Not Using Sessions
475
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05, :action_time=>0.00017}
476
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.00079}
477
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.00077}
478
+ ~ Not Using Sessions
479
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.8e-05, :action_time=>0.000217}
480
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>7.0e-06, :action_time=>0.000845}
481
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.1e-05, :action_time=>0.000822}
482
+ ~ Not Using Sessions
483
+ ~ {:after_filters_time=>1.6e-05, :before_filters_time=>2.1e-05, :action_time=>0.002726}
484
+ ~ {:after_filters_time=>8.0e-06, :before_filters_time=>9.0e-06, :action_time=>0.000773}
485
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.0e-05, :action_time=>0.000817}
486
+ ~ Not Using Sessions
487
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05, :action_time=>0.000168}
488
+ ~ {:after_filters_time=>5.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000731}
489
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.0e-05, :action_time=>0.003409}
490
+ ~ Not Using Sessions
491
+ ~ {:after_filters_time=>0.000244, :before_filters_time=>1.6e-05, :action_time=>0.000401}
492
+ ~ {:after_filters_time=>7.0e-06, :before_filters_time=>7.0e-06, :action_time=>0.005163}
493
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.2e-05, :action_time=>0.00138}
494
+ ~ Not Using Sessions
495
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05, :action_time=>0.000176}
496
+ ~ {:after_filters_time=>7.0e-06, :before_filters_time=>7.0e-06, :action_time=>0.000763}
497
+ ~ {:after_filters_time=>1.2e-05, :before_filters_time=>1.0e-05, :action_time=>0.005394}
498
+ ~ Not Using Sessions
499
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.8e-05, :action_time=>0.002711}
500
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000531}
501
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.000584}
502
+ ~ Not Using Sessions
503
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.8e-05, :action_time=>0.000178}
504
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000739}
505
+ ~ {:after_filters_time=>1.1e-05, :before_filters_time=>1.1e-05, :action_time=>0.000795}
506
+ ~ Not Using Sessions
507
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.8e-05, :action_time=>0.00018}
508
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>5.0e-06, :action_time=>0.000555}
509
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>1.0e-05, :action_time=>0.000619}
510
+ ~ Not Using Sessions
511
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>0.000207, :action_time=>0.001129}
512
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000767}
513
+ ~ {:after_filters_time=>1.4e-05, :before_filters_time=>1.1e-05, :action_time=>0.004149}
514
+ ~ Not Using Sessions
515
+ ~ {:after_filters_time=>0.000225, :before_filters_time=>0.00041, :action_time=>0.002585}
516
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.001166}
517
+ ~ {:after_filters_time=>1.0e-05, :before_filters_time=>0.000383, :action_time=>0.003048}
518
+ ~ Not Using Sessions
519
+ ~ {:after_filters_time=>1.3e-05, :before_filters_time=>1.7e-05, :action_time=>0.00103}
520
+ ~ {:after_filters_time=>6.0e-06, :before_filters_time=>7.0e-06, :action_time=>0.000869}
521
+ ~ {:after_filters_time=>1.5e-05, :before_filters_time=>1.0e-05, :action_time=>0.004163}
522
+ ~ Not Using Sessions
523
+ ~ {:after_filters_time=>1.7e-05, :action_time=>0.000225, :before_filters_time=>2.2e-05}
524
+ ~ {:after_filters_time=>8.0e-06, :action_time=>0.000947, :before_filters_time=>7.0e-06}
525
+ ~ {:after_filters_time=>1.3e-05, :action_time=>0.000958, :before_filters_time=>1.2e-05}
526
+ ~ Not Using Sessions
527
+ ~ {:after_filters_time=>1.3e-05, :action_time=>0.000244, :before_filters_time=>1.6e-05}
528
+ ~ {:after_filters_time=>6.0e-06, :action_time=>0.000765, :before_filters_time=>6.0e-06}
529
+ ~ {:after_filters_time=>1.0e-05, :action_time=>0.000789, :before_filters_time=>1.2e-05}
530
+ ~ Not Using Sessions
531
+ ~ {:after_filters_time=>1.2e-05, :before_filters_time=>1.6e-05, :action_time=>0.000165}
532
+ ~ {:after_filters_time=>5.0e-06, :before_filters_time=>6.0e-06, :action_time=>0.000754}
533
+ ~ {:after_filters_time=>2.1e-05, :before_filters_time=>1.0e-05, :action_time=>0.000775}
534
+ ~ Not Using Sessions
535
+ ~ Not Using Sessions
536
+ ~ {:action_time=>0.00018, :after_filters_time=>1.4e-05, :before_filters_time=>1.6e-05}
537
+ ~ {:action_time=>0.001035, :after_filters_time=>6.0e-06, :before_filters_time=>5.0e-06}
538
+ ~ {:action_time=>0.000851, :after_filters_time=>1.1e-05, :before_filters_time=>1.1e-05}
539
+ ~ Not Using Sessions
540
+ ~ {:action_time=>0.00018, :after_filters_time=>1.4e-05, :before_filters_time=>1.5e-05}
541
+ ~ {:action_time=>0.000791, :after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06}
542
+ ~ {:action_time=>0.000811, :after_filters_time=>1.3e-05, :before_filters_time=>1.4e-05}
543
+ ~ Not Using Sessions
544
+ ~ {:action_time=>0.000219, :after_filters_time=>2.0e-05, :before_filters_time=>2.4e-05}
545
+ ~ {:action_time=>0.001144, :after_filters_time=>9.0e-06, :before_filters_time=>9.0e-06}
546
+ ~ {:action_time=>0.001057, :after_filters_time=>1.4e-05, :before_filters_time=>1.5e-05}
547
+ ~ Not Using Sessions
548
+ ~ {:action_time=>0.000181, :after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05}
549
+ ~ {:action_time=>0.000808, :after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06}
550
+ ~ {:action_time=>0.000855, :after_filters_time=>1.0e-05, :before_filters_time=>1.1e-05}
551
+ ~ Not Using Sessions
552
+ ~ {:action_time=>0.000185, :after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05}
553
+ ~ {:action_time=>0.000799, :after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06}
554
+ ~ {:action_time=>0.000911, :after_filters_time=>1.2e-05, :before_filters_time=>1.2e-05}
555
+ ~ Not Using Sessions
556
+ ~ {:action_time=>0.000174, :after_filters_time=>1.3e-05, :before_filters_time=>1.6e-05}
557
+ ~ {:action_time=>0.00085, :after_filters_time=>6.0e-06, :before_filters_time=>6.0e-06}
558
+ ~ {:action_time=>0.000984, :after_filters_time=>9.0e-06, :before_filters_time=>1.1e-05}
559
+ ~ Not Using Sessions
560
+ ~ {:action_time=>0.000183, :after_filters_time=>1.2e-05, :before_filters_time=>1.6e-05}
561
+ ~ {:action_time=>0.001338, :after_filters_time=>7.0e-06, :before_filters_time=>5.0e-06}
562
+ ~ {:action_time=>0.000942, :after_filters_time=>1.1e-05, :before_filters_time=>1.1e-05}