challah 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1773) hide show
  1. data/CHANGELOG.md +4 -0
  2. data/lib/challah/railtie.rb +2 -1
  3. data/lib/challah/version.rb +1 -1
  4. data/vendor/bundle/cache/actionmailer-3.2.5.gem +0 -0
  5. data/vendor/bundle/cache/actionpack-3.2.5.gem +0 -0
  6. data/vendor/bundle/cache/activemodel-3.2.5.gem +0 -0
  7. data/vendor/bundle/cache/activerecord-3.2.5.gem +0 -0
  8. data/vendor/bundle/cache/activeresource-3.2.5.gem +0 -0
  9. data/vendor/bundle/cache/activesupport-3.2.5.gem +0 -0
  10. data/vendor/bundle/cache/multi_json-1.3.6.gem +0 -0
  11. data/vendor/bundle/cache/rails-3.2.5.gem +0 -0
  12. data/vendor/bundle/cache/railties-3.2.5.gem +0 -0
  13. data/vendor/bundle/cache/thor-0.15.2.gem +0 -0
  14. data/vendor/bundle/cache/yard-0.8.2.gem +0 -0
  15. data/vendor/bundle/gems/actionmailer-3.2.5/CHANGELOG.md +476 -0
  16. data/vendor/bundle/gems/actionmailer-3.2.5/MIT-LICENSE +21 -0
  17. data/vendor/bundle/gems/actionmailer-3.2.5/README.rdoc +163 -0
  18. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/base.rb +737 -0
  19. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/collector.rb +30 -0
  20. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/delivery_methods.rb +86 -0
  21. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/log_subscriber.rb +22 -0
  22. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/mail_helper.rb +56 -0
  23. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/railtie.rb +44 -0
  24. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/test_case.rb +82 -0
  25. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/test_helper.rb +61 -0
  26. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer/version.rb +10 -0
  27. data/vendor/bundle/gems/actionmailer-3.2.5/lib/action_mailer.rb +49 -0
  28. data/vendor/bundle/gems/actionmailer-3.2.5/lib/rails/generators/mailer/USAGE +18 -0
  29. data/vendor/bundle/gems/actionmailer-3.2.5/lib/rails/generators/mailer/mailer_generator.rb +16 -0
  30. data/vendor/bundle/gems/actionmailer-3.2.5/lib/rails/generators/mailer/templates/mailer.rb +18 -0
  31. data/vendor/bundle/gems/actionpack-3.2.5/CHANGELOG.md +5906 -0
  32. data/vendor/bundle/gems/actionpack-3.2.5/MIT-LICENSE +21 -0
  33. data/vendor/bundle/gems/actionpack-3.2.5/README.rdoc +341 -0
  34. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/asset_paths.rb +10 -0
  35. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/base.rb +213 -0
  36. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/callbacks.rb +198 -0
  37. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/collector.rb +32 -0
  38. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/helpers.rb +167 -0
  39. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/layouts.rb +423 -0
  40. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/logger.rb +13 -0
  41. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/railties/routes_helpers.rb +18 -0
  42. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb +179 -0
  43. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/translation.rb +13 -0
  44. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/url_for.rb +33 -0
  45. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller/view_paths.rb +96 -0
  46. data/vendor/bundle/gems/actionpack-3.2.5/lib/abstract_controller.rb +28 -0
  47. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/base.rb +235 -0
  48. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/caching/actions.rb +185 -0
  49. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/caching/fragments.rb +127 -0
  50. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/caching/pages.rb +187 -0
  51. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/caching/sweeping.rb +97 -0
  52. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/caching.rb +83 -0
  53. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/deprecated/integration_test.rb +2 -0
  54. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/deprecated/performance_test.rb +1 -0
  55. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/deprecated.rb +3 -0
  56. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/log_subscriber.rb +66 -0
  57. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/compatibility.rb +64 -0
  58. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/conditional_get.rb +131 -0
  59. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/cookies.rb +16 -0
  60. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/data_streaming.rb +157 -0
  61. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/exceptions.rb +46 -0
  62. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/flash.rb +28 -0
  63. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/force_ssl.rb +39 -0
  64. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/head.rb +35 -0
  65. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/helpers.rb +113 -0
  66. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/hide_actions.rb +47 -0
  67. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/http_authentication.rb +466 -0
  68. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/implicit_render.rb +19 -0
  69. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb +105 -0
  70. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/mime_responds.rb +317 -0
  71. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/params_wrapper.rb +239 -0
  72. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/rack_delegation.rb +26 -0
  73. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/redirecting.rb +109 -0
  74. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/renderers.rb +109 -0
  75. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/rendering.rb +65 -0
  76. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/request_forgery_protection.rb +113 -0
  77. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/rescue.rb +35 -0
  78. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/responder.rb +286 -0
  79. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/session_management.rb +14 -0
  80. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/streaming.rb +229 -0
  81. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/testing.rb +37 -0
  82. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal/url_for.rb +47 -0
  83. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/metal.rb +250 -0
  84. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/middleware.rb +39 -0
  85. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/railtie.rb +51 -0
  86. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/railties/paths.rb +25 -0
  87. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/record_identifier.rb +85 -0
  88. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/test_case.rb +553 -0
  89. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
  90. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/vendor/html-scanner/html/node.rb +532 -0
  91. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +177 -0
  92. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/vendor/html-scanner/html/selector.rb +830 -0
  93. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +107 -0
  94. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
  95. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller/vendor/html-scanner.rb +20 -0
  96. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_controller.rb +65 -0
  97. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/cache.rb +123 -0
  98. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/filter_parameters.rb +70 -0
  99. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/headers.rb +31 -0
  100. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/mime_negotiation.rb +110 -0
  101. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/mime_type.rb +276 -0
  102. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/mime_types.rb +35 -0
  103. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/parameter_filter.rb +74 -0
  104. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/parameters.rb +83 -0
  105. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/rack_cache.rb +62 -0
  106. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/request.rb +279 -0
  107. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/response.rb +206 -0
  108. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/upload.rb +47 -0
  109. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/http/url.rb +174 -0
  110. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/best_standards_support.rb +22 -0
  111. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/body_proxy.rb +30 -0
  112. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/callbacks.rb +32 -0
  113. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/cookies.rb +350 -0
  114. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/debug_exceptions.rb +82 -0
  115. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/exception_wrapper.rb +78 -0
  116. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/flash.rb +260 -0
  117. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/head.rb +18 -0
  118. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/params_parser.rb +75 -0
  119. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/public_exceptions.rb +30 -0
  120. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/reloader.rb +89 -0
  121. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/remote_ip.rb +81 -0
  122. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/request_id.rb +39 -0
  123. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/rescue.rb +26 -0
  124. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/session/abstract_store.rb +79 -0
  125. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/session/cache_store.rb +49 -0
  126. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/session/cookie_store.rb +71 -0
  127. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/session/mem_cache_store.rb +17 -0
  128. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/show_exceptions.rb +87 -0
  129. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/stack.rb +124 -0
  130. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/static.rb +65 -0
  131. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb +31 -0
  132. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb +26 -0
  133. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +10 -0
  134. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/layout.erb +32 -0
  135. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/missing_template.erb +2 -0
  136. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb +15 -0
  137. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb +17 -0
  138. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb +2 -0
  139. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/railtie.rb +34 -0
  140. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/routing/mapper.rb +1509 -0
  141. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/routing/polymorphic_routes.rb +203 -0
  142. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/routing/redirection.rb +131 -0
  143. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb +658 -0
  144. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/routing/routes_proxy.rb +39 -0
  145. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/routing/url_for.rb +167 -0
  146. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/routing.rb +293 -0
  147. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/assertions/dom.rb +37 -0
  148. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/assertions/response.rb +96 -0
  149. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/assertions/routing.rb +217 -0
  150. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/assertions/selector.rb +435 -0
  151. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/assertions/tag.rb +138 -0
  152. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/assertions.rb +18 -0
  153. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/integration.rb +496 -0
  154. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/performance_test.rb +10 -0
  155. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/test_process.rb +41 -0
  156. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/test_request.rb +74 -0
  157. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch/testing/test_response.rb +29 -0
  158. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_dispatch.rb +102 -0
  159. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_pack/version.rb +10 -0
  160. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_pack.rb +24 -0
  161. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/asset_paths.rb +136 -0
  162. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/base.rb +220 -0
  163. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/buffers.rb +43 -0
  164. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/context.rb +36 -0
  165. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/flows.rb +79 -0
  166. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/active_model_helper.rb +50 -0
  167. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/asset_paths.rb +7 -0
  168. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/asset_tag_helper.rb +459 -0
  169. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb +146 -0
  170. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/asset_tag_helpers/asset_paths.rb +93 -0
  171. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +192 -0
  172. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb +148 -0
  173. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/atom_feed_helper.rb +200 -0
  174. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/cache_helper.rb +64 -0
  175. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/capture_helper.rb +203 -0
  176. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/controller_helper.rb +23 -0
  177. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/csrf_helper.rb +32 -0
  178. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/date_helper.rb +1054 -0
  179. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/debug_helper.rb +40 -0
  180. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/form_helper.rb +1487 -0
  181. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/form_options_helper.rb +658 -0
  182. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/form_tag_helper.rb +688 -0
  183. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/javascript_helper.rb +114 -0
  184. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/number_helper.rb +539 -0
  185. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/output_safety_helper.rb +38 -0
  186. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/record_tag_helper.rb +109 -0
  187. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/rendering_helper.rb +90 -0
  188. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/sanitize_helper.rb +259 -0
  189. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/tag_helper.rb +160 -0
  190. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/text_helper.rb +426 -0
  191. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/translation_helper.rb +88 -0
  192. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers/url_helper.rb +696 -0
  193. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/helpers.rb +60 -0
  194. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/locale/en.yml +160 -0
  195. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/log_subscriber.rb +28 -0
  196. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/lookup_context.rb +241 -0
  197. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/path_set.rb +89 -0
  198. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/railtie.rb +55 -0
  199. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/renderer/abstract_renderer.rb +41 -0
  200. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/renderer/partial_renderer.rb +415 -0
  201. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/renderer/renderer.rb +54 -0
  202. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/renderer/streaming_template_renderer.rb +106 -0
  203. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb +94 -0
  204. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/template/error.rb +128 -0
  205. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/template/handlers/builder.rb +26 -0
  206. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/template/handlers/erb.rb +109 -0
  207. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/template/handlers.rb +50 -0
  208. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/template/resolver.rb +258 -0
  209. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/template/text.rb +30 -0
  210. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/template.rb +337 -0
  211. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/test_case.rb +244 -0
  212. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view/testing/resolvers.rb +50 -0
  213. data/vendor/bundle/gems/actionpack-3.2.5/lib/action_view.rb +84 -0
  214. data/vendor/bundle/gems/actionpack-3.2.5/lib/sprockets/assets.rake +99 -0
  215. data/vendor/bundle/gems/actionpack-3.2.5/lib/sprockets/bootstrap.rb +37 -0
  216. data/vendor/bundle/gems/actionpack-3.2.5/lib/sprockets/compressors.rb +83 -0
  217. data/vendor/bundle/gems/actionpack-3.2.5/lib/sprockets/helpers/isolated_helper.rb +13 -0
  218. data/vendor/bundle/gems/actionpack-3.2.5/lib/sprockets/helpers/rails_helper.rb +172 -0
  219. data/vendor/bundle/gems/actionpack-3.2.5/lib/sprockets/helpers.rb +6 -0
  220. data/vendor/bundle/gems/actionpack-3.2.5/lib/sprockets/railtie.rb +62 -0
  221. data/vendor/bundle/gems/actionpack-3.2.5/lib/sprockets/static_compiler.rb +64 -0
  222. data/vendor/bundle/gems/activemodel-3.2.5/CHANGELOG.md +134 -0
  223. data/vendor/bundle/gems/activemodel-3.2.5/MIT-LICENSE +21 -0
  224. data/vendor/bundle/gems/activemodel-3.2.5/README.rdoc +211 -0
  225. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/attribute_methods.rb +452 -0
  226. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/callbacks.rb +134 -0
  227. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/conversion.rb +73 -0
  228. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/dirty.rb +167 -0
  229. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/errors.rb +370 -0
  230. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/lint.rb +123 -0
  231. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/locale/en.yml +27 -0
  232. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/mass_assignment_security/permission_set.rb +40 -0
  233. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/mass_assignment_security/sanitizer.rb +59 -0
  234. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/mass_assignment_security.rb +237 -0
  235. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/naming.rb +171 -0
  236. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/observer_array.rb +147 -0
  237. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/observing.rb +252 -0
  238. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/railtie.rb +2 -0
  239. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/secure_password.rb +74 -0
  240. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/serialization.rb +139 -0
  241. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/serializers/json.rb +108 -0
  242. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/serializers/xml.rb +195 -0
  243. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/test_case.rb +16 -0
  244. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/translation.rb +70 -0
  245. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/acceptance.rb +67 -0
  246. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/callbacks.rb +57 -0
  247. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/confirmation.rb +67 -0
  248. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/exclusion.rb +75 -0
  249. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/format.rb +105 -0
  250. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/inclusion.rb +75 -0
  251. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/length.rb +127 -0
  252. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/numericality.rb +138 -0
  253. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/presence.rb +49 -0
  254. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/validates.rb +137 -0
  255. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations/with.rb +142 -0
  256. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validations.rb +235 -0
  257. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/validator.rb +184 -0
  258. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model/version.rb +10 -0
  259. data/vendor/bundle/gems/activemodel-3.2.5/lib/active_model.rb +61 -0
  260. data/vendor/bundle/gems/activerecord-3.2.5/CHANGELOG.md +6792 -0
  261. data/vendor/bundle/gems/activerecord-3.2.5/MIT-LICENSE +20 -0
  262. data/vendor/bundle/gems/activerecord-3.2.5/README.rdoc +222 -0
  263. data/vendor/bundle/gems/activerecord-3.2.5/examples/associations.png +0 -0
  264. data/vendor/bundle/gems/activerecord-3.2.5/examples/performance.rb +177 -0
  265. data/vendor/bundle/gems/activerecord-3.2.5/examples/simple.rb +14 -0
  266. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/aggregations.rb +255 -0
  267. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/alias_tracker.rb +76 -0
  268. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/association.rb +240 -0
  269. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/association_scope.rb +134 -0
  270. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/belongs_to_association.rb +79 -0
  271. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/belongs_to_polymorphic_association.rb +34 -0
  272. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/builder/association.rb +55 -0
  273. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/builder/belongs_to.rb +85 -0
  274. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/builder/collection_association.rb +75 -0
  275. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/builder/has_and_belongs_to_many.rb +57 -0
  276. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/builder/has_many.rb +71 -0
  277. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/builder/has_one.rb +62 -0
  278. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/builder/singular_association.rb +32 -0
  279. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/collection_association.rb +586 -0
  280. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/collection_proxy.rb +131 -0
  281. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/has_and_belongs_to_many_association.rb +69 -0
  282. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/has_many_association.rb +112 -0
  283. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/has_many_through_association.rb +186 -0
  284. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/has_one_association.rb +73 -0
  285. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/has_one_through_association.rb +36 -0
  286. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/join_dependency/join_association.rb +154 -0
  287. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/join_dependency/join_base.rb +24 -0
  288. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/join_dependency/join_part.rb +78 -0
  289. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/join_dependency.rb +214 -0
  290. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/join_helper.rb +55 -0
  291. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/association.rb +127 -0
  292. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/belongs_to.rb +17 -0
  293. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/collection_association.rb +24 -0
  294. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/has_and_belongs_to_many.rb +60 -0
  295. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/has_many.rb +17 -0
  296. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/has_many_through.rb +15 -0
  297. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/has_one.rb +23 -0
  298. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/has_one_through.rb +9 -0
  299. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/singular_association.rb +21 -0
  300. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader/through_association.rb +67 -0
  301. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/preloader.rb +177 -0
  302. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/singular_association.rb +64 -0
  303. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations/through_association.rb +87 -0
  304. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/associations.rb +1604 -0
  305. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_assignment.rb +221 -0
  306. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/before_type_cast.rb +31 -0
  307. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/deprecated_underscore_read.rb +32 -0
  308. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/dirty.rb +101 -0
  309. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/primary_key.rb +114 -0
  310. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/query.rb +39 -0
  311. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/read.rb +136 -0
  312. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/serialization.rb +102 -0
  313. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/time_zone_conversion.rb +63 -0
  314. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods/write.rb +69 -0
  315. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/attribute_methods.rb +273 -0
  316. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/autosave_association.rb +422 -0
  317. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/base.rb +721 -0
  318. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/callbacks.rb +275 -0
  319. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/coders/yaml_column.rb +41 -0
  320. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb +482 -0
  321. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/connection_specification.rb +188 -0
  322. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/database_limits.rb +58 -0
  323. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb +390 -0
  324. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/query_cache.rb +82 -0
  325. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/quoting.rb +115 -0
  326. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/schema_definitions.rb +492 -0
  327. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/schema_statements.rb +606 -0
  328. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract_adapter.rb +296 -0
  329. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +674 -0
  330. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/column.rb +270 -0
  331. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/mysql2_adapter.rb +278 -0
  332. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/mysql_adapter.rb +426 -0
  333. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb +1306 -0
  334. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/schema_cache.rb +50 -0
  335. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/sqlite3_adapter.rb +55 -0
  336. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/sqlite_adapter.rb +579 -0
  337. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/connection_adapters/statement_pool.rb +40 -0
  338. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/counter_cache.rb +119 -0
  339. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/dynamic_finder_match.rb +68 -0
  340. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/dynamic_matchers.rb +79 -0
  341. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/dynamic_scope_match.rb +23 -0
  342. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/errors.rb +195 -0
  343. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/explain.rb +85 -0
  344. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/explain_subscriber.rb +24 -0
  345. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/fixtures/file.rb +65 -0
  346. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/fixtures.rb +922 -0
  347. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/identity_map.rb +162 -0
  348. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/inheritance.rb +174 -0
  349. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/integration.rb +49 -0
  350. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/locale/en.yml +40 -0
  351. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/locking/optimistic.rb +183 -0
  352. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/locking/pessimistic.rb +77 -0
  353. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/log_subscriber.rb +68 -0
  354. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/migration/command_recorder.rb +105 -0
  355. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/migration.rb +781 -0
  356. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/model_schema.rb +366 -0
  357. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/nested_attributes.rb +469 -0
  358. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/observer.rb +121 -0
  359. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/persistence.rb +372 -0
  360. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/query_cache.rb +74 -0
  361. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/querying.rb +58 -0
  362. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/railtie.rb +125 -0
  363. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/railties/console_sandbox.rb +6 -0
  364. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/railties/controller_runtime.rb +49 -0
  365. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/railties/databases.rake +624 -0
  366. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/railties/jdbcmysql_error.rb +16 -0
  367. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/readonly_attributes.rb +26 -0
  368. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/reflection.rb +534 -0
  369. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/relation/batches.rb +90 -0
  370. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/relation/calculations.rb +354 -0
  371. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/relation/delegation.rb +49 -0
  372. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/relation/finder_methods.rb +397 -0
  373. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/relation/predicate_builder.rb +58 -0
  374. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/relation/query_methods.rb +417 -0
  375. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/relation/spawn_methods.rb +148 -0
  376. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/relation.rb +537 -0
  377. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/result.rb +34 -0
  378. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/sanitization.rb +194 -0
  379. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/schema.rb +58 -0
  380. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/schema_dumper.rb +204 -0
  381. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/scoping/default.rb +142 -0
  382. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/scoping/named.rb +202 -0
  383. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/scoping.rb +152 -0
  384. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/serialization.rb +18 -0
  385. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/serializers/xml_serializer.rb +203 -0
  386. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/session_store.rb +358 -0
  387. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/store.rb +50 -0
  388. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/test_case.rb +73 -0
  389. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/timestamp.rb +113 -0
  390. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/transactions.rb +362 -0
  391. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/translation.rb +22 -0
  392. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/validations/associated.rb +43 -0
  393. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/validations/uniqueness.rb +180 -0
  394. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/validations.rb +83 -0
  395. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record/version.rb +10 -0
  396. data/vendor/bundle/gems/activerecord-3.2.5/lib/active_record.rb +147 -0
  397. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/migration/migration_generator.rb +25 -0
  398. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/migration/templates/migration.rb +34 -0
  399. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/migration.rb +15 -0
  400. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/model/model_generator.rb +47 -0
  401. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/model/templates/migration.rb +15 -0
  402. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/model/templates/model.rb +12 -0
  403. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/model/templates/module.rb +7 -0
  404. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/observer/observer_generator.rb +15 -0
  405. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/observer/templates/observer.rb +4 -0
  406. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/session_migration/session_migration_generator.rb +25 -0
  407. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record/session_migration/templates/migration.rb +12 -0
  408. data/vendor/bundle/gems/activerecord-3.2.5/lib/rails/generators/active_record.rb +25 -0
  409. data/vendor/bundle/gems/activeresource-3.2.5/CHANGELOG.md +353 -0
  410. data/vendor/bundle/gems/activeresource-3.2.5/MIT-LICENSE +20 -0
  411. data/vendor/bundle/gems/activeresource-3.2.5/README.rdoc +187 -0
  412. data/vendor/bundle/gems/activeresource-3.2.5/examples/performance.rb +70 -0
  413. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/base.rb +1482 -0
  414. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/connection.rb +287 -0
  415. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/custom_methods.rb +119 -0
  416. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/exceptions.rb +82 -0
  417. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/formats/json_format.rb +25 -0
  418. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/formats/xml_format.rb +25 -0
  419. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/formats.rb +22 -0
  420. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/http_mock.rb +335 -0
  421. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/log_subscriber.rb +15 -0
  422. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/observing.rb +29 -0
  423. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/railtie.rb +14 -0
  424. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/schema.rb +59 -0
  425. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/validations.rb +134 -0
  426. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource/version.rb +10 -0
  427. data/vendor/bundle/gems/activeresource-3.2.5/lib/active_resource.rb +46 -0
  428. data/vendor/bundle/gems/activesupport-3.2.5/CHANGELOG.md +1693 -0
  429. data/vendor/bundle/gems/activesupport-3.2.5/MIT-LICENSE +20 -0
  430. data/vendor/bundle/gems/activesupport-3.2.5/README.rdoc +33 -0
  431. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/all.rb +3 -0
  432. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/backtrace_cleaner.rb +99 -0
  433. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/base64.rb +54 -0
  434. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/basic_object.rb +21 -0
  435. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/benchmarkable.rb +55 -0
  436. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/buffered_logger.rb +125 -0
  437. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/builder.rb +6 -0
  438. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/cache/file_store.rb +178 -0
  439. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/cache/mem_cache_store.rb +206 -0
  440. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/cache/memory_store.rb +159 -0
  441. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/cache/null_store.rb +44 -0
  442. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/cache/strategy/local_cache.rb +169 -0
  443. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/cache.rb +638 -0
  444. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/callbacks.rb +626 -0
  445. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/concern.rb +131 -0
  446. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/configurable.rb +90 -0
  447. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array/access.rb +46 -0
  448. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array/conversions.rb +164 -0
  449. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array/extract_options.rb +29 -0
  450. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array/grouping.rb +100 -0
  451. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  452. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array/random_access.rb +30 -0
  453. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array/uniq_by.rb +16 -0
  454. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array/wrap.rb +48 -0
  455. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/array.rb +8 -0
  456. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/benchmark.rb +7 -0
  457. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/big_decimal/conversions.rb +45 -0
  458. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/big_decimal.rb +1 -0
  459. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/class/attribute.rb +115 -0
  460. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/class/attribute_accessors.rb +168 -0
  461. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
  462. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/class/subclasses.rb +36 -0
  463. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/class.rb +4 -0
  464. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date/acts_like.rb +8 -0
  465. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date/calculations.rb +276 -0
  466. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date/conversions.rb +106 -0
  467. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date/freeze.rb +33 -0
  468. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date/zones.rb +14 -0
  469. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
  470. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date_time/calculations.rb +143 -0
  471. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date_time/conversions.rb +103 -0
  472. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/date_time/zones.rb +21 -0
  473. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/enumerable.rb +127 -0
  474. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/exception.rb +3 -0
  475. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/file/atomic.rb +42 -0
  476. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/file/path.rb +5 -0
  477. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/file.rb +2 -0
  478. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/float/rounding.rb +19 -0
  479. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/float.rb +1 -0
  480. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/conversions.rb +157 -0
  481. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/deep_dup.rb +18 -0
  482. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/deep_merge.rb +21 -0
  483. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/diff.rb +13 -0
  484. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/except.rb +23 -0
  485. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
  486. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/keys.rb +54 -0
  487. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/reverse_merge.rb +23 -0
  488. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash/slice.rb +40 -0
  489. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/hash.rb +9 -0
  490. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/integer/inflections.rb +17 -0
  491. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/integer/multiple.rb +10 -0
  492. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/integer/time.rb +39 -0
  493. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/integer.rb +3 -0
  494. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/io.rb +15 -0
  495. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  496. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/kernel/debugger.rb +10 -0
  497. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/kernel/reporting.rb +93 -0
  498. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
  499. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/kernel.rb +4 -0
  500. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/load_error.rb +23 -0
  501. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/logger.rb +83 -0
  502. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/aliasing.rb +70 -0
  503. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/anonymous.rb +24 -0
  504. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/attr_internal.rb +39 -0
  505. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/attribute_accessors.rb +64 -0
  506. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/delegation.rb +153 -0
  507. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/deprecation.rb +9 -0
  508. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/introspection.rb +88 -0
  509. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/method_names.rb +14 -0
  510. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/qualified_const.rb +64 -0
  511. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/reachable.rb +8 -0
  512. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/remove_method.rb +16 -0
  513. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module/synchronization.rb +45 -0
  514. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/module.rb +12 -0
  515. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/name_error.rb +18 -0
  516. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  517. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/numeric/time.rb +79 -0
  518. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/numeric.rb +2 -0
  519. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/acts_like.rb +10 -0
  520. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/blank.rb +121 -0
  521. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/conversions.rb +4 -0
  522. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/duplicable.rb +119 -0
  523. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/inclusion.rb +25 -0
  524. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/instance_variables.rb +33 -0
  525. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/to_json.rb +19 -0
  526. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/to_param.rb +55 -0
  527. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/to_query.rb +27 -0
  528. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/try.rb +57 -0
  529. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object/with_options.rb +43 -0
  530. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/object.rb +13 -0
  531. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/proc.rb +14 -0
  532. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/process/daemon.rb +23 -0
  533. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/process.rb +1 -0
  534. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/range/blockless_step.rb +29 -0
  535. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/range/conversions.rb +21 -0
  536. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/range/cover.rb +3 -0
  537. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/range/include_range.rb +21 -0
  538. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/range/overlaps.rb +8 -0
  539. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/range.rb +5 -0
  540. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/regexp.rb +5 -0
  541. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/rexml.rb +46 -0
  542. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/access.rb +99 -0
  543. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/behavior.rb +6 -0
  544. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/conversions.rb +66 -0
  545. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/encoding.rb +11 -0
  546. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/exclude.rb +11 -0
  547. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/filters.rb +49 -0
  548. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/inflections.rb +202 -0
  549. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/inquiry.rb +13 -0
  550. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/interpolation.rb +2 -0
  551. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/multibyte.rb +72 -0
  552. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/output_safety.rb +187 -0
  553. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  554. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/strip.rb +26 -0
  555. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string/xchar.rb +18 -0
  556. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/string.rb +14 -0
  557. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/time/acts_like.rb +8 -0
  558. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/time/calculations.rb +358 -0
  559. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/time/conversions.rb +85 -0
  560. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/time/marshal.rb +57 -0
  561. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
  562. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/time/zones.rb +87 -0
  563. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext/uri.rb +30 -0
  564. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/core_ext.rb +3 -0
  565. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/dependencies/autoload.rb +50 -0
  566. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/dependencies.rb +703 -0
  567. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/deprecation/behaviors.rb +49 -0
  568. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/deprecation/method_wrappers.rb +29 -0
  569. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
  570. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/deprecation/reporting.rb +65 -0
  571. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/deprecation.rb +18 -0
  572. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/descendants_tracker.rb +45 -0
  573. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/duration.rb +110 -0
  574. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/file_update_checker.rb +121 -0
  575. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/file_watcher.rb +36 -0
  576. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/gzip.rb +30 -0
  577. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/hash_with_indifferent_access.rb +168 -0
  578. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/i18n.rb +9 -0
  579. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/i18n_railtie.rb +102 -0
  580. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/inflections.rb +61 -0
  581. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/inflector/inflections.rb +172 -0
  582. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/inflector/methods.rb +320 -0
  583. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/inflector/transliterate.rb +98 -0
  584. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/inflector.rb +7 -0
  585. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/json/decoding.rb +79 -0
  586. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/json/encoding.rb +284 -0
  587. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/json/variable.rb +17 -0
  588. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/json.rb +2 -0
  589. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/lazy_load_hooks.rb +46 -0
  590. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/locale/en.yml +36 -0
  591. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/log_subscriber/test_helper.rb +101 -0
  592. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/log_subscriber.rb +122 -0
  593. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/memoizable.rb +116 -0
  594. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/message_encryptor.rb +103 -0
  595. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/message_verifier.rb +74 -0
  596. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/multibyte/chars.rb +476 -0
  597. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/multibyte/exceptions.rb +8 -0
  598. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/multibyte/unicode.rb +393 -0
  599. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/multibyte/utils.rb +60 -0
  600. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/multibyte.rb +44 -0
  601. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/notifications/fanout.rb +61 -0
  602. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/notifications/instrumenter.rb +53 -0
  603. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/notifications.rb +154 -0
  604. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/option_merger.rb +25 -0
  605. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/ordered_hash.rb +222 -0
  606. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/ordered_options.rb +61 -0
  607. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/railtie.rb +59 -0
  608. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/rescuable.rb +115 -0
  609. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/ruby/shim.rb +22 -0
  610. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/string_inquirer.rb +21 -0
  611. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/tagged_logging.rb +70 -0
  612. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/test_case.rb +34 -0
  613. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/assertions.rb +97 -0
  614. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/declarative.rb +40 -0
  615. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/deprecation.rb +55 -0
  616. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/isolation.rb +157 -0
  617. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/mochaing.rb +7 -0
  618. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/pending.rb +52 -0
  619. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/performance/jruby.rb +115 -0
  620. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/performance/rubinius.rb +113 -0
  621. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/performance/ruby/mri.rb +57 -0
  622. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/performance/ruby/yarv.rb +57 -0
  623. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/performance/ruby.rb +152 -0
  624. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/performance.rb +317 -0
  625. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/testing/setup_and_teardown.rb +116 -0
  626. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/time/autoload.rb +5 -0
  627. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/time.rb +35 -0
  628. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/time_with_zone.rb +354 -0
  629. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/values/time_zone.rb +397 -0
  630. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/values/unicode_tables.dat +0 -0
  631. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/version.rb +10 -0
  632. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/whiny_nil.rb +24 -0
  633. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/xml_mini/jdom.rb +175 -0
  634. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/xml_mini/libxml.rb +80 -0
  635. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/xml_mini/libxmlsax.rb +86 -0
  636. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/xml_mini/nokogiri.rb +84 -0
  637. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/xml_mini/nokogirisax.rb +88 -0
  638. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/xml_mini/rexml.rb +130 -0
  639. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support/xml_mini.rb +168 -0
  640. data/vendor/bundle/gems/activesupport-3.2.5/lib/active_support.rb +82 -0
  641. data/vendor/bundle/gems/multi_json-1.3.6/Gemfile +7 -0
  642. data/vendor/bundle/gems/multi_json-1.3.6/LICENSE.md +20 -0
  643. data/vendor/bundle/gems/multi_json-1.3.6/README.md +119 -0
  644. data/vendor/bundle/gems/multi_json-1.3.6/Rakefile +20 -0
  645. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/adapters/json_common.rb +25 -0
  646. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/adapters/json_gem.rb +12 -0
  647. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/adapters/json_pure.rb +12 -0
  648. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/adapters/nsjsonserialization.rb +34 -0
  649. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/adapters/oj.rb +22 -0
  650. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/adapters/ok_json.rb +48 -0
  651. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/adapters/yajl.rb +18 -0
  652. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/vendor/okjson.rb +602 -0
  653. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json/version.rb +3 -0
  654. data/vendor/bundle/gems/multi_json-1.3.6/lib/multi_json.rb +118 -0
  655. data/vendor/bundle/gems/multi_json-1.3.6/multi_json.gemspec +22 -0
  656. data/vendor/bundle/gems/multi_json-1.3.6/spec/adapter_shared_example.rb +115 -0
  657. data/vendor/bundle/gems/multi_json-1.3.6/spec/helper.rb +32 -0
  658. data/vendor/bundle/gems/multi_json-1.3.6/spec/multi_json_spec.rb +87 -0
  659. data/vendor/bundle/gems/railties-3.2.5/CHANGELOG.md +2446 -0
  660. data/vendor/bundle/gems/railties-3.2.5/README.rdoc +35 -0
  661. data/vendor/bundle/gems/railties-3.2.5/bin/rails +7 -0
  662. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/belongs_to.png +0 -0
  663. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/book_icon.gif +0 -0
  664. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/bullet.gif +0 -0
  665. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/challenge.png +0 -0
  666. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/chapters_icon.gif +0 -0
  667. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/check_bullet.gif +0 -0
  668. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/credits_pic_blank.gif +0 -0
  669. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/csrf.png +0 -0
  670. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/customized_error_messages.png +0 -0
  671. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/edge_badge.png +0 -0
  672. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/error_messages.png +0 -0
  673. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/feature_tile.gif +0 -0
  674. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/footer_tile.gif +0 -0
  675. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/fxn.png +0 -0
  676. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/grey_bullet.gif +0 -0
  677. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/habtm.png +0 -0
  678. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/has_many.png +0 -0
  679. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/has_many_through.png +0 -0
  680. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/has_one.png +0 -0
  681. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/has_one_through.png +0 -0
  682. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/header_backdrop.png +0 -0
  683. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/header_tile.gif +0 -0
  684. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/i18n/demo_html_safe.png +0 -0
  685. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/i18n/demo_localized_pirate.png +0 -0
  686. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/i18n/demo_translated_en.png +0 -0
  687. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/i18n/demo_translated_pirate.png +0 -0
  688. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/i18n/demo_translation_missing.png +0 -0
  689. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/i18n/demo_untranslated.png +0 -0
  690. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/README +5 -0
  691. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/1.png +0 -0
  692. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/10.png +0 -0
  693. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/11.png +0 -0
  694. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/12.png +0 -0
  695. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/13.png +0 -0
  696. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/14.png +0 -0
  697. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/15.png +0 -0
  698. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/2.png +0 -0
  699. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/3.png +0 -0
  700. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/4.png +0 -0
  701. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/5.png +0 -0
  702. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/6.png +0 -0
  703. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/7.png +0 -0
  704. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/8.png +0 -0
  705. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/callouts/9.png +0 -0
  706. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/caution.png +0 -0
  707. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/example.png +0 -0
  708. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/home.png +0 -0
  709. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/important.png +0 -0
  710. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/next.png +0 -0
  711. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/note.png +0 -0
  712. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/prev.png +0 -0
  713. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/tip.png +0 -0
  714. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/up.png +0 -0
  715. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/icons/warning.png +0 -0
  716. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/jaimeiniesta.jpg +0 -0
  717. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/nav_arrow.gif +0 -0
  718. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/polymorphic.png +0 -0
  719. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/posts_index.png +0 -0
  720. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/radar.png +0 -0
  721. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/rails_guides_kindle_cover.jpg +0 -0
  722. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/rails_guides_logo.gif +0 -0
  723. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/rails_logo_remix.gif +0 -0
  724. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/rails_welcome.png +0 -0
  725. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/session_fixation.png +0 -0
  726. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/tab_grey.gif +0 -0
  727. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/tab_info.gif +0 -0
  728. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/tab_note.gif +0 -0
  729. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/tab_red.gif +0 -0
  730. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/tab_yellow.gif +0 -0
  731. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/tab_yellow.png +0 -0
  732. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/validation_error_messages.png +0 -0
  733. data/vendor/bundle/gems/railties-3.2.5/guides/assets/images/vijaydev.jpg +0 -0
  734. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/guides.js +7 -0
  735. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
  736. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
  737. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
  738. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
  739. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
  740. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
  741. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
  742. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
  743. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
  744. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
  745. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
  746. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
  747. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
  748. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
  749. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
  750. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
  751. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
  752. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
  753. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
  754. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
  755. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
  756. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
  757. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
  758. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
  759. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
  760. data/vendor/bundle/gems/railties-3.2.5/guides/assets/javascripts/syntaxhighlighter/shCore.js +17 -0
  761. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/fixes.css +16 -0
  762. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/kindle.css +11 -0
  763. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/main.css +453 -0
  764. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/print.css +52 -0
  765. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/reset.css +43 -0
  766. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/style.css +13 -0
  767. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCore.css +226 -0
  768. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
  769. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
  770. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
  771. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
  772. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
  773. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
  774. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
  775. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
  776. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
  777. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
  778. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
  779. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
  780. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
  781. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
  782. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
  783. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
  784. data/vendor/bundle/gems/railties-3.2.5/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
  785. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/Gemfile +38 -0
  786. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/README.rdoc +261 -0
  787. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/Rakefile +7 -0
  788. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/images/rails.png +0 -0
  789. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/javascripts/application.js +15 -0
  790. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/javascripts/comments.js.coffee +3 -0
  791. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/javascripts/home.js.coffee +3 -0
  792. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/javascripts/posts.js.coffee +3 -0
  793. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/stylesheets/application.css +13 -0
  794. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/stylesheets/comments.css.scss +3 -0
  795. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/stylesheets/home.css.scss +3 -0
  796. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/stylesheets/posts.css.scss +3 -0
  797. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/assets/stylesheets/scaffolds.css.scss +56 -0
  798. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/controllers/application_controller.rb +3 -0
  799. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/controllers/comments_controller.rb +16 -0
  800. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/controllers/home_controller.rb +5 -0
  801. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/controllers/posts_controller.rb +84 -0
  802. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/helpers/application_helper.rb +2 -0
  803. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/helpers/comments_helper.rb +2 -0
  804. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/helpers/home_helper.rb +2 -0
  805. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/helpers/posts_helper.rb +5 -0
  806. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/models/comment.rb +3 -0
  807. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/models/post.rb +11 -0
  808. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/models/tag.rb +3 -0
  809. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/comments/_comment.html.erb +15 -0
  810. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/comments/_form.html.erb +13 -0
  811. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/home/index.html.erb +2 -0
  812. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/layouts/application.html.erb +14 -0
  813. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/posts/_form.html.erb +32 -0
  814. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/posts/edit.html.erb +6 -0
  815. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/posts/index.html.erb +27 -0
  816. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/posts/new.html.erb +5 -0
  817. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/posts/show.html.erb +31 -0
  818. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/app/views/tags/_form.html.erb +12 -0
  819. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/application.rb +59 -0
  820. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/boot.rb +6 -0
  821. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/database.yml +25 -0
  822. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/environment.rb +5 -0
  823. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/environments/development.rb +37 -0
  824. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/environments/production.rb +67 -0
  825. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/environments/test.rb +37 -0
  826. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/initializers/backtrace_silencers.rb +7 -0
  827. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/initializers/inflections.rb +15 -0
  828. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/initializers/mime_types.rb +5 -0
  829. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/initializers/secret_token.rb +7 -0
  830. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/initializers/session_store.rb +8 -0
  831. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/initializers/wrap_parameters.rb +14 -0
  832. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/locales/en.yml +5 -0
  833. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config/routes.rb +64 -0
  834. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/config.ru +4 -0
  835. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/db/migrate/20110901012504_create_posts.rb +11 -0
  836. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/db/migrate/20110901012815_create_comments.rb +12 -0
  837. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/db/migrate/20110901013701_create_tags.rb +11 -0
  838. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/db/schema.rb +43 -0
  839. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/db/seeds.rb +7 -0
  840. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/doc/README_FOR_APP +2 -0
  841. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/public/404.html +26 -0
  842. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/public/422.html +26 -0
  843. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/public/500.html +25 -0
  844. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/public/favicon.ico +0 -0
  845. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/public/robots.txt +5 -0
  846. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/script/rails +6 -0
  847. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/fixtures/comments.yml +11 -0
  848. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/fixtures/posts.yml +11 -0
  849. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/fixtures/tags.yml +9 -0
  850. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/functional/comments_controller_test.rb +7 -0
  851. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/functional/home_controller_test.rb +9 -0
  852. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/functional/posts_controller_test.rb +49 -0
  853. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/performance/browsing_test.rb +12 -0
  854. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/test_helper.rb +13 -0
  855. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/unit/comment_test.rb +7 -0
  856. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/unit/helpers/comments_helper_test.rb +4 -0
  857. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/unit/helpers/home_helper_test.rb +4 -0
  858. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/unit/helpers/posts_helper_test.rb +4 -0
  859. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/unit/post_test.rb +7 -0
  860. data/vendor/bundle/gems/railties-3.2.5/guides/code/getting_started/test/unit/tag_test.rb +7 -0
  861. data/vendor/bundle/gems/railties-3.2.5/guides/rails_guides/generator.rb +310 -0
  862. data/vendor/bundle/gems/railties-3.2.5/guides/rails_guides/helpers.rb +45 -0
  863. data/vendor/bundle/gems/railties-3.2.5/guides/rails_guides/indexer.rb +69 -0
  864. data/vendor/bundle/gems/railties-3.2.5/guides/rails_guides/levenshtein.rb +31 -0
  865. data/vendor/bundle/gems/railties-3.2.5/guides/rails_guides/textile_extensions.rb +63 -0
  866. data/vendor/bundle/gems/railties-3.2.5/guides/rails_guides.rb +50 -0
  867. data/vendor/bundle/gems/railties-3.2.5/guides/source/2_2_release_notes.textile +422 -0
  868. data/vendor/bundle/gems/railties-3.2.5/guides/source/2_3_release_notes.textile +610 -0
  869. data/vendor/bundle/gems/railties-3.2.5/guides/source/3_0_release_notes.textile +595 -0
  870. data/vendor/bundle/gems/railties-3.2.5/guides/source/3_1_release_notes.textile +431 -0
  871. data/vendor/bundle/gems/railties-3.2.5/guides/source/3_2_release_notes.textile +540 -0
  872. data/vendor/bundle/gems/railties-3.2.5/guides/source/_license.html.erb +2 -0
  873. data/vendor/bundle/gems/railties-3.2.5/guides/source/_welcome.html.erb +19 -0
  874. data/vendor/bundle/gems/railties-3.2.5/guides/source/action_controller_overview.textile +820 -0
  875. data/vendor/bundle/gems/railties-3.2.5/guides/source/action_mailer_basics.textile +516 -0
  876. data/vendor/bundle/gems/railties-3.2.5/guides/source/action_view_overview.textile +1497 -0
  877. data/vendor/bundle/gems/railties-3.2.5/guides/source/active_model_basics.textile +205 -0
  878. data/vendor/bundle/gems/railties-3.2.5/guides/source/active_record_basics.textile +218 -0
  879. data/vendor/bundle/gems/railties-3.2.5/guides/source/active_record_querying.textile +1433 -0
  880. data/vendor/bundle/gems/railties-3.2.5/guides/source/active_record_validations_callbacks.textile +1283 -0
  881. data/vendor/bundle/gems/railties-3.2.5/guides/source/active_resource_basics.textile +120 -0
  882. data/vendor/bundle/gems/railties-3.2.5/guides/source/active_support_core_extensions.textile +3713 -0
  883. data/vendor/bundle/gems/railties-3.2.5/guides/source/ajax_on_rails.textile +267 -0
  884. data/vendor/bundle/gems/railties-3.2.5/guides/source/api_documentation_guidelines.textile +185 -0
  885. data/vendor/bundle/gems/railties-3.2.5/guides/source/asset_pipeline.textile +707 -0
  886. data/vendor/bundle/gems/railties-3.2.5/guides/source/association_basics.textile +1959 -0
  887. data/vendor/bundle/gems/railties-3.2.5/guides/source/caching_with_rails.textile +437 -0
  888. data/vendor/bundle/gems/railties-3.2.5/guides/source/command_line.textile +574 -0
  889. data/vendor/bundle/gems/railties-3.2.5/guides/source/configuring.textile +641 -0
  890. data/vendor/bundle/gems/railties-3.2.5/guides/source/contributing_to_ruby_on_rails.textile +423 -0
  891. data/vendor/bundle/gems/railties-3.2.5/guides/source/credits.html.erb +72 -0
  892. data/vendor/bundle/gems/railties-3.2.5/guides/source/debugging_rails_applications.textile +714 -0
  893. data/vendor/bundle/gems/railties-3.2.5/guides/source/documents.yaml +157 -0
  894. data/vendor/bundle/gems/railties-3.2.5/guides/source/engines.textile +618 -0
  895. data/vendor/bundle/gems/railties-3.2.5/guides/source/form_helpers.textile +798 -0
  896. data/vendor/bundle/gems/railties-3.2.5/guides/source/generators.textile +621 -0
  897. data/vendor/bundle/gems/railties-3.2.5/guides/source/getting_started.textile +1929 -0
  898. data/vendor/bundle/gems/railties-3.2.5/guides/source/i18n.textile +931 -0
  899. data/vendor/bundle/gems/railties-3.2.5/guides/source/index.html.erb +30 -0
  900. data/vendor/bundle/gems/railties-3.2.5/guides/source/initialization.textile +1116 -0
  901. data/vendor/bundle/gems/railties-3.2.5/guides/source/kindle/KINDLE.md +26 -0
  902. data/vendor/bundle/gems/railties-3.2.5/guides/source/kindle/copyright.html.erb +1 -0
  903. data/vendor/bundle/gems/railties-3.2.5/guides/source/kindle/layout.html.erb +27 -0
  904. data/vendor/bundle/gems/railties-3.2.5/guides/source/kindle/rails_guides.opf.erb +52 -0
  905. data/vendor/bundle/gems/railties-3.2.5/guides/source/kindle/toc.html.erb +24 -0
  906. data/vendor/bundle/gems/railties-3.2.5/guides/source/kindle/toc.ncx.erb +64 -0
  907. data/vendor/bundle/gems/railties-3.2.5/guides/source/kindle/welcome.html.erb +5 -0
  908. data/vendor/bundle/gems/railties-3.2.5/guides/source/layout.html.erb +124 -0
  909. data/vendor/bundle/gems/railties-3.2.5/guides/source/layouts_and_rendering.textile +1237 -0
  910. data/vendor/bundle/gems/railties-3.2.5/guides/source/migrations.textile +900 -0
  911. data/vendor/bundle/gems/railties-3.2.5/guides/source/nested_model_forms.textile +222 -0
  912. data/vendor/bundle/gems/railties-3.2.5/guides/source/performance_testing.textile +597 -0
  913. data/vendor/bundle/gems/railties-3.2.5/guides/source/plugins.textile +464 -0
  914. data/vendor/bundle/gems/railties-3.2.5/guides/source/rails_application_templates.textile +240 -0
  915. data/vendor/bundle/gems/railties-3.2.5/guides/source/rails_on_rack.textile +236 -0
  916. data/vendor/bundle/gems/railties-3.2.5/guides/source/routing.textile +885 -0
  917. data/vendor/bundle/gems/railties-3.2.5/guides/source/ruby_on_rails_guides_guidelines.textile +79 -0
  918. data/vendor/bundle/gems/railties-3.2.5/guides/source/security.textile +1004 -0
  919. data/vendor/bundle/gems/railties-3.2.5/guides/source/testing.textile +947 -0
  920. data/vendor/bundle/gems/railties-3.2.5/guides/w3c_validator.rb +91 -0
  921. data/vendor/bundle/gems/railties-3.2.5/lib/rails/all.rb +15 -0
  922. data/vendor/bundle/gems/railties-3.2.5/lib/rails/application/bootstrap.rb +73 -0
  923. data/vendor/bundle/gems/railties-3.2.5/lib/rails/application/configuration.rb +151 -0
  924. data/vendor/bundle/gems/railties-3.2.5/lib/rails/application/finisher.rb +98 -0
  925. data/vendor/bundle/gems/railties-3.2.5/lib/rails/application/railties.rb +13 -0
  926. data/vendor/bundle/gems/railties-3.2.5/lib/rails/application/route_inspector.rb +84 -0
  927. data/vendor/bundle/gems/railties-3.2.5/lib/rails/application/routes_reloader.rb +56 -0
  928. data/vendor/bundle/gems/railties-3.2.5/lib/rails/application.rb +315 -0
  929. data/vendor/bundle/gems/railties-3.2.5/lib/rails/backtrace_cleaner.rb +42 -0
  930. data/vendor/bundle/gems/railties-3.2.5/lib/rails/cli.rb +16 -0
  931. data/vendor/bundle/gems/railties-3.2.5/lib/rails/code_statistics.rb +118 -0
  932. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/application.rb +38 -0
  933. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/benchmarker.rb +34 -0
  934. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/console.rb +55 -0
  935. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/dbconsole.rb +123 -0
  936. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/destroy.rb +10 -0
  937. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/generate.rb +12 -0
  938. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/plugin.rb +544 -0
  939. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/plugin_new.rb +11 -0
  940. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/profiler.rb +32 -0
  941. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/runner.rb +54 -0
  942. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/server.rb +100 -0
  943. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands/update.rb +9 -0
  944. data/vendor/bundle/gems/railties-3.2.5/lib/rails/commands.rb +104 -0
  945. data/vendor/bundle/gems/railties-3.2.5/lib/rails/configuration.rb +89 -0
  946. data/vendor/bundle/gems/railties-3.2.5/lib/rails/console/app.rb +36 -0
  947. data/vendor/bundle/gems/railties-3.2.5/lib/rails/console/helpers.rb +11 -0
  948. data/vendor/bundle/gems/railties-3.2.5/lib/rails/engine/commands.rb +43 -0
  949. data/vendor/bundle/gems/railties-3.2.5/lib/rails/engine/configuration.rb +84 -0
  950. data/vendor/bundle/gems/railties-3.2.5/lib/rails/engine/railties.rb +33 -0
  951. data/vendor/bundle/gems/railties-3.2.5/lib/rails/engine.rb +657 -0
  952. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/actions.rb +325 -0
  953. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/active_model.rb +78 -0
  954. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/app_base.rb +281 -0
  955. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/base.rb +389 -0
  956. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/css/assets/assets_generator.rb +13 -0
  957. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
  958. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
  959. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/controller/controller_generator.rb +20 -0
  960. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
  961. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/mailer/mailer_generator.rb +13 -0
  962. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
  963. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/scaffold/scaffold_generator.rb +29 -0
  964. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/scaffold/templates/_form.html.erb +23 -0
  965. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
  966. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/scaffold/templates/index.html.erb +27 -0
  967. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
  968. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb/scaffold/templates/show.html.erb +12 -0
  969. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/erb.rb +21 -0
  970. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/generated_attribute.rb +107 -0
  971. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/js/assets/assets_generator.rb +13 -0
  972. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/js/assets/templates/javascript.js +2 -0
  973. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/migration.rb +68 -0
  974. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/named_base.rb +202 -0
  975. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/USAGE +15 -0
  976. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/app_generator.rb +303 -0
  977. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/Gemfile +26 -0
  978. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/README +261 -0
  979. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/Rakefile +7 -0
  980. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/app/assets/images/rails.png +0 -0
  981. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +17 -0
  982. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +13 -0
  983. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +3 -0
  984. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
  985. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +14 -0
  986. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/application.rb +74 -0
  987. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/boot.rb +6 -0
  988. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +31 -0
  989. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +86 -0
  990. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +62 -0
  991. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +33 -0
  992. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +43 -0
  993. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +20 -0
  994. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +54 -0
  995. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +39 -0
  996. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +55 -0
  997. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
  998. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
  999. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +41 -0
  1000. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +73 -0
  1001. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +39 -0
  1002. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
  1003. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +15 -0
  1004. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +5 -0
  1005. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt +7 -0
  1006. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +8 -0
  1007. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
  1008. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/locales/en.yml +5 -0
  1009. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config/routes.rb +58 -0
  1010. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/config.ru +4 -0
  1011. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
  1012. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/doc/README_FOR_APP +2 -0
  1013. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/gitignore +15 -0
  1014. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/public/404.html +26 -0
  1015. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/public/422.html +26 -0
  1016. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/public/500.html +25 -0
  1017. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
  1018. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/public/index.html +241 -0
  1019. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
  1020. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/script/rails +5 -0
  1021. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb +12 -0
  1022. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/app/templates/test/test_helper.rb +15 -0
  1023. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/assets/USAGE +20 -0
  1024. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
  1025. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
  1026. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
  1027. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/controller/USAGE +18 -0
  1028. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/controller/controller_generator.rb +20 -0
  1029. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/controller/templates/controller.rb +13 -0
  1030. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/generator/USAGE +12 -0
  1031. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/generator/generator_generator.rb +25 -0
  1032. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
  1033. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
  1034. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/helper/USAGE +17 -0
  1035. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
  1036. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
  1037. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/integration_test/USAGE +10 -0
  1038. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
  1039. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/migration/USAGE +29 -0
  1040. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
  1041. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/model/USAGE +45 -0
  1042. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/model/model_generator.rb +8 -0
  1043. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/observer/USAGE +12 -0
  1044. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/observer/observer_generator.rb +7 -0
  1045. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/performance_test/USAGE +10 -0
  1046. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/performance_test/performance_test_generator.rb +7 -0
  1047. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/USAGE +10 -0
  1048. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +318 -0
  1049. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +27 -0
  1050. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/Gemfile +23 -0
  1051. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE +20 -0
  1052. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/README.rdoc +3 -0
  1053. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/Rakefile +31 -0
  1054. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt +4 -0
  1055. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt +4 -0
  1056. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt +14 -0
  1057. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/config/routes.rb +6 -0
  1058. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/gitignore +7 -0
  1059. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb +7 -0
  1060. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb +3 -0
  1061. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb +6 -0
  1062. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake +4 -0
  1063. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +18 -0
  1064. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb +10 -0
  1065. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/rails/routes.rb +4 -0
  1066. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/script/rails.tt +7 -0
  1067. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb +7 -0
  1068. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +12 -0
  1069. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +15 -0
  1070. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/resource/USAGE +23 -0
  1071. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/resource/resource_generator.rb +20 -0
  1072. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/resource_route/resource_route_generator.rb +13 -0
  1073. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/scaffold/USAGE +35 -0
  1074. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/scaffold/scaffold_generator.rb +23 -0
  1075. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/scaffold/templates/scaffold.css +56 -0
  1076. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/scaffold_controller/USAGE +20 -0
  1077. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +25 -0
  1078. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +89 -0
  1079. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/session_migration/USAGE +8 -0
  1080. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/session_migration/session_migration_generator.rb +8 -0
  1081. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/task/USAGE +9 -0
  1082. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/task/task_generator.rb +12 -0
  1083. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/rails/task/templates/task.rb +8 -0
  1084. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/resource_helpers.rb +80 -0
  1085. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_case.rb +247 -0
  1086. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
  1087. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/controller/templates/functional_test.rb +19 -0
  1088. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/helper/helper_generator.rb +13 -0
  1089. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/helper/templates/helper_test.rb +6 -0
  1090. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
  1091. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
  1092. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/mailer/mailer_generator.rb +14 -0
  1093. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
  1094. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/model/model_generator.rb +24 -0
  1095. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/model/templates/fixtures.yml +23 -0
  1096. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
  1097. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/observer/observer_generator.rb +13 -0
  1098. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/observer/templates/unit_test.rb +9 -0
  1099. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/performance/performance_generator.rb +13 -0
  1100. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/performance/templates/performance_test.rb +12 -0
  1101. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
  1102. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
  1103. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +3 -0
  1104. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +38 -0
  1105. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +51 -0
  1106. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators/test_unit.rb +8 -0
  1107. data/vendor/bundle/gems/railties-3.2.5/lib/rails/generators.rb +339 -0
  1108. data/vendor/bundle/gems/railties-3.2.5/lib/rails/info.rb +116 -0
  1109. data/vendor/bundle/gems/railties-3.2.5/lib/rails/info_controller.rb +15 -0
  1110. data/vendor/bundle/gems/railties-3.2.5/lib/rails/initializable.rb +89 -0
  1111. data/vendor/bundle/gems/railties-3.2.5/lib/rails/paths.rb +211 -0
  1112. data/vendor/bundle/gems/railties-3.2.5/lib/rails/performance_test_help.rb +3 -0
  1113. data/vendor/bundle/gems/railties-3.2.5/lib/rails/plugin.rb +92 -0
  1114. data/vendor/bundle/gems/railties-3.2.5/lib/rails/rack/debugger.rb +24 -0
  1115. data/vendor/bundle/gems/railties-3.2.5/lib/rails/rack/log_tailer.rb +34 -0
  1116. data/vendor/bundle/gems/railties-3.2.5/lib/rails/rack/logger.rb +47 -0
  1117. data/vendor/bundle/gems/railties-3.2.5/lib/rails/rack.rb +7 -0
  1118. data/vendor/bundle/gems/railties-3.2.5/lib/rails/railtie/configurable.rb +35 -0
  1119. data/vendor/bundle/gems/railties-3.2.5/lib/rails/railtie/configuration.rb +90 -0
  1120. data/vendor/bundle/gems/railties-3.2.5/lib/rails/railtie.rb +202 -0
  1121. data/vendor/bundle/gems/railties-3.2.5/lib/rails/ruby_version_check.rb +23 -0
  1122. data/vendor/bundle/gems/railties-3.2.5/lib/rails/rubyprof_ext.rb +35 -0
  1123. data/vendor/bundle/gems/railties-3.2.5/lib/rails/script_rails_loader.rb +29 -0
  1124. data/vendor/bundle/gems/railties-3.2.5/lib/rails/source_annotation_extractor.rb +104 -0
  1125. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/annotations.rake +20 -0
  1126. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/documentation.rake +155 -0
  1127. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/engine.rake +72 -0
  1128. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/framework.rake +76 -0
  1129. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/log.rake +9 -0
  1130. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/middleware.rake +7 -0
  1131. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/misc.rake +67 -0
  1132. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/routes.rake +9 -0
  1133. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/statistics.rake +16 -0
  1134. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks/tmp.rake +37 -0
  1135. data/vendor/bundle/gems/railties-3.2.5/lib/rails/tasks.rb +16 -0
  1136. data/vendor/bundle/gems/railties-3.2.5/lib/rails/test_help.rb +56 -0
  1137. data/vendor/bundle/gems/railties-3.2.5/lib/rails/test_unit/railtie.rb +15 -0
  1138. data/vendor/bundle/gems/railties-3.2.5/lib/rails/test_unit/sub_test_task.rb +8 -0
  1139. data/vendor/bundle/gems/railties-3.2.5/lib/rails/test_unit/testing.rake +146 -0
  1140. data/vendor/bundle/gems/railties-3.2.5/lib/rails/version.rb +10 -0
  1141. data/vendor/bundle/gems/railties-3.2.5/lib/rails.rb +126 -0
  1142. data/vendor/bundle/gems/thor-0.15.2/CHANGELOG.rdoc +103 -0
  1143. data/vendor/bundle/gems/thor-0.15.2/Gemfile +15 -0
  1144. data/vendor/bundle/gems/thor-0.15.2/LICENSE.md +20 -0
  1145. data/vendor/bundle/gems/thor-0.15.2/README.md +28 -0
  1146. data/vendor/bundle/gems/thor-0.15.2/Thorfile +30 -0
  1147. data/vendor/bundle/gems/thor-0.15.2/bin/rake2thor +86 -0
  1148. data/vendor/bundle/gems/thor-0.15.2/bin/thor +6 -0
  1149. data/vendor/bundle/gems/thor-0.15.2/lib/thor/actions/create_file.rb +105 -0
  1150. data/vendor/bundle/gems/thor-0.15.2/lib/thor/actions/create_link.rb +57 -0
  1151. data/vendor/bundle/gems/thor-0.15.2/lib/thor/actions/directory.rb +97 -0
  1152. data/vendor/bundle/gems/thor-0.15.2/lib/thor/actions/empty_directory.rb +153 -0
  1153. data/vendor/bundle/gems/thor-0.15.2/lib/thor/actions/file_manipulation.rb +308 -0
  1154. data/vendor/bundle/gems/thor-0.15.2/lib/thor/actions/inject_into_file.rb +109 -0
  1155. data/vendor/bundle/gems/thor-0.15.2/lib/thor/actions.rb +318 -0
  1156. data/vendor/bundle/gems/thor-0.15.2/lib/thor/base.rb +617 -0
  1157. data/vendor/bundle/gems/thor-0.15.2/lib/thor/core_ext/file_binary_read.rb +9 -0
  1158. data/vendor/bundle/gems/thor-0.15.2/lib/thor/core_ext/hash_with_indifferent_access.rb +75 -0
  1159. data/vendor/bundle/gems/thor-0.15.2/lib/thor/core_ext/ordered_hash.rb +100 -0
  1160. data/vendor/bundle/gems/thor-0.15.2/lib/thor/error.rb +35 -0
  1161. data/vendor/bundle/gems/thor-0.15.2/lib/thor/group.rb +285 -0
  1162. data/vendor/bundle/gems/thor-0.15.2/lib/thor/invocation.rb +170 -0
  1163. data/vendor/bundle/gems/thor-0.15.2/lib/thor/parser/argument.rb +67 -0
  1164. data/vendor/bundle/gems/thor-0.15.2/lib/thor/parser/arguments.rb +165 -0
  1165. data/vendor/bundle/gems/thor-0.15.2/lib/thor/parser/option.rb +121 -0
  1166. data/vendor/bundle/gems/thor-0.15.2/lib/thor/parser/options.rb +178 -0
  1167. data/vendor/bundle/gems/thor-0.15.2/lib/thor/parser.rb +4 -0
  1168. data/vendor/bundle/gems/thor-0.15.2/lib/thor/rake_compat.rb +71 -0
  1169. data/vendor/bundle/gems/thor-0.15.2/lib/thor/runner.rb +321 -0
  1170. data/vendor/bundle/gems/thor-0.15.2/lib/thor/shell/basic.rb +389 -0
  1171. data/vendor/bundle/gems/thor-0.15.2/lib/thor/shell/color.rb +144 -0
  1172. data/vendor/bundle/gems/thor-0.15.2/lib/thor/shell/html.rb +123 -0
  1173. data/vendor/bundle/gems/thor-0.15.2/lib/thor/shell.rb +88 -0
  1174. data/vendor/bundle/gems/thor-0.15.2/lib/thor/task.rb +132 -0
  1175. data/vendor/bundle/gems/thor-0.15.2/lib/thor/util.rb +248 -0
  1176. data/vendor/bundle/gems/thor-0.15.2/lib/thor/version.rb +3 -0
  1177. data/vendor/bundle/gems/thor-0.15.2/lib/thor.rb +379 -0
  1178. data/vendor/bundle/gems/thor-0.15.2/spec/actions/create_file_spec.rb +170 -0
  1179. data/vendor/bundle/gems/thor-0.15.2/spec/actions/create_link_spec.rb +81 -0
  1180. data/vendor/bundle/gems/thor-0.15.2/spec/actions/directory_spec.rb +136 -0
  1181. data/vendor/bundle/gems/thor-0.15.2/spec/actions/empty_directory_spec.rb +130 -0
  1182. data/vendor/bundle/gems/thor-0.15.2/spec/actions/file_manipulation_spec.rb +370 -0
  1183. data/vendor/bundle/gems/thor-0.15.2/spec/actions/inject_into_file_spec.rb +135 -0
  1184. data/vendor/bundle/gems/thor-0.15.2/spec/actions_spec.rb +326 -0
  1185. data/vendor/bundle/gems/thor-0.15.2/spec/base_spec.rb +274 -0
  1186. data/vendor/bundle/gems/thor-0.15.2/spec/core_ext/hash_with_indifferent_access_spec.rb +43 -0
  1187. data/vendor/bundle/gems/thor-0.15.2/spec/core_ext/ordered_hash_spec.rb +115 -0
  1188. data/vendor/bundle/gems/thor-0.15.2/spec/exit_condition_spec.rb +19 -0
  1189. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/application.rb +2 -0
  1190. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/bundle/execute.rb +6 -0
  1191. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/bundle/main.thor +1 -0
  1192. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/doc/%file_name%.rb.tt +1 -0
  1193. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/doc/COMMENTER +10 -0
  1194. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/doc/README +3 -0
  1195. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/doc/block_helper.rb +3 -0
  1196. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/doc/config.rb +1 -0
  1197. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/doc/config.yaml.tt +1 -0
  1198. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/group.thor +114 -0
  1199. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/invoke.thor +112 -0
  1200. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/path with spaces +0 -0
  1201. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/script.thor +190 -0
  1202. data/vendor/bundle/gems/thor-0.15.2/spec/fixtures/task.thor +10 -0
  1203. data/vendor/bundle/gems/thor-0.15.2/spec/group_spec.rb +216 -0
  1204. data/vendor/bundle/gems/thor-0.15.2/spec/invocation_spec.rb +100 -0
  1205. data/vendor/bundle/gems/thor-0.15.2/spec/parser/argument_spec.rb +47 -0
  1206. data/vendor/bundle/gems/thor-0.15.2/spec/parser/arguments_spec.rb +65 -0
  1207. data/vendor/bundle/gems/thor-0.15.2/spec/parser/option_spec.rb +202 -0
  1208. data/vendor/bundle/gems/thor-0.15.2/spec/parser/options_spec.rb +329 -0
  1209. data/vendor/bundle/gems/thor-0.15.2/spec/rake_compat_spec.rb +72 -0
  1210. data/vendor/bundle/gems/thor-0.15.2/spec/register_spec.rb +135 -0
  1211. data/vendor/bundle/gems/thor-0.15.2/spec/runner_spec.rb +241 -0
  1212. data/vendor/bundle/gems/thor-0.15.2/spec/shell/basic_spec.rb +300 -0
  1213. data/vendor/bundle/gems/thor-0.15.2/spec/shell/color_spec.rb +81 -0
  1214. data/vendor/bundle/gems/thor-0.15.2/spec/shell/html_spec.rb +32 -0
  1215. data/vendor/bundle/gems/thor-0.15.2/spec/shell_spec.rb +47 -0
  1216. data/vendor/bundle/gems/thor-0.15.2/spec/spec_helper.rb +58 -0
  1217. data/vendor/bundle/gems/thor-0.15.2/spec/task_spec.rb +79 -0
  1218. data/vendor/bundle/gems/thor-0.15.2/spec/thor_spec.rb +387 -0
  1219. data/vendor/bundle/gems/thor-0.15.2/spec/util_spec.rb +163 -0
  1220. data/vendor/bundle/gems/thor-0.15.2/thor.gemspec +26 -0
  1221. data/vendor/bundle/gems/yard-0.8.2/ChangeLog +12178 -0
  1222. data/vendor/bundle/gems/yard-0.8.2/LEGAL +74 -0
  1223. data/vendor/bundle/gems/yard-0.8.2/LICENSE +22 -0
  1224. data/vendor/bundle/gems/yard-0.8.2/README.md +553 -0
  1225. data/vendor/bundle/gems/yard-0.8.2/Rakefile +93 -0
  1226. data/vendor/bundle/gems/yard-0.8.2/benchmarks/builtins_vs_eval.rb +23 -0
  1227. data/vendor/bundle/gems/yard-0.8.2/benchmarks/concat_vs_join.rb +12 -0
  1228. data/vendor/bundle/gems/yard-0.8.2/benchmarks/erb_vs_erubis.rb +53 -0
  1229. data/vendor/bundle/gems/yard-0.8.2/benchmarks/format_args.rb +46 -0
  1230. data/vendor/bundle/gems/yard-0.8.2/benchmarks/generation.rb +37 -0
  1231. data/vendor/bundle/gems/yard-0.8.2/benchmarks/marshal_vs_dbm.rb +63 -0
  1232. data/vendor/bundle/gems/yard-0.8.2/benchmarks/parsing.rb +46 -0
  1233. data/vendor/bundle/gems/yard-0.8.2/benchmarks/pathname_vs_string.rb +50 -0
  1234. data/vendor/bundle/gems/yard-0.8.2/benchmarks/rdoc_vs_yardoc.rb +10 -0
  1235. data/vendor/bundle/gems/yard-0.8.2/benchmarks/registry_store_types.rb +48 -0
  1236. data/vendor/bundle/gems/yard-0.8.2/benchmarks/ri_vs_yri.rb +18 -0
  1237. data/vendor/bundle/gems/yard-0.8.2/benchmarks/ripper_parser.rb +12 -0
  1238. data/vendor/bundle/gems/yard-0.8.2/benchmarks/splat_vs_flatten.rb +12 -0
  1239. data/vendor/bundle/gems/yard-0.8.2/benchmarks/template_erb.rb +22 -0
  1240. data/vendor/bundle/gems/yard-0.8.2/benchmarks/template_format.rb +6 -0
  1241. data/vendor/bundle/gems/yard-0.8.2/benchmarks/template_profile.rb +17 -0
  1242. data/vendor/bundle/gems/yard-0.8.2/benchmarks/yri_cache.rb +19 -0
  1243. data/vendor/bundle/gems/yard-0.8.2/bin/yard +12 -0
  1244. data/vendor/bundle/gems/yard-0.8.2/bin/yardoc +12 -0
  1245. data/vendor/bundle/gems/yard-0.8.2/bin/yri +12 -0
  1246. data/vendor/bundle/gems/yard-0.8.2/docs/CodeObjects.md +115 -0
  1247. data/vendor/bundle/gems/yard-0.8.2/docs/GettingStarted.md +592 -0
  1248. data/vendor/bundle/gems/yard-0.8.2/docs/Handlers.md +152 -0
  1249. data/vendor/bundle/gems/yard-0.8.2/docs/Overview.md +61 -0
  1250. data/vendor/bundle/gems/yard-0.8.2/docs/Parser.md +191 -0
  1251. data/vendor/bundle/gems/yard-0.8.2/docs/Tags.md +282 -0
  1252. data/vendor/bundle/gems/yard-0.8.2/docs/TagsArch.md +123 -0
  1253. data/vendor/bundle/gems/yard-0.8.2/docs/Templates.md +496 -0
  1254. data/vendor/bundle/gems/yard-0.8.2/docs/WhatsNew.md +1166 -0
  1255. data/vendor/bundle/gems/yard-0.8.2/docs/images/code-objects-class-diagram.png +0 -0
  1256. data/vendor/bundle/gems/yard-0.8.2/docs/images/handlers-class-diagram.png +0 -0
  1257. data/vendor/bundle/gems/yard-0.8.2/docs/images/overview-class-diagram.png +0 -0
  1258. data/vendor/bundle/gems/yard-0.8.2/docs/images/parser-class-diagram.png +0 -0
  1259. data/vendor/bundle/gems/yard-0.8.2/docs/images/tags-class-diagram.png +0 -0
  1260. data/vendor/bundle/gems/yard-0.8.2/docs/templates/default/fulldoc/html/full_list_tag.erb +7 -0
  1261. data/vendor/bundle/gems/yard-0.8.2/docs/templates/default/fulldoc/html/setup.rb +6 -0
  1262. data/vendor/bundle/gems/yard-0.8.2/docs/templates/default/layout/html/setup.rb +8 -0
  1263. data/vendor/bundle/gems/yard-0.8.2/docs/templates/default/layout/html/tag_list.erb +11 -0
  1264. data/vendor/bundle/gems/yard-0.8.2/docs/templates/default/yard_tags/html/list.erb +18 -0
  1265. data/vendor/bundle/gems/yard-0.8.2/docs/templates/default/yard_tags/html/setup.rb +27 -0
  1266. data/vendor/bundle/gems/yard-0.8.2/docs/templates/plugin.rb +65 -0
  1267. data/vendor/bundle/gems/yard-0.8.2/lib/rubygems_plugin.rb +4 -0
  1268. data/vendor/bundle/gems/yard-0.8.2/lib/yard/autoload.rb +284 -0
  1269. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/command.rb +76 -0
  1270. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/command_parser.rb +90 -0
  1271. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/config.rb +136 -0
  1272. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/diff.rb +201 -0
  1273. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/gems.rb +83 -0
  1274. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/graph.rb +121 -0
  1275. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/help.rb +18 -0
  1276. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/i18n.rb +69 -0
  1277. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/list.rb +22 -0
  1278. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/server.rb +183 -0
  1279. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/stats.rb +213 -0
  1280. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/yardoc.rb +776 -0
  1281. data/vendor/bundle/gems/yard-0.8.2/lib/yard/cli/yri.rb +214 -0
  1282. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/base.rb +551 -0
  1283. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/class_object.rb +143 -0
  1284. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/class_variable_object.rb +8 -0
  1285. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/constant_object.rb +13 -0
  1286. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/extended_method_object.rb +23 -0
  1287. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/extra_file_object.rb +89 -0
  1288. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/macro_object.rb +172 -0
  1289. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/method_object.rb +191 -0
  1290. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/module_object.rb +18 -0
  1291. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/namespace_object.rb +200 -0
  1292. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/proxy.rb +257 -0
  1293. data/vendor/bundle/gems/yard-0.8.2/lib/yard/code_objects/root_object.rb +16 -0
  1294. data/vendor/bundle/gems/yard-0.8.2/lib/yard/config.rb +269 -0
  1295. data/vendor/bundle/gems/yard-0.8.2/lib/yard/core_ext/array.rb +15 -0
  1296. data/vendor/bundle/gems/yard-0.8.2/lib/yard/core_ext/file.rb +65 -0
  1297. data/vendor/bundle/gems/yard-0.8.2/lib/yard/core_ext/hash.rb +15 -0
  1298. data/vendor/bundle/gems/yard-0.8.2/lib/yard/core_ext/insertion.rb +60 -0
  1299. data/vendor/bundle/gems/yard-0.8.2/lib/yard/core_ext/module.rb +19 -0
  1300. data/vendor/bundle/gems/yard-0.8.2/lib/yard/core_ext/string.rb +67 -0
  1301. data/vendor/bundle/gems/yard-0.8.2/lib/yard/core_ext/symbol_hash.rb +73 -0
  1302. data/vendor/bundle/gems/yard-0.8.2/lib/yard/docstring.rb +317 -0
  1303. data/vendor/bundle/gems/yard-0.8.2/lib/yard/docstring_parser.rb +298 -0
  1304. data/vendor/bundle/gems/yard-0.8.2/lib/yard/globals.rb +18 -0
  1305. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/base.rb +581 -0
  1306. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/alias_handler.rb +15 -0
  1307. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/attribute_handler.rb +13 -0
  1308. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/base.rb +110 -0
  1309. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/class_handler.rb +26 -0
  1310. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/constant_handler.rb +12 -0
  1311. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/handler_methods.rb +166 -0
  1312. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/init_handler.rb +18 -0
  1313. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/method_handler.rb +35 -0
  1314. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/mixin_handler.rb +13 -0
  1315. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/module_handler.rb +16 -0
  1316. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/override_comment_handler.rb +30 -0
  1317. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/path_handler.rb +10 -0
  1318. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/struct_handler.rb +12 -0
  1319. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/c/symbol_handler.rb +7 -0
  1320. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/processor.rb +198 -0
  1321. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/alias_handler.rb +41 -0
  1322. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/attribute_handler.rb +82 -0
  1323. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/base.rb +164 -0
  1324. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/class_condition_handler.rb +86 -0
  1325. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/class_handler.rb +122 -0
  1326. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
  1327. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/comment_handler.rb +9 -0
  1328. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/constant_handler.rb +45 -0
  1329. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
  1330. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/dsl_handler_methods.rb +71 -0
  1331. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/exception_handler.rb +26 -0
  1332. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/extend_handler.rb +21 -0
  1333. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/alias_handler.rb +34 -0
  1334. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/attribute_handler.rb +60 -0
  1335. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/base.rb +250 -0
  1336. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
  1337. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/class_handler.rb +110 -0
  1338. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
  1339. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
  1340. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
  1341. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
  1342. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
  1343. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
  1344. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/method_handler.rb +78 -0
  1345. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
  1346. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
  1347. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
  1348. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
  1349. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
  1350. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
  1351. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
  1352. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/method_handler.rb +91 -0
  1353. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
  1354. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
  1355. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/module_handler.rb +11 -0
  1356. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/private_constant_handler.rb +36 -0
  1357. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/struct_handler_methods.rb +141 -0
  1358. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/visibility_handler.rb +24 -0
  1359. data/vendor/bundle/gems/yard-0.8.2/lib/yard/handlers/ruby/yield_handler.rb +30 -0
  1360. data/vendor/bundle/gems/yard-0.8.2/lib/yard/i18n/locale.rb +50 -0
  1361. data/vendor/bundle/gems/yard-0.8.2/lib/yard/i18n/message.rb +56 -0
  1362. data/vendor/bundle/gems/yard-0.8.2/lib/yard/i18n/messages.rb +55 -0
  1363. data/vendor/bundle/gems/yard-0.8.2/lib/yard/i18n/pot_generator.rb +280 -0
  1364. data/vendor/bundle/gems/yard-0.8.2/lib/yard/i18n/text.rb +173 -0
  1365. data/vendor/bundle/gems/yard-0.8.2/lib/yard/logging.rb +164 -0
  1366. data/vendor/bundle/gems/yard-0.8.2/lib/yard/options.rb +216 -0
  1367. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/base.rb +56 -0
  1368. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/c/c_parser.rb +225 -0
  1369. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/c/comment_parser.rb +131 -0
  1370. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/c/statement.rb +63 -0
  1371. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/ruby/ast_node.rb +489 -0
  1372. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/ruby/legacy/ruby_lex.rb +1376 -0
  1373. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/ruby/legacy/ruby_parser.rb +31 -0
  1374. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/ruby/legacy/statement.rb +65 -0
  1375. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/ruby/legacy/statement_list.rb +381 -0
  1376. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/ruby/legacy/token_list.rb +66 -0
  1377. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/ruby/ruby_parser.rb +615 -0
  1378. data/vendor/bundle/gems/yard-0.8.2/lib/yard/parser/source_parser.rb +519 -0
  1379. data/vendor/bundle/gems/yard-0.8.2/lib/yard/rake/yardoc_task.rb +75 -0
  1380. data/vendor/bundle/gems/yard-0.8.2/lib/yard/registry.rb +419 -0
  1381. data/vendor/bundle/gems/yard-0.8.2/lib/yard/registry_store.rb +305 -0
  1382. data/vendor/bundle/gems/yard-0.8.2/lib/yard/rubygems/backports/LICENSE.txt +57 -0
  1383. data/vendor/bundle/gems/yard-0.8.2/lib/yard/rubygems/backports/MIT.txt +20 -0
  1384. data/vendor/bundle/gems/yard-0.8.2/lib/yard/rubygems/backports/gem.rb +8 -0
  1385. data/vendor/bundle/gems/yard-0.8.2/lib/yard/rubygems/backports/source_index.rb +353 -0
  1386. data/vendor/bundle/gems/yard-0.8.2/lib/yard/rubygems/backports.rb +8 -0
  1387. data/vendor/bundle/gems/yard-0.8.2/lib/yard/rubygems/doc_manager.rb +79 -0
  1388. data/vendor/bundle/gems/yard-0.8.2/lib/yard/rubygems/specification.rb +41 -0
  1389. data/vendor/bundle/gems/yard-0.8.2/lib/yard/serializers/base.rb +80 -0
  1390. data/vendor/bundle/gems/yard-0.8.2/lib/yard/serializers/file_system_serializer.rb +90 -0
  1391. data/vendor/bundle/gems/yard-0.8.2/lib/yard/serializers/process_serializer.rb +24 -0
  1392. data/vendor/bundle/gems/yard-0.8.2/lib/yard/serializers/stdout_serializer.rb +32 -0
  1393. data/vendor/bundle/gems/yard-0.8.2/lib/yard/serializers/yardoc_serializer.rb +124 -0
  1394. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/adapter.rb +100 -0
  1395. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/base.rb +193 -0
  1396. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/display_file_command.rb +24 -0
  1397. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/display_object_command.rb +58 -0
  1398. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/frames_command.rb +15 -0
  1399. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/library_command.rb +147 -0
  1400. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/library_index_command.rb +24 -0
  1401. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/list_command.rb +24 -0
  1402. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/search_command.rb +78 -0
  1403. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/commands/static_file_command.rb +50 -0
  1404. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/doc_server_helper.rb +74 -0
  1405. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/doc_server_serializer.rb +33 -0
  1406. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/library_version.rb +227 -0
  1407. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/rack_adapter.rb +88 -0
  1408. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/router.rb +176 -0
  1409. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/static_caching.rb +45 -0
  1410. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/default/fulldoc/html/css/custom.css +78 -0
  1411. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
  1412. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
  1413. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/default/layout/html/breadcrumb.erb +46 -0
  1414. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/default/layout/html/script_setup.erb +8 -0
  1415. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
  1416. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
  1417. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/default/method_details/html/setup.rb +4 -0
  1418. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
  1419. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
  1420. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
  1421. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
  1422. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
  1423. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/processing/html/processing.erb +51 -0
  1424. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
  1425. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
  1426. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
  1427. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server/webrick_adapter.rb +43 -0
  1428. data/vendor/bundle/gems/yard-0.8.2/lib/yard/server.rb +11 -0
  1429. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/default_factory.rb +176 -0
  1430. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/default_tag.rb +12 -0
  1431. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/directives.rb +594 -0
  1432. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/library.rb +630 -0
  1433. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/option_tag.rb +12 -0
  1434. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/overload_tag.rb +65 -0
  1435. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/ref_tag.rb +7 -0
  1436. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/ref_tag_list.rb +27 -0
  1437. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/tag.rb +57 -0
  1438. data/vendor/bundle/gems/yard-0.8.2/lib/yard/tags/tag_format_error.rb +6 -0
  1439. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/engine.rb +185 -0
  1440. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/erb_cache.rb +22 -0
  1441. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/base_helper.rb +212 -0
  1442. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/filter_helper.rb +26 -0
  1443. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/html_helper.rb +589 -0
  1444. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +59 -0
  1445. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/markup/rdoc_markup.rb +85 -0
  1446. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/markup_helper.rb +164 -0
  1447. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/method_helper.rb +72 -0
  1448. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/module_helper.rb +19 -0
  1449. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/text_helper.rb +95 -0
  1450. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/helpers/uml_helper.rb +46 -0
  1451. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/section.rb +106 -0
  1452. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/template.rb +395 -0
  1453. data/vendor/bundle/gems/yard-0.8.2/lib/yard/templates/template_options.rb +88 -0
  1454. data/vendor/bundle/gems/yard-0.8.2/lib/yard/verifier.rb +148 -0
  1455. data/vendor/bundle/gems/yard-0.8.2/lib/yard.rb +48 -0
  1456. data/vendor/bundle/gems/yard-0.8.2/spec/cli/command_parser_spec.rb +43 -0
  1457. data/vendor/bundle/gems/yard-0.8.2/spec/cli/command_spec.rb +36 -0
  1458. data/vendor/bundle/gems/yard-0.8.2/spec/cli/config_spec.rb +92 -0
  1459. data/vendor/bundle/gems/yard-0.8.2/spec/cli/diff_spec.rb +175 -0
  1460. data/vendor/bundle/gems/yard-0.8.2/spec/cli/gems_spec.rb +81 -0
  1461. data/vendor/bundle/gems/yard-0.8.2/spec/cli/graph_spec.rb +10 -0
  1462. data/vendor/bundle/gems/yard-0.8.2/spec/cli/help_spec.rb +22 -0
  1463. data/vendor/bundle/gems/yard-0.8.2/spec/cli/i18n_spec.rb +111 -0
  1464. data/vendor/bundle/gems/yard-0.8.2/spec/cli/list_spec.rb +8 -0
  1465. data/vendor/bundle/gems/yard-0.8.2/spec/cli/server_spec.rb +219 -0
  1466. data/vendor/bundle/gems/yard-0.8.2/spec/cli/stats_spec.rb +90 -0
  1467. data/vendor/bundle/gems/yard-0.8.2/spec/cli/yardoc_spec.rb +741 -0
  1468. data/vendor/bundle/gems/yard-0.8.2/spec/cli/yri_spec.rb +99 -0
  1469. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/base_spec.rb +392 -0
  1470. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/class_object_spec.rb +225 -0
  1471. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/code_object_list_spec.rb +33 -0
  1472. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/constants_spec.rb +82 -0
  1473. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/extra_file_object_spec.rb +132 -0
  1474. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/macro_object_spec.rb +148 -0
  1475. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/method_object_spec.rb +175 -0
  1476. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/module_object_spec.rb +141 -0
  1477. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/namespace_object_spec.rb +170 -0
  1478. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/proxy_spec.rb +140 -0
  1479. data/vendor/bundle/gems/yard-0.8.2/spec/code_objects/spec_helper.rb +3 -0
  1480. data/vendor/bundle/gems/yard-0.8.2/spec/config_spec.rb +176 -0
  1481. data/vendor/bundle/gems/yard-0.8.2/spec/core_ext/array_spec.rb +14 -0
  1482. data/vendor/bundle/gems/yard-0.8.2/spec/core_ext/file_spec.rb +68 -0
  1483. data/vendor/bundle/gems/yard-0.8.2/spec/core_ext/hash_spec.rb +14 -0
  1484. data/vendor/bundle/gems/yard-0.8.2/spec/core_ext/insertion_spec.rb +37 -0
  1485. data/vendor/bundle/gems/yard-0.8.2/spec/core_ext/module_spec.rb +15 -0
  1486. data/vendor/bundle/gems/yard-0.8.2/spec/core_ext/string_spec.rb +42 -0
  1487. data/vendor/bundle/gems/yard-0.8.2/spec/core_ext/symbol_hash_spec.rb +86 -0
  1488. data/vendor/bundle/gems/yard-0.8.2/spec/docstring_parser_spec.rb +224 -0
  1489. data/vendor/bundle/gems/yard-0.8.2/spec/docstring_spec.rb +287 -0
  1490. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/alias_handler_spec.rb +80 -0
  1491. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/attribute_handler_spec.rb +94 -0
  1492. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/base_spec.rb +197 -0
  1493. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/alias_handler_spec.rb +33 -0
  1494. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/attribute_handler_spec.rb +40 -0
  1495. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/class_handler_spec.rb +63 -0
  1496. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/constant_handler_spec.rb +68 -0
  1497. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/init_handler_spec.rb +47 -0
  1498. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/method_handler_spec.rb +228 -0
  1499. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/mixin_handler_spec.rb +27 -0
  1500. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/module_handler_spec.rb +38 -0
  1501. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/override_comment_handler_spec.rb +46 -0
  1502. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/path_handler_spec.rb +35 -0
  1503. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/spec_helper.rb +11 -0
  1504. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/c/struct_handler_spec.rb +15 -0
  1505. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/class_condition_handler_spec.rb +67 -0
  1506. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/class_handler_spec.rb +246 -0
  1507. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/class_variable_handler_spec.rb +11 -0
  1508. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/constant_handler_spec.rb +64 -0
  1509. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/dsl_handler_spec.rb +186 -0
  1510. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/alias_handler_001.rb.txt +44 -0
  1511. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
  1512. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
  1513. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/class_handler_001.rb.txt +120 -0
  1514. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
  1515. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/constant_handler_001.rb.txt +25 -0
  1516. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/dsl_handler_001.rb.txt +110 -0
  1517. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
  1518. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
  1519. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
  1520. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/method_handler_001.rb.txt +126 -0
  1521. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
  1522. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/module_handler_001.rb.txt +29 -0
  1523. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
  1524. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/process_handler_001.rb.txt +11 -0
  1525. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/visibility_handler_001.rb.txt +27 -0
  1526. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
  1527. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/exception_handler_spec.rb +48 -0
  1528. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/extend_handler_spec.rb +23 -0
  1529. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/legacy_base_spec.rb +128 -0
  1530. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/method_condition_handler_spec.rb +14 -0
  1531. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/method_handler_spec.rb +184 -0
  1532. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/mixin_handler_spec.rb +55 -0
  1533. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/module_function_handler_spec.rb +82 -0
  1534. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/module_handler_spec.rb +34 -0
  1535. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/private_constant_handler_spec.rb +24 -0
  1536. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/processor_spec.rb +23 -0
  1537. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/ruby/base_spec.rb +94 -0
  1538. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/ruby/legacy/base_spec.rb +82 -0
  1539. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/spec_helper.rb +33 -0
  1540. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/visibility_handler_spec.rb +34 -0
  1541. data/vendor/bundle/gems/yard-0.8.2/spec/handlers/yield_handler_spec.rb +51 -0
  1542. data/vendor/bundle/gems/yard-0.8.2/spec/i18n/locale_spec.rb +62 -0
  1543. data/vendor/bundle/gems/yard-0.8.2/spec/i18n/message_spec.rb +52 -0
  1544. data/vendor/bundle/gems/yard-0.8.2/spec/i18n/messages_spec.rb +67 -0
  1545. data/vendor/bundle/gems/yard-0.8.2/spec/i18n/pot_generator_spec.rb +262 -0
  1546. data/vendor/bundle/gems/yard-0.8.2/spec/i18n/text_spec.rb +180 -0
  1547. data/vendor/bundle/gems/yard-0.8.2/spec/logging_spec.rb +35 -0
  1548. data/vendor/bundle/gems/yard-0.8.2/spec/options_spec.rb +160 -0
  1549. data/vendor/bundle/gems/yard-0.8.2/spec/parser/base_spec.rb +24 -0
  1550. data/vendor/bundle/gems/yard-0.8.2/spec/parser/c_parser_spec.rb +166 -0
  1551. data/vendor/bundle/gems/yard-0.8.2/spec/parser/examples/array.c.txt +3887 -0
  1552. data/vendor/bundle/gems/yard-0.8.2/spec/parser/examples/example1.rb.txt +8 -0
  1553. data/vendor/bundle/gems/yard-0.8.2/spec/parser/examples/extrafile.c.txt +8 -0
  1554. data/vendor/bundle/gems/yard-0.8.2/spec/parser/examples/multifile.c.txt +6 -0
  1555. data/vendor/bundle/gems/yard-0.8.2/spec/parser/examples/override.c.txt +424 -0
  1556. data/vendor/bundle/gems/yard-0.8.2/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
  1557. data/vendor/bundle/gems/yard-0.8.2/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
  1558. data/vendor/bundle/gems/yard-0.8.2/spec/parser/examples/tag_handler_001.rb.txt +8 -0
  1559. data/vendor/bundle/gems/yard-0.8.2/spec/parser/ruby/ast_node_spec.rb +33 -0
  1560. data/vendor/bundle/gems/yard-0.8.2/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
  1561. data/vendor/bundle/gems/yard-0.8.2/spec/parser/ruby/legacy/token_list_spec.rb +69 -0
  1562. data/vendor/bundle/gems/yard-0.8.2/spec/parser/ruby/ruby_parser_spec.rb +295 -0
  1563. data/vendor/bundle/gems/yard-0.8.2/spec/parser/source_parser_spec.rb +658 -0
  1564. data/vendor/bundle/gems/yard-0.8.2/spec/parser/tag_parsing_spec.rb +18 -0
  1565. data/vendor/bundle/gems/yard-0.8.2/spec/rake/yardoc_task_spec.rb +92 -0
  1566. data/vendor/bundle/gems/yard-0.8.2/spec/registry_spec.rb +359 -0
  1567. data/vendor/bundle/gems/yard-0.8.2/spec/registry_store_spec.rb +305 -0
  1568. data/vendor/bundle/gems/yard-0.8.2/spec/rubygems/doc_manager_spec.rb +112 -0
  1569. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/data/serialized_yardoc/checksums +1 -0
  1570. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
  1571. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
  1572. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
  1573. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
  1574. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
  1575. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/file_system_serializer_spec.rb +124 -0
  1576. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/spec_helper.rb +2 -0
  1577. data/vendor/bundle/gems/yard-0.8.2/spec/serializers/yardoc_serializer_spec.rb +46 -0
  1578. data/vendor/bundle/gems/yard-0.8.2/spec/server/adapter_spec.rb +38 -0
  1579. data/vendor/bundle/gems/yard-0.8.2/spec/server/commands/base_spec.rb +87 -0
  1580. data/vendor/bundle/gems/yard-0.8.2/spec/server/commands/library_command_spec.rb +39 -0
  1581. data/vendor/bundle/gems/yard-0.8.2/spec/server/commands/static_file_command_spec.rb +84 -0
  1582. data/vendor/bundle/gems/yard-0.8.2/spec/server/doc_server_helper_spec.rb +51 -0
  1583. data/vendor/bundle/gems/yard-0.8.2/spec/server/doc_server_serializer_spec.rb +45 -0
  1584. data/vendor/bundle/gems/yard-0.8.2/spec/server/rack_adapter_spec.rb +20 -0
  1585. data/vendor/bundle/gems/yard-0.8.2/spec/server/router_spec.rb +122 -0
  1586. data/vendor/bundle/gems/yard-0.8.2/spec/server/spec_helper.rb +17 -0
  1587. data/vendor/bundle/gems/yard-0.8.2/spec/server/static_caching_spec.rb +39 -0
  1588. data/vendor/bundle/gems/yard-0.8.2/spec/server/webrick_servlet_spec.rb +20 -0
  1589. data/vendor/bundle/gems/yard-0.8.2/spec/server_spec.rb +10 -0
  1590. data/vendor/bundle/gems/yard-0.8.2/spec/spec_helper.rb +105 -0
  1591. data/vendor/bundle/gems/yard-0.8.2/spec/tags/default_factory_spec.rb +152 -0
  1592. data/vendor/bundle/gems/yard-0.8.2/spec/tags/default_tag_spec.rb +11 -0
  1593. data/vendor/bundle/gems/yard-0.8.2/spec/tags/directives_spec.rb +429 -0
  1594. data/vendor/bundle/gems/yard-0.8.2/spec/tags/library_spec.rb +34 -0
  1595. data/vendor/bundle/gems/yard-0.8.2/spec/tags/overload_tag_spec.rb +53 -0
  1596. data/vendor/bundle/gems/yard-0.8.2/spec/tags/ref_tag_list_spec.rb +53 -0
  1597. data/vendor/bundle/gems/yard-0.8.2/spec/templates/class_spec.rb +44 -0
  1598. data/vendor/bundle/gems/yard-0.8.2/spec/templates/constant_spec.rb +40 -0
  1599. data/vendor/bundle/gems/yard-0.8.2/spec/templates/engine_spec.rb +121 -0
  1600. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/class001.html +280 -0
  1601. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/class001.txt +36 -0
  1602. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/class002.html +35 -0
  1603. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/constant001.txt +25 -0
  1604. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/constant002.txt +7 -0
  1605. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/constant003.txt +11 -0
  1606. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method001.html +130 -0
  1607. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method001.txt +35 -0
  1608. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method002.html +86 -0
  1609. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method002.txt +20 -0
  1610. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method003.html +159 -0
  1611. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method003.txt +45 -0
  1612. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method004.html +44 -0
  1613. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method004.txt +10 -0
  1614. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method005.html +99 -0
  1615. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/method005.txt +33 -0
  1616. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/module001.dot +33 -0
  1617. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/module001.html +791 -0
  1618. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/module001.txt +33 -0
  1619. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/module002.html +318 -0
  1620. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/module003.html +185 -0
  1621. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/module004.html +387 -0
  1622. data/vendor/bundle/gems/yard-0.8.2/spec/templates/examples/tag001.txt +82 -0
  1623. data/vendor/bundle/gems/yard-0.8.2/spec/templates/helpers/base_helper_spec.rb +175 -0
  1624. data/vendor/bundle/gems/yard-0.8.2/spec/templates/helpers/html_helper_spec.rb +586 -0
  1625. data/vendor/bundle/gems/yard-0.8.2/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +48 -0
  1626. data/vendor/bundle/gems/yard-0.8.2/spec/templates/helpers/markup/rdoc_markup_spec.rb +84 -0
  1627. data/vendor/bundle/gems/yard-0.8.2/spec/templates/helpers/markup_helper_spec.rb +135 -0
  1628. data/vendor/bundle/gems/yard-0.8.2/spec/templates/helpers/method_helper_spec.rb +75 -0
  1629. data/vendor/bundle/gems/yard-0.8.2/spec/templates/helpers/shared_signature_examples.rb +123 -0
  1630. data/vendor/bundle/gems/yard-0.8.2/spec/templates/helpers/text_helper_spec.rb +44 -0
  1631. data/vendor/bundle/gems/yard-0.8.2/spec/templates/method_spec.rb +102 -0
  1632. data/vendor/bundle/gems/yard-0.8.2/spec/templates/module_spec.rb +181 -0
  1633. data/vendor/bundle/gems/yard-0.8.2/spec/templates/onefile_spec.rb +64 -0
  1634. data/vendor/bundle/gems/yard-0.8.2/spec/templates/section_spec.rb +146 -0
  1635. data/vendor/bundle/gems/yard-0.8.2/spec/templates/spec_helper.rb +72 -0
  1636. data/vendor/bundle/gems/yard-0.8.2/spec/templates/tag_spec.rb +51 -0
  1637. data/vendor/bundle/gems/yard-0.8.2/spec/templates/template_spec.rb +409 -0
  1638. data/vendor/bundle/gems/yard-0.8.2/spec/verifier_spec.rb +106 -0
  1639. data/vendor/bundle/gems/yard-0.8.2/templates/default/class/dot/setup.rb +6 -0
  1640. data/vendor/bundle/gems/yard-0.8.2/templates/default/class/dot/superklass.erb +3 -0
  1641. data/vendor/bundle/gems/yard-0.8.2/templates/default/class/html/constructor_details.erb +8 -0
  1642. data/vendor/bundle/gems/yard-0.8.2/templates/default/class/html/setup.rb +1 -0
  1643. data/vendor/bundle/gems/yard-0.8.2/templates/default/class/html/subclasses.erb +4 -0
  1644. data/vendor/bundle/gems/yard-0.8.2/templates/default/class/setup.rb +36 -0
  1645. data/vendor/bundle/gems/yard-0.8.2/templates/default/class/text/setup.rb +11 -0
  1646. data/vendor/bundle/gems/yard-0.8.2/templates/default/class/text/subclasses.erb +5 -0
  1647. data/vendor/bundle/gems/yard-0.8.2/templates/default/constant/text/header.erb +11 -0
  1648. data/vendor/bundle/gems/yard-0.8.2/templates/default/constant/text/setup.rb +3 -0
  1649. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/html/abstract.erb +4 -0
  1650. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/html/deprecated.erb +1 -0
  1651. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/html/index.erb +5 -0
  1652. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/html/note.erb +6 -0
  1653. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/html/private.erb +4 -0
  1654. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/html/returns_void.erb +1 -0
  1655. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/html/text.erb +1 -0
  1656. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/html/todo.erb +6 -0
  1657. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/setup.rb +49 -0
  1658. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/text/abstract.erb +2 -0
  1659. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/text/deprecated.erb +2 -0
  1660. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/text/index.erb +2 -0
  1661. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/text/note.erb +4 -0
  1662. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/text/private.erb +2 -0
  1663. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/text/returns_void.erb +1 -0
  1664. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/text/text.erb +1 -0
  1665. data/vendor/bundle/gems/yard-0.8.2/templates/default/docstring/text/todo.erb +4 -0
  1666. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/css/common.css +1 -0
  1667. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/css/full_list.css +57 -0
  1668. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/css/style.css +328 -0
  1669. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/frames.erb +28 -0
  1670. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/full_list.erb +39 -0
  1671. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/full_list_class.erb +2 -0
  1672. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/full_list_file.erb +5 -0
  1673. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/full_list_method.erb +12 -0
  1674. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/js/app.js +214 -0
  1675. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/js/full_list.js +173 -0
  1676. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/js/jquery.js +4 -0
  1677. data/vendor/bundle/gems/yard-0.8.2/templates/default/fulldoc/html/setup.rb +206 -0
  1678. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/dot/header.erb +6 -0
  1679. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/dot/setup.rb +14 -0
  1680. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/breadcrumb.erb +13 -0
  1681. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/files.erb +11 -0
  1682. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/footer.erb +5 -0
  1683. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/headers.erb +14 -0
  1684. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/index.erb +2 -0
  1685. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/layout.erb +20 -0
  1686. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/listing.erb +4 -0
  1687. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/objects.erb +32 -0
  1688. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/script_setup.erb +5 -0
  1689. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/search.erb +8 -0
  1690. data/vendor/bundle/gems/yard-0.8.2/templates/default/layout/html/setup.rb +71 -0
  1691. data/vendor/bundle/gems/yard-0.8.2/templates/default/method/html/header.erb +16 -0
  1692. data/vendor/bundle/gems/yard-0.8.2/templates/default/method/setup.rb +3 -0
  1693. data/vendor/bundle/gems/yard-0.8.2/templates/default/method/text/header.erb +1 -0
  1694. data/vendor/bundle/gems/yard-0.8.2/templates/default/method_details/html/header.erb +3 -0
  1695. data/vendor/bundle/gems/yard-0.8.2/templates/default/method_details/html/method_signature.erb +25 -0
  1696. data/vendor/bundle/gems/yard-0.8.2/templates/default/method_details/html/source.erb +10 -0
  1697. data/vendor/bundle/gems/yard-0.8.2/templates/default/method_details/setup.rb +10 -0
  1698. data/vendor/bundle/gems/yard-0.8.2/templates/default/method_details/text/header.erb +10 -0
  1699. data/vendor/bundle/gems/yard-0.8.2/templates/default/method_details/text/method_signature.erb +12 -0
  1700. data/vendor/bundle/gems/yard-0.8.2/templates/default/method_details/text/setup.rb +10 -0
  1701. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/dot/child.erb +1 -0
  1702. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/dot/dependencies.erb +3 -0
  1703. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/dot/header.erb +6 -0
  1704. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/dot/info.erb +14 -0
  1705. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/dot/setup.rb +14 -0
  1706. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/attribute_details.erb +10 -0
  1707. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/attribute_summary.erb +8 -0
  1708. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/box_info.erb +37 -0
  1709. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/children.erb +8 -0
  1710. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/constant_summary.erb +13 -0
  1711. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/defines.erb +3 -0
  1712. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/header.erb +5 -0
  1713. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/inherited_attributes.erb +14 -0
  1714. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/inherited_constants.erb +8 -0
  1715. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/inherited_methods.erb +19 -0
  1716. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/item_summary.erb +40 -0
  1717. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/method_details_list.erb +9 -0
  1718. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/method_summary.erb +14 -0
  1719. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/methodmissing.erb +12 -0
  1720. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/html/pre_docstring.erb +1 -0
  1721. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/setup.rb +164 -0
  1722. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/text/children.erb +10 -0
  1723. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/text/class_meths_list.erb +8 -0
  1724. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/text/extends.erb +8 -0
  1725. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/text/header.erb +7 -0
  1726. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/text/includes.erb +8 -0
  1727. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/text/instance_meths_list.erb +8 -0
  1728. data/vendor/bundle/gems/yard-0.8.2/templates/default/module/text/setup.rb +12 -0
  1729. data/vendor/bundle/gems/yard-0.8.2/templates/default/onefile/html/files.erb +5 -0
  1730. data/vendor/bundle/gems/yard-0.8.2/templates/default/onefile/html/layout.erb +22 -0
  1731. data/vendor/bundle/gems/yard-0.8.2/templates/default/onefile/html/readme.erb +3 -0
  1732. data/vendor/bundle/gems/yard-0.8.2/templates/default/onefile/html/setup.rb +43 -0
  1733. data/vendor/bundle/gems/yard-0.8.2/templates/default/root/dot/child.erb +3 -0
  1734. data/vendor/bundle/gems/yard-0.8.2/templates/default/root/dot/setup.rb +5 -0
  1735. data/vendor/bundle/gems/yard-0.8.2/templates/default/root/html/setup.rb +1 -0
  1736. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/html/example.erb +11 -0
  1737. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/html/index.erb +3 -0
  1738. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/html/option.erb +24 -0
  1739. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/html/overload.erb +14 -0
  1740. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/html/see.erb +8 -0
  1741. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/html/tag.erb +20 -0
  1742. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/setup.rb +55 -0
  1743. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/text/example.erb +12 -0
  1744. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/text/index.erb +1 -0
  1745. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/text/option.erb +20 -0
  1746. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/text/overload.erb +19 -0
  1747. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/text/see.erb +11 -0
  1748. data/vendor/bundle/gems/yard-0.8.2/templates/default/tags/text/tag.erb +13 -0
  1749. data/vendor/bundle/gems/yard-0.8.2/templates/guide/class/html/setup.rb +1 -0
  1750. data/vendor/bundle/gems/yard-0.8.2/templates/guide/docstring/html/setup.rb +1 -0
  1751. data/vendor/bundle/gems/yard-0.8.2/templates/guide/fulldoc/html/css/style.css +93 -0
  1752. data/vendor/bundle/gems/yard-0.8.2/templates/guide/fulldoc/html/js/app.js +33 -0
  1753. data/vendor/bundle/gems/yard-0.8.2/templates/guide/fulldoc/html/setup.rb +54 -0
  1754. data/vendor/bundle/gems/yard-0.8.2/templates/guide/layout/html/layout.erb +81 -0
  1755. data/vendor/bundle/gems/yard-0.8.2/templates/guide/layout/html/setup.rb +24 -0
  1756. data/vendor/bundle/gems/yard-0.8.2/templates/guide/method/html/header.erb +18 -0
  1757. data/vendor/bundle/gems/yard-0.8.2/templates/guide/method/html/setup.rb +21 -0
  1758. data/vendor/bundle/gems/yard-0.8.2/templates/guide/module/html/header.erb +7 -0
  1759. data/vendor/bundle/gems/yard-0.8.2/templates/guide/module/html/method_list.erb +5 -0
  1760. data/vendor/bundle/gems/yard-0.8.2/templates/guide/module/html/setup.rb +26 -0
  1761. data/vendor/bundle/gems/yard-0.8.2/templates/guide/tags/html/setup.rb +8 -0
  1762. data/vendor/bundle/specifications/actionmailer-3.2.5.gemspec +33 -0
  1763. data/vendor/bundle/specifications/actionpack-3.2.5.gemspec +57 -0
  1764. data/vendor/bundle/specifications/activemodel-3.2.5.gemspec +32 -0
  1765. data/vendor/bundle/specifications/activerecord-3.2.5.gemspec +41 -0
  1766. data/vendor/bundle/specifications/activeresource-3.2.5.gemspec +35 -0
  1767. data/vendor/bundle/specifications/activesupport-3.2.5.gemspec +33 -0
  1768. data/vendor/bundle/specifications/multi_json-1.3.6.gemspec +40 -0
  1769. data/vendor/bundle/specifications/rails-3.2.5.gemspec +47 -0
  1770. data/vendor/bundle/specifications/railties-3.2.5.gemspec +47 -0
  1771. data/vendor/bundle/specifications/thor-0.15.2.gemspec +50 -0
  1772. data/vendor/bundle/specifications/yard-0.8.2.gemspec +28 -0
  1773. metadata +1779 -10
@@ -0,0 +1,737 @@
1
+ require 'mail'
2
+ require 'action_mailer/collector'
3
+ require 'active_support/core_ext/array/wrap'
4
+ require 'active_support/core_ext/object/blank'
5
+ require 'active_support/core_ext/proc'
6
+ require 'active_support/core_ext/string/inflections'
7
+ require 'active_support/core_ext/hash/except'
8
+ require 'active_support/core_ext/module/anonymous'
9
+ require 'action_mailer/log_subscriber'
10
+
11
+ module ActionMailer #:nodoc:
12
+ # Action Mailer allows you to send email from your application using a mailer model and views.
13
+ #
14
+ # = Mailer Models
15
+ #
16
+ # To use Action Mailer, you need to create a mailer model.
17
+ #
18
+ # $ rails generate mailer Notifier
19
+ #
20
+ # The generated model inherits from <tt>ActionMailer::Base</tt>. Emails are defined by creating methods
21
+ # within the model which are then used to set variables to be used in the mail template, to
22
+ # change options on the mail, or to add attachments.
23
+ #
24
+ # Examples:
25
+ #
26
+ # class Notifier < ActionMailer::Base
27
+ # default :from => 'no-reply@example.com',
28
+ # :return_path => 'system@example.com'
29
+ #
30
+ # def welcome(recipient)
31
+ # @account = recipient
32
+ # mail(:to => recipient.email_address_with_name,
33
+ # :bcc => ["bcc@example.com", "Order Watcher <watcher@example.com>"])
34
+ # end
35
+ # end
36
+ #
37
+ # Within the mailer method, you have access to the following methods:
38
+ #
39
+ # * <tt>attachments[]=</tt> - Allows you to add attachments to your email in an intuitive
40
+ # manner; <tt>attachments['filename.png'] = File.read('path/to/filename.png')</tt>
41
+ #
42
+ # * <tt>attachments.inline[]=</tt> - Allows you to add an inline attachment to your email
43
+ # in the same manner as <tt>attachments[]=</tt>
44
+ #
45
+ # * <tt>headers[]=</tt> - Allows you to specify any header field in your email such
46
+ # as <tt>headers['X-No-Spam'] = 'True'</tt>. Note, while most fields like <tt>To:</tt>
47
+ # <tt>From:</tt> can only appear once in an email header, other fields like <tt>X-Anything</tt>
48
+ # can appear multiple times. If you want to change a field that can appear multiple times,
49
+ # you need to set it to nil first so that Mail knows you are replacing it and not adding
50
+ # another field of the same name.
51
+ #
52
+ # * <tt>headers(hash)</tt> - Allows you to specify multiple headers in your email such
53
+ # as <tt>headers({'X-No-Spam' => 'True', 'In-Reply-To' => '1234@message.id'})</tt>
54
+ #
55
+ # * <tt>mail</tt> - Allows you to specify email to be sent.
56
+ #
57
+ # The hash passed to the mail method allows you to specify any header that a Mail::Message
58
+ # will accept (any valid Email header including optional fields).
59
+ #
60
+ # The mail method, if not passed a block, will inspect your views and send all the views with
61
+ # the same name as the method, so the above action would send the +welcome.text.erb+ view
62
+ # file as well as the +welcome.text.html.erb+ view file in a +multipart/alternative+ email.
63
+ #
64
+ # If you want to explicitly render only certain templates, pass a block:
65
+ #
66
+ # mail(:to => user.email) do |format|
67
+ # format.text
68
+ # format.html
69
+ # end
70
+ #
71
+ # The block syntax is also useful in providing information specific to a part:
72
+ #
73
+ # mail(:to => user.email) do |format|
74
+ # format.text(:content_transfer_encoding => "base64")
75
+ # format.html
76
+ # end
77
+ #
78
+ # Or even to render a special view:
79
+ #
80
+ # mail(:to => user.email) do |format|
81
+ # format.text
82
+ # format.html { render "some_other_template" }
83
+ # end
84
+ #
85
+ # = Mailer views
86
+ #
87
+ # Like Action Controller, each mailer class has a corresponding view directory in which each
88
+ # method of the class looks for a template with its name.
89
+ #
90
+ # To define a template to be used with a mailing, create an <tt>.erb</tt> file with the same
91
+ # name as the method in your mailer model. For example, in the mailer defined above, the template at
92
+ # <tt>app/views/notifier/welcome.text.erb</tt> would be used to generate the email.
93
+ #
94
+ # Variables defined in the model are accessible as instance variables in the view.
95
+ #
96
+ # Emails by default are sent in plain text, so a sample view for our model example might look like this:
97
+ #
98
+ # Hi <%= @account.name %>,
99
+ # Thanks for joining our service! Please check back often.
100
+ #
101
+ # You can even use Action Pack helpers in these views. For example:
102
+ #
103
+ # You got a new note!
104
+ # <%= truncate(@note.body, :length => 25) %>
105
+ #
106
+ # If you need to access the subject, from or the recipients in the view, you can do that through message object:
107
+ #
108
+ # You got a new note from <%= message.from %>!
109
+ # <%= truncate(@note.body, :length => 25) %>
110
+ #
111
+ #
112
+ # = Generating URLs
113
+ #
114
+ # URLs can be generated in mailer views using <tt>url_for</tt> or named routes. Unlike controllers from
115
+ # Action Pack, the mailer instance doesn't have any context about the incoming request, so you'll need
116
+ # to provide all of the details needed to generate a URL.
117
+ #
118
+ # When using <tt>url_for</tt> you'll need to provide the <tt>:host</tt>, <tt>:controller</tt>, and <tt>:action</tt>:
119
+ #
120
+ # <%= url_for(:host => "example.com", :controller => "welcome", :action => "greeting") %>
121
+ #
122
+ # When using named routes you only need to supply the <tt>:host</tt>:
123
+ #
124
+ # <%= users_url(:host => "example.com") %>
125
+ #
126
+ # You should use the <tt>named_route_url</tt> style (which generates absolute URLs) and avoid using the
127
+ # <tt>named_route_path</tt> style (which generates relative URLs), since clients reading the mail will
128
+ # have no concept of a current URL from which to determine a relative path.
129
+ #
130
+ # It is also possible to set a default host that will be used in all mailers by setting the <tt>:host</tt>
131
+ # option as a configuration option in <tt>config/application.rb</tt>:
132
+ #
133
+ # config.action_mailer.default_url_options = { :host => "example.com" }
134
+ #
135
+ # When you decide to set a default <tt>:host</tt> for your mailers, then you need to make sure to use the
136
+ # <tt>:only_path => false</tt> option when using <tt>url_for</tt>. Since the <tt>url_for</tt> view helper
137
+ # will generate relative URLs by default when a <tt>:host</tt> option isn't explicitly provided, passing
138
+ # <tt>:only_path => false</tt> will ensure that absolute URLs are generated.
139
+ #
140
+ # = Sending mail
141
+ #
142
+ # Once a mailer action and template are defined, you can deliver your message or create it and save it
143
+ # for delivery later:
144
+ #
145
+ # Notifier.welcome(david).deliver # sends the email
146
+ # mail = Notifier.welcome(david) # => a Mail::Message object
147
+ # mail.deliver # sends the email
148
+ #
149
+ # You never instantiate your mailer class. Rather, you just call the method you defined on the class itself.
150
+ #
151
+ # = Multipart Emails
152
+ #
153
+ # Multipart messages can also be used implicitly because Action Mailer will automatically detect and use
154
+ # multipart templates, where each template is named after the name of the action, followed by the content
155
+ # type. Each such detected template will be added as a separate part to the message.
156
+ #
157
+ # For example, if the following templates exist:
158
+ # * signup_notification.text.erb
159
+ # * signup_notification.text.html.erb
160
+ # * signup_notification.text.xml.builder
161
+ # * signup_notification.text.yaml.erb
162
+ #
163
+ # Each would be rendered and added as a separate part to the message, with the corresponding content
164
+ # type. The content type for the entire message is automatically set to <tt>multipart/alternative</tt>,
165
+ # which indicates that the email contains multiple different representations of the same email
166
+ # body. The same instance variables defined in the action are passed to all email templates.
167
+ #
168
+ # Implicit template rendering is not performed if any attachments or parts have been added to the email.
169
+ # This means that you'll have to manually add each part to the email and set the content type of the email
170
+ # to <tt>multipart/alternative</tt>.
171
+ #
172
+ # = Attachments
173
+ #
174
+ # Sending attachment in emails is easy:
175
+ #
176
+ # class ApplicationMailer < ActionMailer::Base
177
+ # def welcome(recipient)
178
+ # attachments['free_book.pdf'] = File.read('path/to/file.pdf')
179
+ # mail(:to => recipient, :subject => "New account information")
180
+ # end
181
+ # end
182
+ #
183
+ # Which will (if it had both a <tt>welcome.text.erb</tt> and <tt>welcome.text.html.erb</tt>
184
+ # template in the view directory), send a complete <tt>multipart/mixed</tt> email with two parts,
185
+ # the first part being a <tt>multipart/alternative</tt> with the text and HTML email parts inside,
186
+ # and the second being a <tt>application/pdf</tt> with a Base64 encoded copy of the file.pdf book
187
+ # with the filename +free_book.pdf+.
188
+ #
189
+ # = Inline Attachments
190
+ #
191
+ # You can also specify that a file should be displayed inline with other HTML. This is useful
192
+ # if you want to display a corporate logo or a photo.
193
+ #
194
+ # class ApplicationMailer < ActionMailer::Base
195
+ # def welcome(recipient)
196
+ # attachments.inline['photo.png'] = File.read('path/to/photo.png')
197
+ # mail(:to => recipient, :subject => "Here is what we look like")
198
+ # end
199
+ # end
200
+ #
201
+ # And then to reference the image in the view, you create a <tt>welcome.html.erb</tt> file and
202
+ # make a call to +image_tag+ passing in the attachment you want to display and then call
203
+ # +url+ on the attachment to get the relative content id path for the image source:
204
+ #
205
+ # <h1>Please Don't Cringe</h1>
206
+ #
207
+ # <%= image_tag attachments['photo.png'].url -%>
208
+ #
209
+ # As we are using Action View's +image_tag+ method, you can pass in any other options you want:
210
+ #
211
+ # <h1>Please Don't Cringe</h1>
212
+ #
213
+ # <%= image_tag attachments['photo.png'].url, :alt => 'Our Photo', :class => 'photo' -%>
214
+ #
215
+ # = Observing and Intercepting Mails
216
+ #
217
+ # Action Mailer provides hooks into the Mail observer and interceptor methods. These allow you to
218
+ # register classes that are called during the mail delivery life cycle.
219
+ #
220
+ # An observer class must implement the <tt>:delivered_email(message)</tt> method which will be
221
+ # called once for every email sent after the email has been sent.
222
+ #
223
+ # An interceptor class must implement the <tt>:delivering_email(message)</tt> method which will be
224
+ # called before the email is sent, allowing you to make modifications to the email before it hits
225
+ # the delivery agents. Your class should make any needed modifications directly to the passed
226
+ # in Mail::Message instance.
227
+ #
228
+ # = Default Hash
229
+ #
230
+ # Action Mailer provides some intelligent defaults for your emails, these are usually specified in a
231
+ # default method inside the class definition:
232
+ #
233
+ # class Notifier < ActionMailer::Base
234
+ # default :sender => 'system@example.com'
235
+ # end
236
+ #
237
+ # You can pass in any header value that a <tt>Mail::Message</tt> accepts. Out of the box,
238
+ # <tt>ActionMailer::Base</tt> sets the following:
239
+ #
240
+ # * <tt>:mime_version => "1.0"</tt>
241
+ # * <tt>:charset => "UTF-8",</tt>
242
+ # * <tt>:content_type => "text/plain",</tt>
243
+ # * <tt>:parts_order => [ "text/plain", "text/enriched", "text/html" ]</tt>
244
+ #
245
+ # <tt>parts_order</tt> and <tt>charset</tt> are not actually valid <tt>Mail::Message</tt> header fields,
246
+ # but Action Mailer translates them appropriately and sets the correct values.
247
+ #
248
+ # As you can pass in any header, you need to either quote the header as a string, or pass it in as
249
+ # an underscored symbol, so the following will work:
250
+ #
251
+ # class Notifier < ActionMailer::Base
252
+ # default 'Content-Transfer-Encoding' => '7bit',
253
+ # :content_description => 'This is a description'
254
+ # end
255
+ #
256
+ # Finally, Action Mailer also supports passing <tt>Proc</tt> objects into the default hash, so you
257
+ # can define methods that evaluate as the message is being generated:
258
+ #
259
+ # class Notifier < ActionMailer::Base
260
+ # default 'X-Special-Header' => Proc.new { my_method }
261
+ #
262
+ # private
263
+ #
264
+ # def my_method
265
+ # 'some complex call'
266
+ # end
267
+ # end
268
+ #
269
+ # Note that the proc is evaluated right at the start of the mail message generation, so if you
270
+ # set something in the defaults using a proc, and then set the same thing inside of your
271
+ # mailer method, it will get over written by the mailer method.
272
+ #
273
+ # = Configuration options
274
+ #
275
+ # These options are specified on the class level, like
276
+ # <tt>ActionMailer::Base.raise_delivery_errors = true</tt>
277
+ #
278
+ # * <tt>default</tt> - You can pass this in at a class level as well as within the class itself as
279
+ # per the above section.
280
+ #
281
+ # * <tt>logger</tt> - the logger is used for generating information on the mailing run if available.
282
+ # Can be set to nil for no logging. Compatible with both Ruby's own Logger and Log4r loggers.
283
+ #
284
+ # * <tt>smtp_settings</tt> - Allows detailed configuration for <tt>:smtp</tt> delivery method:
285
+ # * <tt>:address</tt> - Allows you to use a remote mail server. Just change it from its default
286
+ # "localhost" setting.
287
+ # * <tt>:port</tt> - On the off chance that your mail server doesn't run on port 25, you can change it.
288
+ # * <tt>:domain</tt> - If you need to specify a HELO domain, you can do it here.
289
+ # * <tt>:user_name</tt> - If your mail server requires authentication, set the username in this setting.
290
+ # * <tt>:password</tt> - If your mail server requires authentication, set the password in this setting.
291
+ # * <tt>:authentication</tt> - If your mail server requires authentication, you need to specify the
292
+ # authentication type here.
293
+ # This is a symbol and one of <tt>:plain</tt> (will send the password in the clear), <tt>:login</tt> (will
294
+ # send password Base64 encoded) or <tt>:cram_md5</tt> (combines a Challenge/Response mechanism to exchange
295
+ # information and a cryptographic Message Digest 5 algorithm to hash important information)
296
+ # * <tt>:enable_starttls_auto</tt> - When set to true, detects if STARTTLS is enabled in your SMTP server
297
+ # and starts to use it.
298
+ # * <tt>:openssl_verify_mode</tt> - When using TLS, you can set how OpenSSL checks the certificate. This is
299
+ # really useful if you need to validate a self-signed and/or a wildcard certificate. You can use the name
300
+ # of an OpenSSL verify constant ('none', 'peer', 'client_once','fail_if_no_peer_cert') or directly the
301
+ # constant (OpenSSL::SSL::VERIFY_NONE, OpenSSL::SSL::VERIFY_PEER,...).
302
+ #
303
+ # * <tt>sendmail_settings</tt> - Allows you to override options for the <tt>:sendmail</tt> delivery method.
304
+ # * <tt>:location</tt> - The location of the sendmail executable. Defaults to <tt>/usr/sbin/sendmail</tt>.
305
+ # * <tt>:arguments</tt> - The command line arguments. Defaults to <tt>-i -t</tt> with <tt>-f sender@address</tt>
306
+ # added automatically before the message is sent.
307
+ #
308
+ # * <tt>file_settings</tt> - Allows you to override options for the <tt>:file</tt> delivery method.
309
+ # * <tt>:location</tt> - The directory into which emails will be written. Defaults to the application
310
+ # <tt>tmp/mails</tt>.
311
+ #
312
+ # * <tt>raise_delivery_errors</tt> - Whether or not errors should be raised if the email fails to be delivered.
313
+ #
314
+ # * <tt>delivery_method</tt> - Defines a delivery method. Possible values are <tt>:smtp</tt> (default),
315
+ # <tt>:sendmail</tt>, <tt>:test</tt>, and <tt>:file</tt>. Or you may provide a custom delivery method
316
+ # object eg. MyOwnDeliveryMethodClass.new. See the Mail gem documentation on the interface you need to
317
+ # implement for a custom delivery agent.
318
+ #
319
+ # * <tt>perform_deliveries</tt> - Determines whether emails are actually sent from Action Mailer when you
320
+ # call <tt>.deliver</tt> on an mail message or on an Action Mailer method. This is on by default but can
321
+ # be turned off to aid in functional testing.
322
+ #
323
+ # * <tt>deliveries</tt> - Keeps an array of all the emails sent out through the Action Mailer with
324
+ # <tt>delivery_method :test</tt>. Most useful for unit and functional testing.
325
+ #
326
+ class Base < AbstractController::Base
327
+ include DeliveryMethods
328
+ abstract!
329
+
330
+ include AbstractController::Logger
331
+ include AbstractController::Rendering
332
+ include AbstractController::Layouts
333
+ include AbstractController::Helpers
334
+ include AbstractController::Translation
335
+ include AbstractController::AssetPaths
336
+
337
+ self.protected_instance_variables = %w(@_action_has_layout)
338
+
339
+ helper ActionMailer::MailHelper
340
+
341
+ private_class_method :new #:nodoc:
342
+
343
+ class_attribute :default_params
344
+ self.default_params = {
345
+ :mime_version => "1.0",
346
+ :charset => "UTF-8",
347
+ :content_type => "text/plain",
348
+ :parts_order => [ "text/plain", "text/enriched", "text/html" ]
349
+ }.freeze
350
+
351
+ class << self
352
+ # Register one or more Observers which will be notified when mail is delivered.
353
+ def register_observers(*observers)
354
+ observers.flatten.compact.each { |observer| register_observer(observer) }
355
+ end
356
+
357
+ # Register one or more Interceptors which will be called before mail is sent.
358
+ def register_interceptors(*interceptors)
359
+ interceptors.flatten.compact.each { |interceptor| register_interceptor(interceptor) }
360
+ end
361
+
362
+ # Register an Observer which will be notified when mail is delivered.
363
+ # Either a class or a string can be passed in as the Observer. If a string is passed in
364
+ # it will be <tt>constantize</tt>d.
365
+ def register_observer(observer)
366
+ delivery_observer = (observer.is_a?(String) ? observer.constantize : observer)
367
+ Mail.register_observer(delivery_observer)
368
+ end
369
+
370
+ # Register an Interceptor which will be called before mail is sent.
371
+ # Either a class or a string can be passed in as the Interceptor. If a string is passed in
372
+ # it will be <tt>constantize</tt>d.
373
+ def register_interceptor(interceptor)
374
+ delivery_interceptor = (interceptor.is_a?(String) ? interceptor.constantize : interceptor)
375
+ Mail.register_interceptor(delivery_interceptor)
376
+ end
377
+
378
+ def mailer_name
379
+ @mailer_name ||= anonymous? ? "anonymous" : name.underscore
380
+ end
381
+ attr_writer :mailer_name
382
+ alias :controller_path :mailer_name
383
+
384
+ def default(value = nil)
385
+ self.default_params = default_params.merge(value).freeze if value
386
+ default_params
387
+ end
388
+
389
+ # Receives a raw email, parses it into an email object, decodes it,
390
+ # instantiates a new mailer, and passes the email object to the mailer
391
+ # object's +receive+ method. If you want your mailer to be able to
392
+ # process incoming messages, you'll need to implement a +receive+
393
+ # method that accepts the raw email string as a parameter:
394
+ #
395
+ # class MyMailer < ActionMailer::Base
396
+ # def receive(mail)
397
+ # ...
398
+ # end
399
+ # end
400
+ def receive(raw_mail)
401
+ ActiveSupport::Notifications.instrument("receive.action_mailer") do |payload|
402
+ mail = Mail.new(raw_mail)
403
+ set_payload_for_mail(payload, mail)
404
+ new.receive(mail)
405
+ end
406
+ end
407
+
408
+ # Wraps an email delivery inside of Active Support Notifications instrumentation. This
409
+ # method is actually called by the <tt>Mail::Message</tt> object itself through a callback
410
+ # when you call <tt>:deliver</tt> on the Mail::Message, calling +deliver_mail+ directly
411
+ # and passing a Mail::Message will do nothing except tell the logger you sent the email.
412
+ def deliver_mail(mail) #:nodoc:
413
+ ActiveSupport::Notifications.instrument("deliver.action_mailer") do |payload|
414
+ self.set_payload_for_mail(payload, mail)
415
+ yield # Let Mail do the delivery actions
416
+ end
417
+ end
418
+
419
+ def respond_to?(method, include_private = false) #:nodoc:
420
+ super || action_methods.include?(method.to_s)
421
+ end
422
+
423
+ protected
424
+
425
+ def set_payload_for_mail(payload, mail) #:nodoc:
426
+ payload[:mailer] = name
427
+ payload[:message_id] = mail.message_id
428
+ payload[:subject] = mail.subject
429
+ payload[:to] = mail.to
430
+ payload[:from] = mail.from
431
+ payload[:bcc] = mail.bcc if mail.bcc.present?
432
+ payload[:cc] = mail.cc if mail.cc.present?
433
+ payload[:date] = mail.date
434
+ payload[:mail] = mail.encoded
435
+ end
436
+
437
+ def method_missing(method, *args) #:nodoc:
438
+ return super unless respond_to?(method)
439
+ new(method, *args).message
440
+ end
441
+ end
442
+
443
+ attr_internal :message
444
+
445
+ # Instantiate a new mailer object. If +method_name+ is not +nil+, the mailer
446
+ # will be initialized according to the named method. If not, the mailer will
447
+ # remain uninitialized (useful when you only need to invoke the "receive"
448
+ # method, for instance).
449
+ def initialize(method_name=nil, *args)
450
+ super()
451
+ @_message = Mail.new
452
+ process(method_name, *args) if method_name
453
+ end
454
+
455
+ def process(*args) #:nodoc:
456
+ lookup_context.skip_default_locale!
457
+ super
458
+ end
459
+
460
+ def mailer_name
461
+ self.class.mailer_name
462
+ end
463
+
464
+ # Allows you to pass random and unusual headers to the new +Mail::Message+ object
465
+ # which will add them to itself.
466
+ #
467
+ # headers['X-Special-Domain-Specific-Header'] = "SecretValue"
468
+ #
469
+ # You can also pass a hash into headers of header field names and values, which
470
+ # will then be set on the Mail::Message object:
471
+ #
472
+ # headers 'X-Special-Domain-Specific-Header' => "SecretValue",
473
+ # 'In-Reply-To' => incoming.message_id
474
+ #
475
+ # The resulting Mail::Message will have the following in it's header:
476
+ #
477
+ # X-Special-Domain-Specific-Header: SecretValue
478
+ def headers(args=nil)
479
+ if args
480
+ @_message.headers(args)
481
+ else
482
+ @_message
483
+ end
484
+ end
485
+
486
+ # Allows you to add attachments to an email, like so:
487
+ #
488
+ # mail.attachments['filename.jpg'] = File.read('/path/to/filename.jpg')
489
+ #
490
+ # If you do this, then Mail will take the file name and work out the mime type
491
+ # set the Content-Type, Content-Disposition, Content-Transfer-Encoding and
492
+ # base64 encode the contents of the attachment all for you.
493
+ #
494
+ # You can also specify overrides if you want by passing a hash instead of a string:
495
+ #
496
+ # mail.attachments['filename.jpg'] = {:mime_type => 'application/x-gzip',
497
+ # :content => File.read('/path/to/filename.jpg')}
498
+ #
499
+ # If you want to use a different encoding than Base64, you can pass an encoding in,
500
+ # but then it is up to you to pass in the content pre-encoded, and don't expect
501
+ # Mail to know how to decode this data:
502
+ #
503
+ # file_content = SpecialEncode(File.read('/path/to/filename.jpg'))
504
+ # mail.attachments['filename.jpg'] = {:mime_type => 'application/x-gzip',
505
+ # :encoding => 'SpecialEncoding',
506
+ # :content => file_content }
507
+ #
508
+ # You can also search for specific attachments:
509
+ #
510
+ # # By Filename
511
+ # mail.attachments['filename.jpg'] # => Mail::Part object or nil
512
+ #
513
+ # # or by index
514
+ # mail.attachments[0] # => Mail::Part (first attachment)
515
+ #
516
+ def attachments
517
+ @_message.attachments
518
+ end
519
+
520
+ # The main method that creates the message and renders the email templates. There are
521
+ # two ways to call this method, with a block, or without a block.
522
+ #
523
+ # Both methods accept a headers hash. This hash allows you to specify the most used headers
524
+ # in an email message, these are:
525
+ #
526
+ # * <tt>:subject</tt> - The subject of the message, if this is omitted, Action Mailer will
527
+ # ask the Rails I18n class for a translated <tt>:subject</tt> in the scope of
528
+ # <tt>[mailer_scope, action_name]</tt> or if this is missing, will translate the
529
+ # humanized version of the <tt>action_name</tt>
530
+ # * <tt>:to</tt> - Who the message is destined for, can be a string of addresses, or an array
531
+ # of addresses.
532
+ # * <tt>:from</tt> - Who the message is from
533
+ # * <tt>:cc</tt> - Who you would like to Carbon-Copy on this email, can be a string of addresses,
534
+ # or an array of addresses.
535
+ # * <tt>:bcc</tt> - Who you would like to Blind-Carbon-Copy on this email, can be a string of
536
+ # addresses, or an array of addresses.
537
+ # * <tt>:reply_to</tt> - Who to set the Reply-To header of the email to.
538
+ # * <tt>:date</tt> - The date to say the email was sent on.
539
+ #
540
+ # You can set default values for any of the above headers (except :date) by using the <tt>default</tt>
541
+ # class method:
542
+ #
543
+ # class Notifier < ActionMailer::Base
544
+ # self.default :from => 'no-reply@test.lindsaar.net',
545
+ # :bcc => 'email_logger@test.lindsaar.net',
546
+ # :reply_to => 'bounces@test.lindsaar.net'
547
+ # end
548
+ #
549
+ # If you need other headers not listed above, you can either pass them in
550
+ # as part of the headers hash or use the <tt>headers['name'] = value</tt>
551
+ # method.
552
+ #
553
+ # When a <tt>:return_path</tt> is specified as header, that value will be used as the 'envelope from'
554
+ # address for the Mail message. Setting this is useful when you want delivery notifications
555
+ # sent to a different address than the one in <tt>:from</tt>. Mail will actually use the
556
+ # <tt>:return_path</tt> in preference to the <tt>:sender</tt> in preference to the <tt>:from</tt>
557
+ # field for the 'envelope from' value.
558
+ #
559
+ # If you do not pass a block to the +mail+ method, it will find all templates in the
560
+ # view paths using by default the mailer name and the method name that it is being
561
+ # called from, it will then create parts for each of these templates intelligently,
562
+ # making educated guesses on correct content type and sequence, and return a fully
563
+ # prepared Mail::Message ready to call <tt>:deliver</tt> on to send.
564
+ #
565
+ # For example:
566
+ #
567
+ # class Notifier < ActionMailer::Base
568
+ # default :from => 'no-reply@test.lindsaar.net',
569
+ #
570
+ # def welcome
571
+ # mail(:to => 'mikel@test.lindsaar.net')
572
+ # end
573
+ # end
574
+ #
575
+ # Will look for all templates at "app/views/notifier" with name "welcome". However, those
576
+ # can be customized:
577
+ #
578
+ # mail(:template_path => 'notifications', :template_name => 'another')
579
+ #
580
+ # And now it will look for all templates at "app/views/notifications" with name "another".
581
+ #
582
+ # If you do pass a block, you can render specific templates of your choice:
583
+ #
584
+ # mail(:to => 'mikel@test.lindsaar.net') do |format|
585
+ # format.text
586
+ # format.html
587
+ # end
588
+ #
589
+ # You can even render text directly without using a template:
590
+ #
591
+ # mail(:to => 'mikel@test.lindsaar.net') do |format|
592
+ # format.text { render :text => "Hello Mikel!" }
593
+ # format.html { render :text => "<h1>Hello Mikel!</h1>" }
594
+ # end
595
+ #
596
+ # Which will render a <tt>multipart/alternative</tt> email with <tt>text/plain</tt> and
597
+ # <tt>text/html</tt> parts.
598
+ #
599
+ # The block syntax also allows you to customize the part headers if desired:
600
+ #
601
+ # mail(:to => 'mikel@test.lindsaar.net') do |format|
602
+ # format.text(:content_transfer_encoding => "base64")
603
+ # format.html
604
+ # end
605
+ #
606
+ def mail(headers={}, &block)
607
+ # Guard flag to prevent both the old and the new API from firing
608
+ # Should be removed when old API is removed
609
+ @mail_was_called = true
610
+ m = @_message
611
+
612
+ # At the beginning, do not consider class default for parts order neither content_type
613
+ content_type = headers[:content_type]
614
+ parts_order = headers[:parts_order]
615
+
616
+ # Call all the procs (if any)
617
+ default_values = self.class.default.merge(self.class.default) do |k,v|
618
+ v.respond_to?(:call) ? v.bind(self).call : v
619
+ end
620
+
621
+ # Handle defaults
622
+ headers = headers.reverse_merge(default_values)
623
+ headers[:subject] ||= default_i18n_subject
624
+
625
+ # Apply charset at the beginning so all fields are properly quoted
626
+ m.charset = charset = headers[:charset]
627
+
628
+ # Set configure delivery behavior
629
+ wrap_delivery_behavior!(headers.delete(:delivery_method))
630
+
631
+ # Assign all headers except parts_order, content_type and body
632
+ assignable = headers.except(:parts_order, :content_type, :body, :template_name, :template_path)
633
+ assignable.each { |k, v| m[k] = v }
634
+
635
+ # Render the templates and blocks
636
+ responses, explicit_order = collect_responses_and_parts_order(headers, &block)
637
+ create_parts_from_responses(m, responses)
638
+
639
+ # Setup content type, reapply charset and handle parts order
640
+ m.content_type = set_content_type(m, content_type, headers[:content_type])
641
+ m.charset = charset
642
+
643
+ if m.multipart?
644
+ parts_order ||= explicit_order || headers[:parts_order]
645
+ m.body.set_sort_order(parts_order)
646
+ m.body.sort_parts!
647
+ end
648
+
649
+ m
650
+ end
651
+
652
+ protected
653
+
654
+ def set_content_type(m, user_content_type, class_default)
655
+ params = m.content_type_parameters || {}
656
+ case
657
+ when user_content_type.present?
658
+ user_content_type
659
+ when m.has_attachments?
660
+ if m.attachments.detect { |a| a.inline? }
661
+ ["multipart", "related", params]
662
+ else
663
+ ["multipart", "mixed", params]
664
+ end
665
+ when m.multipart?
666
+ ["multipart", "alternative", params]
667
+ else
668
+ m.content_type || class_default
669
+ end
670
+ end
671
+
672
+ # Translates the +subject+ using Rails I18n class under <tt>[:actionmailer, mailer_scope, action_name]</tt> scope.
673
+ # If it does not find a translation for the +subject+ under the specified scope it will default to a
674
+ # humanized version of the <tt>action_name</tt>.
675
+ def default_i18n_subject #:nodoc:
676
+ mailer_scope = self.class.mailer_name.gsub('/', '.')
677
+ I18n.t(:subject, :scope => [mailer_scope, action_name], :default => action_name.humanize)
678
+ end
679
+
680
+ def collect_responses_and_parts_order(headers) #:nodoc:
681
+ responses, parts_order = [], nil
682
+
683
+ if block_given?
684
+ collector = ActionMailer::Collector.new(lookup_context) { render(action_name) }
685
+ yield(collector)
686
+ parts_order = collector.responses.map { |r| r[:content_type] }
687
+ responses = collector.responses
688
+ elsif headers[:body]
689
+ responses << {
690
+ :body => headers.delete(:body),
691
+ :content_type => self.class.default[:content_type] || "text/plain"
692
+ }
693
+ else
694
+ templates_path = headers.delete(:template_path) || self.class.mailer_name
695
+ templates_name = headers.delete(:template_name) || action_name
696
+
697
+ each_template(templates_path, templates_name) do |template|
698
+ self.formats = template.formats
699
+
700
+ responses << {
701
+ :body => render(:template => template),
702
+ :content_type => template.mime_type.to_s
703
+ }
704
+ end
705
+ end
706
+
707
+ [responses, parts_order]
708
+ end
709
+
710
+ def each_template(paths, name, &block) #:nodoc:
711
+ templates = lookup_context.find_all(name, Array.wrap(paths))
712
+ templates.uniq_by { |t| t.formats }.each(&block)
713
+ end
714
+
715
+ def create_parts_from_responses(m, responses) #:nodoc:
716
+ if responses.size == 1 && !m.has_attachments?
717
+ responses[0].each { |k,v| m[k] = v }
718
+ elsif responses.size > 1 && m.has_attachments?
719
+ container = Mail::Part.new
720
+ container.content_type = "multipart/alternative"
721
+ responses.each { |r| insert_part(container, r, m.charset) }
722
+ m.add_part(container)
723
+ else
724
+ responses.each { |r| insert_part(m, r, m.charset) }
725
+ end
726
+ end
727
+
728
+ def insert_part(container, response, charset) #:nodoc:
729
+ response[:charset] ||= charset
730
+ part = Mail::Part.new(response)
731
+ container.add_part(part)
732
+ end
733
+
734
+ ActiveSupport.run_load_hooks(:action_mailer, self)
735
+ end
736
+ end
737
+