backbone-queryparams-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2390) hide show
  1. data/MIT-LICENSE +0 -0
  2. data/README.md +23 -0
  3. data/lib/backbone-queryparams-rails.rb +9 -0
  4. data/lib/backbone/query_params/rails/engine.rb +9 -0
  5. data/lib/backbone/query_params/rails/version.rb +7 -0
  6. data/vendor/assets/javascripts/backbone-queryparams-rails.js +1 -0
  7. data/vendor/assets/javascripts/backbone-queryparams-rails/backbone-queryparams.js +286 -0
  8. data/vendor/bundle/bin/erubis +23 -0
  9. data/vendor/bundle/bin/rackup +23 -0
  10. data/vendor/bundle/bin/rails +23 -0
  11. data/vendor/bundle/bin/rake +23 -0
  12. data/vendor/bundle/bin/rake2thor +23 -0
  13. data/vendor/bundle/bin/rdoc +23 -0
  14. data/vendor/bundle/bin/ri +23 -0
  15. data/vendor/bundle/bin/sprockets +23 -0
  16. data/vendor/bundle/bin/thor +23 -0
  17. data/vendor/bundle/bin/tilt +23 -0
  18. data/vendor/bundle/cache/actionpack-3.2.11.gem +0 -0
  19. data/vendor/bundle/cache/activemodel-3.2.11.gem +0 -0
  20. data/vendor/bundle/cache/activesupport-3.2.11.gem +0 -0
  21. data/vendor/bundle/cache/builder-3.0.4.gem +0 -0
  22. data/vendor/bundle/cache/erubis-2.7.0.gem +0 -0
  23. data/vendor/bundle/cache/hike-1.2.1.gem +0 -0
  24. data/vendor/bundle/cache/i18n-0.6.1.gem +0 -0
  25. data/vendor/bundle/cache/journey-1.0.4.gem +0 -0
  26. data/vendor/bundle/cache/json-1.7.6.gem +0 -0
  27. data/vendor/bundle/cache/multi_json-1.5.0.gem +0 -0
  28. data/vendor/bundle/cache/rack-1.4.4.gem +0 -0
  29. data/vendor/bundle/cache/rack-cache-1.2.gem +0 -0
  30. data/vendor/bundle/cache/rack-ssl-1.3.2.gem +0 -0
  31. data/vendor/bundle/cache/rack-test-0.6.2.gem +0 -0
  32. data/vendor/bundle/cache/railties-3.2.11.gem +0 -0
  33. data/vendor/bundle/cache/rake-10.0.3.gem +0 -0
  34. data/vendor/bundle/cache/rdoc-3.12.gem +0 -0
  35. data/vendor/bundle/cache/sprockets-2.2.2.gem +0 -0
  36. data/vendor/bundle/cache/thor-0.16.0.gem +0 -0
  37. data/vendor/bundle/cache/tilt-1.3.3.gem +0 -0
  38. data/vendor/bundle/gems/actionpack-3.2.11/CHANGELOG.md +447 -0
  39. data/vendor/bundle/gems/actionpack-3.2.11/MIT-LICENSE +21 -0
  40. data/vendor/bundle/gems/actionpack-3.2.11/README.rdoc +341 -0
  41. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller.rb +28 -0
  42. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/asset_paths.rb +10 -0
  43. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/base.rb +213 -0
  44. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/callbacks.rb +198 -0
  45. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/collector.rb +32 -0
  46. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/helpers.rb +167 -0
  47. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/layouts.rb +423 -0
  48. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/logger.rb +13 -0
  49. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/railties/routes_helpers.rb +18 -0
  50. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/rendering.rb +179 -0
  51. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/translation.rb +13 -0
  52. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/url_for.rb +33 -0
  53. data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/view_paths.rb +96 -0
  54. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller.rb +65 -0
  55. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/base.rb +235 -0
  56. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching.rb +86 -0
  57. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching/actions.rb +185 -0
  58. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching/fragments.rb +127 -0
  59. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching/pages.rb +187 -0
  60. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching/sweeping.rb +97 -0
  61. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/deprecated.rb +3 -0
  62. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/deprecated/integration_test.rb +2 -0
  63. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/deprecated/performance_test.rb +1 -0
  64. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/log_subscriber.rb +67 -0
  65. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal.rb +250 -0
  66. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/compatibility.rb +64 -0
  67. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/conditional_get.rb +131 -0
  68. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/cookies.rb +16 -0
  69. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/data_streaming.rb +177 -0
  70. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/exceptions.rb +46 -0
  71. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/flash.rb +28 -0
  72. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/force_ssl.rb +39 -0
  73. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/head.rb +35 -0
  74. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/helpers.rb +113 -0
  75. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/hide_actions.rb +47 -0
  76. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/http_authentication.rb +466 -0
  77. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/implicit_render.rb +19 -0
  78. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/instrumentation.rb +105 -0
  79. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/mime_responds.rb +317 -0
  80. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/params_wrapper.rb +240 -0
  81. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/rack_delegation.rb +26 -0
  82. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/redirecting.rb +109 -0
  83. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/renderers.rb +109 -0
  84. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/rendering.rb +65 -0
  85. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/request_forgery_protection.rb +113 -0
  86. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/rescue.rb +35 -0
  87. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/responder.rb +286 -0
  88. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/session_management.rb +14 -0
  89. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/streaming.rb +229 -0
  90. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/testing.rb +37 -0
  91. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/url_for.rb +47 -0
  92. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/middleware.rb +39 -0
  93. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/railtie.rb +51 -0
  94. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/railties/paths.rb +25 -0
  95. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/record_identifier.rb +85 -0
  96. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/test_case.rb +558 -0
  97. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner.rb +20 -0
  98. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
  99. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/node.rb +532 -0
  100. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +177 -0
  101. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/selector.rb +830 -0
  102. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +107 -0
  103. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
  104. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch.rb +102 -0
  105. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/cache.rb +123 -0
  106. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/filter_parameters.rb +70 -0
  107. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/headers.rb +31 -0
  108. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/mime_negotiation.rb +110 -0
  109. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/mime_type.rb +276 -0
  110. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/mime_types.rb +35 -0
  111. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/parameter_filter.rb +74 -0
  112. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/parameters.rb +83 -0
  113. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/rack_cache.rb +62 -0
  114. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/request.rb +279 -0
  115. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/response.rb +206 -0
  116. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/upload.rb +47 -0
  117. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/url.rb +174 -0
  118. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/best_standards_support.rb +22 -0
  119. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/body_proxy.rb +30 -0
  120. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/callbacks.rb +32 -0
  121. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/cookies.rb +353 -0
  122. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/debug_exceptions.rb +82 -0
  123. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/exception_wrapper.rb +82 -0
  124. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/flash.rb +263 -0
  125. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/head.rb +18 -0
  126. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/params_parser.rb +75 -0
  127. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/public_exceptions.rb +30 -0
  128. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb +89 -0
  129. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/remote_ip.rb +81 -0
  130. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/request_id.rb +39 -0
  131. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/rescue.rb +26 -0
  132. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/abstract_store.rb +88 -0
  133. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/cache_store.rb +49 -0
  134. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/cookie_store.rb +71 -0
  135. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/mem_cache_store.rb +17 -0
  136. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/show_exceptions.rb +87 -0
  137. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/stack.rb +124 -0
  138. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/static.rb +65 -0
  139. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb +31 -0
  140. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb +26 -0
  141. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +10 -0
  142. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/layout.erb +32 -0
  143. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/missing_template.erb +2 -0
  144. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb +15 -0
  145. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/template_error.erb +17 -0
  146. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb +2 -0
  147. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/railtie.rb +34 -0
  148. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing.rb +293 -0
  149. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb +1509 -0
  150. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/polymorphic_routes.rb +209 -0
  151. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/redirection.rb +131 -0
  152. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb +659 -0
  153. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/routes_proxy.rb +39 -0
  154. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/url_for.rb +167 -0
  155. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions.rb +18 -0
  156. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/dom.rb +37 -0
  157. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/response.rb +96 -0
  158. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/routing.rb +217 -0
  159. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/selector.rb +435 -0
  160. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/tag.rb +138 -0
  161. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/integration.rb +498 -0
  162. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/performance_test.rb +10 -0
  163. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/test_process.rb +41 -0
  164. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/test_request.rb +74 -0
  165. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/test_response.rb +29 -0
  166. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_pack.rb +24 -0
  167. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_pack/version.rb +10 -0
  168. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view.rb +84 -0
  169. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/asset_paths.rb +142 -0
  170. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/base.rb +220 -0
  171. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/buffers.rb +43 -0
  172. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/context.rb +36 -0
  173. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/flows.rb +79 -0
  174. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers.rb +60 -0
  175. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/active_model_helper.rb +50 -0
  176. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_paths.rb +7 -0
  177. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helper.rb +457 -0
  178. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb +146 -0
  179. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helpers/asset_paths.rb +93 -0
  180. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +193 -0
  181. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb +148 -0
  182. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/atom_feed_helper.rb +200 -0
  183. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/cache_helper.rb +64 -0
  184. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/capture_helper.rb +203 -0
  185. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/controller_helper.rb +25 -0
  186. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/csrf_helper.rb +32 -0
  187. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/date_helper.rb +1057 -0
  188. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/debug_helper.rb +40 -0
  189. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/form_helper.rb +1487 -0
  190. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/form_options_helper.rb +658 -0
  191. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/form_tag_helper.rb +685 -0
  192. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/javascript_helper.rb +110 -0
  193. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/number_helper.rb +608 -0
  194. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/output_safety_helper.rb +38 -0
  195. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/record_tag_helper.rb +109 -0
  196. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/rendering_helper.rb +90 -0
  197. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/sanitize_helper.rb +259 -0
  198. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/tag_helper.rb +160 -0
  199. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/text_helper.rb +426 -0
  200. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/translation_helper.rb +88 -0
  201. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/url_helper.rb +693 -0
  202. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/locale/en.yml +160 -0
  203. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/log_subscriber.rb +28 -0
  204. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/lookup_context.rb +241 -0
  205. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/path_set.rb +89 -0
  206. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/railtie.rb +55 -0
  207. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/abstract_renderer.rb +41 -0
  208. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/partial_renderer.rb +415 -0
  209. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/renderer.rb +54 -0
  210. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/streaming_template_renderer.rb +106 -0
  211. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/template_renderer.rb +94 -0
  212. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template.rb +337 -0
  213. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/error.rb +128 -0
  214. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/handlers.rb +50 -0
  215. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/handlers/builder.rb +26 -0
  216. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/handlers/erb.rb +109 -0
  217. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/resolver.rb +258 -0
  218. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/text.rb +30 -0
  219. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/test_case.rb +245 -0
  220. data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/testing/resolvers.rb +50 -0
  221. data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/assets.rake +99 -0
  222. data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/bootstrap.rb +37 -0
  223. data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/compressors.rb +83 -0
  224. data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/helpers.rb +6 -0
  225. data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/helpers/isolated_helper.rb +13 -0
  226. data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/helpers/rails_helper.rb +175 -0
  227. data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/railtie.rb +62 -0
  228. data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb +56 -0
  229. data/vendor/bundle/gems/activemodel-3.2.11/CHANGELOG.md +62 -0
  230. data/vendor/bundle/gems/activemodel-3.2.11/MIT-LICENSE +21 -0
  231. data/vendor/bundle/gems/activemodel-3.2.11/README.rdoc +211 -0
  232. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model.rb +61 -0
  233. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/attribute_methods.rb +452 -0
  234. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/callbacks.rb +134 -0
  235. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/conversion.rb +73 -0
  236. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/dirty.rb +167 -0
  237. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/errors.rb +370 -0
  238. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/lint.rb +123 -0
  239. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/locale/en.yml +27 -0
  240. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/mass_assignment_security.rb +237 -0
  241. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/mass_assignment_security/permission_set.rb +40 -0
  242. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/mass_assignment_security/sanitizer.rb +59 -0
  243. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/naming.rb +171 -0
  244. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/observer_array.rb +147 -0
  245. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/observing.rb +252 -0
  246. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/railtie.rb +2 -0
  247. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/secure_password.rb +74 -0
  248. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/serialization.rb +139 -0
  249. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/serializers/json.rb +108 -0
  250. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/serializers/xml.rb +199 -0
  251. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/test_case.rb +16 -0
  252. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/translation.rb +70 -0
  253. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations.rb +237 -0
  254. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/acceptance.rb +67 -0
  255. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/callbacks.rb +57 -0
  256. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/confirmation.rb +67 -0
  257. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/exclusion.rb +79 -0
  258. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/format.rb +105 -0
  259. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/inclusion.rb +79 -0
  260. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/length.rb +127 -0
  261. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/numericality.rb +138 -0
  262. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/presence.rb +49 -0
  263. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/validates.rb +137 -0
  264. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/with.rb +142 -0
  265. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validator.rb +184 -0
  266. data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/version.rb +10 -0
  267. data/vendor/bundle/gems/activesupport-3.2.11/CHANGELOG.md +157 -0
  268. data/vendor/bundle/gems/activesupport-3.2.11/MIT-LICENSE +20 -0
  269. data/vendor/bundle/gems/activesupport-3.2.11/README.rdoc +33 -0
  270. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support.rb +82 -0
  271. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/all.rb +3 -0
  272. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/backtrace_cleaner.rb +99 -0
  273. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/base64.rb +54 -0
  274. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/basic_object.rb +21 -0
  275. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/benchmarkable.rb +55 -0
  276. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/buffered_logger.rb +125 -0
  277. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/builder.rb +6 -0
  278. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache.rb +638 -0
  279. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/file_store.rb +178 -0
  280. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/mem_cache_store.rb +206 -0
  281. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/memory_store.rb +159 -0
  282. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/null_store.rb +44 -0
  283. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/strategy/local_cache.rb +169 -0
  284. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/callbacks.rb +626 -0
  285. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/concern.rb +131 -0
  286. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/configurable.rb +90 -0
  287. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext.rb +3 -0
  288. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array.rb +8 -0
  289. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/access.rb +46 -0
  290. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/conversions.rb +164 -0
  291. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/extract_options.rb +29 -0
  292. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/grouping.rb +100 -0
  293. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  294. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/random_access.rb +30 -0
  295. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/uniq_by.rb +16 -0
  296. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/wrap.rb +48 -0
  297. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/benchmark.rb +7 -0
  298. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal.rb +1 -0
  299. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal/conversions.rb +45 -0
  300. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class.rb +4 -0
  301. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/attribute.rb +115 -0
  302. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/attribute_accessors.rb +168 -0
  303. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
  304. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/subclasses.rb +36 -0
  305. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/acts_like.rb +8 -0
  306. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/calculations.rb +276 -0
  307. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/conversions.rb +106 -0
  308. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/freeze.rb +33 -0
  309. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/zones.rb +14 -0
  310. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
  311. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/calculations.rb +143 -0
  312. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/conversions.rb +103 -0
  313. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/zones.rb +21 -0
  314. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/enumerable.rb +127 -0
  315. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/exception.rb +3 -0
  316. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file.rb +2 -0
  317. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file/atomic.rb +42 -0
  318. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file/path.rb +5 -0
  319. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/float.rb +1 -0
  320. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/float/rounding.rb +19 -0
  321. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash.rb +9 -0
  322. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/conversions.rb +175 -0
  323. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/deep_dup.rb +18 -0
  324. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/deep_merge.rb +21 -0
  325. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/diff.rb +13 -0
  326. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/except.rb +23 -0
  327. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
  328. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/keys.rb +54 -0
  329. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/reverse_merge.rb +23 -0
  330. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/slice.rb +40 -0
  331. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer.rb +3 -0
  332. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/inflections.rb +17 -0
  333. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/multiple.rb +10 -0
  334. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/time.rb +39 -0
  335. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/io.rb +15 -0
  336. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel.rb +4 -0
  337. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  338. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/debugger.rb +10 -0
  339. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/reporting.rb +93 -0
  340. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
  341. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/load_error.rb +23 -0
  342. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/logger.rb +83 -0
  343. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module.rb +12 -0
  344. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/aliasing.rb +70 -0
  345. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/anonymous.rb +24 -0
  346. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/attr_internal.rb +39 -0
  347. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/attribute_accessors.rb +64 -0
  348. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/delegation.rb +153 -0
  349. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/deprecation.rb +9 -0
  350. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/introspection.rb +88 -0
  351. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/method_names.rb +14 -0
  352. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/qualified_const.rb +64 -0
  353. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/reachable.rb +8 -0
  354. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/remove_method.rb +16 -0
  355. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/synchronization.rb +45 -0
  356. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/name_error.rb +18 -0
  357. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric.rb +2 -0
  358. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  359. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric/time.rb +79 -0
  360. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object.rb +13 -0
  361. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/acts_like.rb +10 -0
  362. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/blank.rb +121 -0
  363. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/conversions.rb +4 -0
  364. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/duplicable.rb +119 -0
  365. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/inclusion.rb +25 -0
  366. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/instance_variables.rb +33 -0
  367. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_json.rb +19 -0
  368. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_param.rb +55 -0
  369. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_query.rb +27 -0
  370. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/try.rb +57 -0
  371. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/with_options.rb +43 -0
  372. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/proc.rb +14 -0
  373. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/process.rb +1 -0
  374. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/process/daemon.rb +23 -0
  375. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range.rb +5 -0
  376. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/blockless_step.rb +29 -0
  377. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/conversions.rb +21 -0
  378. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/cover.rb +3 -0
  379. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/include_range.rb +21 -0
  380. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/overlaps.rb +8 -0
  381. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/regexp.rb +5 -0
  382. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/rexml.rb +46 -0
  383. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string.rb +14 -0
  384. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/access.rb +99 -0
  385. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/behavior.rb +6 -0
  386. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/conversions.rb +66 -0
  387. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/encoding.rb +11 -0
  388. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/exclude.rb +11 -0
  389. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/filters.rb +49 -0
  390. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/inflections.rb +202 -0
  391. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/inquiry.rb +13 -0
  392. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/interpolation.rb +2 -0
  393. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/multibyte.rb +72 -0
  394. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/output_safety.rb +186 -0
  395. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  396. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/strip.rb +26 -0
  397. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/xchar.rb +18 -0
  398. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/acts_like.rb +8 -0
  399. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/calculations.rb +360 -0
  400. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/conversions.rb +85 -0
  401. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/marshal.rb +57 -0
  402. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
  403. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/zones.rb +86 -0
  404. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/uri.rb +30 -0
  405. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/dependencies.rb +703 -0
  406. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/dependencies/autoload.rb +50 -0
  407. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation.rb +18 -0
  408. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/behaviors.rb +49 -0
  409. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/method_wrappers.rb +29 -0
  410. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
  411. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/reporting.rb +65 -0
  412. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/descendants_tracker.rb +45 -0
  413. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/duration.rb +110 -0
  414. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/file_update_checker.rb +121 -0
  415. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/file_watcher.rb +36 -0
  416. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/gzip.rb +30 -0
  417. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/hash_with_indifferent_access.rb +178 -0
  418. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/i18n.rb +9 -0
  419. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/i18n_railtie.rb +102 -0
  420. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflections.rb +63 -0
  421. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector.rb +7 -0
  422. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/inflections.rb +174 -0
  423. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/methods.rb +321 -0
  424. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/transliterate.rb +98 -0
  425. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json.rb +2 -0
  426. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/decoding.rb +79 -0
  427. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/encoding.rb +284 -0
  428. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/variable.rb +9 -0
  429. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/lazy_load_hooks.rb +46 -0
  430. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/locale/en.yml +36 -0
  431. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/log_subscriber.rb +122 -0
  432. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/log_subscriber/test_helper.rb +101 -0
  433. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/memoizable.rb +116 -0
  434. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/message_encryptor.rb +103 -0
  435. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/message_verifier.rb +74 -0
  436. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte.rb +44 -0
  437. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/chars.rb +476 -0
  438. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/exceptions.rb +8 -0
  439. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/unicode.rb +393 -0
  440. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/utils.rb +60 -0
  441. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications.rb +154 -0
  442. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications/fanout.rb +61 -0
  443. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications/instrumenter.rb +53 -0
  444. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/option_merger.rb +25 -0
  445. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ordered_hash.rb +222 -0
  446. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ordered_options.rb +61 -0
  447. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/railtie.rb +59 -0
  448. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/rescuable.rb +115 -0
  449. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ruby/shim.rb +22 -0
  450. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/string_inquirer.rb +21 -0
  451. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/tagged_logging.rb +80 -0
  452. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/test_case.rb +34 -0
  453. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/assertions.rb +97 -0
  454. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/declarative.rb +40 -0
  455. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/deprecation.rb +55 -0
  456. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/isolation.rb +157 -0
  457. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/mochaing.rb +7 -0
  458. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/pending.rb +52 -0
  459. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance.rb +317 -0
  460. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/jruby.rb +115 -0
  461. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/rubinius.rb +113 -0
  462. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby.rb +152 -0
  463. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby/mri.rb +57 -0
  464. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby/yarv.rb +57 -0
  465. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/setup_and_teardown.rb +118 -0
  466. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time.rb +35 -0
  467. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time/autoload.rb +5 -0
  468. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time_with_zone.rb +358 -0
  469. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/values/time_zone.rb +397 -0
  470. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/values/unicode_tables.dat +0 -0
  471. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/version.rb +10 -0
  472. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/whiny_nil.rb +24 -0
  473. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini.rb +168 -0
  474. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/jdom.rb +175 -0
  475. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/libxml.rb +80 -0
  476. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/libxmlsax.rb +86 -0
  477. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/nokogiri.rb +84 -0
  478. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/nokogirisax.rb +88 -0
  479. data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/rexml.rb +130 -0
  480. data/vendor/bundle/gems/builder-3.0.4/CHANGES +101 -0
  481. data/vendor/bundle/gems/builder-3.0.4/MIT-LICENSE +20 -0
  482. data/vendor/bundle/gems/builder-3.0.4/README.rdoc +225 -0
  483. data/vendor/bundle/gems/builder-3.0.4/Rakefile +189 -0
  484. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-1.2.4.rdoc +31 -0
  485. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-2.0.0.rdoc +46 -0
  486. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-2.1.1.rdoc +58 -0
  487. data/vendor/bundle/gems/builder-3.0.4/lib/blankslate.rb +137 -0
  488. data/vendor/bundle/gems/builder-3.0.4/lib/builder.rb +13 -0
  489. data/vendor/bundle/gems/builder-3.0.4/lib/builder/blankslate.rb +23 -0
  490. data/vendor/bundle/gems/builder-3.0.4/lib/builder/version.rb +8 -0
  491. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xchar.rb +197 -0
  492. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlbase.rb +192 -0
  493. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlevents.rb +63 -0
  494. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlmarkup.rb +334 -0
  495. data/vendor/bundle/gems/builder-3.0.4/test/performance.rb +40 -0
  496. data/vendor/bundle/gems/builder-3.0.4/test/preload.rb +39 -0
  497. data/vendor/bundle/gems/builder-3.0.4/test/test_blankslate.rb +217 -0
  498. data/vendor/bundle/gems/builder-3.0.4/test/test_eventbuilder.rb +150 -0
  499. data/vendor/bundle/gems/builder-3.0.4/test/test_markupbuilder.rb +578 -0
  500. data/vendor/bundle/gems/builder-3.0.4/test/test_method_caching.rb +62 -0
  501. data/vendor/bundle/gems/builder-3.0.4/test/test_namecollision.rb +39 -0
  502. data/vendor/bundle/gems/builder-3.0.4/test/test_xchar.rb +77 -0
  503. data/vendor/bundle/gems/erubis-2.7.0/CHANGES.txt +828 -0
  504. data/vendor/bundle/gems/erubis-2.7.0/MIT-LICENSE +20 -0
  505. data/vendor/bundle/gems/erubis-2.7.0/README.txt +102 -0
  506. data/vendor/bundle/gems/erubis-2.7.0/benchmark/Makefile +6 -0
  507. data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
  508. data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
  509. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
  510. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
  511. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
  512. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
  513. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
  514. data/vendor/bundle/gems/erubis-2.7.0/bin/erubis +10 -0
  515. data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis +3468 -0
  516. data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
  517. data/vendor/bundle/gems/erubis-2.7.0/contrib/inline-require +179 -0
  518. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -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/ERB.html +101 -0
  521. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -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.html +112 -0
  527. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
  528. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -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.html +116 -0
  565. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -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/RailsHelper/TemplateConverter.html +213 -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.html +125 -0
  582. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
  583. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
  584. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
  585. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
  586. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
  587. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
  588. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
  589. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
  590. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
  591. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
  592. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -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/Kernel.html +155 -0
  621. data/vendor/bundle/gems/erubis-2.7.0/doc-api/created.rid +1 -0
  622. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
  623. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
  624. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
  625. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
  626. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
  627. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
  628. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
  629. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
  630. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
  631. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
  632. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
  633. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
  634. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
  635. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
  636. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
  637. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
  638. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
  639. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
  640. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
  641. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
  642. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
  643. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
  644. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
  645. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
  646. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
  647. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
  648. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
  649. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
  650. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
  651. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
  652. data/vendor/bundle/gems/erubis-2.7.0/doc-api/index.html +24 -0
  653. data/vendor/bundle/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
  654. data/vendor/bundle/gems/erubis-2.7.0/doc/docstyle.css +209 -0
  655. data/vendor/bundle/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
  656. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
  657. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
  658. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
  659. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
  660. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
  661. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
  662. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
  663. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
  664. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
  665. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
  666. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
  667. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
  668. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
  669. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
  670. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
  671. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
  672. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
  673. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis.rb +73 -0
  674. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
  675. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
  676. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
  677. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
  678. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
  679. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
  680. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
  681. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
  682. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
  683. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
  684. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
  685. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
  686. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
  687. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
  688. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
  689. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
  690. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
  691. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
  692. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
  693. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
  694. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
  695. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
  696. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
  697. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
  698. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
  699. data/vendor/bundle/gems/erubis-2.7.0/setup.rb +1331 -0
  700. data/vendor/bundle/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
  701. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
  702. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
  703. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
  704. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
  705. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
  706. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
  707. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
  708. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
  709. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
  710. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
  711. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
  712. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
  713. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
  714. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
  715. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
  716. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
  717. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
  718. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
  719. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
  720. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
  721. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
  722. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
  723. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
  724. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
  725. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
  726. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
  727. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
  728. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
  729. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
  730. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
  731. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
  732. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
  733. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
  734. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
  735. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
  736. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
  737. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
  738. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
  739. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
  740. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
  741. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
  742. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
  743. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
  744. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
  745. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
  746. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
  747. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
  748. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
  749. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
  750. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
  751. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
  752. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
  753. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
  754. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
  755. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
  756. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
  757. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
  758. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
  759. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
  760. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
  761. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
  762. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
  763. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
  764. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
  765. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
  766. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
  767. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
  768. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
  769. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
  770. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
  771. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
  772. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
  773. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
  774. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
  775. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
  776. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
  777. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
  778. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
  779. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
  780. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
  781. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
  782. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
  783. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
  784. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
  785. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
  786. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
  787. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
  788. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
  789. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
  790. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
  791. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
  792. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
  793. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
  794. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
  795. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
  796. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
  797. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
  798. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
  799. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
  800. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
  801. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
  802. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
  803. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
  804. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
  805. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
  806. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
  807. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
  808. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
  809. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
  810. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
  811. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
  812. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
  813. data/vendor/bundle/gems/erubis-2.7.0/test/test-engines.rb +425 -0
  814. data/vendor/bundle/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
  815. data/vendor/bundle/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
  816. data/vendor/bundle/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
  817. data/vendor/bundle/gems/erubis-2.7.0/test/test-main.rb +752 -0
  818. data/vendor/bundle/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
  819. data/vendor/bundle/gems/erubis-2.7.0/test/test.rb +45 -0
  820. data/vendor/bundle/gems/erubis-2.7.0/test/testutil.rb +111 -0
  821. data/vendor/bundle/gems/hike-1.2.1/LICENSE +20 -0
  822. data/vendor/bundle/gems/hike-1.2.1/README.md +52 -0
  823. data/vendor/bundle/gems/hike-1.2.1/lib/hike.rb +9 -0
  824. data/vendor/bundle/gems/hike-1.2.1/lib/hike/extensions.rb +23 -0
  825. data/vendor/bundle/gems/hike-1.2.1/lib/hike/index.rb +204 -0
  826. data/vendor/bundle/gems/hike-1.2.1/lib/hike/normalized_array.rb +59 -0
  827. data/vendor/bundle/gems/hike-1.2.1/lib/hike/paths.rb +27 -0
  828. data/vendor/bundle/gems/hike-1.2.1/lib/hike/trail.rb +179 -0
  829. data/vendor/bundle/gems/i18n-0.6.1/CHANGELOG.textile +152 -0
  830. data/vendor/bundle/gems/i18n-0.6.1/MIT-LICENSE +20 -0
  831. data/vendor/bundle/gems/i18n-0.6.1/README.textile +105 -0
  832. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.no-rails +5 -0
  833. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.no-rails.lock +14 -0
  834. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x +9 -0
  835. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x.lock +23 -0
  836. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-3.x +9 -0
  837. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-3.x.lock +23 -0
  838. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n.rb +332 -0
  839. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend.rb +18 -0
  840. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/base.rb +181 -0
  841. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/cache.rb +96 -0
  842. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/cascade.rb +54 -0
  843. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/chain.rb +78 -0
  844. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb +65 -0
  845. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/flatten.rb +113 -0
  846. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/gettext.rb +72 -0
  847. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/interpolation_compiler.rb +121 -0
  848. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/key_value.rb +101 -0
  849. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/memoize.rb +46 -0
  850. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/metadata.rb +65 -0
  851. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/pluralization.rb +53 -0
  852. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/simple.rb +87 -0
  853. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/transliterator.rb +98 -0
  854. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/config.rb +86 -0
  855. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/hash.rb +29 -0
  856. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
  857. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/string/interpolate.rb +105 -0
  858. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/exceptions.rb +106 -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/gettext/helpers.rb +64 -0
  861. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext/po_parser.rb +329 -0
  862. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/interpolate/ruby.rb +31 -0
  863. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale.rb +6 -0
  864. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/fallbacks.rb +96 -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/tag/parents.rb +22 -0
  867. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
  868. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/simple.rb +39 -0
  869. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests.rb +12 -0
  870. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/basics.rb +54 -0
  871. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/defaults.rb +40 -0
  872. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/interpolation.rb +133 -0
  873. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/link.rb +56 -0
  874. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization.rb +19 -0
  875. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/date.rb +84 -0
  876. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/date_time.rb +77 -0
  877. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/procs.rb +116 -0
  878. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/time.rb +76 -0
  879. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/lookup.rb +74 -0
  880. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/pluralization.rb +35 -0
  881. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/procs.rb +55 -0
  882. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/version.rb +3 -0
  883. data/vendor/bundle/gems/i18n-0.6.1/test/all.rb +8 -0
  884. data/vendor/bundle/gems/i18n-0.6.1/test/api/all_features_test.rb +58 -0
  885. data/vendor/bundle/gems/i18n-0.6.1/test/api/cascade_test.rb +28 -0
  886. data/vendor/bundle/gems/i18n-0.6.1/test/api/chain_test.rb +24 -0
  887. data/vendor/bundle/gems/i18n-0.6.1/test/api/fallbacks_test.rb +30 -0
  888. data/vendor/bundle/gems/i18n-0.6.1/test/api/key_value_test.rb +28 -0
  889. data/vendor/bundle/gems/i18n-0.6.1/test/api/memoize_test.rb +60 -0
  890. data/vendor/bundle/gems/i18n-0.6.1/test/api/override_test.rb +48 -0
  891. data/vendor/bundle/gems/i18n-0.6.1/test/api/pluralization_test.rb +30 -0
  892. data/vendor/bundle/gems/i18n-0.6.1/test/api/simple_test.rb +28 -0
  893. data/vendor/bundle/gems/i18n-0.6.1/test/backend/cache_test.rb +85 -0
  894. data/vendor/bundle/gems/i18n-0.6.1/test/backend/cascade_test.rb +85 -0
  895. data/vendor/bundle/gems/i18n-0.6.1/test/backend/chain_test.rb +72 -0
  896. data/vendor/bundle/gems/i18n-0.6.1/test/backend/exceptions_test.rb +30 -0
  897. data/vendor/bundle/gems/i18n-0.6.1/test/backend/fallbacks_test.rb +125 -0
  898. data/vendor/bundle/gems/i18n-0.6.1/test/backend/interpolation_compiler_test.rb +102 -0
  899. data/vendor/bundle/gems/i18n-0.6.1/test/backend/key_value_test.rb +46 -0
  900. data/vendor/bundle/gems/i18n-0.6.1/test/backend/memoize_test.rb +47 -0
  901. data/vendor/bundle/gems/i18n-0.6.1/test/backend/metadata_test.rb +47 -0
  902. data/vendor/bundle/gems/i18n-0.6.1/test/backend/pluralization_test.rb +44 -0
  903. data/vendor/bundle/gems/i18n-0.6.1/test/backend/simple_test.rb +83 -0
  904. data/vendor/bundle/gems/i18n-0.6.1/test/backend/transliterator_test.rb +81 -0
  905. data/vendor/bundle/gems/i18n-0.6.1/test/core_ext/hash_test.rb +30 -0
  906. data/vendor/bundle/gems/i18n-0.6.1/test/core_ext/string/interpolate_test.rb +99 -0
  907. data/vendor/bundle/gems/i18n-0.6.1/test/gettext/api_test.rb +206 -0
  908. data/vendor/bundle/gems/i18n-0.6.1/test/gettext/backend_test.rb +101 -0
  909. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/exceptions_test.rb +116 -0
  910. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/interpolate_test.rb +61 -0
  911. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/load_path_test.rb +26 -0
  912. data/vendor/bundle/gems/i18n-0.6.1/test/i18n_test.rb +254 -0
  913. data/vendor/bundle/gems/i18n-0.6.1/test/locale/fallbacks_test.rb +136 -0
  914. data/vendor/bundle/gems/i18n-0.6.1/test/locale/tag/rfc4646_test.rb +142 -0
  915. data/vendor/bundle/gems/i18n-0.6.1/test/locale/tag/simple_test.rb +32 -0
  916. data/vendor/bundle/gems/i18n-0.6.1/test/run_all.rb +21 -0
  917. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/de.po +82 -0
  918. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/en.rb +3 -0
  919. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/en.yml +3 -0
  920. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/invalid/empty.yml +0 -0
  921. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/plurals.rb +113 -0
  922. data/vendor/bundle/gems/i18n-0.6.1/test/test_helper.rb +56 -0
  923. data/vendor/bundle/gems/journey-1.0.4/CHANGELOG.rdoc +20 -0
  924. data/vendor/bundle/gems/journey-1.0.4/Gemfile +14 -0
  925. data/vendor/bundle/gems/journey-1.0.4/Manifest.txt +49 -0
  926. data/vendor/bundle/gems/journey-1.0.4/README.rdoc +48 -0
  927. data/vendor/bundle/gems/journey-1.0.4/Rakefile +32 -0
  928. data/vendor/bundle/gems/journey-1.0.4/journey.gemspec +48 -0
  929. data/vendor/bundle/gems/journey-1.0.4/lib/journey.rb +5 -0
  930. data/vendor/bundle/gems/journey-1.0.4/lib/journey/backwards.rb +5 -0
  931. data/vendor/bundle/gems/journey-1.0.4/lib/journey/core-ext/hash.rb +11 -0
  932. data/vendor/bundle/gems/journey-1.0.4/lib/journey/formatter.rb +131 -0
  933. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/builder.rb +159 -0
  934. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/simulator.rb +43 -0
  935. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/transition_table.rb +153 -0
  936. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/builder.rb +74 -0
  937. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/dot.rb +34 -0
  938. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/simulator.rb +45 -0
  939. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/transition_table.rb +164 -0
  940. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nodes/node.rb +122 -0
  941. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser.rb +204 -0
  942. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser.y +47 -0
  943. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser_extras.rb +21 -0
  944. data/vendor/bundle/gems/journey-1.0.4/lib/journey/path/pattern.rb +193 -0
  945. data/vendor/bundle/gems/journey-1.0.4/lib/journey/route.rb +95 -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/router/strexp.rb +22 -0
  948. data/vendor/bundle/gems/journey-1.0.4/lib/journey/router/utils.rb +57 -0
  949. data/vendor/bundle/gems/journey-1.0.4/lib/journey/routes.rb +75 -0
  950. data/vendor/bundle/gems/journey-1.0.4/lib/journey/scanner.rb +58 -0
  951. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visitors.rb +190 -0
  952. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/fsm.css +34 -0
  953. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/fsm.js +134 -0
  954. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/index.html.erb +52 -0
  955. data/vendor/bundle/gems/journey-1.0.4/test/gtg/test_builder.rb +77 -0
  956. data/vendor/bundle/gems/journey-1.0.4/test/gtg/test_transition_table.rb +113 -0
  957. data/vendor/bundle/gems/journey-1.0.4/test/helper.rb +4 -0
  958. data/vendor/bundle/gems/journey-1.0.4/test/nfa/test_simulator.rb +96 -0
  959. data/vendor/bundle/gems/journey-1.0.4/test/nfa/test_transition_table.rb +70 -0
  960. data/vendor/bundle/gems/journey-1.0.4/test/nodes/test_symbol.rb +15 -0
  961. data/vendor/bundle/gems/journey-1.0.4/test/path/test_pattern.rb +282 -0
  962. data/vendor/bundle/gems/journey-1.0.4/test/route/definition/test_parser.rb +108 -0
  963. data/vendor/bundle/gems/journey-1.0.4/test/route/definition/test_scanner.rb +54 -0
  964. data/vendor/bundle/gems/journey-1.0.4/test/router/test_strexp.rb +30 -0
  965. data/vendor/bundle/gems/journey-1.0.4/test/router/test_utils.rb +19 -0
  966. data/vendor/bundle/gems/journey-1.0.4/test/test_route.rb +109 -0
  967. data/vendor/bundle/gems/journey-1.0.4/test/test_router.rb +544 -0
  968. data/vendor/bundle/gems/journey-1.0.4/test/test_routes.rb +51 -0
  969. data/vendor/bundle/gems/json-1.7.6/CHANGES +258 -0
  970. data/vendor/bundle/gems/json-1.7.6/COPYING +58 -0
  971. data/vendor/bundle/gems/json-1.7.6/COPYING-json-jruby +57 -0
  972. data/vendor/bundle/gems/json-1.7.6/GPL +340 -0
  973. data/vendor/bundle/gems/json-1.7.6/Gemfile +9 -0
  974. data/vendor/bundle/gems/json-1.7.6/README-json-jruby.markdown +33 -0
  975. data/vendor/bundle/gems/json-1.7.6/README.rdoc +358 -0
  976. data/vendor/bundle/gems/json-1.7.6/Rakefile +412 -0
  977. data/vendor/bundle/gems/json-1.7.6/TODO +1 -0
  978. data/vendor/bundle/gems/json-1.7.6/VERSION +1 -0
  979. data/vendor/bundle/gems/json-1.7.6/data/example.json +1 -0
  980. data/vendor/bundle/gems/json-1.7.6/data/index.html +38 -0
  981. data/vendor/bundle/gems/json-1.7.6/data/prototype.js +4184 -0
  982. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +185 -0
  983. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/Makefile +214 -0
  984. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/depend +1 -0
  985. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/extconf.rb +14 -0
  986. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.bundle +0 -0
  987. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +1427 -0
  988. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +149 -0
  989. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.o +0 -0
  990. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/Makefile +214 -0
  991. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/depend +1 -0
  992. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/extconf.rb +13 -0
  993. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.bundle +0 -0
  994. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +2204 -0
  995. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +77 -0
  996. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.o +0 -0
  997. data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.rl +927 -0
  998. data/vendor/bundle/gems/json-1.7.6/install.rb +23 -0
  999. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/ByteListTranscoder.java +167 -0
  1000. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/Generator.java +444 -0
  1001. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/GeneratorMethods.java +232 -0
  1002. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/GeneratorService.java +43 -0
  1003. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/GeneratorState.java +542 -0
  1004. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/OptionsReader.java +113 -0
  1005. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/Parser.java +2644 -0
  1006. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/Parser.rl +968 -0
  1007. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/ParserService.java +35 -0
  1008. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/RuntimeInfo.java +121 -0
  1009. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/StringDecoder.java +167 -0
  1010. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/StringEncoder.java +106 -0
  1011. data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/Utils.java +89 -0
  1012. data/vendor/bundle/gems/json-1.7.6/json-java.gemspec +22 -0
  1013. data/vendor/bundle/gems/json-1.7.6/json.gemspec +37 -0
  1014. data/vendor/bundle/gems/json-1.7.6/json_pure.gemspec +39 -0
  1015. data/vendor/bundle/gems/json-1.7.6/lib/json.rb +62 -0
  1016. data/vendor/bundle/gems/json-1.7.6/lib/json/add/bigdecimal.rb +28 -0
  1017. data/vendor/bundle/gems/json-1.7.6/lib/json/add/complex.rb +22 -0
  1018. data/vendor/bundle/gems/json-1.7.6/lib/json/add/core.rb +11 -0
  1019. data/vendor/bundle/gems/json-1.7.6/lib/json/add/date.rb +34 -0
  1020. data/vendor/bundle/gems/json-1.7.6/lib/json/add/date_time.rb +50 -0
  1021. data/vendor/bundle/gems/json-1.7.6/lib/json/add/exception.rb +31 -0
  1022. data/vendor/bundle/gems/json-1.7.6/lib/json/add/ostruct.rb +31 -0
  1023. data/vendor/bundle/gems/json-1.7.6/lib/json/add/range.rb +29 -0
  1024. data/vendor/bundle/gems/json-1.7.6/lib/json/add/rational.rb +22 -0
  1025. data/vendor/bundle/gems/json-1.7.6/lib/json/add/regexp.rb +30 -0
  1026. data/vendor/bundle/gems/json-1.7.6/lib/json/add/struct.rb +30 -0
  1027. data/vendor/bundle/gems/json-1.7.6/lib/json/add/symbol.rb +25 -0
  1028. data/vendor/bundle/gems/json-1.7.6/lib/json/add/time.rb +38 -0
  1029. data/vendor/bundle/gems/json-1.7.6/lib/json/common.rb +480 -0
  1030. data/vendor/bundle/gems/json-1.7.6/lib/json/ext.rb +21 -0
  1031. data/vendor/bundle/gems/json-1.7.6/lib/json/ext/generator.bundle +0 -0
  1032. data/vendor/bundle/gems/json-1.7.6/lib/json/ext/parser.bundle +0 -0
  1033. data/vendor/bundle/gems/json-1.7.6/lib/json/generic_object.rb +54 -0
  1034. data/vendor/bundle/gems/json-1.7.6/lib/json/pure.rb +21 -0
  1035. data/vendor/bundle/gems/json-1.7.6/lib/json/pure/generator.rb +492 -0
  1036. data/vendor/bundle/gems/json-1.7.6/lib/json/pure/parser.rb +359 -0
  1037. data/vendor/bundle/gems/json-1.7.6/lib/json/version.rb +8 -0
  1038. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail1.json +1 -0
  1039. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail10.json +1 -0
  1040. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail11.json +1 -0
  1041. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail12.json +1 -0
  1042. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail13.json +1 -0
  1043. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail14.json +1 -0
  1044. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail18.json +1 -0
  1045. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail19.json +1 -0
  1046. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail2.json +1 -0
  1047. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail20.json +1 -0
  1048. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail21.json +1 -0
  1049. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail22.json +1 -0
  1050. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail23.json +1 -0
  1051. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail24.json +1 -0
  1052. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail25.json +1 -0
  1053. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail27.json +2 -0
  1054. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail28.json +2 -0
  1055. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail3.json +1 -0
  1056. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail4.json +1 -0
  1057. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail5.json +1 -0
  1058. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail6.json +1 -0
  1059. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail7.json +1 -0
  1060. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail8.json +1 -0
  1061. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail9.json +1 -0
  1062. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass1.json +56 -0
  1063. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass15.json +1 -0
  1064. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass16.json +1 -0
  1065. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass17.json +1 -0
  1066. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass2.json +1 -0
  1067. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass26.json +1 -0
  1068. data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass3.json +6 -0
  1069. data/vendor/bundle/gems/json-1.7.6/tests/setup_variant.rb +11 -0
  1070. data/vendor/bundle/gems/json-1.7.6/tests/test_json.rb +539 -0
  1071. data/vendor/bundle/gems/json-1.7.6/tests/test_json_addition.rb +188 -0
  1072. data/vendor/bundle/gems/json-1.7.6/tests/test_json_encoding.rb +65 -0
  1073. data/vendor/bundle/gems/json-1.7.6/tests/test_json_fixtures.rb +35 -0
  1074. data/vendor/bundle/gems/json-1.7.6/tests/test_json_generate.rb +299 -0
  1075. data/vendor/bundle/gems/json-1.7.6/tests/test_json_generic_object.rb +46 -0
  1076. data/vendor/bundle/gems/json-1.7.6/tests/test_json_string_matching.rb +40 -0
  1077. data/vendor/bundle/gems/json-1.7.6/tests/test_json_unicode.rb +72 -0
  1078. data/vendor/bundle/gems/json-1.7.6/tools/fuzz.rb +139 -0
  1079. data/vendor/bundle/gems/json-1.7.6/tools/server.rb +62 -0
  1080. data/vendor/bundle/gems/multi_json-1.5.0/Gemfile +7 -0
  1081. data/vendor/bundle/gems/multi_json-1.5.0/LICENSE.md +20 -0
  1082. data/vendor/bundle/gems/multi_json-1.5.0/README.md +88 -0
  1083. data/vendor/bundle/gems/multi_json-1.5.0/Rakefile +20 -0
  1084. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json.rb +130 -0
  1085. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_common.rb +25 -0
  1086. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_gem.rb +12 -0
  1087. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_pure.rb +12 -0
  1088. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/nsjsonserialization.rb +34 -0
  1089. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/oj.rb +26 -0
  1090. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/ok_json.rb +48 -0
  1091. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/yajl.rb +18 -0
  1092. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/vendor/okjson.rb +602 -0
  1093. data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/version.rb +3 -0
  1094. data/vendor/bundle/gems/multi_json-1.5.0/multi_json.gemspec +23 -0
  1095. data/vendor/bundle/gems/multi_json-1.5.0/spec/adapter_shared_example.rb +127 -0
  1096. data/vendor/bundle/gems/multi_json-1.5.0/spec/helper.rb +39 -0
  1097. data/vendor/bundle/gems/multi_json-1.5.0/spec/multi_json_spec.rb +100 -0
  1098. data/vendor/bundle/gems/rack-1.4.4/COPYING +18 -0
  1099. data/vendor/bundle/gems/rack-1.4.4/KNOWN-ISSUES +30 -0
  1100. data/vendor/bundle/gems/rack-1.4.4/README.rdoc +579 -0
  1101. data/vendor/bundle/gems/rack-1.4.4/Rakefile +122 -0
  1102. data/vendor/bundle/gems/rack-1.4.4/SPEC +173 -0
  1103. data/vendor/bundle/gems/rack-1.4.4/bin/rackup +4 -0
  1104. data/vendor/bundle/gems/rack-1.4.4/contrib/rack.png +0 -0
  1105. data/vendor/bundle/gems/rack-1.4.4/contrib/rack.svg +150 -0
  1106. data/vendor/bundle/gems/rack-1.4.4/contrib/rack_logo.svg +111 -0
  1107. data/vendor/bundle/gems/rack-1.4.4/contrib/rdoc.css +412 -0
  1108. data/vendor/bundle/gems/rack-1.4.4/example/lobster.ru +4 -0
  1109. data/vendor/bundle/gems/rack-1.4.4/example/protectedlobster.rb +14 -0
  1110. data/vendor/bundle/gems/rack-1.4.4/example/protectedlobster.ru +8 -0
  1111. data/vendor/bundle/gems/rack-1.4.4/lib/rack.rb +95 -0
  1112. data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/abstract/handler.rb +37 -0
  1113. data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/abstract/request.rb +47 -0
  1114. data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/basic.rb +58 -0
  1115. data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/digest/md5.rb +129 -0
  1116. data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/digest/nonce.rb +51 -0
  1117. data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/digest/params.rb +53 -0
  1118. data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/digest/request.rb +41 -0
  1119. data/vendor/bundle/gems/rack-1.4.4/lib/rack/backports/uri/common_18.rb +56 -0
  1120. data/vendor/bundle/gems/rack-1.4.4/lib/rack/backports/uri/common_192.rb +52 -0
  1121. data/vendor/bundle/gems/rack-1.4.4/lib/rack/backports/uri/common_193.rb +29 -0
  1122. data/vendor/bundle/gems/rack-1.4.4/lib/rack/body_proxy.rb +39 -0
  1123. data/vendor/bundle/gems/rack-1.4.4/lib/rack/builder.rb +145 -0
  1124. data/vendor/bundle/gems/rack-1.4.4/lib/rack/cascade.rb +52 -0
  1125. data/vendor/bundle/gems/rack-1.4.4/lib/rack/chunked.rb +58 -0
  1126. data/vendor/bundle/gems/rack-1.4.4/lib/rack/commonlogger.rb +64 -0
  1127. data/vendor/bundle/gems/rack-1.4.4/lib/rack/conditionalget.rb +67 -0
  1128. data/vendor/bundle/gems/rack-1.4.4/lib/rack/config.rb +15 -0
  1129. data/vendor/bundle/gems/rack-1.4.4/lib/rack/content_length.rb +33 -0
  1130. data/vendor/bundle/gems/rack-1.4.4/lib/rack/content_type.rb +29 -0
  1131. data/vendor/bundle/gems/rack-1.4.4/lib/rack/deflater.rb +103 -0
  1132. data/vendor/bundle/gems/rack-1.4.4/lib/rack/directory.rb +161 -0
  1133. data/vendor/bundle/gems/rack-1.4.4/lib/rack/etag.rb +64 -0
  1134. data/vendor/bundle/gems/rack-1.4.4/lib/rack/file.rb +151 -0
  1135. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler.rb +94 -0
  1136. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/cgi.rb +61 -0
  1137. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/evented_mongrel.rb +8 -0
  1138. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/fastcgi.rb +98 -0
  1139. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/lsws.rb +61 -0
  1140. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/mongrel.rb +100 -0
  1141. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/scgi.rb +67 -0
  1142. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
  1143. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/thin.rb +24 -0
  1144. data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/webrick.rb +80 -0
  1145. data/vendor/bundle/gems/rack-1.4.4/lib/rack/head.rb +20 -0
  1146. data/vendor/bundle/gems/rack-1.4.4/lib/rack/lint.rb +569 -0
  1147. data/vendor/bundle/gems/rack-1.4.4/lib/rack/lobster.rb +65 -0
  1148. data/vendor/bundle/gems/rack-1.4.4/lib/rack/lock.rb +24 -0
  1149. data/vendor/bundle/gems/rack-1.4.4/lib/rack/logger.rb +18 -0
  1150. data/vendor/bundle/gems/rack-1.4.4/lib/rack/methodoverride.rb +33 -0
  1151. data/vendor/bundle/gems/rack-1.4.4/lib/rack/mime.rb +648 -0
  1152. data/vendor/bundle/gems/rack-1.4.4/lib/rack/mock.rb +190 -0
  1153. data/vendor/bundle/gems/rack-1.4.4/lib/rack/multipart.rb +34 -0
  1154. data/vendor/bundle/gems/rack-1.4.4/lib/rack/multipart/generator.rb +93 -0
  1155. data/vendor/bundle/gems/rack-1.4.4/lib/rack/multipart/parser.rb +176 -0
  1156. data/vendor/bundle/gems/rack-1.4.4/lib/rack/multipart/uploaded_file.rb +34 -0
  1157. data/vendor/bundle/gems/rack-1.4.4/lib/rack/nulllogger.rb +18 -0
  1158. data/vendor/bundle/gems/rack-1.4.4/lib/rack/recursive.rb +61 -0
  1159. data/vendor/bundle/gems/rack-1.4.4/lib/rack/reloader.rb +109 -0
  1160. data/vendor/bundle/gems/rack-1.4.4/lib/rack/request.rb +339 -0
  1161. data/vendor/bundle/gems/rack-1.4.4/lib/rack/response.rb +156 -0
  1162. data/vendor/bundle/gems/rack-1.4.4/lib/rack/rewindable_input.rb +104 -0
  1163. data/vendor/bundle/gems/rack-1.4.4/lib/rack/runtime.rb +27 -0
  1164. data/vendor/bundle/gems/rack-1.4.4/lib/rack/sendfile.rb +141 -0
  1165. data/vendor/bundle/gems/rack-1.4.4/lib/rack/server.rb +349 -0
  1166. data/vendor/bundle/gems/rack-1.4.4/lib/rack/session/abstract/id.rb +377 -0
  1167. data/vendor/bundle/gems/rack-1.4.4/lib/rack/session/cookie.rb +170 -0
  1168. data/vendor/bundle/gems/rack-1.4.4/lib/rack/session/memcache.rb +93 -0
  1169. data/vendor/bundle/gems/rack-1.4.4/lib/rack/session/pool.rb +79 -0
  1170. data/vendor/bundle/gems/rack-1.4.4/lib/rack/showexceptions.rb +378 -0
  1171. data/vendor/bundle/gems/rack-1.4.4/lib/rack/showstatus.rb +113 -0
  1172. data/vendor/bundle/gems/rack-1.4.4/lib/rack/static.rb +153 -0
  1173. data/vendor/bundle/gems/rack-1.4.4/lib/rack/urlmap.rb +75 -0
  1174. data/vendor/bundle/gems/rack-1.4.4/lib/rack/utils.rb +553 -0
  1175. data/vendor/bundle/gems/rack-1.4.4/rack.gemspec +37 -0
  1176. data/vendor/bundle/gems/rack-1.4.4/test/builder/anything.rb +5 -0
  1177. data/vendor/bundle/gems/rack-1.4.4/test/builder/comment.ru +4 -0
  1178. data/vendor/bundle/gems/rack-1.4.4/test/builder/end.ru +5 -0
  1179. data/vendor/bundle/gems/rack-1.4.4/test/builder/line.ru +1 -0
  1180. data/vendor/bundle/gems/rack-1.4.4/test/builder/options.ru +2 -0
  1181. data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/folder/test.js +1 -0
  1182. data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/fonts/font.eot +1 -0
  1183. data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/images/image.png +1 -0
  1184. data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/index.html +1 -0
  1185. data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/javascripts/app.js +1 -0
  1186. data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/stylesheets/app.css +1 -0
  1187. data/vendor/bundle/gems/rack-1.4.4/test/cgi/lighttpd.conf +26 -0
  1188. data/vendor/bundle/gems/rack-1.4.4/test/cgi/rackup_stub.rb +6 -0
  1189. data/vendor/bundle/gems/rack-1.4.4/test/cgi/sample_rackup.ru +5 -0
  1190. data/vendor/bundle/gems/rack-1.4.4/test/cgi/test +9 -0
  1191. data/vendor/bundle/gems/rack-1.4.4/test/cgi/test+directory/test+file +1 -0
  1192. data/vendor/bundle/gems/rack-1.4.4/test/cgi/test.fcgi +8 -0
  1193. data/vendor/bundle/gems/rack-1.4.4/test/cgi/test.ru +5 -0
  1194. data/vendor/bundle/gems/rack-1.4.4/test/gemloader.rb +10 -0
  1195. data/vendor/bundle/gems/rack-1.4.4/test/multipart/bad_robots +259 -0
  1196. data/vendor/bundle/gems/rack-1.4.4/test/multipart/binary +0 -0
  1197. data/vendor/bundle/gems/rack-1.4.4/test/multipart/content_type_and_no_filename +6 -0
  1198. data/vendor/bundle/gems/rack-1.4.4/test/multipart/empty +10 -0
  1199. data/vendor/bundle/gems/rack-1.4.4/test/multipart/fail_16384_nofile +814 -0
  1200. data/vendor/bundle/gems/rack-1.4.4/test/multipart/file1.txt +1 -0
  1201. data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_and_modification_param +7 -0
  1202. data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_escaped_quotes +6 -0
  1203. data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  1204. data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_percent_escaped_quotes +6 -0
  1205. data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_unescaped_percentages +6 -0
  1206. data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_unescaped_percentages2 +6 -0
  1207. data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_unescaped_percentages3 +6 -0
  1208. data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_unescaped_quotes +6 -0
  1209. data/vendor/bundle/gems/rack-1.4.4/test/multipart/ie +6 -0
  1210. data/vendor/bundle/gems/rack-1.4.4/test/multipart/mixed_files +21 -0
  1211. data/vendor/bundle/gems/rack-1.4.4/test/multipart/nested +10 -0
  1212. data/vendor/bundle/gems/rack-1.4.4/test/multipart/none +9 -0
  1213. data/vendor/bundle/gems/rack-1.4.4/test/multipart/semicolon +6 -0
  1214. data/vendor/bundle/gems/rack-1.4.4/test/multipart/text +15 -0
  1215. data/vendor/bundle/gems/rack-1.4.4/test/multipart/webkit +32 -0
  1216. data/vendor/bundle/gems/rack-1.4.4/test/rackup/config.ru +31 -0
  1217. data/vendor/bundle/gems/rack-1.4.4/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  1218. data/vendor/bundle/gems/rack-1.4.4/test/spec_auth.rb +57 -0
  1219. data/vendor/bundle/gems/rack-1.4.4/test/spec_auth_basic.rb +81 -0
  1220. data/vendor/bundle/gems/rack-1.4.4/test/spec_auth_digest.rb +259 -0
  1221. data/vendor/bundle/gems/rack-1.4.4/test/spec_body_proxy.rb +69 -0
  1222. data/vendor/bundle/gems/rack-1.4.4/test/spec_builder.rb +207 -0
  1223. data/vendor/bundle/gems/rack-1.4.4/test/spec_cascade.rb +61 -0
  1224. data/vendor/bundle/gems/rack-1.4.4/test/spec_cgi.rb +102 -0
  1225. data/vendor/bundle/gems/rack-1.4.4/test/spec_chunked.rb +87 -0
  1226. data/vendor/bundle/gems/rack-1.4.4/test/spec_commonlogger.rb +57 -0
  1227. data/vendor/bundle/gems/rack-1.4.4/test/spec_conditionalget.rb +102 -0
  1228. data/vendor/bundle/gems/rack-1.4.4/test/spec_config.rb +22 -0
  1229. data/vendor/bundle/gems/rack-1.4.4/test/spec_content_length.rb +86 -0
  1230. data/vendor/bundle/gems/rack-1.4.4/test/spec_content_type.rb +45 -0
  1231. data/vendor/bundle/gems/rack-1.4.4/test/spec_deflater.rb +187 -0
  1232. data/vendor/bundle/gems/rack-1.4.4/test/spec_directory.rb +88 -0
  1233. data/vendor/bundle/gems/rack-1.4.4/test/spec_etag.rb +98 -0
  1234. data/vendor/bundle/gems/rack-1.4.4/test/spec_fastcgi.rb +107 -0
  1235. data/vendor/bundle/gems/rack-1.4.4/test/spec_file.rb +200 -0
  1236. data/vendor/bundle/gems/rack-1.4.4/test/spec_handler.rb +59 -0
  1237. data/vendor/bundle/gems/rack-1.4.4/test/spec_head.rb +48 -0
  1238. data/vendor/bundle/gems/rack-1.4.4/test/spec_lint.rb +515 -0
  1239. data/vendor/bundle/gems/rack-1.4.4/test/spec_lobster.rb +58 -0
  1240. data/vendor/bundle/gems/rack-1.4.4/test/spec_lock.rb +167 -0
  1241. data/vendor/bundle/gems/rack-1.4.4/test/spec_logger.rb +23 -0
  1242. data/vendor/bundle/gems/rack-1.4.4/test/spec_methodoverride.rb +72 -0
  1243. data/vendor/bundle/gems/rack-1.4.4/test/spec_mock.rb +269 -0
  1244. data/vendor/bundle/gems/rack-1.4.4/test/spec_mongrel.rb +182 -0
  1245. data/vendor/bundle/gems/rack-1.4.4/test/spec_multipart.rb +445 -0
  1246. data/vendor/bundle/gems/rack-1.4.4/test/spec_nulllogger.rb +23 -0
  1247. data/vendor/bundle/gems/rack-1.4.4/test/spec_recursive.rb +72 -0
  1248. data/vendor/bundle/gems/rack-1.4.4/test/spec_request.rb +938 -0
  1249. data/vendor/bundle/gems/rack-1.4.4/test/spec_response.rb +313 -0
  1250. data/vendor/bundle/gems/rack-1.4.4/test/spec_rewindable_input.rb +118 -0
  1251. data/vendor/bundle/gems/rack-1.4.4/test/spec_runtime.rb +49 -0
  1252. data/vendor/bundle/gems/rack-1.4.4/test/spec_sendfile.rb +89 -0
  1253. data/vendor/bundle/gems/rack-1.4.4/test/spec_server.rb +121 -0
  1254. data/vendor/bundle/gems/rack-1.4.4/test/spec_session_abstract_id.rb +43 -0
  1255. data/vendor/bundle/gems/rack-1.4.4/test/spec_session_cookie.rb +361 -0
  1256. data/vendor/bundle/gems/rack-1.4.4/test/spec_session_memcache.rb +321 -0
  1257. data/vendor/bundle/gems/rack-1.4.4/test/spec_session_pool.rb +209 -0
  1258. data/vendor/bundle/gems/rack-1.4.4/test/spec_showexceptions.rb +92 -0
  1259. data/vendor/bundle/gems/rack-1.4.4/test/spec_showstatus.rb +84 -0
  1260. data/vendor/bundle/gems/rack-1.4.4/test/spec_static.rb +145 -0
  1261. data/vendor/bundle/gems/rack-1.4.4/test/spec_thin.rb +86 -0
  1262. data/vendor/bundle/gems/rack-1.4.4/test/spec_urlmap.rb +213 -0
  1263. data/vendor/bundle/gems/rack-1.4.4/test/spec_utils.rb +537 -0
  1264. data/vendor/bundle/gems/rack-1.4.4/test/spec_webrick.rb +143 -0
  1265. data/vendor/bundle/gems/rack-1.4.4/test/static/another/index.html +1 -0
  1266. data/vendor/bundle/gems/rack-1.4.4/test/static/index.html +1 -0
  1267. data/vendor/bundle/gems/rack-1.4.4/test/testrequest.rb +78 -0
  1268. data/vendor/bundle/gems/rack-1.4.4/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  1269. data/vendor/bundle/gems/rack-1.4.4/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  1270. data/vendor/bundle/gems/rack-cache-1.2/CHANGES +241 -0
  1271. data/vendor/bundle/gems/rack-cache-1.2/COPYING +18 -0
  1272. data/vendor/bundle/gems/rack-cache-1.2/Gemfile +2 -0
  1273. data/vendor/bundle/gems/rack-cache-1.2/README +126 -0
  1274. data/vendor/bundle/gems/rack-cache-1.2/Rakefile +139 -0
  1275. data/vendor/bundle/gems/rack-cache-1.2/TODO +27 -0
  1276. data/vendor/bundle/gems/rack-cache-1.2/doc/configuration.markdown +127 -0
  1277. data/vendor/bundle/gems/rack-cache-1.2/doc/faq.markdown +148 -0
  1278. data/vendor/bundle/gems/rack-cache-1.2/doc/index.markdown +121 -0
  1279. data/vendor/bundle/gems/rack-cache-1.2/doc/layout.html.erb +34 -0
  1280. data/vendor/bundle/gems/rack-cache-1.2/doc/license.markdown +24 -0
  1281. data/vendor/bundle/gems/rack-cache-1.2/doc/rack-cache.css +362 -0
  1282. data/vendor/bundle/gems/rack-cache-1.2/doc/server.ru +34 -0
  1283. data/vendor/bundle/gems/rack-cache-1.2/doc/storage.markdown +164 -0
  1284. data/vendor/bundle/gems/rack-cache-1.2/example/sinatra/app.rb +21 -0
  1285. data/vendor/bundle/gems/rack-cache-1.2/example/sinatra/views/index.erb +44 -0
  1286. data/vendor/bundle/gems/rack-cache-1.2/lib/rack-cache.rb +1 -0
  1287. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache.rb +45 -0
  1288. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/appengine.rb +52 -0
  1289. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/cachecontrol.rb +194 -0
  1290. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/context.rb +286 -0
  1291. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/entitystore.rb +341 -0
  1292. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/key.rb +52 -0
  1293. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/metastore.rb +418 -0
  1294. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/options.rb +166 -0
  1295. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/request.rb +33 -0
  1296. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/response.rb +255 -0
  1297. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/storage.rb +62 -0
  1298. data/vendor/bundle/gems/rack-cache-1.2/rack-cache.gemspec +75 -0
  1299. data/vendor/bundle/gems/rack-cache-1.2/test/cache_test.rb +38 -0
  1300. data/vendor/bundle/gems/rack-cache-1.2/test/cachecontrol_test.rb +145 -0
  1301. data/vendor/bundle/gems/rack-cache-1.2/test/context_test.rb +916 -0
  1302. data/vendor/bundle/gems/rack-cache-1.2/test/entitystore_test.rb +268 -0
  1303. data/vendor/bundle/gems/rack-cache-1.2/test/key_test.rb +50 -0
  1304. data/vendor/bundle/gems/rack-cache-1.2/test/metastore_test.rb +338 -0
  1305. data/vendor/bundle/gems/rack-cache-1.2/test/options_test.rb +77 -0
  1306. data/vendor/bundle/gems/rack-cache-1.2/test/pony.jpg +0 -0
  1307. data/vendor/bundle/gems/rack-cache-1.2/test/request_test.rb +19 -0
  1308. data/vendor/bundle/gems/rack-cache-1.2/test/response_test.rb +184 -0
  1309. data/vendor/bundle/gems/rack-cache-1.2/test/spec_setup.rb +232 -0
  1310. data/vendor/bundle/gems/rack-cache-1.2/test/storage_test.rb +94 -0
  1311. data/vendor/bundle/gems/rack-ssl-1.3.2/LICENSE +22 -0
  1312. data/vendor/bundle/gems/rack-ssl-1.3.2/README.md +13 -0
  1313. data/vendor/bundle/gems/rack-ssl-1.3.2/lib/rack/ssl.rb +88 -0
  1314. data/vendor/bundle/gems/rack-test-0.6.2/Gemfile +6 -0
  1315. data/vendor/bundle/gems/rack-test-0.6.2/Gemfile.lock +31 -0
  1316. data/vendor/bundle/gems/rack-test-0.6.2/History.txt +166 -0
  1317. data/vendor/bundle/gems/rack-test-0.6.2/MIT-LICENSE.txt +19 -0
  1318. data/vendor/bundle/gems/rack-test-0.6.2/README.rdoc +85 -0
  1319. data/vendor/bundle/gems/rack-test-0.6.2/Rakefile +33 -0
  1320. data/vendor/bundle/gems/rack-test-0.6.2/Thorfile +114 -0
  1321. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/mock_session.rb +66 -0
  1322. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test.rb +304 -0
  1323. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb +182 -0
  1324. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/methods.rb +82 -0
  1325. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/mock_digest_request.rb +29 -0
  1326. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/uploaded_file.rb +50 -0
  1327. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/utils.rb +136 -0
  1328. data/vendor/bundle/gems/rack-test-0.6.2/rack-test.gemspec +77 -0
  1329. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/bar.txt +1 -0
  1330. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/config.ru +3 -0
  1331. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/fake_app.rb +143 -0
  1332. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/foo.txt +1 -0
  1333. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/cookie_spec.rb +219 -0
  1334. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/digest_auth_spec.rb +46 -0
  1335. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/multipart_spec.rb +145 -0
  1336. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/uploaded_file_spec.rb +22 -0
  1337. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/utils_spec.rb +122 -0
  1338. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test_spec.rb +510 -0
  1339. data/vendor/bundle/gems/rack-test-0.6.2/spec/spec_helper.rb +66 -0
  1340. data/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb +9 -0
  1341. data/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/challenge.rb +11 -0
  1342. data/vendor/bundle/gems/railties-3.2.11/CHANGELOG.md +87 -0
  1343. data/vendor/bundle/gems/railties-3.2.11/README.rdoc +35 -0
  1344. data/vendor/bundle/gems/railties-3.2.11/bin/rails +7 -0
  1345. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/belongs_to.png +0 -0
  1346. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/book_icon.gif +0 -0
  1347. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/bullet.gif +0 -0
  1348. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/challenge.png +0 -0
  1349. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/chapters_icon.gif +0 -0
  1350. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/check_bullet.gif +0 -0
  1351. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/credits_pic_blank.gif +0 -0
  1352. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/csrf.png +0 -0
  1353. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/customized_error_messages.png +0 -0
  1354. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/edge_badge.png +0 -0
  1355. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/error_messages.png +0 -0
  1356. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/feature_tile.gif +0 -0
  1357. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/footer_tile.gif +0 -0
  1358. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/fxn.png +0 -0
  1359. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/grey_bullet.gif +0 -0
  1360. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/habtm.png +0 -0
  1361. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/has_many.png +0 -0
  1362. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/has_many_through.png +0 -0
  1363. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/has_one.png +0 -0
  1364. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/has_one_through.png +0 -0
  1365. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/header_backdrop.png +0 -0
  1366. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/header_tile.gif +0 -0
  1367. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_html_safe.png +0 -0
  1368. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_localized_pirate.png +0 -0
  1369. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_translated_en.png +0 -0
  1370. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_translated_pirate.png +0 -0
  1371. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_translation_missing.png +0 -0
  1372. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_untranslated.png +0 -0
  1373. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/README +5 -0
  1374. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/1.png +0 -0
  1375. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/10.png +0 -0
  1376. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/11.png +0 -0
  1377. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/12.png +0 -0
  1378. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/13.png +0 -0
  1379. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/14.png +0 -0
  1380. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/15.png +0 -0
  1381. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/2.png +0 -0
  1382. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/3.png +0 -0
  1383. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/4.png +0 -0
  1384. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/5.png +0 -0
  1385. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/6.png +0 -0
  1386. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/7.png +0 -0
  1387. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/8.png +0 -0
  1388. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/9.png +0 -0
  1389. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/caution.png +0 -0
  1390. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/example.png +0 -0
  1391. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/home.png +0 -0
  1392. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/important.png +0 -0
  1393. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/next.png +0 -0
  1394. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/note.png +0 -0
  1395. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/prev.png +0 -0
  1396. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/tip.png +0 -0
  1397. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/up.png +0 -0
  1398. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/warning.png +0 -0
  1399. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/jaimeiniesta.jpg +0 -0
  1400. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/nav_arrow.gif +0 -0
  1401. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/polymorphic.png +0 -0
  1402. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/posts_index.png +0 -0
  1403. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/radar.png +0 -0
  1404. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/rails_guides_kindle_cover.jpg +0 -0
  1405. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/rails_guides_logo.gif +0 -0
  1406. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/rails_logo_remix.gif +0 -0
  1407. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/rails_welcome.png +0 -0
  1408. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/session_fixation.png +0 -0
  1409. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_grey.gif +0 -0
  1410. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_info.gif +0 -0
  1411. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_note.gif +0 -0
  1412. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_red.gif +0 -0
  1413. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_yellow.gif +0 -0
  1414. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_yellow.png +0 -0
  1415. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/validation_error_messages.png +0 -0
  1416. data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/vijaydev.jpg +0 -0
  1417. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/guides.js +7 -0
  1418. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
  1419. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
  1420. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
  1421. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
  1422. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
  1423. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
  1424. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
  1425. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
  1426. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
  1427. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
  1428. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
  1429. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
  1430. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
  1431. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
  1432. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
  1433. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
  1434. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
  1435. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
  1436. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
  1437. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
  1438. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
  1439. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
  1440. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
  1441. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
  1442. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
  1443. data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shCore.js +17 -0
  1444. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/fixes.css +16 -0
  1445. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/kindle.css +11 -0
  1446. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/main.css +453 -0
  1447. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/print.css +52 -0
  1448. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/reset.css +43 -0
  1449. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/style.css +13 -0
  1450. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCore.css +226 -0
  1451. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
  1452. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
  1453. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
  1454. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
  1455. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
  1456. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
  1457. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
  1458. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
  1459. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
  1460. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
  1461. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
  1462. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
  1463. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
  1464. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
  1465. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
  1466. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
  1467. data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
  1468. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/Gemfile +38 -0
  1469. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/README.rdoc +261 -0
  1470. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/Rakefile +7 -0
  1471. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/images/rails.png +0 -0
  1472. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/javascripts/application.js +15 -0
  1473. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/javascripts/comments.js.coffee +3 -0
  1474. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/javascripts/home.js.coffee +3 -0
  1475. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/javascripts/posts.js.coffee +3 -0
  1476. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/application.css +13 -0
  1477. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/comments.css.scss +3 -0
  1478. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/home.css.scss +3 -0
  1479. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/posts.css.scss +3 -0
  1480. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/scaffolds.css.scss +56 -0
  1481. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/controllers/application_controller.rb +3 -0
  1482. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/controllers/comments_controller.rb +16 -0
  1483. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/controllers/home_controller.rb +5 -0
  1484. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/controllers/posts_controller.rb +84 -0
  1485. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/helpers/application_helper.rb +2 -0
  1486. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/helpers/comments_helper.rb +2 -0
  1487. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/helpers/home_helper.rb +2 -0
  1488. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/helpers/posts_helper.rb +5 -0
  1489. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/models/comment.rb +3 -0
  1490. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/models/post.rb +11 -0
  1491. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/models/tag.rb +3 -0
  1492. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/comments/_comment.html.erb +15 -0
  1493. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/comments/_form.html.erb +13 -0
  1494. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/home/index.html.erb +2 -0
  1495. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/layouts/application.html.erb +14 -0
  1496. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/_form.html.erb +32 -0
  1497. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/edit.html.erb +6 -0
  1498. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/index.html.erb +27 -0
  1499. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/new.html.erb +5 -0
  1500. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/show.html.erb +31 -0
  1501. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/tags/_form.html.erb +12 -0
  1502. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config.ru +4 -0
  1503. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/application.rb +59 -0
  1504. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/boot.rb +6 -0
  1505. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/database.yml +25 -0
  1506. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/environment.rb +5 -0
  1507. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/environments/development.rb +37 -0
  1508. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/environments/production.rb +67 -0
  1509. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/environments/test.rb +37 -0
  1510. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/backtrace_silencers.rb +7 -0
  1511. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/inflections.rb +15 -0
  1512. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/mime_types.rb +5 -0
  1513. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/secret_token.rb +7 -0
  1514. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/session_store.rb +8 -0
  1515. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/wrap_parameters.rb +14 -0
  1516. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/locales/en.yml +5 -0
  1517. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/routes.rb +64 -0
  1518. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/migrate/20110901012504_create_posts.rb +11 -0
  1519. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/migrate/20110901012815_create_comments.rb +12 -0
  1520. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/migrate/20110901013701_create_tags.rb +11 -0
  1521. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/schema.rb +43 -0
  1522. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/seeds.rb +7 -0
  1523. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/doc/README_FOR_APP +2 -0
  1524. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/404.html +26 -0
  1525. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/422.html +26 -0
  1526. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/500.html +25 -0
  1527. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/favicon.ico +0 -0
  1528. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/robots.txt +5 -0
  1529. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/script/rails +6 -0
  1530. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/fixtures/comments.yml +11 -0
  1531. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/fixtures/posts.yml +11 -0
  1532. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/fixtures/tags.yml +9 -0
  1533. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/functional/comments_controller_test.rb +7 -0
  1534. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/functional/home_controller_test.rb +9 -0
  1535. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/functional/posts_controller_test.rb +49 -0
  1536. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/performance/browsing_test.rb +12 -0
  1537. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/test_helper.rb +13 -0
  1538. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/comment_test.rb +7 -0
  1539. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/helpers/comments_helper_test.rb +4 -0
  1540. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/helpers/home_helper_test.rb +4 -0
  1541. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/helpers/posts_helper_test.rb +4 -0
  1542. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/post_test.rb +7 -0
  1543. data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/tag_test.rb +7 -0
  1544. data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides.rb +50 -0
  1545. data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/generator.rb +310 -0
  1546. data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/helpers.rb +45 -0
  1547. data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/indexer.rb +69 -0
  1548. data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/levenshtein.rb +31 -0
  1549. data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/textile_extensions.rb +63 -0
  1550. data/vendor/bundle/gems/railties-3.2.11/guides/source/2_2_release_notes.textile +422 -0
  1551. data/vendor/bundle/gems/railties-3.2.11/guides/source/2_3_release_notes.textile +610 -0
  1552. data/vendor/bundle/gems/railties-3.2.11/guides/source/3_0_release_notes.textile +595 -0
  1553. data/vendor/bundle/gems/railties-3.2.11/guides/source/3_1_release_notes.textile +553 -0
  1554. data/vendor/bundle/gems/railties-3.2.11/guides/source/3_2_release_notes.textile +540 -0
  1555. data/vendor/bundle/gems/railties-3.2.11/guides/source/_license.html.erb +2 -0
  1556. data/vendor/bundle/gems/railties-3.2.11/guides/source/_welcome.html.erb +19 -0
  1557. data/vendor/bundle/gems/railties-3.2.11/guides/source/action_controller_overview.textile +820 -0
  1558. data/vendor/bundle/gems/railties-3.2.11/guides/source/action_mailer_basics.textile +516 -0
  1559. data/vendor/bundle/gems/railties-3.2.11/guides/source/action_view_overview.textile +1497 -0
  1560. data/vendor/bundle/gems/railties-3.2.11/guides/source/active_model_basics.textile +205 -0
  1561. data/vendor/bundle/gems/railties-3.2.11/guides/source/active_record_basics.textile +218 -0
  1562. data/vendor/bundle/gems/railties-3.2.11/guides/source/active_record_querying.textile +1433 -0
  1563. data/vendor/bundle/gems/railties-3.2.11/guides/source/active_record_validations_callbacks.textile +1283 -0
  1564. data/vendor/bundle/gems/railties-3.2.11/guides/source/active_resource_basics.textile +120 -0
  1565. data/vendor/bundle/gems/railties-3.2.11/guides/source/active_support_core_extensions.textile +3713 -0
  1566. data/vendor/bundle/gems/railties-3.2.11/guides/source/ajax_on_rails.textile +267 -0
  1567. data/vendor/bundle/gems/railties-3.2.11/guides/source/api_documentation_guidelines.textile +185 -0
  1568. data/vendor/bundle/gems/railties-3.2.11/guides/source/asset_pipeline.textile +707 -0
  1569. data/vendor/bundle/gems/railties-3.2.11/guides/source/association_basics.textile +1959 -0
  1570. data/vendor/bundle/gems/railties-3.2.11/guides/source/caching_with_rails.textile +437 -0
  1571. data/vendor/bundle/gems/railties-3.2.11/guides/source/command_line.textile +574 -0
  1572. data/vendor/bundle/gems/railties-3.2.11/guides/source/configuring.textile +641 -0
  1573. data/vendor/bundle/gems/railties-3.2.11/guides/source/contributing_to_ruby_on_rails.textile +448 -0
  1574. data/vendor/bundle/gems/railties-3.2.11/guides/source/credits.html.erb +72 -0
  1575. data/vendor/bundle/gems/railties-3.2.11/guides/source/debugging_rails_applications.textile +714 -0
  1576. data/vendor/bundle/gems/railties-3.2.11/guides/source/documents.yaml +157 -0
  1577. data/vendor/bundle/gems/railties-3.2.11/guides/source/engines.textile +618 -0
  1578. data/vendor/bundle/gems/railties-3.2.11/guides/source/form_helpers.textile +798 -0
  1579. data/vendor/bundle/gems/railties-3.2.11/guides/source/generators.textile +621 -0
  1580. data/vendor/bundle/gems/railties-3.2.11/guides/source/getting_started.textile +1929 -0
  1581. data/vendor/bundle/gems/railties-3.2.11/guides/source/i18n.textile +931 -0
  1582. data/vendor/bundle/gems/railties-3.2.11/guides/source/index.html.erb +30 -0
  1583. data/vendor/bundle/gems/railties-3.2.11/guides/source/initialization.textile +1116 -0
  1584. data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/KINDLE.md +26 -0
  1585. data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/copyright.html.erb +1 -0
  1586. data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/layout.html.erb +27 -0
  1587. data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/rails_guides.opf.erb +52 -0
  1588. data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/toc.html.erb +24 -0
  1589. data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/toc.ncx.erb +64 -0
  1590. data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/welcome.html.erb +5 -0
  1591. data/vendor/bundle/gems/railties-3.2.11/guides/source/layout.html.erb +124 -0
  1592. data/vendor/bundle/gems/railties-3.2.11/guides/source/layouts_and_rendering.textile +1237 -0
  1593. data/vendor/bundle/gems/railties-3.2.11/guides/source/migrations.textile +900 -0
  1594. data/vendor/bundle/gems/railties-3.2.11/guides/source/nested_model_forms.textile +222 -0
  1595. data/vendor/bundle/gems/railties-3.2.11/guides/source/performance_testing.textile +597 -0
  1596. data/vendor/bundle/gems/railties-3.2.11/guides/source/plugins.textile +464 -0
  1597. data/vendor/bundle/gems/railties-3.2.11/guides/source/rails_application_templates.textile +240 -0
  1598. data/vendor/bundle/gems/railties-3.2.11/guides/source/rails_on_rack.textile +236 -0
  1599. data/vendor/bundle/gems/railties-3.2.11/guides/source/routing.textile +885 -0
  1600. data/vendor/bundle/gems/railties-3.2.11/guides/source/ruby_on_rails_guides_guidelines.textile +79 -0
  1601. data/vendor/bundle/gems/railties-3.2.11/guides/source/security.textile +1004 -0
  1602. data/vendor/bundle/gems/railties-3.2.11/guides/source/testing.textile +947 -0
  1603. data/vendor/bundle/gems/railties-3.2.11/guides/w3c_validator.rb +91 -0
  1604. data/vendor/bundle/gems/railties-3.2.11/lib/rails.rb +126 -0
  1605. data/vendor/bundle/gems/railties-3.2.11/lib/rails/all.rb +15 -0
  1606. data/vendor/bundle/gems/railties-3.2.11/lib/rails/application.rb +320 -0
  1607. data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/bootstrap.rb +73 -0
  1608. data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/configuration.rb +151 -0
  1609. data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/finisher.rb +98 -0
  1610. data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/railties.rb +13 -0
  1611. data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/route_inspector.rb +84 -0
  1612. data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb +56 -0
  1613. data/vendor/bundle/gems/railties-3.2.11/lib/rails/backtrace_cleaner.rb +42 -0
  1614. data/vendor/bundle/gems/railties-3.2.11/lib/rails/cli.rb +16 -0
  1615. data/vendor/bundle/gems/railties-3.2.11/lib/rails/code_statistics.rb +118 -0
  1616. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands.rb +104 -0
  1617. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/application.rb +38 -0
  1618. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/benchmarker.rb +34 -0
  1619. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/console.rb +55 -0
  1620. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/dbconsole.rb +123 -0
  1621. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/destroy.rb +10 -0
  1622. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/generate.rb +12 -0
  1623. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/plugin.rb +544 -0
  1624. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/plugin_new.rb +11 -0
  1625. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/profiler.rb +32 -0
  1626. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/runner.rb +54 -0
  1627. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/server.rb +100 -0
  1628. data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/update.rb +9 -0
  1629. data/vendor/bundle/gems/railties-3.2.11/lib/rails/configuration.rb +89 -0
  1630. data/vendor/bundle/gems/railties-3.2.11/lib/rails/console/app.rb +36 -0
  1631. data/vendor/bundle/gems/railties-3.2.11/lib/rails/console/helpers.rb +11 -0
  1632. data/vendor/bundle/gems/railties-3.2.11/lib/rails/engine.rb +657 -0
  1633. data/vendor/bundle/gems/railties-3.2.11/lib/rails/engine/commands.rb +43 -0
  1634. data/vendor/bundle/gems/railties-3.2.11/lib/rails/engine/configuration.rb +84 -0
  1635. data/vendor/bundle/gems/railties-3.2.11/lib/rails/engine/railties.rb +33 -0
  1636. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators.rb +339 -0
  1637. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/actions.rb +325 -0
  1638. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/active_model.rb +78 -0
  1639. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/app_base.rb +281 -0
  1640. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/base.rb +390 -0
  1641. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/css/assets/assets_generator.rb +13 -0
  1642. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
  1643. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
  1644. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb.rb +21 -0
  1645. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/controller/controller_generator.rb +20 -0
  1646. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
  1647. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/mailer/mailer_generator.rb +13 -0
  1648. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
  1649. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/scaffold_generator.rb +29 -0
  1650. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/_form.html.erb +23 -0
  1651. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
  1652. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/index.html.erb +27 -0
  1653. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
  1654. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/show.html.erb +12 -0
  1655. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/generated_attribute.rb +107 -0
  1656. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/js/assets/assets_generator.rb +13 -0
  1657. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/js/assets/templates/javascript.js +2 -0
  1658. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/migration.rb +68 -0
  1659. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/named_base.rb +202 -0
  1660. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/USAGE +15 -0
  1661. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/app_generator.rb +303 -0
  1662. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/Gemfile +26 -0
  1663. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/README +261 -0
  1664. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/Rakefile +7 -0
  1665. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/assets/images/rails.png +0 -0
  1666. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +17 -0
  1667. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +13 -0
  1668. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +3 -0
  1669. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
  1670. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +14 -0
  1671. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config.ru +4 -0
  1672. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/application.rb +74 -0
  1673. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/boot.rb +6 -0
  1674. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +31 -0
  1675. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +86 -0
  1676. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +62 -0
  1677. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +33 -0
  1678. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +43 -0
  1679. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +20 -0
  1680. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +54 -0
  1681. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +39 -0
  1682. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +55 -0
  1683. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
  1684. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
  1685. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +41 -0
  1686. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +73 -0
  1687. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +39 -0
  1688. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
  1689. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +15 -0
  1690. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +5 -0
  1691. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt +7 -0
  1692. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +8 -0
  1693. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
  1694. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/locales/en.yml +5 -0
  1695. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/routes.rb +58 -0
  1696. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
  1697. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/doc/README_FOR_APP +2 -0
  1698. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/gitignore +15 -0
  1699. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/404.html +26 -0
  1700. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/422.html +26 -0
  1701. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/500.html +25 -0
  1702. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
  1703. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/index.html +241 -0
  1704. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
  1705. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/script/rails +5 -0
  1706. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb +12 -0
  1707. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/test/test_helper.rb +15 -0
  1708. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/assets/USAGE +20 -0
  1709. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
  1710. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
  1711. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
  1712. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/controller/USAGE +18 -0
  1713. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/controller/controller_generator.rb +20 -0
  1714. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/controller/templates/controller.rb +13 -0
  1715. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/generator/USAGE +12 -0
  1716. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/generator/generator_generator.rb +25 -0
  1717. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
  1718. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
  1719. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/helper/USAGE +17 -0
  1720. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
  1721. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
  1722. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/integration_test/USAGE +10 -0
  1723. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
  1724. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/migration/USAGE +29 -0
  1725. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
  1726. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/model/USAGE +45 -0
  1727. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/model/model_generator.rb +8 -0
  1728. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/observer/USAGE +12 -0
  1729. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/observer/observer_generator.rb +7 -0
  1730. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/performance_test/USAGE +10 -0
  1731. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/performance_test/performance_test_generator.rb +7 -0
  1732. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/USAGE +10 -0
  1733. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +318 -0
  1734. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +29 -0
  1735. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/Gemfile +23 -0
  1736. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE +20 -0
  1737. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/README.rdoc +3 -0
  1738. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/Rakefile +31 -0
  1739. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt +4 -0
  1740. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt +4 -0
  1741. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt +14 -0
  1742. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/config/routes.rb +6 -0
  1743. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/gitignore +7 -0
  1744. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb +6 -0
  1745. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb +7 -0
  1746. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb +3 -0
  1747. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake +4 -0
  1748. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +18 -0
  1749. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb +10 -0
  1750. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/rails/routes.rb +4 -0
  1751. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/script/rails.tt +7 -0
  1752. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb +7 -0
  1753. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +12 -0
  1754. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +15 -0
  1755. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/resource/USAGE +23 -0
  1756. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/resource/resource_generator.rb +20 -0
  1757. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/resource_route/resource_route_generator.rb +50 -0
  1758. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold/USAGE +35 -0
  1759. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold/scaffold_generator.rb +23 -0
  1760. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold/templates/scaffold.css +56 -0
  1761. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold_controller/USAGE +19 -0
  1762. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +25 -0
  1763. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +89 -0
  1764. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/session_migration/USAGE +8 -0
  1765. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/session_migration/session_migration_generator.rb +8 -0
  1766. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/task/USAGE +9 -0
  1767. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/task/task_generator.rb +12 -0
  1768. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/task/templates/task.rb +8 -0
  1769. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/resource_helpers.rb +80 -0
  1770. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_case.rb +247 -0
  1771. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit.rb +8 -0
  1772. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
  1773. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/controller/templates/functional_test.rb +19 -0
  1774. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/helper/helper_generator.rb +13 -0
  1775. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/helper/templates/helper_test.rb +6 -0
  1776. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
  1777. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
  1778. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/mailer/mailer_generator.rb +14 -0
  1779. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
  1780. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/model/model_generator.rb +24 -0
  1781. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/model/templates/fixtures.yml +23 -0
  1782. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
  1783. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/observer/observer_generator.rb +13 -0
  1784. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/observer/templates/unit_test.rb +9 -0
  1785. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/performance/performance_generator.rb +13 -0
  1786. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/performance/templates/performance_test.rb +12 -0
  1787. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
  1788. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
  1789. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +3 -0
  1790. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +38 -0
  1791. data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +51 -0
  1792. data/vendor/bundle/gems/railties-3.2.11/lib/rails/info.rb +116 -0
  1793. data/vendor/bundle/gems/railties-3.2.11/lib/rails/info_controller.rb +15 -0
  1794. data/vendor/bundle/gems/railties-3.2.11/lib/rails/initializable.rb +89 -0
  1795. data/vendor/bundle/gems/railties-3.2.11/lib/rails/paths.rb +211 -0
  1796. data/vendor/bundle/gems/railties-3.2.11/lib/rails/performance_test_help.rb +3 -0
  1797. data/vendor/bundle/gems/railties-3.2.11/lib/rails/plugin.rb +92 -0
  1798. data/vendor/bundle/gems/railties-3.2.11/lib/rails/rack.rb +7 -0
  1799. data/vendor/bundle/gems/railties-3.2.11/lib/rails/rack/debugger.rb +24 -0
  1800. data/vendor/bundle/gems/railties-3.2.11/lib/rails/rack/log_tailer.rb +34 -0
  1801. data/vendor/bundle/gems/railties-3.2.11/lib/rails/rack/logger.rb +60 -0
  1802. data/vendor/bundle/gems/railties-3.2.11/lib/rails/railtie.rb +202 -0
  1803. data/vendor/bundle/gems/railties-3.2.11/lib/rails/railtie/configurable.rb +35 -0
  1804. data/vendor/bundle/gems/railties-3.2.11/lib/rails/railtie/configuration.rb +90 -0
  1805. data/vendor/bundle/gems/railties-3.2.11/lib/rails/ruby_version_check.rb +23 -0
  1806. data/vendor/bundle/gems/railties-3.2.11/lib/rails/rubyprof_ext.rb +35 -0
  1807. data/vendor/bundle/gems/railties-3.2.11/lib/rails/script_rails_loader.rb +29 -0
  1808. data/vendor/bundle/gems/railties-3.2.11/lib/rails/source_annotation_extractor.rb +104 -0
  1809. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks.rb +16 -0
  1810. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/annotations.rake +20 -0
  1811. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/documentation.rake +155 -0
  1812. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/engine.rake +72 -0
  1813. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/framework.rake +76 -0
  1814. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/log.rake +9 -0
  1815. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/middleware.rake +7 -0
  1816. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/misc.rake +67 -0
  1817. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/routes.rake +9 -0
  1818. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/statistics.rake +16 -0
  1819. data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/tmp.rake +37 -0
  1820. data/vendor/bundle/gems/railties-3.2.11/lib/rails/test_help.rb +56 -0
  1821. data/vendor/bundle/gems/railties-3.2.11/lib/rails/test_unit/railtie.rb +15 -0
  1822. data/vendor/bundle/gems/railties-3.2.11/lib/rails/test_unit/sub_test_task.rb +8 -0
  1823. data/vendor/bundle/gems/railties-3.2.11/lib/rails/test_unit/testing.rake +146 -0
  1824. data/vendor/bundle/gems/railties-3.2.11/lib/rails/version.rb +10 -0
  1825. data/vendor/bundle/gems/rake-10.0.3/CHANGES +526 -0
  1826. data/vendor/bundle/gems/rake-10.0.3/MIT-LICENSE +21 -0
  1827. data/vendor/bundle/gems/rake-10.0.3/README.rdoc +187 -0
  1828. data/vendor/bundle/gems/rake-10.0.3/Rakefile +374 -0
  1829. data/vendor/bundle/gems/rake-10.0.3/TODO +21 -0
  1830. data/vendor/bundle/gems/rake-10.0.3/bin/rake +33 -0
  1831. data/vendor/bundle/gems/rake-10.0.3/doc/command_line_usage.rdoc +152 -0
  1832. data/vendor/bundle/gems/rake-10.0.3/doc/example/Rakefile1 +38 -0
  1833. data/vendor/bundle/gems/rake-10.0.3/doc/example/Rakefile2 +35 -0
  1834. data/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +6 -0
  1835. data/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +6 -0
  1836. data/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +11 -0
  1837. data/vendor/bundle/gems/rake-10.0.3/doc/glossary.rdoc +51 -0
  1838. data/vendor/bundle/gems/rake-10.0.3/doc/jamis.rb +591 -0
  1839. data/vendor/bundle/gems/rake-10.0.3/doc/proto_rake.rdoc +127 -0
  1840. data/vendor/bundle/gems/rake-10.0.3/doc/rake.1.gz +0 -0
  1841. data/vendor/bundle/gems/rake-10.0.3/doc/rakefile.rdoc +557 -0
  1842. data/vendor/bundle/gems/rake-10.0.3/doc/rational.rdoc +151 -0
  1843. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.4.14.rdoc +23 -0
  1844. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.4.15.rdoc +35 -0
  1845. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.0.rdoc +53 -0
  1846. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.3.rdoc +78 -0
  1847. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.4.rdoc +46 -0
  1848. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.6.0.rdoc +141 -0
  1849. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.0.rdoc +119 -0
  1850. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.1.rdoc +59 -0
  1851. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.2.rdoc +121 -0
  1852. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.3.rdoc +47 -0
  1853. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.0.rdoc +114 -0
  1854. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.2.rdoc +165 -0
  1855. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.3.rdoc +112 -0
  1856. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.4.rdoc +147 -0
  1857. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.5.rdoc +53 -0
  1858. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.6.rdoc +55 -0
  1859. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.7.rdoc +55 -0
  1860. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.0.rdoc +112 -0
  1861. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.1.rdoc +52 -0
  1862. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  1863. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.rdoc +49 -0
  1864. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.3.rdoc +102 -0
  1865. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.4.rdoc +110 -0
  1866. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.5.rdoc +114 -0
  1867. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.6.rdoc +127 -0
  1868. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.0.rdoc +178 -0
  1869. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.1.rdoc +187 -0
  1870. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.2.rdoc +191 -0
  1871. data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.3.rdoc +191 -0
  1872. data/vendor/bundle/gems/rake-10.0.3/install.rb +90 -0
  1873. data/vendor/bundle/gems/rake-10.0.3/lib/rake.rb +71 -0
  1874. data/vendor/bundle/gems/rake-10.0.3/lib/rake/alt_system.rb +109 -0
  1875. data/vendor/bundle/gems/rake-10.0.3/lib/rake/application.rb +669 -0
  1876. data/vendor/bundle/gems/rake-10.0.3/lib/rake/backtrace.rb +18 -0
  1877. data/vendor/bundle/gems/rake-10.0.3/lib/rake/clean.rb +32 -0
  1878. data/vendor/bundle/gems/rake-10.0.3/lib/rake/cloneable.rb +16 -0
  1879. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/compositepublisher.rb +21 -0
  1880. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/ftptools.rb +151 -0
  1881. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/publisher.rb +73 -0
  1882. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/rubyforgepublisher.rb +16 -0
  1883. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/sshpublisher.rb +50 -0
  1884. data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/sys.rb +1 -0
  1885. data/vendor/bundle/gems/rake-10.0.3/lib/rake/default_loader.rb +10 -0
  1886. data/vendor/bundle/gems/rake-10.0.3/lib/rake/dsl_definition.rb +156 -0
  1887. data/vendor/bundle/gems/rake-10.0.3/lib/rake/early_time.rb +18 -0
  1888. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/core.rb +27 -0
  1889. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/module.rb +0 -0
  1890. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/string.rb +168 -0
  1891. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/time.rb +15 -0
  1892. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_creation_task.rb +24 -0
  1893. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_list.rb +410 -0
  1894. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_task.rb +47 -0
  1895. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_utils.rb +114 -0
  1896. data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_utils_ext.rb +146 -0
  1897. data/vendor/bundle/gems/rake-10.0.3/lib/rake/gempackagetask.rb +1 -0
  1898. data/vendor/bundle/gems/rake-10.0.3/lib/rake/invocation_chain.rb +51 -0
  1899. data/vendor/bundle/gems/rake-10.0.3/lib/rake/invocation_exception_mixin.rb +16 -0
  1900. data/vendor/bundle/gems/rake-10.0.3/lib/rake/loaders/makefile.rb +40 -0
  1901. data/vendor/bundle/gems/rake-10.0.3/lib/rake/multi_task.rb +13 -0
  1902. data/vendor/bundle/gems/rake-10.0.3/lib/rake/name_space.rb +25 -0
  1903. data/vendor/bundle/gems/rake-10.0.3/lib/rake/packagetask.rb +185 -0
  1904. data/vendor/bundle/gems/rake-10.0.3/lib/rake/pathmap.rb +1 -0
  1905. data/vendor/bundle/gems/rake-10.0.3/lib/rake/phony.rb +15 -0
  1906. data/vendor/bundle/gems/rake-10.0.3/lib/rake/private_reader.rb +20 -0
  1907. data/vendor/bundle/gems/rake-10.0.3/lib/rake/promise.rb +99 -0
  1908. data/vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb +24 -0
  1909. data/vendor/bundle/gems/rake-10.0.3/lib/rake/rake_module.rb +37 -0
  1910. data/vendor/bundle/gems/rake-10.0.3/lib/rake/rake_test_loader.rb +22 -0
  1911. data/vendor/bundle/gems/rake-10.0.3/lib/rake/rdoctask.rb +1 -0
  1912. data/vendor/bundle/gems/rake-10.0.3/lib/rake/ruby182_test_unit_fix.rb +25 -0
  1913. data/vendor/bundle/gems/rake-10.0.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
  1914. data/vendor/bundle/gems/rake-10.0.3/lib/rake/runtest.rb +22 -0
  1915. data/vendor/bundle/gems/rake-10.0.3/lib/rake/task.rb +350 -0
  1916. data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_argument_error.rb +7 -0
  1917. data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_arguments.rb +78 -0
  1918. data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_manager.rb +296 -0
  1919. data/vendor/bundle/gems/rake-10.0.3/lib/rake/tasklib.rb +22 -0
  1920. data/vendor/bundle/gems/rake-10.0.3/lib/rake/testtask.rb +198 -0
  1921. data/vendor/bundle/gems/rake-10.0.3/lib/rake/thread_history_display.rb +48 -0
  1922. data/vendor/bundle/gems/rake-10.0.3/lib/rake/thread_pool.rb +155 -0
  1923. data/vendor/bundle/gems/rake-10.0.3/lib/rake/trace_output.rb +19 -0
  1924. data/vendor/bundle/gems/rake-10.0.3/lib/rake/version.rb +13 -0
  1925. data/vendor/bundle/gems/rake-10.0.3/lib/rake/win32.rb +55 -0
  1926. data/vendor/bundle/gems/rake-10.0.3/test/file_creation.rb +34 -0
  1927. data/vendor/bundle/gems/rake-10.0.3/test/helper.rb +562 -0
  1928. data/vendor/bundle/gems/rake-10.0.3/test/test_private_reader.rb +42 -0
  1929. data/vendor/bundle/gems/rake-10.0.3/test/test_rake.rb +40 -0
  1930. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_application.rb +515 -0
  1931. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_application_options.rb +443 -0
  1932. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_backtrace.rb +89 -0
  1933. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_clean.rb +14 -0
  1934. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_definitions.rb +80 -0
  1935. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_directory_task.rb +57 -0
  1936. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_dsl.rb +40 -0
  1937. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_early_time.rb +31 -0
  1938. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_extension.rb +59 -0
  1939. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_creation_task.rb +56 -0
  1940. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_list.rb +628 -0
  1941. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_list_path_map.rb +8 -0
  1942. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_task.rb +122 -0
  1943. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_utils.rb +305 -0
  1944. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_ftp_file.rb +59 -0
  1945. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_functional.rb +496 -0
  1946. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_invocation_chain.rb +52 -0
  1947. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_makefile_loader.rb +44 -0
  1948. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_multi_task.rb +59 -0
  1949. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_name_space.rb +43 -0
  1950. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_package_task.rb +79 -0
  1951. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map.rb +157 -0
  1952. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map_explode.rb +34 -0
  1953. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map_partial.rb +18 -0
  1954. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_pseudo_status.rb +21 -0
  1955. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_rake_test_loader.rb +21 -0
  1956. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_reduce_compat.rb +30 -0
  1957. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_require.rb +40 -0
  1958. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_rules.rb +327 -0
  1959. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task.rb +316 -0
  1960. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_argument_parsing.rb +103 -0
  1961. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_arguments.rb +88 -0
  1962. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_lib.rb +9 -0
  1963. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_manager.rb +157 -0
  1964. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_manager_argument_resolution.rb +19 -0
  1965. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_with_arguments.rb +171 -0
  1966. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_test_task.rb +120 -0
  1967. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_thread_pool.rb +123 -0
  1968. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_top_level_functions.rb +71 -0
  1969. data/vendor/bundle/gems/rake-10.0.3/test/test_rake_win32.rb +72 -0
  1970. data/vendor/bundle/gems/rake-10.0.3/test/test_thread_history_display.rb +91 -0
  1971. data/vendor/bundle/gems/rake-10.0.3/test/test_trace_output.rb +43 -0
  1972. data/vendor/bundle/gems/rdoc-3.12/DEVELOPERS.rdoc +141 -0
  1973. data/vendor/bundle/gems/rdoc-3.12/History.rdoc +962 -0
  1974. data/vendor/bundle/gems/rdoc-3.12/LEGAL.rdoc +27 -0
  1975. data/vendor/bundle/gems/rdoc-3.12/LICENSE.rdoc +57 -0
  1976. data/vendor/bundle/gems/rdoc-3.12/Manifest.txt +228 -0
  1977. data/vendor/bundle/gems/rdoc-3.12/README.rdoc +61 -0
  1978. data/vendor/bundle/gems/rdoc-3.12/RI.rdoc +57 -0
  1979. data/vendor/bundle/gems/rdoc-3.12/Rakefile +135 -0
  1980. data/vendor/bundle/gems/rdoc-3.12/TODO.rdoc +40 -0
  1981. data/vendor/bundle/gems/rdoc-3.12/bin/rdoc +40 -0
  1982. data/vendor/bundle/gems/rdoc-3.12/bin/ri +12 -0
  1983. data/vendor/bundle/gems/rdoc-3.12/lib/gauntlet_rdoc.rb +84 -0
  1984. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc.rb +221 -0
  1985. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/alias.rb +111 -0
  1986. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/anon_class.rb +10 -0
  1987. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/any_method.rb +208 -0
  1988. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/attr.rb +134 -0
  1989. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/class_module.rb +619 -0
  1990. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_object.rb +305 -0
  1991. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_objects.rb +5 -0
  1992. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/comment.rb +225 -0
  1993. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/constant.rb +84 -0
  1994. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context.rb +1136 -0
  1995. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context/section.rb +123 -0
  1996. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/cross_reference.rb +175 -0
  1997. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/encoding.rb +90 -0
  1998. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/erbio.rb +37 -0
  1999. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator.rb +45 -0
  2000. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/darkfish.rb +532 -0
  2001. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/json_index.rb +240 -0
  2002. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/markup.rb +171 -0
  2003. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/ri.rb +83 -0
  2004. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  2005. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_head.rhtml +16 -0
  2006. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +18 -0
  2007. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
  2008. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +8 -0
  2009. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +16 -0
  2010. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
  2011. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +7 -0
  2012. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
  2013. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +10 -0
  2014. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +10 -0
  2015. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +10 -0
  2016. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/class.rhtml +165 -0
  2017. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
  2018. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
  2019. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  2020. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
  2021. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  2022. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  2023. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  2024. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
  2025. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
  2026. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
  2027. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  2028. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  2029. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
  2030. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  2031. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  2032. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  2033. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  2034. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  2035. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  2036. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  2037. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  2038. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  2039. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  2040. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  2041. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/index.rhtml +19 -0
  2042. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/darkfish.js +153 -0
  2043. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/jquery.js +18 -0
  2044. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/search.js +94 -0
  2045. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/page.rhtml +16 -0
  2046. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/rdoc.css +543 -0
  2047. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +55 -0
  2048. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/navigation.js +142 -0
  2049. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/searcher.js +228 -0
  2050. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ghost_method.rb +6 -0
  2051. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/include.rb +110 -0
  2052. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/known_classes.rb +72 -0
  2053. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup.rb +813 -0
  2054. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_changer.rb +25 -0
  2055. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_span.rb +29 -0
  2056. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute.rb +51 -0
  2057. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute_manager.rb +335 -0
  2058. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/blank_line.rb +27 -0
  2059. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/document.rb +148 -0
  2060. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter.rb +173 -0
  2061. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter_test_case.rb +698 -0
  2062. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/heading.rb +64 -0
  2063. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/include.rb +42 -0
  2064. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/indented_paragraph.rb +33 -0
  2065. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/inline.rb +1 -0
  2066. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list.rb +82 -0
  2067. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list_item.rb +86 -0
  2068. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/paragraph.rb +14 -0
  2069. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/parser.rb +504 -0
  2070. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/pre_process.rb +293 -0
  2071. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/raw.rb +69 -0
  2072. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/rule.rb +20 -0
  2073. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/special.rb +40 -0
  2074. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/text_formatter_test_case.rb +114 -0
  2075. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_ansi.rb +87 -0
  2076. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_bs.rb +78 -0
  2077. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html.rb +394 -0
  2078. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_crossref.rb +156 -0
  2079. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_snippet.rb +268 -0
  2080. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_label.rb +55 -0
  2081. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_rdoc.rb +302 -0
  2082. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_table_of_contents.rb +56 -0
  2083. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_test.rb +69 -0
  2084. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_tt_only.rb +111 -0
  2085. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/verbatim.rb +64 -0
  2086. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/meta_method.rb +6 -0
  2087. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/method_attr.rb +384 -0
  2088. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_class.rb +69 -0
  2089. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_module.rb +64 -0
  2090. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/options.rb +1040 -0
  2091. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser.rb +242 -0
  2092. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/c.rb +1024 -0
  2093. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/rd.rb +22 -0
  2094. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby.rb +1816 -0
  2095. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby_tools.rb +162 -0
  2096. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/simple.rb +61 -0
  2097. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/text.rb +11 -0
  2098. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd.rb +95 -0
  2099. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/block_parser.ry +638 -0
  2100. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline.rb +71 -0
  2101. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline_parser.ry +593 -0
  2102. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rdoc.rb +532 -0
  2103. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/require.rb +51 -0
  2104. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri.rb +20 -0
  2105. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/driver.rb +1174 -0
  2106. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/formatter.rb +5 -0
  2107. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/paths.rb +128 -0
  2108. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/store.rb +357 -0
  2109. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_lex.rb +1334 -0
  2110. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_token.rb +458 -0
  2111. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rubygems_hook.rb +220 -0
  2112. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/single_class.rb +21 -0
  2113. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats.rb +436 -0
  2114. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/normal.rb +48 -0
  2115. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/quiet.rb +59 -0
  2116. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/verbose.rb +45 -0
  2117. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/task.rb +329 -0
  2118. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/test_case.rb +76 -0
  2119. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/text.rb +314 -0
  2120. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/token_stream.rb +95 -0
  2121. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/tom_doc.rb +232 -0
  2122. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/top_level.rb +523 -0
  2123. data/vendor/bundle/gems/rdoc-3.12/test/README +1 -0
  2124. data/vendor/bundle/gems/rdoc-3.12/test/binary.dat +0 -0
  2125. data/vendor/bundle/gems/rdoc-3.12/test/hidden.zip.txt +1 -0
  2126. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.large.rdoc +3 -0
  2127. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.rdoc +10 -0
  2128. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.txt +8 -0
  2129. data/vendor/bundle/gems/rdoc-3.12/test/test.txt +1 -0
  2130. data/vendor/bundle/gems/rdoc-3.12/test/test_attribute_manager.rb +117 -0
  2131. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_alias.rb +13 -0
  2132. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_any_method.rb +248 -0
  2133. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_attr.rb +136 -0
  2134. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_class_module.rb +814 -0
  2135. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_code_object.rb +297 -0
  2136. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_comment.rb +504 -0
  2137. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_constant.rb +15 -0
  2138. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context.rb +791 -0
  2139. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context_section.rb +53 -0
  2140. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_cross_reference.rb +176 -0
  2141. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_encoding.rb +188 -0
  2142. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_darkfish.rb +151 -0
  2143. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_json_index.rb +255 -0
  2144. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_markup.rb +56 -0
  2145. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_ri.rb +84 -0
  2146. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_include.rb +96 -0
  2147. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup.rb +95 -0
  2148. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_attribute_manager.rb +237 -0
  2149. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_document.rb +180 -0
  2150. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_formatter.rb +55 -0
  2151. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_heading.rb +20 -0
  2152. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_include.rb +19 -0
  2153. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_indented_paragraph.rb +39 -0
  2154. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_paragraph.rb +18 -0
  2155. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_parser.rb +1624 -0
  2156. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_pre_process.rb +461 -0
  2157. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_raw.rb +29 -0
  2158. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_ansi.rb +348 -0
  2159. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_bs.rb +342 -0
  2160. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html.rb +515 -0
  2161. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_crossref.rb +200 -0
  2162. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_snippet.rb +668 -0
  2163. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_label.rb +50 -0
  2164. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_rdoc.rb +357 -0
  2165. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_table_of_contents.rb +90 -0
  2166. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_tt_only.rb +226 -0
  2167. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_verbatim.rb +16 -0
  2168. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_method_attr.rb +150 -0
  2169. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_class.rb +23 -0
  2170. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_module.rb +37 -0
  2171. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_options.rb +579 -0
  2172. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser.rb +162 -0
  2173. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_c.rb +1438 -0
  2174. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_rd.rb +52 -0
  2175. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_ruby.rb +2490 -0
  2176. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_simple.rb +115 -0
  2177. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb +30 -0
  2178. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_block_parser.rb +527 -0
  2179. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline.rb +63 -0
  2180. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline_parser.rb +173 -0
  2181. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rdoc.rb +280 -0
  2182. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_require.rb +25 -0
  2183. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_driver.rb +1059 -0
  2184. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_paths.rb +46 -0
  2185. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_store.rb +466 -0
  2186. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ruby_lex.rb +137 -0
  2187. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rubygems_hook.rb +202 -0
  2188. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_single_class.rb +12 -0
  2189. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_stats.rb +588 -0
  2190. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_task.rb +120 -0
  2191. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_text.rb +542 -0
  2192. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_token_stream.rb +42 -0
  2193. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_tom_doc.rb +458 -0
  2194. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_top_level.rb +313 -0
  2195. data/vendor/bundle/gems/rdoc-3.12/test/xref_data.rb +76 -0
  2196. data/vendor/bundle/gems/rdoc-3.12/test/xref_test_case.rb +67 -0
  2197. data/vendor/bundle/gems/sprockets-2.2.2/LICENSE +21 -0
  2198. data/vendor/bundle/gems/sprockets-2.2.2/README.md +405 -0
  2199. data/vendor/bundle/gems/sprockets-2.2.2/bin/sprockets +80 -0
  2200. data/vendor/bundle/gems/sprockets-2.2.2/lib/rake/sprocketstask.rb +140 -0
  2201. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets.rb +64 -0
  2202. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/asset.rb +260 -0
  2203. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/asset_attributes.rb +126 -0
  2204. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/base.rb +307 -0
  2205. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb +79 -0
  2206. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/cache/file_store.rb +32 -0
  2207. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/caching.rb +96 -0
  2208. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/charset_normalizer.rb +41 -0
  2209. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/context.rb +235 -0
  2210. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/directive_processor.rb +406 -0
  2211. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/eco_template.rb +38 -0
  2212. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/ejs_template.rb +37 -0
  2213. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/engines.rb +74 -0
  2214. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/environment.rb +91 -0
  2215. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb +19 -0
  2216. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/index.rb +99 -0
  2217. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/jst_processor.rb +33 -0
  2218. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/manifest.rb +203 -0
  2219. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/mime.rb +48 -0
  2220. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb +152 -0
  2221. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processing.rb +280 -0
  2222. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processor.rb +32 -0
  2223. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/safety_colons.rb +28 -0
  2224. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/server.rb +247 -0
  2225. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/static_asset.rb +57 -0
  2226. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/trail.rb +90 -0
  2227. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/utils.rb +69 -0
  2228. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/version.rb +3 -0
  2229. data/vendor/bundle/gems/thor-0.16.0/CHANGELOG.rdoc +134 -0
  2230. data/vendor/bundle/gems/thor-0.16.0/Gemfile +15 -0
  2231. data/vendor/bundle/gems/thor-0.16.0/LICENSE.md +20 -0
  2232. data/vendor/bundle/gems/thor-0.16.0/README.md +28 -0
  2233. data/vendor/bundle/gems/thor-0.16.0/Thorfile +30 -0
  2234. data/vendor/bundle/gems/thor-0.16.0/bin/rake2thor +86 -0
  2235. data/vendor/bundle/gems/thor-0.16.0/bin/thor +6 -0
  2236. data/vendor/bundle/gems/thor-0.16.0/lib/thor.rb +379 -0
  2237. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions.rb +318 -0
  2238. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/create_file.rb +105 -0
  2239. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/create_link.rb +57 -0
  2240. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/directory.rb +98 -0
  2241. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/empty_directory.rb +153 -0
  2242. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/file_manipulation.rb +308 -0
  2243. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/inject_into_file.rb +109 -0
  2244. data/vendor/bundle/gems/thor-0.16.0/lib/thor/base.rb +641 -0
  2245. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/dir_escape.rb +0 -0
  2246. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/file_binary_read.rb +9 -0
  2247. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/hash_with_indifferent_access.rb +75 -0
  2248. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/ordered_hash.rb +100 -0
  2249. data/vendor/bundle/gems/thor-0.16.0/lib/thor/error.rb +35 -0
  2250. data/vendor/bundle/gems/thor-0.16.0/lib/thor/group.rb +285 -0
  2251. data/vendor/bundle/gems/thor-0.16.0/lib/thor/invocation.rb +170 -0
  2252. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser.rb +4 -0
  2253. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/argument.rb +74 -0
  2254. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/arguments.rb +171 -0
  2255. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/option.rb +121 -0
  2256. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/options.rb +178 -0
  2257. data/vendor/bundle/gems/thor-0.16.0/lib/thor/rake_compat.rb +71 -0
  2258. data/vendor/bundle/gems/thor-0.16.0/lib/thor/runner.rb +321 -0
  2259. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell.rb +88 -0
  2260. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/basic.rb +389 -0
  2261. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/color.rb +144 -0
  2262. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/html.rb +123 -0
  2263. data/vendor/bundle/gems/thor-0.16.0/lib/thor/task.rb +132 -0
  2264. data/vendor/bundle/gems/thor-0.16.0/lib/thor/util.rb +266 -0
  2265. data/vendor/bundle/gems/thor-0.16.0/lib/thor/version.rb +3 -0
  2266. data/vendor/bundle/gems/thor-0.16.0/spec/actions/create_file_spec.rb +170 -0
  2267. data/vendor/bundle/gems/thor-0.16.0/spec/actions/create_link_spec.rb +81 -0
  2268. data/vendor/bundle/gems/thor-0.16.0/spec/actions/directory_spec.rb +149 -0
  2269. data/vendor/bundle/gems/thor-0.16.0/spec/actions/empty_directory_spec.rb +130 -0
  2270. data/vendor/bundle/gems/thor-0.16.0/spec/actions/file_manipulation_spec.rb +370 -0
  2271. data/vendor/bundle/gems/thor-0.16.0/spec/actions/inject_into_file_spec.rb +135 -0
  2272. data/vendor/bundle/gems/thor-0.16.0/spec/actions_spec.rb +331 -0
  2273. data/vendor/bundle/gems/thor-0.16.0/spec/base_spec.rb +279 -0
  2274. data/vendor/bundle/gems/thor-0.16.0/spec/core_ext/hash_with_indifferent_access_spec.rb +43 -0
  2275. data/vendor/bundle/gems/thor-0.16.0/spec/core_ext/ordered_hash_spec.rb +115 -0
  2276. data/vendor/bundle/gems/thor-0.16.0/spec/exit_condition_spec.rb +19 -0
  2277. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/application.rb +2 -0
  2278. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/app{1}/README +3 -0
  2279. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/bundle/execute.rb +6 -0
  2280. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/bundle/main.thor +1 -0
  2281. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/%file_name%.rb.tt +1 -0
  2282. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/COMMENTER +10 -0
  2283. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/README +3 -0
  2284. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/block_helper.rb +3 -0
  2285. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/config.rb +1 -0
  2286. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/config.yaml.tt +1 -0
  2287. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/enum.thor +10 -0
  2288. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/group.thor +114 -0
  2289. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/invoke.thor +112 -0
  2290. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/path with spaces b/data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/path with → spaces +0 -0
  2291. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/script.thor +190 -0
  2292. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/task.thor +10 -0
  2293. data/vendor/bundle/gems/thor-0.16.0/spec/group_spec.rb +216 -0
  2294. data/vendor/bundle/gems/thor-0.16.0/spec/invocation_spec.rb +100 -0
  2295. data/vendor/bundle/gems/thor-0.16.0/spec/parser/argument_spec.rb +53 -0
  2296. data/vendor/bundle/gems/thor-0.16.0/spec/parser/arguments_spec.rb +66 -0
  2297. data/vendor/bundle/gems/thor-0.16.0/spec/parser/option_spec.rb +202 -0
  2298. data/vendor/bundle/gems/thor-0.16.0/spec/parser/options_spec.rb +330 -0
  2299. data/vendor/bundle/gems/thor-0.16.0/spec/rake_compat_spec.rb +72 -0
  2300. data/vendor/bundle/gems/thor-0.16.0/spec/register_spec.rb +135 -0
  2301. data/vendor/bundle/gems/thor-0.16.0/spec/runner_spec.rb +241 -0
  2302. data/vendor/bundle/gems/thor-0.16.0/spec/shell/basic_spec.rb +300 -0
  2303. data/vendor/bundle/gems/thor-0.16.0/spec/shell/color_spec.rb +81 -0
  2304. data/vendor/bundle/gems/thor-0.16.0/spec/shell/html_spec.rb +32 -0
  2305. data/vendor/bundle/gems/thor-0.16.0/spec/shell_spec.rb +47 -0
  2306. data/vendor/bundle/gems/thor-0.16.0/spec/spec_helper.rb +59 -0
  2307. data/vendor/bundle/gems/thor-0.16.0/spec/task_spec.rb +80 -0
  2308. data/vendor/bundle/gems/thor-0.16.0/spec/thor_spec.rb +418 -0
  2309. data/vendor/bundle/gems/thor-0.16.0/spec/util_spec.rb +196 -0
  2310. data/vendor/bundle/gems/thor-0.16.0/thor.gemspec +26 -0
  2311. data/vendor/bundle/gems/tilt-1.3.3/COPYING +18 -0
  2312. data/vendor/bundle/gems/tilt-1.3.3/Gemfile +2 -0
  2313. data/vendor/bundle/gems/tilt-1.3.3/README.md +208 -0
  2314. data/vendor/bundle/gems/tilt-1.3.3/Rakefile +80 -0
  2315. data/vendor/bundle/gems/tilt-1.3.3/TEMPLATES.md +516 -0
  2316. data/vendor/bundle/gems/tilt-1.3.3/bin/tilt +110 -0
  2317. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt.rb +190 -0
  2318. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/builder.rb +40 -0
  2319. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/coffee.rb +50 -0
  2320. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/css.rb +72 -0
  2321. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/erb.rb +110 -0
  2322. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/haml.rb +64 -0
  2323. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/liquid.rb +41 -0
  2324. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markaby.rb +52 -0
  2325. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markdown.rb +190 -0
  2326. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/nokogiri.rb +43 -0
  2327. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/radius.rb +51 -0
  2328. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/rdoc.rb +32 -0
  2329. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/string.rb +21 -0
  2330. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/template.rb +285 -0
  2331. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/textile.rb +25 -0
  2332. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/wiki.rb +50 -0
  2333. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/yajl.rb +94 -0
  2334. data/vendor/bundle/gems/tilt-1.3.3/test/contest.rb +68 -0
  2335. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/locals.mab +1 -0
  2336. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby.mab +1 -0
  2337. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby_other_static.mab +1 -0
  2338. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/render_twice.mab +1 -0
  2339. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/scope.mab +1 -0
  2340. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/yielding.mab +2 -0
  2341. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_blueclothtemplate_test.rb +45 -0
  2342. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_buildertemplate_test.rb +59 -0
  2343. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_cache_test.rb +32 -0
  2344. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_coffeescripttemplate_test.rb +61 -0
  2345. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_compilesite_test.rb +51 -0
  2346. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_creoletemplate_test.rb +28 -0
  2347. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erbtemplate_test.rb +234 -0
  2348. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erubistemplate_test.rb +151 -0
  2349. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_fallback_test.rb +122 -0
  2350. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_hamltemplate_test.rb +144 -0
  2351. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_kramdown_test.rb +42 -0
  2352. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_lesstemplate_test.rb +26 -0
  2353. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_liquidtemplate_test.rb +78 -0
  2354. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markaby_test.rb +88 -0
  2355. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markdown_test.rb +161 -0
  2356. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_marukutemplate_test.rb +48 -0
  2357. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_nokogiritemplate_test.rb +87 -0
  2358. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_radiustemplate_test.rb +75 -0
  2359. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdiscounttemplate_test.rb +55 -0
  2360. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdoctemplate_test.rb +24 -0
  2361. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redcarpettemplate_test.rb +59 -0
  2362. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redclothtemplate_test.rb +24 -0
  2363. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_sasstemplate_test.rb +41 -0
  2364. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_stringtemplate_test.rb +170 -0
  2365. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_template_test.rb +154 -0
  2366. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_test.rb +65 -0
  2367. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_wikiclothtemplate_test.rb +32 -0
  2368. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_yajltemplate_test.rb +92 -0
  2369. data/vendor/bundle/gems/tilt-1.3.3/tilt.gemspec +109 -0
  2370. data/vendor/bundle/specifications/actionpack-3.2.11.gemspec +57 -0
  2371. data/vendor/bundle/specifications/activemodel-3.2.11.gemspec +32 -0
  2372. data/vendor/bundle/specifications/activesupport-3.2.11.gemspec +33 -0
  2373. data/vendor/bundle/specifications/builder-3.0.4.gemspec +29 -0
  2374. data/vendor/bundle/specifications/erubis-2.7.0.gemspec +28 -0
  2375. data/vendor/bundle/specifications/hike-1.2.1.gemspec +25 -0
  2376. data/vendor/bundle/specifications/i18n-0.6.1.gemspec +38 -0
  2377. data/vendor/bundle/specifications/journey-1.0.4.gemspec +47 -0
  2378. data/vendor/bundle/specifications/json-1.7.6.gemspec +36 -0
  2379. data/vendor/bundle/specifications/multi_json-1.5.0.gemspec +41 -0
  2380. data/vendor/bundle/specifications/rack-1.4.4.gemspec +47 -0
  2381. data/vendor/bundle/specifications/rack-cache-1.2.gemspec +40 -0
  2382. data/vendor/bundle/specifications/rack-ssl-1.3.2.gemspec +29 -0
  2383. data/vendor/bundle/specifications/rack-test-0.6.2.gemspec +31 -0
  2384. data/vendor/bundle/specifications/railties-3.2.11.gemspec +47 -0
  2385. data/vendor/bundle/specifications/rake-10.0.3.gemspec +34 -0
  2386. data/vendor/bundle/specifications/rdoc-3.12.gemspec +51 -0
  2387. data/vendor/bundle/specifications/sprockets-2.2.2.gemspec +64 -0
  2388. data/vendor/bundle/specifications/thor-0.16.0.gemspec +50 -0
  2389. data/vendor/bundle/specifications/tilt-1.3.3.gemspec +97 -0
  2390. metadata +2472 -0
@@ -0,0 +1,1959 @@
1
+ h2. A Guide to Active Record Associations
2
+
3
+ This guide covers the association features of Active Record. By referring to this guide, you will be able to:
4
+
5
+ * Declare associations between Active Record models
6
+ * Understand the various types of Active Record associations
7
+ * Use the methods added to your models by creating associations
8
+
9
+ endprologue.
10
+
11
+ h3. Why Associations?
12
+
13
+ Why do we need associations between models? Because they make common operations simpler and easier in your code. For example, consider a simple Rails application that includes a model for customers and a model for orders. Each customer can have many orders. Without associations, the model declarations would look like this:
14
+
15
+ <ruby>
16
+ class Customer < ActiveRecord::Base
17
+ end
18
+
19
+ class Order < ActiveRecord::Base
20
+ end
21
+ </ruby>
22
+
23
+ Now, suppose we wanted to add a new order for an existing customer. We'd need to do something like this:
24
+
25
+ <ruby>
26
+ @order = Order.create(:order_date => Time.now,
27
+ :customer_id => @customer.id)
28
+ </ruby>
29
+
30
+ Or consider deleting a customer, and ensuring that all of its orders get deleted as well:
31
+
32
+ <ruby>
33
+ @orders = Order.where(:customer_id => @customer.id)
34
+ @orders.each do |order|
35
+ order.destroy
36
+ end
37
+ @customer.destroy
38
+ </ruby>
39
+
40
+ With Active Record associations, we can streamline these -- and other -- operations by declaratively telling Rails that there is a connection between the two models. Here's the revised code for setting up customers and orders:
41
+
42
+ <ruby>
43
+ class Customer < ActiveRecord::Base
44
+ has_many :orders, :dependent => :destroy
45
+ end
46
+
47
+ class Order < ActiveRecord::Base
48
+ belongs_to :customer
49
+ end
50
+ </ruby>
51
+
52
+ With this change, creating a new order for a particular customer is easier:
53
+
54
+ <ruby>
55
+ @order = @customer.orders.create(:order_date => Time.now)
56
+ </ruby>
57
+
58
+ Deleting a customer and all of its orders is _much_ easier:
59
+
60
+ <ruby>
61
+ @customer.destroy
62
+ </ruby>
63
+
64
+ To learn more about the different types of associations, read the next section of this guide. That's followed by some tips and tricks for working with associations, and then by a complete reference to the methods and options for associations in Rails.
65
+
66
+ h3. The Types of Associations
67
+
68
+ In Rails, an _association_ is a connection between two Active Record models. Associations are implemented using macro-style calls, so that you can declaratively add features to your models. For example, by declaring that one model +belongs_to+ another, you instruct Rails to maintain Primary Key–Foreign Key information between instances of the two models, and you also get a number of utility methods added to your model. Rails supports six types of associations:
69
+
70
+ * +belongs_to+
71
+ * +has_one+
72
+ * +has_many+
73
+ * +has_many :through+
74
+ * +has_one :through+
75
+ * +has_and_belongs_to_many+
76
+
77
+ In the remainder of this guide, you'll learn how to declare and use the various forms of associations. But first, a quick introduction to the situations where each association type is appropriate.
78
+
79
+ h4. The +belongs_to+ Association
80
+
81
+ A +belongs_to+ association sets up a one-to-one connection with another model, such that each instance of the declaring model "belongs to" one instance of the other model. For example, if your application includes customers and orders, and each order can be assigned to exactly one customer, you'd declare the order model this way:
82
+
83
+ <ruby>
84
+ class Order < ActiveRecord::Base
85
+ belongs_to :customer
86
+ end
87
+ </ruby>
88
+
89
+ !images/belongs_to.png(belongs_to Association Diagram)!
90
+
91
+ h4. The +has_one+ Association
92
+
93
+ A +has_one+ association also sets up a one-to-one connection with another model, but with somewhat different semantics (and consequences). This association indicates that each instance of a model contains or possesses one instance of another model. For example, if each supplier in your application has only one account, you'd declare the supplier model like this:
94
+
95
+ <ruby>
96
+ class Supplier < ActiveRecord::Base
97
+ has_one :account
98
+ end
99
+ </ruby>
100
+
101
+ !images/has_one.png(has_one Association Diagram)!
102
+
103
+ h4. The +has_many+ Association
104
+
105
+ A +has_many+ association indicates a one-to-many connection with another model. You'll often find this association on the "other side" of a +belongs_to+ association. This association indicates that each instance of the model has zero or more instances of another model. For example, in an application containing customers and orders, the customer model could be declared like this:
106
+
107
+ <ruby>
108
+ class Customer < ActiveRecord::Base
109
+ has_many :orders
110
+ end
111
+ </ruby>
112
+
113
+ NOTE: The name of the other model is pluralized when declaring a +has_many+ association.
114
+
115
+ !images/has_many.png(has_many Association Diagram)!
116
+
117
+ h4. The +has_many :through+ Association
118
+
119
+ A +has_many :through+ association is often used to set up a many-to-many connection with another model. This association indicates that the declaring model can be matched with zero or more instances of another model by proceeding _through_ a third model. For example, consider a medical practice where patients make appointments to see physicians. The relevant association declarations could look like this:
120
+
121
+ <ruby>
122
+ class Physician < ActiveRecord::Base
123
+ has_many :appointments
124
+ has_many :patients, :through => :appointments
125
+ end
126
+
127
+ class Appointment < ActiveRecord::Base
128
+ belongs_to :physician
129
+ belongs_to :patient
130
+ end
131
+
132
+ class Patient < ActiveRecord::Base
133
+ has_many :appointments
134
+ has_many :physicians, :through => :appointments
135
+ end
136
+ </ruby>
137
+
138
+ !images/has_many_through.png(has_many :through Association Diagram)!
139
+
140
+ The collection of join models can be managed via the API. For example, if you assign
141
+
142
+ <ruby>
143
+ physician.patients = patients
144
+ </ruby>
145
+
146
+ new join models are created for newly associated objects, and if some are gone their rows are deleted.
147
+
148
+ WARNING: Automatic deletion of join models is direct, no destroy callbacks are triggered.
149
+
150
+ The +has_many :through+ association is also useful for setting up "shortcuts" through nested +has_many+ associations. For example, if a document has many sections, and a section has many paragraphs, you may sometimes want to get a simple collection of all paragraphs in the document. You could set that up this way:
151
+
152
+ <ruby>
153
+ class Document < ActiveRecord::Base
154
+ has_many :sections
155
+ has_many :paragraphs, :through => :sections
156
+ end
157
+
158
+ class Section < ActiveRecord::Base
159
+ belongs_to :document
160
+ has_many :paragraphs
161
+ end
162
+
163
+ class Paragraph < ActiveRecord::Base
164
+ belongs_to :section
165
+ end
166
+ </ruby>
167
+
168
+ With +:through => :sections+ specified, Rails will now understand:
169
+
170
+ <ruby>
171
+ @document.paragraphs
172
+ </ruby>
173
+
174
+ h4. The +has_one :through+ Association
175
+
176
+ A +has_one :through+ association sets up a one-to-one connection with another model. This association indicates that the declaring model can be matched with one instance of another model by proceeding _through_ a third model. For example, if each supplier has one account, and each account is associated with one account history, then the customer model could look like this:
177
+
178
+ <ruby>
179
+ class Supplier < ActiveRecord::Base
180
+ has_one :account
181
+ has_one :account_history, :through => :account
182
+ end
183
+
184
+ class Account < ActiveRecord::Base
185
+ belongs_to :supplier
186
+ has_one :account_history
187
+ end
188
+
189
+ class AccountHistory < ActiveRecord::Base
190
+ belongs_to :account
191
+ end
192
+ </ruby>
193
+
194
+ !images/has_one_through.png(has_one :through Association Diagram)!
195
+
196
+ h4. The +has_and_belongs_to_many+ Association
197
+
198
+ A +has_and_belongs_to_many+ association creates a direct many-to-many connection with another model, with no intervening model. For example, if your application includes assemblies and parts, with each assembly having many parts and each part appearing in many assemblies, you could declare the models this way:
199
+
200
+ <ruby>
201
+ class Assembly < ActiveRecord::Base
202
+ has_and_belongs_to_many :parts
203
+ end
204
+
205
+ class Part < ActiveRecord::Base
206
+ has_and_belongs_to_many :assemblies
207
+ end
208
+ </ruby>
209
+
210
+ !images/habtm.png(has_and_belongs_to_many Association Diagram)!
211
+
212
+ h4. Choosing Between +belongs_to+ and +has_one+
213
+
214
+ If you want to set up a one-to-one relationship between two models, you'll need to add +belongs_to+ to one, and +has_one+ to the other. How do you know which is which?
215
+
216
+ The distinction is in where you place the foreign key (it goes on the table for the class declaring the +belongs_to+ association), but you should give some thought to the actual meaning of the data as well. The +has_one+ relationship says that one of something is yours - that is, that something points back to you. For example, it makes more sense to say that a supplier owns an account than that an account owns a supplier. This suggests that the correct relationships are like this:
217
+
218
+ <ruby>
219
+ class Supplier < ActiveRecord::Base
220
+ has_one :account
221
+ end
222
+
223
+ class Account < ActiveRecord::Base
224
+ belongs_to :supplier
225
+ end
226
+ </ruby>
227
+
228
+ The corresponding migration might look like this:
229
+
230
+ <ruby>
231
+ class CreateSuppliers < ActiveRecord::Migration
232
+ def change
233
+ create_table :suppliers do |t|
234
+ t.string :name
235
+ t.timestamps
236
+ end
237
+
238
+ create_table :accounts do |t|
239
+ t.integer :supplier_id
240
+ t.string :account_number
241
+ t.timestamps
242
+ end
243
+ end
244
+ end
245
+ </ruby>
246
+
247
+ NOTE: Using +t.integer :supplier_id+ makes the foreign key naming obvious and explicit. In current versions of Rails, you can abstract away this implementation detail by using +t.references :supplier+ instead.
248
+
249
+ h4. Choosing Between +has_many :through+ and +has_and_belongs_to_many+
250
+
251
+ Rails offers two different ways to declare a many-to-many relationship between models. The simpler way is to use +has_and_belongs_to_many+, which allows you to make the association directly:
252
+
253
+ <ruby>
254
+ class Assembly < ActiveRecord::Base
255
+ has_and_belongs_to_many :parts
256
+ end
257
+
258
+ class Part < ActiveRecord::Base
259
+ has_and_belongs_to_many :assemblies
260
+ end
261
+ </ruby>
262
+
263
+ The second way to declare a many-to-many relationship is to use +has_many :through+. This makes the association indirectly, through a join model:
264
+
265
+ <ruby>
266
+ class Assembly < ActiveRecord::Base
267
+ has_many :manifests
268
+ has_many :parts, :through => :manifests
269
+ end
270
+
271
+ class Manifest < ActiveRecord::Base
272
+ belongs_to :assembly
273
+ belongs_to :part
274
+ end
275
+
276
+ class Part < ActiveRecord::Base
277
+ has_many :manifests
278
+ has_many :assemblies, :through => :manifests
279
+ end
280
+ </ruby>
281
+
282
+ The simplest rule of thumb is that you should set up a +has_many :through+ relationship if you need to work with the relationship model as an independent entity. If you don't need to do anything with the relationship model, it may be simpler to set up a +has_and_belongs_to_many+ relationship (though you'll need to remember to create the joining table in the database).
283
+
284
+ You should use +has_many :through+ if you need validations, callbacks, or extra attributes on the join model.
285
+
286
+ h4. Polymorphic Associations
287
+
288
+ A slightly more advanced twist on associations is the _polymorphic association_. With polymorphic associations, a model can belong to more than one other model, on a single association. For example, you might have a picture model that belongs to either an employee model or a product model. Here's how this could be declared:
289
+
290
+ <ruby>
291
+ class Picture < ActiveRecord::Base
292
+ belongs_to :imageable, :polymorphic => true
293
+ end
294
+
295
+ class Employee < ActiveRecord::Base
296
+ has_many :pictures, :as => :imageable
297
+ end
298
+
299
+ class Product < ActiveRecord::Base
300
+ has_many :pictures, :as => :imageable
301
+ end
302
+ </ruby>
303
+
304
+ You can think of a polymorphic +belongs_to+ declaration as setting up an interface that any other model can use. From an instance of the +Employee+ model, you can retrieve a collection of pictures: +@employee.pictures+.
305
+
306
+ Similarly, you can retrieve +@product.pictures+.
307
+
308
+ If you have an instance of the +Picture+ model, you can get to its parent via +@picture.imageable+. To make this work, you need to declare both a foreign key column and a type column in the model that declares the polymorphic interface:
309
+
310
+ <ruby>
311
+ class CreatePictures < ActiveRecord::Migration
312
+ def change
313
+ create_table :pictures do |t|
314
+ t.string :name
315
+ t.integer :imageable_id
316
+ t.string :imageable_type
317
+ t.timestamps
318
+ end
319
+ end
320
+ end
321
+ </ruby>
322
+
323
+ This migration can be simplified by using the +t.references+ form:
324
+
325
+ <ruby>
326
+ class CreatePictures < ActiveRecord::Migration
327
+ def change
328
+ create_table :pictures do |t|
329
+ t.string :name
330
+ t.references :imageable, :polymorphic => true
331
+ t.timestamps
332
+ end
333
+ end
334
+ end
335
+ </ruby>
336
+
337
+ !images/polymorphic.png(Polymorphic Association Diagram)!
338
+
339
+ h4. Self Joins
340
+
341
+ In designing a data model, you will sometimes find a model that should have a relation to itself. For example, you may want to store all employees in a single database model, but be able to trace relationships such as between manager and subordinates. This situation can be modeled with self-joining associations:
342
+
343
+ <ruby>
344
+ class Employee < ActiveRecord::Base
345
+ has_many :subordinates, :class_name => "Employee",
346
+ :foreign_key => "manager_id"
347
+ belongs_to :manager, :class_name => "Employee"
348
+ end
349
+ </ruby>
350
+
351
+ With this setup, you can retrieve +@employee.subordinates+ and +@employee.manager+.
352
+
353
+ h3. Tips, Tricks, and Warnings
354
+
355
+ Here are a few things you should know to make efficient use of Active Record associations in your Rails applications:
356
+
357
+ * Controlling caching
358
+ * Avoiding name collisions
359
+ * Updating the schema
360
+ * Controlling association scope
361
+ * Bi-directional associations
362
+
363
+ h4. Controlling Caching
364
+
365
+ All of the association methods are built around caching, which keeps the result of the most recent query available for further operations. The cache is even shared across methods. For example:
366
+
367
+ <ruby>
368
+ customer.orders # retrieves orders from the database
369
+ customer.orders.size # uses the cached copy of orders
370
+ customer.orders.empty? # uses the cached copy of orders
371
+ </ruby>
372
+
373
+ But what if you want to reload the cache, because data might have been changed by some other part of the application? Just pass +true+ to the association call:
374
+
375
+ <ruby>
376
+ customer.orders # retrieves orders from the database
377
+ customer.orders.size # uses the cached copy of orders
378
+ customer.orders(true).empty? # discards the cached copy of orders
379
+ # and goes back to the database
380
+ </ruby>
381
+
382
+ h4. Avoiding Name Collisions
383
+
384
+ You are not free to use just any name for your associations. Because creating an association adds a method with that name to the model, it is a bad idea to give an association a name that is already used for an instance method of +ActiveRecord::Base+. The association method would override the base method and break things. For instance, +attributes+ or +connection+ are bad names for associations.
385
+
386
+ h4. Updating the Schema
387
+
388
+ Associations are extremely useful, but they are not magic. You are responsible for maintaining your database schema to match your associations. In practice, this means two things, depending on what sort of associations you are creating. For +belongs_to+ associations you need to create foreign keys, and for +has_and_belongs_to_many+ associations you need to create the appropriate join table.
389
+
390
+ h5. Creating Foreign Keys for +belongs_to+ Associations
391
+
392
+ When you declare a +belongs_to+ association, you need to create foreign keys as appropriate. For example, consider this model:
393
+
394
+ <ruby>
395
+ class Order < ActiveRecord::Base
396
+ belongs_to :customer
397
+ end
398
+ </ruby>
399
+
400
+ This declaration needs to be backed up by the proper foreign key declaration on the orders table:
401
+
402
+ <ruby>
403
+ class CreateOrders < ActiveRecord::Migration
404
+ def change
405
+ create_table :orders do |t|
406
+ t.datetime :order_date
407
+ t.string :order_number
408
+ t.integer :customer_id
409
+ end
410
+ end
411
+ end
412
+ </ruby>
413
+
414
+ If you create an association some time after you build the underlying model, you need to remember to create an +add_column+ migration to provide the necessary foreign key.
415
+
416
+ h5. Creating Join Tables for +has_and_belongs_to_many+ Associations
417
+
418
+ If you create a +has_and_belongs_to_many+ association, you need to explicitly create the joining table. Unless the name of the join table is explicitly specified by using the +:join_table+ option, Active Record creates the name by using the lexical order of the class names. So a join between customer and order models will give the default join table name of "customers_orders" because "c" outranks "o" in lexical ordering.
419
+
420
+ WARNING: The precedence between model names is calculated using the +&lt;+ operator for +String+. This means that if the strings are of different lengths, and the strings are equal when compared up to the shortest length, then the longer string is considered of higher lexical precedence than the shorter one. For example, one would expect the tables "paper_boxes" and "papers" to generate a join table name of "papers_paper_boxes" because of the length of the name "paper_boxes", but it in fact generates a join table name of "paper_boxes_papers" (because the underscore '_' is lexicographically _less_ than 's' in common encodings).
421
+
422
+ Whatever the name, you must manually generate the join table with an appropriate migration. For example, consider these associations:
423
+
424
+ <ruby>
425
+ class Assembly < ActiveRecord::Base
426
+ has_and_belongs_to_many :parts
427
+ end
428
+
429
+ class Part < ActiveRecord::Base
430
+ has_and_belongs_to_many :assemblies
431
+ end
432
+ </ruby>
433
+
434
+ These need to be backed up by a migration to create the +assemblies_parts+ table. This table should be created without a primary key:
435
+
436
+ <ruby>
437
+ class CreateAssemblyPartJoinTable < ActiveRecord::Migration
438
+ def change
439
+ create_table :assemblies_parts, :id => false do |t|
440
+ t.integer :assembly_id
441
+ t.integer :part_id
442
+ end
443
+ end
444
+ end
445
+ </ruby>
446
+
447
+ We pass +:id => false+ to +create_table+ because that table does not represent a model. That's required for the association to work properly. If you observe any strange behavior in a +has_and_belongs_to_many+ association like mangled models IDs, or exceptions about conflicting IDs chances are you forgot that bit.
448
+
449
+ h4. Controlling Association Scope
450
+
451
+ By default, associations look for objects only within the current module's scope. This can be important when you declare Active Record models within a module. For example:
452
+
453
+ <ruby>
454
+ module MyApplication
455
+ module Business
456
+ class Supplier < ActiveRecord::Base
457
+ has_one :account
458
+ end
459
+
460
+ class Account < ActiveRecord::Base
461
+ belongs_to :supplier
462
+ end
463
+ end
464
+ end
465
+ </ruby>
466
+
467
+ This will work fine, because both the +Supplier+ and the +Account+ class are defined within the same scope. But the following will _not_ work, because +Supplier+ and +Account+ are defined in different scopes:
468
+
469
+ <ruby>
470
+ module MyApplication
471
+ module Business
472
+ class Supplier < ActiveRecord::Base
473
+ has_one :account
474
+ end
475
+ end
476
+
477
+ module Billing
478
+ class Account < ActiveRecord::Base
479
+ belongs_to :supplier
480
+ end
481
+ end
482
+ end
483
+ </ruby>
484
+
485
+ To associate a model with a model in a different namespace, you must specify the complete class name in your association declaration:
486
+
487
+ <ruby>
488
+ module MyApplication
489
+ module Business
490
+ class Supplier < ActiveRecord::Base
491
+ has_one :account,
492
+ :class_name => "MyApplication::Billing::Account"
493
+ end
494
+ end
495
+
496
+ module Billing
497
+ class Account < ActiveRecord::Base
498
+ belongs_to :supplier,
499
+ :class_name => "MyApplication::Business::Supplier"
500
+ end
501
+ end
502
+ end
503
+ </ruby>
504
+
505
+ h4. Bi-directional Associations
506
+
507
+ It's normal for associations to work in two directions, requiring declaration on two different models:
508
+
509
+ <ruby>
510
+ class Customer < ActiveRecord::Base
511
+ has_many :orders
512
+ end
513
+
514
+ class Order < ActiveRecord::Base
515
+ belongs_to :customer
516
+ end
517
+ </ruby>
518
+
519
+ By default, Active Record doesn't know about the connection between these associations. This can lead to two copies of an object getting out of sync:
520
+
521
+ <ruby>
522
+ c = Customer.first
523
+ o = c.orders.first
524
+ c.first_name == o.customer.first_name # => true
525
+ c.first_name = 'Manny'
526
+ c.first_name == o.customer.first_name # => false
527
+ </ruby>
528
+
529
+ This happens because c and o.customer are two different in-memory representations of the same data, and neither one is automatically refreshed from changes to the other. Active Record provides the +:inverse_of+ option so that you can inform it of these relations:
530
+
531
+ <ruby>
532
+ class Customer < ActiveRecord::Base
533
+ has_many :orders, :inverse_of => :customer
534
+ end
535
+
536
+ class Order < ActiveRecord::Base
537
+ belongs_to :customer, :inverse_of => :orders
538
+ end
539
+ </ruby>
540
+
541
+ With these changes, Active Record will only load one copy of the customer object, preventing inconsistencies and making your application more efficient:
542
+
543
+ <ruby>
544
+ c = Customer.first
545
+ o = c.orders.first
546
+ c.first_name == o.customer.first_name # => true
547
+ c.first_name = 'Manny'
548
+ c.first_name == o.customer.first_name # => true
549
+ </ruby>
550
+
551
+ There are a few limitations to +inverse_of+ support:
552
+
553
+ * They do not work with <tt>:through</tt> associations.
554
+ * They do not work with <tt>:polymorphic</tt> associations.
555
+ * They do not work with <tt>:as</tt> associations.
556
+ * For +belongs_to+ associations, +has_many+ inverse associations are ignored.
557
+
558
+ h3. Detailed Association Reference
559
+
560
+ The following sections give the details of each type of association, including the methods that they add and the options that you can use when declaring an association.
561
+
562
+ h4. +belongs_to+ Association Reference
563
+
564
+ The +belongs_to+ association creates a one-to-one match with another model. In database terms, this association says that this class contains the foreign key. If the other class contains the foreign key, then you should use +has_one+ instead.
565
+
566
+ h5. Methods Added by +belongs_to+
567
+
568
+ When you declare a +belongs_to+ association, the declaring class automatically gains four methods related to the association:
569
+
570
+ * <tt><em>association</em>(force_reload = false)</tt>
571
+ * <tt><em>association</em>=(associate)</tt>
572
+ * <tt>build_<em>association</em>(attributes = {})</tt>
573
+ * <tt>create_<em>association</em>(attributes = {})</tt>
574
+
575
+ In all of these methods, <tt><em>association</em></tt> is replaced with the symbol passed as the first argument to +belongs_to+. For example, given the declaration:
576
+
577
+ <ruby>
578
+ class Order < ActiveRecord::Base
579
+ belongs_to :customer
580
+ end
581
+ </ruby>
582
+
583
+ Each instance of the order model will have these methods:
584
+
585
+ <ruby>
586
+ customer
587
+ customer=
588
+ build_customer
589
+ create_customer
590
+ </ruby>
591
+
592
+ NOTE: When initializing a new +has_one+ or +belongs_to+ association you must use the +build_+ prefix to build the association, rather than the +association.build+ method that would be used for +has_many+ or +has_and_belongs_to_many+ associations. To create one, use the +create_+ prefix.
593
+
594
+ h6(#belongs_to-association). <tt><em>association</em>(force_reload = false)</tt>
595
+
596
+ The <tt><em>association</em></tt> method returns the associated object, if any. If no associated object is found, it returns +nil+.
597
+
598
+ <ruby>
599
+ @customer = @order.customer
600
+ </ruby>
601
+
602
+ If the associated object has already been retrieved from the database for this object, the cached version will be returned. To override this behavior (and force a database read), pass +true+ as the +force_reload+ argument.
603
+
604
+ h6(#belongs_to-association_equal). <tt>_association_=(associate)</tt>
605
+
606
+ The <tt><em>association</em>=</tt> method assigns an associated object to this object. Behind the scenes, this means extracting the primary key from the associate object and setting this object's foreign key to the same value.
607
+
608
+ <ruby>
609
+ @order.customer = @customer
610
+ </ruby>
611
+
612
+ h6(#belongs_to-build_association). <tt>build_<em>association</em>(attributes = {})</tt>
613
+
614
+ The <tt>build_<em>association</em></tt> method returns a new object of the associated type. This object will be instantiated from the passed attributes, and the link through this object's foreign key will be set, but the associated object will _not_ yet be saved.
615
+
616
+ <ruby>
617
+ @customer = @order.build_customer(:customer_number => 123,
618
+ :customer_name => "John Doe")
619
+ </ruby>
620
+
621
+ h6(#belongs_to-create_association). <tt>create_<em>association</em>(attributes = {})</tt>
622
+
623
+ The <tt>create_<em>association</em></tt> method returns a new object of the associated type. This object will be instantiated from the passed attributes, the link through this object's foreign key will be set, and, once it passes all of the validations specified on the associated model, the associated object _will_ be saved.
624
+
625
+ <ruby>
626
+ @customer = @order.create_customer(:customer_number => 123,
627
+ :customer_name => "John Doe")
628
+ </ruby>
629
+
630
+
631
+ h5. Options for +belongs_to+
632
+
633
+ While Rails uses intelligent defaults that will work well in most situations, there may be times when you want to customize the behavior of the +belongs_to+ association reference. Such customizations can easily be accomplished by passing options when you create the association. For example, this assocation uses two such options:
634
+
635
+ <ruby>
636
+ class Order < ActiveRecord::Base
637
+ belongs_to :customer, :counter_cache => true,
638
+ :conditions => "active = 1"
639
+ end
640
+ </ruby>
641
+
642
+ The +belongs_to+ association supports these options:
643
+
644
+ * +:autosave+
645
+ * +:class_name+
646
+ * +:conditions+
647
+ * +:counter_cache+
648
+ * +:dependent+
649
+ * +:foreign_key+
650
+ * +:include+
651
+ * +:inverse_of+
652
+ * +:polymorphic+
653
+ * +:readonly+
654
+ * +:select+
655
+ * +:touch+
656
+ * +:validate+
657
+
658
+ h6(#belongs_to-autosave). +:autosave+
659
+
660
+ If you set the +:autosave+ option to +true+, Rails will save any loaded members and destroy members that are marked for destruction whenever you save the parent object.
661
+
662
+ h6(#belongs_to-class_name). +:class_name+
663
+
664
+ If the name of the other model cannot be derived from the association name, you can use the +:class_name+ option to supply the model name. For example, if an order belongs to a customer, but the actual name of the model containing customers is +Patron+, you'd set things up this way:
665
+
666
+ <ruby>
667
+ class Order < ActiveRecord::Base
668
+ belongs_to :customer, :class_name => "Patron"
669
+ end
670
+ </ruby>
671
+
672
+ h6(#belongs_to-conditions). +:conditions+
673
+
674
+ The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by an SQL +WHERE+ clause).
675
+
676
+ <ruby>
677
+ class Order < ActiveRecord::Base
678
+ belongs_to :customer, :conditions => "active = 1"
679
+ end
680
+ </ruby>
681
+
682
+ h6(#belongs_to-counter_cache). +:counter_cache+
683
+
684
+ The +:counter_cache+ option can be used to make finding the number of belonging objects more efficient. Consider these models:
685
+
686
+ <ruby>
687
+ class Order < ActiveRecord::Base
688
+ belongs_to :customer
689
+ end
690
+ class Customer < ActiveRecord::Base
691
+ has_many :orders
692
+ end
693
+ </ruby>
694
+
695
+ With these declarations, asking for the value of +@customer.orders.size+ requires making a call to the database to perform a +COUNT(*)+ query. To avoid this call, you can add a counter cache to the _belonging_ model:
696
+
697
+ <ruby>
698
+ class Order < ActiveRecord::Base
699
+ belongs_to :customer, :counter_cache => true
700
+ end
701
+ class Customer < ActiveRecord::Base
702
+ has_many :orders
703
+ end
704
+ </ruby>
705
+
706
+ With this declaration, Rails will keep the cache value up to date, and then return that value in response to the +size+ method.
707
+
708
+ Although the +:counter_cache+ option is specified on the model that includes the +belongs_to+ declaration, the actual column must be added to the _associated_ model. In the case above, you would need to add a column named +orders_count+ to the +Customer+ model. You can override the default column name if you need to:
709
+
710
+ <ruby>
711
+ class Order < ActiveRecord::Base
712
+ belongs_to :customer, :counter_cache => :count_of_orders
713
+ end
714
+ class Customer < ActiveRecord::Base
715
+ has_many :orders
716
+ end
717
+ </ruby>
718
+
719
+ Counter cache columns are added to the containing model's list of read-only attributes through +attr_readonly+.
720
+
721
+ h6(#belongs_to-dependent). +:dependent+
722
+
723
+ If you set the +:dependent+ option to +:destroy+, then deleting this object will call the +destroy+ method on the associated object to delete that object. If you set the +:dependent+ option to +:delete+, then deleting this object will delete the associated object _without_ calling its +destroy+ method.
724
+
725
+ WARNING: You should not specify this option on a +belongs_to+ association that is connected with a +has_many+ association on the other class. Doing so can lead to orphaned records in your database.
726
+
727
+ h6(#belongs_to-foreign_key). +:foreign_key+
728
+
729
+ By convention, Rails assumes that the column used to hold the foreign key on this model is the name of the association with the suffix +_id+ added. The +:foreign_key+ option lets you set the name of the foreign key directly:
730
+
731
+ <ruby>
732
+ class Order < ActiveRecord::Base
733
+ belongs_to :customer, :class_name => "Patron",
734
+ :foreign_key => "patron_id"
735
+ end
736
+ </ruby>
737
+
738
+ TIP: In any case, Rails will not create foreign key columns for you. You need to explicitly define them as part of your migrations.
739
+
740
+ h6(#belongs_to-includes). +:include+
741
+
742
+ You can use the +:include+ option to specify second-order associations that should be eager-loaded when this association is used. For example, consider these models:
743
+
744
+ <ruby>
745
+ class LineItem < ActiveRecord::Base
746
+ belongs_to :order
747
+ end
748
+
749
+ class Order < ActiveRecord::Base
750
+ belongs_to :customer
751
+ has_many :line_items
752
+ end
753
+
754
+ class Customer < ActiveRecord::Base
755
+ has_many :orders
756
+ end
757
+ </ruby>
758
+
759
+ If you frequently retrieve customers directly from line items (+@line_item.order.customer+), then you can make your code somewhat more efficient by including customers in the association from line items to orders:
760
+
761
+ <ruby>
762
+ class LineItem < ActiveRecord::Base
763
+ belongs_to :order, :include => :customer
764
+ end
765
+
766
+ class Order < ActiveRecord::Base
767
+ belongs_to :customer
768
+ has_many :line_items
769
+ end
770
+
771
+ class Customer < ActiveRecord::Base
772
+ has_many :orders
773
+ end
774
+ </ruby>
775
+
776
+ NOTE: There's no need to use +:include+ for immediate associations - that is, if you have +Order belongs_to :customer+, then the customer is eager-loaded automatically when it's needed.
777
+
778
+ h6(#belongs_to-inverse_of). +:inverse_of+
779
+
780
+ The +:inverse_of+ option specifies the name of the +has_many+ or +has_one+ association that is the inverse of this association. Does not work in combination with the +:polymorphic+ options.
781
+
782
+ <ruby>
783
+ class Customer < ActiveRecord::Base
784
+ has_many :orders, :inverse_of => :customer
785
+ end
786
+
787
+ class Order < ActiveRecord::Base
788
+ belongs_to :customer, :inverse_of => :orders
789
+ end
790
+ </ruby>
791
+
792
+ h6(#belongs_to-polymorphic). +:polymorphic+
793
+
794
+ Passing +true+ to the +:polymorphic+ option indicates that this is a polymorphic association. Polymorphic associations were discussed in detail <a href="#polymorphic-associations">earlier in this guide</a>.
795
+
796
+ h6(#belongs_to-readonly). +:readonly+
797
+
798
+ If you set the +:readonly+ option to +true+, then the associated object will be read-only when retrieved via the association.
799
+
800
+ h6(#belongs_to-select). +:select+
801
+
802
+ The +:select+ option lets you override the SQL +SELECT+ clause that is used to retrieve data about the associated object. By default, Rails retrieves all columns.
803
+
804
+ TIP: If you set the +:select+ option on a +belongs_to+ association, you should also set the +foreign_key+ option to guarantee the correct results.
805
+
806
+ h6(#belongs_to-touch). +:touch+
807
+
808
+ If you set the +:touch+ option to +:true+, then the +updated_at+ or +updated_on+ timestamp on the associated object will be set to the current time whenever this object is saved or destroyed:
809
+
810
+ <ruby>
811
+ class Order < ActiveRecord::Base
812
+ belongs_to :customer, :touch => true
813
+ end
814
+
815
+ class Customer < ActiveRecord::Base
816
+ has_many :orders
817
+ end
818
+ </ruby>
819
+
820
+ In this case, saving or destroying an order will update the timestamp on the associated customer. You can also specify a particular timestamp attribute to update:
821
+
822
+ <ruby>
823
+ class Order < ActiveRecord::Base
824
+ belongs_to :customer, :touch => :orders_updated_at
825
+ end
826
+ </ruby>
827
+
828
+ h6(#belongs_to-validate). +:validate+
829
+
830
+ If you set the +:validate+ option to +true+, then associated objects will be validated whenever you save this object. By default, this is +false+: associated objects will not be validated when this object is saved.
831
+
832
+ h5(#belongs_to-do_any_associated_objects_exist). Do Any Associated Objects Exist?
833
+
834
+ You can see if any associated objects exist by using the <tt><em>association</em>.nil?</tt> method:
835
+
836
+ <ruby>
837
+ if @order.customer.nil?
838
+ @msg = "No customer found for this order"
839
+ end
840
+ </ruby>
841
+
842
+ h5(#belongs_to-when_are_objects_saved). When are Objects Saved?
843
+
844
+ Assigning an object to a +belongs_to+ association does _not_ automatically save the object. It does not save the associated object either.
845
+
846
+ h4. +has_one+ Association Reference
847
+
848
+ The +has_one+ association creates a one-to-one match with another model. In database terms, this association says that the other class contains the foreign key. If this class contains the foreign key, then you should use +belongs_to+ instead.
849
+
850
+ h5. Methods Added by +has_one+
851
+
852
+ When you declare a +has_one+ association, the declaring class automatically gains four methods related to the association:
853
+
854
+ * <tt><em>association</em>(force_reload = false)</tt>
855
+ * <tt><em>association</em>=(associate)</tt>
856
+ * <tt>build_<em>association</em>(attributes = {})</tt>
857
+ * <tt>create_<em>association</em>(attributes = {})</tt>
858
+
859
+ In all of these methods, <tt><em>association</em></tt> is replaced with the symbol passed as the first argument to +has_one+. For example, given the declaration:
860
+
861
+ <ruby>
862
+ class Supplier < ActiveRecord::Base
863
+ has_one :account
864
+ end
865
+ </ruby>
866
+
867
+ Each instance of the +Supplier+ model will have these methods:
868
+
869
+ <ruby>
870
+ account
871
+ account=
872
+ build_account
873
+ create_account
874
+ </ruby>
875
+
876
+ NOTE: When initializing a new +has_one+ or +belongs_to+ association you must use the +build_+ prefix to build the association, rather than the +association.build+ method that would be used for +has_many+ or +has_and_belongs_to_many+ associations. To create one, use the +create_+ prefix.
877
+
878
+ h6(#has_one-association). <tt><em>association</em>(force_reload = false)</tt>
879
+
880
+ The <tt><em>association</em></tt> method returns the associated object, if any. If no associated object is found, it returns +nil+.
881
+
882
+ <ruby>
883
+ @account = @supplier.account
884
+ </ruby>
885
+
886
+ If the associated object has already been retrieved from the database for this object, the cached version will be returned. To override this behavior (and force a database read), pass +true+ as the +force_reload+ argument.
887
+
888
+ h6(#has_one-association_equal). <tt><em>association</em>=(associate)</tt>
889
+
890
+ The <tt><em>association</em>=</tt> method assigns an associated object to this object. Behind the scenes, this means extracting the primary key from this object and setting the associate object's foreign key to the same value.
891
+
892
+ <ruby>
893
+ @supplier.account = @account
894
+ </ruby>
895
+
896
+ h6(#has_one-build_association). <tt>build_<em>association</em>(attributes = {})</tt>
897
+
898
+ The <tt>build_<em>association</em></tt> method returns a new object of the associated type. This object will be instantiated from the passed attributes, and the link through its foreign key will be set, but the associated object will _not_ yet be saved.
899
+
900
+ <ruby>
901
+ @account = @supplier.build_account(:terms => "Net 30")
902
+ </ruby>
903
+
904
+ h6(#has_one-create_association). <tt>create_<em>association</em>(attributes = {})</tt>
905
+
906
+ The <tt>create_<em>association</em></tt> method returns a new object of the associated type. This object will be instantiated from the passed attributes, the link through its foreign key will be set, and, once it passes all of the validations specified on the associated model, the associated object _will_ be saved.
907
+
908
+ <ruby>
909
+ @account = @supplier.create_account(:terms => "Net 30")
910
+ </ruby>
911
+
912
+ h5. Options for +has_one+
913
+
914
+ While Rails uses intelligent defaults that will work well in most situations, there may be times when you want to customize the behavior of the +has_one+ association reference. Such customizations can easily be accomplished by passing options when you create the association. For example, this assocation uses two such options:
915
+
916
+ <ruby>
917
+ class Supplier < ActiveRecord::Base
918
+ has_one :account, :class_name => "Billing", :dependent => :nullify
919
+ end
920
+ </ruby>
921
+
922
+ The +has_one+ association supports these options:
923
+
924
+ * +:as+
925
+ * +:autosave+
926
+ * +:class_name+
927
+ * +:conditions+
928
+ * +:dependent+
929
+ * +:foreign_key+
930
+ * +:include+
931
+ * +:inverse_of+
932
+ * +:order+
933
+ * +:primary_key+
934
+ * +:readonly+
935
+ * +:select+
936
+ * +:source+
937
+ * +:source_type+
938
+ * +:through+
939
+ * +:validate+
940
+
941
+ h6(#has_one-as). +:as+
942
+
943
+ Setting the +:as+ option indicates that this is a polymorphic association. Polymorphic associations were discussed in detail <a href="#polymorphic-associations">earlier in this guide</a>.
944
+
945
+ h6(#has_one-autosave). +:autosave+
946
+
947
+ If you set the +:autosave+ option to +true+, Rails will save any loaded members and destroy members that are marked for destruction whenever you save the parent object.
948
+
949
+ h6(#has_one-class_name). +:class_name+
950
+
951
+ If the name of the other model cannot be derived from the association name, you can use the +:class_name+ option to supply the model name. For example, if a supplier has an account, but the actual name of the model containing accounts is +Billing+, you'd set things up this way:
952
+
953
+ <ruby>
954
+ class Supplier < ActiveRecord::Base
955
+ has_one :account, :class_name => "Billing"
956
+ end
957
+ </ruby>
958
+
959
+ h6(#has_one-conditions). +:conditions+
960
+
961
+ The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by an SQL +WHERE+ clause).
962
+
963
+ <ruby>
964
+ class Supplier < ActiveRecord::Base
965
+ has_one :account, :conditions => "confirmed = 1"
966
+ end
967
+ </ruby>
968
+
969
+ h6(#has_one-dependent). +:dependent+
970
+
971
+ If you set the +:dependent+ option to +:destroy+, then deleting this object will call the +destroy+ method on the associated object to delete that object. If you set the +:dependent+ option to +:delete+, then deleting this object will delete the associated object _without_ calling its +destroy+ method. If you set the +:dependent+ option to +:nullify+, then deleting this object will set the foreign key in the association object to +NULL+.
972
+
973
+ h6(#has_one-foreign_key). +:foreign_key+
974
+
975
+ By convention, Rails assumes that the column used to hold the foreign key on the other model is the name of this model with the suffix +_id+ added. The +:foreign_key+ option lets you set the name of the foreign key directly:
976
+
977
+ <ruby>
978
+ class Supplier < ActiveRecord::Base
979
+ has_one :account, :foreign_key => "supp_id"
980
+ end
981
+ </ruby>
982
+
983
+ TIP: In any case, Rails will not create foreign key columns for you. You need to explicitly define them as part of your migrations.
984
+
985
+ h6(#has_one-include). +:include+
986
+
987
+ You can use the +:include+ option to specify second-order associations that should be eager-loaded when this association is used. For example, consider these models:
988
+
989
+ <ruby>
990
+ class Supplier < ActiveRecord::Base
991
+ has_one :account
992
+ end
993
+
994
+ class Account < ActiveRecord::Base
995
+ belongs_to :supplier
996
+ belongs_to :representative
997
+ end
998
+
999
+ class Representative < ActiveRecord::Base
1000
+ has_many :accounts
1001
+ end
1002
+ </ruby>
1003
+
1004
+ If you frequently retrieve representatives directly from suppliers (+@supplier.account.representative+), then you can make your code somewhat more efficient by including representatives in the association from suppliers to accounts:
1005
+
1006
+ <ruby>
1007
+ class Supplier < ActiveRecord::Base
1008
+ has_one :account, :include => :representative
1009
+ end
1010
+
1011
+ class Account < ActiveRecord::Base
1012
+ belongs_to :supplier
1013
+ belongs_to :representative
1014
+ end
1015
+
1016
+ class Representative < ActiveRecord::Base
1017
+ has_many :accounts
1018
+ end
1019
+ </ruby>
1020
+
1021
+ h6(#has_one-inverse_of). +:inverse_of+
1022
+
1023
+ The +:inverse_of+ option specifies the name of the +belongs_to+ association that is the inverse of this association. Does not work in combination with the +:through+ or +:as+ options.
1024
+
1025
+ <ruby>
1026
+ class Supplier < ActiveRecord::Base
1027
+ has_one :account, :inverse_of => :supplier
1028
+ end
1029
+
1030
+ class Account < ActiveRecord::Base
1031
+ belongs_to :supplier, :inverse_of => :account
1032
+ end
1033
+ </ruby>
1034
+
1035
+ h6(#has_one-order). +:order+
1036
+
1037
+ The +:order+ option dictates the order in which associated objects will be received (in the syntax used by an SQL +ORDER BY+ clause). Because a +has_one+ association will only retrieve a single associated object, this option should not be needed.
1038
+
1039
+ h6(#has_one-primary_key). +:primary_key+
1040
+
1041
+ By convention, Rails assumes that the column used to hold the primary key of this model is +id+. You can override this and explicitly specify the primary key with the +:primary_key+ option.
1042
+
1043
+ h6(#has_one-readonly). +:readonly+
1044
+
1045
+ If you set the +:readonly+ option to +true+, then the associated object will be read-only when retrieved via the association.
1046
+
1047
+ h6(#has_one-select). +:select+
1048
+
1049
+ The +:select+ option lets you override the SQL +SELECT+ clause that is used to retrieve data about the associated object. By default, Rails retrieves all columns.
1050
+
1051
+ h6(#has_one-source). +:source+
1052
+
1053
+ The +:source+ option specifies the source association name for a +has_one :through+ association.
1054
+
1055
+ h6(#has_one-source_type). +:source_type+
1056
+
1057
+ The +:source_type+ option specifies the source association type for a +has_one :through+ association that proceeds through a polymorphic association.
1058
+
1059
+ h6(#has_one-through). +:through+
1060
+
1061
+ The +:through+ option specifies a join model through which to perform the query. +has_one :through+ associations were discussed in detail <a href="#the-has_one-through-association">earlier in this guide</a>.
1062
+
1063
+ h6(#has_one-validate). +:validate+
1064
+
1065
+ If you set the +:validate+ option to +true+, then associated objects will be validated whenever you save this object. By default, this is +false+: associated objects will not be validated when this object is saved.
1066
+
1067
+ h5(#has_one-do_any_associated_objects_exist). Do Any Associated Objects Exist?
1068
+
1069
+ You can see if any associated objects exist by using the <tt><em>association</em>.nil?</tt> method:
1070
+
1071
+ <ruby>
1072
+ if @supplier.account.nil?
1073
+ @msg = "No account found for this supplier"
1074
+ end
1075
+ </ruby>
1076
+
1077
+ h5(#has_one-when_are_objects_saved). When are Objects Saved?
1078
+
1079
+ When you assign an object to a +has_one+ association, that object is automatically saved (in order to update its foreign key). In addition, any object being replaced is also automatically saved, because its foreign key will change too.
1080
+
1081
+ If either of these saves fails due to validation errors, then the assignment statement returns +false+ and the assignment itself is cancelled.
1082
+
1083
+ If the parent object (the one declaring the +has_one+ association) is unsaved (that is, +new_record?+ returns +true+) then the child objects are not saved. They will automatically when the parent object is saved.
1084
+
1085
+ If you want to assign an object to a +has_one+ association without saving the object, use the <tt><em>association</em>.build</tt> method.
1086
+
1087
+ h4. +has_many+ Association Reference
1088
+
1089
+ The +has_many+ association creates a one-to-many relationship with another model. In database terms, this association says that the other class will have a foreign key that refers to instances of this class.
1090
+
1091
+ h5. Methods Added by +has_many+
1092
+
1093
+ When you declare a +has_many+ association, the declaring class automatically gains 13 methods related to the association:
1094
+
1095
+ * <tt><em>collection</em>(force_reload = false)</tt>
1096
+ * <tt><em>collection</em><<(object, ...)</tt>
1097
+ * <tt><em>collection</em>.delete(object, ...)</tt>
1098
+ * <tt><em>collection</em>=objects</tt>
1099
+ * <tt><em>collection_singular</em>_ids</tt>
1100
+ * <tt><em>collection_singular</em>_ids=ids</tt>
1101
+ * <tt><em>collection</em>.clear</tt>
1102
+ * <tt><em>collection</em>.empty?</tt>
1103
+ * <tt><em>collection</em>.size</tt>
1104
+ * <tt><em>collection</em>.find(...)</tt>
1105
+ * <tt><em>collection</em>.where(...)</tt>
1106
+ * <tt><em>collection</em>.exists?(...)</tt>
1107
+ * <tt><em>collection</em>.build(attributes = {}, ...)</tt>
1108
+ * <tt><em>collection</em>.create(attributes = {})</tt>
1109
+
1110
+ In all of these methods, <tt><em>collection</em></tt> is replaced with the symbol passed as the first argument to +has_many+, and <tt><em>collection_singular</em></tt> is replaced with the singularized version of that symbol.. For example, given the declaration:
1111
+
1112
+ <ruby>
1113
+ class Customer < ActiveRecord::Base
1114
+ has_many :orders
1115
+ end
1116
+ </ruby>
1117
+
1118
+ Each instance of the customer model will have these methods:
1119
+
1120
+ <ruby>
1121
+ orders(force_reload = false)
1122
+ orders<<(object, ...)
1123
+ orders.delete(object, ...)
1124
+ orders=objects
1125
+ order_ids
1126
+ order_ids=ids
1127
+ orders.clear
1128
+ orders.empty?
1129
+ orders.size
1130
+ orders.find(...)
1131
+ orders.where(...)
1132
+ orders.exists?(...)
1133
+ orders.build(attributes = {}, ...)
1134
+ orders.create(attributes = {})
1135
+ </ruby>
1136
+
1137
+ h6(#has_many-collection). <tt><em>collection</em>(force_reload = false)</tt>
1138
+
1139
+ The <tt><em>collection</em></tt> method returns an array of all of the associated objects. If there are no associated objects, it returns an empty array.
1140
+
1141
+ <ruby>
1142
+ @orders = @customer.orders
1143
+ </ruby>
1144
+
1145
+ h6(#has_many-collection-lt_lt). <tt><em>collection</em><<(object, ...)</tt>
1146
+
1147
+ The <tt><em>collection</em><<</tt> method adds one or more objects to the collection by setting their foreign keys to the primary key of the calling model.
1148
+
1149
+ <ruby>
1150
+ @customer.orders << @order1
1151
+ </ruby>
1152
+
1153
+ h6(#has_many-collection-delete). <tt><em>collection</em>.delete(object, ...)</tt>
1154
+
1155
+ The <tt><em>collection</em>.delete</tt> method removes one or more objects from the collection by setting their foreign keys to +NULL+.
1156
+
1157
+ <ruby>
1158
+ @customer.orders.delete(@order1)
1159
+ </ruby>
1160
+
1161
+ WARNING: Additionally, objects will be destroyed if they're associated with +:dependent => :destroy+, and deleted if they're associated with +:dependent => :delete_all+.
1162
+
1163
+
1164
+ h6(#has_many-collection-equal). <tt><em>collection</em>=objects</tt>
1165
+
1166
+ The <tt><em>collection</em>=</tt> method makes the collection contain only the supplied objects, by adding and deleting as appropriate.
1167
+
1168
+ h6(#has_many-collection_singular). <tt><em>collection_singular</em>_ids</tt>
1169
+
1170
+ The <tt><em>collection_singular</em>_ids</tt> method returns an array of the ids of the objects in the collection.
1171
+
1172
+ <ruby>
1173
+ @order_ids = @customer.order_ids
1174
+ </ruby>
1175
+
1176
+ h6(#has_many-collection_singular_ids_ids). <tt><em>collection_singular</em>_ids=ids</tt>
1177
+
1178
+ The <tt><em>collection_singular</em>_ids=</tt> method makes the collection contain only the objects identified by the supplied primary key values, by adding and deleting as appropriate.
1179
+
1180
+ h6(#has_many-collection-clear). <tt><em>collection</em>.clear</tt>
1181
+
1182
+ The <tt><em>collection</em>.clear</tt> method removes every object from the collection. This destroys the associated objects if they are associated with +:dependent => :destroy+, deletes them directly from the database if +:dependent => :delete_all+, and otherwise sets their foreign keys to +NULL+.
1183
+
1184
+ h6(#has_many-collection-empty). <tt><em>collection</em>.empty?</tt>
1185
+
1186
+ The <tt><em>collection</em>.empty?</tt> method returns +true+ if the collection does not contain any associated objects.
1187
+
1188
+ <ruby>
1189
+ <% if @customer.orders.empty? %>
1190
+ No Orders Found
1191
+ <% end %>
1192
+ </ruby>
1193
+
1194
+ h6(#has_many-collection-size). <tt><em>collection</em>.size</tt>
1195
+
1196
+ The <tt><em>collection</em>.size</tt> method returns the number of objects in the collection.
1197
+
1198
+ <ruby>
1199
+ @order_count = @customer.orders.size
1200
+ </ruby>
1201
+
1202
+ h6(#has_many-collection-find). <tt><em>collection</em>.find(...)</tt>
1203
+
1204
+ The <tt><em>collection</em>.find</tt> method finds objects within the collection. It uses the same syntax and options as +ActiveRecord::Base.find+.
1205
+
1206
+ <ruby>
1207
+ @open_orders = @customer.orders.where(:open => 1)
1208
+ </ruby>
1209
+
1210
+ h6(#has_many-collection-where). <tt><em>collection</em>.where(...)</tt>
1211
+
1212
+ The <tt><em>collection</em>.where</tt> method finds objects within the collection based on the conditions supplied but the objects are loaded lazily meaning that the database is queried only when the object(s) are accessed.
1213
+
1214
+ <ruby>
1215
+ @open_orders = @customer.orders.where(:open => true) # No query yet
1216
+ @open_order = @open_orders.first # Now the database will be queried
1217
+ </ruby>
1218
+
1219
+ h6(#has_many-collection-exists). <tt><em>collection</em>.exists?(...)</tt>
1220
+
1221
+ The <tt><em>collection</em>.exists?</tt> method checks whether an object meeting the supplied conditions exists in the collection. It uses the same syntax and options as +ActiveRecord::Base.exists?+.
1222
+
1223
+ h6(#has_many-collection-build). <tt><em>collection</em>.build(attributes = {}, ...)</tt>
1224
+
1225
+ The <tt><em>collection</em>.build</tt> method returns one or more new objects of the associated type. These objects will be instantiated from the passed attributes, and the link through their foreign key will be created, but the associated objects will _not_ yet be saved.
1226
+
1227
+ <ruby>
1228
+ @order = @customer.orders.build(:order_date => Time.now,
1229
+ :order_number => "A12345")
1230
+ </ruby>
1231
+
1232
+ h6(#has_many-collection-create). <tt><em>collection</em>.create(attributes = {})</tt>
1233
+
1234
+ The <tt><em>collection</em>.create</tt> method returns a new object of the associated type. This object will be instantiated from the passed attributes, the link through its foreign key will be created, and, once it passes all of the validations specified on the associated model, the associated object _will_ be saved.
1235
+
1236
+ <ruby>
1237
+ @order = @customer.orders.create(:order_date => Time.now,
1238
+ :order_number => "A12345")
1239
+ </ruby>
1240
+
1241
+ h5. Options for +has_many+
1242
+
1243
+ While Rails uses intelligent defaults that will work well in most situations, there may be times when you want to customize the behavior of the +has_many+ association reference. Such customizations can easily be accomplished by passing options when you create the association. For example, this assocation uses two such options:
1244
+
1245
+ <ruby>
1246
+ class Customer < ActiveRecord::Base
1247
+ has_many :orders, :dependent => :delete_all, :validate => :false
1248
+ end
1249
+ </ruby>
1250
+
1251
+ The +has_many+ association supports these options:
1252
+
1253
+ * +:as+
1254
+ * +:autosave+
1255
+ * +:class_name+
1256
+ * +:conditions+
1257
+ * +:counter_sql+
1258
+ * +:dependent+
1259
+ * +:extend+
1260
+ * +:finder_sql+
1261
+ * +:foreign_key+
1262
+ * +:group+
1263
+ * +:include+
1264
+ * +:inverse_of+
1265
+ * +:limit+
1266
+ * +:offset+
1267
+ * +:order+
1268
+ * +:primary_key+
1269
+ * +:readonly+
1270
+ * +:select+
1271
+ * +:source+
1272
+ * +:source_type+
1273
+ * +:through+
1274
+ * +:uniq+
1275
+ * +:validate+
1276
+
1277
+ h6(#has_many-as). +:as+
1278
+
1279
+ Setting the +:as+ option indicates that this is a polymorphic association, as discussed <a href="#polymorphic-associations">earlier in this guide</a>.
1280
+
1281
+ h6(#has_many-autosave). +:autosave+
1282
+
1283
+ If you set the +:autosave+ option to +true+, Rails will save any loaded members and destroy members that are marked for destruction whenever you save the parent object.
1284
+
1285
+ h6(#has_many-class_name). +:class_name+
1286
+
1287
+ If the name of the other model cannot be derived from the association name, you can use the +:class_name+ option to supply the model name. For example, if a customer has many orders, but the actual name of the model containing orders is +Transaction+, you'd set things up this way:
1288
+
1289
+ <ruby>
1290
+ class Customer < ActiveRecord::Base
1291
+ has_many :orders, :class_name => "Transaction"
1292
+ end
1293
+ </ruby>
1294
+
1295
+ h6(#has_many-conditions). +:conditions+
1296
+
1297
+ The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by an SQL +WHERE+ clause).
1298
+
1299
+ <ruby>
1300
+ class Customer < ActiveRecord::Base
1301
+ has_many :confirmed_orders, :class_name => "Order",
1302
+ :conditions => "confirmed = 1"
1303
+ end
1304
+ </ruby>
1305
+
1306
+ You can also set conditions via a hash:
1307
+
1308
+ <ruby>
1309
+ class Customer < ActiveRecord::Base
1310
+ has_many :confirmed_orders, :class_name => "Order",
1311
+ :conditions => { :confirmed => true }
1312
+ end
1313
+ </ruby>
1314
+
1315
+ If you use a hash-style +:conditions+ option, then record creation via this association will be automatically scoped using the hash. In this case, using +@customer.confirmed_orders.create+ or +@customer.confirmed_orders.build+ will create orders where the confirmed column has the value +true+.
1316
+
1317
+ If you need to evaluate conditions dynamically at runtime, use a proc:
1318
+
1319
+ <ruby>
1320
+ class Customer < ActiveRecord::Base
1321
+ has_many :latest_orders, :class_name => "Order",
1322
+ :conditions => proc { ["orders.created_at > ?", 10.hours.ago] }
1323
+ end
1324
+ </ruby>
1325
+
1326
+ h6(#has_many-counter_sql). +:counter_sql+
1327
+
1328
+ Normally Rails automatically generates the proper SQL to count the association members. With the +:counter_sql+ option, you can specify a complete SQL statement to count them yourself.
1329
+
1330
+ NOTE: If you specify +:finder_sql+ but not +:counter_sql+, then the counter SQL will be generated by substituting +SELECT COUNT(*) FROM+ for the +SELECT ... FROM+ clause of your +:finder_sql+ statement.
1331
+
1332
+ h6(#has_many-dependent). +:dependent+
1333
+
1334
+ If you set the +:dependent+ option to +:destroy+, then deleting this object will call the +destroy+ method on the associated objects to delete those objects. If you set the +:dependent+ option to +:delete_all+, then deleting this object will delete the associated objects _without_ calling their +destroy+ method. If you set the +:dependent+ option to +:nullify+, then deleting this object will set the foreign key in the associated objects to +NULL+.
1335
+
1336
+ NOTE: This option is ignored when you use the +:through+ option on the association.
1337
+
1338
+ h6(#has_many-extend). +:extend+
1339
+
1340
+ The +:extend+ option specifies a named module to extend the association proxy. Association extensions are discussed in detail <a href="#association-extensions">later in this guide</a>.
1341
+
1342
+ h6(#has_many-finder_sql). +:finder_sql+
1343
+
1344
+ Normally Rails automatically generates the proper SQL to fetch the association members. With the +:finder_sql+ option, you can specify a complete SQL statement to fetch them yourself. If fetching objects requires complex multi-table SQL, this may be necessary.
1345
+
1346
+ h6(#has_many-foreign_key). +:foreign_key+
1347
+
1348
+ By convention, Rails assumes that the column used to hold the foreign key on the other model is the name of this model with the suffix +_id+ added. The +:foreign_key+ option lets you set the name of the foreign key directly:
1349
+
1350
+ <ruby>
1351
+ class Customer < ActiveRecord::Base
1352
+ has_many :orders, :foreign_key => "cust_id"
1353
+ end
1354
+ </ruby>
1355
+
1356
+ TIP: In any case, Rails will not create foreign key columns for you. You need to explicitly define them as part of your migrations.
1357
+
1358
+ h6(#has_many-group). +:group+
1359
+
1360
+ The +:group+ option supplies an attribute name to group the result set by, using a +GROUP BY+ clause in the finder SQL.
1361
+
1362
+ <ruby>
1363
+ class Customer < ActiveRecord::Base
1364
+ has_many :line_items, :through => :orders, :group => "orders.id"
1365
+ end
1366
+ </ruby>
1367
+
1368
+ h6(#has_many-include). +:include+
1369
+
1370
+ You can use the +:include+ option to specify second-order associations that should be eager-loaded when this association is used. For example, consider these models:
1371
+
1372
+ <ruby>
1373
+ class Customer < ActiveRecord::Base
1374
+ has_many :orders
1375
+ end
1376
+
1377
+ class Order < ActiveRecord::Base
1378
+ belongs_to :customer
1379
+ has_many :line_items
1380
+ end
1381
+
1382
+ class LineItem < ActiveRecord::Base
1383
+ belongs_to :order
1384
+ end
1385
+ </ruby>
1386
+
1387
+ If you frequently retrieve line items directly from customers (+@customer.orders.line_items+), then you can make your code somewhat more efficient by including line items in the association from customers to orders:
1388
+
1389
+ <ruby>
1390
+ class Customer < ActiveRecord::Base
1391
+ has_many :orders, :include => :line_items
1392
+ end
1393
+
1394
+ class Order < ActiveRecord::Base
1395
+ belongs_to :customer
1396
+ has_many :line_items
1397
+ end
1398
+
1399
+ class LineItem < ActiveRecord::Base
1400
+ belongs_to :order
1401
+ end
1402
+ </ruby>
1403
+
1404
+ h6(#has_many-inverse_of). +:inverse_of+
1405
+
1406
+ The +:inverse_of+ option specifies the name of the +belongs_to+ association that is the inverse of this association. Does not work in combination with the +:through+ or +:as+ options.
1407
+
1408
+ <ruby>
1409
+ class Customer < ActiveRecord::Base
1410
+ has_many :orders, :inverse_of => :customer
1411
+ end
1412
+
1413
+ class Order < ActiveRecord::Base
1414
+ belongs_to :customer, :inverse_of => :orders
1415
+ end
1416
+ </ruby>
1417
+
1418
+ h6(#has_many-limit). +:limit+
1419
+
1420
+ The +:limit+ option lets you restrict the total number of objects that will be fetched through an association.
1421
+
1422
+ <ruby>
1423
+ class Customer < ActiveRecord::Base
1424
+ has_many :recent_orders, :class_name => "Order",
1425
+ :order => "order_date DESC", :limit => 100
1426
+ end
1427
+ </ruby>
1428
+
1429
+ h6(#has_many-offset). +:offset+
1430
+
1431
+ The +:offset+ option lets you specify the starting offset for fetching objects via an association. For example, if you set +:offset => 11+, it will skip the first 11 records.
1432
+
1433
+ h6(#has_many-order). +:order+
1434
+
1435
+ The +:order+ option dictates the order in which associated objects will be received (in the syntax used by an SQL +ORDER BY+ clause).
1436
+
1437
+ <ruby>
1438
+ class Customer < ActiveRecord::Base
1439
+ has_many :orders, :order => "date_confirmed DESC"
1440
+ end
1441
+ </ruby>
1442
+
1443
+ h6(#has_many-primary_key). +:primary_key+
1444
+
1445
+ By convention, Rails assumes that the column used to hold the primary key of the association is +id+. You can override this and explicitly specify the primary key with the +:primary_key+ option.
1446
+
1447
+ h6(#has_many-readonly). +:readonly+
1448
+
1449
+ If you set the +:readonly+ option to +true+, then the associated objects will be read-only when retrieved via the association.
1450
+
1451
+ h6(#has_many-select). +:select+
1452
+
1453
+ The +:select+ option lets you override the SQL +SELECT+ clause that is used to retrieve data about the associated objects. By default, Rails retrieves all columns.
1454
+
1455
+ WARNING: If you specify your own +:select+, be sure to include the primary key and foreign key columns of the associated model. If you do not, Rails will throw an error.
1456
+
1457
+ h6(#has_many-source). +:source+
1458
+
1459
+ The +:source+ option specifies the source association name for a +has_many :through+ association. You only need to use this option if the name of the source association cannot be automatically inferred from the association name.
1460
+
1461
+ h6(#has_many-source_type). +:source_type+
1462
+
1463
+ The +:source_type+ option specifies the source association type for a +has_many :through+ association that proceeds through a polymorphic association.
1464
+
1465
+ h6(#has_many-through). +:through+
1466
+
1467
+ The +:through+ option specifies a join model through which to perform the query. +has_many :through+ associations provide a way to implement many-to-many relationships, as discussed <a href="#the-has_many-through-association">earlier in this guide</a>.
1468
+
1469
+ h6(#has_many-uniq). +:uniq+
1470
+
1471
+ Set the +:uniq+ option to true to keep the collection free of duplicates. This is mostly useful together with the +:through+ option.
1472
+
1473
+ <ruby>
1474
+ class Person < ActiveRecord::Base
1475
+ has_many :readings
1476
+ has_many :posts, :through => :readings
1477
+ end
1478
+
1479
+ person = Person.create(:name => 'john')
1480
+ post = Post.create(:name => 'a1')
1481
+ person.posts << post
1482
+ person.posts << post
1483
+ person.posts.inspect # => [#<Post id: 5, name: "a1">, #<Post id: 5, name: "a1">]
1484
+ Reading.all.inspect # => [#<Reading id: 12, person_id: 5, post_id: 5>, #<Reading id: 13, person_id: 5, post_id: 5>]
1485
+ </ruby>
1486
+
1487
+ In the above case there are two readings and +person.posts+ brings out both of them even though these records are pointing to the same post.
1488
+
1489
+ Now let's set +:uniq+ to true:
1490
+
1491
+ <ruby>
1492
+ class Person
1493
+ has_many :readings
1494
+ has_many :posts, :through => :readings, :uniq => true
1495
+ end
1496
+
1497
+ person = Person.create(:name => 'honda')
1498
+ post = Post.create(:name => 'a1')
1499
+ person.posts << post
1500
+ person.posts << post
1501
+ person.posts.inspect # => [#<Post id: 7, name: "a1">]
1502
+ Reading.all.inspect # => [#<Reading id: 16, person_id: 7, post_id: 7>, #<Reading id: 17, person_id: 7, post_id: 7>]
1503
+ </ruby>
1504
+
1505
+ In the above case there are still two readings. However +person.posts+ shows only one post because the collection loads only unique records.
1506
+
1507
+ h6(#has_many-validate). +:validate+
1508
+
1509
+ If you set the +:validate+ option to +false+, then associated objects will not be validated whenever you save this object. By default, this is +true+: associated objects will be validated when this object is saved.
1510
+
1511
+ h5(#has_many-when_are_objects_saved). When are Objects Saved?
1512
+
1513
+ When you assign an object to a +has_many+ association, that object is automatically saved (in order to update its foreign key). If you assign multiple objects in one statement, then they are all saved.
1514
+
1515
+ If any of these saves fails due to validation errors, then the assignment statement returns +false+ and the assignment itself is cancelled.
1516
+
1517
+ If the parent object (the one declaring the +has_many+ association) is unsaved (that is, +new_record?+ returns +true+) then the child objects are not saved when they are added. All unsaved members of the association will automatically be saved when the parent is saved.
1518
+
1519
+ If you want to assign an object to a +has_many+ association without saving the object, use the <tt><em>collection</em>.build</tt> method.
1520
+
1521
+ h4. +has_and_belongs_to_many+ Association Reference
1522
+
1523
+ The +has_and_belongs_to_many+ association creates a many-to-many relationship with another model. In database terms, this associates two classes via an intermediate join table that includes foreign keys referring to each of the classes.
1524
+
1525
+ h5. Methods Added by +has_and_belongs_to_many+
1526
+
1527
+ When you declare a +has_and_belongs_to_many+ association, the declaring class automatically gains 13 methods related to the association:
1528
+
1529
+ * <tt><em>collection</em>(force_reload = false)</tt>
1530
+ * <tt><em>collection</em><<(object, ...)</tt>
1531
+ * <tt><em>collection</em>.delete(object, ...)</tt>
1532
+ * <tt><em>collection</em>=objects</tt>
1533
+ * <tt><em>collection_singular</em>_ids</tt>
1534
+ * <tt><em>collection_singular</em>_ids=ids</tt>
1535
+ * <tt><em>collection</em>.clear</tt>
1536
+ * <tt><em>collection</em>.empty?</tt>
1537
+ * <tt><em>collection</em>.size</tt>
1538
+ * <tt><em>collection</em>.find(...)</tt>
1539
+ * <tt><em>collection</em>.where(...)</tt>
1540
+ * <tt><em>collection</em>.exists?(...)</tt>
1541
+ * <tt><em>collection</em>.build(attributes = {})</tt>
1542
+ * <tt><em>collection</em>.create(attributes = {})</tt>
1543
+
1544
+ In all of these methods, <tt><em>collection</em></tt> is replaced with the symbol passed as the first argument to +has_and_belongs_to_many+, and <tt><em>collection_singular</em></tt> is replaced with the singularized version of that symbol. For example, given the declaration:
1545
+
1546
+ <ruby>
1547
+ class Part < ActiveRecord::Base
1548
+ has_and_belongs_to_many :assemblies
1549
+ end
1550
+ </ruby>
1551
+
1552
+ Each instance of the part model will have these methods:
1553
+
1554
+ <ruby>
1555
+ assemblies(force_reload = false)
1556
+ assemblies<<(object, ...)
1557
+ assemblies.delete(object, ...)
1558
+ assemblies=objects
1559
+ assembly_ids
1560
+ assembly_ids=ids
1561
+ assemblies.clear
1562
+ assemblies.empty?
1563
+ assemblies.size
1564
+ assemblies.find(...)
1565
+ assemblies.where(...)
1566
+ assemblies.exists?(...)
1567
+ assemblies.build(attributes = {}, ...)
1568
+ assemblies.create(attributes = {})
1569
+ </ruby>
1570
+
1571
+ h6. Additional Column Methods
1572
+
1573
+ If the join table for a +has_and_belongs_to_many+ association has additional columns beyond the two foreign keys, these columns will be added as attributes to records retrieved via that association. Records returned with additional attributes will always be read-only, because Rails cannot save changes to those attributes.
1574
+
1575
+ WARNING: The use of extra attributes on the join table in a +has_and_belongs_to_many+ association is deprecated. If you require this sort of complex behavior on the table that joins two models in a many-to-many relationship, you should use a +has_many :through+ association instead of +has_and_belongs_to_many+.
1576
+
1577
+
1578
+ h6(#has_and_belongs_to_many-collection). <tt><em>collection</em>(force_reload = false)</tt>
1579
+
1580
+ The <tt><em>collection</em></tt> method returns an array of all of the associated objects. If there are no associated objects, it returns an empty array.
1581
+
1582
+ <ruby>
1583
+ @assemblies = @part.assemblies
1584
+ </ruby>
1585
+
1586
+ h6(#has_and_belongs_to_many-collection-lt_lt). <tt><em>collection</em><<(object, ...)</tt>
1587
+
1588
+ The <tt><em>collection</em><<</tt> method adds one or more objects to the collection by creating records in the join table.
1589
+
1590
+ <ruby>
1591
+ @part.assemblies << @assembly1
1592
+ </ruby>
1593
+
1594
+ NOTE: This method is aliased as <tt><em>collection</em>.concat</tt> and <tt><em>collection</em>.push</tt>.
1595
+
1596
+ h6(#has_and_belongs_to_many-collection-delete). <tt><em>collection</em>.delete(object, ...)</tt>
1597
+
1598
+ The <tt><em>collection</em>.delete</tt> method removes one or more objects from the collection by deleting records in the join table. This does not destroy the objects.
1599
+
1600
+ <ruby>
1601
+ @part.assemblies.delete(@assembly1)
1602
+ </ruby>
1603
+
1604
+ h6(#has_and_belongs_to_many-collection-equal). <tt><em>collection</em>=objects</tt>
1605
+
1606
+ The <tt><em>collection</em>=</tt> method makes the collection contain only the supplied objects, by adding and deleting as appropriate.
1607
+
1608
+ h6(#has_and_belongs_to_many-collection_singular). <tt><em>collection_singular</em>_ids</tt>
1609
+
1610
+ The <tt><em>collection_singular</em>_ids</tt> method returns an array of the ids of the objects in the collection.
1611
+
1612
+ <ruby>
1613
+ @assembly_ids = @part.assembly_ids
1614
+ </ruby>
1615
+
1616
+ h6(#has_and_belongs_to_many-collection_singular_ids_ids). <tt><em>collection_singular</em>_ids=ids</tt>
1617
+
1618
+ The <tt><em>collection_singular</em>_ids=</tt> method makes the collection contain only the objects identified by the supplied primary key values, by adding and deleting as appropriate.
1619
+
1620
+ h6(#has_and_belongs_to_many-collection-clear). <tt><em>collection</em>.clear</tt>
1621
+
1622
+ The <tt><em>collection</em>.clear</tt> method removes every object from the collection by deleting the rows from the joining table. This does not destroy the associated objects.
1623
+
1624
+ h6(#has_and_belongs_to_many-collection-empty). <tt><em>collection</em>.empty?</tt>
1625
+
1626
+ The <tt><em>collection</em>.empty?</tt> method returns +true+ if the collection does not contain any associated objects.
1627
+
1628
+ <ruby>
1629
+ <% if @part.assemblies.empty? %>
1630
+ This part is not used in any assemblies
1631
+ <% end %>
1632
+ </ruby>
1633
+
1634
+ h6(#has_and_belongs_to_many-collection-size). <tt><em>collection</em>.size</tt>
1635
+
1636
+ The <tt><em>collection</em>.size</tt> method returns the number of objects in the collection.
1637
+
1638
+ <ruby>
1639
+ @assembly_count = @part.assemblies.size
1640
+ </ruby>
1641
+
1642
+ h6(#has_and_belongs_to_many-collection-find). <tt><em>collection</em>.find(...)</tt>
1643
+
1644
+ The <tt><em>collection</em>.find</tt> method finds objects within the collection. It uses the same syntax and options as +ActiveRecord::Base.find+. It also adds the additional condition that the object must be in the collection.
1645
+
1646
+ <ruby>
1647
+ @new_assemblies = @part.assemblies.all(
1648
+ :conditions => ["created_at > ?", 2.days.ago])
1649
+ </ruby>
1650
+
1651
+ NOTE: Beginning with Rails 3, supplying options to the +ActiveRecord::Base.find+ method is discouraged. Use <tt><em>collection</em>.where</tt> instead when you need to pass conditions.
1652
+
1653
+ h6(#has_and_belongs_to_many-collection-where). <tt><em>collection</em>.where(...)</tt>
1654
+
1655
+ The <tt><em>collection</em>.where</tt> method finds objects within the collection based on the conditions supplied but the objects are loaded lazily meaning that the database is queried only when the object(s) are accessed. It also adds the additional condition that the object must be in the collection.
1656
+
1657
+ <ruby>
1658
+ @new_assemblies = @part.assemblies.where("created_at > ?", 2.days.ago)
1659
+ </ruby>
1660
+
1661
+ h6(#has_and_belongs_to_many-collection-exists). <tt><em>collection</em>.exists?(...)</tt>
1662
+
1663
+ The <tt><em>collection</em>.exists?</tt> method checks whether an object meeting the supplied conditions exists in the collection. It uses the same syntax and options as +ActiveRecord::Base.exists?+.
1664
+
1665
+ h6(#has_and_belongs_to_many-collection-build). <tt><em>collection</em>.build(attributes = {})</tt>
1666
+
1667
+ The <tt><em>collection</em>.build</tt> method returns a new object of the associated type. This object will be instantiated from the passed attributes, and the link through the join table will be created, but the associated object will _not_ yet be saved.
1668
+
1669
+ <ruby>
1670
+ @assembly = @part.assemblies.build(
1671
+ {:assembly_name => "Transmission housing"})
1672
+ </ruby>
1673
+
1674
+ h6(#has_and_belongs_to_many-create-attributes). <tt><em>collection</em>.create(attributes = {})</tt>
1675
+
1676
+ The <tt><em>collection</em>.create</tt> method returns a new object of the associated type. This object will be instantiated from the passed attributes, the link through the join table will be created, and, once it passes all of the validations specified on the associated model, the associated object _will_ be saved.
1677
+
1678
+ <ruby>
1679
+ @assembly = @part.assemblies.create(
1680
+ {:assembly_name => "Transmission housing"})
1681
+ </ruby>
1682
+
1683
+ h5. Options for +has_and_belongs_to_many+
1684
+
1685
+ While Rails uses intelligent defaults that will work well in most situations, there may be times when you want to customize the behavior of the +has_and_belongs_to_many+ association reference. Such customizations can easily be accomplished by passing options when you create the association. For example, this assocation uses two such options:
1686
+
1687
+ <ruby>
1688
+ class Parts < ActiveRecord::Base
1689
+ has_and_belongs_to_many :assemblies, :uniq => true,
1690
+ :read_only => true
1691
+ end
1692
+ </ruby>
1693
+
1694
+ The +has_and_belongs_to_many+ association supports these options:
1695
+
1696
+ * +:association_foreign_key+
1697
+ * +:autosave+
1698
+ * +:class_name+
1699
+ * +:conditions+
1700
+ * +:counter_sql+
1701
+ * +:delete_sql+
1702
+ * +:extend+
1703
+ * +:finder_sql+
1704
+ * +:foreign_key+
1705
+ * +:group+
1706
+ * +:include+
1707
+ * +:insert_sql+
1708
+ * +:join_table+
1709
+ * +:limit+
1710
+ * +:offset+
1711
+ * +:order+
1712
+ * +:readonly+
1713
+ * +:select+
1714
+ * +:uniq+
1715
+ * +:validate+
1716
+
1717
+ h6(#has_and_belongs_to_many-association_foreign_key). +:association_foreign_key+
1718
+
1719
+ By convention, Rails assumes that the column in the join table used to hold the foreign key pointing to the other model is the name of that model with the suffix +_id+ added. The +:association_foreign_key+ option lets you set the name of the foreign key directly:
1720
+
1721
+ TIP: The +:foreign_key+ and +:association_foreign_key+ options are useful when setting up a many-to-many self-join. For example:
1722
+
1723
+ <ruby>
1724
+ class User < ActiveRecord::Base
1725
+ has_and_belongs_to_many :friends, :class_name => "User",
1726
+ :foreign_key => "this_user_id",
1727
+ :association_foreign_key => "other_user_id"
1728
+ end
1729
+ </ruby>
1730
+
1731
+ h6(#has_and_belongs_to_many-autosave). +:autosave+
1732
+
1733
+ If you set the +:autosave+ option to +true+, Rails will save any loaded members and destroy members that are marked for destruction whenever you save the parent object.
1734
+
1735
+ h6(#has_and_belongs_to_many-class_name). +:class_name+
1736
+
1737
+ If the name of the other model cannot be derived from the association name, you can use the +:class_name+ option to supply the model name. For example, if a part has many assemblies, but the actual name of the model containing assemblies is +Gadget+, you'd set things up this way:
1738
+
1739
+ <ruby>
1740
+ class Parts < ActiveRecord::Base
1741
+ has_and_belongs_to_many :assemblies, :class_name => "Gadget"
1742
+ end
1743
+ </ruby>
1744
+
1745
+ h6(#has_and_belongs_to_many-conditions). +:conditions+
1746
+
1747
+ The +:conditions+ option lets you specify the conditions that the associated object must meet (in the syntax used by an SQL +WHERE+ clause).
1748
+
1749
+ <ruby>
1750
+ class Parts < ActiveRecord::Base
1751
+ has_and_belongs_to_many :assemblies,
1752
+ :conditions => "factory = 'Seattle'"
1753
+ end
1754
+ </ruby>
1755
+
1756
+ You can also set conditions via a hash:
1757
+
1758
+ <ruby>
1759
+ class Parts < ActiveRecord::Base
1760
+ has_and_belongs_to_many :assemblies,
1761
+ :conditions => { :factory => 'Seattle' }
1762
+ end
1763
+ </ruby>
1764
+
1765
+ If you use a hash-style +:conditions+ option, then record creation via this association will be automatically scoped using the hash. In this case, using +@parts.assemblies.create+ or +@parts.assemblies.build+ will create orders where the +factory+ column has the value "Seattle".
1766
+
1767
+ h6(#has_and_belongs_to_many-counter_sql). +:counter_sql+
1768
+
1769
+ Normally Rails automatically generates the proper SQL to count the association members. With the +:counter_sql+ option, you can specify a complete SQL statement to count them yourself.
1770
+
1771
+ NOTE: If you specify +:finder_sql+ but not +:counter_sql+, then the counter SQL will be generated by substituting +SELECT COUNT(*) FROM+ for the +SELECT ... FROM+ clause of your +:finder_sql+ statement.
1772
+
1773
+ h6(#has_and_belongs_to_many-delete_sql). +:delete_sql+
1774
+
1775
+ Normally Rails automatically generates the proper SQL to remove links between the associated classes. With the +:delete_sql+ option, you can specify a complete SQL statement to delete them yourself.
1776
+
1777
+ h6(#has_and_belongs_to_many-extend). +:extend+
1778
+
1779
+ The +:extend+ option specifies a named module to extend the association proxy. Association extensions are discussed in detail <a href="#association-extensions">later in this guide</a>.
1780
+
1781
+ h6(#has_and_belongs_to_many-finder_sql). +:finder_sql+
1782
+
1783
+ Normally Rails automatically generates the proper SQL to fetch the association members. With the +:finder_sql+ option, you can specify a complete SQL statement to fetch them yourself. If fetching objects requires complex multi-table SQL, this may be necessary.
1784
+
1785
+ h6(#has_and_belongs_to_many-foreign_key). +:foreign_key+
1786
+
1787
+ By convention, Rails assumes that the column in the join table used to hold the foreign key pointing to this model is the name of this model with the suffix +_id+ added. The +:foreign_key+ option lets you set the name of the foreign key directly:
1788
+
1789
+ <ruby>
1790
+ class User < ActiveRecord::Base
1791
+ has_and_belongs_to_many :friends, :class_name => "User",
1792
+ :foreign_key => "this_user_id",
1793
+ :association_foreign_key => "other_user_id"
1794
+ end
1795
+ </ruby>
1796
+
1797
+ h6(#has_and_belongs_to_many-group). +:group+
1798
+
1799
+ The +:group+ option supplies an attribute name to group the result set by, using a +GROUP BY+ clause in the finder SQL.
1800
+
1801
+ <ruby>
1802
+ class Parts < ActiveRecord::Base
1803
+ has_and_belongs_to_many :assemblies, :group => "factory"
1804
+ end
1805
+ </ruby>
1806
+
1807
+ h6(#has_and_belongs_to_many-include). +:include+
1808
+
1809
+ You can use the +:include+ option to specify second-order associations that should be eager-loaded when this association is used.
1810
+
1811
+ h6(#has_and_belongs_to_many-insert_sql). +:insert_sql+
1812
+
1813
+ Normally Rails automatically generates the proper SQL to create links between the associated classes. With the +:insert_sql+ option, you can specify a complete SQL statement to insert them yourself.
1814
+
1815
+ h6(#has_and_belongs_to_many-join_table). +:join_table+
1816
+
1817
+ If the default name of the join table, based on lexical ordering, is not what you want, you can use the +:join_table+ option to override the default.
1818
+
1819
+ h6(#has_and_belongs_to_many-limit). +:limit+
1820
+
1821
+ The +:limit+ option lets you restrict the total number of objects that will be fetched through an association.
1822
+
1823
+ <ruby>
1824
+ class Parts < ActiveRecord::Base
1825
+ has_and_belongs_to_many :assemblies, :order => "created_at DESC",
1826
+ :limit => 50
1827
+ end
1828
+ </ruby>
1829
+
1830
+ h6(#has_and_belongs_to_many-offset). +:offset+
1831
+
1832
+ The +:offset+ option lets you specify the starting offset for fetching objects via an association. For example, if you set +:offset => 11+, it will skip the first 11 records.
1833
+
1834
+ h6(#has_and_belongs_to_many-order). +:order+
1835
+
1836
+ The +:order+ option dictates the order in which associated objects will be received (in the syntax used by an SQL +ORDER BY+ clause).
1837
+
1838
+ <ruby>
1839
+ class Parts < ActiveRecord::Base
1840
+ has_and_belongs_to_many :assemblies, :order => "assembly_name ASC"
1841
+ end
1842
+ </ruby>
1843
+
1844
+ h6(#has_and_belongs_to_many-readonly). +:readonly+
1845
+
1846
+ If you set the +:readonly+ option to +true+, then the associated objects will be read-only when retrieved via the association.
1847
+
1848
+ h6(#has_and_belongs_to_many-select). +:select+
1849
+
1850
+ The +:select+ option lets you override the SQL +SELECT+ clause that is used to retrieve data about the associated objects. By default, Rails retrieves all columns.
1851
+
1852
+ h6(#has_and_belongs_to_many-uniq). +:uniq+
1853
+
1854
+ Specify the +:uniq => true+ option to remove duplicates from the collection.
1855
+
1856
+ h6(#has_and_belongs_to_many-validate). +:validate+
1857
+
1858
+ If you set the +:validate+ option to +false+, then associated objects will not be validated whenever you save this object. By default, this is +true+: associated objects will be validated when this object is saved.
1859
+
1860
+ h5(#has_and_belongs_to_many-when_are_objects_saved). When are Objects Saved?
1861
+
1862
+ When you assign an object to a +has_and_belongs_to_many+ association, that object is automatically saved (in order to update the join table). If you assign multiple objects in one statement, then they are all saved.
1863
+
1864
+ If any of these saves fails due to validation errors, then the assignment statement returns +false+ and the assignment itself is cancelled.
1865
+
1866
+ If the parent object (the one declaring the +has_and_belongs_to_many+ association) is unsaved (that is, +new_record?+ returns +true+) then the child objects are not saved when they are added. All unsaved members of the association will automatically be saved when the parent is saved.
1867
+
1868
+ If you want to assign an object to a +has_and_belongs_to_many+ association without saving the object, use the <tt><em>collection</em>.build</tt> method.
1869
+
1870
+ h4. Association Callbacks
1871
+
1872
+ Normal callbacks hook into the life cycle of Active Record objects, allowing you to work with those objects at various points. For example, you can use a +:before_save+ callback to cause something to happen just before an object is saved.
1873
+
1874
+ Association callbacks are similar to normal callbacks, but they are triggered by events in the life cycle of a collection. There are four available association callbacks:
1875
+
1876
+ * +before_add+
1877
+ * +after_add+
1878
+ * +before_remove+
1879
+ * +after_remove+
1880
+
1881
+ You define association callbacks by adding options to the association declaration. For example:
1882
+
1883
+ <ruby>
1884
+ class Customer < ActiveRecord::Base
1885
+ has_many :orders, :before_add => :check_credit_limit
1886
+
1887
+ def check_credit_limit(order)
1888
+ ...
1889
+ end
1890
+ end
1891
+ </ruby>
1892
+
1893
+ Rails passes the object being added or removed to the callback.
1894
+
1895
+ You can stack callbacks on a single event by passing them as an array:
1896
+
1897
+ <ruby>
1898
+ class Customer < ActiveRecord::Base
1899
+ has_many :orders,
1900
+ :before_add => [:check_credit_limit, :calculate_shipping_charges]
1901
+
1902
+ def check_credit_limit(order)
1903
+ ...
1904
+ end
1905
+
1906
+ def calculate_shipping_charges(order)
1907
+ ...
1908
+ end
1909
+ end
1910
+ </ruby>
1911
+
1912
+ If a +before_add+ callback throws an exception, the object does not get added to the collection. Similarly, if a +before_remove+ callback throws an exception, the object does not get removed from the collection.
1913
+
1914
+ h4. Association Extensions
1915
+
1916
+ You're not limited to the functionality that Rails automatically builds into association proxy objects. You can also extend these objects through anonymous modules, adding new finders, creators, or other methods. For example:
1917
+
1918
+ <ruby>
1919
+ class Customer < ActiveRecord::Base
1920
+ has_many :orders do
1921
+ def find_by_order_prefix(order_number)
1922
+ find_by_region_id(order_number[0..2])
1923
+ end
1924
+ end
1925
+ end
1926
+ </ruby>
1927
+
1928
+ If you have an extension that should be shared by many associations, you can use a named extension module. For example:
1929
+
1930
+ <ruby>
1931
+ module FindRecentExtension
1932
+ def find_recent
1933
+ where("created_at > ?", 5.days.ago)
1934
+ end
1935
+ end
1936
+
1937
+ class Customer < ActiveRecord::Base
1938
+ has_many :orders, :extend => FindRecentExtension
1939
+ end
1940
+
1941
+ class Supplier < ActiveRecord::Base
1942
+ has_many :deliveries, :extend => FindRecentExtension
1943
+ end
1944
+ </ruby>
1945
+
1946
+ To include more than one extension module in a single association, specify an array of modules:
1947
+
1948
+ <ruby>
1949
+ class Customer < ActiveRecord::Base
1950
+ has_many :orders,
1951
+ :extend => [FindRecentExtension, FindActiveExtension]
1952
+ end
1953
+ </ruby>
1954
+
1955
+ Extensions can refer to the internals of the association proxy using these three attributes of the +proxy_association+ accessor:
1956
+
1957
+ * +proxy_association.owner+ returns the object that the association is a part of.
1958
+ * +proxy_association.reflection+ returns the reflection object that describes the association.
1959
+ * +proxy_association.target+ returns the associated object for +belongs_to+ or +has_one+, or the collection of associated objects for +has_many+ or +has_and_belongs_to_many+.