challah 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2503) hide show
  1. data/CHANGELOG.md +4 -0
  2. data/README.md +0 -4
  3. data/lib/challah/cookie_store.rb +8 -110
  4. data/lib/challah/simple_cookie_store.rb +124 -0
  5. data/lib/challah/version.rb +1 -1
  6. data/lib/challah.rb +8 -6
  7. data/test/simple_cookie_store_test.rb +97 -0
  8. data/vendor/bundle/cache/actionmailer-3.2.1.gem +0 -0
  9. data/vendor/bundle/cache/actionpack-3.2.1.gem +0 -0
  10. data/vendor/bundle/cache/activemodel-3.2.1.gem +0 -0
  11. data/vendor/bundle/cache/activerecord-3.2.1.gem +0 -0
  12. data/vendor/bundle/cache/activeresource-3.2.1.gem +0 -0
  13. data/vendor/bundle/cache/activesupport-3.2.1.gem +0 -0
  14. data/vendor/bundle/cache/arel-3.0.0.gem +0 -0
  15. data/vendor/bundle/cache/factory_girl-2.5.1.gem +0 -0
  16. data/vendor/bundle/cache/journey-1.0.1.gem +0 -0
  17. data/vendor/bundle/cache/mocha-0.10.3.gem +0 -0
  18. data/vendor/bundle/cache/multi_json-1.0.4.gem +0 -0
  19. data/vendor/bundle/cache/rack-cache-1.1.gem +0 -0
  20. data/vendor/bundle/cache/rails-3.2.1.gem +0 -0
  21. data/vendor/bundle/cache/railties-3.2.1.gem +0 -0
  22. data/vendor/bundle/cache/simplecov-0.5.4.gem +0 -0
  23. data/vendor/bundle/cache/tzinfo-0.3.31.gem +0 -0
  24. data/vendor/bundle/gems/actionmailer-3.2.1/CHANGELOG.md +461 -0
  25. data/vendor/bundle/gems/actionmailer-3.2.1/MIT-LICENSE +21 -0
  26. data/vendor/bundle/gems/actionmailer-3.2.1/README.rdoc +163 -0
  27. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/base.rb +736 -0
  28. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/collector.rb +30 -0
  29. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/delivery_methods.rb +86 -0
  30. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/log_subscriber.rb +22 -0
  31. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/mail_helper.rb +56 -0
  32. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/railtie.rb +44 -0
  33. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/test_case.rb +82 -0
  34. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/test_helper.rb +61 -0
  35. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer/version.rb +10 -0
  36. data/vendor/bundle/gems/actionmailer-3.2.1/lib/action_mailer.rb +49 -0
  37. data/vendor/bundle/gems/actionmailer-3.2.1/lib/rails/generators/mailer/USAGE +18 -0
  38. data/vendor/bundle/gems/actionmailer-3.2.1/lib/rails/generators/mailer/mailer_generator.rb +16 -0
  39. data/vendor/bundle/gems/actionmailer-3.2.1/lib/rails/generators/mailer/templates/mailer.rb +18 -0
  40. data/vendor/bundle/gems/actionpack-3.2.1/CHANGELOG.md +5835 -0
  41. data/vendor/bundle/gems/actionpack-3.2.1/MIT-LICENSE +21 -0
  42. data/vendor/bundle/gems/actionpack-3.2.1/README.rdoc +341 -0
  43. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/asset_paths.rb +10 -0
  44. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/base.rb +213 -0
  45. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/callbacks.rb +198 -0
  46. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/collector.rb +32 -0
  47. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/helpers.rb +167 -0
  48. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/layouts.rb +424 -0
  49. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/logger.rb +13 -0
  50. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/railties/routes_helpers.rb +18 -0
  51. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/rendering.rb +178 -0
  52. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/translation.rb +13 -0
  53. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/url_for.rb +33 -0
  54. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller/view_paths.rb +96 -0
  55. data/vendor/bundle/gems/actionpack-3.2.1/lib/abstract_controller.rb +28 -0
  56. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/base.rb +236 -0
  57. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching/actions.rb +183 -0
  58. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching/fragments.rb +127 -0
  59. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching/pages.rb +187 -0
  60. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching/sweeping.rb +97 -0
  61. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/caching.rb +83 -0
  62. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/deprecated/integration_test.rb +2 -0
  63. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/deprecated/performance_test.rb +1 -0
  64. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/deprecated.rb +3 -0
  65. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/log_subscriber.rb +66 -0
  66. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/compatibility.rb +64 -0
  67. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/conditional_get.rb +131 -0
  68. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/cookies.rb +16 -0
  69. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/data_streaming.rb +157 -0
  70. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/exceptions.rb +46 -0
  71. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/flash.rb +28 -0
  72. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/force_ssl.rb +38 -0
  73. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/head.rb +34 -0
  74. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/helpers.rb +113 -0
  75. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/hide_actions.rb +47 -0
  76. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/http_authentication.rb +466 -0
  77. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/implicit_render.rb +19 -0
  78. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb +105 -0
  79. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/mime_responds.rb +310 -0
  80. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/params_wrapper.rb +238 -0
  81. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/rack_delegation.rb +26 -0
  82. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/redirecting.rb +99 -0
  83. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/renderers.rb +109 -0
  84. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/rendering.rb +65 -0
  85. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/request_forgery_protection.rb +113 -0
  86. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/rescue.rb +35 -0
  87. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/responder.rb +278 -0
  88. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/session_management.rb +9 -0
  89. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/streaming.rb +229 -0
  90. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/testing.rb +37 -0
  91. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal/url_for.rb +47 -0
  92. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/metal.rb +250 -0
  93. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/middleware.rb +39 -0
  94. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/railtie.rb +51 -0
  95. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/railties/paths.rb +25 -0
  96. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/record_identifier.rb +85 -0
  97. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/test_case.rb +548 -0
  98. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
  99. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/node.rb +532 -0
  100. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +177 -0
  101. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/selector.rb +830 -0
  102. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +107 -0
  103. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
  104. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller/vendor/html-scanner.rb +20 -0
  105. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_controller.rb +65 -0
  106. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/cache.rb +123 -0
  107. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/filter_parameters.rb +70 -0
  108. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/headers.rb +31 -0
  109. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/mime_negotiation.rb +110 -0
  110. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/mime_type.rb +274 -0
  111. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/mime_types.rb +35 -0
  112. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/parameter_filter.rb +74 -0
  113. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/parameters.rb +79 -0
  114. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/rack_cache.rb +62 -0
  115. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/request.rb +257 -0
  116. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/response.rb +206 -0
  117. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/upload.rb +47 -0
  118. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/http/url.rb +174 -0
  119. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/best_standards_support.rb +22 -0
  120. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/body_proxy.rb +30 -0
  121. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/callbacks.rb +32 -0
  122. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/cookies.rb +350 -0
  123. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/debug_exceptions.rb +82 -0
  124. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/exception_wrapper.rb +78 -0
  125. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/flash.rb +263 -0
  126. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/head.rb +18 -0
  127. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/params_parser.rb +75 -0
  128. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/public_exceptions.rb +30 -0
  129. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/reloader.rb +89 -0
  130. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/remote_ip.rb +81 -0
  131. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/request_id.rb +39 -0
  132. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/rescue.rb +26 -0
  133. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/session/abstract_store.rb +79 -0
  134. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/session/cache_store.rb +50 -0
  135. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/session/cookie_store.rb +71 -0
  136. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/session/mem_cache_store.rb +17 -0
  137. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/show_exceptions.rb +87 -0
  138. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/stack.rb +123 -0
  139. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/static.rb +56 -0
  140. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb +31 -0
  141. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb +26 -0
  142. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +10 -0
  143. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/layout.erb +32 -0
  144. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb +2 -0
  145. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb +15 -0
  146. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb +17 -0
  147. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb +2 -0
  148. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/railtie.rb +34 -0
  149. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/mapper.rb +1507 -0
  150. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/polymorphic_routes.rb +203 -0
  151. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/redirection.rb +114 -0
  152. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb +647 -0
  153. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/routes_proxy.rb +39 -0
  154. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing/url_for.rb +167 -0
  155. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/routing.rb +293 -0
  156. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/dom.rb +37 -0
  157. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/response.rb +96 -0
  158. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/routing.rb +217 -0
  159. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/selector.rb +434 -0
  160. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions/tag.rb +138 -0
  161. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/assertions.rb +18 -0
  162. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/integration.rb +479 -0
  163. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/performance_test.rb +10 -0
  164. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/test_process.rb +41 -0
  165. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/test_request.rb +74 -0
  166. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch/testing/test_response.rb +29 -0
  167. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_dispatch.rb +102 -0
  168. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_pack/version.rb +10 -0
  169. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_pack.rb +24 -0
  170. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/asset_paths.rb +136 -0
  171. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/base.rb +220 -0
  172. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/buffers.rb +43 -0
  173. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/context.rb +36 -0
  174. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/flows.rb +79 -0
  175. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/active_model_helper.rb +50 -0
  176. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_paths.rb +7 -0
  177. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helper.rb +457 -0
  178. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb +146 -0
  179. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helpers/asset_paths.rb +92 -0
  180. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +192 -0
  181. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb +148 -0
  182. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/atom_feed_helper.rb +200 -0
  183. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/cache_helper.rb +64 -0
  184. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/capture_helper.rb +203 -0
  185. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/controller_helper.rb +23 -0
  186. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/csrf_helper.rb +32 -0
  187. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/date_helper.rb +1051 -0
  188. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/debug_helper.rb +40 -0
  189. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/form_helper.rb +1480 -0
  190. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/form_options_helper.rb +658 -0
  191. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/form_tag_helper.rb +665 -0
  192. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/javascript_helper.rb +110 -0
  193. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/number_helper.rb +539 -0
  194. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/output_safety_helper.rb +38 -0
  195. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/record_tag_helper.rb +109 -0
  196. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/rendering_helper.rb +90 -0
  197. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/sanitize_helper.rb +259 -0
  198. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/tag_helper.rb +156 -0
  199. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/text_helper.rb +417 -0
  200. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/translation_helper.rb +88 -0
  201. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers/url_helper.rb +691 -0
  202. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/helpers.rb +60 -0
  203. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/locale/en.yml +160 -0
  204. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/log_subscriber.rb +28 -0
  205. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/lookup_context.rb +249 -0
  206. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/path_set.rb +89 -0
  207. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/railtie.rb +47 -0
  208. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/abstract_renderer.rb +41 -0
  209. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/partial_renderer.rb +407 -0
  210. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/renderer.rb +54 -0
  211. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/streaming_template_renderer.rb +106 -0
  212. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/renderer/template_renderer.rb +88 -0
  213. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/error.rb +128 -0
  214. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/handlers/builder.rb +26 -0
  215. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/handlers/erb.rb +113 -0
  216. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/handlers.rb +49 -0
  217. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/resolver.rb +258 -0
  218. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template/text.rb +30 -0
  219. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/template.rb +325 -0
  220. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/test_case.rb +244 -0
  221. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view/testing/resolvers.rb +50 -0
  222. data/vendor/bundle/gems/actionpack-3.2.1/lib/action_view.rb +84 -0
  223. data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/assets.rake +95 -0
  224. data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/bootstrap.rb +37 -0
  225. data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/compressors.rb +83 -0
  226. data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/helpers/isolated_helper.rb +13 -0
  227. data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/helpers/rails_helper.rb +167 -0
  228. data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/helpers.rb +6 -0
  229. data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/railtie.rb +62 -0
  230. data/vendor/bundle/gems/actionpack-3.2.1/lib/sprockets/static_compiler.rb +61 -0
  231. data/vendor/bundle/gems/activemodel-3.2.1/CHANGELOG.md +119 -0
  232. data/vendor/bundle/gems/activemodel-3.2.1/MIT-LICENSE +21 -0
  233. data/vendor/bundle/gems/activemodel-3.2.1/README.rdoc +211 -0
  234. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/attribute_methods.rb +452 -0
  235. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/callbacks.rb +134 -0
  236. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/conversion.rb +73 -0
  237. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/dirty.rb +167 -0
  238. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/errors.rb +370 -0
  239. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/lint.rb +123 -0
  240. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/locale/en.yml +27 -0
  241. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/mass_assignment_security/permission_set.rb +40 -0
  242. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/mass_assignment_security/sanitizer.rb +59 -0
  243. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/mass_assignment_security.rb +235 -0
  244. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/naming.rb +171 -0
  245. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/observer_array.rb +147 -0
  246. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/observing.rb +252 -0
  247. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/railtie.rb +2 -0
  248. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/secure_password.rb +74 -0
  249. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/serialization.rb +139 -0
  250. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/serializers/json.rb +108 -0
  251. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/serializers/xml.rb +195 -0
  252. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/test_case.rb +16 -0
  253. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/translation.rb +70 -0
  254. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/acceptance.rb +68 -0
  255. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/callbacks.rb +57 -0
  256. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/confirmation.rb +68 -0
  257. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/exclusion.rb +69 -0
  258. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/format.rb +94 -0
  259. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/inclusion.rb +69 -0
  260. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/length.rb +118 -0
  261. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/numericality.rb +130 -0
  262. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/presence.rb +46 -0
  263. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/validates.rb +138 -0
  264. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations/with.rb +145 -0
  265. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validations.rb +221 -0
  266. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/validator.rb +184 -0
  267. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model/version.rb +10 -0
  268. data/vendor/bundle/gems/activemodel-3.2.1/lib/active_model.rb +61 -0
  269. data/vendor/bundle/gems/activerecord-3.2.1/CHANGELOG.md +6749 -0
  270. data/vendor/bundle/gems/activerecord-3.2.1/MIT-LICENSE +20 -0
  271. data/vendor/bundle/gems/activerecord-3.2.1/README.rdoc +222 -0
  272. data/vendor/bundle/gems/activerecord-3.2.1/examples/associations.png +0 -0
  273. data/vendor/bundle/gems/activerecord-3.2.1/examples/performance.rb +177 -0
  274. data/vendor/bundle/gems/activerecord-3.2.1/examples/simple.rb +14 -0
  275. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/aggregations.rb +255 -0
  276. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/alias_tracker.rb +79 -0
  277. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/association.rb +239 -0
  278. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/association_scope.rb +119 -0
  279. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/belongs_to_association.rb +79 -0
  280. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/belongs_to_polymorphic_association.rb +34 -0
  281. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/association.rb +55 -0
  282. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/belongs_to.rb +85 -0
  283. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/collection_association.rb +75 -0
  284. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/has_and_belongs_to_many.rb +57 -0
  285. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/has_many.rb +71 -0
  286. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/has_one.rb +62 -0
  287. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/builder/singular_association.rb +32 -0
  288. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/collection_association.rb +574 -0
  289. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/collection_proxy.rb +132 -0
  290. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_and_belongs_to_many_association.rb +62 -0
  291. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_many_association.rb +108 -0
  292. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_many_through_association.rb +180 -0
  293. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_one_association.rb +73 -0
  294. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/has_one_through_association.rb +36 -0
  295. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_dependency/join_association.rb +154 -0
  296. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_dependency/join_base.rb +24 -0
  297. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_dependency/join_part.rb +78 -0
  298. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_dependency.rb +214 -0
  299. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/join_helper.rb +55 -0
  300. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/association.rb +127 -0
  301. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/belongs_to.rb +17 -0
  302. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/collection_association.rb +24 -0
  303. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_and_belongs_to_many.rb +60 -0
  304. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_many.rb +17 -0
  305. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_many_through.rb +15 -0
  306. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_one.rb +23 -0
  307. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/has_one_through.rb +9 -0
  308. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/singular_association.rb +21 -0
  309. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader/through_association.rb +67 -0
  310. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/preloader.rb +177 -0
  311. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/singular_association.rb +64 -0
  312. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations/through_association.rb +83 -0
  313. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/associations.rb +1604 -0
  314. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_assignment.rb +221 -0
  315. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/before_type_cast.rb +31 -0
  316. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/deprecated_underscore_read.rb +32 -0
  317. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/dirty.rb +101 -0
  318. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/primary_key.rb +114 -0
  319. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/query.rb +39 -0
  320. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/read.rb +135 -0
  321. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/serialization.rb +93 -0
  322. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/time_zone_conversion.rb +62 -0
  323. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods/write.rb +66 -0
  324. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/attribute_methods.rb +250 -0
  325. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/autosave_association.rb +422 -0
  326. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/base.rb +716 -0
  327. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/callbacks.rb +275 -0
  328. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/coders/yaml_column.rb +41 -0
  329. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb +452 -0
  330. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb +188 -0
  331. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/database_limits.rb +58 -0
  332. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb +388 -0
  333. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/query_cache.rb +82 -0
  334. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/quoting.rb +115 -0
  335. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/schema_definitions.rb +492 -0
  336. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/schema_statements.rb +598 -0
  337. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract_adapter.rb +296 -0
  338. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +653 -0
  339. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/column.rb +270 -0
  340. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb +288 -0
  341. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql_adapter.rb +426 -0
  342. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb +1261 -0
  343. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/schema_cache.rb +50 -0
  344. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/sqlite3_adapter.rb +55 -0
  345. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/sqlite_adapter.rb +577 -0
  346. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/connection_adapters/statement_pool.rb +40 -0
  347. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/counter_cache.rb +119 -0
  348. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/dynamic_finder_match.rb +56 -0
  349. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/dynamic_matchers.rb +79 -0
  350. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/dynamic_scope_match.rb +23 -0
  351. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/errors.rb +195 -0
  352. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/explain.rb +85 -0
  353. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/explain_subscriber.rb +21 -0
  354. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/fixtures/file.rb +65 -0
  355. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/fixtures.rb +906 -0
  356. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/identity_map.rb +156 -0
  357. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/inheritance.rb +167 -0
  358. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/integration.rb +49 -0
  359. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/locale/en.yml +40 -0
  360. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/locking/optimistic.rb +183 -0
  361. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/locking/pessimistic.rb +77 -0
  362. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/log_subscriber.rb +68 -0
  363. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/migration/command_recorder.rb +105 -0
  364. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/migration.rb +765 -0
  365. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/model_schema.rb +366 -0
  366. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/nested_attributes.rb +469 -0
  367. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/observer.rb +121 -0
  368. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/persistence.rb +372 -0
  369. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/query_cache.rb +74 -0
  370. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/querying.rb +58 -0
  371. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railtie.rb +119 -0
  372. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railties/console_sandbox.rb +6 -0
  373. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railties/controller_runtime.rb +49 -0
  374. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railties/databases.rake +620 -0
  375. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/railties/jdbcmysql_error.rb +16 -0
  376. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/readonly_attributes.rb +26 -0
  377. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/reflection.rb +534 -0
  378. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/batches.rb +90 -0
  379. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/calculations.rb +354 -0
  380. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/delegation.rb +49 -0
  381. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/finder_methods.rb +398 -0
  382. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/predicate_builder.rb +58 -0
  383. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/query_methods.rb +417 -0
  384. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation/spawn_methods.rb +148 -0
  385. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/relation.rb +534 -0
  386. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/result.rb +34 -0
  387. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/sanitization.rb +194 -0
  388. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/schema.rb +58 -0
  389. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/schema_dumper.rb +204 -0
  390. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/scoping/default.rb +142 -0
  391. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/scoping/named.rb +202 -0
  392. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/scoping.rb +152 -0
  393. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/serialization.rb +18 -0
  394. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/serializers/xml_serializer.rb +202 -0
  395. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/session_store.rb +358 -0
  396. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/store.rb +50 -0
  397. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/test_case.rb +73 -0
  398. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/timestamp.rb +113 -0
  399. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/transactions.rb +360 -0
  400. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/translation.rb +22 -0
  401. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/validations/associated.rb +43 -0
  402. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/validations/uniqueness.rb +180 -0
  403. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/validations.rb +83 -0
  404. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record/version.rb +10 -0
  405. data/vendor/bundle/gems/activerecord-3.2.1/lib/active_record.rb +147 -0
  406. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/migration/migration_generator.rb +25 -0
  407. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/migration/templates/migration.rb +31 -0
  408. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/migration.rb +15 -0
  409. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/model/model_generator.rb +43 -0
  410. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/model/templates/migration.rb +15 -0
  411. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/model/templates/model.rb +7 -0
  412. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/model/templates/module.rb +7 -0
  413. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/observer/observer_generator.rb +15 -0
  414. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/observer/templates/observer.rb +4 -0
  415. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/session_migration/session_migration_generator.rb +25 -0
  416. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record/session_migration/templates/migration.rb +12 -0
  417. data/vendor/bundle/gems/activerecord-3.2.1/lib/rails/generators/active_record.rb +25 -0
  418. data/vendor/bundle/gems/activeresource-3.2.1/CHANGELOG.md +339 -0
  419. data/vendor/bundle/gems/activeresource-3.2.1/MIT-LICENSE +20 -0
  420. data/vendor/bundle/gems/activeresource-3.2.1/README.rdoc +187 -0
  421. data/vendor/bundle/gems/activeresource-3.2.1/examples/performance.rb +70 -0
  422. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/base.rb +1483 -0
  423. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/connection.rb +287 -0
  424. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/custom_methods.rb +119 -0
  425. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/exceptions.rb +82 -0
  426. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/formats/json_format.rb +25 -0
  427. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/formats/xml_format.rb +25 -0
  428. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/formats.rb +22 -0
  429. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/http_mock.rb +335 -0
  430. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/log_subscriber.rb +15 -0
  431. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/observing.rb +29 -0
  432. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/railtie.rb +14 -0
  433. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/schema.rb +59 -0
  434. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/validations.rb +134 -0
  435. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource/version.rb +10 -0
  436. data/vendor/bundle/gems/activeresource-3.2.1/lib/active_resource.rb +45 -0
  437. data/vendor/bundle/gems/activesupport-3.2.1/CHANGELOG.md +1617 -0
  438. data/vendor/bundle/gems/activesupport-3.2.1/MIT-LICENSE +20 -0
  439. data/vendor/bundle/gems/activesupport-3.2.1/README.rdoc +33 -0
  440. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/all.rb +3 -0
  441. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/backtrace_cleaner.rb +99 -0
  442. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/base64.rb +52 -0
  443. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/basic_object.rb +21 -0
  444. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/benchmarkable.rb +55 -0
  445. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/buffered_logger.rb +125 -0
  446. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/builder.rb +6 -0
  447. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/file_store.rb +178 -0
  448. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/mem_cache_store.rb +206 -0
  449. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/memory_store.rb +159 -0
  450. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/null_store.rb +44 -0
  451. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache/strategy/local_cache.rb +169 -0
  452. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/cache.rb +639 -0
  453. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/callbacks.rb +626 -0
  454. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/concern.rb +129 -0
  455. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/configurable.rb +90 -0
  456. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/access.rb +46 -0
  457. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/conversions.rb +164 -0
  458. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/extract_options.rb +29 -0
  459. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/grouping.rb +100 -0
  460. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  461. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/random_access.rb +30 -0
  462. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/uniq_by.rb +16 -0
  463. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array/wrap.rb +48 -0
  464. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/array.rb +8 -0
  465. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/benchmark.rb +7 -0
  466. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/big_decimal/conversions.rb +45 -0
  467. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/big_decimal.rb +1 -0
  468. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class/attribute.rb +115 -0
  469. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class/attribute_accessors.rb +80 -0
  470. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
  471. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class/subclasses.rb +36 -0
  472. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/class.rb +4 -0
  473. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/acts_like.rb +8 -0
  474. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/calculations.rb +276 -0
  475. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/conversions.rb +106 -0
  476. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/freeze.rb +33 -0
  477. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date/zones.rb +14 -0
  478. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
  479. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date_time/calculations.rb +132 -0
  480. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date_time/conversions.rb +103 -0
  481. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/date_time/zones.rb +21 -0
  482. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/enumerable.rb +127 -0
  483. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/exception.rb +3 -0
  484. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/file/atomic.rb +41 -0
  485. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/file/path.rb +5 -0
  486. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/file.rb +2 -0
  487. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/float/rounding.rb +19 -0
  488. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/float.rb +1 -0
  489. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/conversions.rb +157 -0
  490. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/deep_dup.rb +11 -0
  491. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/deep_merge.rb +16 -0
  492. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/diff.rb +13 -0
  493. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/except.rb +23 -0
  494. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
  495. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/keys.rb +47 -0
  496. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/reverse_merge.rb +23 -0
  497. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash/slice.rb +40 -0
  498. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/hash.rb +9 -0
  499. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/integer/inflections.rb +17 -0
  500. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/integer/multiple.rb +6 -0
  501. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/integer/time.rb +39 -0
  502. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/integer.rb +3 -0
  503. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/io.rb +15 -0
  504. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  505. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel/debugger.rb +10 -0
  506. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel/reporting.rb +93 -0
  507. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
  508. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/kernel.rb +4 -0
  509. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/load_error.rb +23 -0
  510. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/logger.rb +83 -0
  511. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/aliasing.rb +70 -0
  512. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/anonymous.rb +24 -0
  513. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/attr_internal.rb +39 -0
  514. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/attribute_accessors.rb +64 -0
  515. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/delegation.rb +153 -0
  516. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/deprecation.rb +9 -0
  517. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/introspection.rb +88 -0
  518. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/method_names.rb +14 -0
  519. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/qualified_const.rb +64 -0
  520. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/reachable.rb +8 -0
  521. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/remove_method.rb +16 -0
  522. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module/synchronization.rb +45 -0
  523. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/module.rb +12 -0
  524. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/name_error.rb +18 -0
  525. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  526. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/numeric/time.rb +79 -0
  527. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/numeric.rb +2 -0
  528. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/acts_like.rb +10 -0
  529. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/blank.rb +121 -0
  530. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/conversions.rb +4 -0
  531. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/duplicable.rb +106 -0
  532. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/inclusion.rb +25 -0
  533. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/instance_variables.rb +33 -0
  534. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/to_json.rb +19 -0
  535. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/to_param.rb +55 -0
  536. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/to_query.rb +27 -0
  537. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/try.rb +53 -0
  538. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object/with_options.rb +43 -0
  539. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/object.rb +13 -0
  540. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/proc.rb +14 -0
  541. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/process/daemon.rb +23 -0
  542. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/process.rb +1 -0
  543. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/blockless_step.rb +29 -0
  544. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/conversions.rb +21 -0
  545. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/cover.rb +3 -0
  546. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/include_range.rb +21 -0
  547. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range/overlaps.rb +8 -0
  548. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/range.rb +5 -0
  549. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/regexp.rb +5 -0
  550. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/rexml.rb +46 -0
  551. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/access.rb +99 -0
  552. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/behavior.rb +6 -0
  553. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/conversions.rb +54 -0
  554. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb +11 -0
  555. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/exclude.rb +6 -0
  556. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/filters.rb +49 -0
  557. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/inflections.rb +202 -0
  558. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/inquiry.rb +13 -0
  559. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/interpolation.rb +2 -0
  560. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/multibyte.rb +72 -0
  561. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/output_safety.rb +183 -0
  562. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  563. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/strip.rb +26 -0
  564. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/xchar.rb +18 -0
  565. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string.rb +14 -0
  566. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/acts_like.rb +8 -0
  567. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/calculations.rb +344 -0
  568. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/conversions.rb +85 -0
  569. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/marshal.rb +57 -0
  570. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
  571. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/time/zones.rb +86 -0
  572. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/uri.rb +30 -0
  573. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext.rb +3 -0
  574. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/dependencies/autoload.rb +50 -0
  575. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/dependencies.rb +703 -0
  576. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation/behaviors.rb +49 -0
  577. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation/method_wrappers.rb +29 -0
  578. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
  579. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation/reporting.rb +65 -0
  580. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/deprecation.rb +18 -0
  581. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/descendants_tracker.rb +45 -0
  582. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/duration.rb +110 -0
  583. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/file_update_checker.rb +121 -0
  584. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/file_watcher.rb +36 -0
  585. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/gzip.rb +30 -0
  586. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/hash_with_indifferent_access.rb +168 -0
  587. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/i18n.rb +9 -0
  588. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/i18n_railtie.rb +102 -0
  589. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflections.rb +61 -0
  590. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflector/inflections.rb +172 -0
  591. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflector/methods.rb +320 -0
  592. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflector/transliterate.rb +98 -0
  593. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/inflector.rb +7 -0
  594. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/json/decoding.rb +65 -0
  595. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/json/encoding.rb +284 -0
  596. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/json/variable.rb +9 -0
  597. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/json.rb +2 -0
  598. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb +46 -0
  599. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/locale/en.yml +36 -0
  600. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/log_subscriber/test_helper.rb +101 -0
  601. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/log_subscriber.rb +122 -0
  602. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/memoizable.rb +116 -0
  603. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/message_encryptor.rb +103 -0
  604. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/message_verifier.rb +73 -0
  605. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte/chars.rb +476 -0
  606. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte/exceptions.rb +8 -0
  607. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte/unicode.rb +393 -0
  608. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte/utils.rb +60 -0
  609. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/multibyte.rb +44 -0
  610. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/notifications/fanout.rb +61 -0
  611. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/notifications/instrumenter.rb +53 -0
  612. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/notifications.rb +154 -0
  613. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/option_merger.rb +25 -0
  614. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/ordered_hash.rb +222 -0
  615. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/ordered_options.rb +61 -0
  616. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/railtie.rb +59 -0
  617. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/rescuable.rb +115 -0
  618. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/ruby/shim.rb +22 -0
  619. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/string_inquirer.rb +21 -0
  620. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/tagged_logging.rb +69 -0
  621. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/test_case.rb +34 -0
  622. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/assertions.rb +97 -0
  623. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/declarative.rb +40 -0
  624. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/deprecation.rb +55 -0
  625. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/isolation.rb +157 -0
  626. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb +7 -0
  627. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/pending.rb +52 -0
  628. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/jruby.rb +115 -0
  629. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/rubinius.rb +113 -0
  630. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/ruby/mri.rb +57 -0
  631. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/ruby/yarv.rb +57 -0
  632. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance/ruby.rb +152 -0
  633. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/performance.rb +317 -0
  634. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/setup_and_teardown.rb +111 -0
  635. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/time/autoload.rb +5 -0
  636. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/time.rb +35 -0
  637. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/time_with_zone.rb +354 -0
  638. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/values/time_zone.rb +395 -0
  639. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/values/unicode_tables.dat +0 -0
  640. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/version.rb +10 -0
  641. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/whiny_nil.rb +22 -0
  642. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/jdom.rb +175 -0
  643. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/libxml.rb +80 -0
  644. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/libxmlsax.rb +86 -0
  645. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/nokogiri.rb +84 -0
  646. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/nokogirisax.rb +88 -0
  647. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini/rexml.rb +130 -0
  648. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support/xml_mini.rb +168 -0
  649. data/vendor/bundle/gems/activesupport-3.2.1/lib/active_support.rb +82 -0
  650. data/vendor/bundle/gems/arel-3.0.0/Gemfile +11 -0
  651. data/vendor/bundle/gems/arel-3.0.0/History.txt +205 -0
  652. data/vendor/bundle/gems/arel-3.0.0/MIT-LICENSE.txt +20 -0
  653. data/vendor/bundle/gems/arel-3.0.0/Manifest.txt +119 -0
  654. data/vendor/bundle/gems/arel-3.0.0/README.markdown +118 -0
  655. data/vendor/bundle/gems/arel-3.0.0/Rakefile +19 -0
  656. data/vendor/bundle/gems/arel-3.0.0/arel.gemspec +36 -0
  657. data/vendor/bundle/gems/arel-3.0.0/lib/arel/alias_predication.rb +7 -0
  658. data/vendor/bundle/gems/arel-3.0.0/lib/arel/attributes/attribute.rb +27 -0
  659. data/vendor/bundle/gems/arel-3.0.0/lib/arel/attributes.rb +20 -0
  660. data/vendor/bundle/gems/arel-3.0.0/lib/arel/compatibility/wheres.rb +33 -0
  661. data/vendor/bundle/gems/arel-3.0.0/lib/arel/crud.rb +72 -0
  662. data/vendor/bundle/gems/arel-3.0.0/lib/arel/delete_manager.rb +18 -0
  663. data/vendor/bundle/gems/arel-3.0.0/lib/arel/deprecated.rb +4 -0
  664. data/vendor/bundle/gems/arel-3.0.0/lib/arel/expression.rb +5 -0
  665. data/vendor/bundle/gems/arel-3.0.0/lib/arel/expressions.rb +23 -0
  666. data/vendor/bundle/gems/arel-3.0.0/lib/arel/factory_methods.rb +43 -0
  667. data/vendor/bundle/gems/arel-3.0.0/lib/arel/insert_manager.rb +38 -0
  668. data/vendor/bundle/gems/arel-3.0.0/lib/arel/math.rb +19 -0
  669. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/and.rb +23 -0
  670. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/ascending.rb +23 -0
  671. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/binary.rb +40 -0
  672. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/count.rb +10 -0
  673. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/delete_statement.rb +19 -0
  674. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/descending.rb +23 -0
  675. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/equality.rb +9 -0
  676. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/false.rb +6 -0
  677. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/function.rb +30 -0
  678. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/in.rb +6 -0
  679. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/infix_operation.rb +44 -0
  680. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/inner_join.rb +6 -0
  681. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/insert_statement.rb +19 -0
  682. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/join_source.rb +18 -0
  683. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/named_function.rb +12 -0
  684. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/node.rb +46 -0
  685. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/ordering.rb +6 -0
  686. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/outer_join.rb +6 -0
  687. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/select_core.rb +40 -0
  688. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/select_statement.rb +24 -0
  689. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/sql_literal.rb +10 -0
  690. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/string_join.rb +9 -0
  691. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/table_alias.rb +17 -0
  692. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/terminal.rb +6 -0
  693. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/true.rb +6 -0
  694. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/unary.rb +29 -0
  695. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/unqualified_column.rb +20 -0
  696. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/update_statement.rb +23 -0
  697. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/values.rb +14 -0
  698. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/with.rb +10 -0
  699. data/vendor/bundle/gems/arel-3.0.0/lib/arel/nodes.rb +46 -0
  700. data/vendor/bundle/gems/arel-3.0.0/lib/arel/order_predications.rb +13 -0
  701. data/vendor/bundle/gems/arel-3.0.0/lib/arel/predications.rb +164 -0
  702. data/vendor/bundle/gems/arel-3.0.0/lib/arel/relation.rb +6 -0
  703. data/vendor/bundle/gems/arel-3.0.0/lib/arel/select_manager.rb +309 -0
  704. data/vendor/bundle/gems/arel-3.0.0/lib/arel/sql/engine.rb +10 -0
  705. data/vendor/bundle/gems/arel-3.0.0/lib/arel/sql_literal.rb +4 -0
  706. data/vendor/bundle/gems/arel-3.0.0/lib/arel/table.rb +147 -0
  707. data/vendor/bundle/gems/arel-3.0.0/lib/arel/tree_manager.rb +39 -0
  708. data/vendor/bundle/gems/arel-3.0.0/lib/arel/update_manager.rb +57 -0
  709. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/depth_first.rb +166 -0
  710. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/dot.rb +246 -0
  711. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/ibm_db.rb +12 -0
  712. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/informix.rb +33 -0
  713. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/join_sql.rb +19 -0
  714. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/mssql.rb +73 -0
  715. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/mysql.rb +56 -0
  716. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/oracle.rb +128 -0
  717. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/order_clauses.rb +11 -0
  718. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/postgresql.rb +19 -0
  719. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/sqlite.rb +16 -0
  720. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/to_sql.rb +428 -0
  721. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/visitor.rb +31 -0
  722. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors/where_sql.rb +9 -0
  723. data/vendor/bundle/gems/arel-3.0.0/lib/arel/visitors.rb +42 -0
  724. data/vendor/bundle/gems/arel-3.0.0/lib/arel.rb +47 -0
  725. data/vendor/bundle/gems/arel-3.0.0/test/attributes/test_attribute.rb +664 -0
  726. data/vendor/bundle/gems/arel-3.0.0/test/helper.rb +13 -0
  727. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_as.rb +22 -0
  728. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_ascending.rb +34 -0
  729. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_bin.rb +23 -0
  730. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_count.rb +27 -0
  731. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_delete_statement.rb +14 -0
  732. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_descending.rb +34 -0
  733. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_equality.rb +74 -0
  734. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_infix_operation.rb +30 -0
  735. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_insert_statement.rb +18 -0
  736. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_named_function.rb +30 -0
  737. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_node.rb +38 -0
  738. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_not.rb +17 -0
  739. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_or.rb +22 -0
  740. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_select_core.rb +31 -0
  741. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_select_statement.rb +13 -0
  742. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_sql_literal.rb +51 -0
  743. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_sum.rb +12 -0
  744. data/vendor/bundle/gems/arel-3.0.0/test/nodes/test_update_statement.rb +18 -0
  745. data/vendor/bundle/gems/arel-3.0.0/test/support/fake_record.rb +119 -0
  746. data/vendor/bundle/gems/arel-3.0.0/test/test_activerecord_compat.rb +18 -0
  747. data/vendor/bundle/gems/arel-3.0.0/test/test_attributes.rb +54 -0
  748. data/vendor/bundle/gems/arel-3.0.0/test/test_crud.rb +63 -0
  749. data/vendor/bundle/gems/arel-3.0.0/test/test_delete_manager.rb +42 -0
  750. data/vendor/bundle/gems/arel-3.0.0/test/test_factory_methods.rb +44 -0
  751. data/vendor/bundle/gems/arel-3.0.0/test/test_insert_manager.rb +144 -0
  752. data/vendor/bundle/gems/arel-3.0.0/test/test_select_manager.rb +998 -0
  753. data/vendor/bundle/gems/arel-3.0.0/test/test_table.rb +184 -0
  754. data/vendor/bundle/gems/arel-3.0.0/test/test_update_manager.rb +115 -0
  755. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_depth_first.rb +230 -0
  756. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_dot.rb +76 -0
  757. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_ibm_db.rb +27 -0
  758. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_informix.rb +42 -0
  759. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_join_sql.rb +42 -0
  760. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_mssql.rb +66 -0
  761. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_mysql.rb +55 -0
  762. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_oracle.rb +155 -0
  763. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_postgres.rb +48 -0
  764. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_sqlite.rb +23 -0
  765. data/vendor/bundle/gems/arel-3.0.0/test/visitors/test_to_sql.rb +347 -0
  766. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/Makefile +1 -1
  767. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/bcrypt_ext.bundle +0 -0
  768. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/lib/bcrypt_ext.bundle +0 -0
  769. data/vendor/bundle/gems/factory_girl-2.5.1/Appraisals +20 -0
  770. data/vendor/bundle/gems/factory_girl-2.5.1/CONTRIBUTION_GUIDELINES.md +10 -0
  771. data/vendor/bundle/gems/factory_girl-2.5.1/Changelog +128 -0
  772. data/vendor/bundle/gems/factory_girl-2.5.1/GETTING_STARTED.md +672 -0
  773. data/vendor/bundle/gems/factory_girl-2.5.1/Gemfile +5 -0
  774. data/vendor/bundle/gems/factory_girl-2.5.1/Gemfile.lock +92 -0
  775. data/vendor/bundle/gems/factory_girl-2.5.1/LICENSE +19 -0
  776. data/vendor/bundle/gems/factory_girl-2.5.1/README.md +70 -0
  777. data/vendor/bundle/gems/factory_girl-2.5.1/Rakefile +50 -0
  778. data/vendor/bundle/gems/factory_girl-2.5.1/cucumber.yml +1 -0
  779. data/vendor/bundle/gems/factory_girl-2.5.1/features/factory_girl_steps.feature +221 -0
  780. data/vendor/bundle/gems/factory_girl-2.5.1/features/find_definitions.feature +75 -0
  781. data/vendor/bundle/gems/factory_girl-2.5.1/features/step_definitions/database_steps.rb +42 -0
  782. data/vendor/bundle/gems/factory_girl-2.5.1/features/step_definitions/factory_girl_steps.rb +43 -0
  783. data/vendor/bundle/gems/factory_girl-2.5.1/features/support/env.rb +8 -0
  784. data/vendor/bundle/gems/factory_girl-2.5.1/features/support/factories.rb +115 -0
  785. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/2.1.gemfile +8 -0
  786. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/2.1.gemfile.lock +74 -0
  787. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/2.3.gemfile +7 -0
  788. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/2.3.gemfile.lock +72 -0
  789. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/3.0.gemfile +7 -0
  790. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/3.0.gemfile.lock +82 -0
  791. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/3.1.gemfile +7 -0
  792. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/3.1.gemfile.lock +92 -0
  793. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/3.2.gemfile +7 -0
  794. data/vendor/bundle/gems/factory_girl-2.5.1/gemfiles/3.2.gemfile.lock +90 -0
  795. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/aliases.rb +19 -0
  796. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/attribute/association.rb +23 -0
  797. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/attribute/dynamic.rb +20 -0
  798. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/attribute/sequence.rb +17 -0
  799. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/attribute/static.rb +15 -0
  800. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/attribute.rb +40 -0
  801. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/attribute_assigner.rb +73 -0
  802. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/attribute_list.rb +54 -0
  803. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/callback.rb +35 -0
  804. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/declaration/association.rb +25 -0
  805. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/declaration/dynamic.rb +25 -0
  806. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/declaration/implicit.rb +32 -0
  807. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/declaration/static.rb +25 -0
  808. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/declaration.rb +27 -0
  809. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/declaration_list.rb +48 -0
  810. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/definition.rb +76 -0
  811. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/definition_proxy.rb +169 -0
  812. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/deprecated.rb +18 -0
  813. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/evaluator.rb +65 -0
  814. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/evaluator_class_definer.rb +34 -0
  815. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/factory.rb +161 -0
  816. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/find_definitions.rb +25 -0
  817. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/null_factory.rb +16 -0
  818. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/null_object.rb +19 -0
  819. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/proxy/attributes_for.rb +9 -0
  820. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/proxy/build.rb +27 -0
  821. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/proxy/create.rb +13 -0
  822. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/proxy/stub.rb +62 -0
  823. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/proxy.rb +64 -0
  824. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/rails2.rb +8 -0
  825. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/registry.rb +46 -0
  826. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/reload.rb +8 -0
  827. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/sequence.rb +28 -0
  828. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/step_definitions.rb +130 -0
  829. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/syntax/blueprint.rb +42 -0
  830. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/syntax/default.rb +56 -0
  831. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/syntax/generate.rb +73 -0
  832. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/syntax/make.rb +45 -0
  833. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/syntax/methods.rb +152 -0
  834. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/syntax/sham.rb +45 -0
  835. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/syntax/vintage.rb +149 -0
  836. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/syntax.rb +16 -0
  837. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/trait.rb +29 -0
  838. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl/version.rb +4 -0
  839. data/vendor/bundle/gems/factory_girl-2.5.1/lib/factory_girl.rb +85 -0
  840. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/aliases_spec.rb +19 -0
  841. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/attribute_aliases_spec.rb +45 -0
  842. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/attribute_existing_on_object_spec.rb +68 -0
  843. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/attributes_for_spec.rb +89 -0
  844. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/attributes_from_instance_spec.rb +53 -0
  845. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/attributes_ordered_spec.rb +51 -0
  846. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/build_list_spec.rb +41 -0
  847. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/build_spec.rb +89 -0
  848. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/build_stubbed_spec.rb +104 -0
  849. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/callbacks_spec.rb +47 -0
  850. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/create_list_spec.rb +41 -0
  851. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/create_spec.rb +117 -0
  852. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/default_strategy_spec.rb +24 -0
  853. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/define_child_before_parent_spec.rb +21 -0
  854. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/definition_spec.rb +26 -0
  855. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/definition_without_block_spec.rb +15 -0
  856. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/initialize_with_spec.rb +147 -0
  857. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/modify_factories_spec.rb +184 -0
  858. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/modify_inherited_spec.rb +52 -0
  859. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/overrides_spec.rb +64 -0
  860. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/parent_spec.rb +90 -0
  861. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/sequence_spec.rb +33 -0
  862. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/stub_spec.rb +64 -0
  863. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/syntax/blueprint_spec.rb +31 -0
  864. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/syntax/generate_spec.rb +59 -0
  865. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/syntax/make_spec.rb +52 -0
  866. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/syntax/sham_spec.rb +43 -0
  867. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/syntax/vintage_spec.rb +235 -0
  868. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/traits_spec.rb +362 -0
  869. data/vendor/bundle/gems/factory_girl-2.5.1/spec/acceptance/transient_attributes_spec.rb +110 -0
  870. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/aliases_spec.rb +31 -0
  871. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/attribute/association_spec.rb +29 -0
  872. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/attribute/dynamic_spec.rb +52 -0
  873. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/attribute/sequence_spec.rb +16 -0
  874. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/attribute/static_spec.rb +19 -0
  875. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/attribute_list_spec.rb +78 -0
  876. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/attribute_spec.rb +17 -0
  877. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/callback_spec.rb +41 -0
  878. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/declaration/implicit_spec.rb +26 -0
  879. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/declaration_list_spec.rb +71 -0
  880. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/definition_proxy_spec.rb +197 -0
  881. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/definition_spec.rb +104 -0
  882. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/deprecated_spec.rb +45 -0
  883. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/evaluator_class_definer_spec.rb +54 -0
  884. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/factory_spec.rb +315 -0
  885. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/find_definitions_spec.rb +110 -0
  886. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/null_factory_spec.rb +14 -0
  887. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/null_object_spec.rb +8 -0
  888. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/proxy/attributes_for_spec.rb +18 -0
  889. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/proxy/build_spec.rb +7 -0
  890. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/proxy/create_spec.rb +13 -0
  891. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/proxy/stub_spec.rb +40 -0
  892. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/proxy_spec.rb +19 -0
  893. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/registry_spec.rb +81 -0
  894. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl/sequence_spec.rb +48 -0
  895. data/vendor/bundle/gems/factory_girl-2.5.1/spec/factory_girl_spec.rb +22 -0
  896. data/vendor/bundle/gems/factory_girl-2.5.1/spec/spec_helper.rb +25 -0
  897. data/vendor/bundle/gems/factory_girl-2.5.1/spec/support/macros/define_constant.rb +86 -0
  898. data/vendor/bundle/gems/factory_girl-2.5.1/spec/support/matchers/callback.rb +9 -0
  899. data/vendor/bundle/gems/factory_girl-2.5.1/spec/support/matchers/declaration.rb +71 -0
  900. data/vendor/bundle/gems/factory_girl-2.5.1/spec/support/matchers/delegate.rb +44 -0
  901. data/vendor/bundle/gems/factory_girl-2.5.1/spec/support/matchers/trait.rb +9 -0
  902. data/vendor/bundle/gems/factory_girl-2.5.1/spec/support/shared_examples/proxy.rb +90 -0
  903. data/vendor/bundle/gems/journey-1.0.1/CHANGELOG.rdoc +5 -0
  904. data/vendor/bundle/gems/journey-1.0.1/Gemfile +14 -0
  905. data/vendor/bundle/gems/journey-1.0.1/Manifest.txt +51 -0
  906. data/vendor/bundle/gems/journey-1.0.1/README.rdoc +48 -0
  907. data/vendor/bundle/gems/journey-1.0.1/Rakefile +32 -0
  908. data/vendor/bundle/gems/journey-1.0.1/journey.gemspec +48 -0
  909. data/vendor/bundle/gems/journey-1.0.1/lib/journey/backwards.rb +5 -0
  910. data/vendor/bundle/gems/journey-1.0.1/lib/journey/core-ext/hash.rb +11 -0
  911. data/vendor/bundle/gems/journey-1.0.1/lib/journey/formatter.rb +129 -0
  912. data/vendor/bundle/gems/journey-1.0.1/lib/journey/gtg/builder.rb +159 -0
  913. data/vendor/bundle/gems/journey-1.0.1/lib/journey/gtg/simulator.rb +44 -0
  914. data/vendor/bundle/gems/journey-1.0.1/lib/journey/gtg/transition_table.rb +152 -0
  915. data/vendor/bundle/gems/journey-1.0.1/lib/journey/nfa/builder.rb +74 -0
  916. data/vendor/bundle/gems/journey-1.0.1/lib/journey/nfa/dot.rb +34 -0
  917. data/vendor/bundle/gems/journey-1.0.1/lib/journey/nfa/simulator.rb +45 -0
  918. data/vendor/bundle/gems/journey-1.0.1/lib/journey/nfa/transition_table.rb +164 -0
  919. data/vendor/bundle/gems/journey-1.0.1/lib/journey/nodes/node.rb +122 -0
  920. data/vendor/bundle/gems/journey-1.0.1/lib/journey/parser.rb +204 -0
  921. data/vendor/bundle/gems/journey-1.0.1/lib/journey/parser.y +47 -0
  922. data/vendor/bundle/gems/journey-1.0.1/lib/journey/parser_extras.rb +21 -0
  923. data/vendor/bundle/gems/journey-1.0.1/lib/journey/path/pattern.rb +190 -0
  924. data/vendor/bundle/gems/journey-1.0.1/lib/journey/route.rb +95 -0
  925. data/vendor/bundle/gems/journey-1.0.1/lib/journey/router/strexp.rb +22 -0
  926. data/vendor/bundle/gems/journey-1.0.1/lib/journey/router/utils.rb +57 -0
  927. data/vendor/bundle/gems/journey-1.0.1/lib/journey/router.rb +145 -0
  928. data/vendor/bundle/gems/journey-1.0.1/lib/journey/routes.rb +75 -0
  929. data/vendor/bundle/gems/journey-1.0.1/lib/journey/scanner.rb +58 -0
  930. data/vendor/bundle/gems/journey-1.0.1/lib/journey/visitors.rb +186 -0
  931. data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/d3.min.js +2 -0
  932. data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/fsm.css +34 -0
  933. data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/fsm.js +134 -0
  934. data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/index.html.erb +50 -0
  935. data/vendor/bundle/gems/journey-1.0.1/lib/journey/visualizer/reset.css +48 -0
  936. data/vendor/bundle/gems/journey-1.0.1/lib/journey.rb +5 -0
  937. data/vendor/bundle/gems/journey-1.0.1/test/gtg/test_builder.rb +77 -0
  938. data/vendor/bundle/gems/journey-1.0.1/test/gtg/test_transition_table.rb +113 -0
  939. data/vendor/bundle/gems/journey-1.0.1/test/helper.rb +4 -0
  940. data/vendor/bundle/gems/journey-1.0.1/test/nfa/test_simulator.rb +96 -0
  941. data/vendor/bundle/gems/journey-1.0.1/test/nfa/test_transition_table.rb +70 -0
  942. data/vendor/bundle/gems/journey-1.0.1/test/nodes/test_symbol.rb +15 -0
  943. data/vendor/bundle/gems/journey-1.0.1/test/path/test_pattern.rb +282 -0
  944. data/vendor/bundle/gems/journey-1.0.1/test/route/definition/test_parser.rb +108 -0
  945. data/vendor/bundle/gems/journey-1.0.1/test/route/definition/test_scanner.rb +52 -0
  946. data/vendor/bundle/gems/journey-1.0.1/test/router/test_strexp.rb +30 -0
  947. data/vendor/bundle/gems/journey-1.0.1/test/router/test_utils.rb +19 -0
  948. data/vendor/bundle/gems/journey-1.0.1/test/test_route.rb +109 -0
  949. data/vendor/bundle/gems/journey-1.0.1/test/test_router.rb +530 -0
  950. data/vendor/bundle/gems/journey-1.0.1/test/test_routes.rb +51 -0
  951. data/vendor/bundle/gems/json-1.6.5/ext/json/ext/generator/Makefile +1 -1
  952. data/vendor/bundle/gems/json-1.6.5/ext/json/ext/generator/generator.bundle +0 -0
  953. data/vendor/bundle/gems/json-1.6.5/ext/json/ext/json/ext/generator.bundle +0 -0
  954. data/vendor/bundle/gems/json-1.6.5/ext/json/ext/json/ext/parser.bundle +0 -0
  955. data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/Makefile +1 -1
  956. data/vendor/bundle/gems/json-1.6.5/ext/json/ext/parser/parser.bundle +0 -0
  957. data/vendor/bundle/gems/mocha-0.10.3/COPYING.rdoc +3 -0
  958. data/vendor/bundle/gems/mocha-0.10.3/Gemfile +3 -0
  959. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.1.3.0 +7 -0
  960. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.1.4.0 +7 -0
  961. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.1.4.1 +7 -0
  962. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.1.4.2 +7 -0
  963. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.2.0.0 +7 -0
  964. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.2.0.1 +7 -0
  965. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.2.3.0 +7 -0
  966. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.minitest.latest +7 -0
  967. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.test-unit.2.0.0 +8 -0
  968. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.test-unit.2.0.1 +7 -0
  969. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.test-unit.2.0.3 +7 -0
  970. data/vendor/bundle/gems/mocha-0.10.3/Gemfile.test-unit.latest +7 -0
  971. data/vendor/bundle/gems/mocha-0.10.3/MIT-LICENSE.rdoc +7 -0
  972. data/vendor/bundle/gems/mocha-0.10.3/README.rdoc +57 -0
  973. data/vendor/bundle/gems/mocha-0.10.3/RELEASE.rdoc +367 -0
  974. data/vendor/bundle/gems/mocha-0.10.3/Rakefile +157 -0
  975. data/vendor/bundle/gems/mocha-0.10.3/examples/misc.rb +43 -0
  976. data/vendor/bundle/gems/mocha-0.10.3/examples/mocha.rb +25 -0
  977. data/vendor/bundle/gems/mocha-0.10.3/examples/stubba.rb +64 -0
  978. data/vendor/bundle/gems/mocha-0.10.3/init.rb +3 -0
  979. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/any_instance_method.rb +53 -0
  980. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/api.rb +173 -0
  981. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/argument_iterator.rb +21 -0
  982. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/backtrace_filter.rb +17 -0
  983. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/cardinality.rb +95 -0
  984. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/central.rb +33 -0
  985. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/change_state_side_effect.rb +19 -0
  986. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/class_method.rb +91 -0
  987. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/configuration.rb +79 -0
  988. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/deprecation.rb +22 -0
  989. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/exception_raiser.rb +17 -0
  990. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation.rb +509 -0
  991. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_error.rb +15 -0
  992. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_list.rb +54 -0
  993. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/in_state_ordering_constraint.rb +19 -0
  994. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/inspect.rb +67 -0
  995. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/instance_method.rb +32 -0
  996. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/assertion_counter.rb +23 -0
  997. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/exception_translation.rb +20 -0
  998. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_13.rb +44 -0
  999. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_140.rb +45 -0
  1000. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_141.rb +56 -0
  1001. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_142_to_172.rb +56 -0
  1002. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_200.rb +57 -0
  1003. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_201_to_222.rb +57 -0
  1004. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test/version_230_to_262.rb +59 -0
  1005. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/mini_test.rb +54 -0
  1006. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/assertion_counter.rb +23 -0
  1007. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/gem_version_200.rb +52 -0
  1008. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/gem_version_201_to_202.rb +52 -0
  1009. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/gem_version_203_to_220.rb +52 -0
  1010. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/gem_version_230_to_240.rb +58 -0
  1011. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_185_and_below.rb +51 -0
  1012. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb +53 -0
  1013. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration/test_unit.rb +57 -0
  1014. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/integration.rb +38 -0
  1015. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/is_a.rb +9 -0
  1016. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/logger.rb +15 -0
  1017. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/method_matcher.rb +21 -0
  1018. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/mock.rb +205 -0
  1019. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/mockery.rb +181 -0
  1020. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/module_method.rb +16 -0
  1021. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/multiple_yields.rb +20 -0
  1022. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/names.rb +53 -0
  1023. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/no_yields.rb +11 -0
  1024. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/object.rb +223 -0
  1025. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/options.rb +1 -0
  1026. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/all_of.rb +42 -0
  1027. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/any_of.rb +47 -0
  1028. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/any_parameters.rb +40 -0
  1029. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/anything.rb +33 -0
  1030. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/base.rb +63 -0
  1031. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/equals.rb +42 -0
  1032. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/has_entries.rb +45 -0
  1033. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/has_entry.rb +57 -0
  1034. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/has_key.rb +43 -0
  1035. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/has_value.rb +43 -0
  1036. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/includes.rb +41 -0
  1037. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/instance_of.rb +42 -0
  1038. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/is_a.rb +42 -0
  1039. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/kind_of.rb +42 -0
  1040. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/not.rb +42 -0
  1041. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/object.rb +15 -0
  1042. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/optionally.rb +55 -0
  1043. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/query_string.rb +47 -0
  1044. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/regexp_matches.rb +44 -0
  1045. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/responds_with.rb +43 -0
  1046. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers/yaml_equivalent.rb +43 -0
  1047. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameter_matchers.rb +28 -0
  1048. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/parameters_matcher.rb +37 -0
  1049. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/pretty_parameters.rb +28 -0
  1050. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/return_values.rb +31 -0
  1051. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/sequence.rb +42 -0
  1052. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/single_return_value.rb +17 -0
  1053. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/single_yield.rb +18 -0
  1054. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/standalone.rb +1 -0
  1055. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/state_machine.rb +91 -0
  1056. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/stubbing_error.rb +16 -0
  1057. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/thrower.rb +15 -0
  1058. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/unexpected_invocation.rb +18 -0
  1059. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/version.rb +3 -0
  1060. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha/yield_parameters.rb +31 -0
  1061. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha.rb +4 -0
  1062. data/vendor/bundle/gems/mocha-0.10.3/lib/mocha_standalone.rb +2 -0
  1063. data/vendor/bundle/gems/mocha-0.10.3/lib/stubba.rb +4 -0
  1064. data/vendor/bundle/gems/mocha-0.10.3/mocha.gemspec +46 -0
  1065. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/acceptance_test_helper.rb +41 -0
  1066. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/api_test.rb +139 -0
  1067. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/bug_18914_test.rb +43 -0
  1068. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/bug_21465_test.rb +34 -0
  1069. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/bug_21563_test.rb +25 -0
  1070. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/exception_rescue_test.rb +55 -0
  1071. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/expectations_on_multiple_methods_test.rb +55 -0
  1072. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/expected_invocation_count_test.rb +232 -0
  1073. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/failure_messages_test.rb +64 -0
  1074. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/minitest_test.rb +162 -0
  1075. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mocha_example_test.rb +98 -0
  1076. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mocha_test_result_test.rb +84 -0
  1077. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mock_test.rb +100 -0
  1078. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mock_with_initializer_block_test.rb +51 -0
  1079. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/mocked_methods_dispatch_test.rb +78 -0
  1080. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/multiple_expectations_failure_message_test.rb +68 -0
  1081. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/optional_parameters_test.rb +70 -0
  1082. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/parameter_matcher_test.rb +300 -0
  1083. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/partial_mocks_test.rb +47 -0
  1084. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/raise_exception_test.rb +39 -0
  1085. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/return_value_test.rb +52 -0
  1086. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/sequence_test.rb +186 -0
  1087. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/states_test.rb +70 -0
  1088. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_any_instance_method_test.rb +199 -0
  1089. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_class_method_defined_on_active_record_association_proxy_test.rb +106 -0
  1090. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_class_method_defined_on_class_test.rb +72 -0
  1091. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_class_method_defined_on_module_test.rb +75 -0
  1092. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_class_method_defined_on_superclass_test.rb +75 -0
  1093. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_everything_test.rb +56 -0
  1094. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_active_record_association_proxy_test.rb +93 -0
  1095. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_class_and_aliased_test.rb +69 -0
  1096. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_class_test.rb +66 -0
  1097. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_kernel_module_test.rb +75 -0
  1098. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_module_test.rb +75 -0
  1099. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_object_class_test.rb +75 -0
  1100. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_singleton_class_test.rb +70 -0
  1101. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_instance_method_defined_on_superclass_test.rb +72 -0
  1102. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_module_method_test.rb +163 -0
  1103. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stub_test.rb +52 -0
  1104. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubba_example_test.rb +102 -0
  1105. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubba_test.rb +15 -0
  1106. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubba_test_result_test.rb +66 -0
  1107. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_error_backtrace_test.rb +64 -0
  1108. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_method_unnecessarily_test.rb +65 -0
  1109. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_existent_any_instance_method_test.rb +130 -0
  1110. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_existent_class_method_test.rb +157 -0
  1111. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_existent_instance_method_test.rb +147 -0
  1112. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_public_any_instance_method_test.rb +130 -0
  1113. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_public_class_method_test.rb +163 -0
  1114. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_non_public_instance_method_test.rb +143 -0
  1115. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/stubbing_on_non_mock_object_test.rb +64 -0
  1116. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/throw_test.rb +45 -0
  1117. data/vendor/bundle/gems/mocha-0.10.3/test/acceptance/unstubbing_test.rb +151 -0
  1118. data/vendor/bundle/gems/mocha-0.10.3/test/deprecation_disabler.rb +15 -0
  1119. data/vendor/bundle/gems/mocha-0.10.3/test/execution_point.rb +36 -0
  1120. data/vendor/bundle/gems/mocha-0.10.3/test/method_definer.rb +24 -0
  1121. data/vendor/bundle/gems/mocha-0.10.3/test/mini_test_result.rb +83 -0
  1122. data/vendor/bundle/gems/mocha-0.10.3/test/simple_counter.rb +13 -0
  1123. data/vendor/bundle/gems/mocha-0.10.3/test/test_helper.rb +11 -0
  1124. data/vendor/bundle/gems/mocha-0.10.3/test/test_runner.rb +50 -0
  1125. data/vendor/bundle/gems/mocha-0.10.3/test/unit/any_instance_method_test.rb +130 -0
  1126. data/vendor/bundle/gems/mocha-0.10.3/test/unit/array_inspect_test.rb +16 -0
  1127. data/vendor/bundle/gems/mocha-0.10.3/test/unit/backtrace_filter_test.rb +19 -0
  1128. data/vendor/bundle/gems/mocha-0.10.3/test/unit/cardinality_test.rb +56 -0
  1129. data/vendor/bundle/gems/mocha-0.10.3/test/unit/central_test.rb +95 -0
  1130. data/vendor/bundle/gems/mocha-0.10.3/test/unit/change_state_side_effect_test.rb +41 -0
  1131. data/vendor/bundle/gems/mocha-0.10.3/test/unit/class_method_test.rb +238 -0
  1132. data/vendor/bundle/gems/mocha-0.10.3/test/unit/configuration_test.rb +38 -0
  1133. data/vendor/bundle/gems/mocha-0.10.3/test/unit/date_time_inspect_test.rb +21 -0
  1134. data/vendor/bundle/gems/mocha-0.10.3/test/unit/exception_raiser_test.rb +42 -0
  1135. data/vendor/bundle/gems/mocha-0.10.3/test/unit/expectation_list_test.rb +71 -0
  1136. data/vendor/bundle/gems/mocha-0.10.3/test/unit/expectation_test.rb +480 -0
  1137. data/vendor/bundle/gems/mocha-0.10.3/test/unit/hash_inspect_test.rb +16 -0
  1138. data/vendor/bundle/gems/mocha-0.10.3/test/unit/in_state_ordering_constraint_test.rb +43 -0
  1139. data/vendor/bundle/gems/mocha-0.10.3/test/unit/method_matcher_test.rb +23 -0
  1140. data/vendor/bundle/gems/mocha-0.10.3/test/unit/mock_test.rb +309 -0
  1141. data/vendor/bundle/gems/mocha-0.10.3/test/unit/mockery_test.rb +150 -0
  1142. data/vendor/bundle/gems/mocha-0.10.3/test/unit/multiple_yields_test.rb +18 -0
  1143. data/vendor/bundle/gems/mocha-0.10.3/test/unit/no_yields_test.rb +18 -0
  1144. data/vendor/bundle/gems/mocha-0.10.3/test/unit/object_inspect_test.rb +38 -0
  1145. data/vendor/bundle/gems/mocha-0.10.3/test/unit/object_test.rb +87 -0
  1146. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/all_of_test.rb +26 -0
  1147. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/any_of_test.rb +26 -0
  1148. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/anything_test.rb +21 -0
  1149. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/equals_test.rb +25 -0
  1150. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/has_entries_test.rb +51 -0
  1151. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/has_entry_test.rb +82 -0
  1152. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/has_key_test.rb +55 -0
  1153. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/has_value_test.rb +57 -0
  1154. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/includes_test.rb +44 -0
  1155. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/instance_of_test.rb +25 -0
  1156. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/is_a_test.rb +25 -0
  1157. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/kind_of_test.rb +25 -0
  1158. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/not_test.rb +26 -0
  1159. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/regexp_matches_test.rb +46 -0
  1160. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/responds_with_test.rb +25 -0
  1161. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/stub_matcher.rb +27 -0
  1162. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameter_matchers/yaml_equivalent_test.rb +25 -0
  1163. data/vendor/bundle/gems/mocha-0.10.3/test/unit/parameters_matcher_test.rb +121 -0
  1164. data/vendor/bundle/gems/mocha-0.10.3/test/unit/return_values_test.rb +63 -0
  1165. data/vendor/bundle/gems/mocha-0.10.3/test/unit/sequence_test.rb +104 -0
  1166. data/vendor/bundle/gems/mocha-0.10.3/test/unit/single_return_value_test.rb +14 -0
  1167. data/vendor/bundle/gems/mocha-0.10.3/test/unit/single_yield_test.rb +18 -0
  1168. data/vendor/bundle/gems/mocha-0.10.3/test/unit/state_machine_test.rb +98 -0
  1169. data/vendor/bundle/gems/mocha-0.10.3/test/unit/string_inspect_test.rb +11 -0
  1170. data/vendor/bundle/gems/mocha-0.10.3/test/unit/thrower_test.rb +20 -0
  1171. data/vendor/bundle/gems/mocha-0.10.3/test/unit/yield_parameters_test.rb +93 -0
  1172. data/vendor/bundle/gems/multi_json-1.0.4/Gemfile +6 -0
  1173. data/vendor/bundle/gems/multi_json-1.0.4/LICENSE.md +20 -0
  1174. data/vendor/bundle/gems/multi_json-1.0.4/README.md +94 -0
  1175. data/vendor/bundle/gems/multi_json-1.0.4/Rakefile +25 -0
  1176. data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/json_common.rb +27 -0
  1177. data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/json_gem.rb +12 -0
  1178. data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/json_pure.rb +12 -0
  1179. data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/ok_json.rb +48 -0
  1180. data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/engines/yajl.rb +18 -0
  1181. data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/vendor/ok_json.rb +587 -0
  1182. data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json/version.rb +3 -0
  1183. data/vendor/bundle/gems/multi_json-1.0.4/lib/multi_json.rb +85 -0
  1184. data/vendor/bundle/gems/multi_json-1.0.4/multi_json.gemspec +22 -0
  1185. data/vendor/bundle/gems/multi_json-1.0.4/spec/helper.rb +35 -0
  1186. data/vendor/bundle/gems/multi_json-1.0.4/spec/multi_json_spec.rb +178 -0
  1187. data/vendor/bundle/gems/rack-cache-1.1/CHANGES +232 -0
  1188. data/vendor/bundle/gems/rack-cache-1.1/COPYING +18 -0
  1189. data/vendor/bundle/gems/rack-cache-1.1/Gemfile +2 -0
  1190. data/vendor/bundle/gems/rack-cache-1.1/Gemfile.lock +22 -0
  1191. data/vendor/bundle/gems/rack-cache-1.1/README +126 -0
  1192. data/vendor/bundle/gems/rack-cache-1.1/Rakefile +139 -0
  1193. data/vendor/bundle/gems/rack-cache-1.1/TODO +27 -0
  1194. data/vendor/bundle/gems/rack-cache-1.1/doc/configuration.markdown +127 -0
  1195. data/vendor/bundle/gems/rack-cache-1.1/doc/faq.markdown +148 -0
  1196. data/vendor/bundle/gems/rack-cache-1.1/doc/index.markdown +121 -0
  1197. data/vendor/bundle/gems/rack-cache-1.1/doc/layout.html.erb +34 -0
  1198. data/vendor/bundle/gems/rack-cache-1.1/doc/license.markdown +24 -0
  1199. data/vendor/bundle/gems/rack-cache-1.1/doc/rack-cache.css +362 -0
  1200. data/vendor/bundle/gems/rack-cache-1.1/doc/server.ru +34 -0
  1201. data/vendor/bundle/gems/rack-cache-1.1/doc/storage.markdown +164 -0
  1202. data/vendor/bundle/gems/rack-cache-1.1/example/sinatra/app.rb +21 -0
  1203. data/vendor/bundle/gems/rack-cache-1.1/example/sinatra/views/index.erb +44 -0
  1204. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/appengine.rb +52 -0
  1205. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/cachecontrol.rb +194 -0
  1206. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/context.rb +275 -0
  1207. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/entitystore.rb +341 -0
  1208. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/key.rb +52 -0
  1209. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/metastore.rb +418 -0
  1210. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/options.rb +157 -0
  1211. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/request.rb +33 -0
  1212. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/response.rb +255 -0
  1213. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache/storage.rb +62 -0
  1214. data/vendor/bundle/gems/rack-cache-1.1/lib/rack/cache.rb +45 -0
  1215. data/vendor/bundle/gems/rack-cache-1.1/lib/rack-cache.rb +1 -0
  1216. data/vendor/bundle/gems/rack-cache-1.1/rack-cache.gemspec +76 -0
  1217. data/vendor/bundle/gems/rack-cache-1.1/test/cache_test.rb +38 -0
  1218. data/vendor/bundle/gems/rack-cache-1.1/test/cachecontrol_test.rb +145 -0
  1219. data/vendor/bundle/gems/rack-cache-1.1/test/context_test.rb +881 -0
  1220. data/vendor/bundle/gems/rack-cache-1.1/test/entitystore_test.rb +268 -0
  1221. data/vendor/bundle/gems/rack-cache-1.1/test/key_test.rb +50 -0
  1222. data/vendor/bundle/gems/rack-cache-1.1/test/metastore_test.rb +338 -0
  1223. data/vendor/bundle/gems/rack-cache-1.1/test/options_test.rb +77 -0
  1224. data/vendor/bundle/gems/rack-cache-1.1/test/pony.jpg +0 -0
  1225. data/vendor/bundle/gems/rack-cache-1.1/test/request_test.rb +19 -0
  1226. data/vendor/bundle/gems/rack-cache-1.1/test/response_test.rb +184 -0
  1227. data/vendor/bundle/gems/rack-cache-1.1/test/spec_setup.rb +232 -0
  1228. data/vendor/bundle/gems/rack-cache-1.1/test/storage_test.rb +94 -0
  1229. data/vendor/bundle/gems/railties-3.2.1/CHANGELOG.md +2429 -0
  1230. data/vendor/bundle/gems/railties-3.2.1/README.rdoc +35 -0
  1231. data/vendor/bundle/gems/railties-3.2.1/bin/rails +7 -0
  1232. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/belongs_to.png +0 -0
  1233. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/book_icon.gif +0 -0
  1234. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/bullet.gif +0 -0
  1235. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/challenge.png +0 -0
  1236. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/chapters_icon.gif +0 -0
  1237. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/check_bullet.gif +0 -0
  1238. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/credits_pic_blank.gif +0 -0
  1239. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/csrf.png +0 -0
  1240. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/customized_error_messages.png +0 -0
  1241. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/edge_badge.png +0 -0
  1242. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/error_messages.png +0 -0
  1243. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/feature_tile.gif +0 -0
  1244. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/footer_tile.gif +0 -0
  1245. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/fxn.png +0 -0
  1246. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/grey_bullet.gif +0 -0
  1247. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/habtm.png +0 -0
  1248. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/has_many.png +0 -0
  1249. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/has_many_through.png +0 -0
  1250. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/has_one.png +0 -0
  1251. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/has_one_through.png +0 -0
  1252. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/header_backdrop.png +0 -0
  1253. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/header_tile.gif +0 -0
  1254. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_html_safe.png +0 -0
  1255. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_localized_pirate.png +0 -0
  1256. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_translated_en.png +0 -0
  1257. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_translated_pirate.png +0 -0
  1258. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_translation_missing.png +0 -0
  1259. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/i18n/demo_untranslated.png +0 -0
  1260. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/README +5 -0
  1261. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/1.png +0 -0
  1262. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/10.png +0 -0
  1263. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/11.png +0 -0
  1264. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/12.png +0 -0
  1265. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/13.png +0 -0
  1266. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/14.png +0 -0
  1267. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/15.png +0 -0
  1268. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/2.png +0 -0
  1269. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/3.png +0 -0
  1270. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/4.png +0 -0
  1271. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/5.png +0 -0
  1272. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/6.png +0 -0
  1273. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/7.png +0 -0
  1274. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/8.png +0 -0
  1275. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/callouts/9.png +0 -0
  1276. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/caution.png +0 -0
  1277. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/example.png +0 -0
  1278. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/home.png +0 -0
  1279. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/important.png +0 -0
  1280. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/next.png +0 -0
  1281. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/note.png +0 -0
  1282. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/prev.png +0 -0
  1283. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/tip.png +0 -0
  1284. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/up.png +0 -0
  1285. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/icons/warning.png +0 -0
  1286. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/jaimeiniesta.jpg +0 -0
  1287. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/nav_arrow.gif +0 -0
  1288. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/polymorphic.png +0 -0
  1289. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/posts_index.png +0 -0
  1290. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/radar.png +0 -0
  1291. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/rails_guides_kindle_cover.jpg +0 -0
  1292. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/rails_guides_logo.gif +0 -0
  1293. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/rails_logo_remix.gif +0 -0
  1294. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/rails_welcome.png +0 -0
  1295. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/session_fixation.png +0 -0
  1296. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_grey.gif +0 -0
  1297. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_info.gif +0 -0
  1298. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_note.gif +0 -0
  1299. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_red.gif +0 -0
  1300. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_yellow.gif +0 -0
  1301. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/tab_yellow.png +0 -0
  1302. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/validation_error_messages.png +0 -0
  1303. data/vendor/bundle/gems/railties-3.2.1/guides/assets/images/vijaydev.jpg +0 -0
  1304. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/guides.js +7 -0
  1305. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
  1306. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
  1307. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
  1308. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
  1309. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
  1310. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
  1311. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
  1312. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
  1313. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
  1314. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
  1315. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
  1316. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
  1317. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
  1318. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
  1319. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
  1320. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
  1321. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
  1322. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
  1323. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
  1324. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
  1325. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
  1326. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
  1327. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
  1328. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
  1329. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
  1330. data/vendor/bundle/gems/railties-3.2.1/guides/assets/javascripts/syntaxhighlighter/shCore.js +17 -0
  1331. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/fixes.css +16 -0
  1332. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/kindle.css +11 -0
  1333. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/main.css +453 -0
  1334. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/print.css +52 -0
  1335. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/reset.css +43 -0
  1336. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/style.css +13 -0
  1337. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCore.css +226 -0
  1338. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
  1339. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
  1340. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
  1341. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
  1342. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
  1343. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
  1344. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
  1345. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
  1346. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
  1347. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
  1348. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
  1349. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
  1350. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
  1351. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
  1352. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
  1353. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
  1354. data/vendor/bundle/gems/railties-3.2.1/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
  1355. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/Gemfile +38 -0
  1356. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/README.rdoc +261 -0
  1357. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/Rakefile +7 -0
  1358. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/images/rails.png +0 -0
  1359. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/javascripts/application.js +15 -0
  1360. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/javascripts/comments.js.coffee +3 -0
  1361. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/javascripts/home.js.coffee +3 -0
  1362. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/javascripts/posts.js.coffee +3 -0
  1363. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/application.css +13 -0
  1364. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/comments.css.scss +3 -0
  1365. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/home.css.scss +3 -0
  1366. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/posts.css.scss +3 -0
  1367. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/assets/stylesheets/scaffolds.css.scss +56 -0
  1368. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/controllers/application_controller.rb +3 -0
  1369. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/controllers/comments_controller.rb +16 -0
  1370. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/controllers/home_controller.rb +5 -0
  1371. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/controllers/posts_controller.rb +84 -0
  1372. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/helpers/application_helper.rb +2 -0
  1373. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/helpers/comments_helper.rb +2 -0
  1374. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/helpers/home_helper.rb +2 -0
  1375. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/helpers/posts_helper.rb +5 -0
  1376. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/models/comment.rb +3 -0
  1377. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/models/post.rb +11 -0
  1378. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/models/tag.rb +3 -0
  1379. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/comments/_comment.html.erb +15 -0
  1380. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/comments/_form.html.erb +13 -0
  1381. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/home/index.html.erb +2 -0
  1382. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/layouts/application.html.erb +14 -0
  1383. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/_form.html.erb +32 -0
  1384. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/edit.html.erb +6 -0
  1385. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/index.html.erb +27 -0
  1386. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/new.html.erb +5 -0
  1387. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/posts/show.html.erb +31 -0
  1388. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/app/views/tags/_form.html.erb +12 -0
  1389. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/application.rb +59 -0
  1390. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/boot.rb +6 -0
  1391. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/database.yml +25 -0
  1392. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/environment.rb +5 -0
  1393. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/environments/development.rb +37 -0
  1394. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/environments/production.rb +67 -0
  1395. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/environments/test.rb +37 -0
  1396. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/backtrace_silencers.rb +7 -0
  1397. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/inflections.rb +15 -0
  1398. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/mime_types.rb +5 -0
  1399. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/secret_token.rb +7 -0
  1400. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/session_store.rb +8 -0
  1401. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/initializers/wrap_parameters.rb +14 -0
  1402. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/locales/en.yml +5 -0
  1403. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config/routes.rb +64 -0
  1404. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/config.ru +4 -0
  1405. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/migrate/20110901012504_create_posts.rb +11 -0
  1406. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/migrate/20110901012815_create_comments.rb +12 -0
  1407. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/migrate/20110901013701_create_tags.rb +11 -0
  1408. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/schema.rb +43 -0
  1409. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/db/seeds.rb +7 -0
  1410. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/doc/README_FOR_APP +2 -0
  1411. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/404.html +26 -0
  1412. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/422.html +26 -0
  1413. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/500.html +25 -0
  1414. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/favicon.ico +0 -0
  1415. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/public/robots.txt +5 -0
  1416. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/script/rails +6 -0
  1417. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/fixtures/comments.yml +11 -0
  1418. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/fixtures/posts.yml +11 -0
  1419. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/fixtures/tags.yml +9 -0
  1420. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/functional/comments_controller_test.rb +7 -0
  1421. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/functional/home_controller_test.rb +9 -0
  1422. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/functional/posts_controller_test.rb +49 -0
  1423. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/performance/browsing_test.rb +12 -0
  1424. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/test_helper.rb +13 -0
  1425. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/comment_test.rb +7 -0
  1426. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/helpers/comments_helper_test.rb +4 -0
  1427. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/helpers/home_helper_test.rb +4 -0
  1428. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/helpers/posts_helper_test.rb +4 -0
  1429. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/post_test.rb +7 -0
  1430. data/vendor/bundle/gems/railties-3.2.1/guides/code/getting_started/test/unit/tag_test.rb +7 -0
  1431. data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/generator.rb +310 -0
  1432. data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/helpers.rb +45 -0
  1433. data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/indexer.rb +69 -0
  1434. data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/levenshtein.rb +31 -0
  1435. data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides/textile_extensions.rb +63 -0
  1436. data/vendor/bundle/gems/railties-3.2.1/guides/rails_guides.rb +50 -0
  1437. data/vendor/bundle/gems/railties-3.2.1/guides/source/2_2_release_notes.textile +422 -0
  1438. data/vendor/bundle/gems/railties-3.2.1/guides/source/2_3_release_notes.textile +610 -0
  1439. data/vendor/bundle/gems/railties-3.2.1/guides/source/3_0_release_notes.textile +595 -0
  1440. data/vendor/bundle/gems/railties-3.2.1/guides/source/3_1_release_notes.textile +431 -0
  1441. data/vendor/bundle/gems/railties-3.2.1/guides/source/3_2_release_notes.textile +540 -0
  1442. data/vendor/bundle/gems/railties-3.2.1/guides/source/_license.html.erb +2 -0
  1443. data/vendor/bundle/gems/railties-3.2.1/guides/source/_welcome.html.erb +19 -0
  1444. data/vendor/bundle/gems/railties-3.2.1/guides/source/action_controller_overview.textile +819 -0
  1445. data/vendor/bundle/gems/railties-3.2.1/guides/source/action_mailer_basics.textile +516 -0
  1446. data/vendor/bundle/gems/railties-3.2.1/guides/source/action_view_overview.textile +1497 -0
  1447. data/vendor/bundle/gems/railties-3.2.1/guides/source/active_model_basics.textile +205 -0
  1448. data/vendor/bundle/gems/railties-3.2.1/guides/source/active_record_basics.textile +218 -0
  1449. data/vendor/bundle/gems/railties-3.2.1/guides/source/active_record_querying.textile +1431 -0
  1450. data/vendor/bundle/gems/railties-3.2.1/guides/source/active_record_validations_callbacks.textile +1283 -0
  1451. data/vendor/bundle/gems/railties-3.2.1/guides/source/active_resource_basics.textile +120 -0
  1452. data/vendor/bundle/gems/railties-3.2.1/guides/source/active_support_core_extensions.textile +3713 -0
  1453. data/vendor/bundle/gems/railties-3.2.1/guides/source/ajax_on_rails.textile +267 -0
  1454. data/vendor/bundle/gems/railties-3.2.1/guides/source/api_documentation_guidelines.textile +185 -0
  1455. data/vendor/bundle/gems/railties-3.2.1/guides/source/asset_pipeline.textile +707 -0
  1456. data/vendor/bundle/gems/railties-3.2.1/guides/source/association_basics.textile +1860 -0
  1457. data/vendor/bundle/gems/railties-3.2.1/guides/source/caching_with_rails.textile +435 -0
  1458. data/vendor/bundle/gems/railties-3.2.1/guides/source/command_line.textile +574 -0
  1459. data/vendor/bundle/gems/railties-3.2.1/guides/source/configuring.textile +641 -0
  1460. data/vendor/bundle/gems/railties-3.2.1/guides/source/contributing_to_ruby_on_rails.textile +391 -0
  1461. data/vendor/bundle/gems/railties-3.2.1/guides/source/credits.html.erb +72 -0
  1462. data/vendor/bundle/gems/railties-3.2.1/guides/source/debugging_rails_applications.textile +714 -0
  1463. data/vendor/bundle/gems/railties-3.2.1/guides/source/documents.yaml +157 -0
  1464. data/vendor/bundle/gems/railties-3.2.1/guides/source/engines.textile +618 -0
  1465. data/vendor/bundle/gems/railties-3.2.1/guides/source/form_helpers.textile +798 -0
  1466. data/vendor/bundle/gems/railties-3.2.1/guides/source/generators.textile +621 -0
  1467. data/vendor/bundle/gems/railties-3.2.1/guides/source/getting_started.textile +1914 -0
  1468. data/vendor/bundle/gems/railties-3.2.1/guides/source/i18n.textile +931 -0
  1469. data/vendor/bundle/gems/railties-3.2.1/guides/source/index.html.erb +30 -0
  1470. data/vendor/bundle/gems/railties-3.2.1/guides/source/initialization.textile +1116 -0
  1471. data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/KINDLE.md +26 -0
  1472. data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/copyright.html.erb +1 -0
  1473. data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/layout.html.erb +27 -0
  1474. data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/rails_guides.opf.erb +52 -0
  1475. data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/toc.html.erb +24 -0
  1476. data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/toc.ncx.erb +64 -0
  1477. data/vendor/bundle/gems/railties-3.2.1/guides/source/kindle/welcome.html.erb +5 -0
  1478. data/vendor/bundle/gems/railties-3.2.1/guides/source/layout.html.erb +124 -0
  1479. data/vendor/bundle/gems/railties-3.2.1/guides/source/layouts_and_rendering.textile +1237 -0
  1480. data/vendor/bundle/gems/railties-3.2.1/guides/source/migrations.textile +900 -0
  1481. data/vendor/bundle/gems/railties-3.2.1/guides/source/nested_model_forms.textile +222 -0
  1482. data/vendor/bundle/gems/railties-3.2.1/guides/source/performance_testing.textile +597 -0
  1483. data/vendor/bundle/gems/railties-3.2.1/guides/source/plugins.textile +464 -0
  1484. data/vendor/bundle/gems/railties-3.2.1/guides/source/rails_application_templates.textile +240 -0
  1485. data/vendor/bundle/gems/railties-3.2.1/guides/source/rails_on_rack.textile +236 -0
  1486. data/vendor/bundle/gems/railties-3.2.1/guides/source/routing.textile +885 -0
  1487. data/vendor/bundle/gems/railties-3.2.1/guides/source/ruby_on_rails_guides_guidelines.textile +79 -0
  1488. data/vendor/bundle/gems/railties-3.2.1/guides/source/security.textile +1004 -0
  1489. data/vendor/bundle/gems/railties-3.2.1/guides/source/testing.textile +947 -0
  1490. data/vendor/bundle/gems/railties-3.2.1/guides/w3c_validator.rb +91 -0
  1491. data/vendor/bundle/gems/railties-3.2.1/lib/rails/all.rb +15 -0
  1492. data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/bootstrap.rb +73 -0
  1493. data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/configuration.rb +151 -0
  1494. data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/finisher.rb +98 -0
  1495. data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/railties.rb +13 -0
  1496. data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/route_inspector.rb +84 -0
  1497. data/vendor/bundle/gems/railties-3.2.1/lib/rails/application/routes_reloader.rb +56 -0
  1498. data/vendor/bundle/gems/railties-3.2.1/lib/rails/application.rb +315 -0
  1499. data/vendor/bundle/gems/railties-3.2.1/lib/rails/backtrace_cleaner.rb +42 -0
  1500. data/vendor/bundle/gems/railties-3.2.1/lib/rails/cli.rb +16 -0
  1501. data/vendor/bundle/gems/railties-3.2.1/lib/rails/code_statistics.rb +118 -0
  1502. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/application.rb +38 -0
  1503. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/benchmarker.rb +34 -0
  1504. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/console.rb +55 -0
  1505. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/dbconsole.rb +123 -0
  1506. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/destroy.rb +10 -0
  1507. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/generate.rb +12 -0
  1508. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/plugin.rb +544 -0
  1509. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/plugin_new.rb +11 -0
  1510. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/profiler.rb +32 -0
  1511. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/runner.rb +54 -0
  1512. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/server.rb +100 -0
  1513. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands/update.rb +9 -0
  1514. data/vendor/bundle/gems/railties-3.2.1/lib/rails/commands.rb +100 -0
  1515. data/vendor/bundle/gems/railties-3.2.1/lib/rails/configuration.rb +89 -0
  1516. data/vendor/bundle/gems/railties-3.2.1/lib/rails/console/app.rb +36 -0
  1517. data/vendor/bundle/gems/railties-3.2.1/lib/rails/console/helpers.rb +11 -0
  1518. data/vendor/bundle/gems/railties-3.2.1/lib/rails/engine/commands.rb +39 -0
  1519. data/vendor/bundle/gems/railties-3.2.1/lib/rails/engine/configuration.rb +84 -0
  1520. data/vendor/bundle/gems/railties-3.2.1/lib/rails/engine/railties.rb +33 -0
  1521. data/vendor/bundle/gems/railties-3.2.1/lib/rails/engine.rb +657 -0
  1522. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/actions.rb +325 -0
  1523. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/active_model.rb +78 -0
  1524. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/app_base.rb +281 -0
  1525. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/base.rb +376 -0
  1526. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/css/assets/assets_generator.rb +13 -0
  1527. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
  1528. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
  1529. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/controller/controller_generator.rb +20 -0
  1530. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
  1531. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/mailer/mailer_generator.rb +13 -0
  1532. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
  1533. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/scaffold_generator.rb +29 -0
  1534. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/_form.html.erb +23 -0
  1535. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
  1536. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/index.html.erb +27 -0
  1537. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
  1538. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb/scaffold/templates/show.html.erb +12 -0
  1539. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/erb.rb +21 -0
  1540. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/generated_attribute.rb +107 -0
  1541. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/js/assets/assets_generator.rb +13 -0
  1542. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/js/assets/templates/javascript.js +2 -0
  1543. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/migration.rb +68 -0
  1544. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/named_base.rb +198 -0
  1545. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/USAGE +15 -0
  1546. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/app_generator.rb +303 -0
  1547. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/Gemfile +26 -0
  1548. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/README +261 -0
  1549. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/Rakefile +7 -0
  1550. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/assets/images/rails.png +0 -0
  1551. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +17 -0
  1552. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +13 -0
  1553. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +3 -0
  1554. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
  1555. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +14 -0
  1556. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/application.rb +71 -0
  1557. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/boot.rb +6 -0
  1558. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +31 -0
  1559. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +86 -0
  1560. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +62 -0
  1561. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +33 -0
  1562. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +43 -0
  1563. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +20 -0
  1564. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +54 -0
  1565. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +39 -0
  1566. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +55 -0
  1567. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
  1568. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
  1569. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +41 -0
  1570. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +73 -0
  1571. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +39 -0
  1572. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
  1573. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +15 -0
  1574. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +5 -0
  1575. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt +7 -0
  1576. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +8 -0
  1577. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
  1578. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/locales/en.yml +5 -0
  1579. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config/routes.rb +58 -0
  1580. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/config.ru +4 -0
  1581. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
  1582. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/doc/README_FOR_APP +2 -0
  1583. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/gitignore +15 -0
  1584. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/404.html +26 -0
  1585. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/422.html +26 -0
  1586. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/500.html +25 -0
  1587. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
  1588. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/index.html +241 -0
  1589. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
  1590. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/script/rails +5 -0
  1591. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb +12 -0
  1592. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/app/templates/test/test_helper.rb +15 -0
  1593. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/assets/USAGE +20 -0
  1594. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
  1595. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
  1596. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
  1597. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/controller/USAGE +18 -0
  1598. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/controller/controller_generator.rb +20 -0
  1599. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/controller/templates/controller.rb +9 -0
  1600. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/generator/USAGE +12 -0
  1601. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/generator/generator_generator.rb +25 -0
  1602. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
  1603. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
  1604. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/helper/USAGE +17 -0
  1605. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
  1606. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
  1607. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/integration_test/USAGE +10 -0
  1608. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
  1609. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/migration/USAGE +29 -0
  1610. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
  1611. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/model/USAGE +45 -0
  1612. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/model/model_generator.rb +8 -0
  1613. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/observer/USAGE +12 -0
  1614. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/observer/observer_generator.rb +7 -0
  1615. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/performance_test/USAGE +10 -0
  1616. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/performance_test/performance_test_generator.rb +7 -0
  1617. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/USAGE +10 -0
  1618. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +318 -0
  1619. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +27 -0
  1620. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/Gemfile +23 -0
  1621. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE +20 -0
  1622. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/README.rdoc +3 -0
  1623. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/Rakefile +31 -0
  1624. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt +4 -0
  1625. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt +4 -0
  1626. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt +14 -0
  1627. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/config/routes.rb +6 -0
  1628. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/gitignore +7 -0
  1629. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb +7 -0
  1630. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb +3 -0
  1631. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb +6 -0
  1632. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake +4 -0
  1633. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +18 -0
  1634. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb +10 -0
  1635. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/rails/routes.rb +4 -0
  1636. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/script/rails.tt +7 -0
  1637. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb +7 -0
  1638. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +12 -0
  1639. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +10 -0
  1640. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/resource/USAGE +23 -0
  1641. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/resource/resource_generator.rb +26 -0
  1642. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold/USAGE +35 -0
  1643. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold/scaffold_generator.rb +23 -0
  1644. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold/templates/scaffold.css +56 -0
  1645. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold_controller/USAGE +20 -0
  1646. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +25 -0
  1647. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +85 -0
  1648. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/session_migration/USAGE +8 -0
  1649. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/session_migration/session_migration_generator.rb +8 -0
  1650. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/task/USAGE +9 -0
  1651. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/task/task_generator.rb +12 -0
  1652. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/rails/task/templates/task.rb +8 -0
  1653. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/resource_helpers.rb +80 -0
  1654. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_case.rb +247 -0
  1655. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
  1656. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/controller/templates/functional_test.rb +19 -0
  1657. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/helper/helper_generator.rb +13 -0
  1658. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/helper/templates/helper_test.rb +6 -0
  1659. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
  1660. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
  1661. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/mailer/mailer_generator.rb +14 -0
  1662. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
  1663. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/model/model_generator.rb +24 -0
  1664. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/model/templates/fixtures.yml +23 -0
  1665. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
  1666. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/observer/observer_generator.rb +13 -0
  1667. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/observer/templates/unit_test.rb +9 -0
  1668. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/performance/performance_generator.rb +13 -0
  1669. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/performance/templates/performance_test.rb +12 -0
  1670. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
  1671. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
  1672. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +3 -0
  1673. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +17 -0
  1674. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +51 -0
  1675. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators/test_unit.rb +8 -0
  1676. data/vendor/bundle/gems/railties-3.2.1/lib/rails/generators.rb +337 -0
  1677. data/vendor/bundle/gems/railties-3.2.1/lib/rails/info.rb +116 -0
  1678. data/vendor/bundle/gems/railties-3.2.1/lib/rails/info_controller.rb +15 -0
  1679. data/vendor/bundle/gems/railties-3.2.1/lib/rails/initializable.rb +89 -0
  1680. data/vendor/bundle/gems/railties-3.2.1/lib/rails/paths.rb +182 -0
  1681. data/vendor/bundle/gems/railties-3.2.1/lib/rails/performance_test_help.rb +3 -0
  1682. data/vendor/bundle/gems/railties-3.2.1/lib/rails/plugin.rb +92 -0
  1683. data/vendor/bundle/gems/railties-3.2.1/lib/rails/rack/debugger.rb +24 -0
  1684. data/vendor/bundle/gems/railties-3.2.1/lib/rails/rack/log_tailer.rb +30 -0
  1685. data/vendor/bundle/gems/railties-3.2.1/lib/rails/rack/logger.rb +47 -0
  1686. data/vendor/bundle/gems/railties-3.2.1/lib/rails/rack.rb +7 -0
  1687. data/vendor/bundle/gems/railties-3.2.1/lib/rails/railtie/configurable.rb +35 -0
  1688. data/vendor/bundle/gems/railties-3.2.1/lib/rails/railtie/configuration.rb +90 -0
  1689. data/vendor/bundle/gems/railties-3.2.1/lib/rails/railtie.rb +202 -0
  1690. data/vendor/bundle/gems/railties-3.2.1/lib/rails/ruby_version_check.rb +23 -0
  1691. data/vendor/bundle/gems/railties-3.2.1/lib/rails/rubyprof_ext.rb +35 -0
  1692. data/vendor/bundle/gems/railties-3.2.1/lib/rails/script_rails_loader.rb +29 -0
  1693. data/vendor/bundle/gems/railties-3.2.1/lib/rails/source_annotation_extractor.rb +104 -0
  1694. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/annotations.rake +20 -0
  1695. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/documentation.rake +155 -0
  1696. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/engine.rake +72 -0
  1697. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/framework.rake +76 -0
  1698. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/log.rake +9 -0
  1699. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/middleware.rake +7 -0
  1700. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/misc.rake +67 -0
  1701. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/routes.rake +9 -0
  1702. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/statistics.rake +16 -0
  1703. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks/tmp.rake +37 -0
  1704. data/vendor/bundle/gems/railties-3.2.1/lib/rails/tasks.rb +16 -0
  1705. data/vendor/bundle/gems/railties-3.2.1/lib/rails/test_help.rb +56 -0
  1706. data/vendor/bundle/gems/railties-3.2.1/lib/rails/test_unit/railtie.rb +15 -0
  1707. data/vendor/bundle/gems/railties-3.2.1/lib/rails/test_unit/sub_test_task.rb +36 -0
  1708. data/vendor/bundle/gems/railties-3.2.1/lib/rails/test_unit/testing.rake +132 -0
  1709. data/vendor/bundle/gems/railties-3.2.1/lib/rails/version.rb +10 -0
  1710. data/vendor/bundle/gems/railties-3.2.1/lib/rails.rb +126 -0
  1711. data/vendor/bundle/gems/rdiscount-1.6.8/ext/Makefile +1 -1
  1712. data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkmf.log +5 -5
  1713. data/vendor/bundle/gems/rdiscount-1.6.8/ext/rdiscount.bundle +0 -0
  1714. data/vendor/bundle/gems/rdiscount-1.6.8/lib/rdiscount.bundle +0 -0
  1715. data/vendor/bundle/gems/simplecov-0.5.4/CHANGELOG.md +92 -0
  1716. data/vendor/bundle/gems/simplecov-0.5.4/Gemfile +9 -0
  1717. data/vendor/bundle/gems/simplecov-0.5.4/LICENSE +20 -0
  1718. data/vendor/bundle/gems/simplecov-0.5.4/README.md +414 -0
  1719. data/vendor/bundle/gems/simplecov-0.5.4/Rakefile +14 -0
  1720. data/vendor/bundle/gems/simplecov-0.5.4/cucumber.yml +13 -0
  1721. data/vendor/bundle/gems/simplecov-0.5.4/features/config_adapters.feature +44 -0
  1722. data/vendor/bundle/gems/simplecov-0.5.4/features/config_autoload.feature +46 -0
  1723. data/vendor/bundle/gems/simplecov-0.5.4/features/config_command_name.feature +33 -0
  1724. data/vendor/bundle/gems/simplecov-0.5.4/features/config_coverage_dir.feature +20 -0
  1725. data/vendor/bundle/gems/simplecov-0.5.4/features/config_deactivate_merging.feature +42 -0
  1726. data/vendor/bundle/gems/simplecov-0.5.4/features/config_merge_timeout.feature +38 -0
  1727. data/vendor/bundle/gems/simplecov-0.5.4/features/config_nocov_token.feature +79 -0
  1728. data/vendor/bundle/gems/simplecov-0.5.4/features/config_project_name.feature +27 -0
  1729. data/vendor/bundle/gems/simplecov-0.5.4/features/config_styles.feature +93 -0
  1730. data/vendor/bundle/gems/simplecov-0.5.4/features/cucumber_basic.feature +29 -0
  1731. data/vendor/bundle/gems/simplecov-0.5.4/features/merging_test_unit_and_rspec.feature +44 -0
  1732. data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_basic.feature +31 -0
  1733. data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_fails_on_initialization.feature +14 -0
  1734. data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_groups_and_filters_basic.feature +29 -0
  1735. data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_groups_and_filters_complex.feature +35 -0
  1736. data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_groups_using_filter_class.feature +40 -0
  1737. data/vendor/bundle/gems/simplecov-0.5.4/features/rspec_without_simplecov.feature +20 -0
  1738. data/vendor/bundle/gems/simplecov-0.5.4/features/skipping_code_blocks_manually.feature +70 -0
  1739. data/vendor/bundle/gems/simplecov-0.5.4/features/step_definitions/html_steps.rb +45 -0
  1740. data/vendor/bundle/gems/simplecov-0.5.4/features/step_definitions/simplecov_steps.rb +61 -0
  1741. data/vendor/bundle/gems/simplecov-0.5.4/features/step_definitions/transformers.rb +13 -0
  1742. data/vendor/bundle/gems/simplecov-0.5.4/features/step_definitions/web_steps.rb +64 -0
  1743. data/vendor/bundle/gems/simplecov-0.5.4/features/support/env.rb +26 -0
  1744. data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_basic.feature +34 -0
  1745. data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_groups_and_filters_basic.feature +29 -0
  1746. data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_groups_and_filters_complex.feature +35 -0
  1747. data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_groups_using_filter_class.feature +40 -0
  1748. data/vendor/bundle/gems/simplecov-0.5.4/features/test_unit_without_simplecov.feature +20 -0
  1749. data/vendor/bundle/gems/simplecov-0.5.4/features/unicode_compatiblity.feature +67 -0
  1750. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/adapters.rb +29 -0
  1751. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/command_guesser.rb +21 -0
  1752. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/configuration.rb +213 -0
  1753. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/defaults.rb +53 -0
  1754. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/file_list.rb +44 -0
  1755. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/filter.rb +44 -0
  1756. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/formatter/simple_formatter.rb +19 -0
  1757. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/formatter.rb +7 -0
  1758. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/merge_helpers.rb +39 -0
  1759. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/result.rb +125 -0
  1760. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/result_merger.rb +80 -0
  1761. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/source_file.rb +173 -0
  1762. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov/version.rb +3 -0
  1763. data/vendor/bundle/gems/simplecov-0.5.4/lib/simplecov.rb +120 -0
  1764. data/vendor/bundle/gems/simplecov-0.5.4/simplecov.gemspec +28 -0
  1765. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/Gemfile +6 -0
  1766. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/Rakefile +8 -0
  1767. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/cucumber.yml +13 -0
  1768. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/features/step_definitions/my_steps.rb +23 -0
  1769. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/features/support/env.rb +12 -0
  1770. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/features/test_stuff.feature +6 -0
  1771. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/lib/faked_project/framework_specific.rb +18 -0
  1772. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/lib/faked_project/meta_magic.rb +24 -0
  1773. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/lib/faked_project/some_class.rb +29 -0
  1774. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/lib/faked_project.rb +11 -0
  1775. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/spec/faked_spec.rb +11 -0
  1776. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/spec/meta_magic_spec.rb +10 -0
  1777. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/spec/some_class_spec.rb +10 -0
  1778. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/spec/spec_helper.rb +15 -0
  1779. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/test/faked_test.rb +11 -0
  1780. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/test/meta_magic_test.rb +13 -0
  1781. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/test/some_class_test.rb +15 -0
  1782. data/vendor/bundle/gems/simplecov-0.5.4/test/faked_project/test/test_helper.rb +16 -0
  1783. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/app/controllers/sample_controller.rb +10 -0
  1784. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/app/models/user.rb +10 -0
  1785. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/deleted_source_sample.rb +15 -0
  1786. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/frameworks/rspec_bad.rb +9 -0
  1787. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/frameworks/rspec_good.rb +9 -0
  1788. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/frameworks/testunit_bad.rb +9 -0
  1789. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/frameworks/testunit_good.rb +9 -0
  1790. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/resultset1.rb +4 -0
  1791. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/resultset2.rb +5 -0
  1792. data/vendor/bundle/gems/simplecov-0.5.4/test/fixtures/sample.rb +16 -0
  1793. data/vendor/bundle/gems/simplecov-0.5.4/test/helper.rb +35 -0
  1794. data/vendor/bundle/gems/simplecov-0.5.4/test/shoulda_macros.rb +29 -0
  1795. data/vendor/bundle/gems/simplecov-0.5.4/test/test_1_8_fallbacks.rb +33 -0
  1796. data/vendor/bundle/gems/simplecov-0.5.4/test/test_command_guesser.rb +20 -0
  1797. data/vendor/bundle/gems/simplecov-0.5.4/test/test_deleted_source.rb +16 -0
  1798. data/vendor/bundle/gems/simplecov-0.5.4/test/test_file_list.rb +24 -0
  1799. data/vendor/bundle/gems/simplecov-0.5.4/test/test_filters.rb +80 -0
  1800. data/vendor/bundle/gems/simplecov-0.5.4/test/test_merge_helpers.rb +107 -0
  1801. data/vendor/bundle/gems/simplecov-0.5.4/test/test_result.rb +147 -0
  1802. data/vendor/bundle/gems/simplecov-0.5.4/test/test_return_codes.rb +39 -0
  1803. data/vendor/bundle/gems/simplecov-0.5.4/test/test_source_file.rb +75 -0
  1804. data/vendor/bundle/gems/simplecov-0.5.4/test/test_source_file_line.rb +110 -0
  1805. data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/Makefile +1 -1
  1806. data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/mkmf.log +18 -18
  1807. data/vendor/bundle/gems/sqlite3-1.3.5/ext/sqlite3/sqlite3_native.bundle +0 -0
  1808. data/vendor/bundle/gems/sqlite3-1.3.5/lib/sqlite3/sqlite3_native.bundle +0 -0
  1809. data/vendor/bundle/gems/tzinfo-0.3.31/CHANGES +453 -0
  1810. data/vendor/bundle/gems/tzinfo-0.3.31/LICENSE +19 -0
  1811. data/vendor/bundle/gems/tzinfo-0.3.31/README +101 -0
  1812. data/vendor/bundle/gems/tzinfo-0.3.31/Rakefile +241 -0
  1813. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/country.rb +176 -0
  1814. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/country_index_definition.rb +48 -0
  1815. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/country_info.rb +80 -0
  1816. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/country_timezone.rb +101 -0
  1817. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/data_timezone.rb +45 -0
  1818. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/data_timezone_info.rb +222 -0
  1819. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Abidjan.rb +16 -0
  1820. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Accra.rb +31 -0
  1821. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Addis_Ababa.rb +18 -0
  1822. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Algiers.rb +53 -0
  1823. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Asmara.rb +20 -0
  1824. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Asmera.rb +11 -0
  1825. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Bamako.rb +19 -0
  1826. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Bangui.rb +16 -0
  1827. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Banjul.rb +20 -0
  1828. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Bissau.rb +18 -0
  1829. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Blantyre.rb +16 -0
  1830. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Brazzaville.rb +16 -0
  1831. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Bujumbura.rb +16 -0
  1832. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Cairo.rb +139 -0
  1833. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Casablanca.rb +44 -0
  1834. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Ceuta.rb +170 -0
  1835. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Conakry.rb +19 -0
  1836. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Dakar.rb +18 -0
  1837. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb +19 -0
  1838. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Djibouti.rb +16 -0
  1839. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Douala.rb +16 -0
  1840. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/El_Aaiun.rb +18 -0
  1841. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Freetown.rb +51 -0
  1842. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Gaborone.rb +19 -0
  1843. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Harare.rb +16 -0
  1844. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Johannesburg.rb +23 -0
  1845. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Juba.rb +51 -0
  1846. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Kampala.rb +21 -0
  1847. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Khartoum.rb +51 -0
  1848. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Kigali.rb +16 -0
  1849. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Kinshasa.rb +16 -0
  1850. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Lagos.rb +16 -0
  1851. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Libreville.rb +16 -0
  1852. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Lome.rb +16 -0
  1853. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Luanda.rb +18 -0
  1854. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Lubumbashi.rb +16 -0
  1855. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Lusaka.rb +16 -0
  1856. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Malabo.rb +18 -0
  1857. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Maputo.rb +16 -0
  1858. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Maseru.rb +19 -0
  1859. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Mbabane.rb +16 -0
  1860. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Mogadishu.rb +19 -0
  1861. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Monrovia.rb +20 -0
  1862. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Nairobi.rb +21 -0
  1863. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Ndjamena.rb +19 -0
  1864. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Niamey.rb +20 -0
  1865. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Nouakchott.rb +19 -0
  1866. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Ouagadougou.rb +16 -0
  1867. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb +18 -0
  1868. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Sao_Tome.rb +18 -0
  1869. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Timbuktu.rb +11 -0
  1870. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Tripoli.rb +46 -0
  1871. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Tunis.rb +51 -0
  1872. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Africa/Windhoek.rb +138 -0
  1873. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Adak.rb +194 -0
  1874. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Anchorage.rb +194 -0
  1875. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Anguilla.rb +16 -0
  1876. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Antigua.rb +18 -0
  1877. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Araguaina.rb +65 -0
  1878. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +82 -0
  1879. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Catamarca.rb +83 -0
  1880. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb +13 -0
  1881. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Cordoba.rb +83 -0
  1882. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Jujuy.rb +82 -0
  1883. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/La_Rioja.rb +84 -0
  1884. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Mendoza.rb +84 -0
  1885. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb +83 -0
  1886. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Salta.rb +81 -0
  1887. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/San_Juan.rb +84 -0
  1888. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/San_Luis.rb +85 -0
  1889. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Tucuman.rb +85 -0
  1890. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Argentina/Ushuaia.rb +83 -0
  1891. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Aruba.rb +18 -0
  1892. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Asuncion.rb +172 -0
  1893. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Atikokan.rb +26 -0
  1894. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Atka.rb +11 -0
  1895. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Bahia.rb +153 -0
  1896. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Bahia_Banderas.rb +138 -0
  1897. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Barbados.rb +27 -0
  1898. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Belem.rb +45 -0
  1899. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Belize.rb +72 -0
  1900. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Blanc__m__Sablon.rb +24 -0
  1901. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Boa_Vista.rb +49 -0
  1902. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Bogota.rb +21 -0
  1903. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Boise.rb +197 -0
  1904. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Buenos_Aires.rb +11 -0
  1905. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cambridge_Bay.rb +171 -0
  1906. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Campo_Grande.rb +169 -0
  1907. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cancun.rb +131 -0
  1908. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Caracas.rb +21 -0
  1909. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Catamarca.rb +11 -0
  1910. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cayenne.rb +18 -0
  1911. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cayman.rb +18 -0
  1912. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Chicago.rb +281 -0
  1913. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Chihuahua.rb +134 -0
  1914. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Coral_Harbour.rb +11 -0
  1915. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cordoba.rb +11 -0
  1916. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Costa_Rica.rb +27 -0
  1917. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Cuiaba.rb +167 -0
  1918. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Curacao.rb +18 -0
  1919. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Danmarkshavn.rb +51 -0
  1920. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Dawson.rb +174 -0
  1921. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Dawson_Creek.rb +77 -0
  1922. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Denver.rb +202 -0
  1923. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Detroit.rb +184 -0
  1924. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Dominica.rb +16 -0
  1925. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Edmonton.rb +198 -0
  1926. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Eirunepe.rb +49 -0
  1927. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/El_Salvador.rb +21 -0
  1928. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Ensenada.rb +11 -0
  1929. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Fort_Wayne.rb +11 -0
  1930. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Fortaleza.rb +55 -0
  1931. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Glace_Bay.rb +184 -0
  1932. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Godthab.rb +159 -0
  1933. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Goose_Bay.rb +253 -0
  1934. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Grand_Turk.rb +163 -0
  1935. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Grenada.rb +16 -0
  1936. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Guadeloupe.rb +16 -0
  1937. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Guatemala.rb +25 -0
  1938. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Guayaquil.rb +18 -0
  1939. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Guyana.rb +22 -0
  1940. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Halifax.rb +272 -0
  1941. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Havana.rb +199 -0
  1942. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Hermosillo.rb +33 -0
  1943. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Indianapolis.rb +147 -0
  1944. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Knox.rb +201 -0
  1945. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Marengo.rb +151 -0
  1946. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Petersburg.rb +164 -0
  1947. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Tell_City.rb +149 -0
  1948. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Vevay.rb +129 -0
  1949. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Vincennes.rb +149 -0
  1950. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indiana/Winamac.rb +155 -0
  1951. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Indianapolis.rb +11 -0
  1952. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Inuvik.rb +164 -0
  1953. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Iqaluit.rb +168 -0
  1954. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Jamaica.rb +39 -0
  1955. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Jujuy.rb +11 -0
  1956. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Juneau.rb +193 -0
  1957. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Kentucky/Louisville.rb +226 -0
  1958. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Kentucky/Monticello.rb +196 -0
  1959. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Knox_IN.rb +11 -0
  1960. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Kralendijk.rb +11 -0
  1961. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/La_Paz.rb +20 -0
  1962. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Lima.rb +33 -0
  1963. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Los_Angeles.rb +230 -0
  1964. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Louisville.rb +11 -0
  1965. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Lower_Princes.rb +11 -0
  1966. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Maceio.rb +57 -0
  1967. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Managua.rb +34 -0
  1968. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Manaus.rb +47 -0
  1969. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Marigot.rb +11 -0
  1970. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Martinique.rb +21 -0
  1971. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Matamoros.rb +129 -0
  1972. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Mazatlan.rb +137 -0
  1973. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Mendoza.rb +11 -0
  1974. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Menominee.rb +188 -0
  1975. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Merida.rb +130 -0
  1976. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Metlakatla.rb +55 -0
  1977. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Mexico_City.rb +142 -0
  1978. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Miquelon.rb +147 -0
  1979. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Moncton.rb +252 -0
  1980. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Monterrey.rb +129 -0
  1981. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Montevideo.rb +177 -0
  1982. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Montreal.rb +277 -0
  1983. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Montserrat.rb +16 -0
  1984. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Nassau.rb +191 -0
  1985. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/New_York.rb +280 -0
  1986. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Nipigon.rb +179 -0
  1987. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Nome.rb +194 -0
  1988. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Noronha.rb +55 -0
  1989. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/North_Dakota/Beulah.rb +198 -0
  1990. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/North_Dakota/Center.rb +198 -0
  1991. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/North_Dakota/New_Salem.rb +198 -0
  1992. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Ojinaga.rb +134 -0
  1993. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Panama.rb +18 -0
  1994. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Pangnirtung.rb +171 -0
  1995. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Paramaribo.rb +24 -0
  1996. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Phoenix.rb +28 -0
  1997. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Port__m__au__m__Prince.rb +53 -0
  1998. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Port_of_Spain.rb +16 -0
  1999. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Porto_Acre.rb +11 -0
  2000. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Porto_Velho.rb +45 -0
  2001. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Puerto_Rico.rb +21 -0
  2002. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Rainy_River.rb +179 -0
  2003. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Rankin_Inlet.rb +163 -0
  2004. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Recife.rb +55 -0
  2005. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Regina.rb +72 -0
  2006. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Resolute.rb +163 -0
  2007. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Rio_Branco.rb +47 -0
  2008. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Rosario.rb +11 -0
  2009. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Santa_Isabel.rb +194 -0
  2010. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Santarem.rb +47 -0
  2011. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Santiago.rb +203 -0
  2012. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Santo_Domingo.rb +36 -0
  2013. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Sao_Paulo.rb +169 -0
  2014. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Scoresbysund.rb +161 -0
  2015. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Shiprock.rb +11 -0
  2016. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Sitka.rb +192 -0
  2017. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Barthelemy.rb +11 -0
  2018. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Johns.rb +286 -0
  2019. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Kitts.rb +16 -0
  2020. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Lucia.rb +18 -0
  2021. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Thomas.rb +16 -0
  2022. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/St_Vincent.rb +18 -0
  2023. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Swift_Current.rb +42 -0
  2024. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Tegucigalpa.rb +23 -0
  2025. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Thule.rb +137 -0
  2026. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Thunder_Bay.rb +184 -0
  2027. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Tijuana.rb +194 -0
  2028. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Toronto.rb +277 -0
  2029. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Tortola.rb +16 -0
  2030. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Vancouver.rb +234 -0
  2031. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Virgin.rb +11 -0
  2032. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Whitehorse.rb +174 -0
  2033. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Winnipeg.rb +230 -0
  2034. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Yakutat.rb +191 -0
  2035. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/America/Yellowknife.rb +167 -0
  2036. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Casey.rb +19 -0
  2037. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Davis.rb +21 -0
  2038. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/DumontDUrville.rb +19 -0
  2039. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Macquarie.rb +112 -0
  2040. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Mawson.rb +18 -0
  2041. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/McMurdo.rb +169 -0
  2042. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Palmer.rb +170 -0
  2043. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Rothera.rb +16 -0
  2044. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/South_Pole.rb +11 -0
  2045. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Syowa.rb +16 -0
  2046. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Antarctica/Vostok.rb +16 -0
  2047. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Arctic/Longyearbyen.rb +11 -0
  2048. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Aden.rb +16 -0
  2049. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Almaty.rb +65 -0
  2050. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Amman.rb +161 -0
  2051. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Anadyr.rb +84 -0
  2052. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Aqtau.rb +73 -0
  2053. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Aqtobe.rb +69 -0
  2054. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ashgabat.rb +46 -0
  2055. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ashkhabad.rb +11 -0
  2056. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Baghdad.rb +71 -0
  2057. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Bahrain.rb +18 -0
  2058. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Baku.rb +159 -0
  2059. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Bangkok.rb +18 -0
  2060. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Beirut.rb +183 -0
  2061. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Bishkek.rb +73 -0
  2062. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Brunei.rb +18 -0
  2063. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Calcutta.rb +11 -0
  2064. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Choibalsan.rb +66 -0
  2065. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Chongqing.rb +31 -0
  2066. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Chungking.rb +11 -0
  2067. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Colombo.rb +28 -0
  2068. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dacca.rb +11 -0
  2069. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Damascus.rb +193 -0
  2070. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dhaka.rb +28 -0
  2071. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dili.rb +23 -0
  2072. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dubai.rb +16 -0
  2073. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Dushanbe.rb +43 -0
  2074. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Gaza.rb +111 -0
  2075. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Harbin.rb +35 -0
  2076. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Hebron.rb +113 -0
  2077. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ho_Chi_Minh.rb +21 -0
  2078. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Hong_Kong.rb +86 -0
  2079. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Hovd.rb +63 -0
  2080. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Irkutsk.rb +85 -0
  2081. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Istanbul.rb +11 -0
  2082. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Jakarta.rb +28 -0
  2083. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Jayapura.rb +19 -0
  2084. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Jerusalem.rb +161 -0
  2085. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kabul.rb +18 -0
  2086. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kamchatka.rb +82 -0
  2087. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Karachi.rb +30 -0
  2088. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kashgar.rb +33 -0
  2089. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kathmandu.rb +18 -0
  2090. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Katmandu.rb +11 -0
  2091. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kolkata.rb +23 -0
  2092. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +83 -0
  2093. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb +29 -0
  2094. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kuching.rb +38 -0
  2095. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Kuwait.rb +16 -0
  2096. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Macao.rb +11 -0
  2097. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Macau.rb +59 -0
  2098. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Magadan.rb +83 -0
  2099. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Makassar.rb +21 -0
  2100. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Manila.rb +28 -0
  2101. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Muscat.rb +16 -0
  2102. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Nicosia.rb +169 -0
  2103. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Novokuznetsk.rb +85 -0
  2104. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Novosibirsk.rb +83 -0
  2105. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Omsk.rb +83 -0
  2106. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Oral.rb +72 -0
  2107. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Phnom_Penh.rb +21 -0
  2108. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Pontianak.rb +28 -0
  2109. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Pyongyang.rb +23 -0
  2110. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Qatar.rb +18 -0
  2111. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Qyzylorda.rb +71 -0
  2112. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Rangoon.rb +22 -0
  2113. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Riyadh.rb +16 -0
  2114. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Riyadh87.rb +590 -0
  2115. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Riyadh88.rb +580 -0
  2116. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Riyadh89.rb +580 -0
  2117. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Saigon.rb +11 -0
  2118. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Sakhalin.rb +85 -0
  2119. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Samarkand.rb +45 -0
  2120. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Seoul.rb +32 -0
  2121. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Shanghai.rb +33 -0
  2122. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Singapore.rb +31 -0
  2123. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Taipei.rb +57 -0
  2124. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tashkent.rb +45 -0
  2125. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tbilisi.rb +76 -0
  2126. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tehran.rb +119 -0
  2127. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tel_Aviv.rb +11 -0
  2128. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Thimbu.rb +11 -0
  2129. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Thimphu.rb +18 -0
  2130. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Tokyo.rb +28 -0
  2131. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ujung_Pandang.rb +11 -0
  2132. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ulaanbaatar.rb +63 -0
  2133. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Ulan_Bator.rb +11 -0
  2134. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Urumqi.rb +31 -0
  2135. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Vientiane.rb +21 -0
  2136. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Vladivostok.rb +84 -0
  2137. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Yakutsk.rb +83 -0
  2138. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +85 -0
  2139. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Asia/Yerevan.rb +163 -0
  2140. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Azores.rb +268 -0
  2141. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Bermuda.rb +171 -0
  2142. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Canary.rb +161 -0
  2143. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Cape_Verde.rb +21 -0
  2144. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Faeroe.rb +11 -0
  2145. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Faroe.rb +157 -0
  2146. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb +11 -0
  2147. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Madeira.rb +267 -0
  2148. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Reykjavik.rb +83 -0
  2149. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/South_Georgia.rb +16 -0
  2150. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/St_Helena.rb +18 -0
  2151. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Atlantic/Stanley.rb +166 -0
  2152. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/ACT.rb +11 -0
  2153. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Adelaide.rb +185 -0
  2154. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Brisbane.rb +33 -0
  2155. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Broken_Hill.rb +187 -0
  2156. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Canberra.rb +11 -0
  2157. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Currie.rb +183 -0
  2158. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Darwin.rb +27 -0
  2159. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Eucla.rb +35 -0
  2160. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Hobart.rb +191 -0
  2161. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/LHI.rb +11 -0
  2162. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Lindeman.rb +37 -0
  2163. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Lord_Howe.rb +158 -0
  2164. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Melbourne.rb +183 -0
  2165. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/NSW.rb +11 -0
  2166. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/North.rb +11 -0
  2167. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Perth.rb +35 -0
  2168. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Queensland.rb +11 -0
  2169. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/South.rb +11 -0
  2170. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Sydney.rb +183 -0
  2171. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Tasmania.rb +11 -0
  2172. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Victoria.rb +11 -0
  2173. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/West.rb +11 -0
  2174. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Australia/Yancowinna.rb +11 -0
  2175. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Brazil/Acre.rb +11 -0
  2176. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Brazil/DeNoronha.rb +11 -0
  2177. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Brazil/East.rb +11 -0
  2178. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Brazil/West.rb +11 -0
  2179. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/CET.rb +175 -0
  2180. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/CST6CDT.rb +190 -0
  2181. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Atlantic.rb +11 -0
  2182. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Central.rb +11 -0
  2183. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/East__m__Saskatchewan.rb +11 -0
  2184. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Eastern.rb +11 -0
  2185. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Mountain.rb +11 -0
  2186. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Newfoundland.rb +11 -0
  2187. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Pacific.rb +11 -0
  2188. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Saskatchewan.rb +11 -0
  2189. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Canada/Yukon.rb +11 -0
  2190. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Chile/Continental.rb +11 -0
  2191. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Chile/EasterIsland.rb +11 -0
  2192. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Cuba.rb +9 -0
  2193. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/EET.rb +161 -0
  2194. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/EST.rb +12 -0
  2195. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/EST5EDT.rb +190 -0
  2196. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Egypt.rb +9 -0
  2197. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Eire.rb +9 -0
  2198. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT.rb +14 -0
  2199. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT0.rb +11 -0
  2200. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__0.rb +11 -0
  2201. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__1.rb +14 -0
  2202. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__10.rb +14 -0
  2203. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__11.rb +14 -0
  2204. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__12.rb +14 -0
  2205. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__13.rb +14 -0
  2206. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__14.rb +14 -0
  2207. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__2.rb +14 -0
  2208. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__3.rb +14 -0
  2209. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__4.rb +14 -0
  2210. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__5.rb +14 -0
  2211. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__6.rb +14 -0
  2212. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__7.rb +14 -0
  2213. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__8.rb +14 -0
  2214. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__m__9.rb +14 -0
  2215. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__0.rb +11 -0
  2216. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__1.rb +14 -0
  2217. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__10.rb +14 -0
  2218. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__11.rb +14 -0
  2219. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__12.rb +14 -0
  2220. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__2.rb +14 -0
  2221. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__3.rb +14 -0
  2222. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__4.rb +14 -0
  2223. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__5.rb +14 -0
  2224. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__6.rb +14 -0
  2225. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__7.rb +14 -0
  2226. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__8.rb +14 -0
  2227. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/GMT__p__9.rb +14 -0
  2228. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/Greenwich.rb +11 -0
  2229. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/UCT.rb +14 -0
  2230. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/UTC.rb +14 -0
  2231. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/Universal.rb +11 -0
  2232. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Etc/Zulu.rb +11 -0
  2233. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Amsterdam.rb +226 -0
  2234. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Andorra.rb +151 -0
  2235. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Athens.rb +183 -0
  2236. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Belfast.rb +11 -0
  2237. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Belgrade.rb +161 -0
  2238. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Berlin.rb +186 -0
  2239. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Bratislava.rb +11 -0
  2240. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Brussels.rb +230 -0
  2241. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Bucharest.rb +179 -0
  2242. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Budapest.rb +195 -0
  2243. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Chisinau.rb +187 -0
  2244. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Copenhagen.rb +177 -0
  2245. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Dublin.rb +274 -0
  2246. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Gibraltar.rb +243 -0
  2247. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Guernsey.rb +11 -0
  2248. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Helsinki.rb +161 -0
  2249. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Isle_of_Man.rb +11 -0
  2250. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Istanbul.rb +216 -0
  2251. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Jersey.rb +11 -0
  2252. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Kaliningrad.rb +101 -0
  2253. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Kiev.rb +166 -0
  2254. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Lisbon.rb +266 -0
  2255. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Ljubljana.rb +11 -0
  2256. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/London.rb +286 -0
  2257. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Luxembourg.rb +229 -0
  2258. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Madrid.rb +209 -0
  2259. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Malta.rb +211 -0
  2260. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Mariehamn.rb +11 -0
  2261. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Minsk.rb +90 -0
  2262. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Monaco.rb +231 -0
  2263. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Moscow.rb +101 -0
  2264. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Nicosia.rb +11 -0
  2265. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Oslo.rb +183 -0
  2266. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Paris.rb +230 -0
  2267. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Podgorica.rb +11 -0
  2268. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Prague.rb +185 -0
  2269. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Riga.rb +174 -0
  2270. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Rome.rb +213 -0
  2271. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Samara.rb +88 -0
  2272. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/San_Marino.rb +11 -0
  2273. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Sarajevo.rb +11 -0
  2274. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Simferopol.rb +168 -0
  2275. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Skopje.rb +11 -0
  2276. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Sofia.rb +171 -0
  2277. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Stockholm.rb +163 -0
  2278. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Tallinn.rb +170 -0
  2279. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Tirane.rb +175 -0
  2280. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Tiraspol.rb +11 -0
  2281. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Uzhgorod.rb +166 -0
  2282. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Vaduz.rb +157 -0
  2283. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Vatican.rb +11 -0
  2284. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Vienna.rb +181 -0
  2285. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Vilnius.rb +168 -0
  2286. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Volgograd.rb +85 -0
  2287. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Warsaw.rb +210 -0
  2288. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Zagreb.rb +11 -0
  2289. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Zaporozhye.rb +169 -0
  2290. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Europe/Zurich.rb +163 -0
  2291. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GB.rb +9 -0
  2292. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GB__m__Eire.rb +9 -0
  2293. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GMT.rb +9 -0
  2294. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GMT0.rb +9 -0
  2295. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GMT__m__0.rb +9 -0
  2296. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/GMT__p__0.rb +9 -0
  2297. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Greenwich.rb +9 -0
  2298. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/HST.rb +12 -0
  2299. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Hongkong.rb +9 -0
  2300. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Iceland.rb +9 -0
  2301. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Antananarivo.rb +19 -0
  2302. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Chagos.rb +18 -0
  2303. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Christmas.rb +16 -0
  2304. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Cocos.rb +16 -0
  2305. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Comoro.rb +16 -0
  2306. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Kerguelen.rb +16 -0
  2307. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Mahe.rb +16 -0
  2308. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Maldives.rb +18 -0
  2309. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Mauritius.rb +21 -0
  2310. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Mayotte.rb +16 -0
  2311. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Indian/Reunion.rb +16 -0
  2312. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Iran.rb +9 -0
  2313. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Israel.rb +9 -0
  2314. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Jamaica.rb +9 -0
  2315. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Japan.rb +9 -0
  2316. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Kwajalein.rb +9 -0
  2317. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Libya.rb +9 -0
  2318. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/MET.rb +175 -0
  2319. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/MST.rb +12 -0
  2320. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/MST7MDT.rb +190 -0
  2321. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mexico/BajaNorte.rb +11 -0
  2322. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mexico/BajaSur.rb +11 -0
  2323. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mexico/General.rb +11 -0
  2324. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mideast/Riyadh87.rb +11 -0
  2325. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mideast/Riyadh88.rb +11 -0
  2326. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Mideast/Riyadh89.rb +11 -0
  2327. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/NZ.rb +9 -0
  2328. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/NZ__m__CHAT.rb +9 -0
  2329. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Navajo.rb +9 -0
  2330. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/PRC.rb +9 -0
  2331. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/PST8PDT.rb +190 -0
  2332. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Apia.rb +28 -0
  2333. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Auckland.rb +200 -0
  2334. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Chatham.rb +169 -0
  2335. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Chuuk.rb +16 -0
  2336. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Easter.rb +188 -0
  2337. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Efate.rb +37 -0
  2338. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Enderbury.rb +20 -0
  2339. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Fakaofo.rb +16 -0
  2340. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Fiji.rb +27 -0
  2341. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Funafuti.rb +16 -0
  2342. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Galapagos.rb +18 -0
  2343. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Gambier.rb +16 -0
  2344. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Guadalcanal.rb +16 -0
  2345. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Guam.rb +20 -0
  2346. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Honolulu.rb +23 -0
  2347. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Johnston.rb +14 -0
  2348. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Kiritimati.rb +20 -0
  2349. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Kosrae.rb +19 -0
  2350. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Kwajalein.rb +20 -0
  2351. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Majuro.rb +18 -0
  2352. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Marquesas.rb +16 -0
  2353. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Midway.rb +23 -0
  2354. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Nauru.rb +21 -0
  2355. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Niue.rb +20 -0
  2356. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Norfolk.rb +18 -0
  2357. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Noumea.rb +23 -0
  2358. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Pago_Pago.rb +24 -0
  2359. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Palau.rb +16 -0
  2360. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Pitcairn.rb +18 -0
  2361. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Pohnpei.rb +16 -0
  2362. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Ponape.rb +11 -0
  2363. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Port_Moresby.rb +18 -0
  2364. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Rarotonga.rb +44 -0
  2365. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Saipan.rb +22 -0
  2366. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Samoa.rb +11 -0
  2367. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Tahiti.rb +16 -0
  2368. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Tarawa.rb +16 -0
  2369. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Tongatapu.rb +25 -0
  2370. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Truk.rb +11 -0
  2371. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Wake.rb +16 -0
  2372. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Wallis.rb +16 -0
  2373. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Pacific/Yap.rb +11 -0
  2374. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Poland.rb +9 -0
  2375. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Portugal.rb +9 -0
  2376. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/ROC.rb +9 -0
  2377. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/ROK.rb +9 -0
  2378. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Singapore.rb +9 -0
  2379. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Turkey.rb +9 -0
  2380. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/UCT.rb +9 -0
  2381. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Alaska.rb +11 -0
  2382. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Aleutian.rb +11 -0
  2383. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Arizona.rb +11 -0
  2384. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Central.rb +11 -0
  2385. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/East__m__Indiana.rb +11 -0
  2386. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Eastern.rb +11 -0
  2387. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Hawaii.rb +11 -0
  2388. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Indiana__m__Starke.rb +11 -0
  2389. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Michigan.rb +11 -0
  2390. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Mountain.rb +11 -0
  2391. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Pacific.rb +11 -0
  2392. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Pacific__m__New.rb +11 -0
  2393. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/US/Samoa.rb +11 -0
  2394. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/UTC.rb +9 -0
  2395. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Universal.rb +9 -0
  2396. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/WET.rb +161 -0
  2397. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/W__m__SU.rb +9 -0
  2398. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/definitions/Zulu.rb +9 -0
  2399. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/indexes/countries.rb +918 -0
  2400. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/indexes/timezones.rb +588 -0
  2401. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/info_timezone.rb +50 -0
  2402. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/linked_timezone.rb +49 -0
  2403. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/linked_timezone_info.rb +42 -0
  2404. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/offset_rationals.rb +97 -0
  2405. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/ruby_core_support.rb +80 -0
  2406. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/time_or_datetime.rb +291 -0
  2407. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone.rb +535 -0
  2408. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_definition.rb +53 -0
  2409. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_index_definition.rb +70 -0
  2410. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_info.rb +40 -0
  2411. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_offset_info.rb +94 -0
  2412. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_period.rb +195 -0
  2413. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_proxy.rb +83 -0
  2414. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/timezone_transition_info.rb +128 -0
  2415. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo/tzdataparser.rb +1168 -0
  2416. data/vendor/bundle/gems/tzinfo-0.3.31/lib/tzinfo.rb +55 -0
  2417. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_country.rb +156 -0
  2418. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_country_index_definition.rb +70 -0
  2419. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_country_info.rb +72 -0
  2420. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_country_timezone.rb +121 -0
  2421. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_data_timezone.rb +68 -0
  2422. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_data_timezone_info.rb +282 -0
  2423. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_info_timezone.rb +36 -0
  2424. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_linked_timezone.rb +102 -0
  2425. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_linked_timezone_info.rb +18 -0
  2426. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_offset_rationals.rb +25 -0
  2427. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_ruby_core_support.rb +31 -0
  2428. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_time_or_datetime.rb +422 -0
  2429. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone.rb +964 -0
  2430. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_definition.rb +115 -0
  2431. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_index_definition.rb +75 -0
  2432. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_info.rb +13 -0
  2433. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_london.rb +114 -0
  2434. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_melbourne.rb +114 -0
  2435. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_new_york.rb +114 -0
  2436. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_offset_info.rb +116 -0
  2437. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_period.rb +509 -0
  2438. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_proxy.rb +87 -0
  2439. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_transition_info.rb +194 -0
  2440. data/vendor/bundle/gems/tzinfo-0.3.31/test/tc_timezone_utc.rb +29 -0
  2441. data/vendor/bundle/gems/tzinfo-0.3.31/test/test_utils.rb +21 -0
  2442. data/vendor/bundle/gems/tzinfo-0.3.31/test/ts_all.rb +9 -0
  2443. data/vendor/bundle/specifications/actionmailer-3.2.1.gemspec +33 -0
  2444. data/vendor/bundle/specifications/actionmailer-3.2.2.gemspec +1 -1
  2445. data/vendor/bundle/specifications/actionpack-3.2.1.gemspec +57 -0
  2446. data/vendor/bundle/specifications/actionpack-3.2.2.gemspec +1 -1
  2447. data/vendor/bundle/specifications/activemodel-3.2.1.gemspec +32 -0
  2448. data/vendor/bundle/specifications/activemodel-3.2.2.gemspec +1 -1
  2449. data/vendor/bundle/specifications/activerecord-3.2.1.gemspec +41 -0
  2450. data/vendor/bundle/specifications/activerecord-3.2.2.gemspec +1 -1
  2451. data/vendor/bundle/specifications/activeresource-3.2.1.gemspec +35 -0
  2452. data/vendor/bundle/specifications/activeresource-3.2.2.gemspec +1 -1
  2453. data/vendor/bundle/specifications/activesupport-3.2.1.gemspec +33 -0
  2454. data/vendor/bundle/specifications/activesupport-3.2.2.gemspec +1 -1
  2455. data/vendor/bundle/specifications/arel-3.0.0.gemspec +35 -0
  2456. data/vendor/bundle/specifications/arel-3.0.2.gemspec +1 -1
  2457. data/vendor/bundle/specifications/bcrypt-ruby-3.0.1.gemspec +1 -1
  2458. data/vendor/bundle/specifications/builder-3.0.0.gemspec +1 -1
  2459. data/vendor/bundle/specifications/erubis-2.7.0.gemspec +1 -1
  2460. data/vendor/bundle/specifications/factory_girl-2.5.1.gemspec +62 -0
  2461. data/vendor/bundle/specifications/factory_girl-2.6.1.gemspec +1 -1
  2462. data/vendor/bundle/specifications/highline-1.6.11.gemspec +1 -1
  2463. data/vendor/bundle/specifications/hike-1.2.1.gemspec +1 -1
  2464. data/vendor/bundle/specifications/i18n-0.6.0.gemspec +1 -1
  2465. data/vendor/bundle/specifications/journey-1.0.1.gemspec +47 -0
  2466. data/vendor/bundle/specifications/journey-1.0.3.gemspec +1 -1
  2467. data/vendor/bundle/specifications/json-1.6.5.gemspec +1 -1
  2468. data/vendor/bundle/specifications/mail-2.4.1.gemspec +1 -1
  2469. data/vendor/bundle/specifications/metaclass-0.0.1.gemspec +1 -1
  2470. data/vendor/bundle/specifications/mime-types-1.17.2.gemspec +1 -1
  2471. data/vendor/bundle/specifications/mocha-0.10.3.gemspec +44 -0
  2472. data/vendor/bundle/specifications/mocha-0.10.5.gemspec +1 -1
  2473. data/vendor/bundle/specifications/multi_json-1.0.4.gemspec +40 -0
  2474. data/vendor/bundle/specifications/multi_json-1.1.0.gemspec +1 -1
  2475. data/vendor/bundle/specifications/polyglot-0.3.3.gemspec +1 -1
  2476. data/vendor/bundle/specifications/rack-1.4.1.gemspec +1 -1
  2477. data/vendor/bundle/specifications/rack-cache-1.1.gemspec +40 -0
  2478. data/vendor/bundle/specifications/rack-cache-1.2.gemspec +1 -1
  2479. data/vendor/bundle/specifications/rack-ssl-1.3.2.gemspec +1 -1
  2480. data/vendor/bundle/specifications/rack-test-0.6.1.gemspec +1 -1
  2481. data/vendor/bundle/specifications/rails-3.2.1.gemspec +47 -0
  2482. data/vendor/bundle/specifications/rails-3.2.2.gemspec +1 -1
  2483. data/vendor/bundle/specifications/railties-3.2.1.gemspec +47 -0
  2484. data/vendor/bundle/specifications/railties-3.2.2.gemspec +1 -1
  2485. data/vendor/bundle/specifications/rake-0.9.2.2.gemspec +1 -1
  2486. data/vendor/bundle/specifications/rdiscount-1.6.8.gemspec +1 -1
  2487. data/vendor/bundle/specifications/rdoc-3.12.gemspec +1 -1
  2488. data/vendor/bundle/specifications/shoulda-2.11.3.gemspec +1 -1
  2489. data/vendor/bundle/specifications/shoulda-3.0.1.gemspec +1 -1
  2490. data/vendor/bundle/specifications/shoulda-context-1.0.0.gemspec +1 -1
  2491. data/vendor/bundle/specifications/shoulda-matchers-1.0.0.gemspec +1 -1
  2492. data/vendor/bundle/specifications/simplecov-0.5.4.gemspec +49 -0
  2493. data/vendor/bundle/specifications/simplecov-0.6.1.gemspec +1 -1
  2494. data/vendor/bundle/specifications/simplecov-html-0.5.3.gemspec +1 -1
  2495. data/vendor/bundle/specifications/sprockets-2.1.2.gemspec +1 -1
  2496. data/vendor/bundle/specifications/sqlite3-1.3.5.gemspec +1 -1
  2497. data/vendor/bundle/specifications/thor-0.14.6.gemspec +1 -1
  2498. data/vendor/bundle/specifications/tilt-1.3.3.gemspec +1 -1
  2499. data/vendor/bundle/specifications/treetop-1.4.10.gemspec +1 -1
  2500. data/vendor/bundle/specifications/tzinfo-0.3.31.gemspec +29 -0
  2501. data/vendor/bundle/specifications/tzinfo-0.3.32.gemspec +1 -1
  2502. data/vendor/bundle/specifications/yard-0.7.5.gemspec +1 -1
  2503. metadata +2447 -11
@@ -0,0 +1,1480 @@
1
+ require 'cgi'
2
+ require 'action_view/helpers/date_helper'
3
+ require 'action_view/helpers/tag_helper'
4
+ require 'action_view/helpers/form_tag_helper'
5
+ require 'action_view/helpers/active_model_helper'
6
+ require 'active_support/core_ext/class/attribute'
7
+ require 'active_support/core_ext/hash/slice'
8
+ require 'active_support/core_ext/module/method_names'
9
+ require 'active_support/core_ext/object/blank'
10
+ require 'active_support/core_ext/string/output_safety'
11
+ require 'active_support/core_ext/array/extract_options'
12
+
13
+ module ActionView
14
+ # = Action View Form Helpers
15
+ module Helpers
16
+ # Form helpers are designed to make working with resources much easier
17
+ # compared to using vanilla HTML.
18
+ #
19
+ # Forms for models are created with +form_for+. That method yields a form
20
+ # builder that knows the model the form is about. The form builder is thus
21
+ # able to generate default values for input fields that correspond to model
22
+ # attributes, and also convenient names, IDs, endpoints, etc.
23
+ #
24
+ # Conventions in the generated field names allow controllers to receive form
25
+ # data nicely structured in +params+ with no effort on your side.
26
+ #
27
+ # For example, to create a new person you typically set up a new instance of
28
+ # +Person+ in the <tt>PeopleController#new</tt> action, <tt>@person</tt>, and
29
+ # pass it to +form_for+:
30
+ #
31
+ # <%= form_for @person do |f| %>
32
+ # <%= f.label :first_name %>:
33
+ # <%= f.text_field :first_name %><br />
34
+ #
35
+ # <%= f.label :last_name %>:
36
+ # <%= f.text_field :last_name %><br />
37
+ #
38
+ # <%= f.submit %>
39
+ # <% end %>
40
+ #
41
+ # The HTML generated for this would be (modulus formatting):
42
+ #
43
+ # <form action="/people" class="new_person" id="new_person" method="post">
44
+ # <div style="margin:0;padding:0;display:inline">
45
+ # <input name="authenticity_token" type="hidden" value="NrOp5bsjoLRuK8IW5+dQEYjKGUJDe7TQoZVvq95Wteg=" />
46
+ # </div>
47
+ # <label for="person_first_name">First name</label>:
48
+ # <input id="person_first_name" name="person[first_name]" size="30" type="text" /><br />
49
+ #
50
+ # <label for="person_last_name">Last name</label>:
51
+ # <input id="person_last_name" name="person[last_name]" size="30" type="text" /><br />
52
+ #
53
+ # <input name="commit" type="submit" value="Create Person" />
54
+ # </form>
55
+ #
56
+ # As you see, the HTML reflects knowledge about the resource in several spots,
57
+ # like the path the form should be submitted to, or the names of the input fields.
58
+ #
59
+ # In particular, thanks to the conventions followed in the generated field names, the
60
+ # controller gets a nested hash <tt>params[:person]</tt> with the person attributes
61
+ # set in the form. That hash is ready to be passed to <tt>Person.create</tt>:
62
+ #
63
+ # if @person = Person.create(params[:person])
64
+ # # success
65
+ # else
66
+ # # error handling
67
+ # end
68
+ #
69
+ # Interestingly, the exact same view code in the previous example can be used to edit
70
+ # a person. If <tt>@person</tt> is an existing record with name "John Smith" and ID 256,
71
+ # the code above as is would yield instead:
72
+ #
73
+ # <form action="/people/256" class="edit_person" id="edit_person_256" method="post">
74
+ # <div style="margin:0;padding:0;display:inline">
75
+ # <input name="_method" type="hidden" value="put" />
76
+ # <input name="authenticity_token" type="hidden" value="NrOp5bsjoLRuK8IW5+dQEYjKGUJDe7TQoZVvq95Wteg=" />
77
+ # </div>
78
+ # <label for="person_first_name">First name</label>:
79
+ # <input id="person_first_name" name="person[first_name]" size="30" type="text" value="John" /><br />
80
+ #
81
+ # <label for="person_last_name">Last name</label>:
82
+ # <input id="person_last_name" name="person[last_name]" size="30" type="text" value="Smith" /><br />
83
+ #
84
+ # <input name="commit" type="submit" value="Update Person" />
85
+ # </form>
86
+ #
87
+ # Note that the endpoint, default values, and submit button label are tailored for <tt>@person</tt>.
88
+ # That works that way because the involved helpers know whether the resource is a new record or not,
89
+ # and generate HTML accordingly.
90
+ #
91
+ # The controller would receive the form data again in <tt>params[:person]</tt>, ready to be
92
+ # passed to <tt>Person#update_attributes</tt>:
93
+ #
94
+ # if @person.update_attributes(params[:person])
95
+ # # success
96
+ # else
97
+ # # error handling
98
+ # end
99
+ #
100
+ # That's how you typically work with resources.
101
+ module FormHelper
102
+ extend ActiveSupport::Concern
103
+
104
+ include FormTagHelper
105
+ include UrlHelper
106
+
107
+ # Converts the given object to an ActiveModel compliant one.
108
+ def convert_to_model(object)
109
+ object.respond_to?(:to_model) ? object.to_model : object
110
+ end
111
+
112
+ # Creates a form and a scope around a specific model object that is used
113
+ # as a base for questioning about values for the fields.
114
+ #
115
+ # Rails provides succinct resource-oriented form generation with +form_for+
116
+ # like this:
117
+ #
118
+ # <%= form_for @offer do |f| %>
119
+ # <%= f.label :version, 'Version' %>:
120
+ # <%= f.text_field :version %><br />
121
+ # <%= f.label :author, 'Author' %>:
122
+ # <%= f.text_field :author %><br />
123
+ # <%= f.submit %>
124
+ # <% end %>
125
+ #
126
+ # There, +form_for+ is able to generate the rest of RESTful form
127
+ # parameters based on introspection on the record, but to understand what
128
+ # it does we need to dig first into the alternative generic usage it is
129
+ # based upon.
130
+ #
131
+ # === Generic form_for
132
+ #
133
+ # The generic way to call +form_for+ yields a form builder around a
134
+ # model:
135
+ #
136
+ # <%= form_for :person do |f| %>
137
+ # First name: <%= f.text_field :first_name %><br />
138
+ # Last name : <%= f.text_field :last_name %><br />
139
+ # Biography : <%= f.text_area :biography %><br />
140
+ # Admin? : <%= f.check_box :admin %><br />
141
+ # <%= f.submit %>
142
+ # <% end %>
143
+ #
144
+ # There, the argument is a symbol or string with the name of the
145
+ # object the form is about.
146
+ #
147
+ # The form builder acts as a regular form helper that somehow carries the
148
+ # model. Thus, the idea is that
149
+ #
150
+ # <%= f.text_field :first_name %>
151
+ #
152
+ # gets expanded to
153
+ #
154
+ # <%= text_field :person, :first_name %>
155
+ #
156
+ # The rightmost argument to +form_for+ is an
157
+ # optional hash of options:
158
+ #
159
+ # * <tt>:url</tt> - The URL the form is submitted to. It takes the same
160
+ # fields you pass to +url_for+ or +link_to+. In particular you may pass
161
+ # here a named route directly as well. Defaults to the current action.
162
+ # * <tt>:namespace</tt> - A namespace for your form to ensure uniqueness of
163
+ # id attributes on form elements. The namespace attribute will be prefixed
164
+ # with underscore on the generated HTML id.
165
+ # * <tt>:html</tt> - Optional HTML attributes for the form tag.
166
+ #
167
+ # Also note that +form_for+ doesn't create an exclusive scope. It's still
168
+ # possible to use both the stand-alone FormHelper methods and methods
169
+ # from FormTagHelper. For example:
170
+ #
171
+ # <%= form_for @person do |f| %>
172
+ # First name: <%= f.text_field :first_name %>
173
+ # Last name : <%= f.text_field :last_name %>
174
+ # Biography : <%= text_area :person, :biography %>
175
+ # Admin? : <%= check_box_tag "person[admin]", @person.company.admin? %>
176
+ # <%= f.submit %>
177
+ # <% end %>
178
+ #
179
+ # This also works for the methods in FormOptionHelper and DateHelper that
180
+ # are designed to work with an object as base, like
181
+ # FormOptionHelper#collection_select and DateHelper#datetime_select.
182
+ #
183
+ # === Resource-oriented style
184
+ #
185
+ # As we said above, in addition to manually configuring the +form_for+
186
+ # call, you can rely on automated resource identification, which will use
187
+ # the conventions and named routes of that approach. This is the
188
+ # preferred way to use +form_for+ nowadays.
189
+ #
190
+ # For example, if <tt>@post</tt> is an existing record you want to edit
191
+ #
192
+ # <%= form_for @post do |f| %>
193
+ # ...
194
+ # <% end %>
195
+ #
196
+ # is equivalent to something like:
197
+ #
198
+ # <%= form_for @post, :as => :post, :url => post_path(@post), :method => :put, :html => { :class => "edit_post", :id => "edit_post_45" } do |f| %>
199
+ # ...
200
+ # <% end %>
201
+ #
202
+ # And for new records
203
+ #
204
+ # <%= form_for(Post.new) do |f| %>
205
+ # ...
206
+ # <% end %>
207
+ #
208
+ # is equivalent to something like:
209
+ #
210
+ # <%= form_for @post, :as => :post, :url => posts_path, :html => { :class => "new_post", :id => "new_post" } do |f| %>
211
+ # ...
212
+ # <% end %>
213
+ #
214
+ # You can also overwrite the individual conventions, like this:
215
+ #
216
+ # <%= form_for(@post, :url => super_posts_path) do |f| %>
217
+ # ...
218
+ # <% end %>
219
+ #
220
+ # You can also set the answer format, like this:
221
+ #
222
+ # <%= form_for(@post, :format => :json) do |f| %>
223
+ # ...
224
+ # <% end %>
225
+ #
226
+ # If you have an object that needs to be represented as a different
227
+ # parameter, like a Person that acts as a Client:
228
+ #
229
+ # <%= form_for(@person, :as => :client) do |f| %>
230
+ # ...
231
+ # <% end %>
232
+ #
233
+ # For namespaced routes, like +admin_post_url+:
234
+ #
235
+ # <%= form_for([:admin, @post]) do |f| %>
236
+ # ...
237
+ # <% end %>
238
+ #
239
+ # If your resource has associations defined, for example, you want to add comments
240
+ # to the document given that the routes are set correctly:
241
+ #
242
+ # <%= form_for([@document, @comment]) do |f| %>
243
+ # ...
244
+ # <% end %>
245
+ #
246
+ # Where <tt>@document = Document.find(params[:id])</tt> and
247
+ # <tt>@comment = Comment.new</tt>.
248
+ #
249
+ # === Setting the method
250
+ #
251
+ # You can force the form to use the full array of HTTP verbs by setting
252
+ #
253
+ # :method => (:get|:post|:put|:delete)
254
+ #
255
+ # in the options hash. If the verb is not GET or POST, which are natively supported by HTML forms, the
256
+ # form will be set to POST and a hidden input called _method will carry the intended verb for the server
257
+ # to interpret.
258
+ #
259
+ # === Unobtrusive JavaScript
260
+ #
261
+ # Specifying:
262
+ #
263
+ # :remote => true
264
+ #
265
+ # in the options hash creates a form that will allow the unobtrusive JavaScript drivers to modify its
266
+ # behavior. The expected default behavior is an XMLHttpRequest in the background instead of the regular
267
+ # POST arrangement, but ultimately the behavior is the choice of the JavaScript driver implementor.
268
+ # Even though it's using JavaScript to serialize the form elements, the form submission will work just like
269
+ # a regular submission as viewed by the receiving side (all elements available in <tt>params</tt>).
270
+ #
271
+ # Example:
272
+ #
273
+ # <%= form_for(@post, :remote => true) do |f| %>
274
+ # ...
275
+ # <% end %>
276
+ #
277
+ # The HTML generated for this would be:
278
+ #
279
+ # <form action='http://www.example.com' method='post' data-remote='true'>
280
+ # <div style='margin:0;padding:0;display:inline'>
281
+ # <input name='_method' type='hidden' value='put' />
282
+ # </div>
283
+ # ...
284
+ # </form>
285
+ #
286
+ # === Removing hidden model id's
287
+ #
288
+ # The form_for method automatically includes the model id as a hidden field in the form.
289
+ # This is used to maintain the correlation between the form data and its associated model.
290
+ # Some ORM systems do not use IDs on nested models so in this case you want to be able
291
+ # to disable the hidden id.
292
+ #
293
+ # In the following example the Post model has many Comments stored within it in a NoSQL database,
294
+ # thus there is no primary key for comments.
295
+ #
296
+ # Example:
297
+ #
298
+ # <%= form_for(@post) do |f| %>
299
+ # <% f.fields_for(:comments, :include_id => false) do |cf| %>
300
+ # ...
301
+ # <% end %>
302
+ # <% end %>
303
+ #
304
+ # === Customized form builders
305
+ #
306
+ # You can also build forms using a customized FormBuilder class. Subclass
307
+ # FormBuilder and override or define some more helpers, then use your
308
+ # custom builder. For example, let's say you made a helper to
309
+ # automatically add labels to form inputs.
310
+ #
311
+ # <%= form_for @person, :url => { :action => "create" }, :builder => LabellingFormBuilder do |f| %>
312
+ # <%= f.text_field :first_name %>
313
+ # <%= f.text_field :last_name %>
314
+ # <%= f.text_area :biography %>
315
+ # <%= f.check_box :admin %>
316
+ # <%= f.submit %>
317
+ # <% end %>
318
+ #
319
+ # In this case, if you use this:
320
+ #
321
+ # <%= render f %>
322
+ #
323
+ # The rendered template is <tt>people/_labelling_form</tt> and the local
324
+ # variable referencing the form builder is called
325
+ # <tt>labelling_form</tt>.
326
+ #
327
+ # The custom FormBuilder class is automatically merged with the options
328
+ # of a nested fields_for call, unless it's explicitly set.
329
+ #
330
+ # In many cases you will want to wrap the above in another helper, so you
331
+ # could do something like the following:
332
+ #
333
+ # def labelled_form_for(record_or_name_or_array, *args, &proc)
334
+ # options = args.extract_options!
335
+ # form_for(record_or_name_or_array, *(args << options.merge(:builder => LabellingFormBuilder)), &proc)
336
+ # end
337
+ #
338
+ # If you don't need to attach a form to a model instance, then check out
339
+ # FormTagHelper#form_tag.
340
+ #
341
+ # === Form to external resources
342
+ #
343
+ # When you build forms to external resources sometimes you need to set an authenticity token or just render a form
344
+ # without it, for example when you submit data to a payment gateway number and types of fields could be limited.
345
+ #
346
+ # To set an authenticity token you need to pass an <tt>:authenticity_token</tt> parameter
347
+ #
348
+ # <%= form_for @invoice, :url => external_url, :authenticity_token => 'external_token' do |f|
349
+ # ...
350
+ # <% end %>
351
+ #
352
+ # If you don't want to an authenticity token field be rendered at all just pass <tt>false</tt>:
353
+ #
354
+ # <%= form_for @invoice, :url => external_url, :authenticity_token => false do |f|
355
+ # ...
356
+ # <% end %>
357
+ def form_for(record, options = {}, &proc)
358
+ raise ArgumentError, "Missing block" unless block_given?
359
+
360
+ options[:html] ||= {}
361
+
362
+ case record
363
+ when String, Symbol
364
+ object_name = record
365
+ object = nil
366
+ else
367
+ object = record.is_a?(Array) ? record.last : record
368
+ object_name = options[:as] || ActiveModel::Naming.param_key(object)
369
+ apply_form_for_options!(record, options)
370
+ end
371
+
372
+ options[:html][:remote] = options.delete(:remote) if options.has_key?(:remote)
373
+ options[:html][:method] = options.delete(:method) if options.has_key?(:method)
374
+ options[:html][:authenticity_token] = options.delete(:authenticity_token)
375
+
376
+ builder = options[:parent_builder] = instantiate_builder(object_name, object, options, &proc)
377
+ fields_for = fields_for(object_name, object, options, &proc)
378
+ default_options = builder.multipart? ? { :multipart => true } : {}
379
+ output = form_tag(options.delete(:url) || {}, default_options.merge!(options.delete(:html)))
380
+ output << fields_for
381
+ output.safe_concat('</form>')
382
+ end
383
+
384
+ def apply_form_for_options!(object_or_array, options) #:nodoc:
385
+ object = object_or_array.is_a?(Array) ? object_or_array.last : object_or_array
386
+ object = convert_to_model(object)
387
+
388
+ as = options[:as]
389
+ action, method = object.respond_to?(:persisted?) && object.persisted? ? [:edit, :put] : [:new, :post]
390
+ options[:html].reverse_merge!(
391
+ :class => as ? "#{action}_#{as}" : dom_class(object, action),
392
+ :id => as ? "#{action}_#{as}" : [options[:namespace], dom_id(object, action)].compact.join("_").presence,
393
+ :method => method
394
+ )
395
+
396
+ options[:url] ||= polymorphic_path(object_or_array, :format => options.delete(:format))
397
+ end
398
+ private :apply_form_for_options!
399
+
400
+ # Creates a scope around a specific model object like form_for, but
401
+ # doesn't create the form tags themselves. This makes fields_for suitable
402
+ # for specifying additional model objects in the same form.
403
+ #
404
+ # === Generic Examples
405
+ #
406
+ # <%= form_for @person do |person_form| %>
407
+ # First name: <%= person_form.text_field :first_name %>
408
+ # Last name : <%= person_form.text_field :last_name %>
409
+ #
410
+ # <%= fields_for @person.permission do |permission_fields| %>
411
+ # Admin? : <%= permission_fields.check_box :admin %>
412
+ # <% end %>
413
+ #
414
+ # <%= f.submit %>
415
+ # <% end %>
416
+ #
417
+ # ...or if you have an object that needs to be represented as a different
418
+ # parameter, like a Client that acts as a Person:
419
+ #
420
+ # <%= fields_for :person, @client do |permission_fields| %>
421
+ # Admin?: <%= permission_fields.check_box :admin %>
422
+ # <% end %>
423
+ #
424
+ # ...or if you don't have an object, just a name of the parameter:
425
+ #
426
+ # <%= fields_for :person do |permission_fields| %>
427
+ # Admin?: <%= permission_fields.check_box :admin %>
428
+ # <% end %>
429
+ #
430
+ # Note: This also works for the methods in FormOptionHelper and
431
+ # DateHelper that are designed to work with an object as base, like
432
+ # FormOptionHelper#collection_select and DateHelper#datetime_select.
433
+ #
434
+ # === Nested Attributes Examples
435
+ #
436
+ # When the object belonging to the current scope has a nested attribute
437
+ # writer for a certain attribute, fields_for will yield a new scope
438
+ # for that attribute. This allows you to create forms that set or change
439
+ # the attributes of a parent object and its associations in one go.
440
+ #
441
+ # Nested attribute writers are normal setter methods named after an
442
+ # association. The most common way of defining these writers is either
443
+ # with +accepts_nested_attributes_for+ in a model definition or by
444
+ # defining a method with the proper name. For example: the attribute
445
+ # writer for the association <tt>:address</tt> is called
446
+ # <tt>address_attributes=</tt>.
447
+ #
448
+ # Whether a one-to-one or one-to-many style form builder will be yielded
449
+ # depends on whether the normal reader method returns a _single_ object
450
+ # or an _array_ of objects.
451
+ #
452
+ # ==== One-to-one
453
+ #
454
+ # Consider a Person class which returns a _single_ Address from the
455
+ # <tt>address</tt> reader method and responds to the
456
+ # <tt>address_attributes=</tt> writer method:
457
+ #
458
+ # class Person
459
+ # def address
460
+ # @address
461
+ # end
462
+ #
463
+ # def address_attributes=(attributes)
464
+ # # Process the attributes hash
465
+ # end
466
+ # end
467
+ #
468
+ # This model can now be used with a nested fields_for, like so:
469
+ #
470
+ # <%= form_for @person do |person_form| %>
471
+ # ...
472
+ # <%= person_form.fields_for :address do |address_fields| %>
473
+ # Street : <%= address_fields.text_field :street %>
474
+ # Zip code: <%= address_fields.text_field :zip_code %>
475
+ # <% end %>
476
+ # ...
477
+ # <% end %>
478
+ #
479
+ # When address is already an association on a Person you can use
480
+ # +accepts_nested_attributes_for+ to define the writer method for you:
481
+ #
482
+ # class Person < ActiveRecord::Base
483
+ # has_one :address
484
+ # accepts_nested_attributes_for :address
485
+ # end
486
+ #
487
+ # If you want to destroy the associated model through the form, you have
488
+ # to enable it first using the <tt>:allow_destroy</tt> option for
489
+ # +accepts_nested_attributes_for+:
490
+ #
491
+ # class Person < ActiveRecord::Base
492
+ # has_one :address
493
+ # accepts_nested_attributes_for :address, :allow_destroy => true
494
+ # end
495
+ #
496
+ # Now, when you use a form element with the <tt>_destroy</tt> parameter,
497
+ # with a value that evaluates to +true+, you will destroy the associated
498
+ # model (eg. 1, '1', true, or 'true'):
499
+ #
500
+ # <%= form_for @person do |person_form| %>
501
+ # ...
502
+ # <%= person_form.fields_for :address do |address_fields| %>
503
+ # ...
504
+ # Delete: <%= address_fields.check_box :_destroy %>
505
+ # <% end %>
506
+ # ...
507
+ # <% end %>
508
+ #
509
+ # ==== One-to-many
510
+ #
511
+ # Consider a Person class which returns an _array_ of Project instances
512
+ # from the <tt>projects</tt> reader method and responds to the
513
+ # <tt>projects_attributes=</tt> writer method:
514
+ #
515
+ # class Person
516
+ # def projects
517
+ # [@project1, @project2]
518
+ # end
519
+ #
520
+ # def projects_attributes=(attributes)
521
+ # # Process the attributes hash
522
+ # end
523
+ # end
524
+ #
525
+ # Note that the <tt>projects_attributes=</tt> writer method is in fact
526
+ # required for fields_for to correctly identify <tt>:projects</tt> as a
527
+ # collection, and the correct indices to be set in the form markup.
528
+ #
529
+ # When projects is already an association on Person you can use
530
+ # +accepts_nested_attributes_for+ to define the writer method for you:
531
+ #
532
+ # class Person < ActiveRecord::Base
533
+ # has_many :projects
534
+ # accepts_nested_attributes_for :projects
535
+ # end
536
+ #
537
+ # This model can now be used with a nested fields_for. The block given to
538
+ # the nested fields_for call will be repeated for each instance in the
539
+ # collection:
540
+ #
541
+ # <%= form_for @person do |person_form| %>
542
+ # ...
543
+ # <%= person_form.fields_for :projects do |project_fields| %>
544
+ # <% if project_fields.object.active? %>
545
+ # Name: <%= project_fields.text_field :name %>
546
+ # <% end %>
547
+ # <% end %>
548
+ # ...
549
+ # <% end %>
550
+ #
551
+ # It's also possible to specify the instance to be used:
552
+ #
553
+ # <%= form_for @person do |person_form| %>
554
+ # ...
555
+ # <% @person.projects.each do |project| %>
556
+ # <% if project.active? %>
557
+ # <%= person_form.fields_for :projects, project do |project_fields| %>
558
+ # Name: <%= project_fields.text_field :name %>
559
+ # <% end %>
560
+ # <% end %>
561
+ # <% end %>
562
+ # ...
563
+ # <% end %>
564
+ #
565
+ # Or a collection to be used:
566
+ #
567
+ # <%= form_for @person do |person_form| %>
568
+ # ...
569
+ # <%= person_form.fields_for :projects, @active_projects do |project_fields| %>
570
+ # Name: <%= project_fields.text_field :name %>
571
+ # <% end %>
572
+ # ...
573
+ # <% end %>
574
+ #
575
+ # When projects is already an association on Person you can use
576
+ # +accepts_nested_attributes_for+ to define the writer method for you:
577
+ #
578
+ # class Person < ActiveRecord::Base
579
+ # has_many :projects
580
+ # accepts_nested_attributes_for :projects
581
+ # end
582
+ #
583
+ # If you want to destroy any of the associated models through the
584
+ # form, you have to enable it first using the <tt>:allow_destroy</tt>
585
+ # option for +accepts_nested_attributes_for+:
586
+ #
587
+ # class Person < ActiveRecord::Base
588
+ # has_many :projects
589
+ # accepts_nested_attributes_for :projects, :allow_destroy => true
590
+ # end
591
+ #
592
+ # This will allow you to specify which models to destroy in the
593
+ # attributes hash by adding a form element for the <tt>_destroy</tt>
594
+ # parameter with a value that evaluates to +true+
595
+ # (eg. 1, '1', true, or 'true'):
596
+ #
597
+ # <%= form_for @person do |person_form| %>
598
+ # ...
599
+ # <%= person_form.fields_for :projects do |project_fields| %>
600
+ # Delete: <%= project_fields.check_box :_destroy %>
601
+ # <% end %>
602
+ # ...
603
+ # <% end %>
604
+ def fields_for(record_name, record_object = nil, options = {}, &block)
605
+ builder = instantiate_builder(record_name, record_object, options, &block)
606
+ output = capture(builder, &block)
607
+ output.concat builder.hidden_field(:id) if output && options[:hidden_field_id] && !builder.emitted_hidden_id?
608
+ output
609
+ end
610
+
611
+ # Returns a label tag tailored for labelling an input field for a specified attribute (identified by +method+) on an object
612
+ # assigned to the template (identified by +object+). The text of label will default to the attribute name unless a translation
613
+ # is found in the current I18n locale (through helpers.label.<modelname>.<attribute>) or you specify it explicitly.
614
+ # Additional options on the label tag can be passed as a hash with +options+. These options will be tagged
615
+ # onto the HTML as an HTML element attribute as in the example shown, except for the <tt>:value</tt> option, which is designed to
616
+ # target labels for radio_button tags (where the value is used in the ID of the input tag).
617
+ #
618
+ # ==== Examples
619
+ # label(:post, :title)
620
+ # # => <label for="post_title">Title</label>
621
+ #
622
+ # You can localize your labels based on model and attribute names.
623
+ # For example you can define the following in your locale (e.g. en.yml)
624
+ #
625
+ # helpers:
626
+ # label:
627
+ # post:
628
+ # body: "Write your entire text here"
629
+ #
630
+ # Which then will result in
631
+ #
632
+ # label(:post, :body)
633
+ # # => <label for="post_body">Write your entire text here</label>
634
+ #
635
+ # Localization can also be based purely on the translation of the attribute-name
636
+ # (if you are using ActiveRecord):
637
+ #
638
+ # activerecord:
639
+ # attributes:
640
+ # post:
641
+ # cost: "Total cost"
642
+ #
643
+ # label(:post, :cost)
644
+ # # => <label for="post_cost">Total cost</label>
645
+ #
646
+ # label(:post, :title, "A short title")
647
+ # # => <label for="post_title">A short title</label>
648
+ #
649
+ # label(:post, :title, "A short title", :class => "title_label")
650
+ # # => <label for="post_title" class="title_label">A short title</label>
651
+ #
652
+ # label(:post, :privacy, "Public Post", :value => "public")
653
+ # # => <label for="post_privacy_public">Public Post</label>
654
+ #
655
+ # label(:post, :terms) do
656
+ # 'Accept <a href="/terms">Terms</a>.'.html_safe
657
+ # end
658
+ def label(object_name, method, content_or_options = nil, options = nil, &block)
659
+ content_is_options = content_or_options.is_a?(Hash)
660
+ if content_is_options || block_given?
661
+ options = content_or_options if content_is_options
662
+ text = nil
663
+ else
664
+ text = content_or_options
665
+ end
666
+
667
+ options ||= {}
668
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_label_tag(text, options, &block)
669
+ end
670
+
671
+ # Returns an input tag of the "text" type tailored for accessing a specified attribute (identified by +method+) on an object
672
+ # assigned to the template (identified by +object+). Additional options on the input tag can be passed as a
673
+ # hash with +options+. These options will be tagged onto the HTML as an HTML element attribute as in the example
674
+ # shown.
675
+ #
676
+ # ==== Examples
677
+ # text_field(:post, :title, :size => 20)
678
+ # # => <input type="text" id="post_title" name="post[title]" size="20" value="#{@post.title}" />
679
+ #
680
+ # text_field(:post, :title, :class => "create_input")
681
+ # # => <input type="text" id="post_title" name="post[title]" value="#{@post.title}" class="create_input" />
682
+ #
683
+ # text_field(:session, :user, :onchange => "if $('session[user]').value == 'admin' { alert('Your login can not be admin!'); }")
684
+ # # => <input type="text" id="session_user" name="session[user]" value="#{@session.user}" onchange = "if $('session[user]').value == 'admin' { alert('Your login can not be admin!'); }"/>
685
+ #
686
+ # text_field(:snippet, :code, :size => 20, :class => 'code_input')
687
+ # # => <input type="text" id="snippet_code" name="snippet[code]" size="20" value="#{@snippet.code}" class="code_input" />
688
+ #
689
+ def text_field(object_name, method, options = {})
690
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("text", options)
691
+ end
692
+
693
+ # Returns an input tag of the "password" type tailored for accessing a specified attribute (identified by +method+) on an object
694
+ # assigned to the template (identified by +object+). Additional options on the input tag can be passed as a
695
+ # hash with +options+. These options will be tagged onto the HTML as an HTML element attribute as in the example
696
+ # shown.
697
+ #
698
+ # ==== Examples
699
+ # password_field(:login, :pass, :size => 20)
700
+ # # => <input type="password" id="login_pass" name="login[pass]" size="20" />
701
+ #
702
+ # password_field(:account, :secret, :class => "form_input", :value => @account.secret)
703
+ # # => <input type="password" id="account_secret" name="account[secret]" value="#{@account.secret}" class="form_input" />
704
+ #
705
+ # password_field(:user, :password, :onchange => "if $('user[password]').length > 30 { alert('Your password needs to be shorter!'); }")
706
+ # # => <input type="password" id="user_password" name="user[password]" onchange = "if $('user[password]').length > 30 { alert('Your password needs to be shorter!'); }"/>
707
+ #
708
+ # password_field(:account, :pin, :size => 20, :class => 'form_input')
709
+ # # => <input type="password" id="account_pin" name="account[pin]" size="20" class="form_input" />
710
+ #
711
+ def password_field(object_name, method, options = {})
712
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("password", { :value => nil }.merge!(options))
713
+ end
714
+
715
+ # Returns a hidden input tag tailored for accessing a specified attribute (identified by +method+) on an object
716
+ # assigned to the template (identified by +object+). Additional options on the input tag can be passed as a
717
+ # hash with +options+. These options will be tagged onto the HTML as an HTML element attribute as in the example
718
+ # shown.
719
+ #
720
+ # ==== Examples
721
+ # hidden_field(:signup, :pass_confirm)
722
+ # # => <input type="hidden" id="signup_pass_confirm" name="signup[pass_confirm]" value="#{@signup.pass_confirm}" />
723
+ #
724
+ # hidden_field(:post, :tag_list)
725
+ # # => <input type="hidden" id="post_tag_list" name="post[tag_list]" value="#{@post.tag_list}" />
726
+ #
727
+ # hidden_field(:user, :token)
728
+ # # => <input type="hidden" id="user_token" name="user[token]" value="#{@user.token}" />
729
+ def hidden_field(object_name, method, options = {})
730
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("hidden", options)
731
+ end
732
+
733
+ # Returns a file upload input tag tailored for accessing a specified attribute (identified by +method+) on an object
734
+ # assigned to the template (identified by +object+). Additional options on the input tag can be passed as a
735
+ # hash with +options+. These options will be tagged onto the HTML as an HTML element attribute as in the example
736
+ # shown.
737
+ #
738
+ # Using this method inside a +form_for+ block will set the enclosing form's encoding to <tt>multipart/form-data</tt>.
739
+ #
740
+ # ==== Examples
741
+ # file_field(:user, :avatar)
742
+ # # => <input type="file" id="user_avatar" name="user[avatar]" />
743
+ #
744
+ # file_field(:post, :attached, :accept => 'text/html')
745
+ # # => <input accept="text/html" type="file" id="post_attached" name="post[attached]" />
746
+ #
747
+ # file_field(:attachment, :file, :class => 'file_input')
748
+ # # => <input type="file" id="attachment_file" name="attachment[file]" class="file_input" />
749
+ #
750
+ def file_field(object_name, method, options = {})
751
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("file", options.update({:size => nil}))
752
+ end
753
+
754
+ # Returns a textarea opening and closing tag set tailored for accessing a specified attribute (identified by +method+)
755
+ # on an object assigned to the template (identified by +object+). Additional options on the input tag can be passed as a
756
+ # hash with +options+.
757
+ #
758
+ # ==== Examples
759
+ # text_area(:post, :body, :cols => 20, :rows => 40)
760
+ # # => <textarea cols="20" rows="40" id="post_body" name="post[body]">
761
+ # # #{@post.body}
762
+ # # </textarea>
763
+ #
764
+ # text_area(:comment, :text, :size => "20x30")
765
+ # # => <textarea cols="20" rows="30" id="comment_text" name="comment[text]">
766
+ # # #{@comment.text}
767
+ # # </textarea>
768
+ #
769
+ # text_area(:application, :notes, :cols => 40, :rows => 15, :class => 'app_input')
770
+ # # => <textarea cols="40" rows="15" id="application_notes" name="application[notes]" class="app_input">
771
+ # # #{@application.notes}
772
+ # # </textarea>
773
+ #
774
+ # text_area(:entry, :body, :size => "20x20", :disabled => 'disabled')
775
+ # # => <textarea cols="20" rows="20" id="entry_body" name="entry[body]" disabled="disabled">
776
+ # # #{@entry.body}
777
+ # # </textarea>
778
+ def text_area(object_name, method, options = {})
779
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_text_area_tag(options)
780
+ end
781
+
782
+ # Returns a checkbox tag tailored for accessing a specified attribute (identified by +method+) on an object
783
+ # assigned to the template (identified by +object+). This object must be an instance object (@object) and not a local object.
784
+ # It's intended that +method+ returns an integer and if that integer is above zero, then the checkbox is checked.
785
+ # Additional options on the input tag can be passed as a hash with +options+. The +checked_value+ defaults to 1
786
+ # while the default +unchecked_value+ is set to 0 which is convenient for boolean values.
787
+ #
788
+ # ==== Gotcha
789
+ #
790
+ # The HTML specification says unchecked check boxes are not successful, and
791
+ # thus web browsers do not send them. Unfortunately this introduces a gotcha:
792
+ # if an +Invoice+ model has a +paid+ flag, and in the form that edits a paid
793
+ # invoice the user unchecks its check box, no +paid+ parameter is sent. So,
794
+ # any mass-assignment idiom like
795
+ #
796
+ # @invoice.update_attributes(params[:invoice])
797
+ #
798
+ # wouldn't update the flag.
799
+ #
800
+ # To prevent this the helper generates an auxiliary hidden field before
801
+ # the very check box. The hidden field has the same name and its
802
+ # attributes mimic an unchecked check box.
803
+ #
804
+ # This way, the client either sends only the hidden field (representing
805
+ # the check box is unchecked), or both fields. Since the HTML specification
806
+ # says key/value pairs have to be sent in the same order they appear in the
807
+ # form, and parameters extraction gets the last occurrence of any repeated
808
+ # key in the query string, that works for ordinary forms.
809
+ #
810
+ # Unfortunately that workaround does not work when the check box goes
811
+ # within an array-like parameter, as in
812
+ #
813
+ # <%= fields_for "project[invoice_attributes][]", invoice, :index => nil do |form| %>
814
+ # <%= form.check_box :paid %>
815
+ # ...
816
+ # <% end %>
817
+ #
818
+ # because parameter name repetition is precisely what Rails seeks to distinguish
819
+ # the elements of the array. For each item with a checked check box you
820
+ # get an extra ghost item with only that attribute, assigned to "0".
821
+ #
822
+ # In that case it is preferable to either use +check_box_tag+ or to use
823
+ # hashes instead of arrays.
824
+ #
825
+ # ==== Examples
826
+ # # Let's say that @post.validated? is 1:
827
+ # check_box("post", "validated")
828
+ # # => <input name="post[validated]" type="hidden" value="0" />
829
+ # # <input type="checkbox" id="post_validated" name="post[validated]" value="1" />
830
+ #
831
+ # # Let's say that @puppy.gooddog is "no":
832
+ # check_box("puppy", "gooddog", {}, "yes", "no")
833
+ # # => <input name="puppy[gooddog]" type="hidden" value="no" />
834
+ # # <input type="checkbox" id="puppy_gooddog" name="puppy[gooddog]" value="yes" />
835
+ #
836
+ # check_box("eula", "accepted", { :class => 'eula_check' }, "yes", "no")
837
+ # # => <input name="eula[accepted]" type="hidden" value="no" />
838
+ # # <input type="checkbox" class="eula_check" id="eula_accepted" name="eula[accepted]" value="yes" />
839
+ #
840
+ def check_box(object_name, method, options = {}, checked_value = "1", unchecked_value = "0")
841
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_check_box_tag(options, checked_value, unchecked_value)
842
+ end
843
+
844
+ # Returns a radio button tag for accessing a specified attribute (identified by +method+) on an object
845
+ # assigned to the template (identified by +object+). If the current value of +method+ is +tag_value+ the
846
+ # radio button will be checked.
847
+ #
848
+ # To force the radio button to be checked pass <tt>:checked => true</tt> in the
849
+ # +options+ hash. You may pass HTML options there as well.
850
+ #
851
+ # ==== Examples
852
+ # # Let's say that @post.category returns "rails":
853
+ # radio_button("post", "category", "rails")
854
+ # radio_button("post", "category", "java")
855
+ # # => <input type="radio" id="post_category_rails" name="post[category]" value="rails" checked="checked" />
856
+ # # <input type="radio" id="post_category_java" name="post[category]" value="java" />
857
+ #
858
+ # radio_button("user", "receive_newsletter", "yes")
859
+ # radio_button("user", "receive_newsletter", "no")
860
+ # # => <input type="radio" id="user_receive_newsletter_yes" name="user[receive_newsletter]" value="yes" />
861
+ # # <input type="radio" id="user_receive_newsletter_no" name="user[receive_newsletter]" value="no" checked="checked" />
862
+ def radio_button(object_name, method, tag_value, options = {})
863
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_radio_button_tag(tag_value, options)
864
+ end
865
+
866
+ # Returns an input of type "search" for accessing a specified attribute (identified by +method+) on an object
867
+ # assigned to the template (identified by +object_name+). Inputs of type "search" may be styled differently by
868
+ # some browsers.
869
+ #
870
+ # ==== Examples
871
+ #
872
+ # search_field(:user, :name)
873
+ # # => <input id="user_name" name="user[name]" size="30" type="search" />
874
+ # search_field(:user, :name, :autosave => false)
875
+ # # => <input autosave="false" id="user_name" name="user[name]" size="30" type="search" />
876
+ # search_field(:user, :name, :results => 3)
877
+ # # => <input id="user_name" name="user[name]" results="3" size="30" type="search" />
878
+ # # Assume request.host returns "www.example.com"
879
+ # search_field(:user, :name, :autosave => true)
880
+ # # => <input autosave="com.example.www" id="user_name" name="user[name]" results="10" size="30" type="search" />
881
+ # search_field(:user, :name, :onsearch => true)
882
+ # # => <input id="user_name" incremental="true" name="user[name]" onsearch="true" size="30" type="search" />
883
+ # search_field(:user, :name, :autosave => false, :onsearch => true)
884
+ # # => <input autosave="false" id="user_name" incremental="true" name="user[name]" onsearch="true" size="30" type="search" />
885
+ # search_field(:user, :name, :autosave => true, :onsearch => true)
886
+ # # => <input autosave="com.example.www" id="user_name" incremental="true" name="user[name]" onsearch="true" results="10" size="30" type="search" />
887
+ #
888
+ def search_field(object_name, method, options = {})
889
+ options = options.stringify_keys
890
+
891
+ if options["autosave"]
892
+ if options["autosave"] == true
893
+ options["autosave"] = request.host.split(".").reverse.join(".")
894
+ end
895
+ options["results"] ||= 10
896
+ end
897
+
898
+ if options["onsearch"]
899
+ options["incremental"] = true unless options.has_key?("incremental")
900
+ end
901
+
902
+ InstanceTag.new(object_name, method, self, options.delete("object")).to_input_field_tag("search", options)
903
+ end
904
+
905
+ # Returns a text_field of type "tel".
906
+ #
907
+ # telephone_field("user", "phone")
908
+ # # => <input id="user_phone" name="user[phone]" size="30" type="tel" />
909
+ #
910
+ def telephone_field(object_name, method, options = {})
911
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("tel", options)
912
+ end
913
+ alias phone_field telephone_field
914
+
915
+ # Returns a text_field of type "url".
916
+ #
917
+ # url_field("user", "homepage")
918
+ # # => <input id="user_homepage" size="30" name="user[homepage]" type="url" />
919
+ #
920
+ def url_field(object_name, method, options = {})
921
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("url", options)
922
+ end
923
+
924
+ # Returns a text_field of type "email".
925
+ #
926
+ # email_field("user", "address")
927
+ # # => <input id="user_address" size="30" name="user[address]" type="email" />
928
+ #
929
+ def email_field(object_name, method, options = {})
930
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_input_field_tag("email", options)
931
+ end
932
+
933
+ # Returns an input tag of type "number".
934
+ #
935
+ # ==== Options
936
+ # * Accepts same options as number_field_tag
937
+ def number_field(object_name, method, options = {})
938
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_number_field_tag("number", options)
939
+ end
940
+
941
+ # Returns an input tag of type "range".
942
+ #
943
+ # ==== Options
944
+ # * Accepts same options as range_field_tag
945
+ def range_field(object_name, method, options = {})
946
+ InstanceTag.new(object_name, method, self, options.delete(:object)).to_number_field_tag("range", options)
947
+ end
948
+
949
+ private
950
+
951
+ def instantiate_builder(record_name, record_object, options, &block)
952
+ case record_name
953
+ when String, Symbol
954
+ object = record_object
955
+ object_name = record_name
956
+ else
957
+ object = record_name
958
+ object_name = ActiveModel::Naming.param_key(object)
959
+ end
960
+
961
+ builder = options[:builder] || ActionView::Base.default_form_builder
962
+ builder.new(object_name, object, self, options, block)
963
+ end
964
+ end
965
+
966
+ class InstanceTag
967
+ include Helpers::ActiveModelInstanceTag, Helpers::TagHelper, Helpers::FormTagHelper
968
+
969
+ attr_reader :object, :method_name, :object_name
970
+
971
+ DEFAULT_FIELD_OPTIONS = { "size" => 30 }
972
+ DEFAULT_RADIO_OPTIONS = { }
973
+ DEFAULT_TEXT_AREA_OPTIONS = { "cols" => 40, "rows" => 20 }
974
+
975
+ def initialize(object_name, method_name, template_object, object = nil)
976
+ @object_name, @method_name = object_name.to_s.dup, method_name.to_s.dup
977
+ @template_object = template_object
978
+
979
+ @object_name.sub!(/\[\]$/,"") || @object_name.sub!(/\[\]\]$/,"]")
980
+ @object = retrieve_object(object)
981
+ @auto_index = retrieve_autoindex(Regexp.last_match.pre_match) if Regexp.last_match
982
+ end
983
+
984
+ def to_label_tag(text = nil, options = {}, &block)
985
+ options = options.stringify_keys
986
+ tag_value = options.delete("value")
987
+ name_and_id = options.dup
988
+
989
+ if name_and_id["for"]
990
+ name_and_id["id"] = name_and_id["for"]
991
+ else
992
+ name_and_id.delete("id")
993
+ end
994
+
995
+ add_default_name_and_id_for_value(tag_value, name_and_id)
996
+ options.delete("index")
997
+ options.delete("namespace")
998
+ options["for"] ||= name_and_id["id"]
999
+
1000
+ if block_given?
1001
+ @template_object.label_tag(name_and_id["id"], options, &block)
1002
+ else
1003
+ content = if text.blank?
1004
+ object_name.gsub!(/\[(.*)_attributes\]\[\d\]/, '.\1')
1005
+ method_and_value = tag_value.present? ? "#{method_name}.#{tag_value}" : method_name
1006
+
1007
+ if object.respond_to?(:to_model)
1008
+ key = object.class.model_name.i18n_key
1009
+ i18n_default = ["#{key}.#{method_and_value}".to_sym, ""]
1010
+ end
1011
+
1012
+ i18n_default ||= ""
1013
+ I18n.t("#{object_name}.#{method_and_value}", :default => i18n_default, :scope => "helpers.label").presence
1014
+ else
1015
+ text.to_s
1016
+ end
1017
+
1018
+ content ||= if object && object.class.respond_to?(:human_attribute_name)
1019
+ object.class.human_attribute_name(method_name)
1020
+ end
1021
+
1022
+ content ||= method_name.humanize
1023
+
1024
+ label_tag(name_and_id["id"], content, options)
1025
+ end
1026
+ end
1027
+
1028
+ def to_input_field_tag(field_type, options = {})
1029
+ options = options.stringify_keys
1030
+ options["size"] = options["maxlength"] || DEFAULT_FIELD_OPTIONS["size"] unless options.key?("size")
1031
+ options = DEFAULT_FIELD_OPTIONS.merge(options)
1032
+ if field_type == "hidden"
1033
+ options.delete("size")
1034
+ end
1035
+ options["type"] ||= field_type
1036
+ options["value"] = options.fetch("value"){ value_before_type_cast(object) } unless field_type == "file"
1037
+ options["value"] &&= ERB::Util.html_escape(options["value"])
1038
+ add_default_name_and_id(options)
1039
+ tag("input", options)
1040
+ end
1041
+
1042
+ def to_number_field_tag(field_type, options = {})
1043
+ options = options.stringify_keys
1044
+ options['size'] ||= nil
1045
+
1046
+ if range = options.delete("in") || options.delete("within")
1047
+ options.update("min" => range.min, "max" => range.max)
1048
+ end
1049
+ to_input_field_tag(field_type, options)
1050
+ end
1051
+
1052
+ def to_radio_button_tag(tag_value, options = {})
1053
+ options = DEFAULT_RADIO_OPTIONS.merge(options.stringify_keys)
1054
+ options["type"] = "radio"
1055
+ options["value"] = tag_value
1056
+ if options.has_key?("checked")
1057
+ cv = options.delete "checked"
1058
+ checked = cv == true || cv == "checked"
1059
+ else
1060
+ checked = self.class.radio_button_checked?(value(object), tag_value)
1061
+ end
1062
+ options["checked"] = "checked" if checked
1063
+ add_default_name_and_id_for_value(tag_value, options)
1064
+ tag("input", options)
1065
+ end
1066
+
1067
+ def to_text_area_tag(options = {})
1068
+ options = DEFAULT_TEXT_AREA_OPTIONS.merge(options.stringify_keys)
1069
+ add_default_name_and_id(options)
1070
+
1071
+ if size = options.delete("size")
1072
+ options["cols"], options["rows"] = size.split("x") if size.respond_to?(:split)
1073
+ end
1074
+
1075
+ content_tag("textarea", ERB::Util.html_escape(options.delete('value') || value_before_type_cast(object)), options)
1076
+ end
1077
+
1078
+ def to_check_box_tag(options = {}, checked_value = "1", unchecked_value = "0")
1079
+ options = options.stringify_keys
1080
+ options["type"] = "checkbox"
1081
+ options["value"] = checked_value
1082
+ if options.has_key?("checked")
1083
+ cv = options.delete "checked"
1084
+ checked = cv == true || cv == "checked"
1085
+ else
1086
+ checked = self.class.check_box_checked?(value(object), checked_value)
1087
+ end
1088
+ options["checked"] = "checked" if checked
1089
+ if options["multiple"]
1090
+ add_default_name_and_id_for_value(checked_value, options)
1091
+ options.delete("multiple")
1092
+ else
1093
+ add_default_name_and_id(options)
1094
+ end
1095
+ hidden = tag("input", "name" => options["name"], "type" => "hidden", "value" => options['disabled'] && checked ? checked_value : unchecked_value)
1096
+ checkbox = tag("input", options)
1097
+ (hidden + checkbox).html_safe
1098
+ end
1099
+
1100
+ def to_boolean_select_tag(options = {})
1101
+ options = options.stringify_keys
1102
+ add_default_name_and_id(options)
1103
+ value = value(object)
1104
+ tag_text = "<select"
1105
+ tag_text << tag_options(options)
1106
+ tag_text << "><option value=\"false\""
1107
+ tag_text << " selected" if value == false
1108
+ tag_text << ">False</option><option value=\"true\""
1109
+ tag_text << " selected" if value
1110
+ tag_text << ">True</option></select>"
1111
+ end
1112
+
1113
+ def to_content_tag(tag_name, options = {})
1114
+ content_tag(tag_name, value(object), options)
1115
+ end
1116
+
1117
+ def retrieve_object(object)
1118
+ if object
1119
+ object
1120
+ elsif @template_object.instance_variable_defined?("@#{@object_name}")
1121
+ @template_object.instance_variable_get("@#{@object_name}")
1122
+ end
1123
+ rescue NameError
1124
+ # As @object_name may contain the nested syntax (item[subobject]) we need to fallback to nil.
1125
+ nil
1126
+ end
1127
+
1128
+ def retrieve_autoindex(pre_match)
1129
+ object = self.object || @template_object.instance_variable_get("@#{pre_match}")
1130
+ if object && object.respond_to?(:to_param)
1131
+ object.to_param
1132
+ else
1133
+ raise ArgumentError, "object[] naming but object param and @object var don't exist or don't respond to to_param: #{object.inspect}"
1134
+ end
1135
+ end
1136
+
1137
+ def value(object)
1138
+ self.class.value(object, @method_name)
1139
+ end
1140
+
1141
+ def value_before_type_cast(object)
1142
+ self.class.value_before_type_cast(object, @method_name)
1143
+ end
1144
+
1145
+ class << self
1146
+ def value(object, method_name)
1147
+ object.send method_name if object
1148
+ end
1149
+
1150
+ def value_before_type_cast(object, method_name)
1151
+ unless object.nil?
1152
+ object.respond_to?(method_name + "_before_type_cast") ?
1153
+ object.send(method_name + "_before_type_cast") :
1154
+ object.send(method_name)
1155
+ end
1156
+ end
1157
+
1158
+ def check_box_checked?(value, checked_value)
1159
+ case value
1160
+ when TrueClass, FalseClass
1161
+ value
1162
+ when NilClass
1163
+ false
1164
+ when Integer
1165
+ value != 0
1166
+ when String
1167
+ value == checked_value
1168
+ when Array
1169
+ value.include?(checked_value)
1170
+ else
1171
+ value.to_i != 0
1172
+ end
1173
+ end
1174
+
1175
+ def radio_button_checked?(value, checked_value)
1176
+ value.to_s == checked_value.to_s
1177
+ end
1178
+ end
1179
+
1180
+ private
1181
+ def add_default_name_and_id_for_value(tag_value, options)
1182
+ unless tag_value.nil?
1183
+ pretty_tag_value = tag_value.to_s.gsub(/\s/, "_").gsub(/[^-\w]/, "").downcase
1184
+ specified_id = options["id"]
1185
+ add_default_name_and_id(options)
1186
+ options["id"] += "_#{pretty_tag_value}" if specified_id.blank? && options["id"].present?
1187
+ else
1188
+ add_default_name_and_id(options)
1189
+ end
1190
+ end
1191
+
1192
+ def add_default_name_and_id(options)
1193
+ if options.has_key?("index")
1194
+ options["name"] ||= tag_name_with_index(options["index"])
1195
+ options["id"] = options.fetch("id"){ tag_id_with_index(options["index"]) }
1196
+ options.delete("index")
1197
+ elsif defined?(@auto_index)
1198
+ options["name"] ||= tag_name_with_index(@auto_index)
1199
+ options["id"] = options.fetch("id"){ tag_id_with_index(@auto_index) }
1200
+ else
1201
+ options["name"] ||= tag_name + (options['multiple'] ? '[]' : '')
1202
+ options["id"] = options.fetch("id"){ tag_id }
1203
+ end
1204
+ options["id"] = [options.delete('namespace'), options["id"]].compact.join("_").presence
1205
+ end
1206
+
1207
+ def tag_name
1208
+ "#{@object_name}[#{sanitized_method_name}]"
1209
+ end
1210
+
1211
+ def tag_name_with_index(index)
1212
+ "#{@object_name}[#{index}][#{sanitized_method_name}]"
1213
+ end
1214
+
1215
+ def tag_id
1216
+ "#{sanitized_object_name}_#{sanitized_method_name}"
1217
+ end
1218
+
1219
+ def tag_id_with_index(index)
1220
+ "#{sanitized_object_name}_#{index}_#{sanitized_method_name}"
1221
+ end
1222
+
1223
+ def sanitized_object_name
1224
+ @sanitized_object_name ||= @object_name.gsub(/\]\[|[^-a-zA-Z0-9:.]/, "_").sub(/_$/, "")
1225
+ end
1226
+
1227
+ def sanitized_method_name
1228
+ @sanitized_method_name ||= @method_name.sub(/\?$/,"")
1229
+ end
1230
+ end
1231
+
1232
+ class FormBuilder
1233
+ # The methods which wrap a form helper call.
1234
+ class_attribute :field_helpers
1235
+ self.field_helpers = FormHelper.instance_method_names - %w(form_for convert_to_model)
1236
+
1237
+ attr_accessor :object_name, :object, :options
1238
+
1239
+ attr_reader :multipart, :parent_builder
1240
+ alias :multipart? :multipart
1241
+
1242
+ def multipart=(multipart)
1243
+ @multipart = multipart
1244
+ parent_builder.multipart = multipart if parent_builder
1245
+ end
1246
+
1247
+ def self._to_partial_path
1248
+ @_to_partial_path ||= name.demodulize.underscore.sub!(/_builder$/, '')
1249
+ end
1250
+
1251
+ def to_partial_path
1252
+ self.class._to_partial_path
1253
+ end
1254
+
1255
+ def to_model
1256
+ self
1257
+ end
1258
+
1259
+ def initialize(object_name, object, template, options, proc)
1260
+ @nested_child_index = {}
1261
+ @object_name, @object, @template, @options, @proc = object_name, object, template, options, proc
1262
+ @parent_builder = options[:parent_builder]
1263
+ @default_options = @options ? @options.slice(:index, :namespace) : {}
1264
+ if @object_name.to_s.match(/\[\]$/)
1265
+ if object ||= @template.instance_variable_get("@#{Regexp.last_match.pre_match}") and object.respond_to?(:to_param)
1266
+ @auto_index = object.to_param
1267
+ else
1268
+ raise ArgumentError, "object[] naming but object param and @object var don't exist or don't respond to to_param: #{object.inspect}"
1269
+ end
1270
+ end
1271
+ @multipart = nil
1272
+ end
1273
+
1274
+ (field_helpers - %w(label check_box radio_button fields_for hidden_field file_field)).each do |selector|
1275
+ class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1
1276
+ def #{selector}(method, options = {}) # def text_field(method, options = {})
1277
+ @template.send( # @template.send(
1278
+ #{selector.inspect}, # "text_field",
1279
+ @object_name, # @object_name,
1280
+ method, # method,
1281
+ objectify_options(options)) # objectify_options(options))
1282
+ end # end
1283
+ RUBY_EVAL
1284
+ end
1285
+
1286
+ def fields_for(record_name, record_object = nil, fields_options = {}, &block)
1287
+ fields_options, record_object = record_object, nil if record_object.is_a?(Hash) && record_object.extractable_options?
1288
+ fields_options[:builder] ||= options[:builder]
1289
+ fields_options[:parent_builder] = self
1290
+ fields_options[:namespace] = fields_options[:parent_builder].options[:namespace]
1291
+
1292
+ case record_name
1293
+ when String, Symbol
1294
+ if nested_attributes_association?(record_name)
1295
+ return fields_for_with_nested_attributes(record_name, record_object, fields_options, block)
1296
+ end
1297
+ else
1298
+ record_object = record_name.is_a?(Array) ? record_name.last : record_name
1299
+ record_name = ActiveModel::Naming.param_key(record_object)
1300
+ end
1301
+
1302
+ index = if options.has_key?(:index)
1303
+ "[#{options[:index]}]"
1304
+ elsif defined?(@auto_index)
1305
+ self.object_name = @object_name.to_s.sub(/\[\]$/,"")
1306
+ "[#{@auto_index}]"
1307
+ end
1308
+ record_name = "#{object_name}#{index}[#{record_name}]"
1309
+
1310
+ @template.fields_for(record_name, record_object, fields_options, &block)
1311
+ end
1312
+
1313
+ def label(method, text = nil, options = {}, &block)
1314
+ @template.label(@object_name, method, text, objectify_options(options), &block)
1315
+ end
1316
+
1317
+ def check_box(method, options = {}, checked_value = "1", unchecked_value = "0")
1318
+ @template.check_box(@object_name, method, objectify_options(options), checked_value, unchecked_value)
1319
+ end
1320
+
1321
+ def radio_button(method, tag_value, options = {})
1322
+ @template.radio_button(@object_name, method, tag_value, objectify_options(options))
1323
+ end
1324
+
1325
+ def hidden_field(method, options = {})
1326
+ @emitted_hidden_id = true if method == :id
1327
+ @template.hidden_field(@object_name, method, objectify_options(options))
1328
+ end
1329
+
1330
+ def file_field(method, options = {})
1331
+ self.multipart = true
1332
+ @template.file_field(@object_name, method, objectify_options(options))
1333
+ end
1334
+
1335
+ # Add the submit button for the given form. When no value is given, it checks
1336
+ # if the object is a new resource or not to create the proper label:
1337
+ #
1338
+ # <%= form_for @post do |f| %>
1339
+ # <%= f.submit %>
1340
+ # <% end %>
1341
+ #
1342
+ # In the example above, if @post is a new record, it will use "Create Post" as
1343
+ # submit button label, otherwise, it uses "Update Post".
1344
+ #
1345
+ # Those labels can be customized using I18n, under the helpers.submit key and accept
1346
+ # the %{model} as translation interpolation:
1347
+ #
1348
+ # en:
1349
+ # helpers:
1350
+ # submit:
1351
+ # create: "Create a %{model}"
1352
+ # update: "Confirm changes to %{model}"
1353
+ #
1354
+ # It also searches for a key specific for the given object:
1355
+ #
1356
+ # en:
1357
+ # helpers:
1358
+ # submit:
1359
+ # post:
1360
+ # create: "Add %{model}"
1361
+ #
1362
+ def submit(value=nil, options={})
1363
+ value, options = nil, value if value.is_a?(Hash)
1364
+ value ||= submit_default_value
1365
+ @template.submit_tag(value, options)
1366
+ end
1367
+
1368
+ # Add the submit button for the given form. When no value is given, it checks
1369
+ # if the object is a new resource or not to create the proper label:
1370
+ #
1371
+ # <%= form_for @post do |f| %>
1372
+ # <%= f.button %>
1373
+ # <% end %>
1374
+ #
1375
+ # In the example above, if @post is a new record, it will use "Create Post" as
1376
+ # submit button label, otherwise, it uses "Update Post".
1377
+ #
1378
+ # Those labels can be customized using I18n, under the helpers.submit key and accept
1379
+ # the %{model} as translation interpolation:
1380
+ #
1381
+ # en:
1382
+ # helpers:
1383
+ # button:
1384
+ # create: "Create a %{model}"
1385
+ # update: "Confirm changes to %{model}"
1386
+ #
1387
+ # It also searches for a key specific for the given object:
1388
+ #
1389
+ # en:
1390
+ # helpers:
1391
+ # button:
1392
+ # post:
1393
+ # create: "Add %{model}"
1394
+ #
1395
+ def button(value=nil, options={})
1396
+ value, options = nil, value if value.is_a?(Hash)
1397
+ value ||= submit_default_value
1398
+ @template.button_tag(value, options)
1399
+ end
1400
+
1401
+ def emitted_hidden_id?
1402
+ @emitted_hidden_id ||= nil
1403
+ end
1404
+
1405
+ private
1406
+ def objectify_options(options)
1407
+ @default_options.merge(options.merge(:object => @object))
1408
+ end
1409
+
1410
+ def submit_default_value
1411
+ object = convert_to_model(@object)
1412
+ key = object ? (object.persisted? ? :update : :create) : :submit
1413
+
1414
+ model = if object.class.respond_to?(:model_name)
1415
+ object.class.model_name.human
1416
+ else
1417
+ @object_name.to_s.humanize
1418
+ end
1419
+
1420
+ defaults = []
1421
+ defaults << :"helpers.submit.#{object_name}.#{key}"
1422
+ defaults << :"helpers.submit.#{key}"
1423
+ defaults << "#{key.to_s.humanize} #{model}"
1424
+
1425
+ I18n.t(defaults.shift, :model => model, :default => defaults)
1426
+ end
1427
+
1428
+ def nested_attributes_association?(association_name)
1429
+ @object.respond_to?("#{association_name}_attributes=")
1430
+ end
1431
+
1432
+ def fields_for_with_nested_attributes(association_name, association, options, block)
1433
+ name = "#{object_name}[#{association_name}_attributes]"
1434
+ association = convert_to_model(association)
1435
+
1436
+ if association.respond_to?(:persisted?)
1437
+ association = [association] if @object.send(association_name).is_a?(Array)
1438
+ elsif !association.respond_to?(:to_ary)
1439
+ association = @object.send(association_name)
1440
+ end
1441
+
1442
+ if association.respond_to?(:to_ary)
1443
+ explicit_child_index = options[:child_index]
1444
+ output = ActiveSupport::SafeBuffer.new
1445
+ association.each do |child|
1446
+ output << fields_for_nested_model("#{name}[#{explicit_child_index || nested_child_index(name)}]", child, options, block)
1447
+ end
1448
+ output
1449
+ elsif association
1450
+ fields_for_nested_model(name, association, options, block)
1451
+ end
1452
+ end
1453
+
1454
+ def fields_for_nested_model(name, object, options, block)
1455
+ object = convert_to_model(object)
1456
+
1457
+ parent_include_id = self.options.fetch(:include_id, true)
1458
+ include_id = options.fetch(:include_id, parent_include_id)
1459
+ options[:hidden_field_id] = object.persisted? && include_id
1460
+ @template.fields_for(name, object, options, &block)
1461
+ end
1462
+
1463
+ def nested_child_index(name)
1464
+ @nested_child_index[name] ||= -1
1465
+ @nested_child_index[name] += 1
1466
+ end
1467
+
1468
+ def convert_to_model(object)
1469
+ object.respond_to?(:to_model) ? object.to_model : object
1470
+ end
1471
+ end
1472
+ end
1473
+
1474
+ ActiveSupport.on_load(:action_view) do
1475
+ class ActionView::Base
1476
+ cattr_accessor :default_form_builder
1477
+ @@default_form_builder = ::ActionView::Helpers::FormBuilder
1478
+ end
1479
+ end
1480
+ end