challah 0.9.0.pre → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5254) hide show
  1. data/CHANGELOG.md +1 -1
  2. data/db/migrate/20121116210759_create_authorizations.rb +1 -0
  3. data/lib/challah/authenticators/password.rb +1 -1
  4. data/lib/challah/authorization.rb +18 -8
  5. data/lib/challah/providers/password_provider.rb +22 -1
  6. data/lib/challah/providers.rb +5 -0
  7. data/lib/challah/signup.rb +75 -0
  8. data/lib/challah/user/providers.rb +39 -1
  9. data/lib/challah/user.rb +18 -10
  10. data/lib/challah/validators/password_validator.rb +1 -1
  11. data/lib/challah/version.rb +1 -1
  12. data/lib/challah.rb +1 -0
  13. data/test/helper.rb +26 -1
  14. data/test/signup_test.rb +122 -0
  15. data/test/user_test.rb +55 -0
  16. data/vendor/bundle/bin/convert_to_should_syntax +23 -0
  17. data/vendor/bundle/bin/erubis +23 -0
  18. data/vendor/bundle/bin/rackup +23 -0
  19. data/vendor/bundle/bin/rails +23 -0
  20. data/vendor/bundle/bin/rake +23 -0
  21. data/vendor/bundle/bin/rake2thor +23 -0
  22. data/vendor/bundle/bin/rdiscount +23 -0
  23. data/vendor/bundle/bin/rdoc +23 -0
  24. data/vendor/bundle/bin/ri +23 -0
  25. data/vendor/bundle/bin/sprockets +23 -0
  26. data/vendor/bundle/bin/thor +23 -0
  27. data/vendor/bundle/bin/tilt +23 -0
  28. data/vendor/bundle/bin/tt +23 -0
  29. data/vendor/bundle/bin/turn +23 -0
  30. data/vendor/bundle/bin/yard +23 -0
  31. data/vendor/bundle/bin/yardoc +23 -0
  32. data/vendor/bundle/bin/yri +23 -0
  33. data/vendor/bundle/cache/actionmailer-3.2.9.gem +0 -0
  34. data/vendor/bundle/cache/actionpack-3.2.9.gem +0 -0
  35. data/vendor/bundle/cache/activemodel-3.2.9.gem +0 -0
  36. data/vendor/bundle/cache/activerecord-3.2.9.gem +0 -0
  37. data/vendor/bundle/cache/activeresource-3.2.9.gem +0 -0
  38. data/vendor/bundle/cache/activesupport-3.2.9.gem +0 -0
  39. data/vendor/bundle/cache/ansi-1.4.3.gem +0 -0
  40. data/vendor/bundle/cache/arel-3.0.2.gem +0 -0
  41. data/vendor/bundle/cache/bcrypt-ruby-3.0.1.gem +0 -0
  42. data/vendor/bundle/cache/bourne-1.1.2.gem +0 -0
  43. data/vendor/bundle/cache/builder-3.0.4.gem +0 -0
  44. data/vendor/bundle/cache/erubis-2.7.0.gem +0 -0
  45. data/vendor/bundle/cache/factory_girl-4.1.0.gem +0 -0
  46. data/vendor/bundle/cache/highline-1.6.15.gem +0 -0
  47. data/vendor/bundle/cache/hike-1.2.1.gem +0 -0
  48. data/vendor/bundle/cache/i18n-0.6.1.gem +0 -0
  49. data/vendor/bundle/cache/journey-1.0.4.gem +0 -0
  50. data/vendor/bundle/cache/json-1.7.5.gem +0 -0
  51. data/vendor/bundle/cache/mail-2.4.4.gem +0 -0
  52. data/vendor/bundle/cache/metaclass-0.0.1.gem +0 -0
  53. data/vendor/bundle/cache/mime-types-1.19.gem +0 -0
  54. data/vendor/bundle/cache/minitest-4.3.2.gem +0 -0
  55. data/vendor/bundle/cache/mocha-0.10.5.gem +0 -0
  56. data/vendor/bundle/cache/multi_json-1.4.0.gem +0 -0
  57. data/vendor/bundle/cache/polyglot-0.3.3.gem +0 -0
  58. data/vendor/bundle/cache/rack-1.4.1.gem +0 -0
  59. data/vendor/bundle/cache/rack-cache-1.2.gem +0 -0
  60. data/vendor/bundle/cache/rack-ssl-1.3.2.gem +0 -0
  61. data/vendor/bundle/cache/rack-test-0.6.2.gem +0 -0
  62. data/vendor/bundle/cache/rails-3.2.9.gem +0 -0
  63. data/vendor/bundle/cache/railties-3.2.9.gem +0 -0
  64. data/vendor/bundle/cache/rake-10.0.2.gem +0 -0
  65. data/vendor/bundle/cache/rdiscount-1.6.8.gem +0 -0
  66. data/vendor/bundle/cache/rdoc-3.12.gem +0 -0
  67. data/vendor/bundle/cache/shoulda-3.3.2.gem +0 -0
  68. data/vendor/bundle/cache/shoulda-context-1.0.1.gem +0 -0
  69. data/vendor/bundle/cache/shoulda-matchers-1.4.2.gem +0 -0
  70. data/vendor/bundle/cache/simplecov-0.7.1.gem +0 -0
  71. data/vendor/bundle/cache/simplecov-html-0.7.1.gem +0 -0
  72. data/vendor/bundle/cache/sprockets-2.2.2.gem +0 -0
  73. data/vendor/bundle/cache/sqlite3-1.3.6.gem +0 -0
  74. data/vendor/bundle/cache/thor-0.16.0.gem +0 -0
  75. data/vendor/bundle/cache/tilt-1.3.3.gem +0 -0
  76. data/vendor/bundle/cache/treetop-1.4.12.gem +0 -0
  77. data/vendor/bundle/cache/turn-0.9.6.gem +0 -0
  78. data/vendor/bundle/cache/tzinfo-0.3.35.gem +0 -0
  79. data/vendor/bundle/cache/yard-0.8.3.gem +0 -0
  80. data/vendor/bundle/gems/actionmailer-3.2.9/CHANGELOG.md +55 -0
  81. data/vendor/bundle/gems/actionmailer-3.2.9/MIT-LICENSE +21 -0
  82. data/vendor/bundle/gems/actionmailer-3.2.9/README.rdoc +163 -0
  83. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/base.rb +749 -0
  84. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/collector.rb +30 -0
  85. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/delivery_methods.rb +86 -0
  86. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/log_subscriber.rb +22 -0
  87. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/mail_helper.rb +56 -0
  88. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/railtie.rb +44 -0
  89. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/test_case.rb +82 -0
  90. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/test_helper.rb +61 -0
  91. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer/version.rb +10 -0
  92. data/vendor/bundle/gems/actionmailer-3.2.9/lib/action_mailer.rb +49 -0
  93. data/vendor/bundle/gems/actionmailer-3.2.9/lib/rails/generators/mailer/USAGE +18 -0
  94. data/vendor/bundle/gems/actionmailer-3.2.9/lib/rails/generators/mailer/mailer_generator.rb +16 -0
  95. data/vendor/bundle/gems/actionmailer-3.2.9/lib/rails/generators/mailer/templates/mailer.rb +18 -0
  96. data/vendor/bundle/gems/actionpack-3.2.9/CHANGELOG.md +441 -0
  97. data/vendor/bundle/gems/actionpack-3.2.9/MIT-LICENSE +21 -0
  98. data/vendor/bundle/gems/actionpack-3.2.9/README.rdoc +341 -0
  99. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/asset_paths.rb +10 -0
  100. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/base.rb +213 -0
  101. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/callbacks.rb +198 -0
  102. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/collector.rb +32 -0
  103. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/helpers.rb +167 -0
  104. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/layouts.rb +423 -0
  105. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/logger.rb +13 -0
  106. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/railties/routes_helpers.rb +18 -0
  107. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb +179 -0
  108. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/translation.rb +13 -0
  109. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/url_for.rb +33 -0
  110. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller/view_paths.rb +96 -0
  111. data/vendor/bundle/gems/actionpack-3.2.9/lib/abstract_controller.rb +28 -0
  112. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/base.rb +235 -0
  113. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching/actions.rb +185 -0
  114. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching/fragments.rb +127 -0
  115. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching/pages.rb +187 -0
  116. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching/sweeping.rb +97 -0
  117. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/caching.rb +86 -0
  118. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/deprecated/integration_test.rb +2 -0
  119. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/deprecated/performance_test.rb +1 -0
  120. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/deprecated.rb +3 -0
  121. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/log_subscriber.rb +67 -0
  122. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/compatibility.rb +64 -0
  123. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/conditional_get.rb +131 -0
  124. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/cookies.rb +16 -0
  125. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/data_streaming.rb +177 -0
  126. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/exceptions.rb +46 -0
  127. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/flash.rb +28 -0
  128. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/force_ssl.rb +39 -0
  129. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/head.rb +35 -0
  130. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/helpers.rb +113 -0
  131. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/hide_actions.rb +47 -0
  132. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/http_authentication.rb +466 -0
  133. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/implicit_render.rb +19 -0
  134. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb +105 -0
  135. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/mime_responds.rb +317 -0
  136. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/params_wrapper.rb +240 -0
  137. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/rack_delegation.rb +26 -0
  138. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/redirecting.rb +109 -0
  139. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/renderers.rb +109 -0
  140. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/rendering.rb +65 -0
  141. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/request_forgery_protection.rb +113 -0
  142. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/rescue.rb +35 -0
  143. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/responder.rb +286 -0
  144. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/session_management.rb +14 -0
  145. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/streaming.rb +229 -0
  146. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/testing.rb +37 -0
  147. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal/url_for.rb +47 -0
  148. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/metal.rb +250 -0
  149. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/middleware.rb +39 -0
  150. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/railtie.rb +51 -0
  151. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/railties/paths.rb +25 -0
  152. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/record_identifier.rb +85 -0
  153. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/test_case.rb +558 -0
  154. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/document.rb +68 -0
  155. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/node.rb +532 -0
  156. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +177 -0
  157. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/selector.rb +830 -0
  158. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +107 -0
  159. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner/html/version.rb +11 -0
  160. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller/vendor/html-scanner.rb +20 -0
  161. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_controller.rb +65 -0
  162. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/cache.rb +123 -0
  163. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/filter_parameters.rb +70 -0
  164. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/headers.rb +31 -0
  165. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/mime_negotiation.rb +110 -0
  166. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/mime_type.rb +276 -0
  167. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/mime_types.rb +35 -0
  168. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/parameter_filter.rb +74 -0
  169. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/parameters.rb +83 -0
  170. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/rack_cache.rb +62 -0
  171. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/request.rb +281 -0
  172. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/response.rb +206 -0
  173. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/upload.rb +47 -0
  174. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/http/url.rb +174 -0
  175. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/best_standards_support.rb +22 -0
  176. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/body_proxy.rb +30 -0
  177. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/callbacks.rb +32 -0
  178. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/cookies.rb +353 -0
  179. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/debug_exceptions.rb +82 -0
  180. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/exception_wrapper.rb +82 -0
  181. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/flash.rb +263 -0
  182. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/head.rb +18 -0
  183. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/params_parser.rb +75 -0
  184. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/public_exceptions.rb +30 -0
  185. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/reloader.rb +89 -0
  186. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/remote_ip.rb +81 -0
  187. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/request_id.rb +39 -0
  188. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/rescue.rb +26 -0
  189. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/session/abstract_store.rb +86 -0
  190. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/session/cache_store.rb +49 -0
  191. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/session/cookie_store.rb +71 -0
  192. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/session/mem_cache_store.rb +17 -0
  193. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/show_exceptions.rb +87 -0
  194. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/stack.rb +124 -0
  195. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/static.rb +65 -0
  196. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb +31 -0
  197. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb +26 -0
  198. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +10 -0
  199. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/layout.erb +32 -0
  200. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb +2 -0
  201. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb +15 -0
  202. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb +17 -0
  203. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb +2 -0
  204. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/railtie.rb +34 -0
  205. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/mapper.rb +1509 -0
  206. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/polymorphic_routes.rb +209 -0
  207. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/redirection.rb +131 -0
  208. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb +659 -0
  209. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/routes_proxy.rb +39 -0
  210. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing/url_for.rb +167 -0
  211. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/routing.rb +293 -0
  212. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/dom.rb +37 -0
  213. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/response.rb +96 -0
  214. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/routing.rb +217 -0
  215. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/selector.rb +435 -0
  216. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions/tag.rb +138 -0
  217. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/assertions.rb +18 -0
  218. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/integration.rb +498 -0
  219. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/performance_test.rb +10 -0
  220. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/test_process.rb +41 -0
  221. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/test_request.rb +74 -0
  222. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch/testing/test_response.rb +29 -0
  223. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_dispatch.rb +102 -0
  224. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_pack/version.rb +10 -0
  225. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_pack.rb +24 -0
  226. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/asset_paths.rb +142 -0
  227. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/base.rb +220 -0
  228. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/buffers.rb +43 -0
  229. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/context.rb +36 -0
  230. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/flows.rb +79 -0
  231. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/active_model_helper.rb +50 -0
  232. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_paths.rb +7 -0
  233. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helper.rb +457 -0
  234. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb +146 -0
  235. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helpers/asset_paths.rb +93 -0
  236. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +193 -0
  237. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb +148 -0
  238. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/atom_feed_helper.rb +200 -0
  239. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/cache_helper.rb +64 -0
  240. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/capture_helper.rb +203 -0
  241. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/controller_helper.rb +25 -0
  242. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/csrf_helper.rb +32 -0
  243. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/date_helper.rb +1057 -0
  244. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/debug_helper.rb +40 -0
  245. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/form_helper.rb +1487 -0
  246. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/form_options_helper.rb +658 -0
  247. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/form_tag_helper.rb +685 -0
  248. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/javascript_helper.rb +110 -0
  249. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/number_helper.rb +608 -0
  250. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/output_safety_helper.rb +38 -0
  251. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/record_tag_helper.rb +109 -0
  252. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/rendering_helper.rb +90 -0
  253. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/sanitize_helper.rb +259 -0
  254. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/tag_helper.rb +160 -0
  255. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/text_helper.rb +426 -0
  256. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/translation_helper.rb +88 -0
  257. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers/url_helper.rb +693 -0
  258. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/helpers.rb +60 -0
  259. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/locale/en.yml +160 -0
  260. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/log_subscriber.rb +28 -0
  261. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/lookup_context.rb +241 -0
  262. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/path_set.rb +89 -0
  263. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/railtie.rb +55 -0
  264. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/abstract_renderer.rb +41 -0
  265. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/partial_renderer.rb +415 -0
  266. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/renderer.rb +54 -0
  267. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/streaming_template_renderer.rb +106 -0
  268. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb +94 -0
  269. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/error.rb +128 -0
  270. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/handlers/builder.rb +26 -0
  271. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/handlers/erb.rb +109 -0
  272. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/handlers.rb +50 -0
  273. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/resolver.rb +258 -0
  274. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template/text.rb +30 -0
  275. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/template.rb +337 -0
  276. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/test_case.rb +245 -0
  277. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view/testing/resolvers.rb +50 -0
  278. data/vendor/bundle/gems/actionpack-3.2.9/lib/action_view.rb +84 -0
  279. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/assets.rake +99 -0
  280. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/bootstrap.rb +37 -0
  281. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/compressors.rb +83 -0
  282. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/helpers/isolated_helper.rb +13 -0
  283. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/helpers/rails_helper.rb +175 -0
  284. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/helpers.rb +6 -0
  285. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/railtie.rb +62 -0
  286. data/vendor/bundle/gems/actionpack-3.2.9/lib/sprockets/static_compiler.rb +56 -0
  287. data/vendor/bundle/gems/activemodel-3.2.9/CHANGELOG.md +60 -0
  288. data/vendor/bundle/gems/activemodel-3.2.9/MIT-LICENSE +21 -0
  289. data/vendor/bundle/gems/activemodel-3.2.9/README.rdoc +211 -0
  290. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/attribute_methods.rb +452 -0
  291. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/callbacks.rb +134 -0
  292. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/conversion.rb +73 -0
  293. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/dirty.rb +167 -0
  294. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/errors.rb +370 -0
  295. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/lint.rb +123 -0
  296. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/locale/en.yml +27 -0
  297. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/mass_assignment_security/permission_set.rb +40 -0
  298. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/mass_assignment_security/sanitizer.rb +59 -0
  299. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/mass_assignment_security.rb +237 -0
  300. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/naming.rb +171 -0
  301. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/observer_array.rb +147 -0
  302. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/observing.rb +252 -0
  303. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/railtie.rb +2 -0
  304. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/secure_password.rb +74 -0
  305. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/serialization.rb +139 -0
  306. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/serializers/json.rb +108 -0
  307. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/serializers/xml.rb +199 -0
  308. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/test_case.rb +16 -0
  309. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/translation.rb +70 -0
  310. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/acceptance.rb +67 -0
  311. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/callbacks.rb +57 -0
  312. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/confirmation.rb +67 -0
  313. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/exclusion.rb +79 -0
  314. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/format.rb +105 -0
  315. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/inclusion.rb +79 -0
  316. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/length.rb +127 -0
  317. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/numericality.rb +138 -0
  318. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/presence.rb +49 -0
  319. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/validates.rb +137 -0
  320. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations/with.rb +142 -0
  321. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validations.rb +237 -0
  322. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/validator.rb +184 -0
  323. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model/version.rb +10 -0
  324. data/vendor/bundle/gems/activemodel-3.2.9/lib/active_model.rb +61 -0
  325. data/vendor/bundle/gems/activerecord-3.2.9/CHANGELOG.md +485 -0
  326. data/vendor/bundle/gems/activerecord-3.2.9/MIT-LICENSE +20 -0
  327. data/vendor/bundle/gems/activerecord-3.2.9/README.rdoc +222 -0
  328. data/vendor/bundle/gems/activerecord-3.2.9/examples/associations.png +0 -0
  329. data/vendor/bundle/gems/activerecord-3.2.9/examples/performance.rb +172 -0
  330. data/vendor/bundle/gems/activerecord-3.2.9/examples/simple.rb +14 -0
  331. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/aggregations.rb +255 -0
  332. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/alias_tracker.rb +76 -0
  333. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/association.rb +240 -0
  334. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/association_scope.rb +134 -0
  335. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/belongs_to_association.rb +79 -0
  336. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/belongs_to_polymorphic_association.rb +34 -0
  337. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/builder/association.rb +55 -0
  338. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/builder/belongs_to.rb +85 -0
  339. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/builder/collection_association.rb +75 -0
  340. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/builder/has_and_belongs_to_many.rb +57 -0
  341. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/builder/has_many.rb +71 -0
  342. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/builder/has_one.rb +62 -0
  343. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/builder/singular_association.rb +32 -0
  344. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/collection_association.rb +580 -0
  345. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/collection_proxy.rb +131 -0
  346. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/has_and_belongs_to_many_association.rb +63 -0
  347. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/has_many_association.rb +108 -0
  348. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/has_many_through_association.rb +196 -0
  349. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/has_one_association.rb +75 -0
  350. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/has_one_through_association.rb +36 -0
  351. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/join_dependency/join_association.rb +154 -0
  352. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/join_dependency/join_base.rb +24 -0
  353. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/join_dependency/join_part.rb +78 -0
  354. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/join_dependency.rb +214 -0
  355. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/join_helper.rb +55 -0
  356. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/association.rb +125 -0
  357. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/belongs_to.rb +17 -0
  358. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/collection_association.rb +24 -0
  359. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/has_and_belongs_to_many.rb +60 -0
  360. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/has_many.rb +17 -0
  361. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/has_many_through.rb +15 -0
  362. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/has_one.rb +23 -0
  363. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/has_one_through.rb +9 -0
  364. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/singular_association.rb +21 -0
  365. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader/through_association.rb +67 -0
  366. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/preloader.rb +181 -0
  367. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/singular_association.rb +64 -0
  368. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations/through_association.rb +87 -0
  369. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/associations.rb +1607 -0
  370. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_assignment.rb +221 -0
  371. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/before_type_cast.rb +31 -0
  372. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/deprecated_underscore_read.rb +32 -0
  373. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/dirty.rb +111 -0
  374. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/primary_key.rb +114 -0
  375. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/query.rb +39 -0
  376. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/read.rb +136 -0
  377. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/serialization.rb +102 -0
  378. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/time_zone_conversion.rb +73 -0
  379. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods/write.rb +69 -0
  380. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/attribute_methods.rb +275 -0
  381. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/autosave_association.rb +428 -0
  382. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/base.rb +720 -0
  383. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/callbacks.rb +275 -0
  384. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/coders/yaml_column.rb +41 -0
  385. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/connection_pool.rb +488 -0
  386. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/connection_specification.rb +191 -0
  387. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/database_limits.rb +58 -0
  388. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/database_statements.rb +390 -0
  389. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/query_cache.rb +90 -0
  390. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/quoting.rb +115 -0
  391. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/schema_definitions.rb +492 -0
  392. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/schema_statements.rb +606 -0
  393. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract_adapter.rb +296 -0
  394. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +676 -0
  395. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/column.rb +296 -0
  396. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/mysql2_adapter.rb +278 -0
  397. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/mysql_adapter.rb +441 -0
  398. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb +1309 -0
  399. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/schema_cache.rb +50 -0
  400. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/sqlite3_adapter.rb +55 -0
  401. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/sqlite_adapter.rb +579 -0
  402. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/connection_adapters/statement_pool.rb +40 -0
  403. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/counter_cache.rb +123 -0
  404. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/dynamic_finder_match.rb +68 -0
  405. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/dynamic_matchers.rb +79 -0
  406. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/dynamic_scope_match.rb +23 -0
  407. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/errors.rb +195 -0
  408. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/explain.rb +85 -0
  409. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/explain_subscriber.rb +25 -0
  410. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/fixtures/file.rb +65 -0
  411. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/fixtures.rb +922 -0
  412. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/identity_map.rb +162 -0
  413. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/inheritance.rb +174 -0
  414. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/integration.rb +49 -0
  415. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/locale/en.yml +40 -0
  416. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/locking/optimistic.rb +183 -0
  417. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/locking/pessimistic.rb +77 -0
  418. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/log_subscriber.rb +68 -0
  419. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/migration/command_recorder.rb +105 -0
  420. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/migration.rb +781 -0
  421. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/model_schema.rb +366 -0
  422. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/nested_attributes.rb +469 -0
  423. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/observer.rb +121 -0
  424. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/persistence.rb +376 -0
  425. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/query_cache.rb +74 -0
  426. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/querying.rb +58 -0
  427. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/railtie.rb +125 -0
  428. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/railties/console_sandbox.rb +6 -0
  429. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/railties/controller_runtime.rb +49 -0
  430. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/railties/databases.rake +644 -0
  431. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/railties/jdbcmysql_error.rb +16 -0
  432. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/readonly_attributes.rb +26 -0
  433. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/reflection.rb +534 -0
  434. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/relation/batches.rb +90 -0
  435. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/relation/calculations.rb +365 -0
  436. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/relation/delegation.rb +49 -0
  437. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/relation/finder_methods.rb +399 -0
  438. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/relation/predicate_builder.rb +58 -0
  439. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/relation/query_methods.rb +417 -0
  440. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/relation/spawn_methods.rb +148 -0
  441. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/relation.rb +537 -0
  442. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/result.rb +34 -0
  443. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/sanitization.rb +194 -0
  444. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/schema.rb +58 -0
  445. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/schema_dumper.rb +208 -0
  446. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/scoping/default.rb +142 -0
  447. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/scoping/named.rb +202 -0
  448. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/scoping.rb +152 -0
  449. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/serialization.rb +18 -0
  450. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/serializers/xml_serializer.rb +203 -0
  451. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/session_store.rb +360 -0
  452. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/store.rb +52 -0
  453. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/test_case.rb +73 -0
  454. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/timestamp.rb +114 -0
  455. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/transactions.rb +381 -0
  456. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/translation.rb +22 -0
  457. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/validations/associated.rb +43 -0
  458. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/validations/uniqueness.rb +180 -0
  459. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/validations.rb +83 -0
  460. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record/version.rb +10 -0
  461. data/vendor/bundle/gems/activerecord-3.2.9/lib/active_record.rb +156 -0
  462. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/migration/migration_generator.rb +25 -0
  463. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/migration/templates/migration.rb +34 -0
  464. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/migration.rb +15 -0
  465. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/model/model_generator.rb +47 -0
  466. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/model/templates/migration.rb +15 -0
  467. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/model/templates/model.rb +12 -0
  468. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/model/templates/module.rb +7 -0
  469. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/observer/observer_generator.rb +15 -0
  470. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/observer/templates/observer.rb +4 -0
  471. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/session_migration/session_migration_generator.rb +25 -0
  472. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record/session_migration/templates/migration.rb +12 -0
  473. data/vendor/bundle/gems/activerecord-3.2.9/lib/rails/generators/active_record.rb +25 -0
  474. data/vendor/bundle/gems/activeresource-3.2.9/CHANGELOG.md +375 -0
  475. data/vendor/bundle/gems/activeresource-3.2.9/MIT-LICENSE +20 -0
  476. data/vendor/bundle/gems/activeresource-3.2.9/README.rdoc +187 -0
  477. data/vendor/bundle/gems/activeresource-3.2.9/examples/performance.rb +70 -0
  478. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/base.rb +1482 -0
  479. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/connection.rb +287 -0
  480. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/custom_methods.rb +119 -0
  481. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/exceptions.rb +82 -0
  482. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/formats/json_format.rb +25 -0
  483. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/formats/xml_format.rb +25 -0
  484. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/formats.rb +22 -0
  485. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/http_mock.rb +335 -0
  486. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/log_subscriber.rb +15 -0
  487. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/observing.rb +29 -0
  488. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/railtie.rb +14 -0
  489. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/schema.rb +59 -0
  490. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/validations.rb +134 -0
  491. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource/version.rb +10 -0
  492. data/vendor/bundle/gems/activeresource-3.2.9/lib/active_resource.rb +46 -0
  493. data/vendor/bundle/gems/activesupport-3.2.9/CHANGELOG.md +148 -0
  494. data/vendor/bundle/gems/activesupport-3.2.9/MIT-LICENSE +20 -0
  495. data/vendor/bundle/gems/activesupport-3.2.9/README.rdoc +33 -0
  496. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/all.rb +3 -0
  497. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/backtrace_cleaner.rb +99 -0
  498. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/base64.rb +54 -0
  499. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/basic_object.rb +21 -0
  500. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/benchmarkable.rb +55 -0
  501. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/buffered_logger.rb +125 -0
  502. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/builder.rb +6 -0
  503. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/file_store.rb +178 -0
  504. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/mem_cache_store.rb +206 -0
  505. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/memory_store.rb +159 -0
  506. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/null_store.rb +44 -0
  507. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache/strategy/local_cache.rb +169 -0
  508. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/cache.rb +638 -0
  509. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/callbacks.rb +626 -0
  510. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/concern.rb +131 -0
  511. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/configurable.rb +90 -0
  512. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/access.rb +46 -0
  513. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/conversions.rb +164 -0
  514. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/extract_options.rb +29 -0
  515. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/grouping.rb +100 -0
  516. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  517. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/random_access.rb +30 -0
  518. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/uniq_by.rb +16 -0
  519. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array/wrap.rb +48 -0
  520. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/array.rb +8 -0
  521. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/benchmark.rb +7 -0
  522. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/big_decimal/conversions.rb +45 -0
  523. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/big_decimal.rb +1 -0
  524. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class/attribute.rb +115 -0
  525. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class/attribute_accessors.rb +168 -0
  526. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
  527. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class/subclasses.rb +36 -0
  528. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/class.rb +4 -0
  529. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/acts_like.rb +8 -0
  530. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/calculations.rb +276 -0
  531. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/conversions.rb +106 -0
  532. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/freeze.rb +33 -0
  533. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date/zones.rb +14 -0
  534. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
  535. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date_time/calculations.rb +143 -0
  536. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date_time/conversions.rb +103 -0
  537. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/date_time/zones.rb +21 -0
  538. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/enumerable.rb +127 -0
  539. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/exception.rb +3 -0
  540. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/file/atomic.rb +42 -0
  541. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/file/path.rb +5 -0
  542. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/file.rb +2 -0
  543. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/float/rounding.rb +19 -0
  544. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/float.rb +1 -0
  545. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/conversions.rb +157 -0
  546. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/deep_dup.rb +18 -0
  547. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/deep_merge.rb +21 -0
  548. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/diff.rb +13 -0
  549. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/except.rb +23 -0
  550. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
  551. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/keys.rb +54 -0
  552. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/reverse_merge.rb +23 -0
  553. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash/slice.rb +40 -0
  554. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/hash.rb +9 -0
  555. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/integer/inflections.rb +17 -0
  556. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/integer/multiple.rb +10 -0
  557. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/integer/time.rb +39 -0
  558. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/integer.rb +3 -0
  559. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/io.rb +15 -0
  560. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  561. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel/debugger.rb +10 -0
  562. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel/reporting.rb +93 -0
  563. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
  564. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/kernel.rb +4 -0
  565. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/load_error.rb +23 -0
  566. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/logger.rb +83 -0
  567. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/aliasing.rb +70 -0
  568. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/anonymous.rb +24 -0
  569. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/attr_internal.rb +39 -0
  570. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/attribute_accessors.rb +64 -0
  571. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/delegation.rb +153 -0
  572. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/deprecation.rb +9 -0
  573. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/introspection.rb +88 -0
  574. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/method_names.rb +14 -0
  575. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/qualified_const.rb +64 -0
  576. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/reachable.rb +8 -0
  577. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/remove_method.rb +16 -0
  578. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module/synchronization.rb +45 -0
  579. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/module.rb +12 -0
  580. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/name_error.rb +18 -0
  581. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  582. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/numeric/time.rb +79 -0
  583. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/numeric.rb +2 -0
  584. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/acts_like.rb +10 -0
  585. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/blank.rb +121 -0
  586. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/conversions.rb +4 -0
  587. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/duplicable.rb +119 -0
  588. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/inclusion.rb +25 -0
  589. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/instance_variables.rb +33 -0
  590. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/to_json.rb +19 -0
  591. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/to_param.rb +55 -0
  592. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/to_query.rb +27 -0
  593. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/try.rb +57 -0
  594. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object/with_options.rb +43 -0
  595. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/object.rb +13 -0
  596. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/proc.rb +14 -0
  597. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/process/daemon.rb +23 -0
  598. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/process.rb +1 -0
  599. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/blockless_step.rb +29 -0
  600. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/conversions.rb +21 -0
  601. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/cover.rb +3 -0
  602. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/include_range.rb +21 -0
  603. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range/overlaps.rb +8 -0
  604. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/range.rb +5 -0
  605. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/regexp.rb +5 -0
  606. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/rexml.rb +46 -0
  607. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/access.rb +99 -0
  608. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/behavior.rb +6 -0
  609. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/conversions.rb +66 -0
  610. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/encoding.rb +11 -0
  611. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/exclude.rb +11 -0
  612. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/filters.rb +49 -0
  613. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/inflections.rb +202 -0
  614. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/inquiry.rb +13 -0
  615. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/interpolation.rb +2 -0
  616. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/multibyte.rb +72 -0
  617. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/output_safety.rb +186 -0
  618. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  619. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/strip.rb +26 -0
  620. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string/xchar.rb +18 -0
  621. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/string.rb +14 -0
  622. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/acts_like.rb +8 -0
  623. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/calculations.rb +360 -0
  624. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/conversions.rb +85 -0
  625. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/marshal.rb +57 -0
  626. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
  627. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/time/zones.rb +86 -0
  628. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext/uri.rb +30 -0
  629. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/core_ext.rb +3 -0
  630. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/dependencies/autoload.rb +50 -0
  631. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/dependencies.rb +703 -0
  632. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation/behaviors.rb +49 -0
  633. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation/method_wrappers.rb +29 -0
  634. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation/proxy_wrappers.rb +81 -0
  635. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation/reporting.rb +65 -0
  636. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/deprecation.rb +18 -0
  637. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/descendants_tracker.rb +45 -0
  638. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/duration.rb +110 -0
  639. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/file_update_checker.rb +121 -0
  640. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/file_watcher.rb +36 -0
  641. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/gzip.rb +30 -0
  642. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/hash_with_indifferent_access.rb +178 -0
  643. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/i18n.rb +9 -0
  644. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/i18n_railtie.rb +102 -0
  645. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflections.rb +63 -0
  646. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflector/inflections.rb +174 -0
  647. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflector/methods.rb +321 -0
  648. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflector/transliterate.rb +98 -0
  649. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/inflector.rb +7 -0
  650. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/json/decoding.rb +79 -0
  651. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/json/encoding.rb +284 -0
  652. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/json/variable.rb +9 -0
  653. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/json.rb +2 -0
  654. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb +46 -0
  655. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/locale/en.yml +36 -0
  656. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/log_subscriber/test_helper.rb +101 -0
  657. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/log_subscriber.rb +122 -0
  658. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/memoizable.rb +116 -0
  659. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/message_encryptor.rb +103 -0
  660. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/message_verifier.rb +74 -0
  661. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte/chars.rb +476 -0
  662. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte/exceptions.rb +8 -0
  663. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte/unicode.rb +393 -0
  664. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte/utils.rb +60 -0
  665. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/multibyte.rb +44 -0
  666. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/notifications/fanout.rb +61 -0
  667. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb +53 -0
  668. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/notifications.rb +154 -0
  669. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/option_merger.rb +25 -0
  670. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/ordered_hash.rb +222 -0
  671. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/ordered_options.rb +61 -0
  672. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/railtie.rb +59 -0
  673. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/rescuable.rb +115 -0
  674. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/ruby/shim.rb +22 -0
  675. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/string_inquirer.rb +21 -0
  676. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/tagged_logging.rb +80 -0
  677. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/test_case.rb +34 -0
  678. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/assertions.rb +97 -0
  679. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/declarative.rb +40 -0
  680. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/deprecation.rb +55 -0
  681. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/isolation.rb +157 -0
  682. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/mochaing.rb +7 -0
  683. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/pending.rb +52 -0
  684. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/jruby.rb +115 -0
  685. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/rubinius.rb +113 -0
  686. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/ruby/mri.rb +57 -0
  687. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/ruby/yarv.rb +57 -0
  688. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance/ruby.rb +152 -0
  689. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/performance.rb +317 -0
  690. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/testing/setup_and_teardown.rb +118 -0
  691. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/time/autoload.rb +5 -0
  692. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/time.rb +35 -0
  693. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/time_with_zone.rb +358 -0
  694. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/values/time_zone.rb +397 -0
  695. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/values/unicode_tables.dat +0 -0
  696. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/version.rb +10 -0
  697. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/whiny_nil.rb +24 -0
  698. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/jdom.rb +175 -0
  699. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/libxml.rb +80 -0
  700. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/libxmlsax.rb +86 -0
  701. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/nokogiri.rb +84 -0
  702. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/nokogirisax.rb +88 -0
  703. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini/rexml.rb +130 -0
  704. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support/xml_mini.rb +168 -0
  705. data/vendor/bundle/gems/activesupport-3.2.9/lib/active_support.rb +82 -0
  706. data/vendor/bundle/gems/ansi-1.4.3/COPYING.rdoc +612 -0
  707. data/vendor/bundle/gems/ansi-1.4.3/Config.rb +13 -0
  708. data/vendor/bundle/gems/ansi-1.4.3/DEMO.rdoc +455 -0
  709. data/vendor/bundle/gems/ansi-1.4.3/HISTORY.rdoc +197 -0
  710. data/vendor/bundle/gems/ansi-1.4.3/README.rdoc +87 -0
  711. data/vendor/bundle/gems/ansi-1.4.3/demo/01_ansicode.rdoc +49 -0
  712. data/vendor/bundle/gems/ansi-1.4.3/demo/02_core.rdoc +11 -0
  713. data/vendor/bundle/gems/ansi-1.4.3/demo/03_logger.rdoc +31 -0
  714. data/vendor/bundle/gems/ansi-1.4.3/demo/04_progressbar.rdoc +63 -0
  715. data/vendor/bundle/gems/ansi-1.4.3/demo/05_mixin.rdoc +37 -0
  716. data/vendor/bundle/gems/ansi-1.4.3/demo/06_string.rdoc +56 -0
  717. data/vendor/bundle/gems/ansi-1.4.3/demo/07_columns.rdoc +90 -0
  718. data/vendor/bundle/gems/ansi-1.4.3/demo/08_table.rdoc +28 -0
  719. data/vendor/bundle/gems/ansi-1.4.3/demo/09_diff.rdoc +47 -0
  720. data/vendor/bundle/gems/ansi-1.4.3/demo/10_bbcode.rdoc +24 -0
  721. data/vendor/bundle/gems/ansi-1.4.3/demo/11_terminal.rdoc +8 -0
  722. data/vendor/bundle/gems/ansi-1.4.3/demo/applique/ae.rb +1 -0
  723. data/vendor/bundle/gems/ansi-1.4.3/demo/applique/output.rb +5 -0
  724. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/bbcode.rb +334 -0
  725. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/chain.rb +50 -0
  726. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/chart.rb +98 -0
  727. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/code.rb +353 -0
  728. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/columns.rb +198 -0
  729. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/constants.rb +25 -0
  730. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/core.rb +30 -0
  731. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/diff.rb +215 -0
  732. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/hexdump.rb +122 -0
  733. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/logger.rb +211 -0
  734. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/mixin.rb +121 -0
  735. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/progressbar.rb +292 -0
  736. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/string.rb +254 -0
  737. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/table.rb +179 -0
  738. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/terminal/curses.rb +27 -0
  739. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/terminal/stty.rb +62 -0
  740. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/terminal/termios.rb +68 -0
  741. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/terminal/win32.rb +107 -0
  742. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/terminal.rb +44 -0
  743. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi/version.rb +15 -0
  744. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi.rb +22 -0
  745. data/vendor/bundle/gems/ansi-1.4.3/lib/ansi.yml +63 -0
  746. data/vendor/bundle/gems/ansi-1.4.3/test/case_ansicode.rb +31 -0
  747. data/vendor/bundle/gems/ansi-1.4.3/test/case_bbcode.rb +35 -0
  748. data/vendor/bundle/gems/ansi-1.4.3/test/case_mixin.rb +29 -0
  749. data/vendor/bundle/gems/ansi-1.4.3/test/case_progressbar.rb +19 -0
  750. data/vendor/bundle/gems/ansi-1.4.3/test/test_helper.rb +3 -0
  751. data/vendor/bundle/gems/arel-3.0.2/Gemfile +11 -0
  752. data/vendor/bundle/gems/arel-3.0.2/History.txt +205 -0
  753. data/vendor/bundle/gems/arel-3.0.2/MIT-LICENSE.txt +20 -0
  754. data/vendor/bundle/gems/arel-3.0.2/Manifest.txt +121 -0
  755. data/vendor/bundle/gems/arel-3.0.2/README.markdown +118 -0
  756. data/vendor/bundle/gems/arel-3.0.2/Rakefile +19 -0
  757. data/vendor/bundle/gems/arel-3.0.2/arel.gemspec +39 -0
  758. data/vendor/bundle/gems/arel-3.0.2/lib/arel/alias_predication.rb +7 -0
  759. data/vendor/bundle/gems/arel-3.0.2/lib/arel/attributes/attribute.rb +27 -0
  760. data/vendor/bundle/gems/arel-3.0.2/lib/arel/attributes.rb +20 -0
  761. data/vendor/bundle/gems/arel-3.0.2/lib/arel/compatibility/wheres.rb +33 -0
  762. data/vendor/bundle/gems/arel-3.0.2/lib/arel/crud.rb +72 -0
  763. data/vendor/bundle/gems/arel-3.0.2/lib/arel/delete_manager.rb +18 -0
  764. data/vendor/bundle/gems/arel-3.0.2/lib/arel/deprecated.rb +4 -0
  765. data/vendor/bundle/gems/arel-3.0.2/lib/arel/expression.rb +5 -0
  766. data/vendor/bundle/gems/arel-3.0.2/lib/arel/expressions.rb +23 -0
  767. data/vendor/bundle/gems/arel-3.0.2/lib/arel/factory_methods.rb +43 -0
  768. data/vendor/bundle/gems/arel-3.0.2/lib/arel/insert_manager.rb +38 -0
  769. data/vendor/bundle/gems/arel-3.0.2/lib/arel/math.rb +19 -0
  770. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/and.rb +23 -0
  771. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/ascending.rb +23 -0
  772. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/binary.rb +40 -0
  773. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/count.rb +10 -0
  774. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/delete_statement.rb +19 -0
  775. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/descending.rb +23 -0
  776. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/equality.rb +9 -0
  777. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/false.rb +6 -0
  778. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/function.rb +30 -0
  779. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/in.rb +6 -0
  780. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/infix_operation.rb +44 -0
  781. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/inner_join.rb +6 -0
  782. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/insert_statement.rb +19 -0
  783. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/join_source.rb +18 -0
  784. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/named_function.rb +12 -0
  785. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/node.rb +46 -0
  786. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/ordering.rb +6 -0
  787. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/outer_join.rb +6 -0
  788. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/select_core.rb +40 -0
  789. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/select_statement.rb +24 -0
  790. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/sql_literal.rb +13 -0
  791. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/string_join.rb +9 -0
  792. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/table_alias.rb +17 -0
  793. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/terminal.rb +6 -0
  794. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/true.rb +6 -0
  795. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/unary.rb +29 -0
  796. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/unqualified_column.rb +20 -0
  797. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/update_statement.rb +23 -0
  798. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/values.rb +14 -0
  799. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes/with.rb +10 -0
  800. data/vendor/bundle/gems/arel-3.0.2/lib/arel/nodes.rb +46 -0
  801. data/vendor/bundle/gems/arel-3.0.2/lib/arel/order_predications.rb +13 -0
  802. data/vendor/bundle/gems/arel-3.0.2/lib/arel/predications.rb +164 -0
  803. data/vendor/bundle/gems/arel-3.0.2/lib/arel/relation.rb +6 -0
  804. data/vendor/bundle/gems/arel-3.0.2/lib/arel/select_manager.rb +309 -0
  805. data/vendor/bundle/gems/arel-3.0.2/lib/arel/sql/engine.rb +10 -0
  806. data/vendor/bundle/gems/arel-3.0.2/lib/arel/sql_literal.rb +4 -0
  807. data/vendor/bundle/gems/arel-3.0.2/lib/arel/table.rb +147 -0
  808. data/vendor/bundle/gems/arel-3.0.2/lib/arel/tree_manager.rb +39 -0
  809. data/vendor/bundle/gems/arel-3.0.2/lib/arel/update_manager.rb +57 -0
  810. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/bind_visitor.rb +24 -0
  811. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/depth_first.rb +167 -0
  812. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/dot.rb +247 -0
  813. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/ibm_db.rb +12 -0
  814. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/informix.rb +33 -0
  815. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/join_sql.rb +19 -0
  816. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/mssql.rb +73 -0
  817. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/mysql.rb +56 -0
  818. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/oracle.rb +127 -0
  819. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/order_clauses.rb +11 -0
  820. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/postgresql.rb +19 -0
  821. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/sqlite.rb +16 -0
  822. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/to_sql.rb +429 -0
  823. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/visitor.rb +31 -0
  824. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors/where_sql.rb +9 -0
  825. data/vendor/bundle/gems/arel-3.0.2/lib/arel/visitors.rb +42 -0
  826. data/vendor/bundle/gems/arel-3.0.2/lib/arel.rb +47 -0
  827. data/vendor/bundle/gems/arel-3.0.2/test/attributes/test_attribute.rb +664 -0
  828. data/vendor/bundle/gems/arel-3.0.2/test/helper.rb +13 -0
  829. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_as.rb +22 -0
  830. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_ascending.rb +34 -0
  831. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_bin.rb +23 -0
  832. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_count.rb +27 -0
  833. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_delete_statement.rb +14 -0
  834. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_descending.rb +34 -0
  835. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_equality.rb +74 -0
  836. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_infix_operation.rb +30 -0
  837. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_insert_statement.rb +18 -0
  838. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_named_function.rb +30 -0
  839. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_node.rb +39 -0
  840. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_not.rb +17 -0
  841. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_or.rb +22 -0
  842. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_select_core.rb +31 -0
  843. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_select_statement.rb +13 -0
  844. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_sql_literal.rb +51 -0
  845. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_sum.rb +12 -0
  846. data/vendor/bundle/gems/arel-3.0.2/test/nodes/test_update_statement.rb +18 -0
  847. data/vendor/bundle/gems/arel-3.0.2/test/support/fake_record.rb +119 -0
  848. data/vendor/bundle/gems/arel-3.0.2/test/test_activerecord_compat.rb +18 -0
  849. data/vendor/bundle/gems/arel-3.0.2/test/test_attributes.rb +54 -0
  850. data/vendor/bundle/gems/arel-3.0.2/test/test_crud.rb +63 -0
  851. data/vendor/bundle/gems/arel-3.0.2/test/test_delete_manager.rb +42 -0
  852. data/vendor/bundle/gems/arel-3.0.2/test/test_factory_methods.rb +44 -0
  853. data/vendor/bundle/gems/arel-3.0.2/test/test_insert_manager.rb +144 -0
  854. data/vendor/bundle/gems/arel-3.0.2/test/test_select_manager.rb +998 -0
  855. data/vendor/bundle/gems/arel-3.0.2/test/test_table.rb +184 -0
  856. data/vendor/bundle/gems/arel-3.0.2/test/test_update_manager.rb +115 -0
  857. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_bind_visitor.rb +39 -0
  858. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_depth_first.rb +230 -0
  859. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_dot.rb +76 -0
  860. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_ibm_db.rb +27 -0
  861. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_informix.rb +42 -0
  862. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_join_sql.rb +42 -0
  863. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_mssql.rb +66 -0
  864. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_mysql.rb +55 -0
  865. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_oracle.rb +154 -0
  866. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_postgres.rb +48 -0
  867. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_sqlite.rb +23 -0
  868. data/vendor/bundle/gems/arel-3.0.2/test/visitors/test_to_sql.rb +353 -0
  869. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/CHANGELOG +47 -0
  870. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/COPYING +28 -0
  871. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/Gemfile +2 -0
  872. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/Gemfile.lock +29 -0
  873. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/README.md +184 -0
  874. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/Rakefile +90 -0
  875. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/bcrypt-ruby.gemspec +28 -0
  876. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/jruby/bcrypt_jruby/BCrypt.java +752 -0
  877. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/Makefile +187 -0
  878. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/bcrypt_ext.bundle +0 -0
  879. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/bcrypt_ext.c +89 -0
  880. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/bcrypt_ext.o +0 -0
  881. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt.c +57 -0
  882. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt.h +13 -0
  883. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt.o +0 -0
  884. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_blowfish.c +786 -0
  885. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_blowfish.o +0 -0
  886. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_gensalt.c +111 -0
  887. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/crypt_gensalt.o +0 -0
  888. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/extconf.rb +39 -0
  889. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/ow-crypt.h +35 -0
  890. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/wrapper.c +258 -0
  891. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/ext/mri/wrapper.o +0 -0
  892. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/lib/bcrypt.rb +196 -0
  893. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/lib/bcrypt_engine.rb +34 -0
  894. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/lib/bcrypt_ext.bundle +0 -0
  895. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/spec/TestBCrypt.java +194 -0
  896. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/spec/bcrypt/engine_spec.rb +82 -0
  897. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/spec/bcrypt/password_spec.rb +82 -0
  898. data/vendor/bundle/gems/bcrypt-ruby-3.0.1/spec/spec_helper.rb +2 -0
  899. data/vendor/bundle/gems/bourne-1.1.2/Gemfile +3 -0
  900. data/vendor/bundle/gems/bourne-1.1.2/LICENSE +19 -0
  901. data/vendor/bundle/gems/bourne-1.1.2/README.md +76 -0
  902. data/vendor/bundle/gems/bourne-1.1.2/Rakefile +54 -0
  903. data/vendor/bundle/gems/bourne-1.1.2/bourne.gemspec +26 -0
  904. data/vendor/bundle/gems/bourne-1.1.2/lib/bourne/api.rb +104 -0
  905. data/vendor/bundle/gems/bourne-1.1.2/lib/bourne/expectation.rb +23 -0
  906. data/vendor/bundle/gems/bourne-1.1.2/lib/bourne/invocation.rb +14 -0
  907. data/vendor/bundle/gems/bourne-1.1.2/lib/bourne/mock.rb +32 -0
  908. data/vendor/bundle/gems/bourne-1.1.2/lib/bourne/mockery.rb +19 -0
  909. data/vendor/bundle/gems/bourne-1.1.2/lib/bourne/version.rb +3 -0
  910. data/vendor/bundle/gems/bourne-1.1.2/lib/bourne.rb +2 -0
  911. data/vendor/bundle/gems/bourne-1.1.2/test/acceptance/acceptance_test_helper.rb +38 -0
  912. data/vendor/bundle/gems/bourne-1.1.2/test/acceptance/mocha_example_test.rb +98 -0
  913. data/vendor/bundle/gems/bourne-1.1.2/test/acceptance/spy_test.rb +166 -0
  914. data/vendor/bundle/gems/bourne-1.1.2/test/acceptance/stubba_example_test.rb +102 -0
  915. data/vendor/bundle/gems/bourne-1.1.2/test/execution_point.rb +36 -0
  916. data/vendor/bundle/gems/bourne-1.1.2/test/matcher_helpers.rb +5 -0
  917. data/vendor/bundle/gems/bourne-1.1.2/test/method_definer.rb +24 -0
  918. data/vendor/bundle/gems/bourne-1.1.2/test/mini_test_result.rb +83 -0
  919. data/vendor/bundle/gems/bourne-1.1.2/test/simple_counter.rb +13 -0
  920. data/vendor/bundle/gems/bourne-1.1.2/test/test_helper.rb +23 -0
  921. data/vendor/bundle/gems/bourne-1.1.2/test/test_runner.rb +51 -0
  922. data/vendor/bundle/gems/bourne-1.1.2/test/unit/assert_received_test.rb +145 -0
  923. data/vendor/bundle/gems/bourne-1.1.2/test/unit/expectation_test.rb +530 -0
  924. data/vendor/bundle/gems/bourne-1.1.2/test/unit/have_received_test.rb +192 -0
  925. data/vendor/bundle/gems/bourne-1.1.2/test/unit/invocation_test.rb +17 -0
  926. data/vendor/bundle/gems/bourne-1.1.2/test/unit/mock_test.rb +338 -0
  927. data/vendor/bundle/gems/bourne-1.1.2/test/unit/mockery_test.rb +164 -0
  928. data/vendor/bundle/gems/builder-3.0.4/CHANGES +101 -0
  929. data/vendor/bundle/gems/builder-3.0.4/MIT-LICENSE +20 -0
  930. data/vendor/bundle/gems/builder-3.0.4/README.rdoc +225 -0
  931. data/vendor/bundle/gems/builder-3.0.4/Rakefile +189 -0
  932. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-1.2.4.rdoc +31 -0
  933. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-2.0.0.rdoc +46 -0
  934. data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-2.1.1.rdoc +58 -0
  935. data/vendor/bundle/gems/builder-3.0.4/lib/blankslate.rb +137 -0
  936. data/vendor/bundle/gems/builder-3.0.4/lib/builder/blankslate.rb +23 -0
  937. data/vendor/bundle/gems/builder-3.0.4/lib/builder/version.rb +8 -0
  938. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xchar.rb +197 -0
  939. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlbase.rb +192 -0
  940. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlevents.rb +63 -0
  941. data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlmarkup.rb +334 -0
  942. data/vendor/bundle/gems/builder-3.0.4/lib/builder.rb +13 -0
  943. data/vendor/bundle/gems/builder-3.0.4/test/performance.rb +40 -0
  944. data/vendor/bundle/gems/builder-3.0.4/test/preload.rb +39 -0
  945. data/vendor/bundle/gems/builder-3.0.4/test/test_blankslate.rb +217 -0
  946. data/vendor/bundle/gems/builder-3.0.4/test/test_eventbuilder.rb +150 -0
  947. data/vendor/bundle/gems/builder-3.0.4/test/test_markupbuilder.rb +578 -0
  948. data/vendor/bundle/gems/builder-3.0.4/test/test_method_caching.rb +62 -0
  949. data/vendor/bundle/gems/builder-3.0.4/test/test_namecollision.rb +39 -0
  950. data/vendor/bundle/gems/builder-3.0.4/test/test_xchar.rb +77 -0
  951. data/vendor/bundle/gems/erubis-2.7.0/CHANGES.txt +828 -0
  952. data/vendor/bundle/gems/erubis-2.7.0/MIT-LICENSE +20 -0
  953. data/vendor/bundle/gems/erubis-2.7.0/README.txt +102 -0
  954. data/vendor/bundle/gems/erubis-2.7.0/benchmark/Makefile +6 -0
  955. data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
  956. data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
  957. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
  958. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
  959. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
  960. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
  961. data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
  962. data/vendor/bundle/gems/erubis-2.7.0/bin/erubis +10 -0
  963. data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis +3468 -0
  964. data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
  965. data/vendor/bundle/gems/erubis-2.7.0/contrib/inline-require +179 -0
  966. data/vendor/bundle/gems/erubis-2.7.0/doc/docstyle.css +209 -0
  967. data/vendor/bundle/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
  968. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
  969. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
  970. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
  971. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
  972. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
  973. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
  974. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
  975. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
  976. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
  977. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
  978. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
  979. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
  980. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
  981. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
  982. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
  983. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
  984. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
  985. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
  986. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
  987. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
  988. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
  989. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
  990. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
  991. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
  992. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
  993. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
  994. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
  995. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
  996. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
  997. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
  998. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
  999. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
  1000. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
  1001. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
  1002. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
  1003. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
  1004. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
  1005. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
  1006. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
  1007. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
  1008. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
  1009. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
  1010. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
  1011. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
  1012. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
  1013. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
  1014. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
  1015. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
  1016. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
  1017. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
  1018. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
  1019. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
  1020. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
  1021. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
  1022. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
  1023. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
  1024. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
  1025. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
  1026. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
  1027. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
  1028. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
  1029. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
  1030. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
  1031. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
  1032. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
  1033. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
  1034. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
  1035. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
  1036. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
  1037. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
  1038. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
  1039. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
  1040. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
  1041. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
  1042. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
  1043. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
  1044. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
  1045. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
  1046. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
  1047. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
  1048. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
  1049. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
  1050. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
  1051. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
  1052. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
  1053. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
  1054. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
  1055. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
  1056. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
  1057. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
  1058. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
  1059. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
  1060. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
  1061. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
  1062. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
  1063. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
  1064. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
  1065. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
  1066. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
  1067. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
  1068. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
  1069. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
  1070. data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
  1071. data/vendor/bundle/gems/erubis-2.7.0/doc-api/created.rid +1 -0
  1072. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
  1073. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
  1074. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
  1075. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
  1076. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
  1077. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
  1078. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
  1079. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
  1080. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
  1081. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
  1082. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
  1083. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
  1084. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
  1085. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
  1086. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
  1087. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
  1088. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
  1089. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
  1090. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
  1091. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
  1092. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
  1093. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
  1094. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
  1095. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
  1096. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
  1097. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
  1098. data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
  1099. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
  1100. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
  1101. data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
  1102. data/vendor/bundle/gems/erubis-2.7.0/doc-api/index.html +24 -0
  1103. data/vendor/bundle/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
  1104. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
  1105. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
  1106. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
  1107. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
  1108. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
  1109. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
  1110. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
  1111. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
  1112. data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
  1113. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
  1114. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
  1115. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
  1116. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
  1117. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
  1118. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
  1119. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
  1120. data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
  1121. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
  1122. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
  1123. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
  1124. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
  1125. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
  1126. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
  1127. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
  1128. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
  1129. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
  1130. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
  1131. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
  1132. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
  1133. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
  1134. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
  1135. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
  1136. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
  1137. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
  1138. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
  1139. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
  1140. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
  1141. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
  1142. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
  1143. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
  1144. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
  1145. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
  1146. data/vendor/bundle/gems/erubis-2.7.0/lib/erubis.rb +73 -0
  1147. data/vendor/bundle/gems/erubis-2.7.0/setup.rb +1331 -0
  1148. data/vendor/bundle/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
  1149. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
  1150. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
  1151. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
  1152. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
  1153. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
  1154. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
  1155. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
  1156. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
  1157. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
  1158. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
  1159. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
  1160. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
  1161. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
  1162. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
  1163. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
  1164. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
  1165. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
  1166. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
  1167. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
  1168. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
  1169. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
  1170. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
  1171. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
  1172. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
  1173. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
  1174. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
  1175. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
  1176. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
  1177. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
  1178. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
  1179. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
  1180. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
  1181. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
  1182. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
  1183. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
  1184. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
  1185. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
  1186. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
  1187. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
  1188. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
  1189. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
  1190. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
  1191. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
  1192. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
  1193. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
  1194. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
  1195. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
  1196. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
  1197. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
  1198. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
  1199. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
  1200. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
  1201. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
  1202. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
  1203. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
  1204. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
  1205. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
  1206. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
  1207. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
  1208. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
  1209. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
  1210. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
  1211. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
  1212. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
  1213. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
  1214. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
  1215. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
  1216. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
  1217. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
  1218. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
  1219. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
  1220. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
  1221. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
  1222. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
  1223. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
  1224. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
  1225. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
  1226. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
  1227. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
  1228. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
  1229. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
  1230. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
  1231. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
  1232. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
  1233. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
  1234. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
  1235. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
  1236. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
  1237. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
  1238. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
  1239. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
  1240. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
  1241. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
  1242. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
  1243. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
  1244. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
  1245. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
  1246. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
  1247. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
  1248. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
  1249. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
  1250. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
  1251. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
  1252. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
  1253. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
  1254. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
  1255. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
  1256. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
  1257. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
  1258. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
  1259. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
  1260. data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
  1261. data/vendor/bundle/gems/erubis-2.7.0/test/test-engines.rb +425 -0
  1262. data/vendor/bundle/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
  1263. data/vendor/bundle/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
  1264. data/vendor/bundle/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
  1265. data/vendor/bundle/gems/erubis-2.7.0/test/test-main.rb +752 -0
  1266. data/vendor/bundle/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
  1267. data/vendor/bundle/gems/erubis-2.7.0/test/test.rb +45 -0
  1268. data/vendor/bundle/gems/erubis-2.7.0/test/testutil.rb +111 -0
  1269. data/vendor/bundle/gems/factory_girl-4.1.0/Appraisals +11 -0
  1270. data/vendor/bundle/gems/factory_girl-4.1.0/CONTRIBUTION_GUIDELINES.md +10 -0
  1271. data/vendor/bundle/gems/factory_girl-4.1.0/GETTING_STARTED.md +1081 -0
  1272. data/vendor/bundle/gems/factory_girl-4.1.0/Gemfile +5 -0
  1273. data/vendor/bundle/gems/factory_girl-4.1.0/Gemfile.lock +92 -0
  1274. data/vendor/bundle/gems/factory_girl-4.1.0/LICENSE +19 -0
  1275. data/vendor/bundle/gems/factory_girl-4.1.0/NEWS +237 -0
  1276. data/vendor/bundle/gems/factory_girl-4.1.0/README.md +74 -0
  1277. data/vendor/bundle/gems/factory_girl-4.1.0/Rakefile +38 -0
  1278. data/vendor/bundle/gems/factory_girl-4.1.0/cucumber.yml +1 -0
  1279. data/vendor/bundle/gems/factory_girl-4.1.0/factory_girl.gemspec +44 -0
  1280. data/vendor/bundle/gems/factory_girl-4.1.0/features/find_definitions.feature +75 -0
  1281. data/vendor/bundle/gems/factory_girl-4.1.0/features/step_definitions/database_steps.rb +9 -0
  1282. data/vendor/bundle/gems/factory_girl-4.1.0/features/step_definitions/factory_girl_steps.rb +36 -0
  1283. data/vendor/bundle/gems/factory_girl-4.1.0/features/support/env.rb +10 -0
  1284. data/vendor/bundle/gems/factory_girl-4.1.0/features/support/factories.rb +16 -0
  1285. data/vendor/bundle/gems/factory_girl-4.1.0/gemfiles/3.0.gemfile +7 -0
  1286. data/vendor/bundle/gems/factory_girl-4.1.0/gemfiles/3.0.gemfile.lock +89 -0
  1287. data/vendor/bundle/gems/factory_girl-4.1.0/gemfiles/3.1.gemfile +7 -0
  1288. data/vendor/bundle/gems/factory_girl-4.1.0/gemfiles/3.1.gemfile.lock +90 -0
  1289. data/vendor/bundle/gems/factory_girl-4.1.0/gemfiles/3.2.gemfile +7 -0
  1290. data/vendor/bundle/gems/factory_girl-4.1.0/gemfiles/3.2.gemfile.lock +90 -0
  1291. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/aliases.rb +18 -0
  1292. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/attribute/association.rb +27 -0
  1293. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/attribute/dynamic.rb +21 -0
  1294. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/attribute/sequence.rb +16 -0
  1295. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/attribute/static.rb +16 -0
  1296. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/attribute.rb +62 -0
  1297. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/attribute_assigner.rb +97 -0
  1298. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/attribute_list.rb +67 -0
  1299. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/callback.rb +40 -0
  1300. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/callbacks_observer.rb +21 -0
  1301. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/configuration.rb +32 -0
  1302. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/declaration/association.rb +28 -0
  1303. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/declaration/dynamic.rb +26 -0
  1304. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/declaration/implicit.rb +33 -0
  1305. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/declaration/static.rb +26 -0
  1306. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/declaration.rb +23 -0
  1307. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/declaration_list.rb +49 -0
  1308. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/decorator/attribute_hash.rb +17 -0
  1309. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/decorator/class_key_hash.rb +27 -0
  1310. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/decorator/disallows_duplicates_registry.rb +13 -0
  1311. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/decorator/invocation_tracker.rb +19 -0
  1312. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/decorator/new_constructor.rb +12 -0
  1313. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/decorator.rb +21 -0
  1314. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/definition.rb +126 -0
  1315. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/definition_hierarchy.rb +39 -0
  1316. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/definition_proxy.rb +176 -0
  1317. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/errors.rb +19 -0
  1318. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/evaluation.rb +23 -0
  1319. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/evaluator.rb +67 -0
  1320. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/evaluator_class_definer.rb +20 -0
  1321. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/factory.rb +164 -0
  1322. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/factory_runner.rb +27 -0
  1323. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/find_definitions.rb +25 -0
  1324. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/null_factory.rb +18 -0
  1325. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/null_object.rb +24 -0
  1326. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/registry.rb +38 -0
  1327. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/reload.rb +8 -0
  1328. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/sequence.rb +48 -0
  1329. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/strategy/attributes_for.rb +13 -0
  1330. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/strategy/build.rb +15 -0
  1331. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/strategy/create.rb +18 -0
  1332. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/strategy/null.rb +11 -0
  1333. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/strategy/stub.rb +73 -0
  1334. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/strategy_calculator.rb +26 -0
  1335. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/strategy_syntax_method_registrar.rb +37 -0
  1336. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/syntax/default.rb +68 -0
  1337. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/syntax/methods.rb +95 -0
  1338. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/syntax.rb +7 -0
  1339. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/syntax_runner.rb +6 -0
  1340. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/trait.rb +30 -0
  1341. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl/version.rb +3 -0
  1342. data/vendor/bundle/gems/factory_girl-4.1.0/lib/factory_girl.rb +127 -0
  1343. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/activesupport_instrumentation_spec.rb +62 -0
  1344. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/aliases_spec.rb +19 -0
  1345. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/attribute_aliases_spec.rb +45 -0
  1346. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/attribute_existing_on_object_spec.rb +68 -0
  1347. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/attributes_for_spec.rb +95 -0
  1348. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/attributes_from_instance_spec.rb +53 -0
  1349. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/attributes_ordered_spec.rb +51 -0
  1350. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/build_list_spec.rb +41 -0
  1351. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/build_spec.rb +89 -0
  1352. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/build_stubbed_spec.rb +136 -0
  1353. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/callbacks_spec.rb +177 -0
  1354. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/create_list_spec.rb +82 -0
  1355. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/create_spec.rb +117 -0
  1356. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/define_child_before_parent_spec.rb +21 -0
  1357. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/definition_spec.rb +26 -0
  1358. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/definition_without_block_spec.rb +15 -0
  1359. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/global_initialize_with_spec.rb +82 -0
  1360. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/global_to_create_spec.rb +122 -0
  1361. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/initialize_with_spec.rb +217 -0
  1362. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/keyed_by_class_spec.rb +22 -0
  1363. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/modify_factories_spec.rb +184 -0
  1364. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/modify_inherited_spec.rb +52 -0
  1365. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/nested_attributes_spec.rb +32 -0
  1366. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/overrides_spec.rb +61 -0
  1367. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/parent_spec.rb +90 -0
  1368. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/register_strategies_spec.rb +128 -0
  1369. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/sequence_spec.rb +61 -0
  1370. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/skip_create_spec.rb +19 -0
  1371. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/stub_spec.rb +62 -0
  1372. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/syntax_methods_within_dynamic_attributes_spec.rb +41 -0
  1373. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/traits_spec.rb +727 -0
  1374. data/vendor/bundle/gems/factory_girl-4.1.0/spec/acceptance/transient_attributes_spec.rb +124 -0
  1375. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/aliases_spec.rb +31 -0
  1376. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/attribute/association_spec.rb +28 -0
  1377. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/attribute/dynamic_spec.rb +52 -0
  1378. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/attribute/sequence_spec.rb +16 -0
  1379. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/attribute/static_spec.rb +19 -0
  1380. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/attribute_list_spec.rb +143 -0
  1381. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/attribute_spec.rb +16 -0
  1382. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/callback_spec.rb +41 -0
  1383. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/declaration/implicit_spec.rb +25 -0
  1384. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/declaration_list_spec.rb +67 -0
  1385. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/definition_proxy_spec.rb +215 -0
  1386. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/definition_spec.rb +58 -0
  1387. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/disallows_duplicates_registry_spec.rb +19 -0
  1388. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/evaluator_class_definer_spec.rb +44 -0
  1389. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/factory_spec.rb +259 -0
  1390. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/find_definitions_spec.rb +110 -0
  1391. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/null_factory_spec.rb +13 -0
  1392. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/null_object_spec.rb +22 -0
  1393. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/registry_spec.rb +68 -0
  1394. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/sequence_spec.rb +78 -0
  1395. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/strategy/attributes_for_spec.rb +18 -0
  1396. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/strategy/build_spec.rb +7 -0
  1397. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/strategy/create_spec.rb +25 -0
  1398. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/strategy/stub_spec.rb +38 -0
  1399. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl/strategy_calculator_spec.rb +29 -0
  1400. data/vendor/bundle/gems/factory_girl-4.1.0/spec/factory_girl_spec.rb +22 -0
  1401. data/vendor/bundle/gems/factory_girl-4.1.0/spec/spec_helper.rb +26 -0
  1402. data/vendor/bundle/gems/factory_girl-4.1.0/spec/support/macros/define_constant.rb +86 -0
  1403. data/vendor/bundle/gems/factory_girl-4.1.0/spec/support/matchers/callback.rb +9 -0
  1404. data/vendor/bundle/gems/factory_girl-4.1.0/spec/support/matchers/declaration.rb +83 -0
  1405. data/vendor/bundle/gems/factory_girl-4.1.0/spec/support/matchers/delegate.rb +44 -0
  1406. data/vendor/bundle/gems/factory_girl-4.1.0/spec/support/matchers/trait.rb +9 -0
  1407. data/vendor/bundle/gems/factory_girl-4.1.0/spec/support/shared_examples/strategy.rb +90 -0
  1408. data/vendor/bundle/gems/highline-1.6.15/AUTHORS +3 -0
  1409. data/vendor/bundle/gems/highline-1.6.15/CHANGELOG +325 -0
  1410. data/vendor/bundle/gems/highline-1.6.15/COPYING +340 -0
  1411. data/vendor/bundle/gems/highline-1.6.15/INSTALL +55 -0
  1412. data/vendor/bundle/gems/highline-1.6.15/LICENSE +7 -0
  1413. data/vendor/bundle/gems/highline-1.6.15/README.rdoc +63 -0
  1414. data/vendor/bundle/gems/highline-1.6.15/Rakefile +50 -0
  1415. data/vendor/bundle/gems/highline-1.6.15/TODO +6 -0
  1416. data/vendor/bundle/gems/highline-1.6.15/examples/ansi_colors.rb +38 -0
  1417. data/vendor/bundle/gems/highline-1.6.15/examples/asking_for_arrays.rb +18 -0
  1418. data/vendor/bundle/gems/highline-1.6.15/examples/basic_usage.rb +75 -0
  1419. data/vendor/bundle/gems/highline-1.6.15/examples/color_scheme.rb +32 -0
  1420. data/vendor/bundle/gems/highline-1.6.15/examples/limit.rb +12 -0
  1421. data/vendor/bundle/gems/highline-1.6.15/examples/menus.rb +65 -0
  1422. data/vendor/bundle/gems/highline-1.6.15/examples/overwrite.rb +19 -0
  1423. data/vendor/bundle/gems/highline-1.6.15/examples/page_and_wrap.rb +322 -0
  1424. data/vendor/bundle/gems/highline-1.6.15/examples/password.rb +7 -0
  1425. data/vendor/bundle/gems/highline-1.6.15/examples/repeat_entry.rb +21 -0
  1426. data/vendor/bundle/gems/highline-1.6.15/examples/trapping_eof.rb +22 -0
  1427. data/vendor/bundle/gems/highline-1.6.15/examples/using_readline.rb +17 -0
  1428. data/vendor/bundle/gems/highline-1.6.15/highline.gemspec +36 -0
  1429. data/vendor/bundle/gems/highline-1.6.15/lib/highline/color_scheme.rb +134 -0
  1430. data/vendor/bundle/gems/highline-1.6.15/lib/highline/compatibility.rb +16 -0
  1431. data/vendor/bundle/gems/highline-1.6.15/lib/highline/import.rb +41 -0
  1432. data/vendor/bundle/gems/highline-1.6.15/lib/highline/menu.rb +398 -0
  1433. data/vendor/bundle/gems/highline-1.6.15/lib/highline/question.rb +472 -0
  1434. data/vendor/bundle/gems/highline-1.6.15/lib/highline/simulate.rb +48 -0
  1435. data/vendor/bundle/gems/highline-1.6.15/lib/highline/string_extensions.rb +131 -0
  1436. data/vendor/bundle/gems/highline-1.6.15/lib/highline/style.rb +181 -0
  1437. data/vendor/bundle/gems/highline-1.6.15/lib/highline/system_extensions.rb +190 -0
  1438. data/vendor/bundle/gems/highline-1.6.15/lib/highline.rb +964 -0
  1439. data/vendor/bundle/gems/highline-1.6.15/setup.rb +1360 -0
  1440. data/vendor/bundle/gems/highline-1.6.15/site/highline.css +65 -0
  1441. data/vendor/bundle/gems/highline-1.6.15/site/images/logo.png +0 -0
  1442. data/vendor/bundle/gems/highline-1.6.15/site/index.html +58 -0
  1443. data/vendor/bundle/gems/highline-1.6.15/test/string_methods.rb +32 -0
  1444. data/vendor/bundle/gems/highline-1.6.15/test/tc_color_scheme.rb +96 -0
  1445. data/vendor/bundle/gems/highline-1.6.15/test/tc_highline.rb +1035 -0
  1446. data/vendor/bundle/gems/highline-1.6.15/test/tc_import.rb +52 -0
  1447. data/vendor/bundle/gems/highline-1.6.15/test/tc_menu.rb +427 -0
  1448. data/vendor/bundle/gems/highline-1.6.15/test/tc_string_extension.rb +20 -0
  1449. data/vendor/bundle/gems/highline-1.6.15/test/tc_string_highline.rb +38 -0
  1450. data/vendor/bundle/gems/highline-1.6.15/test/tc_style.rb +567 -0
  1451. data/vendor/bundle/gems/highline-1.6.15/test/ts_all.rb +16 -0
  1452. data/vendor/bundle/gems/hike-1.2.1/LICENSE +20 -0
  1453. data/vendor/bundle/gems/hike-1.2.1/README.md +52 -0
  1454. data/vendor/bundle/gems/hike-1.2.1/lib/hike/extensions.rb +23 -0
  1455. data/vendor/bundle/gems/hike-1.2.1/lib/hike/index.rb +204 -0
  1456. data/vendor/bundle/gems/hike-1.2.1/lib/hike/normalized_array.rb +59 -0
  1457. data/vendor/bundle/gems/hike-1.2.1/lib/hike/paths.rb +27 -0
  1458. data/vendor/bundle/gems/hike-1.2.1/lib/hike/trail.rb +179 -0
  1459. data/vendor/bundle/gems/hike-1.2.1/lib/hike.rb +9 -0
  1460. data/vendor/bundle/gems/i18n-0.6.1/CHANGELOG.textile +152 -0
  1461. data/vendor/bundle/gems/i18n-0.6.1/MIT-LICENSE +20 -0
  1462. data/vendor/bundle/gems/i18n-0.6.1/README.textile +105 -0
  1463. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.no-rails +5 -0
  1464. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.no-rails.lock +14 -0
  1465. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x +9 -0
  1466. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x.lock +23 -0
  1467. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-3.x +9 -0
  1468. data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-3.x.lock +23 -0
  1469. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/base.rb +181 -0
  1470. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/cache.rb +96 -0
  1471. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/cascade.rb +54 -0
  1472. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/chain.rb +78 -0
  1473. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb +65 -0
  1474. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/flatten.rb +113 -0
  1475. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/gettext.rb +72 -0
  1476. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/interpolation_compiler.rb +121 -0
  1477. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/key_value.rb +101 -0
  1478. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/memoize.rb +46 -0
  1479. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/metadata.rb +65 -0
  1480. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/pluralization.rb +53 -0
  1481. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/simple.rb +87 -0
  1482. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/transliterator.rb +98 -0
  1483. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend.rb +18 -0
  1484. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/config.rb +86 -0
  1485. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/hash.rb +29 -0
  1486. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/kernel/surpress_warnings.rb +9 -0
  1487. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/string/interpolate.rb +105 -0
  1488. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/exceptions.rb +106 -0
  1489. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext/helpers.rb +64 -0
  1490. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext/po_parser.rb +329 -0
  1491. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext.rb +25 -0
  1492. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/interpolate/ruby.rb +31 -0
  1493. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/fallbacks.rb +96 -0
  1494. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/parents.rb +22 -0
  1495. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/rfc4646.rb +74 -0
  1496. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/simple.rb +39 -0
  1497. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag.rb +28 -0
  1498. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale.rb +6 -0
  1499. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/basics.rb +54 -0
  1500. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/defaults.rb +40 -0
  1501. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/interpolation.rb +133 -0
  1502. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/link.rb +56 -0
  1503. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/date.rb +84 -0
  1504. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/date_time.rb +77 -0
  1505. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/procs.rb +116 -0
  1506. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/time.rb +76 -0
  1507. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization.rb +19 -0
  1508. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/lookup.rb +74 -0
  1509. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/pluralization.rb +35 -0
  1510. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/procs.rb +55 -0
  1511. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests.rb +12 -0
  1512. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/version.rb +3 -0
  1513. data/vendor/bundle/gems/i18n-0.6.1/lib/i18n.rb +332 -0
  1514. data/vendor/bundle/gems/i18n-0.6.1/test/all.rb +8 -0
  1515. data/vendor/bundle/gems/i18n-0.6.1/test/api/all_features_test.rb +58 -0
  1516. data/vendor/bundle/gems/i18n-0.6.1/test/api/cascade_test.rb +28 -0
  1517. data/vendor/bundle/gems/i18n-0.6.1/test/api/chain_test.rb +24 -0
  1518. data/vendor/bundle/gems/i18n-0.6.1/test/api/fallbacks_test.rb +30 -0
  1519. data/vendor/bundle/gems/i18n-0.6.1/test/api/key_value_test.rb +28 -0
  1520. data/vendor/bundle/gems/i18n-0.6.1/test/api/memoize_test.rb +60 -0
  1521. data/vendor/bundle/gems/i18n-0.6.1/test/api/override_test.rb +48 -0
  1522. data/vendor/bundle/gems/i18n-0.6.1/test/api/pluralization_test.rb +30 -0
  1523. data/vendor/bundle/gems/i18n-0.6.1/test/api/simple_test.rb +28 -0
  1524. data/vendor/bundle/gems/i18n-0.6.1/test/backend/cache_test.rb +85 -0
  1525. data/vendor/bundle/gems/i18n-0.6.1/test/backend/cascade_test.rb +85 -0
  1526. data/vendor/bundle/gems/i18n-0.6.1/test/backend/chain_test.rb +72 -0
  1527. data/vendor/bundle/gems/i18n-0.6.1/test/backend/exceptions_test.rb +30 -0
  1528. data/vendor/bundle/gems/i18n-0.6.1/test/backend/fallbacks_test.rb +125 -0
  1529. data/vendor/bundle/gems/i18n-0.6.1/test/backend/interpolation_compiler_test.rb +102 -0
  1530. data/vendor/bundle/gems/i18n-0.6.1/test/backend/key_value_test.rb +46 -0
  1531. data/vendor/bundle/gems/i18n-0.6.1/test/backend/memoize_test.rb +47 -0
  1532. data/vendor/bundle/gems/i18n-0.6.1/test/backend/metadata_test.rb +47 -0
  1533. data/vendor/bundle/gems/i18n-0.6.1/test/backend/pluralization_test.rb +44 -0
  1534. data/vendor/bundle/gems/i18n-0.6.1/test/backend/simple_test.rb +83 -0
  1535. data/vendor/bundle/gems/i18n-0.6.1/test/backend/transliterator_test.rb +81 -0
  1536. data/vendor/bundle/gems/i18n-0.6.1/test/core_ext/hash_test.rb +30 -0
  1537. data/vendor/bundle/gems/i18n-0.6.1/test/core_ext/string/interpolate_test.rb +99 -0
  1538. data/vendor/bundle/gems/i18n-0.6.1/test/gettext/api_test.rb +206 -0
  1539. data/vendor/bundle/gems/i18n-0.6.1/test/gettext/backend_test.rb +101 -0
  1540. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/exceptions_test.rb +116 -0
  1541. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/interpolate_test.rb +61 -0
  1542. data/vendor/bundle/gems/i18n-0.6.1/test/i18n/load_path_test.rb +26 -0
  1543. data/vendor/bundle/gems/i18n-0.6.1/test/i18n_test.rb +254 -0
  1544. data/vendor/bundle/gems/i18n-0.6.1/test/locale/fallbacks_test.rb +136 -0
  1545. data/vendor/bundle/gems/i18n-0.6.1/test/locale/tag/rfc4646_test.rb +142 -0
  1546. data/vendor/bundle/gems/i18n-0.6.1/test/locale/tag/simple_test.rb +32 -0
  1547. data/vendor/bundle/gems/i18n-0.6.1/test/run_all.rb +21 -0
  1548. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/de.po +82 -0
  1549. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/en.rb +3 -0
  1550. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/en.yml +3 -0
  1551. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/invalid/empty.yml +0 -0
  1552. data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/plurals.rb +113 -0
  1553. data/vendor/bundle/gems/i18n-0.6.1/test/test_helper.rb +56 -0
  1554. data/vendor/bundle/gems/journey-1.0.4/CHANGELOG.rdoc +20 -0
  1555. data/vendor/bundle/gems/journey-1.0.4/Gemfile +14 -0
  1556. data/vendor/bundle/gems/journey-1.0.4/Manifest.txt +49 -0
  1557. data/vendor/bundle/gems/journey-1.0.4/README.rdoc +48 -0
  1558. data/vendor/bundle/gems/journey-1.0.4/Rakefile +32 -0
  1559. data/vendor/bundle/gems/journey-1.0.4/journey.gemspec +48 -0
  1560. data/vendor/bundle/gems/journey-1.0.4/lib/journey/backwards.rb +5 -0
  1561. data/vendor/bundle/gems/journey-1.0.4/lib/journey/core-ext/hash.rb +11 -0
  1562. data/vendor/bundle/gems/journey-1.0.4/lib/journey/formatter.rb +131 -0
  1563. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/builder.rb +159 -0
  1564. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/simulator.rb +43 -0
  1565. data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/transition_table.rb +153 -0
  1566. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/builder.rb +74 -0
  1567. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/dot.rb +34 -0
  1568. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/simulator.rb +45 -0
  1569. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/transition_table.rb +164 -0
  1570. data/vendor/bundle/gems/journey-1.0.4/lib/journey/nodes/node.rb +122 -0
  1571. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser.rb +204 -0
  1572. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser.y +47 -0
  1573. data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser_extras.rb +21 -0
  1574. data/vendor/bundle/gems/journey-1.0.4/lib/journey/path/pattern.rb +193 -0
  1575. data/vendor/bundle/gems/journey-1.0.4/lib/journey/route.rb +95 -0
  1576. data/vendor/bundle/gems/journey-1.0.4/lib/journey/router/strexp.rb +22 -0
  1577. data/vendor/bundle/gems/journey-1.0.4/lib/journey/router/utils.rb +57 -0
  1578. data/vendor/bundle/gems/journey-1.0.4/lib/journey/router.rb +145 -0
  1579. data/vendor/bundle/gems/journey-1.0.4/lib/journey/routes.rb +75 -0
  1580. data/vendor/bundle/gems/journey-1.0.4/lib/journey/scanner.rb +58 -0
  1581. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visitors.rb +190 -0
  1582. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/fsm.css +34 -0
  1583. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/fsm.js +134 -0
  1584. data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/index.html.erb +52 -0
  1585. data/vendor/bundle/gems/journey-1.0.4/lib/journey.rb +5 -0
  1586. data/vendor/bundle/gems/journey-1.0.4/test/gtg/test_builder.rb +77 -0
  1587. data/vendor/bundle/gems/journey-1.0.4/test/gtg/test_transition_table.rb +113 -0
  1588. data/vendor/bundle/gems/journey-1.0.4/test/helper.rb +4 -0
  1589. data/vendor/bundle/gems/journey-1.0.4/test/nfa/test_simulator.rb +96 -0
  1590. data/vendor/bundle/gems/journey-1.0.4/test/nfa/test_transition_table.rb +70 -0
  1591. data/vendor/bundle/gems/journey-1.0.4/test/nodes/test_symbol.rb +15 -0
  1592. data/vendor/bundle/gems/journey-1.0.4/test/path/test_pattern.rb +282 -0
  1593. data/vendor/bundle/gems/journey-1.0.4/test/route/definition/test_parser.rb +108 -0
  1594. data/vendor/bundle/gems/journey-1.0.4/test/route/definition/test_scanner.rb +54 -0
  1595. data/vendor/bundle/gems/journey-1.0.4/test/router/test_strexp.rb +30 -0
  1596. data/vendor/bundle/gems/journey-1.0.4/test/router/test_utils.rb +19 -0
  1597. data/vendor/bundle/gems/journey-1.0.4/test/test_route.rb +109 -0
  1598. data/vendor/bundle/gems/journey-1.0.4/test/test_router.rb +544 -0
  1599. data/vendor/bundle/gems/journey-1.0.4/test/test_routes.rb +51 -0
  1600. data/vendor/bundle/gems/json-1.7.5/CHANGES +254 -0
  1601. data/vendor/bundle/gems/json-1.7.5/COPYING +58 -0
  1602. data/vendor/bundle/gems/json-1.7.5/COPYING-json-jruby +57 -0
  1603. data/vendor/bundle/gems/json-1.7.5/GPL +340 -0
  1604. data/vendor/bundle/gems/json-1.7.5/Gemfile +16 -0
  1605. data/vendor/bundle/gems/json-1.7.5/README-json-jruby.markdown +33 -0
  1606. data/vendor/bundle/gems/json-1.7.5/README.rdoc +358 -0
  1607. data/vendor/bundle/gems/json-1.7.5/Rakefile +412 -0
  1608. data/vendor/bundle/gems/json-1.7.5/TODO +1 -0
  1609. data/vendor/bundle/gems/json-1.7.5/VERSION +1 -0
  1610. data/vendor/bundle/gems/json-1.7.5/data/example.json +1 -0
  1611. data/vendor/bundle/gems/json-1.7.5/data/index.html +38 -0
  1612. data/vendor/bundle/gems/json-1.7.5/data/prototype.js +4184 -0
  1613. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/fbuffer/fbuffer.h +185 -0
  1614. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/Makefile +188 -0
  1615. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/depend +1 -0
  1616. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/extconf.rb +14 -0
  1617. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/generator.bundle +0 -0
  1618. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/generator.c +1393 -0
  1619. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/generator.h +141 -0
  1620. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/generator/generator.o +0 -0
  1621. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/Makefile +188 -0
  1622. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/depend +1 -0
  1623. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/extconf.rb +13 -0
  1624. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.bundle +0 -0
  1625. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.c +2204 -0
  1626. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.h +77 -0
  1627. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.o +0 -0
  1628. data/vendor/bundle/gems/json-1.7.5/ext/json/ext/parser/parser.rl +927 -0
  1629. data/vendor/bundle/gems/json-1.7.5/install.rb +23 -0
  1630. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/ByteListTranscoder.java +167 -0
  1631. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/Generator.java +444 -0
  1632. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/GeneratorMethods.java +232 -0
  1633. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/GeneratorService.java +43 -0
  1634. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/GeneratorState.java +526 -0
  1635. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/OptionsReader.java +113 -0
  1636. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/Parser.java +2644 -0
  1637. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/Parser.rl +968 -0
  1638. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/ParserService.java +35 -0
  1639. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/RuntimeInfo.java +121 -0
  1640. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/StringDecoder.java +167 -0
  1641. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/StringEncoder.java +106 -0
  1642. data/vendor/bundle/gems/json-1.7.5/java/src/json/ext/Utils.java +89 -0
  1643. data/vendor/bundle/gems/json-1.7.5/json-java.gemspec +22 -0
  1644. data/vendor/bundle/gems/json-1.7.5/json.gemspec +37 -0
  1645. data/vendor/bundle/gems/json-1.7.5/json_pure.gemspec +39 -0
  1646. data/vendor/bundle/gems/json-1.7.5/lib/json/add/bigdecimal.rb +21 -0
  1647. data/vendor/bundle/gems/json-1.7.5/lib/json/add/complex.rb +22 -0
  1648. data/vendor/bundle/gems/json-1.7.5/lib/json/add/core.rb +11 -0
  1649. data/vendor/bundle/gems/json-1.7.5/lib/json/add/date.rb +34 -0
  1650. data/vendor/bundle/gems/json-1.7.5/lib/json/add/date_time.rb +50 -0
  1651. data/vendor/bundle/gems/json-1.7.5/lib/json/add/exception.rb +31 -0
  1652. data/vendor/bundle/gems/json-1.7.5/lib/json/add/ostruct.rb +31 -0
  1653. data/vendor/bundle/gems/json-1.7.5/lib/json/add/range.rb +29 -0
  1654. data/vendor/bundle/gems/json-1.7.5/lib/json/add/rational.rb +22 -0
  1655. data/vendor/bundle/gems/json-1.7.5/lib/json/add/regexp.rb +30 -0
  1656. data/vendor/bundle/gems/json-1.7.5/lib/json/add/struct.rb +30 -0
  1657. data/vendor/bundle/gems/json-1.7.5/lib/json/add/symbol.rb +25 -0
  1658. data/vendor/bundle/gems/json-1.7.5/lib/json/add/time.rb +38 -0
  1659. data/vendor/bundle/gems/json-1.7.5/lib/json/common.rb +480 -0
  1660. data/vendor/bundle/gems/json-1.7.5/lib/json/ext/generator.bundle +0 -0
  1661. data/vendor/bundle/gems/json-1.7.5/lib/json/ext/parser.bundle +0 -0
  1662. data/vendor/bundle/gems/json-1.7.5/lib/json/ext.rb +21 -0
  1663. data/vendor/bundle/gems/json-1.7.5/lib/json/generic_object.rb +39 -0
  1664. data/vendor/bundle/gems/json-1.7.5/lib/json/pure/generator.rb +472 -0
  1665. data/vendor/bundle/gems/json-1.7.5/lib/json/pure/parser.rb +359 -0
  1666. data/vendor/bundle/gems/json-1.7.5/lib/json/pure.rb +21 -0
  1667. data/vendor/bundle/gems/json-1.7.5/lib/json/version.rb +8 -0
  1668. data/vendor/bundle/gems/json-1.7.5/lib/json.rb +62 -0
  1669. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail1.json +1 -0
  1670. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail10.json +1 -0
  1671. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail11.json +1 -0
  1672. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail12.json +1 -0
  1673. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail13.json +1 -0
  1674. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail14.json +1 -0
  1675. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail18.json +1 -0
  1676. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail19.json +1 -0
  1677. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail2.json +1 -0
  1678. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail20.json +1 -0
  1679. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail21.json +1 -0
  1680. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail22.json +1 -0
  1681. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail23.json +1 -0
  1682. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail24.json +1 -0
  1683. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail25.json +1 -0
  1684. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail27.json +2 -0
  1685. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail28.json +2 -0
  1686. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail3.json +1 -0
  1687. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail4.json +1 -0
  1688. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail5.json +1 -0
  1689. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail6.json +1 -0
  1690. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail7.json +1 -0
  1691. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail8.json +1 -0
  1692. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/fail9.json +1 -0
  1693. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass1.json +56 -0
  1694. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass15.json +1 -0
  1695. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass16.json +1 -0
  1696. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass17.json +1 -0
  1697. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass2.json +1 -0
  1698. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass26.json +1 -0
  1699. data/vendor/bundle/gems/json-1.7.5/tests/fixtures/pass3.json +6 -0
  1700. data/vendor/bundle/gems/json-1.7.5/tests/setup_variant.rb +11 -0
  1701. data/vendor/bundle/gems/json-1.7.5/tests/test_json.rb +539 -0
  1702. data/vendor/bundle/gems/json-1.7.5/tests/test_json_addition.rb +188 -0
  1703. data/vendor/bundle/gems/json-1.7.5/tests/test_json_encoding.rb +65 -0
  1704. data/vendor/bundle/gems/json-1.7.5/tests/test_json_fixtures.rb +35 -0
  1705. data/vendor/bundle/gems/json-1.7.5/tests/test_json_generate.rb +251 -0
  1706. data/vendor/bundle/gems/json-1.7.5/tests/test_json_generic_object.rb +35 -0
  1707. data/vendor/bundle/gems/json-1.7.5/tests/test_json_string_matching.rb +40 -0
  1708. data/vendor/bundle/gems/json-1.7.5/tests/test_json_unicode.rb +72 -0
  1709. data/vendor/bundle/gems/json-1.7.5/tools/fuzz.rb +139 -0
  1710. data/vendor/bundle/gems/json-1.7.5/tools/server.rb +62 -0
  1711. data/vendor/bundle/gems/mail-2.4.4/CHANGELOG.rdoc +603 -0
  1712. data/vendor/bundle/gems/mail-2.4.4/CONTRIBUTING.md +45 -0
  1713. data/vendor/bundle/gems/mail-2.4.4/Dependencies.txt +3 -0
  1714. data/vendor/bundle/gems/mail-2.4.4/Gemfile +26 -0
  1715. data/vendor/bundle/gems/mail-2.4.4/Gemfile.lock +36 -0
  1716. data/vendor/bundle/gems/mail-2.4.4/README.md +663 -0
  1717. data/vendor/bundle/gems/mail-2.4.4/Rakefile +40 -0
  1718. data/vendor/bundle/gems/mail-2.4.4/TODO.rdoc +9 -0
  1719. data/vendor/bundle/gems/mail-2.4.4/lib/VERSION +4 -0
  1720. data/vendor/bundle/gems/mail-2.4.4/lib/mail/attachments_list.rb +104 -0
  1721. data/vendor/bundle/gems/mail-2.4.4/lib/mail/body.rb +291 -0
  1722. data/vendor/bundle/gems/mail-2.4.4/lib/mail/configuration.rb +75 -0
  1723. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/nil.rb +17 -0
  1724. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb +13 -0
  1725. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/shell_escape.rb +56 -0
  1726. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/smtp.rb +25 -0
  1727. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/string/access.rb +145 -0
  1728. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/string/multibyte.rb +78 -0
  1729. data/vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/string.rb +33 -0
  1730. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/address.rb +306 -0
  1731. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/address_list.rb +74 -0
  1732. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/content_disposition_element.rb +30 -0
  1733. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/content_location_element.rb +25 -0
  1734. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/content_transfer_encoding_element.rb +24 -0
  1735. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/content_type_element.rb +35 -0
  1736. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/date_time_element.rb +26 -0
  1737. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/envelope_from_element.rb +34 -0
  1738. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/message_ids_element.rb +29 -0
  1739. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/mime_version_element.rb +26 -0
  1740. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/phrase_list.rb +21 -0
  1741. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements/received_element.rb +30 -0
  1742. data/vendor/bundle/gems/mail-2.4.4/lib/mail/elements.rb +14 -0
  1743. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/7bit.rb +31 -0
  1744. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/8bit.rb +31 -0
  1745. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/base64.rb +33 -0
  1746. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/binary.rb +31 -0
  1747. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/quoted_printable.rb +38 -0
  1748. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings/transfer_encoding.rb +58 -0
  1749. data/vendor/bundle/gems/mail-2.4.4/lib/mail/encodings.rb +274 -0
  1750. data/vendor/bundle/gems/mail-2.4.4/lib/mail/envelope.rb +35 -0
  1751. data/vendor/bundle/gems/mail-2.4.4/lib/mail/field.rb +234 -0
  1752. data/vendor/bundle/gems/mail-2.4.4/lib/mail/field_list.rb +33 -0
  1753. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/bcc_field.rb +56 -0
  1754. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/cc_field.rb +55 -0
  1755. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/comments_field.rb +41 -0
  1756. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/address_container.rb +16 -0
  1757. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/common_address.rb +125 -0
  1758. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/common_date.rb +42 -0
  1759. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/common_field.rb +51 -0
  1760. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/common_message_id.rb +44 -0
  1761. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/common/parameter_hash.rb +58 -0
  1762. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_description_field.rb +19 -0
  1763. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_disposition_field.rb +69 -0
  1764. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_id_field.rb +63 -0
  1765. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_location_field.rb +42 -0
  1766. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_transfer_encoding_field.rb +50 -0
  1767. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/content_type_field.rb +198 -0
  1768. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/date_field.rb +57 -0
  1769. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/from_field.rb +55 -0
  1770. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/in_reply_to_field.rb +55 -0
  1771. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/keywords_field.rb +44 -0
  1772. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/message_id_field.rb +83 -0
  1773. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/mime_version_field.rb +53 -0
  1774. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/optional_field.rb +13 -0
  1775. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/received_field.rb +75 -0
  1776. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/references_field.rb +55 -0
  1777. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/reply_to_field.rb +55 -0
  1778. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_bcc_field.rb +55 -0
  1779. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_cc_field.rb +55 -0
  1780. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_date_field.rb +35 -0
  1781. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_from_field.rb +55 -0
  1782. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_message_id_field.rb +34 -0
  1783. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_sender_field.rb +62 -0
  1784. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/resent_to_field.rb +55 -0
  1785. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/return_path_field.rb +65 -0
  1786. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/sender_field.rb +67 -0
  1787. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/structured_field.rb +51 -0
  1788. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/subject_field.rb +16 -0
  1789. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/to_field.rb +55 -0
  1790. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields/unstructured_field.rb +191 -0
  1791. data/vendor/bundle/gems/mail-2.4.4/lib/mail/fields.rb +35 -0
  1792. data/vendor/bundle/gems/mail-2.4.4/lib/mail/header.rb +265 -0
  1793. data/vendor/bundle/gems/mail-2.4.4/lib/mail/indifferent_hash.rb +146 -0
  1794. data/vendor/bundle/gems/mail-2.4.4/lib/mail/mail.rb +255 -0
  1795. data/vendor/bundle/gems/mail-2.4.4/lib/mail/matchers/has_sent_mail.rb +124 -0
  1796. data/vendor/bundle/gems/mail-2.4.4/lib/mail/message.rb +2058 -0
  1797. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte/chars.rb +474 -0
  1798. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte/exceptions.rb +8 -0
  1799. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte/unicode.rb +392 -0
  1800. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte/utils.rb +60 -0
  1801. data/vendor/bundle/gems/mail-2.4.4/lib/mail/multibyte.rb +42 -0
  1802. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/exim.rb +53 -0
  1803. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/file_delivery.rb +40 -0
  1804. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/sendmail.rb +62 -0
  1805. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/smtp.rb +153 -0
  1806. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/smtp_connection.rb +74 -0
  1807. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/delivery_methods/test_mailer.rb +40 -0
  1808. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/retriever_methods/base.rb +63 -0
  1809. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/retriever_methods/imap.rb +160 -0
  1810. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/retriever_methods/pop3.rb +140 -0
  1811. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network/retriever_methods/test_retriever.rb +47 -0
  1812. data/vendor/bundle/gems/mail-2.4.4/lib/mail/network.rb +14 -0
  1813. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/address_lists.rb +64 -0
  1814. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/address_lists.treetop +19 -0
  1815. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_disposition.rb +535 -0
  1816. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_disposition.treetop +46 -0
  1817. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_location.rb +139 -0
  1818. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_location.treetop +20 -0
  1819. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_transfer_encoding.rb +162 -0
  1820. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_transfer_encoding.treetop +20 -0
  1821. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_type.rb +967 -0
  1822. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/content_type.treetop +68 -0
  1823. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/date_time.rb +114 -0
  1824. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/date_time.treetop +11 -0
  1825. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/envelope_from.rb +194 -0
  1826. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/envelope_from.treetop +32 -0
  1827. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/message_ids.rb +45 -0
  1828. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/message_ids.treetop +15 -0
  1829. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/mime_version.rb +144 -0
  1830. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/mime_version.treetop +19 -0
  1831. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/phrase_lists.rb +45 -0
  1832. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/phrase_lists.treetop +15 -0
  1833. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/received.rb +71 -0
  1834. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/received.treetop +11 -0
  1835. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2045.rb +464 -0
  1836. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2045.treetop +36 -0
  1837. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2822.rb +5341 -0
  1838. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2822.treetop +410 -0
  1839. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2822_obsolete.rb +3768 -0
  1840. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2822_obsolete.treetop +241 -0
  1841. data/vendor/bundle/gems/mail-2.4.4/lib/mail/part.rb +116 -0
  1842. data/vendor/bundle/gems/mail-2.4.4/lib/mail/parts_list.rb +55 -0
  1843. data/vendor/bundle/gems/mail-2.4.4/lib/mail/patterns.rb +35 -0
  1844. data/vendor/bundle/gems/mail-2.4.4/lib/mail/utilities.rb +215 -0
  1845. data/vendor/bundle/gems/mail-2.4.4/lib/mail/version.rb +24 -0
  1846. data/vendor/bundle/gems/mail-2.4.4/lib/mail/version_specific/ruby_1_8.rb +98 -0
  1847. data/vendor/bundle/gems/mail-2.4.4/lib/mail/version_specific/ruby_1_9.rb +113 -0
  1848. data/vendor/bundle/gems/mail-2.4.4/lib/mail.rb +91 -0
  1849. data/vendor/bundle/gems/mail-2.4.4/lib/tasks/corpus.rake +125 -0
  1850. data/vendor/bundle/gems/mail-2.4.4/lib/tasks/treetop.rake +10 -0
  1851. data/vendor/bundle/gems/metaclass-0.0.1/Gemfile +3 -0
  1852. data/vendor/bundle/gems/metaclass-0.0.1/README.md +6 -0
  1853. data/vendor/bundle/gems/metaclass-0.0.1/Rakefile +11 -0
  1854. data/vendor/bundle/gems/metaclass-0.0.1/lib/metaclass/object_methods.rb +11 -0
  1855. data/vendor/bundle/gems/metaclass-0.0.1/lib/metaclass/version.rb +3 -0
  1856. data/vendor/bundle/gems/metaclass-0.0.1/lib/metaclass.rb +5 -0
  1857. data/vendor/bundle/gems/metaclass-0.0.1/metaclass.gemspec +19 -0
  1858. data/vendor/bundle/gems/metaclass-0.0.1/test/object_methods_test.rb +31 -0
  1859. data/vendor/bundle/gems/metaclass-0.0.1/test/test_helper.rb +5 -0
  1860. data/vendor/bundle/gems/mime-types-1.19/History.rdoc +152 -0
  1861. data/vendor/bundle/gems/mime-types-1.19/Licence.rdoc +12 -0
  1862. data/vendor/bundle/gems/mime-types-1.19/Manifest.txt +33 -0
  1863. data/vendor/bundle/gems/mime-types-1.19/README.rdoc +19 -0
  1864. data/vendor/bundle/gems/mime-types-1.19/Rakefile +198 -0
  1865. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/application +943 -0
  1866. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/application.mac +2 -0
  1867. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/application.nonstandard +118 -0
  1868. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/application.obsolete +40 -0
  1869. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/audio +132 -0
  1870. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/audio.nonstandard +10 -0
  1871. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/audio.obsolete +1 -0
  1872. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/image +43 -0
  1873. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/image.nonstandard +19 -0
  1874. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/image.obsolete +5 -0
  1875. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/message +19 -0
  1876. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/message.obsolete +1 -0
  1877. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/model +15 -0
  1878. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/multipart +14 -0
  1879. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/multipart.nonstandard +1 -0
  1880. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/multipart.obsolete +7 -0
  1881. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/other.nonstandard +8 -0
  1882. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/text +54 -0
  1883. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/text.nonstandard +6 -0
  1884. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/text.obsolete +7 -0
  1885. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/text.vms +1 -0
  1886. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/video +69 -0
  1887. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/video.nonstandard +16 -0
  1888. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types/video.obsolete +3 -0
  1889. data/vendor/bundle/gems/mime-types-1.19/lib/mime/types.rb +853 -0
  1890. data/vendor/bundle/gems/mime-types-1.19/mime-types.gemspec +57 -0
  1891. data/vendor/bundle/gems/mime-types-1.19/test/test_mime_type.rb +317 -0
  1892. data/vendor/bundle/gems/mime-types-1.19/test/test_mime_types.rb +99 -0
  1893. data/vendor/bundle/gems/minitest-4.3.2/History.txt +682 -0
  1894. data/vendor/bundle/gems/minitest-4.3.2/Manifest.txt +20 -0
  1895. data/vendor/bundle/gems/minitest-4.3.2/README.txt +394 -0
  1896. data/vendor/bundle/gems/minitest-4.3.2/Rakefile +94 -0
  1897. data/vendor/bundle/gems/minitest-4.3.2/design_rationale.rb +52 -0
  1898. data/vendor/bundle/gems/minitest-4.3.2/lib/hoe/minitest.rb +22 -0
  1899. data/vendor/bundle/gems/minitest-4.3.2/lib/minitest/autorun.rb +12 -0
  1900. data/vendor/bundle/gems/minitest-4.3.2/lib/minitest/benchmark.rb +373 -0
  1901. data/vendor/bundle/gems/minitest-4.3.2/lib/minitest/hell.rb +9 -0
  1902. data/vendor/bundle/gems/minitest-4.3.2/lib/minitest/mock.rb +193 -0
  1903. data/vendor/bundle/gems/minitest-4.3.2/lib/minitest/parallel_each.rb +29 -0
  1904. data/vendor/bundle/gems/minitest-4.3.2/lib/minitest/pride.rb +112 -0
  1905. data/vendor/bundle/gems/minitest-4.3.2/lib/minitest/spec.rb +534 -0
  1906. data/vendor/bundle/gems/minitest-4.3.2/lib/minitest/unit.rb +1470 -0
  1907. data/vendor/bundle/gems/minitest-4.3.2/test/minitest/metametameta.rb +67 -0
  1908. data/vendor/bundle/gems/minitest-4.3.2/test/minitest/test_minitest_benchmark.rb +112 -0
  1909. data/vendor/bundle/gems/minitest-4.3.2/test/minitest/test_minitest_mock.rb +370 -0
  1910. data/vendor/bundle/gems/minitest-4.3.2/test/minitest/test_minitest_spec.rb +731 -0
  1911. data/vendor/bundle/gems/minitest-4.3.2/test/minitest/test_minitest_unit.rb +1695 -0
  1912. data/vendor/bundle/gems/mocha-0.10.5/COPYING.rdoc +3 -0
  1913. data/vendor/bundle/gems/mocha-0.10.5/Gemfile +3 -0
  1914. data/vendor/bundle/gems/mocha-0.10.5/MIT-LICENSE.rdoc +7 -0
  1915. data/vendor/bundle/gems/mocha-0.10.5/README.rdoc +54 -0
  1916. data/vendor/bundle/gems/mocha-0.10.5/RELEASE.rdoc +382 -0
  1917. data/vendor/bundle/gems/mocha-0.10.5/Rakefile +157 -0
  1918. data/vendor/bundle/gems/mocha-0.10.5/examples/misc.rb +43 -0
  1919. data/vendor/bundle/gems/mocha-0.10.5/examples/mocha.rb +25 -0
  1920. data/vendor/bundle/gems/mocha-0.10.5/examples/stubba.rb +64 -0
  1921. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.minitest.1.3.0 +7 -0
  1922. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.minitest.1.4.0 +7 -0
  1923. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.minitest.1.4.1 +7 -0
  1924. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.minitest.1.4.2 +7 -0
  1925. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.minitest.2.0.0 +7 -0
  1926. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.minitest.2.0.1 +7 -0
  1927. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.minitest.2.3.0 +7 -0
  1928. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.minitest.latest +7 -0
  1929. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.test-unit.2.0.0 +8 -0
  1930. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.test-unit.2.0.1 +7 -0
  1931. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.test-unit.2.0.3 +7 -0
  1932. data/vendor/bundle/gems/mocha-0.10.5/gemfiles/Gemfile.test-unit.latest +7 -0
  1933. data/vendor/bundle/gems/mocha-0.10.5/init.rb +3 -0
  1934. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/any_instance_method.rb +57 -0
  1935. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/api.rb +173 -0
  1936. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/argument_iterator.rb +21 -0
  1937. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/backtrace_filter.rb +17 -0
  1938. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/cardinality.rb +95 -0
  1939. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/central.rb +33 -0
  1940. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb +19 -0
  1941. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/class_method.rb +98 -0
  1942. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/configuration.rb +79 -0
  1943. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/deprecation.rb +22 -0
  1944. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/exception_raiser.rb +17 -0
  1945. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation.rb +509 -0
  1946. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb +15 -0
  1947. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_list.rb +58 -0
  1948. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/in_state_ordering_constraint.rb +19 -0
  1949. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/inspect.rb +67 -0
  1950. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/instance_method.rb +32 -0
  1951. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/assertion_counter.rb +23 -0
  1952. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/exception_translation.rb +20 -0
  1953. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_13.rb +44 -0
  1954. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_140.rb +45 -0
  1955. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_141.rb +56 -0
  1956. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_142_to_172.rb +56 -0
  1957. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_200.rb +57 -0
  1958. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_201_to_222.rb +57 -0
  1959. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test/version_230_to_262.rb +59 -0
  1960. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/mini_test.rb +54 -0
  1961. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/test_unit/assertion_counter.rb +23 -0
  1962. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/test_unit/gem_version_200.rb +52 -0
  1963. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/test_unit/gem_version_201_to_202.rb +52 -0
  1964. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/test_unit/gem_version_203_to_220.rb +52 -0
  1965. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/test_unit/gem_version_230_to_240.rb +58 -0
  1966. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/test_unit/ruby_version_185_and_below.rb +51 -0
  1967. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb +53 -0
  1968. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration/test_unit.rb +57 -0
  1969. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/integration.rb +38 -0
  1970. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/is_a.rb +9 -0
  1971. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/logger.rb +15 -0
  1972. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/method_matcher.rb +21 -0
  1973. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/mock.rb +213 -0
  1974. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/mockery.rb +181 -0
  1975. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/module_method.rb +16 -0
  1976. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/multiple_yields.rb +20 -0
  1977. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/names.rb +53 -0
  1978. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/no_yields.rb +11 -0
  1979. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/object.rb +223 -0
  1980. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/options.rb +1 -0
  1981. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/all_of.rb +42 -0
  1982. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/any_of.rb +47 -0
  1983. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/any_parameters.rb +40 -0
  1984. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/anything.rb +33 -0
  1985. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/base.rb +63 -0
  1986. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/equals.rb +42 -0
  1987. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/has_entries.rb +45 -0
  1988. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/has_entry.rb +66 -0
  1989. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/has_key.rb +43 -0
  1990. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/has_value.rb +43 -0
  1991. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/includes.rb +41 -0
  1992. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/instance_of.rb +42 -0
  1993. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/is_a.rb +42 -0
  1994. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/kind_of.rb +42 -0
  1995. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/not.rb +42 -0
  1996. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/object.rb +15 -0
  1997. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/optionally.rb +55 -0
  1998. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/query_string.rb +47 -0
  1999. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/regexp_matches.rb +44 -0
  2000. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/responds_with.rb +43 -0
  2001. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers/yaml_equivalent.rb +43 -0
  2002. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameter_matchers.rb +28 -0
  2003. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/parameters_matcher.rb +37 -0
  2004. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/pretty_parameters.rb +28 -0
  2005. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/return_values.rb +31 -0
  2006. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/sequence.rb +42 -0
  2007. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/single_return_value.rb +17 -0
  2008. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/single_yield.rb +18 -0
  2009. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/standalone.rb +1 -0
  2010. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/state_machine.rb +91 -0
  2011. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/stubbing_error.rb +16 -0
  2012. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/thrower.rb +15 -0
  2013. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/unexpected_invocation.rb +18 -0
  2014. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/version.rb +3 -0
  2015. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha/yield_parameters.rb +31 -0
  2016. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha.rb +4 -0
  2017. data/vendor/bundle/gems/mocha-0.10.5/lib/mocha_standalone.rb +2 -0
  2018. data/vendor/bundle/gems/mocha-0.10.5/lib/stubba.rb +4 -0
  2019. data/vendor/bundle/gems/mocha-0.10.5/mocha.gemspec +46 -0
  2020. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/acceptance_test_helper.rb +41 -0
  2021. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/api_test.rb +139 -0
  2022. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/bug_18914_test.rb +43 -0
  2023. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/bug_21465_test.rb +34 -0
  2024. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/bug_21563_test.rb +25 -0
  2025. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/exception_rescue_test.rb +55 -0
  2026. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/expectations_on_multiple_methods_test.rb +55 -0
  2027. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/expected_invocation_count_test.rb +232 -0
  2028. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/failure_messages_test.rb +64 -0
  2029. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/issue_65_test.rb +63 -0
  2030. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/issue_70_test.rb +55 -0
  2031. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/minitest_test.rb +162 -0
  2032. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/mocha_example_test.rb +98 -0
  2033. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/mocha_test_result_test.rb +84 -0
  2034. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/mock_test.rb +100 -0
  2035. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/mock_with_initializer_block_test.rb +51 -0
  2036. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/mocked_methods_dispatch_test.rb +78 -0
  2037. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/multiple_expectations_failure_message_test.rb +68 -0
  2038. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/optional_parameters_test.rb +70 -0
  2039. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/parameter_matcher_test.rb +300 -0
  2040. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/partial_mocks_test.rb +47 -0
  2041. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/raise_exception_test.rb +39 -0
  2042. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/return_value_test.rb +52 -0
  2043. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/sequence_test.rb +192 -0
  2044. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/states_test.rb +70 -0
  2045. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_any_instance_method_test.rb +198 -0
  2046. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_class_method_defined_on_active_record_association_proxy_test.rb +106 -0
  2047. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_class_method_defined_on_class_test.rb +72 -0
  2048. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_class_method_defined_on_module_test.rb +75 -0
  2049. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_class_method_defined_on_superclass_test.rb +75 -0
  2050. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_everything_test.rb +56 -0
  2051. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_instance_method_defined_on_active_record_association_proxy_test.rb +93 -0
  2052. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_instance_method_defined_on_class_and_aliased_test.rb +69 -0
  2053. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_instance_method_defined_on_class_test.rb +66 -0
  2054. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_instance_method_defined_on_kernel_module_test.rb +75 -0
  2055. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_instance_method_defined_on_module_test.rb +75 -0
  2056. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_instance_method_defined_on_object_class_test.rb +75 -0
  2057. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_instance_method_defined_on_singleton_class_test.rb +70 -0
  2058. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_instance_method_defined_on_superclass_test.rb +72 -0
  2059. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_module_method_test.rb +163 -0
  2060. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stub_test.rb +52 -0
  2061. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubba_example_test.rb +102 -0
  2062. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubba_test.rb +15 -0
  2063. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubba_test_result_test.rb +66 -0
  2064. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_error_backtrace_test.rb +64 -0
  2065. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_method_unnecessarily_test.rb +65 -0
  2066. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_non_existent_any_instance_method_test.rb +130 -0
  2067. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_non_existent_class_method_test.rb +157 -0
  2068. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_non_existent_instance_method_test.rb +147 -0
  2069. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_non_public_any_instance_method_test.rb +130 -0
  2070. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_non_public_class_method_test.rb +163 -0
  2071. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_non_public_instance_method_test.rb +143 -0
  2072. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/stubbing_on_non_mock_object_test.rb +64 -0
  2073. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/throw_test.rb +45 -0
  2074. data/vendor/bundle/gems/mocha-0.10.5/test/acceptance/unstubbing_test.rb +151 -0
  2075. data/vendor/bundle/gems/mocha-0.10.5/test/deprecation_disabler.rb +15 -0
  2076. data/vendor/bundle/gems/mocha-0.10.5/test/execution_point.rb +36 -0
  2077. data/vendor/bundle/gems/mocha-0.10.5/test/method_definer.rb +24 -0
  2078. data/vendor/bundle/gems/mocha-0.10.5/test/mini_test_result.rb +83 -0
  2079. data/vendor/bundle/gems/mocha-0.10.5/test/simple_counter.rb +13 -0
  2080. data/vendor/bundle/gems/mocha-0.10.5/test/test_helper.rb +11 -0
  2081. data/vendor/bundle/gems/mocha-0.10.5/test/test_runner.rb +50 -0
  2082. data/vendor/bundle/gems/mocha-0.10.5/test/unit/any_instance_method_test.rb +136 -0
  2083. data/vendor/bundle/gems/mocha-0.10.5/test/unit/array_inspect_test.rb +16 -0
  2084. data/vendor/bundle/gems/mocha-0.10.5/test/unit/backtrace_filter_test.rb +19 -0
  2085. data/vendor/bundle/gems/mocha-0.10.5/test/unit/cardinality_test.rb +56 -0
  2086. data/vendor/bundle/gems/mocha-0.10.5/test/unit/central_test.rb +100 -0
  2087. data/vendor/bundle/gems/mocha-0.10.5/test/unit/change_state_side_effect_test.rb +41 -0
  2088. data/vendor/bundle/gems/mocha-0.10.5/test/unit/class_method_test.rb +260 -0
  2089. data/vendor/bundle/gems/mocha-0.10.5/test/unit/configuration_test.rb +38 -0
  2090. data/vendor/bundle/gems/mocha-0.10.5/test/unit/date_time_inspect_test.rb +21 -0
  2091. data/vendor/bundle/gems/mocha-0.10.5/test/unit/exception_raiser_test.rb +42 -0
  2092. data/vendor/bundle/gems/mocha-0.10.5/test/unit/expectation_list_test.rb +71 -0
  2093. data/vendor/bundle/gems/mocha-0.10.5/test/unit/expectation_test.rb +480 -0
  2094. data/vendor/bundle/gems/mocha-0.10.5/test/unit/hash_inspect_test.rb +16 -0
  2095. data/vendor/bundle/gems/mocha-0.10.5/test/unit/in_state_ordering_constraint_test.rb +43 -0
  2096. data/vendor/bundle/gems/mocha-0.10.5/test/unit/method_matcher_test.rb +23 -0
  2097. data/vendor/bundle/gems/mocha-0.10.5/test/unit/mock_test.rb +312 -0
  2098. data/vendor/bundle/gems/mocha-0.10.5/test/unit/mockery_test.rb +150 -0
  2099. data/vendor/bundle/gems/mocha-0.10.5/test/unit/multiple_yields_test.rb +18 -0
  2100. data/vendor/bundle/gems/mocha-0.10.5/test/unit/no_yields_test.rb +18 -0
  2101. data/vendor/bundle/gems/mocha-0.10.5/test/unit/object_inspect_test.rb +38 -0
  2102. data/vendor/bundle/gems/mocha-0.10.5/test/unit/object_test.rb +87 -0
  2103. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/all_of_test.rb +26 -0
  2104. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/any_of_test.rb +26 -0
  2105. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/anything_test.rb +21 -0
  2106. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/equals_test.rb +25 -0
  2107. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/has_entries_test.rb +51 -0
  2108. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/has_entry_test.rb +96 -0
  2109. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/has_key_test.rb +55 -0
  2110. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/has_value_test.rb +57 -0
  2111. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/includes_test.rb +44 -0
  2112. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/instance_of_test.rb +25 -0
  2113. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/is_a_test.rb +25 -0
  2114. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/kind_of_test.rb +25 -0
  2115. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/not_test.rb +26 -0
  2116. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/regexp_matches_test.rb +46 -0
  2117. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/responds_with_test.rb +25 -0
  2118. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/stub_matcher.rb +27 -0
  2119. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameter_matchers/yaml_equivalent_test.rb +25 -0
  2120. data/vendor/bundle/gems/mocha-0.10.5/test/unit/parameters_matcher_test.rb +121 -0
  2121. data/vendor/bundle/gems/mocha-0.10.5/test/unit/return_values_test.rb +63 -0
  2122. data/vendor/bundle/gems/mocha-0.10.5/test/unit/sequence_test.rb +104 -0
  2123. data/vendor/bundle/gems/mocha-0.10.5/test/unit/single_return_value_test.rb +14 -0
  2124. data/vendor/bundle/gems/mocha-0.10.5/test/unit/single_yield_test.rb +18 -0
  2125. data/vendor/bundle/gems/mocha-0.10.5/test/unit/state_machine_test.rb +98 -0
  2126. data/vendor/bundle/gems/mocha-0.10.5/test/unit/string_inspect_test.rb +11 -0
  2127. data/vendor/bundle/gems/mocha-0.10.5/test/unit/thrower_test.rb +20 -0
  2128. data/vendor/bundle/gems/mocha-0.10.5/test/unit/yield_parameters_test.rb +93 -0
  2129. data/vendor/bundle/gems/multi_json-1.4.0/Gemfile +7 -0
  2130. data/vendor/bundle/gems/multi_json-1.4.0/LICENSE.md +20 -0
  2131. data/vendor/bundle/gems/multi_json-1.4.0/README.md +72 -0
  2132. data/vendor/bundle/gems/multi_json-1.4.0/Rakefile +20 -0
  2133. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/adapters/json_common.rb +25 -0
  2134. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/adapters/json_gem.rb +12 -0
  2135. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/adapters/json_pure.rb +12 -0
  2136. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/adapters/nsjsonserialization.rb +34 -0
  2137. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/adapters/oj.rb +26 -0
  2138. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/adapters/ok_json.rb +48 -0
  2139. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/adapters/yajl.rb +18 -0
  2140. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/vendor/okjson.rb +602 -0
  2141. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json/version.rb +3 -0
  2142. data/vendor/bundle/gems/multi_json-1.4.0/lib/multi_json.rb +122 -0
  2143. data/vendor/bundle/gems/multi_json-1.4.0/multi_json.gemspec +23 -0
  2144. data/vendor/bundle/gems/multi_json-1.4.0/spec/adapter_shared_example.rb +123 -0
  2145. data/vendor/bundle/gems/multi_json-1.4.0/spec/helper.rb +39 -0
  2146. data/vendor/bundle/gems/multi_json-1.4.0/spec/multi_json_spec.rb +89 -0
  2147. data/vendor/bundle/gems/polyglot-0.3.3/History.txt +72 -0
  2148. data/vendor/bundle/gems/polyglot-0.3.3/License.txt +20 -0
  2149. data/vendor/bundle/gems/polyglot-0.3.3/README.txt +87 -0
  2150. data/vendor/bundle/gems/polyglot-0.3.3/Rakefile +42 -0
  2151. data/vendor/bundle/gems/polyglot-0.3.3/lib/polyglot/version.rb +9 -0
  2152. data/vendor/bundle/gems/polyglot-0.3.3/lib/polyglot.rb +74 -0
  2153. data/vendor/bundle/gems/rack-1.4.1/COPYING +18 -0
  2154. data/vendor/bundle/gems/rack-1.4.1/KNOWN-ISSUES +21 -0
  2155. data/vendor/bundle/gems/rack-1.4.1/README.rdoc +498 -0
  2156. data/vendor/bundle/gems/rack-1.4.1/Rakefile +115 -0
  2157. data/vendor/bundle/gems/rack-1.4.1/SPEC +171 -0
  2158. data/vendor/bundle/gems/rack-1.4.1/bin/rackup +4 -0
  2159. data/vendor/bundle/gems/rack-1.4.1/contrib/rack_logo.svg +111 -0
  2160. data/vendor/bundle/gems/rack-1.4.1/example/lobster.ru +4 -0
  2161. data/vendor/bundle/gems/rack-1.4.1/example/protectedlobster.rb +14 -0
  2162. data/vendor/bundle/gems/rack-1.4.1/example/protectedlobster.ru +8 -0
  2163. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/abstract/handler.rb +37 -0
  2164. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/abstract/request.rb +43 -0
  2165. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/basic.rb +58 -0
  2166. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/md5.rb +129 -0
  2167. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/nonce.rb +51 -0
  2168. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/params.rb +53 -0
  2169. data/vendor/bundle/gems/rack-1.4.1/lib/rack/auth/digest/request.rb +41 -0
  2170. data/vendor/bundle/gems/rack-1.4.1/lib/rack/backports/uri/common_18.rb +70 -0
  2171. data/vendor/bundle/gems/rack-1.4.1/lib/rack/backports/uri/common_192.rb +55 -0
  2172. data/vendor/bundle/gems/rack-1.4.1/lib/rack/body_proxy.rb +29 -0
  2173. data/vendor/bundle/gems/rack-1.4.1/lib/rack/builder.rb +145 -0
  2174. data/vendor/bundle/gems/rack-1.4.1/lib/rack/cascade.rb +41 -0
  2175. data/vendor/bundle/gems/rack-1.4.1/lib/rack/chunked.rb +58 -0
  2176. data/vendor/bundle/gems/rack-1.4.1/lib/rack/commonlogger.rb +51 -0
  2177. data/vendor/bundle/gems/rack-1.4.1/lib/rack/conditionalget.rb +67 -0
  2178. data/vendor/bundle/gems/rack-1.4.1/lib/rack/config.rb +15 -0
  2179. data/vendor/bundle/gems/rack-1.4.1/lib/rack/content_length.rb +33 -0
  2180. data/vendor/bundle/gems/rack-1.4.1/lib/rack/content_type.rb +29 -0
  2181. data/vendor/bundle/gems/rack-1.4.1/lib/rack/deflater.rb +99 -0
  2182. data/vendor/bundle/gems/rack-1.4.1/lib/rack/directory.rb +161 -0
  2183. data/vendor/bundle/gems/rack-1.4.1/lib/rack/etag.rb +61 -0
  2184. data/vendor/bundle/gems/rack-1.4.1/lib/rack/file.rb +142 -0
  2185. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/cgi.rb +61 -0
  2186. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/evented_mongrel.rb +8 -0
  2187. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/fastcgi.rb +98 -0
  2188. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/lsws.rb +61 -0
  2189. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/mongrel.rb +100 -0
  2190. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/scgi.rb +67 -0
  2191. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
  2192. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/thin.rb +24 -0
  2193. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler/webrick.rb +80 -0
  2194. data/vendor/bundle/gems/rack-1.4.1/lib/rack/handler.rb +94 -0
  2195. data/vendor/bundle/gems/rack-1.4.1/lib/rack/head.rb +19 -0
  2196. data/vendor/bundle/gems/rack-1.4.1/lib/rack/lint.rb +567 -0
  2197. data/vendor/bundle/gems/rack-1.4.1/lib/rack/lobster.rb +65 -0
  2198. data/vendor/bundle/gems/rack-1.4.1/lib/rack/lock.rb +25 -0
  2199. data/vendor/bundle/gems/rack-1.4.1/lib/rack/logger.rb +18 -0
  2200. data/vendor/bundle/gems/rack-1.4.1/lib/rack/methodoverride.rb +33 -0
  2201. data/vendor/bundle/gems/rack-1.4.1/lib/rack/mime.rb +648 -0
  2202. data/vendor/bundle/gems/rack-1.4.1/lib/rack/mock.rb +189 -0
  2203. data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/generator.rb +93 -0
  2204. data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/parser.rb +167 -0
  2205. data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart/uploaded_file.rb +34 -0
  2206. data/vendor/bundle/gems/rack-1.4.1/lib/rack/multipart.rb +34 -0
  2207. data/vendor/bundle/gems/rack-1.4.1/lib/rack/nulllogger.rb +18 -0
  2208. data/vendor/bundle/gems/rack-1.4.1/lib/rack/recursive.rb +61 -0
  2209. data/vendor/bundle/gems/rack-1.4.1/lib/rack/reloader.rb +109 -0
  2210. data/vendor/bundle/gems/rack-1.4.1/lib/rack/request.rb +341 -0
  2211. data/vendor/bundle/gems/rack-1.4.1/lib/rack/response.rb +155 -0
  2212. data/vendor/bundle/gems/rack-1.4.1/lib/rack/rewindable_input.rb +104 -0
  2213. data/vendor/bundle/gems/rack-1.4.1/lib/rack/runtime.rb +27 -0
  2214. data/vendor/bundle/gems/rack-1.4.1/lib/rack/sendfile.rb +141 -0
  2215. data/vendor/bundle/gems/rack-1.4.1/lib/rack/server.rb +323 -0
  2216. data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/abstract/id.rb +372 -0
  2217. data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/cookie.rb +161 -0
  2218. data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/memcache.rb +93 -0
  2219. data/vendor/bundle/gems/rack-1.4.1/lib/rack/session/pool.rb +79 -0
  2220. data/vendor/bundle/gems/rack-1.4.1/lib/rack/showexceptions.rb +378 -0
  2221. data/vendor/bundle/gems/rack-1.4.1/lib/rack/showstatus.rb +113 -0
  2222. data/vendor/bundle/gems/rack-1.4.1/lib/rack/static.rb +71 -0
  2223. data/vendor/bundle/gems/rack-1.4.1/lib/rack/urlmap.rb +75 -0
  2224. data/vendor/bundle/gems/rack-1.4.1/lib/rack/utils.rb +547 -0
  2225. data/vendor/bundle/gems/rack-1.4.1/lib/rack.rb +83 -0
  2226. data/vendor/bundle/gems/rack-1.4.1/rack.gemspec +37 -0
  2227. data/vendor/bundle/gems/rack-1.4.1/test/builder/anything.rb +5 -0
  2228. data/vendor/bundle/gems/rack-1.4.1/test/builder/comment.ru +4 -0
  2229. data/vendor/bundle/gems/rack-1.4.1/test/builder/end.ru +5 -0
  2230. data/vendor/bundle/gems/rack-1.4.1/test/builder/options.ru +2 -0
  2231. data/vendor/bundle/gems/rack-1.4.1/test/cgi/lighttpd.conf +26 -0
  2232. data/vendor/bundle/gems/rack-1.4.1/test/cgi/rackup_stub.rb +6 -0
  2233. data/vendor/bundle/gems/rack-1.4.1/test/cgi/sample_rackup.ru +5 -0
  2234. data/vendor/bundle/gems/rack-1.4.1/test/cgi/test +9 -0
  2235. data/vendor/bundle/gems/rack-1.4.1/test/cgi/test+directory/test+file +1 -0
  2236. data/vendor/bundle/gems/rack-1.4.1/test/cgi/test.fcgi +8 -0
  2237. data/vendor/bundle/gems/rack-1.4.1/test/cgi/test.ru +5 -0
  2238. data/vendor/bundle/gems/rack-1.4.1/test/gemloader.rb +10 -0
  2239. data/vendor/bundle/gems/rack-1.4.1/test/multipart/bad_robots +259 -0
  2240. data/vendor/bundle/gems/rack-1.4.1/test/multipart/binary +0 -0
  2241. data/vendor/bundle/gems/rack-1.4.1/test/multipart/content_type_and_no_filename +6 -0
  2242. data/vendor/bundle/gems/rack-1.4.1/test/multipart/empty +10 -0
  2243. data/vendor/bundle/gems/rack-1.4.1/test/multipart/fail_16384_nofile +814 -0
  2244. data/vendor/bundle/gems/rack-1.4.1/test/multipart/file1.txt +1 -0
  2245. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_and_modification_param +7 -0
  2246. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_escaped_quotes +6 -0
  2247. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  2248. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_percent_escaped_quotes +6 -0
  2249. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages +6 -0
  2250. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages2 +6 -0
  2251. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_percentages3 +6 -0
  2252. data/vendor/bundle/gems/rack-1.4.1/test/multipart/filename_with_unescaped_quotes +6 -0
  2253. data/vendor/bundle/gems/rack-1.4.1/test/multipart/ie +6 -0
  2254. data/vendor/bundle/gems/rack-1.4.1/test/multipart/mixed_files +21 -0
  2255. data/vendor/bundle/gems/rack-1.4.1/test/multipart/nested +10 -0
  2256. data/vendor/bundle/gems/rack-1.4.1/test/multipart/none +9 -0
  2257. data/vendor/bundle/gems/rack-1.4.1/test/multipart/semicolon +6 -0
  2258. data/vendor/bundle/gems/rack-1.4.1/test/multipart/text +15 -0
  2259. data/vendor/bundle/gems/rack-1.4.1/test/multipart/webkit +32 -0
  2260. data/vendor/bundle/gems/rack-1.4.1/test/rackup/config.ru +31 -0
  2261. data/vendor/bundle/gems/rack-1.4.1/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  2262. data/vendor/bundle/gems/rack-1.4.1/test/spec_auth_basic.rb +73 -0
  2263. data/vendor/bundle/gems/rack-1.4.1/test/spec_auth_digest.rb +245 -0
  2264. data/vendor/bundle/gems/rack-1.4.1/test/spec_body_proxy.rb +65 -0
  2265. data/vendor/bundle/gems/rack-1.4.1/test/spec_builder.rb +201 -0
  2266. data/vendor/bundle/gems/rack-1.4.1/test/spec_cascade.rb +53 -0
  2267. data/vendor/bundle/gems/rack-1.4.1/test/spec_cgi.rb +102 -0
  2268. data/vendor/bundle/gems/rack-1.4.1/test/spec_chunked.rb +87 -0
  2269. data/vendor/bundle/gems/rack-1.4.1/test/spec_commonlogger.rb +57 -0
  2270. data/vendor/bundle/gems/rack-1.4.1/test/spec_conditionalget.rb +102 -0
  2271. data/vendor/bundle/gems/rack-1.4.1/test/spec_config.rb +23 -0
  2272. data/vendor/bundle/gems/rack-1.4.1/test/spec_content_length.rb +73 -0
  2273. data/vendor/bundle/gems/rack-1.4.1/test/spec_content_type.rb +35 -0
  2274. data/vendor/bundle/gems/rack-1.4.1/test/spec_deflater.rb +169 -0
  2275. data/vendor/bundle/gems/rack-1.4.1/test/spec_directory.rb +69 -0
  2276. data/vendor/bundle/gems/rack-1.4.1/test/spec_etag.rb +82 -0
  2277. data/vendor/bundle/gems/rack-1.4.1/test/spec_fastcgi.rb +107 -0
  2278. data/vendor/bundle/gems/rack-1.4.1/test/spec_file.rb +183 -0
  2279. data/vendor/bundle/gems/rack-1.4.1/test/spec_handler.rb +59 -0
  2280. data/vendor/bundle/gems/rack-1.4.1/test/spec_head.rb +30 -0
  2281. data/vendor/bundle/gems/rack-1.4.1/test/spec_lint.rb +515 -0
  2282. data/vendor/bundle/gems/rack-1.4.1/test/spec_lobster.rb +43 -0
  2283. data/vendor/bundle/gems/rack-1.4.1/test/spec_lock.rb +142 -0
  2284. data/vendor/bundle/gems/rack-1.4.1/test/spec_logger.rb +28 -0
  2285. data/vendor/bundle/gems/rack-1.4.1/test/spec_methodoverride.rb +73 -0
  2286. data/vendor/bundle/gems/rack-1.4.1/test/spec_mock.rb +264 -0
  2287. data/vendor/bundle/gems/rack-1.4.1/test/spec_mongrel.rb +182 -0
  2288. data/vendor/bundle/gems/rack-1.4.1/test/spec_multipart.rb +363 -0
  2289. data/vendor/bundle/gems/rack-1.4.1/test/spec_nulllogger.rb +12 -0
  2290. data/vendor/bundle/gems/rack-1.4.1/test/spec_recursive.rb +69 -0
  2291. data/vendor/bundle/gems/rack-1.4.1/test/spec_request.rb +938 -0
  2292. data/vendor/bundle/gems/rack-1.4.1/test/spec_response.rb +283 -0
  2293. data/vendor/bundle/gems/rack-1.4.1/test/spec_rewindable_input.rb +118 -0
  2294. data/vendor/bundle/gems/rack-1.4.1/test/spec_runtime.rb +39 -0
  2295. data/vendor/bundle/gems/rack-1.4.1/test/spec_sendfile.rb +86 -0
  2296. data/vendor/bundle/gems/rack-1.4.1/test/spec_server.rb +74 -0
  2297. data/vendor/bundle/gems/rack-1.4.1/test/spec_session_abstract_id.rb +43 -0
  2298. data/vendor/bundle/gems/rack-1.4.1/test/spec_session_cookie.rb +294 -0
  2299. data/vendor/bundle/gems/rack-1.4.1/test/spec_session_memcache.rb +319 -0
  2300. data/vendor/bundle/gems/rack-1.4.1/test/spec_session_pool.rb +206 -0
  2301. data/vendor/bundle/gems/rack-1.4.1/test/spec_showexceptions.rb +87 -0
  2302. data/vendor/bundle/gems/rack-1.4.1/test/spec_showstatus.rb +79 -0
  2303. data/vendor/bundle/gems/rack-1.4.1/test/spec_static.rb +69 -0
  2304. data/vendor/bundle/gems/rack-1.4.1/test/spec_thin.rb +86 -0
  2305. data/vendor/bundle/gems/rack-1.4.1/test/spec_urlmap.rb +213 -0
  2306. data/vendor/bundle/gems/rack-1.4.1/test/spec_utils.rb +524 -0
  2307. data/vendor/bundle/gems/rack-1.4.1/test/spec_webrick.rb +143 -0
  2308. data/vendor/bundle/gems/rack-1.4.1/test/static/index.html +1 -0
  2309. data/vendor/bundle/gems/rack-1.4.1/test/testrequest.rb +78 -0
  2310. data/vendor/bundle/gems/rack-1.4.1/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  2311. data/vendor/bundle/gems/rack-1.4.1/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  2312. data/vendor/bundle/gems/rack-cache-1.2/CHANGES +241 -0
  2313. data/vendor/bundle/gems/rack-cache-1.2/COPYING +18 -0
  2314. data/vendor/bundle/gems/rack-cache-1.2/Gemfile +2 -0
  2315. data/vendor/bundle/gems/rack-cache-1.2/README +126 -0
  2316. data/vendor/bundle/gems/rack-cache-1.2/Rakefile +139 -0
  2317. data/vendor/bundle/gems/rack-cache-1.2/TODO +27 -0
  2318. data/vendor/bundle/gems/rack-cache-1.2/doc/configuration.markdown +127 -0
  2319. data/vendor/bundle/gems/rack-cache-1.2/doc/faq.markdown +148 -0
  2320. data/vendor/bundle/gems/rack-cache-1.2/doc/index.markdown +121 -0
  2321. data/vendor/bundle/gems/rack-cache-1.2/doc/layout.html.erb +34 -0
  2322. data/vendor/bundle/gems/rack-cache-1.2/doc/license.markdown +24 -0
  2323. data/vendor/bundle/gems/rack-cache-1.2/doc/rack-cache.css +362 -0
  2324. data/vendor/bundle/gems/rack-cache-1.2/doc/server.ru +34 -0
  2325. data/vendor/bundle/gems/rack-cache-1.2/doc/storage.markdown +164 -0
  2326. data/vendor/bundle/gems/rack-cache-1.2/example/sinatra/app.rb +21 -0
  2327. data/vendor/bundle/gems/rack-cache-1.2/example/sinatra/views/index.erb +44 -0
  2328. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/appengine.rb +52 -0
  2329. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/cachecontrol.rb +194 -0
  2330. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/context.rb +286 -0
  2331. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/entitystore.rb +341 -0
  2332. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/key.rb +52 -0
  2333. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/metastore.rb +418 -0
  2334. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/options.rb +166 -0
  2335. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/request.rb +33 -0
  2336. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/response.rb +255 -0
  2337. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/storage.rb +62 -0
  2338. data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache.rb +45 -0
  2339. data/vendor/bundle/gems/rack-cache-1.2/lib/rack-cache.rb +1 -0
  2340. data/vendor/bundle/gems/rack-cache-1.2/rack-cache.gemspec +75 -0
  2341. data/vendor/bundle/gems/rack-cache-1.2/test/cache_test.rb +38 -0
  2342. data/vendor/bundle/gems/rack-cache-1.2/test/cachecontrol_test.rb +145 -0
  2343. data/vendor/bundle/gems/rack-cache-1.2/test/context_test.rb +916 -0
  2344. data/vendor/bundle/gems/rack-cache-1.2/test/entitystore_test.rb +268 -0
  2345. data/vendor/bundle/gems/rack-cache-1.2/test/key_test.rb +50 -0
  2346. data/vendor/bundle/gems/rack-cache-1.2/test/metastore_test.rb +338 -0
  2347. data/vendor/bundle/gems/rack-cache-1.2/test/options_test.rb +77 -0
  2348. data/vendor/bundle/gems/rack-cache-1.2/test/pony.jpg +0 -0
  2349. data/vendor/bundle/gems/rack-cache-1.2/test/request_test.rb +19 -0
  2350. data/vendor/bundle/gems/rack-cache-1.2/test/response_test.rb +184 -0
  2351. data/vendor/bundle/gems/rack-cache-1.2/test/spec_setup.rb +232 -0
  2352. data/vendor/bundle/gems/rack-cache-1.2/test/storage_test.rb +94 -0
  2353. data/vendor/bundle/gems/rack-ssl-1.3.2/LICENSE +22 -0
  2354. data/vendor/bundle/gems/rack-ssl-1.3.2/README.md +13 -0
  2355. data/vendor/bundle/gems/rack-ssl-1.3.2/lib/rack/ssl.rb +88 -0
  2356. data/vendor/bundle/gems/rack-test-0.6.2/Gemfile +6 -0
  2357. data/vendor/bundle/gems/rack-test-0.6.2/Gemfile.lock +31 -0
  2358. data/vendor/bundle/gems/rack-test-0.6.2/History.txt +166 -0
  2359. data/vendor/bundle/gems/rack-test-0.6.2/MIT-LICENSE.txt +19 -0
  2360. data/vendor/bundle/gems/rack-test-0.6.2/README.rdoc +85 -0
  2361. data/vendor/bundle/gems/rack-test-0.6.2/Rakefile +33 -0
  2362. data/vendor/bundle/gems/rack-test-0.6.2/Thorfile +114 -0
  2363. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/mock_session.rb +66 -0
  2364. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb +182 -0
  2365. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/methods.rb +82 -0
  2366. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/mock_digest_request.rb +29 -0
  2367. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/uploaded_file.rb +50 -0
  2368. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/utils.rb +136 -0
  2369. data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test.rb +304 -0
  2370. data/vendor/bundle/gems/rack-test-0.6.2/rack-test.gemspec +77 -0
  2371. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/bar.txt +1 -0
  2372. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/config.ru +3 -0
  2373. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/fake_app.rb +143 -0
  2374. data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/foo.txt +1 -0
  2375. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/cookie_spec.rb +219 -0
  2376. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/digest_auth_spec.rb +46 -0
  2377. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/multipart_spec.rb +145 -0
  2378. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/uploaded_file_spec.rb +22 -0
  2379. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/utils_spec.rb +122 -0
  2380. data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test_spec.rb +510 -0
  2381. data/vendor/bundle/gems/rack-test-0.6.2/spec/spec_helper.rb +66 -0
  2382. data/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb +9 -0
  2383. data/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/challenge.rb +11 -0
  2384. data/vendor/bundle/gems/railties-3.2.9/CHANGELOG.md +85 -0
  2385. data/vendor/bundle/gems/railties-3.2.9/README.rdoc +35 -0
  2386. data/vendor/bundle/gems/railties-3.2.9/bin/rails +7 -0
  2387. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/belongs_to.png +0 -0
  2388. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/book_icon.gif +0 -0
  2389. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/bullet.gif +0 -0
  2390. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/challenge.png +0 -0
  2391. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/chapters_icon.gif +0 -0
  2392. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/check_bullet.gif +0 -0
  2393. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/credits_pic_blank.gif +0 -0
  2394. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/csrf.png +0 -0
  2395. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/customized_error_messages.png +0 -0
  2396. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/edge_badge.png +0 -0
  2397. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/error_messages.png +0 -0
  2398. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/feature_tile.gif +0 -0
  2399. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/footer_tile.gif +0 -0
  2400. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/fxn.png +0 -0
  2401. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/grey_bullet.gif +0 -0
  2402. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/habtm.png +0 -0
  2403. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/has_many.png +0 -0
  2404. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/has_many_through.png +0 -0
  2405. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/has_one.png +0 -0
  2406. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/has_one_through.png +0 -0
  2407. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/header_backdrop.png +0 -0
  2408. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/header_tile.gif +0 -0
  2409. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_html_safe.png +0 -0
  2410. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_localized_pirate.png +0 -0
  2411. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_translated_en.png +0 -0
  2412. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_translated_pirate.png +0 -0
  2413. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_translation_missing.png +0 -0
  2414. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/i18n/demo_untranslated.png +0 -0
  2415. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/README +5 -0
  2416. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/1.png +0 -0
  2417. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/10.png +0 -0
  2418. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/11.png +0 -0
  2419. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/12.png +0 -0
  2420. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/13.png +0 -0
  2421. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/14.png +0 -0
  2422. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/15.png +0 -0
  2423. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/2.png +0 -0
  2424. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/3.png +0 -0
  2425. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/4.png +0 -0
  2426. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/5.png +0 -0
  2427. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/6.png +0 -0
  2428. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/7.png +0 -0
  2429. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/8.png +0 -0
  2430. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/callouts/9.png +0 -0
  2431. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/caution.png +0 -0
  2432. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/example.png +0 -0
  2433. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/home.png +0 -0
  2434. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/important.png +0 -0
  2435. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/next.png +0 -0
  2436. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/note.png +0 -0
  2437. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/prev.png +0 -0
  2438. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/tip.png +0 -0
  2439. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/up.png +0 -0
  2440. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/icons/warning.png +0 -0
  2441. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/jaimeiniesta.jpg +0 -0
  2442. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/nav_arrow.gif +0 -0
  2443. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/polymorphic.png +0 -0
  2444. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/posts_index.png +0 -0
  2445. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/radar.png +0 -0
  2446. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/rails_guides_kindle_cover.jpg +0 -0
  2447. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/rails_guides_logo.gif +0 -0
  2448. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/rails_logo_remix.gif +0 -0
  2449. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/rails_welcome.png +0 -0
  2450. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/session_fixation.png +0 -0
  2451. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_grey.gif +0 -0
  2452. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_info.gif +0 -0
  2453. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_note.gif +0 -0
  2454. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_red.gif +0 -0
  2455. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_yellow.gif +0 -0
  2456. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/tab_yellow.png +0 -0
  2457. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/validation_error_messages.png +0 -0
  2458. data/vendor/bundle/gems/railties-3.2.9/guides/assets/images/vijaydev.jpg +0 -0
  2459. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/guides.js +7 -0
  2460. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
  2461. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
  2462. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
  2463. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
  2464. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
  2465. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
  2466. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
  2467. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
  2468. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
  2469. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
  2470. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
  2471. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
  2472. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
  2473. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
  2474. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
  2475. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
  2476. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
  2477. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
  2478. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
  2479. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
  2480. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
  2481. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
  2482. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
  2483. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
  2484. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
  2485. data/vendor/bundle/gems/railties-3.2.9/guides/assets/javascripts/syntaxhighlighter/shCore.js +17 -0
  2486. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/fixes.css +16 -0
  2487. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/kindle.css +11 -0
  2488. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/main.css +453 -0
  2489. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/print.css +52 -0
  2490. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/reset.css +43 -0
  2491. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/style.css +13 -0
  2492. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCore.css +226 -0
  2493. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
  2494. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
  2495. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
  2496. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
  2497. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
  2498. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
  2499. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
  2500. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
  2501. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
  2502. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
  2503. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
  2504. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
  2505. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
  2506. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
  2507. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
  2508. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
  2509. data/vendor/bundle/gems/railties-3.2.9/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
  2510. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/Gemfile +38 -0
  2511. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/README.rdoc +261 -0
  2512. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/Rakefile +7 -0
  2513. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/images/rails.png +0 -0
  2514. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/javascripts/application.js +15 -0
  2515. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/javascripts/comments.js.coffee +3 -0
  2516. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/javascripts/home.js.coffee +3 -0
  2517. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/javascripts/posts.js.coffee +3 -0
  2518. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/application.css +13 -0
  2519. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/comments.css.scss +3 -0
  2520. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/home.css.scss +3 -0
  2521. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/posts.css.scss +3 -0
  2522. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/assets/stylesheets/scaffolds.css.scss +56 -0
  2523. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/controllers/application_controller.rb +3 -0
  2524. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/controllers/comments_controller.rb +16 -0
  2525. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/controllers/home_controller.rb +5 -0
  2526. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/controllers/posts_controller.rb +84 -0
  2527. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/helpers/application_helper.rb +2 -0
  2528. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/helpers/comments_helper.rb +2 -0
  2529. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/helpers/home_helper.rb +2 -0
  2530. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/helpers/posts_helper.rb +5 -0
  2531. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/models/comment.rb +3 -0
  2532. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/models/post.rb +11 -0
  2533. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/models/tag.rb +3 -0
  2534. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/comments/_comment.html.erb +15 -0
  2535. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/comments/_form.html.erb +13 -0
  2536. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/home/index.html.erb +2 -0
  2537. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/layouts/application.html.erb +14 -0
  2538. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/_form.html.erb +32 -0
  2539. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/edit.html.erb +6 -0
  2540. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/index.html.erb +27 -0
  2541. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/new.html.erb +5 -0
  2542. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/posts/show.html.erb +31 -0
  2543. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/app/views/tags/_form.html.erb +12 -0
  2544. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/application.rb +59 -0
  2545. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/boot.rb +6 -0
  2546. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/database.yml +25 -0
  2547. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/environment.rb +5 -0
  2548. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/environments/development.rb +37 -0
  2549. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/environments/production.rb +67 -0
  2550. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/environments/test.rb +37 -0
  2551. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/backtrace_silencers.rb +7 -0
  2552. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/inflections.rb +15 -0
  2553. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/mime_types.rb +5 -0
  2554. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/secret_token.rb +7 -0
  2555. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/session_store.rb +8 -0
  2556. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/initializers/wrap_parameters.rb +14 -0
  2557. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/locales/en.yml +5 -0
  2558. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config/routes.rb +64 -0
  2559. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/config.ru +4 -0
  2560. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/migrate/20110901012504_create_posts.rb +11 -0
  2561. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/migrate/20110901012815_create_comments.rb +12 -0
  2562. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/migrate/20110901013701_create_tags.rb +11 -0
  2563. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/schema.rb +43 -0
  2564. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/db/seeds.rb +7 -0
  2565. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/doc/README_FOR_APP +2 -0
  2566. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/404.html +26 -0
  2567. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/422.html +26 -0
  2568. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/500.html +25 -0
  2569. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/favicon.ico +0 -0
  2570. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/public/robots.txt +5 -0
  2571. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/script/rails +6 -0
  2572. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/fixtures/comments.yml +11 -0
  2573. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/fixtures/posts.yml +11 -0
  2574. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/fixtures/tags.yml +9 -0
  2575. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/functional/comments_controller_test.rb +7 -0
  2576. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/functional/home_controller_test.rb +9 -0
  2577. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/functional/posts_controller_test.rb +49 -0
  2578. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/performance/browsing_test.rb +12 -0
  2579. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/test_helper.rb +13 -0
  2580. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/comment_test.rb +7 -0
  2581. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/helpers/comments_helper_test.rb +4 -0
  2582. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/helpers/home_helper_test.rb +4 -0
  2583. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/helpers/posts_helper_test.rb +4 -0
  2584. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/post_test.rb +7 -0
  2585. data/vendor/bundle/gems/railties-3.2.9/guides/code/getting_started/test/unit/tag_test.rb +7 -0
  2586. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/generator.rb +310 -0
  2587. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/helpers.rb +45 -0
  2588. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/indexer.rb +69 -0
  2589. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/levenshtein.rb +31 -0
  2590. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides/textile_extensions.rb +63 -0
  2591. data/vendor/bundle/gems/railties-3.2.9/guides/rails_guides.rb +50 -0
  2592. data/vendor/bundle/gems/railties-3.2.9/guides/source/2_2_release_notes.textile +422 -0
  2593. data/vendor/bundle/gems/railties-3.2.9/guides/source/2_3_release_notes.textile +610 -0
  2594. data/vendor/bundle/gems/railties-3.2.9/guides/source/3_0_release_notes.textile +595 -0
  2595. data/vendor/bundle/gems/railties-3.2.9/guides/source/3_1_release_notes.textile +553 -0
  2596. data/vendor/bundle/gems/railties-3.2.9/guides/source/3_2_release_notes.textile +540 -0
  2597. data/vendor/bundle/gems/railties-3.2.9/guides/source/_license.html.erb +2 -0
  2598. data/vendor/bundle/gems/railties-3.2.9/guides/source/_welcome.html.erb +19 -0
  2599. data/vendor/bundle/gems/railties-3.2.9/guides/source/action_controller_overview.textile +820 -0
  2600. data/vendor/bundle/gems/railties-3.2.9/guides/source/action_mailer_basics.textile +516 -0
  2601. data/vendor/bundle/gems/railties-3.2.9/guides/source/action_view_overview.textile +1497 -0
  2602. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_model_basics.textile +205 -0
  2603. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_record_basics.textile +218 -0
  2604. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_record_querying.textile +1433 -0
  2605. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_record_validations_callbacks.textile +1283 -0
  2606. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_resource_basics.textile +120 -0
  2607. data/vendor/bundle/gems/railties-3.2.9/guides/source/active_support_core_extensions.textile +3713 -0
  2608. data/vendor/bundle/gems/railties-3.2.9/guides/source/ajax_on_rails.textile +267 -0
  2609. data/vendor/bundle/gems/railties-3.2.9/guides/source/api_documentation_guidelines.textile +185 -0
  2610. data/vendor/bundle/gems/railties-3.2.9/guides/source/asset_pipeline.textile +707 -0
  2611. data/vendor/bundle/gems/railties-3.2.9/guides/source/association_basics.textile +1959 -0
  2612. data/vendor/bundle/gems/railties-3.2.9/guides/source/caching_with_rails.textile +437 -0
  2613. data/vendor/bundle/gems/railties-3.2.9/guides/source/command_line.textile +574 -0
  2614. data/vendor/bundle/gems/railties-3.2.9/guides/source/configuring.textile +641 -0
  2615. data/vendor/bundle/gems/railties-3.2.9/guides/source/contributing_to_ruby_on_rails.textile +448 -0
  2616. data/vendor/bundle/gems/railties-3.2.9/guides/source/credits.html.erb +72 -0
  2617. data/vendor/bundle/gems/railties-3.2.9/guides/source/debugging_rails_applications.textile +714 -0
  2618. data/vendor/bundle/gems/railties-3.2.9/guides/source/documents.yaml +157 -0
  2619. data/vendor/bundle/gems/railties-3.2.9/guides/source/engines.textile +618 -0
  2620. data/vendor/bundle/gems/railties-3.2.9/guides/source/form_helpers.textile +798 -0
  2621. data/vendor/bundle/gems/railties-3.2.9/guides/source/generators.textile +621 -0
  2622. data/vendor/bundle/gems/railties-3.2.9/guides/source/getting_started.textile +1929 -0
  2623. data/vendor/bundle/gems/railties-3.2.9/guides/source/i18n.textile +931 -0
  2624. data/vendor/bundle/gems/railties-3.2.9/guides/source/index.html.erb +30 -0
  2625. data/vendor/bundle/gems/railties-3.2.9/guides/source/initialization.textile +1116 -0
  2626. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/KINDLE.md +26 -0
  2627. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/copyright.html.erb +1 -0
  2628. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/layout.html.erb +27 -0
  2629. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/rails_guides.opf.erb +52 -0
  2630. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/toc.html.erb +24 -0
  2631. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/toc.ncx.erb +64 -0
  2632. data/vendor/bundle/gems/railties-3.2.9/guides/source/kindle/welcome.html.erb +5 -0
  2633. data/vendor/bundle/gems/railties-3.2.9/guides/source/layout.html.erb +124 -0
  2634. data/vendor/bundle/gems/railties-3.2.9/guides/source/layouts_and_rendering.textile +1237 -0
  2635. data/vendor/bundle/gems/railties-3.2.9/guides/source/migrations.textile +900 -0
  2636. data/vendor/bundle/gems/railties-3.2.9/guides/source/nested_model_forms.textile +222 -0
  2637. data/vendor/bundle/gems/railties-3.2.9/guides/source/performance_testing.textile +597 -0
  2638. data/vendor/bundle/gems/railties-3.2.9/guides/source/plugins.textile +464 -0
  2639. data/vendor/bundle/gems/railties-3.2.9/guides/source/rails_application_templates.textile +240 -0
  2640. data/vendor/bundle/gems/railties-3.2.9/guides/source/rails_on_rack.textile +236 -0
  2641. data/vendor/bundle/gems/railties-3.2.9/guides/source/routing.textile +885 -0
  2642. data/vendor/bundle/gems/railties-3.2.9/guides/source/ruby_on_rails_guides_guidelines.textile +79 -0
  2643. data/vendor/bundle/gems/railties-3.2.9/guides/source/security.textile +1004 -0
  2644. data/vendor/bundle/gems/railties-3.2.9/guides/source/testing.textile +947 -0
  2645. data/vendor/bundle/gems/railties-3.2.9/guides/w3c_validator.rb +91 -0
  2646. data/vendor/bundle/gems/railties-3.2.9/lib/rails/all.rb +15 -0
  2647. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/bootstrap.rb +73 -0
  2648. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/configuration.rb +151 -0
  2649. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/finisher.rb +98 -0
  2650. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/railties.rb +13 -0
  2651. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/route_inspector.rb +84 -0
  2652. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application/routes_reloader.rb +56 -0
  2653. data/vendor/bundle/gems/railties-3.2.9/lib/rails/application.rb +320 -0
  2654. data/vendor/bundle/gems/railties-3.2.9/lib/rails/backtrace_cleaner.rb +42 -0
  2655. data/vendor/bundle/gems/railties-3.2.9/lib/rails/cli.rb +16 -0
  2656. data/vendor/bundle/gems/railties-3.2.9/lib/rails/code_statistics.rb +118 -0
  2657. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/application.rb +38 -0
  2658. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/benchmarker.rb +34 -0
  2659. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/console.rb +55 -0
  2660. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/dbconsole.rb +123 -0
  2661. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/destroy.rb +10 -0
  2662. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/generate.rb +12 -0
  2663. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/plugin.rb +544 -0
  2664. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/plugin_new.rb +11 -0
  2665. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/profiler.rb +32 -0
  2666. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/runner.rb +54 -0
  2667. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/server.rb +100 -0
  2668. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands/update.rb +9 -0
  2669. data/vendor/bundle/gems/railties-3.2.9/lib/rails/commands.rb +104 -0
  2670. data/vendor/bundle/gems/railties-3.2.9/lib/rails/configuration.rb +89 -0
  2671. data/vendor/bundle/gems/railties-3.2.9/lib/rails/console/app.rb +36 -0
  2672. data/vendor/bundle/gems/railties-3.2.9/lib/rails/console/helpers.rb +11 -0
  2673. data/vendor/bundle/gems/railties-3.2.9/lib/rails/engine/commands.rb +43 -0
  2674. data/vendor/bundle/gems/railties-3.2.9/lib/rails/engine/configuration.rb +84 -0
  2675. data/vendor/bundle/gems/railties-3.2.9/lib/rails/engine/railties.rb +33 -0
  2676. data/vendor/bundle/gems/railties-3.2.9/lib/rails/engine.rb +657 -0
  2677. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/actions.rb +325 -0
  2678. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/active_model.rb +78 -0
  2679. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/app_base.rb +281 -0
  2680. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/base.rb +390 -0
  2681. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/css/assets/assets_generator.rb +13 -0
  2682. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
  2683. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
  2684. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/controller/controller_generator.rb +20 -0
  2685. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
  2686. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/mailer/mailer_generator.rb +13 -0
  2687. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
  2688. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/scaffold_generator.rb +29 -0
  2689. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/_form.html.erb +23 -0
  2690. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
  2691. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/index.html.erb +27 -0
  2692. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
  2693. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb/scaffold/templates/show.html.erb +12 -0
  2694. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/erb.rb +21 -0
  2695. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/generated_attribute.rb +107 -0
  2696. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/js/assets/assets_generator.rb +13 -0
  2697. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/js/assets/templates/javascript.js +2 -0
  2698. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/migration.rb +68 -0
  2699. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/named_base.rb +202 -0
  2700. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/USAGE +15 -0
  2701. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/app_generator.rb +303 -0
  2702. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/Gemfile +26 -0
  2703. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/README +261 -0
  2704. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/Rakefile +7 -0
  2705. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/assets/images/rails.png +0 -0
  2706. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +17 -0
  2707. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +13 -0
  2708. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +3 -0
  2709. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
  2710. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +14 -0
  2711. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/application.rb +74 -0
  2712. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/boot.rb +6 -0
  2713. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +31 -0
  2714. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +86 -0
  2715. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +62 -0
  2716. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +33 -0
  2717. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +43 -0
  2718. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +20 -0
  2719. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +54 -0
  2720. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +39 -0
  2721. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +55 -0
  2722. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
  2723. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
  2724. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +41 -0
  2725. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +73 -0
  2726. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +39 -0
  2727. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
  2728. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +15 -0
  2729. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +5 -0
  2730. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt +7 -0
  2731. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +8 -0
  2732. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
  2733. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/locales/en.yml +5 -0
  2734. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config/routes.rb +58 -0
  2735. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/config.ru +4 -0
  2736. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
  2737. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/doc/README_FOR_APP +2 -0
  2738. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/gitignore +15 -0
  2739. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/404.html +26 -0
  2740. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/422.html +26 -0
  2741. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/500.html +25 -0
  2742. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
  2743. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/index.html +241 -0
  2744. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
  2745. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/script/rails +5 -0
  2746. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb +12 -0
  2747. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/app/templates/test/test_helper.rb +15 -0
  2748. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/assets/USAGE +20 -0
  2749. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
  2750. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
  2751. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
  2752. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/USAGE +18 -0
  2753. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/controller_generator.rb +20 -0
  2754. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/controller/templates/controller.rb +13 -0
  2755. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/generator/USAGE +12 -0
  2756. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/generator/generator_generator.rb +25 -0
  2757. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
  2758. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
  2759. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/helper/USAGE +17 -0
  2760. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
  2761. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
  2762. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/integration_test/USAGE +10 -0
  2763. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
  2764. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/migration/USAGE +29 -0
  2765. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
  2766. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/model/USAGE +45 -0
  2767. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/model/model_generator.rb +8 -0
  2768. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/observer/USAGE +12 -0
  2769. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/observer/observer_generator.rb +7 -0
  2770. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/performance_test/USAGE +10 -0
  2771. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/performance_test/performance_test_generator.rb +7 -0
  2772. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/USAGE +10 -0
  2773. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +318 -0
  2774. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +29 -0
  2775. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/Gemfile +23 -0
  2776. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE +20 -0
  2777. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/README.rdoc +3 -0
  2778. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/Rakefile +31 -0
  2779. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt +4 -0
  2780. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt +4 -0
  2781. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt +14 -0
  2782. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/config/routes.rb +6 -0
  2783. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/gitignore +7 -0
  2784. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb +7 -0
  2785. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb +3 -0
  2786. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb +6 -0
  2787. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake +4 -0
  2788. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +18 -0
  2789. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb +10 -0
  2790. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/rails/routes.rb +4 -0
  2791. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/script/rails.tt +7 -0
  2792. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb +7 -0
  2793. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +12 -0
  2794. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +15 -0
  2795. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/resource/USAGE +23 -0
  2796. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/resource/resource_generator.rb +20 -0
  2797. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/resource_route/resource_route_generator.rb +50 -0
  2798. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold/USAGE +35 -0
  2799. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold/scaffold_generator.rb +23 -0
  2800. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold/templates/scaffold.css +56 -0
  2801. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold_controller/USAGE +19 -0
  2802. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +25 -0
  2803. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +89 -0
  2804. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/session_migration/USAGE +8 -0
  2805. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/session_migration/session_migration_generator.rb +8 -0
  2806. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/task/USAGE +9 -0
  2807. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/task/task_generator.rb +12 -0
  2808. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/rails/task/templates/task.rb +8 -0
  2809. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/resource_helpers.rb +80 -0
  2810. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_case.rb +247 -0
  2811. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
  2812. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/controller/templates/functional_test.rb +19 -0
  2813. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/helper/helper_generator.rb +13 -0
  2814. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/helper/templates/helper_test.rb +6 -0
  2815. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
  2816. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
  2817. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/mailer/mailer_generator.rb +14 -0
  2818. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
  2819. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/model/model_generator.rb +24 -0
  2820. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/model/templates/fixtures.yml +23 -0
  2821. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
  2822. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/observer/observer_generator.rb +13 -0
  2823. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/observer/templates/unit_test.rb +9 -0
  2824. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/performance/performance_generator.rb +13 -0
  2825. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/performance/templates/performance_test.rb +12 -0
  2826. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
  2827. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
  2828. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +3 -0
  2829. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +38 -0
  2830. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +51 -0
  2831. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators/test_unit.rb +8 -0
  2832. data/vendor/bundle/gems/railties-3.2.9/lib/rails/generators.rb +339 -0
  2833. data/vendor/bundle/gems/railties-3.2.9/lib/rails/info.rb +116 -0
  2834. data/vendor/bundle/gems/railties-3.2.9/lib/rails/info_controller.rb +15 -0
  2835. data/vendor/bundle/gems/railties-3.2.9/lib/rails/initializable.rb +89 -0
  2836. data/vendor/bundle/gems/railties-3.2.9/lib/rails/paths.rb +211 -0
  2837. data/vendor/bundle/gems/railties-3.2.9/lib/rails/performance_test_help.rb +3 -0
  2838. data/vendor/bundle/gems/railties-3.2.9/lib/rails/plugin.rb +92 -0
  2839. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rack/debugger.rb +24 -0
  2840. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rack/log_tailer.rb +34 -0
  2841. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rack/logger.rb +60 -0
  2842. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rack.rb +7 -0
  2843. data/vendor/bundle/gems/railties-3.2.9/lib/rails/railtie/configurable.rb +35 -0
  2844. data/vendor/bundle/gems/railties-3.2.9/lib/rails/railtie/configuration.rb +90 -0
  2845. data/vendor/bundle/gems/railties-3.2.9/lib/rails/railtie.rb +202 -0
  2846. data/vendor/bundle/gems/railties-3.2.9/lib/rails/ruby_version_check.rb +23 -0
  2847. data/vendor/bundle/gems/railties-3.2.9/lib/rails/rubyprof_ext.rb +35 -0
  2848. data/vendor/bundle/gems/railties-3.2.9/lib/rails/script_rails_loader.rb +29 -0
  2849. data/vendor/bundle/gems/railties-3.2.9/lib/rails/source_annotation_extractor.rb +104 -0
  2850. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/annotations.rake +20 -0
  2851. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/documentation.rake +155 -0
  2852. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/engine.rake +72 -0
  2853. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/framework.rake +76 -0
  2854. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/log.rake +9 -0
  2855. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/middleware.rake +7 -0
  2856. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/misc.rake +67 -0
  2857. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/routes.rake +9 -0
  2858. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/statistics.rake +16 -0
  2859. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks/tmp.rake +37 -0
  2860. data/vendor/bundle/gems/railties-3.2.9/lib/rails/tasks.rb +16 -0
  2861. data/vendor/bundle/gems/railties-3.2.9/lib/rails/test_help.rb +56 -0
  2862. data/vendor/bundle/gems/railties-3.2.9/lib/rails/test_unit/railtie.rb +15 -0
  2863. data/vendor/bundle/gems/railties-3.2.9/lib/rails/test_unit/sub_test_task.rb +8 -0
  2864. data/vendor/bundle/gems/railties-3.2.9/lib/rails/test_unit/testing.rake +146 -0
  2865. data/vendor/bundle/gems/railties-3.2.9/lib/rails/version.rb +10 -0
  2866. data/vendor/bundle/gems/railties-3.2.9/lib/rails.rb +126 -0
  2867. data/vendor/bundle/gems/rake-10.0.2/CHANGES +526 -0
  2868. data/vendor/bundle/gems/rake-10.0.2/MIT-LICENSE +21 -0
  2869. data/vendor/bundle/gems/rake-10.0.2/README.rdoc +187 -0
  2870. data/vendor/bundle/gems/rake-10.0.2/Rakefile +374 -0
  2871. data/vendor/bundle/gems/rake-10.0.2/TODO +21 -0
  2872. data/vendor/bundle/gems/rake-10.0.2/bin/rake +37 -0
  2873. data/vendor/bundle/gems/rake-10.0.2/doc/command_line_usage.rdoc +152 -0
  2874. data/vendor/bundle/gems/rake-10.0.2/doc/example/Rakefile1 +38 -0
  2875. data/vendor/bundle/gems/rake-10.0.2/doc/example/Rakefile2 +35 -0
  2876. data/vendor/bundle/gems/rake-10.0.2/doc/example/a.c +6 -0
  2877. data/vendor/bundle/gems/rake-10.0.2/doc/example/b.c +6 -0
  2878. data/vendor/bundle/gems/rake-10.0.2/doc/example/main.c +11 -0
  2879. data/vendor/bundle/gems/rake-10.0.2/doc/glossary.rdoc +51 -0
  2880. data/vendor/bundle/gems/rake-10.0.2/doc/jamis.rb +591 -0
  2881. data/vendor/bundle/gems/rake-10.0.2/doc/proto_rake.rdoc +127 -0
  2882. data/vendor/bundle/gems/rake-10.0.2/doc/rake.1.gz +0 -0
  2883. data/vendor/bundle/gems/rake-10.0.2/doc/rakefile.rdoc +557 -0
  2884. data/vendor/bundle/gems/rake-10.0.2/doc/rational.rdoc +151 -0
  2885. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
  2886. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
  2887. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
  2888. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
  2889. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
  2890. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
  2891. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
  2892. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
  2893. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
  2894. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
  2895. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
  2896. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
  2897. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
  2898. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
  2899. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
  2900. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.8.6.rdoc +55 -0
  2901. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
  2902. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
  2903. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
  2904. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  2905. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
  2906. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
  2907. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.9.4.rdoc +110 -0
  2908. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-0.9.5.rdoc +114 -0
  2909. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
  2910. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-10.0.1.rdoc +187 -0
  2911. data/vendor/bundle/gems/rake-10.0.2/doc/release_notes/rake-10.0.2.rdoc +191 -0
  2912. data/vendor/bundle/gems/rake-10.0.2/install.rb +90 -0
  2913. data/vendor/bundle/gems/rake-10.0.2/lib/rake/alt_system.rb +109 -0
  2914. data/vendor/bundle/gems/rake-10.0.2/lib/rake/application.rb +667 -0
  2915. data/vendor/bundle/gems/rake-10.0.2/lib/rake/backtrace.rb +18 -0
  2916. data/vendor/bundle/gems/rake-10.0.2/lib/rake/clean.rb +32 -0
  2917. data/vendor/bundle/gems/rake-10.0.2/lib/rake/cloneable.rb +16 -0
  2918. data/vendor/bundle/gems/rake-10.0.2/lib/rake/contrib/compositepublisher.rb +21 -0
  2919. data/vendor/bundle/gems/rake-10.0.2/lib/rake/contrib/ftptools.rb +151 -0
  2920. data/vendor/bundle/gems/rake-10.0.2/lib/rake/contrib/publisher.rb +73 -0
  2921. data/vendor/bundle/gems/rake-10.0.2/lib/rake/contrib/rubyforgepublisher.rb +16 -0
  2922. data/vendor/bundle/gems/rake-10.0.2/lib/rake/contrib/sshpublisher.rb +50 -0
  2923. data/vendor/bundle/gems/rake-10.0.2/lib/rake/default_loader.rb +10 -0
  2924. data/vendor/bundle/gems/rake-10.0.2/lib/rake/dsl_definition.rb +156 -0
  2925. data/vendor/bundle/gems/rake-10.0.2/lib/rake/early_time.rb +18 -0
  2926. data/vendor/bundle/gems/rake-10.0.2/lib/rake/ext/core.rb +27 -0
  2927. data/vendor/bundle/gems/rake-10.0.2/lib/rake/ext/module.rb +0 -0
  2928. data/vendor/bundle/gems/rake-10.0.2/lib/rake/ext/string.rb +168 -0
  2929. data/vendor/bundle/gems/rake-10.0.2/lib/rake/ext/time.rb +15 -0
  2930. data/vendor/bundle/gems/rake-10.0.2/lib/rake/file_creation_task.rb +24 -0
  2931. data/vendor/bundle/gems/rake-10.0.2/lib/rake/file_list.rb +410 -0
  2932. data/vendor/bundle/gems/rake-10.0.2/lib/rake/file_task.rb +47 -0
  2933. data/vendor/bundle/gems/rake-10.0.2/lib/rake/file_utils.rb +114 -0
  2934. data/vendor/bundle/gems/rake-10.0.2/lib/rake/file_utils_ext.rb +146 -0
  2935. data/vendor/bundle/gems/rake-10.0.2/lib/rake/invocation_chain.rb +51 -0
  2936. data/vendor/bundle/gems/rake-10.0.2/lib/rake/invocation_exception_mixin.rb +16 -0
  2937. data/vendor/bundle/gems/rake-10.0.2/lib/rake/loaders/makefile.rb +40 -0
  2938. data/vendor/bundle/gems/rake-10.0.2/lib/rake/multi_task.rb +13 -0
  2939. data/vendor/bundle/gems/rake-10.0.2/lib/rake/name_space.rb +25 -0
  2940. data/vendor/bundle/gems/rake-10.0.2/lib/rake/packagetask.rb +185 -0
  2941. data/vendor/bundle/gems/rake-10.0.2/lib/rake/pathmap.rb +1 -0
  2942. data/vendor/bundle/gems/rake-10.0.2/lib/rake/phony.rb +15 -0
  2943. data/vendor/bundle/gems/rake-10.0.2/lib/rake/private_reader.rb +20 -0
  2944. data/vendor/bundle/gems/rake-10.0.2/lib/rake/promise.rb +99 -0
  2945. data/vendor/bundle/gems/rake-10.0.2/lib/rake/pseudo_status.rb +24 -0
  2946. data/vendor/bundle/gems/rake-10.0.2/lib/rake/rake_module.rb +37 -0
  2947. data/vendor/bundle/gems/rake-10.0.2/lib/rake/rake_test_loader.rb +22 -0
  2948. data/vendor/bundle/gems/rake-10.0.2/lib/rake/ruby182_test_unit_fix.rb +25 -0
  2949. data/vendor/bundle/gems/rake-10.0.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  2950. data/vendor/bundle/gems/rake-10.0.2/lib/rake/runtest.rb +22 -0
  2951. data/vendor/bundle/gems/rake-10.0.2/lib/rake/task.rb +349 -0
  2952. data/vendor/bundle/gems/rake-10.0.2/lib/rake/task_argument_error.rb +7 -0
  2953. data/vendor/bundle/gems/rake-10.0.2/lib/rake/task_arguments.rb +78 -0
  2954. data/vendor/bundle/gems/rake-10.0.2/lib/rake/task_manager.rb +296 -0
  2955. data/vendor/bundle/gems/rake-10.0.2/lib/rake/tasklib.rb +22 -0
  2956. data/vendor/bundle/gems/rake-10.0.2/lib/rake/testtask.rb +198 -0
  2957. data/vendor/bundle/gems/rake-10.0.2/lib/rake/thread_history_display.rb +48 -0
  2958. data/vendor/bundle/gems/rake-10.0.2/lib/rake/thread_pool.rb +155 -0
  2959. data/vendor/bundle/gems/rake-10.0.2/lib/rake/version.rb +10 -0
  2960. data/vendor/bundle/gems/rake-10.0.2/lib/rake/win32.rb +55 -0
  2961. data/vendor/bundle/gems/rake-10.0.2/lib/rake.rb +70 -0
  2962. data/vendor/bundle/gems/rake-10.0.2/test/file_creation.rb +34 -0
  2963. data/vendor/bundle/gems/rake-10.0.2/test/helper.rb +549 -0
  2964. data/vendor/bundle/gems/rake-10.0.2/test/test_private_reader.rb +42 -0
  2965. data/vendor/bundle/gems/rake-10.0.2/test/test_rake.rb +40 -0
  2966. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_application.rb +515 -0
  2967. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_application_options.rb +443 -0
  2968. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_backtrace.rb +81 -0
  2969. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_clean.rb +14 -0
  2970. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_definitions.rb +80 -0
  2971. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_directory_task.rb +57 -0
  2972. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_dsl.rb +40 -0
  2973. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_early_time.rb +31 -0
  2974. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_extension.rb +59 -0
  2975. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_file_creation_task.rb +56 -0
  2976. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_file_list.rb +628 -0
  2977. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_file_list_path_map.rb +8 -0
  2978. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_file_task.rb +122 -0
  2979. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_file_utils.rb +305 -0
  2980. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_ftp_file.rb +59 -0
  2981. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_functional.rb +489 -0
  2982. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_invocation_chain.rb +52 -0
  2983. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_makefile_loader.rb +44 -0
  2984. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_multi_task.rb +59 -0
  2985. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_name_space.rb +43 -0
  2986. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_package_task.rb +79 -0
  2987. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_path_map.rb +157 -0
  2988. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_path_map_explode.rb +34 -0
  2989. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_path_map_partial.rb +18 -0
  2990. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_pseudo_status.rb +21 -0
  2991. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_rake_test_loader.rb +21 -0
  2992. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_reduce_compat.rb +30 -0
  2993. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_require.rb +40 -0
  2994. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_rules.rb +327 -0
  2995. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_task.rb +316 -0
  2996. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_task_argument_parsing.rb +103 -0
  2997. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_task_arguments.rb +88 -0
  2998. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_task_lib.rb +9 -0
  2999. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_task_manager.rb +157 -0
  3000. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_task_manager_argument_resolution.rb +19 -0
  3001. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_task_with_arguments.rb +162 -0
  3002. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_test_task.rb +120 -0
  3003. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_thread_pool.rb +123 -0
  3004. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_top_level_functions.rb +71 -0
  3005. data/vendor/bundle/gems/rake-10.0.2/test/test_rake_win32.rb +72 -0
  3006. data/vendor/bundle/gems/rake-10.0.2/test/test_thread_history_display.rb +91 -0
  3007. data/vendor/bundle/gems/rdiscount-1.6.8/BUILDING +34 -0
  3008. data/vendor/bundle/gems/rdiscount-1.6.8/COPYING +52 -0
  3009. data/vendor/bundle/gems/rdiscount-1.6.8/README.markdown +71 -0
  3010. data/vendor/bundle/gems/rdiscount-1.6.8/Rakefile +181 -0
  3011. data/vendor/bundle/gems/rdiscount-1.6.8/bin/rdiscount +13 -0
  3012. data/vendor/bundle/gems/rdiscount-1.6.8/ext/Csio.c +61 -0
  3013. data/vendor/bundle/gems/rdiscount-1.6.8/ext/Csio.o +0 -0
  3014. data/vendor/bundle/gems/rdiscount-1.6.8/ext/Makefile +187 -0
  3015. data/vendor/bundle/gems/rdiscount-1.6.8/ext/amalloc.h +29 -0
  3016. data/vendor/bundle/gems/rdiscount-1.6.8/ext/basename.c +43 -0
  3017. data/vendor/bundle/gems/rdiscount-1.6.8/ext/basename.o +0 -0
  3018. data/vendor/bundle/gems/rdiscount-1.6.8/ext/config.h +21 -0
  3019. data/vendor/bundle/gems/rdiscount-1.6.8/ext/css.c +76 -0
  3020. data/vendor/bundle/gems/rdiscount-1.6.8/ext/css.o +0 -0
  3021. data/vendor/bundle/gems/rdiscount-1.6.8/ext/cstring.h +77 -0
  3022. data/vendor/bundle/gems/rdiscount-1.6.8/ext/docheader.c +43 -0
  3023. data/vendor/bundle/gems/rdiscount-1.6.8/ext/docheader.o +0 -0
  3024. data/vendor/bundle/gems/rdiscount-1.6.8/ext/dumptree.c +152 -0
  3025. data/vendor/bundle/gems/rdiscount-1.6.8/ext/dumptree.o +0 -0
  3026. data/vendor/bundle/gems/rdiscount-1.6.8/ext/emmatch.c +188 -0
  3027. data/vendor/bundle/gems/rdiscount-1.6.8/ext/emmatch.o +0 -0
  3028. data/vendor/bundle/gems/rdiscount-1.6.8/ext/extconf.rb +10 -0
  3029. data/vendor/bundle/gems/rdiscount-1.6.8/ext/generate.c +1557 -0
  3030. data/vendor/bundle/gems/rdiscount-1.6.8/ext/generate.o +0 -0
  3031. data/vendor/bundle/gems/rdiscount-1.6.8/ext/html5.c +24 -0
  3032. data/vendor/bundle/gems/rdiscount-1.6.8/ext/html5.o +0 -0
  3033. data/vendor/bundle/gems/rdiscount-1.6.8/ext/markdown.c +1102 -0
  3034. data/vendor/bundle/gems/rdiscount-1.6.8/ext/markdown.h +160 -0
  3035. data/vendor/bundle/gems/rdiscount-1.6.8/ext/markdown.o +0 -0
  3036. data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkdio.c +337 -0
  3037. data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkdio.h +90 -0
  3038. data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkdio.o +0 -0
  3039. data/vendor/bundle/gems/rdiscount-1.6.8/ext/mkmf.log +64 -0
  3040. data/vendor/bundle/gems/rdiscount-1.6.8/ext/rdiscount.bundle +0 -0
  3041. data/vendor/bundle/gems/rdiscount-1.6.8/ext/rdiscount.c +129 -0
  3042. data/vendor/bundle/gems/rdiscount-1.6.8/ext/rdiscount.o +0 -0
  3043. data/vendor/bundle/gems/rdiscount-1.6.8/ext/resource.c +155 -0
  3044. data/vendor/bundle/gems/rdiscount-1.6.8/ext/resource.o +0 -0
  3045. data/vendor/bundle/gems/rdiscount-1.6.8/ext/tags.c +110 -0
  3046. data/vendor/bundle/gems/rdiscount-1.6.8/ext/tags.h +18 -0
  3047. data/vendor/bundle/gems/rdiscount-1.6.8/ext/tags.o +0 -0
  3048. data/vendor/bundle/gems/rdiscount-1.6.8/ext/toc.c +90 -0
  3049. data/vendor/bundle/gems/rdiscount-1.6.8/ext/toc.o +0 -0
  3050. data/vendor/bundle/gems/rdiscount-1.6.8/ext/xml.c +82 -0
  3051. data/vendor/bundle/gems/rdiscount-1.6.8/ext/xml.o +0 -0
  3052. data/vendor/bundle/gems/rdiscount-1.6.8/lib/markdown.rb +1 -0
  3053. data/vendor/bundle/gems/rdiscount-1.6.8/lib/rdiscount.bundle +0 -0
  3054. data/vendor/bundle/gems/rdiscount-1.6.8/lib/rdiscount.rb +96 -0
  3055. data/vendor/bundle/gems/rdiscount-1.6.8/man/markdown.7 +1020 -0
  3056. data/vendor/bundle/gems/rdiscount-1.6.8/man/rdiscount.1 +22 -0
  3057. data/vendor/bundle/gems/rdiscount-1.6.8/man/rdiscount.1.ronn +24 -0
  3058. data/vendor/bundle/gems/rdiscount-1.6.8/rdiscount.gemspec +58 -0
  3059. data/vendor/bundle/gems/rdiscount-1.6.8/test/benchmark.rb +56 -0
  3060. data/vendor/bundle/gems/rdiscount-1.6.8/test/benchmark.txt +306 -0
  3061. data/vendor/bundle/gems/rdiscount-1.6.8/test/markdown_test.rb +158 -0
  3062. data/vendor/bundle/gems/rdiscount-1.6.8/test/rdiscount_test.rb +111 -0
  3063. data/vendor/bundle/gems/rdoc-3.12/DEVELOPERS.rdoc +141 -0
  3064. data/vendor/bundle/gems/rdoc-3.12/History.rdoc +962 -0
  3065. data/vendor/bundle/gems/rdoc-3.12/LEGAL.rdoc +27 -0
  3066. data/vendor/bundle/gems/rdoc-3.12/LICENSE.rdoc +57 -0
  3067. data/vendor/bundle/gems/rdoc-3.12/Manifest.txt +228 -0
  3068. data/vendor/bundle/gems/rdoc-3.12/README.rdoc +61 -0
  3069. data/vendor/bundle/gems/rdoc-3.12/RI.rdoc +57 -0
  3070. data/vendor/bundle/gems/rdoc-3.12/Rakefile +135 -0
  3071. data/vendor/bundle/gems/rdoc-3.12/TODO.rdoc +40 -0
  3072. data/vendor/bundle/gems/rdoc-3.12/bin/rdoc +40 -0
  3073. data/vendor/bundle/gems/rdoc-3.12/bin/ri +12 -0
  3074. data/vendor/bundle/gems/rdoc-3.12/lib/gauntlet_rdoc.rb +84 -0
  3075. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/alias.rb +111 -0
  3076. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/anon_class.rb +10 -0
  3077. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/any_method.rb +208 -0
  3078. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/attr.rb +134 -0
  3079. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/class_module.rb +619 -0
  3080. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_object.rb +305 -0
  3081. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_objects.rb +5 -0
  3082. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/comment.rb +225 -0
  3083. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/constant.rb +84 -0
  3084. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context/section.rb +123 -0
  3085. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context.rb +1136 -0
  3086. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/cross_reference.rb +175 -0
  3087. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/encoding.rb +90 -0
  3088. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/erbio.rb +37 -0
  3089. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/darkfish.rb +532 -0
  3090. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/json_index.rb +240 -0
  3091. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/markup.rb +171 -0
  3092. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/ri.rb +83 -0
  3093. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  3094. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_head.rhtml +16 -0
  3095. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +18 -0
  3096. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
  3097. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +8 -0
  3098. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +16 -0
  3099. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
  3100. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +7 -0
  3101. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
  3102. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +10 -0
  3103. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +10 -0
  3104. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +10 -0
  3105. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/class.rhtml +165 -0
  3106. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
  3107. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
  3108. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  3109. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
  3110. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  3111. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  3112. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  3113. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
  3114. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
  3115. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
  3116. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  3117. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  3118. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
  3119. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  3120. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  3121. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  3122. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  3123. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  3124. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  3125. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  3126. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  3127. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  3128. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  3129. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  3130. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/index.rhtml +19 -0
  3131. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/darkfish.js +153 -0
  3132. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/jquery.js +18 -0
  3133. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/search.js +94 -0
  3134. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/page.rhtml +16 -0
  3135. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/rdoc.css +543 -0
  3136. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +55 -0
  3137. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/navigation.js +142 -0
  3138. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/searcher.js +228 -0
  3139. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator.rb +45 -0
  3140. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ghost_method.rb +6 -0
  3141. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/include.rb +110 -0
  3142. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/known_classes.rb +72 -0
  3143. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_changer.rb +25 -0
  3144. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_span.rb +29 -0
  3145. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute.rb +51 -0
  3146. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute_manager.rb +335 -0
  3147. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/blank_line.rb +27 -0
  3148. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/document.rb +148 -0
  3149. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter.rb +173 -0
  3150. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter_test_case.rb +698 -0
  3151. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/heading.rb +64 -0
  3152. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/include.rb +42 -0
  3153. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/indented_paragraph.rb +33 -0
  3154. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/inline.rb +1 -0
  3155. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list.rb +82 -0
  3156. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list_item.rb +86 -0
  3157. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/paragraph.rb +14 -0
  3158. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/parser.rb +504 -0
  3159. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/pre_process.rb +293 -0
  3160. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/raw.rb +69 -0
  3161. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/rule.rb +20 -0
  3162. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/special.rb +40 -0
  3163. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/text_formatter_test_case.rb +114 -0
  3164. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_ansi.rb +87 -0
  3165. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_bs.rb +78 -0
  3166. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html.rb +394 -0
  3167. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_crossref.rb +156 -0
  3168. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_snippet.rb +268 -0
  3169. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_label.rb +55 -0
  3170. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_rdoc.rb +302 -0
  3171. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_table_of_contents.rb +56 -0
  3172. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_test.rb +69 -0
  3173. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_tt_only.rb +111 -0
  3174. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/verbatim.rb +64 -0
  3175. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup.rb +813 -0
  3176. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/meta_method.rb +6 -0
  3177. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/method_attr.rb +384 -0
  3178. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_class.rb +69 -0
  3179. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_module.rb +64 -0
  3180. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/options.rb +1040 -0
  3181. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/c.rb +1024 -0
  3182. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/rd.rb +22 -0
  3183. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby.rb +1816 -0
  3184. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby_tools.rb +162 -0
  3185. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/simple.rb +61 -0
  3186. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/text.rb +11 -0
  3187. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser.rb +242 -0
  3188. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/block_parser.ry +638 -0
  3189. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline.rb +71 -0
  3190. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline_parser.ry +593 -0
  3191. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd.rb +95 -0
  3192. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rdoc.rb +532 -0
  3193. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/require.rb +51 -0
  3194. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/driver.rb +1174 -0
  3195. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/formatter.rb +5 -0
  3196. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/paths.rb +128 -0
  3197. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/store.rb +357 -0
  3198. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri.rb +20 -0
  3199. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_lex.rb +1334 -0
  3200. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_token.rb +458 -0
  3201. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rubygems_hook.rb +220 -0
  3202. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/single_class.rb +21 -0
  3203. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/normal.rb +48 -0
  3204. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/quiet.rb +59 -0
  3205. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/verbose.rb +45 -0
  3206. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats.rb +436 -0
  3207. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/task.rb +329 -0
  3208. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/test_case.rb +76 -0
  3209. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/text.rb +314 -0
  3210. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/token_stream.rb +95 -0
  3211. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/tom_doc.rb +232 -0
  3212. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/top_level.rb +523 -0
  3213. data/vendor/bundle/gems/rdoc-3.12/lib/rdoc.rb +221 -0
  3214. data/vendor/bundle/gems/rdoc-3.12/test/README +1 -0
  3215. data/vendor/bundle/gems/rdoc-3.12/test/binary.dat +0 -0
  3216. data/vendor/bundle/gems/rdoc-3.12/test/hidden.zip.txt +1 -0
  3217. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.large.rdoc +3 -0
  3218. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.rdoc +10 -0
  3219. data/vendor/bundle/gems/rdoc-3.12/test/test.ja.txt +8 -0
  3220. data/vendor/bundle/gems/rdoc-3.12/test/test.txt +1 -0
  3221. data/vendor/bundle/gems/rdoc-3.12/test/test_attribute_manager.rb +117 -0
  3222. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_alias.rb +13 -0
  3223. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_any_method.rb +248 -0
  3224. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_attr.rb +136 -0
  3225. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_class_module.rb +814 -0
  3226. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_code_object.rb +297 -0
  3227. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_comment.rb +504 -0
  3228. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_constant.rb +15 -0
  3229. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context.rb +791 -0
  3230. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context_section.rb +53 -0
  3231. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_cross_reference.rb +176 -0
  3232. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_encoding.rb +188 -0
  3233. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_darkfish.rb +151 -0
  3234. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_json_index.rb +255 -0
  3235. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_markup.rb +56 -0
  3236. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_ri.rb +84 -0
  3237. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_include.rb +96 -0
  3238. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup.rb +95 -0
  3239. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_attribute_manager.rb +237 -0
  3240. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_document.rb +180 -0
  3241. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_formatter.rb +55 -0
  3242. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_heading.rb +20 -0
  3243. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_include.rb +19 -0
  3244. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_indented_paragraph.rb +39 -0
  3245. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_paragraph.rb +18 -0
  3246. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_parser.rb +1624 -0
  3247. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_pre_process.rb +461 -0
  3248. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_raw.rb +29 -0
  3249. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_ansi.rb +348 -0
  3250. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_bs.rb +342 -0
  3251. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html.rb +515 -0
  3252. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_crossref.rb +200 -0
  3253. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_snippet.rb +668 -0
  3254. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_label.rb +50 -0
  3255. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_rdoc.rb +357 -0
  3256. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_table_of_contents.rb +90 -0
  3257. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_tt_only.rb +226 -0
  3258. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_verbatim.rb +16 -0
  3259. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_method_attr.rb +150 -0
  3260. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_class.rb +23 -0
  3261. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_module.rb +37 -0
  3262. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_options.rb +579 -0
  3263. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser.rb +162 -0
  3264. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_c.rb +1438 -0
  3265. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_rd.rb +52 -0
  3266. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_ruby.rb +2490 -0
  3267. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_simple.rb +115 -0
  3268. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb +30 -0
  3269. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_block_parser.rb +527 -0
  3270. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline.rb +63 -0
  3271. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline_parser.rb +173 -0
  3272. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rdoc.rb +280 -0
  3273. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_require.rb +25 -0
  3274. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_driver.rb +1059 -0
  3275. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_paths.rb +46 -0
  3276. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_store.rb +466 -0
  3277. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ruby_lex.rb +137 -0
  3278. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rubygems_hook.rb +202 -0
  3279. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_single_class.rb +12 -0
  3280. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_stats.rb +588 -0
  3281. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_task.rb +120 -0
  3282. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_text.rb +542 -0
  3283. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_token_stream.rb +42 -0
  3284. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_tom_doc.rb +458 -0
  3285. data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_top_level.rb +313 -0
  3286. data/vendor/bundle/gems/rdoc-3.12/test/xref_data.rb +76 -0
  3287. data/vendor/bundle/gems/rdoc-3.12/test/xref_test_case.rb +67 -0
  3288. data/vendor/bundle/gems/shoulda-3.3.2/Appraisals +15 -0
  3289. data/vendor/bundle/gems/shoulda-3.3.2/CONTRIBUTING.md +38 -0
  3290. data/vendor/bundle/gems/shoulda-3.3.2/Gemfile +3 -0
  3291. data/vendor/bundle/gems/shoulda-3.3.2/MIT-LICENSE +22 -0
  3292. data/vendor/bundle/gems/shoulda-3.3.2/README.md +108 -0
  3293. data/vendor/bundle/gems/shoulda-3.3.2/Rakefile +17 -0
  3294. data/vendor/bundle/gems/shoulda-3.3.2/features/rails_integration.feature +87 -0
  3295. data/vendor/bundle/gems/shoulda-3.3.2/features/step_definitions/rails_steps.rb +77 -0
  3296. data/vendor/bundle/gems/shoulda-3.3.2/features/support/env.rb +14 -0
  3297. data/vendor/bundle/gems/shoulda-3.3.2/gemfiles/3.0.gemfile +7 -0
  3298. data/vendor/bundle/gems/shoulda-3.3.2/gemfiles/3.0.gemfile.lock +127 -0
  3299. data/vendor/bundle/gems/shoulda-3.3.2/gemfiles/3.1.gemfile +9 -0
  3300. data/vendor/bundle/gems/shoulda-3.3.2/gemfiles/3.1.gemfile.lock +149 -0
  3301. data/vendor/bundle/gems/shoulda-3.3.2/gemfiles/3.2.gemfile +9 -0
  3302. data/vendor/bundle/gems/shoulda-3.3.2/gemfiles/3.2.gemfile.lock +146 -0
  3303. data/vendor/bundle/gems/shoulda-3.3.2/lib/shoulda/version.rb +3 -0
  3304. data/vendor/bundle/gems/shoulda-3.3.2/lib/shoulda.rb +3 -0
  3305. data/vendor/bundle/gems/shoulda-3.3.2/shoulda.gemspec +29 -0
  3306. data/vendor/bundle/gems/shoulda-context-1.0.1/CONTRIBUTING.md +38 -0
  3307. data/vendor/bundle/gems/shoulda-context-1.0.1/Gemfile +3 -0
  3308. data/vendor/bundle/gems/shoulda-context-1.0.1/MIT-LICENSE +22 -0
  3309. data/vendor/bundle/gems/shoulda-context-1.0.1/README.md +54 -0
  3310. data/vendor/bundle/gems/shoulda-context-1.0.1/Rakefile +15 -0
  3311. data/vendor/bundle/gems/shoulda-context-1.0.1/bin/convert_to_should_syntax +42 -0
  3312. data/vendor/bundle/gems/shoulda-context-1.0.1/init.rb +1 -0
  3313. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context/assertions.rb +84 -0
  3314. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context/autoload_macros.rb +46 -0
  3315. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context/context.rb +450 -0
  3316. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context/proc_extensions.rb +14 -0
  3317. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context/tasks/list_tests.rake +29 -0
  3318. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context/tasks/yaml_to_shoulda.rake +28 -0
  3319. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context/tasks.rb +3 -0
  3320. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context/version.rb +5 -0
  3321. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda/context.rb +15 -0
  3322. data/vendor/bundle/gems/shoulda-context-1.0.1/lib/shoulda-context.rb +1 -0
  3323. data/vendor/bundle/gems/shoulda-context-1.0.1/rails/init.rb +4 -0
  3324. data/vendor/bundle/gems/shoulda-context-1.0.1/shoulda-context.gemspec +24 -0
  3325. data/vendor/bundle/gems/shoulda-context-1.0.1/tasks/shoulda.rake +1 -0
  3326. data/vendor/bundle/gems/shoulda-context-1.0.1/test/fake_rails_root/test/shoulda_macros/custom_macro.rb +6 -0
  3327. data/vendor/bundle/gems/shoulda-context-1.0.1/test/fake_rails_root/vendor/gems/gem_with_macro-0.0.1/shoulda_macros/gem_macro.rb +6 -0
  3328. data/vendor/bundle/gems/shoulda-context-1.0.1/test/fake_rails_root/vendor/plugins/plugin_with_macro/shoulda_macros/plugin_macro.rb +6 -0
  3329. data/vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/autoload_macro_test.rb +18 -0
  3330. data/vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/context_test.rb +368 -0
  3331. data/vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/convert_to_should_syntax_test.rb +63 -0
  3332. data/vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/helpers_test.rb +148 -0
  3333. data/vendor/bundle/gems/shoulda-context-1.0.1/test/shoulda/should_test.rb +280 -0
  3334. data/vendor/bundle/gems/shoulda-context-1.0.1/test/test_helper.rb +11 -0
  3335. data/vendor/bundle/gems/shoulda-matchers-1.4.2/Appraisals +15 -0
  3336. data/vendor/bundle/gems/shoulda-matchers-1.4.2/CONTRIBUTING.md +38 -0
  3337. data/vendor/bundle/gems/shoulda-matchers-1.4.2/Gemfile +15 -0
  3338. data/vendor/bundle/gems/shoulda-matchers-1.4.2/Gemfile.lock +151 -0
  3339. data/vendor/bundle/gems/shoulda-matchers-1.4.2/MIT-LICENSE +22 -0
  3340. data/vendor/bundle/gems/shoulda-matchers-1.4.2/NEWS.md +97 -0
  3341. data/vendor/bundle/gems/shoulda-matchers-1.4.2/README.md +103 -0
  3342. data/vendor/bundle/gems/shoulda-matchers-1.4.2/Rakefile +24 -0
  3343. data/vendor/bundle/gems/shoulda-matchers-1.4.2/features/rails_integration.feature +116 -0
  3344. data/vendor/bundle/gems/shoulda-matchers-1.4.2/features/step_definitions/rails_steps.rb +129 -0
  3345. data/vendor/bundle/gems/shoulda-matchers-1.4.2/features/support/env.rb +5 -0
  3346. data/vendor/bundle/gems/shoulda-matchers-1.4.2/gemfiles/3.0.gemfile +14 -0
  3347. data/vendor/bundle/gems/shoulda-matchers-1.4.2/gemfiles/3.0.gemfile.lock +137 -0
  3348. data/vendor/bundle/gems/shoulda-matchers-1.4.2/gemfiles/3.1.gemfile +16 -0
  3349. data/vendor/bundle/gems/shoulda-matchers-1.4.2/gemfiles/3.1.gemfile.lock +159 -0
  3350. data/vendor/bundle/gems/shoulda-matchers-1.4.2/gemfiles/3.2.gemfile +16 -0
  3351. data/vendor/bundle/gems/shoulda-matchers-1.4.2/gemfiles/3.2.gemfile.lock +156 -0
  3352. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/assign_to_matcher.rb +128 -0
  3353. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/filter_param_matcher.rb +48 -0
  3354. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb +66 -0
  3355. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/render_template_matcher.rb +62 -0
  3356. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb +94 -0
  3357. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/respond_with_content_type_matcher.rb +80 -0
  3358. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/respond_with_matcher.rb +83 -0
  3359. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/route_matcher.rb +96 -0
  3360. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/set_session_matcher.rb +106 -0
  3361. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb +148 -0
  3362. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_controller.rb +38 -0
  3363. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_mailer/have_sent_email_matcher.rb +257 -0
  3364. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/action_mailer.rb +22 -0
  3365. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb +113 -0
  3366. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/allow_value_matcher.rb +162 -0
  3367. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/disallow_value_matcher.rb +33 -0
  3368. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/ensure_exclusion_of_matcher.rb +94 -0
  3369. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/ensure_inclusion_of_matcher.rb +156 -0
  3370. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/ensure_length_of_matcher.rb +174 -0
  3371. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/errors.rb +7 -0
  3372. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/exception_message_finder.rb +58 -0
  3373. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/helpers.rb +33 -0
  3374. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/only_integer_matcher.rb +33 -0
  3375. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb +41 -0
  3376. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +63 -0
  3377. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/validate_format_of_matcher.rb +99 -0
  3378. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb +92 -0
  3379. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +64 -0
  3380. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/validate_uniqueness_of_matcher.rb +171 -0
  3381. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/validation_matcher.rb +71 -0
  3382. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model/validation_message_finder.rb +69 -0
  3383. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_model.rb +51 -0
  3384. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb +140 -0
  3385. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record/association_matcher.rb +342 -0
  3386. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record/have_db_column_matcher.rb +191 -0
  3387. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record/have_db_index_matcher.rb +111 -0
  3388. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb +55 -0
  3389. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record/query_the_database_matcher.rb +108 -0
  3390. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record/serialize_matcher.rb +112 -0
  3391. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/active_record.rb +26 -0
  3392. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/assertion_error.rb +13 -0
  3393. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/independent/delegate_matcher.rb +124 -0
  3394. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/independent.rb +9 -0
  3395. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/integrations/rspec.rb +42 -0
  3396. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/integrations/test_unit.rb +65 -0
  3397. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers/version.rb +5 -0
  3398. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda/matchers.rb +8 -0
  3399. data/vendor/bundle/gems/shoulda-matchers-1.4.2/lib/shoulda-matchers.rb +1 -0
  3400. data/vendor/bundle/gems/shoulda-matchers-1.4.2/shoulda-matchers.gemspec +30 -0
  3401. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/fixtures/addresses.yml +3 -0
  3402. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/fixtures/friendships.yml +0 -0
  3403. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/fixtures/posts.yml +5 -0
  3404. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/fixtures/products.yml +0 -0
  3405. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/fixtures/taggings.yml +0 -0
  3406. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/fixtures/tags.yml +9 -0
  3407. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/fixtures/users.yml +6 -0
  3408. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/assign_to_matcher_spec.rb +63 -0
  3409. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/filter_param_matcher_spec.rb +20 -0
  3410. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/redirect_to_matcher_spec.rb +40 -0
  3411. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/render_template_matcher_spec.rb +69 -0
  3412. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/render_with_layout_matcher_spec.rb +55 -0
  3413. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/respond_with_content_type_matcher_spec.rb +28 -0
  3414. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/respond_with_matcher_spec.rb +83 -0
  3415. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/route_matcher_spec.rb +65 -0
  3416. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/set_session_matcher_spec.rb +46 -0
  3417. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_controller/set_the_flash_matcher_spec.rb +130 -0
  3418. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/action_mailer/have_sent_email_spec.rb +333 -0
  3419. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/allow_mass_assignment_of_matcher_spec.rb +115 -0
  3420. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/allow_value_matcher_spec.rb +131 -0
  3421. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/disallow_value_matcher_spec.rb +65 -0
  3422. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/ensure_exclusion_of_matcher_spec.rb +79 -0
  3423. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/ensure_inclusion_of_matcher_spec.rb +181 -0
  3424. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/ensure_length_of_matcher_spec.rb +138 -0
  3425. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/exception_message_finder_spec.rb +112 -0
  3426. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/helpers_spec.rb +129 -0
  3427. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/only_integer_matcher_spec.rb +69 -0
  3428. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/validate_acceptance_of_matcher_spec.rb +43 -0
  3429. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/validate_confirmation_of_matcher_spec.rb +48 -0
  3430. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/validate_format_of_matcher_spec.rb +79 -0
  3431. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/validate_numericality_of_matcher_spec.rb +112 -0
  3432. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/validate_presence_of_matcher_spec.rb +135 -0
  3433. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/validate_uniqueness_of_matcher_spec.rb +154 -0
  3434. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_model/validation_message_finder_spec.rb +107 -0
  3435. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_record/accept_nested_attributes_for_matcher_spec.rb +84 -0
  3436. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_record/association_matcher_spec.rb +642 -0
  3437. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_record/have_db_column_matcher_spec.rb +185 -0
  3438. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_record/have_db_index_matcher_spec.rb +105 -0
  3439. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_record/have_readonly_attributes_matcher_spec.rb +46 -0
  3440. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_record/query_the_database_matcher_spec.rb +45 -0
  3441. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/active_record/serialize_matcher_spec.rb +81 -0
  3442. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/shoulda/independent/delegate_matcher_spec.rb +183 -0
  3443. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/spec_helper.rb +31 -0
  3444. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/active_model_versions.rb +9 -0
  3445. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/class_builder.rb +42 -0
  3446. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/controller_builder.rb +78 -0
  3447. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/mailer_builder.rb +10 -0
  3448. data/vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/model_builder.rb +70 -0
  3449. data/vendor/bundle/gems/simplecov-0.7.1/Appraisals +8 -0
  3450. data/vendor/bundle/gems/simplecov-0.7.1/CHANGELOG.md +173 -0
  3451. data/vendor/bundle/gems/simplecov-0.7.1/CONTRIBUTING.md +20 -0
  3452. data/vendor/bundle/gems/simplecov-0.7.1/Gemfile +5 -0
  3453. data/vendor/bundle/gems/simplecov-0.7.1/LICENSE +20 -0
  3454. data/vendor/bundle/gems/simplecov-0.7.1/README.md +498 -0
  3455. data/vendor/bundle/gems/simplecov-0.7.1/Rakefile +27 -0
  3456. data/vendor/bundle/gems/simplecov-0.7.1/cucumber.yml +13 -0
  3457. data/vendor/bundle/gems/simplecov-0.7.1/features/config_adapters.feature +44 -0
  3458. data/vendor/bundle/gems/simplecov-0.7.1/features/config_autoload.feature +46 -0
  3459. data/vendor/bundle/gems/simplecov-0.7.1/features/config_command_name.feature +33 -0
  3460. data/vendor/bundle/gems/simplecov-0.7.1/features/config_coverage_dir.feature +20 -0
  3461. data/vendor/bundle/gems/simplecov-0.7.1/features/config_deactivate_merging.feature +42 -0
  3462. data/vendor/bundle/gems/simplecov-0.7.1/features/config_formatters.feature +52 -0
  3463. data/vendor/bundle/gems/simplecov-0.7.1/features/config_merge_timeout.feature +39 -0
  3464. data/vendor/bundle/gems/simplecov-0.7.1/features/config_nocov_token.feature +79 -0
  3465. data/vendor/bundle/gems/simplecov-0.7.1/features/config_project_name.feature +27 -0
  3466. data/vendor/bundle/gems/simplecov-0.7.1/features/config_styles.feature +93 -0
  3467. data/vendor/bundle/gems/simplecov-0.7.1/features/cucumber_basic.feature +29 -0
  3468. data/vendor/bundle/gems/simplecov-0.7.1/features/maximum_coverage_drop.feature +36 -0
  3469. data/vendor/bundle/gems/simplecov-0.7.1/features/merging_test_unit_and_rspec.feature +44 -0
  3470. data/vendor/bundle/gems/simplecov-0.7.1/features/minimum_coverage.feature +59 -0
  3471. data/vendor/bundle/gems/simplecov-0.7.1/features/refuse_coverage_drop.feature +35 -0
  3472. data/vendor/bundle/gems/simplecov-0.7.1/features/rspec_basic.feature +31 -0
  3473. data/vendor/bundle/gems/simplecov-0.7.1/features/rspec_fails_on_initialization.feature +14 -0
  3474. data/vendor/bundle/gems/simplecov-0.7.1/features/rspec_groups_and_filters_basic.feature +29 -0
  3475. data/vendor/bundle/gems/simplecov-0.7.1/features/rspec_groups_and_filters_complex.feature +35 -0
  3476. data/vendor/bundle/gems/simplecov-0.7.1/features/rspec_groups_using_filter_class.feature +40 -0
  3477. data/vendor/bundle/gems/simplecov-0.7.1/features/rspec_without_simplecov.feature +20 -0
  3478. data/vendor/bundle/gems/simplecov-0.7.1/features/skipping_code_blocks_manually.feature +70 -0
  3479. data/vendor/bundle/gems/simplecov-0.7.1/features/step_definitions/html_steps.rb +45 -0
  3480. data/vendor/bundle/gems/simplecov-0.7.1/features/step_definitions/simplecov_steps.rb +66 -0
  3481. data/vendor/bundle/gems/simplecov-0.7.1/features/step_definitions/transformers.rb +13 -0
  3482. data/vendor/bundle/gems/simplecov-0.7.1/features/step_definitions/web_steps.rb +64 -0
  3483. data/vendor/bundle/gems/simplecov-0.7.1/features/support/env.rb +26 -0
  3484. data/vendor/bundle/gems/simplecov-0.7.1/features/test_unit_basic.feature +34 -0
  3485. data/vendor/bundle/gems/simplecov-0.7.1/features/test_unit_groups_and_filters_basic.feature +29 -0
  3486. data/vendor/bundle/gems/simplecov-0.7.1/features/test_unit_groups_and_filters_complex.feature +35 -0
  3487. data/vendor/bundle/gems/simplecov-0.7.1/features/test_unit_groups_using_filter_class.feature +40 -0
  3488. data/vendor/bundle/gems/simplecov-0.7.1/features/test_unit_without_simplecov.feature +20 -0
  3489. data/vendor/bundle/gems/simplecov-0.7.1/features/unicode_compatiblity.feature +67 -0
  3490. data/vendor/bundle/gems/simplecov-0.7.1/gemfiles/multi_json-legacy.gemfile +7 -0
  3491. data/vendor/bundle/gems/simplecov-0.7.1/gemfiles/multi_json-new.gemfile +7 -0
  3492. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/adapters.rb +29 -0
  3493. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/command_guesser.rb +49 -0
  3494. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/configuration.rb +243 -0
  3495. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/defaults.rb +86 -0
  3496. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/exit_codes.rb +5 -0
  3497. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/file_list.rb +44 -0
  3498. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/filter.rb +44 -0
  3499. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/formatter/multi_formatter.rb +25 -0
  3500. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/formatter/simple_formatter.rb +19 -0
  3501. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/formatter.rb +8 -0
  3502. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/json.rb +27 -0
  3503. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/last_run.rb +20 -0
  3504. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/merge_helpers.rb +39 -0
  3505. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/railtie.rb +7 -0
  3506. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/railties/tasks.rake +11 -0
  3507. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/result.rb +126 -0
  3508. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/result_merger.rb +74 -0
  3509. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/source_file.rb +188 -0
  3510. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov/version.rb +3 -0
  3511. data/vendor/bundle/gems/simplecov-0.7.1/lib/simplecov.rb +134 -0
  3512. data/vendor/bundle/gems/simplecov-0.7.1/simplecov.gemspec +29 -0
  3513. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/Gemfile +6 -0
  3514. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/Rakefile +8 -0
  3515. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/cucumber.yml +13 -0
  3516. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/features/step_definitions/my_steps.rb +23 -0
  3517. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/features/support/env.rb +12 -0
  3518. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/features/test_stuff.feature +6 -0
  3519. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/lib/faked_project/framework_specific.rb +18 -0
  3520. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/lib/faked_project/meta_magic.rb +24 -0
  3521. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/lib/faked_project/some_class.rb +29 -0
  3522. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/lib/faked_project.rb +11 -0
  3523. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/spec/faked_spec.rb +11 -0
  3524. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/spec/meta_magic_spec.rb +10 -0
  3525. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/spec/some_class_spec.rb +10 -0
  3526. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/spec/spec_helper.rb +15 -0
  3527. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/test/faked_test.rb +11 -0
  3528. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/test/meta_magic_test.rb +13 -0
  3529. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/test/some_class_test.rb +15 -0
  3530. data/vendor/bundle/gems/simplecov-0.7.1/test/faked_project/test/test_helper.rb +16 -0
  3531. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/app/controllers/sample_controller.rb +10 -0
  3532. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/app/models/user.rb +10 -0
  3533. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/deleted_source_sample.rb +15 -0
  3534. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/frameworks/rspec_bad.rb +9 -0
  3535. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/frameworks/rspec_good.rb +9 -0
  3536. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/frameworks/testunit_bad.rb +9 -0
  3537. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/frameworks/testunit_good.rb +9 -0
  3538. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/iso-8859.rb +3 -0
  3539. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/resultset1.rb +4 -0
  3540. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/resultset2.rb +5 -0
  3541. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/sample.rb +16 -0
  3542. data/vendor/bundle/gems/simplecov-0.7.1/test/fixtures/utf-8.rb +3 -0
  3543. data/vendor/bundle/gems/simplecov-0.7.1/test/helper.rb +35 -0
  3544. data/vendor/bundle/gems/simplecov-0.7.1/test/shoulda_macros.rb +29 -0
  3545. data/vendor/bundle/gems/simplecov-0.7.1/test/test_1_8_fallbacks.rb +33 -0
  3546. data/vendor/bundle/gems/simplecov-0.7.1/test/test_command_guesser.rb +21 -0
  3547. data/vendor/bundle/gems/simplecov-0.7.1/test/test_deleted_source.rb +16 -0
  3548. data/vendor/bundle/gems/simplecov-0.7.1/test/test_file_list.rb +24 -0
  3549. data/vendor/bundle/gems/simplecov-0.7.1/test/test_filters.rb +80 -0
  3550. data/vendor/bundle/gems/simplecov-0.7.1/test/test_merge_helpers.rb +107 -0
  3551. data/vendor/bundle/gems/simplecov-0.7.1/test/test_result.rb +162 -0
  3552. data/vendor/bundle/gems/simplecov-0.7.1/test/test_return_codes.rb +39 -0
  3553. data/vendor/bundle/gems/simplecov-0.7.1/test/test_source_file.rb +95 -0
  3554. data/vendor/bundle/gems/simplecov-0.7.1/test/test_source_file_line.rb +110 -0
  3555. data/vendor/bundle/gems/simplecov-html-0.7.1/Gemfile +15 -0
  3556. data/vendor/bundle/gems/simplecov-html-0.7.1/Guardfile +12 -0
  3557. data/vendor/bundle/gems/simplecov-html-0.7.1/LICENSE +20 -0
  3558. data/vendor/bundle/gems/simplecov-html-0.7.1/README.md +30 -0
  3559. data/vendor/bundle/gems/simplecov-html-0.7.1/Rakefile +32 -0
  3560. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/javascripts/application.js +92 -0
  3561. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
  3562. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/javascripts/plugins/highlight.pack.js +1 -0
  3563. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
  3564. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/javascripts/plugins/jquery.fancybox-1.3.1.pack.js +44 -0
  3565. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/javascripts/plugins/jquery.timeago.js +141 -0
  3566. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/javascripts/plugins/jquery.url.js +174 -0
  3567. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/stylesheets/application.css +3 -0
  3568. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/stylesheets/plugins/highlight.css +129 -0
  3569. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
  3570. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/stylesheets/plugins/jquery.fancybox-1.3.1.css +363 -0
  3571. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/stylesheets/reset.css +103 -0
  3572. data/vendor/bundle/gems/simplecov-html-0.7.1/assets/stylesheets/screen.css.sass +220 -0
  3573. data/vendor/bundle/gems/simplecov-html-0.7.1/lib/simplecov-html/version.rb +7 -0
  3574. data/vendor/bundle/gems/simplecov-html-0.7.1/lib/simplecov-html.rb +100 -0
  3575. data/vendor/bundle/gems/simplecov-html-0.7.1/public/application.css +1110 -0
  3576. data/vendor/bundle/gems/simplecov-html-0.7.1/public/application.js +626 -0
  3577. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/blank.gif +0 -0
  3578. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_close.png +0 -0
  3579. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_loading.png +0 -0
  3580. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_nav_left.png +0 -0
  3581. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_nav_right.png +0 -0
  3582. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_e.png +0 -0
  3583. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_n.png +0 -0
  3584. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_ne.png +0 -0
  3585. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_nw.png +0 -0
  3586. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_s.png +0 -0
  3587. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_se.png +0 -0
  3588. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_sw.png +0 -0
  3589. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_shadow_w.png +0 -0
  3590. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_title_left.png +0 -0
  3591. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_title_main.png +0 -0
  3592. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_title_over.png +0 -0
  3593. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancy_title_right.png +0 -0
  3594. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancybox-x.png +0 -0
  3595. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancybox-y.png +0 -0
  3596. data/vendor/bundle/gems/simplecov-html-0.7.1/public/fancybox/fancybox.png +0 -0
  3597. data/vendor/bundle/gems/simplecov-html-0.7.1/public/favicon_green.png +0 -0
  3598. data/vendor/bundle/gems/simplecov-html-0.7.1/public/favicon_red.png +0 -0
  3599. data/vendor/bundle/gems/simplecov-html-0.7.1/public/favicon_yellow.png +0 -0
  3600. data/vendor/bundle/gems/simplecov-html-0.7.1/public/loading.gif +0 -0
  3601. data/vendor/bundle/gems/simplecov-html-0.7.1/public/magnify.png +0 -0
  3602. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  3603. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  3604. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  3605. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  3606. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  3607. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  3608. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  3609. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  3610. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
  3611. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  3612. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
  3613. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
  3614. data/vendor/bundle/gems/simplecov-html-0.7.1/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  3615. data/vendor/bundle/gems/simplecov-html-0.7.1/simplecov-html.gemspec +25 -0
  3616. data/vendor/bundle/gems/simplecov-html-0.7.1/test/helper.rb +9 -0
  3617. data/vendor/bundle/gems/simplecov-html-0.7.1/test/test_simple_cov-html.rb +8 -0
  3618. data/vendor/bundle/gems/simplecov-html-0.7.1/views/file_list.erb +45 -0
  3619. data/vendor/bundle/gems/simplecov-html-0.7.1/views/layout.erb +41 -0
  3620. data/vendor/bundle/gems/simplecov-html-0.7.1/views/source_file.erb +23 -0
  3621. data/vendor/bundle/gems/sprockets-2.2.2/LICENSE +21 -0
  3622. data/vendor/bundle/gems/sprockets-2.2.2/README.md +405 -0
  3623. data/vendor/bundle/gems/sprockets-2.2.2/bin/sprockets +80 -0
  3624. data/vendor/bundle/gems/sprockets-2.2.2/lib/rake/sprocketstask.rb +140 -0
  3625. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/asset.rb +260 -0
  3626. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/asset_attributes.rb +126 -0
  3627. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/base.rb +307 -0
  3628. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb +79 -0
  3629. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/cache/file_store.rb +32 -0
  3630. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/caching.rb +96 -0
  3631. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/charset_normalizer.rb +41 -0
  3632. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/context.rb +235 -0
  3633. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/directive_processor.rb +406 -0
  3634. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/eco_template.rb +38 -0
  3635. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/ejs_template.rb +37 -0
  3636. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/engines.rb +74 -0
  3637. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/environment.rb +91 -0
  3638. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb +19 -0
  3639. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/index.rb +99 -0
  3640. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/jst_processor.rb +33 -0
  3641. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/manifest.rb +203 -0
  3642. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/mime.rb +48 -0
  3643. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb +152 -0
  3644. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processing.rb +280 -0
  3645. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processor.rb +32 -0
  3646. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/safety_colons.rb +28 -0
  3647. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/server.rb +247 -0
  3648. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/static_asset.rb +57 -0
  3649. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/trail.rb +90 -0
  3650. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/utils.rb +69 -0
  3651. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/version.rb +3 -0
  3652. data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets.rb +64 -0
  3653. data/vendor/bundle/gems/sqlite3-1.3.6/API_CHANGES.rdoc +50 -0
  3654. data/vendor/bundle/gems/sqlite3-1.3.6/CHANGELOG.rdoc +240 -0
  3655. data/vendor/bundle/gems/sqlite3-1.3.6/ChangeLog.cvs +88 -0
  3656. data/vendor/bundle/gems/sqlite3-1.3.6/LICENSE +27 -0
  3657. data/vendor/bundle/gems/sqlite3-1.3.6/Manifest.txt +50 -0
  3658. data/vendor/bundle/gems/sqlite3-1.3.6/README.rdoc +95 -0
  3659. data/vendor/bundle/gems/sqlite3-1.3.6/Rakefile +10 -0
  3660. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/Makefile +187 -0
  3661. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/backup.c +168 -0
  3662. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/backup.h +15 -0
  3663. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/backup.o +0 -0
  3664. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/database.c +815 -0
  3665. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/database.h +15 -0
  3666. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/database.o +0 -0
  3667. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/exception.c +94 -0
  3668. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/exception.h +8 -0
  3669. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/exception.o +0 -0
  3670. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/extconf.rb +51 -0
  3671. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/mkmf.log +305 -0
  3672. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/sqlite3.c +40 -0
  3673. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/sqlite3.o +0 -0
  3674. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/sqlite3_native.bundle +0 -0
  3675. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/sqlite3_ruby.h +53 -0
  3676. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/statement.c +440 -0
  3677. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/statement.h +16 -0
  3678. data/vendor/bundle/gems/sqlite3-1.3.6/ext/sqlite3/statement.o +0 -0
  3679. data/vendor/bundle/gems/sqlite3-1.3.6/faq/faq.rb +145 -0
  3680. data/vendor/bundle/gems/sqlite3-1.3.6/faq/faq.yml +426 -0
  3681. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/constants.rb +49 -0
  3682. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/database.rb +579 -0
  3683. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/errors.rb +44 -0
  3684. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/pragmas.rb +280 -0
  3685. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/resultset.rb +195 -0
  3686. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/sqlite3_native.bundle +0 -0
  3687. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/statement.rb +144 -0
  3688. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/translator.rb +118 -0
  3689. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/value.rb +57 -0
  3690. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3/version.rb +25 -0
  3691. data/vendor/bundle/gems/sqlite3-1.3.6/lib/sqlite3.rb +10 -0
  3692. data/vendor/bundle/gems/sqlite3-1.3.6/setup.rb +1333 -0
  3693. data/vendor/bundle/gems/sqlite3-1.3.6/tasks/faq.rake +9 -0
  3694. data/vendor/bundle/gems/sqlite3-1.3.6/tasks/gem.rake +32 -0
  3695. data/vendor/bundle/gems/sqlite3-1.3.6/tasks/native.rake +37 -0
  3696. data/vendor/bundle/gems/sqlite3-1.3.6/tasks/vendor_sqlite3.rake +48 -0
  3697. data/vendor/bundle/gems/sqlite3-1.3.6/test/helper.rb +14 -0
  3698. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_backup.rb +33 -0
  3699. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_collation.rb +82 -0
  3700. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_database.rb +339 -0
  3701. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_database_readonly.rb +29 -0
  3702. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_deprecated.rb +44 -0
  3703. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_encoding.rb +121 -0
  3704. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_integration.rb +555 -0
  3705. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_integration_open_close.rb +30 -0
  3706. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_integration_pending.rb +115 -0
  3707. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_integration_resultset.rb +159 -0
  3708. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_integration_statement.rb +194 -0
  3709. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_result_set.rb +37 -0
  3710. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_sqlite3.rb +9 -0
  3711. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_statement.rb +238 -0
  3712. data/vendor/bundle/gems/sqlite3-1.3.6/test/test_statement_execute.rb +35 -0
  3713. data/vendor/bundle/gems/thor-0.16.0/CHANGELOG.rdoc +134 -0
  3714. data/vendor/bundle/gems/thor-0.16.0/Gemfile +15 -0
  3715. data/vendor/bundle/gems/thor-0.16.0/LICENSE.md +20 -0
  3716. data/vendor/bundle/gems/thor-0.16.0/README.md +28 -0
  3717. data/vendor/bundle/gems/thor-0.16.0/Thorfile +30 -0
  3718. data/vendor/bundle/gems/thor-0.16.0/bin/rake2thor +86 -0
  3719. data/vendor/bundle/gems/thor-0.16.0/bin/thor +6 -0
  3720. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/create_file.rb +105 -0
  3721. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/create_link.rb +57 -0
  3722. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/directory.rb +98 -0
  3723. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/empty_directory.rb +153 -0
  3724. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/file_manipulation.rb +308 -0
  3725. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/inject_into_file.rb +109 -0
  3726. data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions.rb +318 -0
  3727. data/vendor/bundle/gems/thor-0.16.0/lib/thor/base.rb +641 -0
  3728. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/dir_escape.rb +0 -0
  3729. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/file_binary_read.rb +9 -0
  3730. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/hash_with_indifferent_access.rb +75 -0
  3731. data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/ordered_hash.rb +100 -0
  3732. data/vendor/bundle/gems/thor-0.16.0/lib/thor/error.rb +35 -0
  3733. data/vendor/bundle/gems/thor-0.16.0/lib/thor/group.rb +285 -0
  3734. data/vendor/bundle/gems/thor-0.16.0/lib/thor/invocation.rb +170 -0
  3735. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/argument.rb +74 -0
  3736. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/arguments.rb +171 -0
  3737. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/option.rb +121 -0
  3738. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/options.rb +178 -0
  3739. data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser.rb +4 -0
  3740. data/vendor/bundle/gems/thor-0.16.0/lib/thor/rake_compat.rb +71 -0
  3741. data/vendor/bundle/gems/thor-0.16.0/lib/thor/runner.rb +321 -0
  3742. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/basic.rb +389 -0
  3743. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/color.rb +144 -0
  3744. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/html.rb +123 -0
  3745. data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell.rb +88 -0
  3746. data/vendor/bundle/gems/thor-0.16.0/lib/thor/task.rb +132 -0
  3747. data/vendor/bundle/gems/thor-0.16.0/lib/thor/util.rb +266 -0
  3748. data/vendor/bundle/gems/thor-0.16.0/lib/thor/version.rb +3 -0
  3749. data/vendor/bundle/gems/thor-0.16.0/lib/thor.rb +379 -0
  3750. data/vendor/bundle/gems/thor-0.16.0/spec/actions/create_file_spec.rb +170 -0
  3751. data/vendor/bundle/gems/thor-0.16.0/spec/actions/create_link_spec.rb +81 -0
  3752. data/vendor/bundle/gems/thor-0.16.0/spec/actions/directory_spec.rb +149 -0
  3753. data/vendor/bundle/gems/thor-0.16.0/spec/actions/empty_directory_spec.rb +130 -0
  3754. data/vendor/bundle/gems/thor-0.16.0/spec/actions/file_manipulation_spec.rb +370 -0
  3755. data/vendor/bundle/gems/thor-0.16.0/spec/actions/inject_into_file_spec.rb +135 -0
  3756. data/vendor/bundle/gems/thor-0.16.0/spec/actions_spec.rb +331 -0
  3757. data/vendor/bundle/gems/thor-0.16.0/spec/base_spec.rb +279 -0
  3758. data/vendor/bundle/gems/thor-0.16.0/spec/core_ext/hash_with_indifferent_access_spec.rb +43 -0
  3759. data/vendor/bundle/gems/thor-0.16.0/spec/core_ext/ordered_hash_spec.rb +115 -0
  3760. data/vendor/bundle/gems/thor-0.16.0/spec/exit_condition_spec.rb +19 -0
  3761. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/application.rb +2 -0
  3762. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/app{1}/README +3 -0
  3763. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/bundle/execute.rb +6 -0
  3764. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/bundle/main.thor +1 -0
  3765. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/%file_name%.rb.tt +1 -0
  3766. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/COMMENTER +10 -0
  3767. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/README +3 -0
  3768. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/block_helper.rb +3 -0
  3769. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/config.rb +1 -0
  3770. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/config.yaml.tt +1 -0
  3771. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/enum.thor +10 -0
  3772. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/group.thor +114 -0
  3773. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/invoke.thor +112 -0
  3774. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/path with spaces +0 -0
  3775. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/script.thor +190 -0
  3776. data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/task.thor +10 -0
  3777. data/vendor/bundle/gems/thor-0.16.0/spec/group_spec.rb +216 -0
  3778. data/vendor/bundle/gems/thor-0.16.0/spec/invocation_spec.rb +100 -0
  3779. data/vendor/bundle/gems/thor-0.16.0/spec/parser/argument_spec.rb +53 -0
  3780. data/vendor/bundle/gems/thor-0.16.0/spec/parser/arguments_spec.rb +66 -0
  3781. data/vendor/bundle/gems/thor-0.16.0/spec/parser/option_spec.rb +202 -0
  3782. data/vendor/bundle/gems/thor-0.16.0/spec/parser/options_spec.rb +330 -0
  3783. data/vendor/bundle/gems/thor-0.16.0/spec/rake_compat_spec.rb +72 -0
  3784. data/vendor/bundle/gems/thor-0.16.0/spec/register_spec.rb +135 -0
  3785. data/vendor/bundle/gems/thor-0.16.0/spec/runner_spec.rb +241 -0
  3786. data/vendor/bundle/gems/thor-0.16.0/spec/shell/basic_spec.rb +300 -0
  3787. data/vendor/bundle/gems/thor-0.16.0/spec/shell/color_spec.rb +81 -0
  3788. data/vendor/bundle/gems/thor-0.16.0/spec/shell/html_spec.rb +32 -0
  3789. data/vendor/bundle/gems/thor-0.16.0/spec/shell_spec.rb +47 -0
  3790. data/vendor/bundle/gems/thor-0.16.0/spec/spec_helper.rb +59 -0
  3791. data/vendor/bundle/gems/thor-0.16.0/spec/task_spec.rb +80 -0
  3792. data/vendor/bundle/gems/thor-0.16.0/spec/thor_spec.rb +418 -0
  3793. data/vendor/bundle/gems/thor-0.16.0/spec/util_spec.rb +196 -0
  3794. data/vendor/bundle/gems/thor-0.16.0/thor.gemspec +26 -0
  3795. data/vendor/bundle/gems/tilt-1.3.3/COPYING +18 -0
  3796. data/vendor/bundle/gems/tilt-1.3.3/Gemfile +2 -0
  3797. data/vendor/bundle/gems/tilt-1.3.3/README.md +208 -0
  3798. data/vendor/bundle/gems/tilt-1.3.3/Rakefile +80 -0
  3799. data/vendor/bundle/gems/tilt-1.3.3/TEMPLATES.md +516 -0
  3800. data/vendor/bundle/gems/tilt-1.3.3/bin/tilt +110 -0
  3801. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/builder.rb +40 -0
  3802. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/coffee.rb +50 -0
  3803. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/css.rb +72 -0
  3804. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/erb.rb +110 -0
  3805. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/haml.rb +64 -0
  3806. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/liquid.rb +41 -0
  3807. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markaby.rb +52 -0
  3808. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markdown.rb +190 -0
  3809. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/nokogiri.rb +43 -0
  3810. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/radius.rb +51 -0
  3811. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/rdoc.rb +32 -0
  3812. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/string.rb +21 -0
  3813. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/template.rb +285 -0
  3814. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/textile.rb +25 -0
  3815. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/wiki.rb +50 -0
  3816. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/yajl.rb +94 -0
  3817. data/vendor/bundle/gems/tilt-1.3.3/lib/tilt.rb +190 -0
  3818. data/vendor/bundle/gems/tilt-1.3.3/test/contest.rb +68 -0
  3819. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/locals.mab +1 -0
  3820. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby.mab +1 -0
  3821. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby_other_static.mab +1 -0
  3822. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/render_twice.mab +1 -0
  3823. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/scope.mab +1 -0
  3824. data/vendor/bundle/gems/tilt-1.3.3/test/markaby/yielding.mab +2 -0
  3825. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_blueclothtemplate_test.rb +45 -0
  3826. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_buildertemplate_test.rb +59 -0
  3827. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_cache_test.rb +32 -0
  3828. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_coffeescripttemplate_test.rb +61 -0
  3829. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_compilesite_test.rb +51 -0
  3830. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_creoletemplate_test.rb +28 -0
  3831. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erbtemplate_test.rb +234 -0
  3832. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erubistemplate_test.rb +151 -0
  3833. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_fallback_test.rb +122 -0
  3834. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_hamltemplate_test.rb +144 -0
  3835. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_kramdown_test.rb +42 -0
  3836. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_lesstemplate_test.rb +26 -0
  3837. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_liquidtemplate_test.rb +78 -0
  3838. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markaby_test.rb +88 -0
  3839. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markdown_test.rb +161 -0
  3840. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_marukutemplate_test.rb +48 -0
  3841. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_nokogiritemplate_test.rb +87 -0
  3842. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_radiustemplate_test.rb +75 -0
  3843. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdiscounttemplate_test.rb +55 -0
  3844. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdoctemplate_test.rb +24 -0
  3845. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redcarpettemplate_test.rb +59 -0
  3846. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redclothtemplate_test.rb +24 -0
  3847. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_sasstemplate_test.rb +41 -0
  3848. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_stringtemplate_test.rb +170 -0
  3849. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_template_test.rb +154 -0
  3850. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_test.rb +65 -0
  3851. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_wikiclothtemplate_test.rb +32 -0
  3852. data/vendor/bundle/gems/tilt-1.3.3/test/tilt_yajltemplate_test.rb +92 -0
  3853. data/vendor/bundle/gems/tilt-1.3.3/tilt.gemspec +109 -0
  3854. data/vendor/bundle/gems/treetop-1.4.12/LICENSE +19 -0
  3855. data/vendor/bundle/gems/treetop-1.4.12/README.md +188 -0
  3856. data/vendor/bundle/gems/treetop-1.4.12/Rakefile +60 -0
  3857. data/vendor/bundle/gems/treetop-1.4.12/bin/tt +112 -0
  3858. data/vendor/bundle/gems/treetop-1.4.12/doc/contributing_and_planned_features.markdown +102 -0
  3859. data/vendor/bundle/gems/treetop-1.4.12/doc/grammar_composition.markdown +65 -0
  3860. data/vendor/bundle/gems/treetop-1.4.12/doc/index.markdown +88 -0
  3861. data/vendor/bundle/gems/treetop-1.4.12/doc/pitfalls_and_advanced_techniques.markdown +51 -0
  3862. data/vendor/bundle/gems/treetop-1.4.12/doc/semantic_interpretation.markdown +218 -0
  3863. data/vendor/bundle/gems/treetop-1.4.12/doc/site/contribute.html +124 -0
  3864. data/vendor/bundle/gems/treetop-1.4.12/doc/site/images/bottom_background.png +0 -0
  3865. data/vendor/bundle/gems/treetop-1.4.12/doc/site/images/middle_background.png +0 -0
  3866. data/vendor/bundle/gems/treetop-1.4.12/doc/site/images/paren_language_output.png +0 -0
  3867. data/vendor/bundle/gems/treetop-1.4.12/doc/site/images/pivotal.gif +0 -0
  3868. data/vendor/bundle/gems/treetop-1.4.12/doc/site/images/top_background.png +0 -0
  3869. data/vendor/bundle/gems/treetop-1.4.12/doc/site/index.html +102 -0
  3870. data/vendor/bundle/gems/treetop-1.4.12/doc/site/pitfalls_and_advanced_techniques.html +68 -0
  3871. data/vendor/bundle/gems/treetop-1.4.12/doc/site/robots.txt +5 -0
  3872. data/vendor/bundle/gems/treetop-1.4.12/doc/site/screen.css +134 -0
  3873. data/vendor/bundle/gems/treetop-1.4.12/doc/site/semantic_interpretation.html +245 -0
  3874. data/vendor/bundle/gems/treetop-1.4.12/doc/site/syntactic_recognition.html +278 -0
  3875. data/vendor/bundle/gems/treetop-1.4.12/doc/site/using_in_ruby.html +123 -0
  3876. data/vendor/bundle/gems/treetop-1.4.12/doc/site.rb +112 -0
  3877. data/vendor/bundle/gems/treetop-1.4.12/doc/sitegen.rb +65 -0
  3878. data/vendor/bundle/gems/treetop-1.4.12/doc/syntactic_recognition.markdown +215 -0
  3879. data/vendor/bundle/gems/treetop-1.4.12/doc/using_in_ruby.markdown +105 -0
  3880. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/arithmetic.rb +551 -0
  3881. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/arithmetic.treetop +98 -0
  3882. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/arithmetic_node_classes.rb +9 -0
  3883. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/arithmetic_test.rb +58 -0
  3884. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/lambda_calculus +0 -0
  3885. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/lambda_calculus.rb +718 -0
  3886. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/lambda_calculus.treetop +132 -0
  3887. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/lambda_calculus_node_classes.rb +5 -0
  3888. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/lambda_calculus_test.rb +89 -0
  3889. data/vendor/bundle/gems/treetop-1.4.12/examples/lambda_calculus/test_helper.rb +18 -0
  3890. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/bootstrap_gen_1_metagrammar.rb +42 -0
  3891. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/grammar_compiler.rb +44 -0
  3892. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/lexical_address_space.rb +17 -0
  3893. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/metagrammar.rb +3765 -0
  3894. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/metagrammar.treetop +455 -0
  3895. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/anything_symbol.rb +18 -0
  3896. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/atomic_expression.rb +14 -0
  3897. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/character_class.rb +28 -0
  3898. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/choice.rb +31 -0
  3899. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/declaration_sequence.rb +24 -0
  3900. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/grammar.rb +28 -0
  3901. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/inline_module.rb +27 -0
  3902. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/nonterminal.rb +13 -0
  3903. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/optional.rb +19 -0
  3904. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/parenthesized_expression.rb +9 -0
  3905. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/parsing_expression.rb +146 -0
  3906. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/parsing_rule.rb +58 -0
  3907. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/predicate.rb +45 -0
  3908. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/predicate_block.rb +16 -0
  3909. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/repetition.rb +89 -0
  3910. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/sequence.rb +71 -0
  3911. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/terminal.rb +20 -0
  3912. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/transient_prefix.rb +9 -0
  3913. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/treetop_file.rb +9 -0
  3914. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/node_classes.rb +19 -0
  3915. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler/ruby_builder.rb +115 -0
  3916. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/compiler.rb +7 -0
  3917. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/polyglot.rb +9 -0
  3918. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/ruby_extensions/string.rb +42 -0
  3919. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/ruby_extensions.rb +1 -0
  3920. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime/compiled_parser.rb +115 -0
  3921. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime/interval_skip_list/head_node.rb +15 -0
  3922. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime/interval_skip_list/interval_skip_list.rb +200 -0
  3923. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime/interval_skip_list/node.rb +164 -0
  3924. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime/interval_skip_list.rb +3 -0
  3925. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime/syntax_node.rb +114 -0
  3926. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime/terminal_parse_failure.rb +16 -0
  3927. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime/terminal_syntax_node.rb +17 -0
  3928. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/runtime.rb +6 -0
  3929. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop/version.rb +9 -0
  3930. data/vendor/bundle/gems/treetop-1.4.12/lib/treetop.rb +3 -0
  3931. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/and_predicate_spec.rb +36 -0
  3932. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/anything_symbol_spec.rb +44 -0
  3933. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/character_class_spec.rb +301 -0
  3934. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/choice_spec.rb +80 -0
  3935. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/circular_compilation_spec.rb +30 -0
  3936. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/failure_propagation_functional_spec.rb +21 -0
  3937. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/grammar_compiler_spec.rb +91 -0
  3938. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/grammar_spec.rb +41 -0
  3939. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/multibyte_chars_spec.rb +39 -0
  3940. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/namespace_spec.rb +42 -0
  3941. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/nonterminal_symbol_spec.rb +40 -0
  3942. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/not_predicate_spec.rb +38 -0
  3943. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/occurrence_range_spec.rb +189 -0
  3944. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/one_or_more_spec.rb +35 -0
  3945. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/optional_spec.rb +37 -0
  3946. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/parenthesized_expression_spec.rb +19 -0
  3947. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/parsing_rule_spec.rb +61 -0
  3948. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/repeated_subrule_spec.rb +29 -0
  3949. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/semantic_predicate_spec.rb +175 -0
  3950. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/sequence_spec.rb +115 -0
  3951. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/terminal_spec.rb +81 -0
  3952. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/terminal_symbol_spec.rb +37 -0
  3953. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/test_grammar.treetop +7 -0
  3954. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/test_grammar.tt +7 -0
  3955. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/test_grammar_do.treetop +7 -0
  3956. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/tt_compiler_spec.rb +217 -0
  3957. data/vendor/bundle/gems/treetop-1.4.12/spec/compiler/zero_or_more_spec.rb +56 -0
  3958. data/vendor/bundle/gems/treetop-1.4.12/spec/composition/a.treetop +11 -0
  3959. data/vendor/bundle/gems/treetop-1.4.12/spec/composition/b.treetop +11 -0
  3960. data/vendor/bundle/gems/treetop-1.4.12/spec/composition/c.treetop +10 -0
  3961. data/vendor/bundle/gems/treetop-1.4.12/spec/composition/d.treetop +10 -0
  3962. data/vendor/bundle/gems/treetop-1.4.12/spec/composition/f.treetop +17 -0
  3963. data/vendor/bundle/gems/treetop-1.4.12/spec/composition/grammar_composition_spec.rb +40 -0
  3964. data/vendor/bundle/gems/treetop-1.4.12/spec/composition/subfolder/e_includes_c.treetop +15 -0
  3965. data/vendor/bundle/gems/treetop-1.4.12/spec/ruby_extensions/string_spec.rb +32 -0
  3966. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/compiled_parser_spec.rb +123 -0
  3967. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/delete_spec.rb +147 -0
  3968. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/expire_range_spec.rb +349 -0
  3969. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb +385 -0
  3970. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/insert_spec.rb +660 -0
  3971. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/interval_skip_list_spec.graffle +6175 -0
  3972. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/interval_skip_list_spec.rb +58 -0
  3973. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/palindromic_fixture.rb +35 -0
  3974. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/palindromic_fixture_spec.rb +163 -0
  3975. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/interval_skip_list/spec_helper.rb +91 -0
  3976. data/vendor/bundle/gems/treetop-1.4.12/spec/runtime/syntax_node_spec.rb +77 -0
  3977. data/vendor/bundle/gems/treetop-1.4.12/spec/spec_helper.rb +115 -0
  3978. data/vendor/bundle/gems/treetop-1.4.12/treetop.gemspec +186 -0
  3979. data/vendor/bundle/gems/turn-0.9.6/History.txt +135 -0
  3980. data/vendor/bundle/gems/turn-0.9.6/LICENSE-GPL2.txt +340 -0
  3981. data/vendor/bundle/gems/turn-0.9.6/LICENSE-MIT.txt +21 -0
  3982. data/vendor/bundle/gems/turn-0.9.6/LICENSE-RUBY.txt +56 -0
  3983. data/vendor/bundle/gems/turn-0.9.6/LICENSE.txt +35 -0
  3984. data/vendor/bundle/gems/turn-0.9.6/README.md +158 -0
  3985. data/vendor/bundle/gems/turn-0.9.6/Release.txt +53 -0
  3986. data/vendor/bundle/gems/turn-0.9.6/Version.txt +1 -0
  3987. data/vendor/bundle/gems/turn-0.9.6/bin/turn +10 -0
  3988. data/vendor/bundle/gems/turn-0.9.6/lib/turn/autoload.rb +6 -0
  3989. data/vendor/bundle/gems/turn-0.9.6/lib/turn/autorun.rb +4 -0
  3990. data/vendor/bundle/gems/turn-0.9.6/lib/turn/bin.rb +10 -0
  3991. data/vendor/bundle/gems/turn-0.9.6/lib/turn/colorize.rb +96 -0
  3992. data/vendor/bundle/gems/turn-0.9.6/lib/turn/command.rb +283 -0
  3993. data/vendor/bundle/gems/turn-0.9.6/lib/turn/components/case.rb +109 -0
  3994. data/vendor/bundle/gems/turn-0.9.6/lib/turn/components/method.rb +53 -0
  3995. data/vendor/bundle/gems/turn-0.9.6/lib/turn/components/suite.rb +94 -0
  3996. data/vendor/bundle/gems/turn-0.9.6/lib/turn/components.rb +4 -0
  3997. data/vendor/bundle/gems/turn-0.9.6/lib/turn/configuration.rb +239 -0
  3998. data/vendor/bundle/gems/turn-0.9.6/lib/turn/controller.rb +57 -0
  3999. data/vendor/bundle/gems/turn-0.9.6/lib/turn/core_ext.rb +31 -0
  4000. data/vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb +26 -0
  4001. data/vendor/bundle/gems/turn-0.9.6/lib/turn/reporter.rb +131 -0
  4002. data/vendor/bundle/gems/turn-0.9.6/lib/turn/reporters/cue_reporter.rb +183 -0
  4003. data/vendor/bundle/gems/turn-0.9.6/lib/turn/reporters/dot_reporter.rb +89 -0
  4004. data/vendor/bundle/gems/turn-0.9.6/lib/turn/reporters/marshal_reporter.rb +17 -0
  4005. data/vendor/bundle/gems/turn-0.9.6/lib/turn/reporters/outline_reporter.rb +181 -0
  4006. data/vendor/bundle/gems/turn-0.9.6/lib/turn/reporters/pretty_reporter.rb +165 -0
  4007. data/vendor/bundle/gems/turn-0.9.6/lib/turn/reporters/progress_reporter.rb +153 -0
  4008. data/vendor/bundle/gems/turn-0.9.6/lib/turn/runners/crossrunner.rb +42 -0
  4009. data/vendor/bundle/gems/turn-0.9.6/lib/turn/runners/isorunner.rb +169 -0
  4010. data/vendor/bundle/gems/turn-0.9.6/lib/turn/runners/loadrunner.rb +48 -0
  4011. data/vendor/bundle/gems/turn-0.9.6/lib/turn/runners/minirunner.rb +127 -0
  4012. data/vendor/bundle/gems/turn-0.9.6/lib/turn/runners/solorunner.rb +7 -0
  4013. data/vendor/bundle/gems/turn-0.9.6/lib/turn/runners/testrunner.rb +168 -0
  4014. data/vendor/bundle/gems/turn-0.9.6/lib/turn/testunit.rb +24 -0
  4015. data/vendor/bundle/gems/turn-0.9.6/lib/turn/version.rb +3 -0
  4016. data/vendor/bundle/gems/turn-0.9.6/lib/turn.rb +14 -0
  4017. data/vendor/bundle/gems/turn-0.9.6/test/helper.rb +155 -0
  4018. data/vendor/bundle/gems/turn-0.9.6/test/reporter_test.rb +35 -0
  4019. data/vendor/bundle/gems/turn-0.9.6/test/runner +2 -0
  4020. data/vendor/bundle/gems/turn-0.9.6/test/test_framework.rb +174 -0
  4021. data/vendor/bundle/gems/turn-0.9.6/test/test_reporters.rb +44 -0
  4022. data/vendor/bundle/gems/turn-0.9.6/test/test_runners.rb +56 -0
  4023. data/vendor/bundle/gems/turn-0.9.6/try/test_autorun_minitest.rb +29 -0
  4024. data/vendor/bundle/gems/turn-0.9.6/try/test_autorun_testunit.rb +25 -0
  4025. data/vendor/bundle/gems/turn-0.9.6/try/test_counts.rb +17 -0
  4026. data/vendor/bundle/gems/turn-0.9.6/try/test_sample.rb +35 -0
  4027. data/vendor/bundle/gems/turn-0.9.6/try/test_sample2.rb +33 -0
  4028. data/vendor/bundle/gems/tzinfo-0.3.35/CHANGES +477 -0
  4029. data/vendor/bundle/gems/tzinfo-0.3.35/LICENSE +19 -0
  4030. data/vendor/bundle/gems/tzinfo-0.3.35/README +101 -0
  4031. data/vendor/bundle/gems/tzinfo-0.3.35/Rakefile +241 -0
  4032. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/country.rb +176 -0
  4033. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/country_index_definition.rb +48 -0
  4034. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/country_info.rb +80 -0
  4035. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/country_timezone.rb +101 -0
  4036. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/data_timezone.rb +45 -0
  4037. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/data_timezone_info.rb +222 -0
  4038. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Abidjan.rb +16 -0
  4039. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Accra.rb +31 -0
  4040. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Addis_Ababa.rb +18 -0
  4041. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Algiers.rb +53 -0
  4042. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Asmara.rb +20 -0
  4043. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Asmera.rb +11 -0
  4044. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Bamako.rb +19 -0
  4045. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Bangui.rb +16 -0
  4046. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Banjul.rb +20 -0
  4047. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Bissau.rb +18 -0
  4048. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Blantyre.rb +16 -0
  4049. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Brazzaville.rb +16 -0
  4050. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Bujumbura.rb +16 -0
  4051. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Cairo.rb +139 -0
  4052. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Casablanca.rb +124 -0
  4053. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Ceuta.rb +170 -0
  4054. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Conakry.rb +19 -0
  4055. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Dakar.rb +18 -0
  4056. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb +19 -0
  4057. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Djibouti.rb +16 -0
  4058. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Douala.rb +16 -0
  4059. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/El_Aaiun.rb +18 -0
  4060. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Freetown.rb +51 -0
  4061. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Gaborone.rb +19 -0
  4062. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Harare.rb +16 -0
  4063. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Johannesburg.rb +23 -0
  4064. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Juba.rb +51 -0
  4065. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Kampala.rb +21 -0
  4066. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Khartoum.rb +51 -0
  4067. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Kigali.rb +16 -0
  4068. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Kinshasa.rb +16 -0
  4069. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Lagos.rb +16 -0
  4070. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Libreville.rb +16 -0
  4071. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Lome.rb +16 -0
  4072. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Luanda.rb +18 -0
  4073. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Lubumbashi.rb +16 -0
  4074. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Lusaka.rb +16 -0
  4075. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Malabo.rb +18 -0
  4076. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Maputo.rb +16 -0
  4077. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Maseru.rb +19 -0
  4078. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Mbabane.rb +16 -0
  4079. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Mogadishu.rb +19 -0
  4080. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Monrovia.rb +20 -0
  4081. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Nairobi.rb +21 -0
  4082. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Ndjamena.rb +19 -0
  4083. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Niamey.rb +20 -0
  4084. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Nouakchott.rb +19 -0
  4085. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Ouagadougou.rb +16 -0
  4086. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb +18 -0
  4087. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Sao_Tome.rb +18 -0
  4088. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Timbuktu.rb +11 -0
  4089. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Tripoli.rb +46 -0
  4090. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Tunis.rb +51 -0
  4091. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Africa/Windhoek.rb +138 -0
  4092. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Adak.rb +194 -0
  4093. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Anchorage.rb +194 -0
  4094. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Anguilla.rb +16 -0
  4095. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Antigua.rb +18 -0
  4096. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Araguaina.rb +141 -0
  4097. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +82 -0
  4098. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Catamarca.rb +83 -0
  4099. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb +13 -0
  4100. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Cordoba.rb +83 -0
  4101. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Jujuy.rb +82 -0
  4102. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/La_Rioja.rb +84 -0
  4103. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Mendoza.rb +84 -0
  4104. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb +83 -0
  4105. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Salta.rb +81 -0
  4106. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/San_Juan.rb +84 -0
  4107. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/San_Luis.rb +85 -0
  4108. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Tucuman.rb +85 -0
  4109. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Argentina/Ushuaia.rb +83 -0
  4110. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Aruba.rb +18 -0
  4111. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Asuncion.rb +172 -0
  4112. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Atikokan.rb +26 -0
  4113. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Atka.rb +11 -0
  4114. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Bahia.rb +77 -0
  4115. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Bahia_Banderas.rb +138 -0
  4116. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Barbados.rb +27 -0
  4117. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Belem.rb +45 -0
  4118. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Belize.rb +72 -0
  4119. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Blanc__m__Sablon.rb +24 -0
  4120. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Boa_Vista.rb +49 -0
  4121. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Bogota.rb +21 -0
  4122. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Boise.rb +197 -0
  4123. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Buenos_Aires.rb +11 -0
  4124. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Cambridge_Bay.rb +171 -0
  4125. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Campo_Grande.rb +169 -0
  4126. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Cancun.rb +131 -0
  4127. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Caracas.rb +21 -0
  4128. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Catamarca.rb +11 -0
  4129. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Cayenne.rb +18 -0
  4130. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Cayman.rb +18 -0
  4131. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Chicago.rb +281 -0
  4132. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Chihuahua.rb +134 -0
  4133. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Coral_Harbour.rb +11 -0
  4134. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Cordoba.rb +11 -0
  4135. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Costa_Rica.rb +27 -0
  4136. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Creston.rb +19 -0
  4137. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Cuiaba.rb +167 -0
  4138. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Curacao.rb +18 -0
  4139. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Danmarkshavn.rb +51 -0
  4140. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Dawson.rb +174 -0
  4141. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Dawson_Creek.rb +77 -0
  4142. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Denver.rb +202 -0
  4143. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Detroit.rb +184 -0
  4144. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Dominica.rb +16 -0
  4145. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Edmonton.rb +198 -0
  4146. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Eirunepe.rb +49 -0
  4147. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/El_Salvador.rb +21 -0
  4148. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Ensenada.rb +11 -0
  4149. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Fort_Wayne.rb +11 -0
  4150. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Fortaleza.rb +55 -0
  4151. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Glace_Bay.rb +184 -0
  4152. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Godthab.rb +159 -0
  4153. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Goose_Bay.rb +253 -0
  4154. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Grand_Turk.rb +163 -0
  4155. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Grenada.rb +16 -0
  4156. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Guadeloupe.rb +16 -0
  4157. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Guatemala.rb +25 -0
  4158. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Guayaquil.rb +18 -0
  4159. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Guyana.rb +22 -0
  4160. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Halifax.rb +272 -0
  4161. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Havana.rb +199 -0
  4162. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Hermosillo.rb +33 -0
  4163. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indiana/Indianapolis.rb +147 -0
  4164. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indiana/Knox.rb +201 -0
  4165. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indiana/Marengo.rb +151 -0
  4166. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indiana/Petersburg.rb +164 -0
  4167. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indiana/Tell_City.rb +149 -0
  4168. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indiana/Vevay.rb +129 -0
  4169. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indiana/Vincennes.rb +149 -0
  4170. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indiana/Winamac.rb +155 -0
  4171. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Indianapolis.rb +11 -0
  4172. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Inuvik.rb +164 -0
  4173. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Iqaluit.rb +168 -0
  4174. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Jamaica.rb +39 -0
  4175. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Jujuy.rb +11 -0
  4176. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Juneau.rb +193 -0
  4177. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Kentucky/Louisville.rb +226 -0
  4178. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Kentucky/Monticello.rb +196 -0
  4179. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Knox_IN.rb +11 -0
  4180. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Kralendijk.rb +11 -0
  4181. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/La_Paz.rb +20 -0
  4182. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Lima.rb +33 -0
  4183. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Los_Angeles.rb +230 -0
  4184. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Louisville.rb +11 -0
  4185. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Lower_Princes.rb +11 -0
  4186. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Maceio.rb +57 -0
  4187. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Managua.rb +34 -0
  4188. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Manaus.rb +47 -0
  4189. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Marigot.rb +11 -0
  4190. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Martinique.rb +21 -0
  4191. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Matamoros.rb +129 -0
  4192. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Mazatlan.rb +137 -0
  4193. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Mendoza.rb +11 -0
  4194. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Menominee.rb +188 -0
  4195. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Merida.rb +130 -0
  4196. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Metlakatla.rb +55 -0
  4197. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Mexico_City.rb +142 -0
  4198. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Miquelon.rb +147 -0
  4199. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Moncton.rb +252 -0
  4200. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Monterrey.rb +129 -0
  4201. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Montevideo.rb +177 -0
  4202. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Montreal.rb +277 -0
  4203. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Montserrat.rb +16 -0
  4204. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Nassau.rb +191 -0
  4205. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/New_York.rb +280 -0
  4206. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Nipigon.rb +179 -0
  4207. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Nome.rb +194 -0
  4208. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Noronha.rb +55 -0
  4209. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/North_Dakota/Beulah.rb +198 -0
  4210. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/North_Dakota/Center.rb +198 -0
  4211. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/North_Dakota/New_Salem.rb +198 -0
  4212. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Ojinaga.rb +134 -0
  4213. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Panama.rb +18 -0
  4214. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Pangnirtung.rb +171 -0
  4215. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Paramaribo.rb +24 -0
  4216. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Phoenix.rb +28 -0
  4217. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Port__m__au__m__Prince.rb +55 -0
  4218. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Port_of_Spain.rb +16 -0
  4219. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Porto_Acre.rb +11 -0
  4220. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Porto_Velho.rb +45 -0
  4221. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Puerto_Rico.rb +21 -0
  4222. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Rainy_River.rb +179 -0
  4223. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Rankin_Inlet.rb +163 -0
  4224. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Recife.rb +55 -0
  4225. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Regina.rb +72 -0
  4226. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Resolute.rb +163 -0
  4227. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Rio_Branco.rb +47 -0
  4228. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Rosario.rb +11 -0
  4229. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Santa_Isabel.rb +194 -0
  4230. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Santarem.rb +47 -0
  4231. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Santiago.rb +203 -0
  4232. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Santo_Domingo.rb +36 -0
  4233. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Sao_Paulo.rb +169 -0
  4234. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Scoresbysund.rb +161 -0
  4235. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Shiprock.rb +11 -0
  4236. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Sitka.rb +192 -0
  4237. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/St_Barthelemy.rb +11 -0
  4238. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/St_Johns.rb +286 -0
  4239. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/St_Kitts.rb +16 -0
  4240. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/St_Lucia.rb +18 -0
  4241. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/St_Thomas.rb +16 -0
  4242. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/St_Vincent.rb +18 -0
  4243. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Swift_Current.rb +42 -0
  4244. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Tegucigalpa.rb +23 -0
  4245. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Thule.rb +137 -0
  4246. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Thunder_Bay.rb +184 -0
  4247. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Tijuana.rb +194 -0
  4248. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Toronto.rb +277 -0
  4249. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Tortola.rb +16 -0
  4250. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Vancouver.rb +234 -0
  4251. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Virgin.rb +11 -0
  4252. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Whitehorse.rb +174 -0
  4253. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Winnipeg.rb +230 -0
  4254. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Yakutat.rb +191 -0
  4255. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/America/Yellowknife.rb +167 -0
  4256. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/Casey.rb +21 -0
  4257. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/Davis.rb +23 -0
  4258. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/DumontDUrville.rb +19 -0
  4259. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/Macquarie.rb +112 -0
  4260. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/Mawson.rb +18 -0
  4261. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/McMurdo.rb +169 -0
  4262. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/Palmer.rb +170 -0
  4263. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/Rothera.rb +16 -0
  4264. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/South_Pole.rb +11 -0
  4265. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/Syowa.rb +16 -0
  4266. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Antarctica/Vostok.rb +16 -0
  4267. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Arctic/Longyearbyen.rb +11 -0
  4268. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Aden.rb +16 -0
  4269. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Almaty.rb +65 -0
  4270. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Amman.rb +159 -0
  4271. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Anadyr.rb +84 -0
  4272. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Aqtau.rb +73 -0
  4273. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Aqtobe.rb +69 -0
  4274. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Ashgabat.rb +46 -0
  4275. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Ashkhabad.rb +11 -0
  4276. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Baghdad.rb +71 -0
  4277. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Bahrain.rb +18 -0
  4278. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Baku.rb +159 -0
  4279. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Bangkok.rb +18 -0
  4280. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Beirut.rb +183 -0
  4281. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Bishkek.rb +73 -0
  4282. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Brunei.rb +18 -0
  4283. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Calcutta.rb +11 -0
  4284. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Choibalsan.rb +66 -0
  4285. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Chongqing.rb +31 -0
  4286. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Chungking.rb +11 -0
  4287. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Colombo.rb +28 -0
  4288. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Dacca.rb +11 -0
  4289. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Damascus.rb +193 -0
  4290. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Dhaka.rb +28 -0
  4291. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Dili.rb +23 -0
  4292. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Dubai.rb +16 -0
  4293. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Dushanbe.rb +43 -0
  4294. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Gaza.rb +113 -0
  4295. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Harbin.rb +35 -0
  4296. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Hebron.rb +115 -0
  4297. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Ho_Chi_Minh.rb +21 -0
  4298. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Hong_Kong.rb +86 -0
  4299. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Hovd.rb +63 -0
  4300. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Irkutsk.rb +85 -0
  4301. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Istanbul.rb +11 -0
  4302. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Jakarta.rb +28 -0
  4303. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Jayapura.rb +19 -0
  4304. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Jerusalem.rb +187 -0
  4305. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Kabul.rb +18 -0
  4306. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Kamchatka.rb +82 -0
  4307. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Karachi.rb +30 -0
  4308. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Kashgar.rb +33 -0
  4309. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Kathmandu.rb +18 -0
  4310. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Katmandu.rb +11 -0
  4311. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Kolkata.rb +23 -0
  4312. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +83 -0
  4313. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb +29 -0
  4314. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Kuching.rb +38 -0
  4315. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Kuwait.rb +16 -0
  4316. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Macao.rb +11 -0
  4317. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Macau.rb +59 -0
  4318. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Magadan.rb +83 -0
  4319. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Makassar.rb +21 -0
  4320. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Manila.rb +28 -0
  4321. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Muscat.rb +16 -0
  4322. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Nicosia.rb +169 -0
  4323. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Novokuznetsk.rb +85 -0
  4324. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Novosibirsk.rb +83 -0
  4325. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Omsk.rb +83 -0
  4326. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Oral.rb +72 -0
  4327. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Phnom_Penh.rb +21 -0
  4328. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Pontianak.rb +28 -0
  4329. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Pyongyang.rb +23 -0
  4330. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Qatar.rb +18 -0
  4331. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Qyzylorda.rb +71 -0
  4332. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Rangoon.rb +22 -0
  4333. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Riyadh.rb +16 -0
  4334. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Riyadh87.rb +590 -0
  4335. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Riyadh88.rb +580 -0
  4336. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Riyadh89.rb +580 -0
  4337. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Saigon.rb +11 -0
  4338. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Sakhalin.rb +85 -0
  4339. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Samarkand.rb +45 -0
  4340. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Seoul.rb +32 -0
  4341. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Shanghai.rb +33 -0
  4342. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Singapore.rb +31 -0
  4343. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Taipei.rb +57 -0
  4344. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Tashkent.rb +45 -0
  4345. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Tbilisi.rb +76 -0
  4346. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Tehran.rb +119 -0
  4347. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Tel_Aviv.rb +11 -0
  4348. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Thimbu.rb +11 -0
  4349. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Thimphu.rb +18 -0
  4350. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Tokyo.rb +28 -0
  4351. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Ujung_Pandang.rb +11 -0
  4352. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Ulaanbaatar.rb +63 -0
  4353. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Ulan_Bator.rb +11 -0
  4354. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Urumqi.rb +31 -0
  4355. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Vientiane.rb +21 -0
  4356. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Vladivostok.rb +84 -0
  4357. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Yakutsk.rb +83 -0
  4358. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +85 -0
  4359. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Asia/Yerevan.rb +85 -0
  4360. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Azores.rb +268 -0
  4361. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Bermuda.rb +171 -0
  4362. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Canary.rb +161 -0
  4363. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Cape_Verde.rb +21 -0
  4364. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Faeroe.rb +11 -0
  4365. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Faroe.rb +157 -0
  4366. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb +11 -0
  4367. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Madeira.rb +267 -0
  4368. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Reykjavik.rb +83 -0
  4369. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/South_Georgia.rb +16 -0
  4370. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/St_Helena.rb +18 -0
  4371. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Atlantic/Stanley.rb +90 -0
  4372. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/ACT.rb +11 -0
  4373. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Adelaide.rb +185 -0
  4374. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Brisbane.rb +33 -0
  4375. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Broken_Hill.rb +187 -0
  4376. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Canberra.rb +11 -0
  4377. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Currie.rb +183 -0
  4378. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Darwin.rb +27 -0
  4379. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Eucla.rb +35 -0
  4380. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Hobart.rb +191 -0
  4381. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/LHI.rb +11 -0
  4382. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Lindeman.rb +37 -0
  4383. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Lord_Howe.rb +158 -0
  4384. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Melbourne.rb +183 -0
  4385. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/NSW.rb +11 -0
  4386. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/North.rb +11 -0
  4387. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Perth.rb +35 -0
  4388. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Queensland.rb +11 -0
  4389. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/South.rb +11 -0
  4390. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Sydney.rb +183 -0
  4391. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Tasmania.rb +11 -0
  4392. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Victoria.rb +11 -0
  4393. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/West.rb +11 -0
  4394. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Australia/Yancowinna.rb +11 -0
  4395. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Brazil/Acre.rb +11 -0
  4396. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Brazil/DeNoronha.rb +11 -0
  4397. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Brazil/East.rb +11 -0
  4398. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Brazil/West.rb +11 -0
  4399. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/CET.rb +175 -0
  4400. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/CST6CDT.rb +190 -0
  4401. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/Atlantic.rb +11 -0
  4402. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/Central.rb +11 -0
  4403. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/East__m__Saskatchewan.rb +11 -0
  4404. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/Eastern.rb +11 -0
  4405. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/Mountain.rb +11 -0
  4406. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/Newfoundland.rb +11 -0
  4407. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/Pacific.rb +11 -0
  4408. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/Saskatchewan.rb +11 -0
  4409. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Canada/Yukon.rb +11 -0
  4410. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Chile/Continental.rb +11 -0
  4411. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Chile/EasterIsland.rb +11 -0
  4412. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Cuba.rb +9 -0
  4413. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/EET.rb +161 -0
  4414. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/EST.rb +12 -0
  4415. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/EST5EDT.rb +190 -0
  4416. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Egypt.rb +9 -0
  4417. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Eire.rb +9 -0
  4418. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT.rb +14 -0
  4419. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT0.rb +11 -0
  4420. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__0.rb +11 -0
  4421. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__1.rb +14 -0
  4422. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__10.rb +14 -0
  4423. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__11.rb +14 -0
  4424. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__12.rb +14 -0
  4425. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__13.rb +14 -0
  4426. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__14.rb +14 -0
  4427. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__2.rb +14 -0
  4428. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__3.rb +14 -0
  4429. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__4.rb +14 -0
  4430. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__5.rb +14 -0
  4431. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__6.rb +14 -0
  4432. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__7.rb +14 -0
  4433. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__8.rb +14 -0
  4434. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__m__9.rb +14 -0
  4435. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__0.rb +11 -0
  4436. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__1.rb +14 -0
  4437. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__10.rb +14 -0
  4438. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__11.rb +14 -0
  4439. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__12.rb +14 -0
  4440. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__2.rb +14 -0
  4441. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__3.rb +14 -0
  4442. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__4.rb +14 -0
  4443. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__5.rb +14 -0
  4444. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__6.rb +14 -0
  4445. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__7.rb +14 -0
  4446. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__8.rb +14 -0
  4447. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/GMT__p__9.rb +14 -0
  4448. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/Greenwich.rb +11 -0
  4449. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/UCT.rb +14 -0
  4450. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/UTC.rb +14 -0
  4451. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/Universal.rb +11 -0
  4452. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Etc/Zulu.rb +11 -0
  4453. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Amsterdam.rb +226 -0
  4454. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Andorra.rb +151 -0
  4455. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Athens.rb +183 -0
  4456. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Belfast.rb +11 -0
  4457. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Belgrade.rb +161 -0
  4458. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Berlin.rb +186 -0
  4459. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Bratislava.rb +11 -0
  4460. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Brussels.rb +230 -0
  4461. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Bucharest.rb +179 -0
  4462. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Budapest.rb +195 -0
  4463. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Chisinau.rb +187 -0
  4464. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Copenhagen.rb +177 -0
  4465. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Dublin.rb +274 -0
  4466. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Gibraltar.rb +243 -0
  4467. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Guernsey.rb +11 -0
  4468. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Helsinki.rb +161 -0
  4469. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Isle_of_Man.rb +11 -0
  4470. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Istanbul.rb +216 -0
  4471. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Jersey.rb +11 -0
  4472. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Kaliningrad.rb +101 -0
  4473. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Kiev.rb +166 -0
  4474. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Lisbon.rb +266 -0
  4475. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Ljubljana.rb +11 -0
  4476. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/London.rb +286 -0
  4477. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Luxembourg.rb +229 -0
  4478. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Madrid.rb +209 -0
  4479. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Malta.rb +211 -0
  4480. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Mariehamn.rb +11 -0
  4481. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Minsk.rb +90 -0
  4482. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Monaco.rb +231 -0
  4483. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Moscow.rb +101 -0
  4484. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Nicosia.rb +11 -0
  4485. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Oslo.rb +183 -0
  4486. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Paris.rb +230 -0
  4487. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Podgorica.rb +11 -0
  4488. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Prague.rb +185 -0
  4489. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Riga.rb +174 -0
  4490. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Rome.rb +213 -0
  4491. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Samara.rb +88 -0
  4492. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/San_Marino.rb +11 -0
  4493. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Sarajevo.rb +11 -0
  4494. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Simferopol.rb +168 -0
  4495. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Skopje.rb +11 -0
  4496. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Sofia.rb +171 -0
  4497. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Stockholm.rb +163 -0
  4498. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Tallinn.rb +170 -0
  4499. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Tirane.rb +175 -0
  4500. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Tiraspol.rb +11 -0
  4501. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Uzhgorod.rb +166 -0
  4502. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Vaduz.rb +157 -0
  4503. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Vatican.rb +11 -0
  4504. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Vienna.rb +181 -0
  4505. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Vilnius.rb +168 -0
  4506. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Volgograd.rb +85 -0
  4507. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Warsaw.rb +210 -0
  4508. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Zagreb.rb +11 -0
  4509. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Zaporozhye.rb +169 -0
  4510. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Europe/Zurich.rb +163 -0
  4511. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/GB.rb +9 -0
  4512. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/GB__m__Eire.rb +9 -0
  4513. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/GMT.rb +9 -0
  4514. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/GMT0.rb +9 -0
  4515. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/GMT__m__0.rb +9 -0
  4516. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/GMT__p__0.rb +9 -0
  4517. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Greenwich.rb +9 -0
  4518. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/HST.rb +12 -0
  4519. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Hongkong.rb +9 -0
  4520. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Iceland.rb +9 -0
  4521. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Antananarivo.rb +19 -0
  4522. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Chagos.rb +18 -0
  4523. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Christmas.rb +16 -0
  4524. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Cocos.rb +16 -0
  4525. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Comoro.rb +16 -0
  4526. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Kerguelen.rb +16 -0
  4527. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Mahe.rb +16 -0
  4528. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Maldives.rb +18 -0
  4529. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Mauritius.rb +21 -0
  4530. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Mayotte.rb +16 -0
  4531. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Indian/Reunion.rb +16 -0
  4532. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Iran.rb +9 -0
  4533. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Israel.rb +9 -0
  4534. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Jamaica.rb +9 -0
  4535. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Japan.rb +9 -0
  4536. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Kwajalein.rb +9 -0
  4537. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Libya.rb +9 -0
  4538. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/MET.rb +175 -0
  4539. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/MST.rb +12 -0
  4540. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/MST7MDT.rb +190 -0
  4541. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Mexico/BajaNorte.rb +11 -0
  4542. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Mexico/BajaSur.rb +11 -0
  4543. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Mexico/General.rb +11 -0
  4544. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Mideast/Riyadh87.rb +11 -0
  4545. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Mideast/Riyadh88.rb +11 -0
  4546. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Mideast/Riyadh89.rb +11 -0
  4547. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/NZ.rb +9 -0
  4548. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/NZ__m__CHAT.rb +9 -0
  4549. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Navajo.rb +9 -0
  4550. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/PRC.rb +9 -0
  4551. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/PST8PDT.rb +190 -0
  4552. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Apia.rb +104 -0
  4553. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Auckland.rb +200 -0
  4554. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Chatham.rb +169 -0
  4555. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Chuuk.rb +16 -0
  4556. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Easter.rb +188 -0
  4557. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Efate.rb +37 -0
  4558. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Enderbury.rb +20 -0
  4559. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Fakaofo.rb +18 -0
  4560. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Fiji.rb +103 -0
  4561. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Funafuti.rb +16 -0
  4562. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Galapagos.rb +18 -0
  4563. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Gambier.rb +16 -0
  4564. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Guadalcanal.rb +16 -0
  4565. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Guam.rb +20 -0
  4566. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Honolulu.rb +23 -0
  4567. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Johnston.rb +14 -0
  4568. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Kiritimati.rb +20 -0
  4569. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Kosrae.rb +19 -0
  4570. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Kwajalein.rb +20 -0
  4571. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Majuro.rb +18 -0
  4572. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Marquesas.rb +16 -0
  4573. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Midway.rb +23 -0
  4574. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Nauru.rb +21 -0
  4575. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Niue.rb +20 -0
  4576. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Norfolk.rb +18 -0
  4577. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Noumea.rb +23 -0
  4578. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Pago_Pago.rb +24 -0
  4579. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Palau.rb +16 -0
  4580. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Pitcairn.rb +18 -0
  4581. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Pohnpei.rb +16 -0
  4582. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Ponape.rb +11 -0
  4583. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Port_Moresby.rb +18 -0
  4584. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Rarotonga.rb +44 -0
  4585. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Saipan.rb +22 -0
  4586. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Samoa.rb +11 -0
  4587. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Tahiti.rb +16 -0
  4588. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Tarawa.rb +16 -0
  4589. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Tongatapu.rb +25 -0
  4590. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Truk.rb +11 -0
  4591. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Wake.rb +16 -0
  4592. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Wallis.rb +16 -0
  4593. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Pacific/Yap.rb +11 -0
  4594. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Poland.rb +9 -0
  4595. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Portugal.rb +9 -0
  4596. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/ROC.rb +9 -0
  4597. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/ROK.rb +9 -0
  4598. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Singapore.rb +9 -0
  4599. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Turkey.rb +9 -0
  4600. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/UCT.rb +9 -0
  4601. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Alaska.rb +11 -0
  4602. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Aleutian.rb +11 -0
  4603. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Arizona.rb +11 -0
  4604. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Central.rb +11 -0
  4605. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/East__m__Indiana.rb +11 -0
  4606. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Eastern.rb +11 -0
  4607. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Hawaii.rb +11 -0
  4608. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Indiana__m__Starke.rb +11 -0
  4609. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Michigan.rb +11 -0
  4610. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Mountain.rb +11 -0
  4611. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Pacific.rb +11 -0
  4612. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Pacific__m__New.rb +11 -0
  4613. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/US/Samoa.rb +11 -0
  4614. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/UTC.rb +9 -0
  4615. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Universal.rb +9 -0
  4616. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/WET.rb +161 -0
  4617. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/W__m__SU.rb +9 -0
  4618. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/definitions/Zulu.rb +9 -0
  4619. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/indexes/countries.rb +919 -0
  4620. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/indexes/timezones.rb +589 -0
  4621. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/info_timezone.rb +50 -0
  4622. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/linked_timezone.rb +49 -0
  4623. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/linked_timezone_info.rb +42 -0
  4624. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/offset_rationals.rb +97 -0
  4625. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/ruby_core_support.rb +80 -0
  4626. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/time_or_datetime.rb +291 -0
  4627. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/timezone.rb +535 -0
  4628. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/timezone_definition.rb +53 -0
  4629. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/timezone_index_definition.rb +70 -0
  4630. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/timezone_info.rb +40 -0
  4631. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/timezone_offset_info.rb +94 -0
  4632. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/timezone_period.rb +195 -0
  4633. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/timezone_proxy.rb +83 -0
  4634. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/timezone_transition_info.rb +128 -0
  4635. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo/tzdataparser.rb +1168 -0
  4636. data/vendor/bundle/gems/tzinfo-0.3.35/lib/tzinfo.rb +55 -0
  4637. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_country.rb +156 -0
  4638. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_country_index_definition.rb +70 -0
  4639. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_country_info.rb +72 -0
  4640. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_country_timezone.rb +121 -0
  4641. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_data_timezone.rb +68 -0
  4642. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_data_timezone_info.rb +282 -0
  4643. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_info_timezone.rb +36 -0
  4644. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_linked_timezone.rb +102 -0
  4645. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_linked_timezone_info.rb +18 -0
  4646. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_offset_rationals.rb +25 -0
  4647. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_ruby_core_support.rb +31 -0
  4648. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_time_or_datetime.rb +422 -0
  4649. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone.rb +964 -0
  4650. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_definition.rb +115 -0
  4651. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_index_definition.rb +75 -0
  4652. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_info.rb +13 -0
  4653. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_london.rb +114 -0
  4654. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_melbourne.rb +114 -0
  4655. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_new_york.rb +114 -0
  4656. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_offset_info.rb +116 -0
  4657. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_period.rb +509 -0
  4658. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_proxy.rb +87 -0
  4659. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_transition_info.rb +194 -0
  4660. data/vendor/bundle/gems/tzinfo-0.3.35/test/tc_timezone_utc.rb +29 -0
  4661. data/vendor/bundle/gems/tzinfo-0.3.35/test/test_utils.rb +21 -0
  4662. data/vendor/bundle/gems/tzinfo-0.3.35/test/ts_all.rb +9 -0
  4663. data/vendor/bundle/gems/yard-0.8.3/ChangeLog +12441 -0
  4664. data/vendor/bundle/gems/yard-0.8.3/LEGAL +74 -0
  4665. data/vendor/bundle/gems/yard-0.8.3/LICENSE +22 -0
  4666. data/vendor/bundle/gems/yard-0.8.3/README.md +568 -0
  4667. data/vendor/bundle/gems/yard-0.8.3/Rakefile +61 -0
  4668. data/vendor/bundle/gems/yard-0.8.3/benchmarks/builtins_vs_eval.rb +23 -0
  4669. data/vendor/bundle/gems/yard-0.8.3/benchmarks/concat_vs_join.rb +12 -0
  4670. data/vendor/bundle/gems/yard-0.8.3/benchmarks/erb_vs_erubis.rb +53 -0
  4671. data/vendor/bundle/gems/yard-0.8.3/benchmarks/format_args.rb +46 -0
  4672. data/vendor/bundle/gems/yard-0.8.3/benchmarks/generation.rb +37 -0
  4673. data/vendor/bundle/gems/yard-0.8.3/benchmarks/marshal_vs_dbm.rb +63 -0
  4674. data/vendor/bundle/gems/yard-0.8.3/benchmarks/parsing.rb +46 -0
  4675. data/vendor/bundle/gems/yard-0.8.3/benchmarks/pathname_vs_string.rb +50 -0
  4676. data/vendor/bundle/gems/yard-0.8.3/benchmarks/rdoc_vs_yardoc.rb +10 -0
  4677. data/vendor/bundle/gems/yard-0.8.3/benchmarks/registry_store_types.rb +48 -0
  4678. data/vendor/bundle/gems/yard-0.8.3/benchmarks/ri_vs_yri.rb +18 -0
  4679. data/vendor/bundle/gems/yard-0.8.3/benchmarks/ripper_parser.rb +12 -0
  4680. data/vendor/bundle/gems/yard-0.8.3/benchmarks/splat_vs_flatten.rb +12 -0
  4681. data/vendor/bundle/gems/yard-0.8.3/benchmarks/template_erb.rb +22 -0
  4682. data/vendor/bundle/gems/yard-0.8.3/benchmarks/template_format.rb +6 -0
  4683. data/vendor/bundle/gems/yard-0.8.3/benchmarks/template_profile.rb +17 -0
  4684. data/vendor/bundle/gems/yard-0.8.3/benchmarks/yri_cache.rb +19 -0
  4685. data/vendor/bundle/gems/yard-0.8.3/bin/yard +12 -0
  4686. data/vendor/bundle/gems/yard-0.8.3/bin/yardoc +12 -0
  4687. data/vendor/bundle/gems/yard-0.8.3/bin/yri +12 -0
  4688. data/vendor/bundle/gems/yard-0.8.3/docs/CodeObjects.md +115 -0
  4689. data/vendor/bundle/gems/yard-0.8.3/docs/GettingStarted.md +592 -0
  4690. data/vendor/bundle/gems/yard-0.8.3/docs/Handlers.md +152 -0
  4691. data/vendor/bundle/gems/yard-0.8.3/docs/Overview.md +61 -0
  4692. data/vendor/bundle/gems/yard-0.8.3/docs/Parser.md +191 -0
  4693. data/vendor/bundle/gems/yard-0.8.3/docs/Tags.md +282 -0
  4694. data/vendor/bundle/gems/yard-0.8.3/docs/TagsArch.md +123 -0
  4695. data/vendor/bundle/gems/yard-0.8.3/docs/Templates.md +496 -0
  4696. data/vendor/bundle/gems/yard-0.8.3/docs/WhatsNew.md +1180 -0
  4697. data/vendor/bundle/gems/yard-0.8.3/docs/images/code-objects-class-diagram.png +0 -0
  4698. data/vendor/bundle/gems/yard-0.8.3/docs/images/handlers-class-diagram.png +0 -0
  4699. data/vendor/bundle/gems/yard-0.8.3/docs/images/overview-class-diagram.png +0 -0
  4700. data/vendor/bundle/gems/yard-0.8.3/docs/images/parser-class-diagram.png +0 -0
  4701. data/vendor/bundle/gems/yard-0.8.3/docs/images/tags-class-diagram.png +0 -0
  4702. data/vendor/bundle/gems/yard-0.8.3/docs/templates/default/fulldoc/html/full_list_tag.erb +7 -0
  4703. data/vendor/bundle/gems/yard-0.8.3/docs/templates/default/fulldoc/html/setup.rb +6 -0
  4704. data/vendor/bundle/gems/yard-0.8.3/docs/templates/default/layout/html/setup.rb +8 -0
  4705. data/vendor/bundle/gems/yard-0.8.3/docs/templates/default/layout/html/tag_list.erb +11 -0
  4706. data/vendor/bundle/gems/yard-0.8.3/docs/templates/default/yard_tags/html/list.erb +18 -0
  4707. data/vendor/bundle/gems/yard-0.8.3/docs/templates/default/yard_tags/html/setup.rb +27 -0
  4708. data/vendor/bundle/gems/yard-0.8.3/docs/templates/plugin.rb +65 -0
  4709. data/vendor/bundle/gems/yard-0.8.3/lib/rubygems_plugin.rb +4 -0
  4710. data/vendor/bundle/gems/yard-0.8.3/lib/yard/autoload.rb +285 -0
  4711. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/command.rb +84 -0
  4712. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/command_parser.rb +90 -0
  4713. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/config.rb +136 -0
  4714. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/diff.rb +245 -0
  4715. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/gems.rb +83 -0
  4716. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/graph.rb +124 -0
  4717. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/help.rb +18 -0
  4718. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/i18n.rb +69 -0
  4719. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/list.rb +22 -0
  4720. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/server.rb +250 -0
  4721. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/stats.rb +213 -0
  4722. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/yardoc.rb +730 -0
  4723. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/yardopts_command.rb +109 -0
  4724. data/vendor/bundle/gems/yard-0.8.3/lib/yard/cli/yri.rb +214 -0
  4725. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/base.rb +553 -0
  4726. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/class_object.rb +143 -0
  4727. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/class_variable_object.rb +8 -0
  4728. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/constant_object.rb +13 -0
  4729. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/extended_method_object.rb +23 -0
  4730. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/extra_file_object.rb +128 -0
  4731. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/macro_object.rb +172 -0
  4732. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/method_object.rb +191 -0
  4733. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/module_object.rb +18 -0
  4734. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/namespace_object.rb +200 -0
  4735. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/proxy.rb +257 -0
  4736. data/vendor/bundle/gems/yard-0.8.3/lib/yard/code_objects/root_object.rb +16 -0
  4737. data/vendor/bundle/gems/yard-0.8.3/lib/yard/config.rb +269 -0
  4738. data/vendor/bundle/gems/yard-0.8.3/lib/yard/core_ext/array.rb +15 -0
  4739. data/vendor/bundle/gems/yard-0.8.3/lib/yard/core_ext/file.rb +65 -0
  4740. data/vendor/bundle/gems/yard-0.8.3/lib/yard/core_ext/hash.rb +15 -0
  4741. data/vendor/bundle/gems/yard-0.8.3/lib/yard/core_ext/insertion.rb +60 -0
  4742. data/vendor/bundle/gems/yard-0.8.3/lib/yard/core_ext/module.rb +19 -0
  4743. data/vendor/bundle/gems/yard-0.8.3/lib/yard/core_ext/string.rb +67 -0
  4744. data/vendor/bundle/gems/yard-0.8.3/lib/yard/core_ext/symbol_hash.rb +73 -0
  4745. data/vendor/bundle/gems/yard-0.8.3/lib/yard/docstring.rb +326 -0
  4746. data/vendor/bundle/gems/yard-0.8.3/lib/yard/docstring_parser.rb +298 -0
  4747. data/vendor/bundle/gems/yard-0.8.3/lib/yard/globals.rb +18 -0
  4748. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/base.rb +581 -0
  4749. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/alias_handler.rb +15 -0
  4750. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/attribute_handler.rb +13 -0
  4751. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/base.rb +110 -0
  4752. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/class_handler.rb +26 -0
  4753. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/constant_handler.rb +12 -0
  4754. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/handler_methods.rb +166 -0
  4755. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/init_handler.rb +18 -0
  4756. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/method_handler.rb +35 -0
  4757. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/mixin_handler.rb +13 -0
  4758. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/module_handler.rb +16 -0
  4759. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/override_comment_handler.rb +30 -0
  4760. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/path_handler.rb +10 -0
  4761. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/struct_handler.rb +12 -0
  4762. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/c/symbol_handler.rb +7 -0
  4763. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/processor.rb +198 -0
  4764. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/alias_handler.rb +41 -0
  4765. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/attribute_handler.rb +82 -0
  4766. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/base.rb +164 -0
  4767. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/class_condition_handler.rb +86 -0
  4768. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/class_handler.rb +122 -0
  4769. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
  4770. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/comment_handler.rb +9 -0
  4771. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/constant_handler.rb +45 -0
  4772. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
  4773. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/dsl_handler_methods.rb +71 -0
  4774. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/exception_handler.rb +26 -0
  4775. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/extend_handler.rb +21 -0
  4776. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/alias_handler.rb +34 -0
  4777. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/attribute_handler.rb +60 -0
  4778. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/base.rb +250 -0
  4779. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
  4780. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/class_handler.rb +110 -0
  4781. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
  4782. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
  4783. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
  4784. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
  4785. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
  4786. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
  4787. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/method_handler.rb +78 -0
  4788. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
  4789. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
  4790. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
  4791. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
  4792. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
  4793. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
  4794. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
  4795. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/method_handler.rb +91 -0
  4796. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
  4797. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
  4798. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/module_handler.rb +11 -0
  4799. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/private_constant_handler.rb +36 -0
  4800. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/struct_handler_methods.rb +141 -0
  4801. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/visibility_handler.rb +24 -0
  4802. data/vendor/bundle/gems/yard-0.8.3/lib/yard/handlers/ruby/yield_handler.rb +30 -0
  4803. data/vendor/bundle/gems/yard-0.8.3/lib/yard/i18n/locale.rb +58 -0
  4804. data/vendor/bundle/gems/yard-0.8.3/lib/yard/i18n/message.rb +56 -0
  4805. data/vendor/bundle/gems/yard-0.8.3/lib/yard/i18n/messages.rb +55 -0
  4806. data/vendor/bundle/gems/yard-0.8.3/lib/yard/i18n/pot_generator.rb +280 -0
  4807. data/vendor/bundle/gems/yard-0.8.3/lib/yard/i18n/text.rb +173 -0
  4808. data/vendor/bundle/gems/yard-0.8.3/lib/yard/logging.rb +189 -0
  4809. data/vendor/bundle/gems/yard-0.8.3/lib/yard/options.rb +216 -0
  4810. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/base.rb +56 -0
  4811. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/c/c_parser.rb +225 -0
  4812. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/c/comment_parser.rb +131 -0
  4813. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/c/statement.rb +63 -0
  4814. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/ruby/ast_node.rb +489 -0
  4815. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/ruby/legacy/ruby_lex.rb +1376 -0
  4816. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/ruby/legacy/ruby_parser.rb +31 -0
  4817. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/ruby/legacy/statement.rb +65 -0
  4818. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/ruby/legacy/statement_list.rb +381 -0
  4819. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/ruby/legacy/token_list.rb +66 -0
  4820. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/ruby/ruby_parser.rb +620 -0
  4821. data/vendor/bundle/gems/yard-0.8.3/lib/yard/parser/source_parser.rb +518 -0
  4822. data/vendor/bundle/gems/yard-0.8.3/lib/yard/rake/yardoc_task.rb +74 -0
  4823. data/vendor/bundle/gems/yard-0.8.3/lib/yard/registry.rb +438 -0
  4824. data/vendor/bundle/gems/yard-0.8.3/lib/yard/registry_store.rb +319 -0
  4825. data/vendor/bundle/gems/yard-0.8.3/lib/yard/rubygems/backports/LICENSE.txt +57 -0
  4826. data/vendor/bundle/gems/yard-0.8.3/lib/yard/rubygems/backports/MIT.txt +20 -0
  4827. data/vendor/bundle/gems/yard-0.8.3/lib/yard/rubygems/backports/gem.rb +9 -0
  4828. data/vendor/bundle/gems/yard-0.8.3/lib/yard/rubygems/backports/source_index.rb +370 -0
  4829. data/vendor/bundle/gems/yard-0.8.3/lib/yard/rubygems/backports.rb +8 -0
  4830. data/vendor/bundle/gems/yard-0.8.3/lib/yard/rubygems/doc_manager.rb +79 -0
  4831. data/vendor/bundle/gems/yard-0.8.3/lib/yard/rubygems/specification.rb +41 -0
  4832. data/vendor/bundle/gems/yard-0.8.3/lib/yard/serializers/base.rb +80 -0
  4833. data/vendor/bundle/gems/yard-0.8.3/lib/yard/serializers/file_system_serializer.rb +90 -0
  4834. data/vendor/bundle/gems/yard-0.8.3/lib/yard/serializers/process_serializer.rb +24 -0
  4835. data/vendor/bundle/gems/yard-0.8.3/lib/yard/serializers/stdout_serializer.rb +32 -0
  4836. data/vendor/bundle/gems/yard-0.8.3/lib/yard/serializers/yardoc_serializer.rb +124 -0
  4837. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/adapter.rb +100 -0
  4838. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/base.rb +192 -0
  4839. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/display_file_command.rb +24 -0
  4840. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/display_object_command.rb +58 -0
  4841. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/frames_command.rb +15 -0
  4842. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/library_command.rb +148 -0
  4843. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/library_index_command.rb +24 -0
  4844. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/list_command.rb +24 -0
  4845. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/search_command.rb +78 -0
  4846. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/commands/static_file_command.rb +57 -0
  4847. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/doc_server_helper.rb +74 -0
  4848. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/doc_server_serializer.rb +33 -0
  4849. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/library_version.rb +227 -0
  4850. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/rack_adapter.rb +88 -0
  4851. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/router.rb +176 -0
  4852. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/static_caching.rb +45 -0
  4853. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/default/fulldoc/html/css/custom.css +78 -0
  4854. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
  4855. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
  4856. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/default/layout/html/breadcrumb.erb +46 -0
  4857. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/default/layout/html/script_setup.erb +8 -0
  4858. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
  4859. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
  4860. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/default/method_details/html/setup.rb +4 -0
  4861. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
  4862. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
  4863. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
  4864. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
  4865. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
  4866. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/processing/html/processing.erb +51 -0
  4867. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
  4868. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
  4869. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
  4870. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server/webrick_adapter.rb +43 -0
  4871. data/vendor/bundle/gems/yard-0.8.3/lib/yard/server.rb +11 -0
  4872. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/default_factory.rb +176 -0
  4873. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/default_tag.rb +12 -0
  4874. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/directives.rb +594 -0
  4875. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/library.rb +630 -0
  4876. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/option_tag.rb +12 -0
  4877. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/overload_tag.rb +65 -0
  4878. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/ref_tag.rb +7 -0
  4879. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/ref_tag_list.rb +27 -0
  4880. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/tag.rb +57 -0
  4881. data/vendor/bundle/gems/yard-0.8.3/lib/yard/tags/tag_format_error.rb +6 -0
  4882. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/engine.rb +185 -0
  4883. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/erb_cache.rb +22 -0
  4884. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/base_helper.rb +212 -0
  4885. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/filter_helper.rb +26 -0
  4886. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/html_helper.rb +591 -0
  4887. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +59 -0
  4888. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/markup/rdoc_markup.rb +85 -0
  4889. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/markup_helper.rb +164 -0
  4890. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/method_helper.rb +72 -0
  4891. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/module_helper.rb +19 -0
  4892. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/text_helper.rb +95 -0
  4893. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/helpers/uml_helper.rb +46 -0
  4894. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/section.rb +106 -0
  4895. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/template.rb +407 -0
  4896. data/vendor/bundle/gems/yard-0.8.3/lib/yard/templates/template_options.rb +88 -0
  4897. data/vendor/bundle/gems/yard-0.8.3/lib/yard/verifier.rb +148 -0
  4898. data/vendor/bundle/gems/yard-0.8.3/lib/yard/version.rb +3 -0
  4899. data/vendor/bundle/gems/yard-0.8.3/lib/yard.rb +68 -0
  4900. data/vendor/bundle/gems/yard-0.8.3/spec/cli/command_parser_spec.rb +43 -0
  4901. data/vendor/bundle/gems/yard-0.8.3/spec/cli/command_spec.rb +36 -0
  4902. data/vendor/bundle/gems/yard-0.8.3/spec/cli/config_spec.rb +92 -0
  4903. data/vendor/bundle/gems/yard-0.8.3/spec/cli/diff_spec.rb +262 -0
  4904. data/vendor/bundle/gems/yard-0.8.3/spec/cli/gems_spec.rb +81 -0
  4905. data/vendor/bundle/gems/yard-0.8.3/spec/cli/graph_spec.rb +17 -0
  4906. data/vendor/bundle/gems/yard-0.8.3/spec/cli/help_spec.rb +22 -0
  4907. data/vendor/bundle/gems/yard-0.8.3/spec/cli/i18n_spec.rb +111 -0
  4908. data/vendor/bundle/gems/yard-0.8.3/spec/cli/list_spec.rb +8 -0
  4909. data/vendor/bundle/gems/yard-0.8.3/spec/cli/server_spec.rb +309 -0
  4910. data/vendor/bundle/gems/yard-0.8.3/spec/cli/stats_spec.rb +90 -0
  4911. data/vendor/bundle/gems/yard-0.8.3/spec/cli/yardoc_spec.rb +777 -0
  4912. data/vendor/bundle/gems/yard-0.8.3/spec/cli/yri_spec.rb +99 -0
  4913. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/base_spec.rb +407 -0
  4914. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/class_object_spec.rb +225 -0
  4915. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/code_object_list_spec.rb +33 -0
  4916. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/constants_spec.rb +82 -0
  4917. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/extra_file_object_spec.rb +144 -0
  4918. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/macro_object_spec.rb +148 -0
  4919. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/method_object_spec.rb +175 -0
  4920. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/module_object_spec.rb +141 -0
  4921. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/namespace_object_spec.rb +170 -0
  4922. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/proxy_spec.rb +140 -0
  4923. data/vendor/bundle/gems/yard-0.8.3/spec/code_objects/spec_helper.rb +3 -0
  4924. data/vendor/bundle/gems/yard-0.8.3/spec/config_spec.rb +176 -0
  4925. data/vendor/bundle/gems/yard-0.8.3/spec/core_ext/array_spec.rb +14 -0
  4926. data/vendor/bundle/gems/yard-0.8.3/spec/core_ext/file_spec.rb +68 -0
  4927. data/vendor/bundle/gems/yard-0.8.3/spec/core_ext/hash_spec.rb +14 -0
  4928. data/vendor/bundle/gems/yard-0.8.3/spec/core_ext/insertion_spec.rb +37 -0
  4929. data/vendor/bundle/gems/yard-0.8.3/spec/core_ext/module_spec.rb +15 -0
  4930. data/vendor/bundle/gems/yard-0.8.3/spec/core_ext/string_spec.rb +42 -0
  4931. data/vendor/bundle/gems/yard-0.8.3/spec/core_ext/symbol_hash_spec.rb +86 -0
  4932. data/vendor/bundle/gems/yard-0.8.3/spec/docstring_parser_spec.rb +228 -0
  4933. data/vendor/bundle/gems/yard-0.8.3/spec/docstring_spec.rb +305 -0
  4934. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/alias_handler_spec.rb +80 -0
  4935. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/attribute_handler_spec.rb +94 -0
  4936. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/base_spec.rb +197 -0
  4937. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/alias_handler_spec.rb +33 -0
  4938. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/attribute_handler_spec.rb +40 -0
  4939. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/class_handler_spec.rb +63 -0
  4940. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/constant_handler_spec.rb +68 -0
  4941. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/init_handler_spec.rb +47 -0
  4942. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/method_handler_spec.rb +228 -0
  4943. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/mixin_handler_spec.rb +27 -0
  4944. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/module_handler_spec.rb +38 -0
  4945. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/override_comment_handler_spec.rb +46 -0
  4946. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/path_handler_spec.rb +35 -0
  4947. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/spec_helper.rb +11 -0
  4948. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/c/struct_handler_spec.rb +15 -0
  4949. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/class_condition_handler_spec.rb +67 -0
  4950. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/class_handler_spec.rb +246 -0
  4951. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/class_variable_handler_spec.rb +11 -0
  4952. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/constant_handler_spec.rb +64 -0
  4953. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/dsl_handler_spec.rb +186 -0
  4954. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/alias_handler_001.rb.txt +44 -0
  4955. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
  4956. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
  4957. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/class_handler_001.rb.txt +120 -0
  4958. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
  4959. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/constant_handler_001.rb.txt +25 -0
  4960. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/dsl_handler_001.rb.txt +110 -0
  4961. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
  4962. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
  4963. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
  4964. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/method_handler_001.rb.txt +126 -0
  4965. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
  4966. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/module_handler_001.rb.txt +29 -0
  4967. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
  4968. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/process_handler_001.rb.txt +11 -0
  4969. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/visibility_handler_001.rb.txt +27 -0
  4970. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
  4971. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/exception_handler_spec.rb +48 -0
  4972. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/extend_handler_spec.rb +23 -0
  4973. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/legacy_base_spec.rb +128 -0
  4974. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/method_condition_handler_spec.rb +14 -0
  4975. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/method_handler_spec.rb +184 -0
  4976. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/mixin_handler_spec.rb +55 -0
  4977. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/module_function_handler_spec.rb +105 -0
  4978. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/module_handler_spec.rb +34 -0
  4979. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/private_constant_handler_spec.rb +24 -0
  4980. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/processor_spec.rb +23 -0
  4981. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/ruby/base_spec.rb +94 -0
  4982. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/ruby/legacy/base_spec.rb +82 -0
  4983. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/spec_helper.rb +33 -0
  4984. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/visibility_handler_spec.rb +34 -0
  4985. data/vendor/bundle/gems/yard-0.8.3/spec/handlers/yield_handler_spec.rb +51 -0
  4986. data/vendor/bundle/gems/yard-0.8.3/spec/i18n/locale_spec.rb +68 -0
  4987. data/vendor/bundle/gems/yard-0.8.3/spec/i18n/message_spec.rb +52 -0
  4988. data/vendor/bundle/gems/yard-0.8.3/spec/i18n/messages_spec.rb +67 -0
  4989. data/vendor/bundle/gems/yard-0.8.3/spec/i18n/pot_generator_spec.rb +262 -0
  4990. data/vendor/bundle/gems/yard-0.8.3/spec/i18n/text_spec.rb +180 -0
  4991. data/vendor/bundle/gems/yard-0.8.3/spec/logging_spec.rb +35 -0
  4992. data/vendor/bundle/gems/yard-0.8.3/spec/options_spec.rb +171 -0
  4993. data/vendor/bundle/gems/yard-0.8.3/spec/parser/base_spec.rb +24 -0
  4994. data/vendor/bundle/gems/yard-0.8.3/spec/parser/c_parser_spec.rb +166 -0
  4995. data/vendor/bundle/gems/yard-0.8.3/spec/parser/examples/array.c.txt +3887 -0
  4996. data/vendor/bundle/gems/yard-0.8.3/spec/parser/examples/example1.rb.txt +8 -0
  4997. data/vendor/bundle/gems/yard-0.8.3/spec/parser/examples/extrafile.c.txt +8 -0
  4998. data/vendor/bundle/gems/yard-0.8.3/spec/parser/examples/multifile.c.txt +6 -0
  4999. data/vendor/bundle/gems/yard-0.8.3/spec/parser/examples/override.c.txt +424 -0
  5000. data/vendor/bundle/gems/yard-0.8.3/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
  5001. data/vendor/bundle/gems/yard-0.8.3/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
  5002. data/vendor/bundle/gems/yard-0.8.3/spec/parser/examples/tag_handler_001.rb.txt +8 -0
  5003. data/vendor/bundle/gems/yard-0.8.3/spec/parser/ruby/ast_node_spec.rb +33 -0
  5004. data/vendor/bundle/gems/yard-0.8.3/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
  5005. data/vendor/bundle/gems/yard-0.8.3/spec/parser/ruby/legacy/token_list_spec.rb +69 -0
  5006. data/vendor/bundle/gems/yard-0.8.3/spec/parser/ruby/ruby_parser_spec.rb +321 -0
  5007. data/vendor/bundle/gems/yard-0.8.3/spec/parser/source_parser_spec.rb +670 -0
  5008. data/vendor/bundle/gems/yard-0.8.3/spec/parser/tag_parsing_spec.rb +18 -0
  5009. data/vendor/bundle/gems/yard-0.8.3/spec/rake/yardoc_task_spec.rb +101 -0
  5010. data/vendor/bundle/gems/yard-0.8.3/spec/registry_spec.rb +393 -0
  5011. data/vendor/bundle/gems/yard-0.8.3/spec/registry_store_spec.rb +315 -0
  5012. data/vendor/bundle/gems/yard-0.8.3/spec/rubygems/doc_manager_spec.rb +112 -0
  5013. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/data/serialized_yardoc/checksums +1 -0
  5014. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
  5015. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
  5016. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
  5017. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
  5018. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
  5019. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/file_system_serializer_spec.rb +124 -0
  5020. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/spec_helper.rb +2 -0
  5021. data/vendor/bundle/gems/yard-0.8.3/spec/serializers/yardoc_serializer_spec.rb +46 -0
  5022. data/vendor/bundle/gems/yard-0.8.3/spec/server/adapter_spec.rb +38 -0
  5023. data/vendor/bundle/gems/yard-0.8.3/spec/server/commands/base_spec.rb +87 -0
  5024. data/vendor/bundle/gems/yard-0.8.3/spec/server/commands/library_command_spec.rb +39 -0
  5025. data/vendor/bundle/gems/yard-0.8.3/spec/server/commands/static_file_command_spec.rb +84 -0
  5026. data/vendor/bundle/gems/yard-0.8.3/spec/server/doc_server_helper_spec.rb +51 -0
  5027. data/vendor/bundle/gems/yard-0.8.3/spec/server/doc_server_serializer_spec.rb +45 -0
  5028. data/vendor/bundle/gems/yard-0.8.3/spec/server/rack_adapter_spec.rb +20 -0
  5029. data/vendor/bundle/gems/yard-0.8.3/spec/server/router_spec.rb +122 -0
  5030. data/vendor/bundle/gems/yard-0.8.3/spec/server/spec_helper.rb +17 -0
  5031. data/vendor/bundle/gems/yard-0.8.3/spec/server/static_caching_spec.rb +39 -0
  5032. data/vendor/bundle/gems/yard-0.8.3/spec/server/webrick_servlet_spec.rb +20 -0
  5033. data/vendor/bundle/gems/yard-0.8.3/spec/server_spec.rb +10 -0
  5034. data/vendor/bundle/gems/yard-0.8.3/spec/spec_helper.rb +124 -0
  5035. data/vendor/bundle/gems/yard-0.8.3/spec/tags/default_factory_spec.rb +152 -0
  5036. data/vendor/bundle/gems/yard-0.8.3/spec/tags/default_tag_spec.rb +11 -0
  5037. data/vendor/bundle/gems/yard-0.8.3/spec/tags/directives_spec.rb +429 -0
  5038. data/vendor/bundle/gems/yard-0.8.3/spec/tags/library_spec.rb +34 -0
  5039. data/vendor/bundle/gems/yard-0.8.3/spec/tags/overload_tag_spec.rb +53 -0
  5040. data/vendor/bundle/gems/yard-0.8.3/spec/tags/ref_tag_list_spec.rb +53 -0
  5041. data/vendor/bundle/gems/yard-0.8.3/spec/templates/class_spec.rb +44 -0
  5042. data/vendor/bundle/gems/yard-0.8.3/spec/templates/constant_spec.rb +40 -0
  5043. data/vendor/bundle/gems/yard-0.8.3/spec/templates/engine_spec.rb +121 -0
  5044. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/class001.html +280 -0
  5045. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/class001.txt +36 -0
  5046. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/class002.html +35 -0
  5047. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/constant001.txt +25 -0
  5048. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/constant002.txt +7 -0
  5049. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/constant003.txt +11 -0
  5050. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method001.html +130 -0
  5051. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method001.txt +35 -0
  5052. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method002.html +86 -0
  5053. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method002.txt +20 -0
  5054. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method003.html +159 -0
  5055. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method003.txt +45 -0
  5056. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method004.html +44 -0
  5057. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method004.txt +10 -0
  5058. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method005.html +99 -0
  5059. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/method005.txt +33 -0
  5060. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/module001.dot +33 -0
  5061. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/module001.html +791 -0
  5062. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/module001.txt +33 -0
  5063. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/module002.html +318 -0
  5064. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/module003.html +185 -0
  5065. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/module004.html +387 -0
  5066. data/vendor/bundle/gems/yard-0.8.3/spec/templates/examples/tag001.txt +82 -0
  5067. data/vendor/bundle/gems/yard-0.8.3/spec/templates/helpers/base_helper_spec.rb +175 -0
  5068. data/vendor/bundle/gems/yard-0.8.3/spec/templates/helpers/html_helper_spec.rb +588 -0
  5069. data/vendor/bundle/gems/yard-0.8.3/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +48 -0
  5070. data/vendor/bundle/gems/yard-0.8.3/spec/templates/helpers/markup/rdoc_markup_spec.rb +84 -0
  5071. data/vendor/bundle/gems/yard-0.8.3/spec/templates/helpers/markup_helper_spec.rb +135 -0
  5072. data/vendor/bundle/gems/yard-0.8.3/spec/templates/helpers/method_helper_spec.rb +75 -0
  5073. data/vendor/bundle/gems/yard-0.8.3/spec/templates/helpers/shared_signature_examples.rb +123 -0
  5074. data/vendor/bundle/gems/yard-0.8.3/spec/templates/helpers/text_helper_spec.rb +44 -0
  5075. data/vendor/bundle/gems/yard-0.8.3/spec/templates/method_spec.rb +102 -0
  5076. data/vendor/bundle/gems/yard-0.8.3/spec/templates/module_spec.rb +181 -0
  5077. data/vendor/bundle/gems/yard-0.8.3/spec/templates/onefile_spec.rb +64 -0
  5078. data/vendor/bundle/gems/yard-0.8.3/spec/templates/section_spec.rb +146 -0
  5079. data/vendor/bundle/gems/yard-0.8.3/spec/templates/spec_helper.rb +72 -0
  5080. data/vendor/bundle/gems/yard-0.8.3/spec/templates/tag_spec.rb +51 -0
  5081. data/vendor/bundle/gems/yard-0.8.3/spec/templates/template_spec.rb +409 -0
  5082. data/vendor/bundle/gems/yard-0.8.3/spec/verifier_spec.rb +106 -0
  5083. data/vendor/bundle/gems/yard-0.8.3/templates/default/class/dot/setup.rb +6 -0
  5084. data/vendor/bundle/gems/yard-0.8.3/templates/default/class/dot/superklass.erb +3 -0
  5085. data/vendor/bundle/gems/yard-0.8.3/templates/default/class/html/constructor_details.erb +8 -0
  5086. data/vendor/bundle/gems/yard-0.8.3/templates/default/class/html/setup.rb +1 -0
  5087. data/vendor/bundle/gems/yard-0.8.3/templates/default/class/html/subclasses.erb +4 -0
  5088. data/vendor/bundle/gems/yard-0.8.3/templates/default/class/setup.rb +36 -0
  5089. data/vendor/bundle/gems/yard-0.8.3/templates/default/class/text/setup.rb +11 -0
  5090. data/vendor/bundle/gems/yard-0.8.3/templates/default/class/text/subclasses.erb +5 -0
  5091. data/vendor/bundle/gems/yard-0.8.3/templates/default/constant/text/header.erb +11 -0
  5092. data/vendor/bundle/gems/yard-0.8.3/templates/default/constant/text/setup.rb +3 -0
  5093. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/html/abstract.erb +4 -0
  5094. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/html/deprecated.erb +1 -0
  5095. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/html/index.erb +5 -0
  5096. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/html/note.erb +6 -0
  5097. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/html/private.erb +4 -0
  5098. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/html/returns_void.erb +1 -0
  5099. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/html/text.erb +1 -0
  5100. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/html/todo.erb +6 -0
  5101. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/setup.rb +49 -0
  5102. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/text/abstract.erb +2 -0
  5103. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/text/deprecated.erb +2 -0
  5104. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/text/index.erb +2 -0
  5105. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/text/note.erb +4 -0
  5106. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/text/private.erb +2 -0
  5107. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/text/returns_void.erb +1 -0
  5108. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/text/text.erb +1 -0
  5109. data/vendor/bundle/gems/yard-0.8.3/templates/default/docstring/text/todo.erb +4 -0
  5110. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/css/common.css +1 -0
  5111. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/css/full_list.css +57 -0
  5112. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/css/style.css +328 -0
  5113. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/frames.erb +28 -0
  5114. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/full_list.erb +39 -0
  5115. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/full_list_class.erb +2 -0
  5116. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/full_list_file.erb +5 -0
  5117. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/full_list_method.erb +12 -0
  5118. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/js/app.js +214 -0
  5119. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/js/full_list.js +173 -0
  5120. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/js/jquery.js +4 -0
  5121. data/vendor/bundle/gems/yard-0.8.3/templates/default/fulldoc/html/setup.rb +206 -0
  5122. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/dot/header.erb +6 -0
  5123. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/dot/setup.rb +14 -0
  5124. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/breadcrumb.erb +13 -0
  5125. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/files.erb +11 -0
  5126. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/footer.erb +5 -0
  5127. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/headers.erb +14 -0
  5128. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/index.erb +2 -0
  5129. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/layout.erb +20 -0
  5130. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/listing.erb +4 -0
  5131. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/objects.erb +32 -0
  5132. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/script_setup.erb +5 -0
  5133. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/search.erb +8 -0
  5134. data/vendor/bundle/gems/yard-0.8.3/templates/default/layout/html/setup.rb +71 -0
  5135. data/vendor/bundle/gems/yard-0.8.3/templates/default/method/html/header.erb +16 -0
  5136. data/vendor/bundle/gems/yard-0.8.3/templates/default/method/setup.rb +3 -0
  5137. data/vendor/bundle/gems/yard-0.8.3/templates/default/method/text/header.erb +1 -0
  5138. data/vendor/bundle/gems/yard-0.8.3/templates/default/method_details/html/header.erb +3 -0
  5139. data/vendor/bundle/gems/yard-0.8.3/templates/default/method_details/html/method_signature.erb +25 -0
  5140. data/vendor/bundle/gems/yard-0.8.3/templates/default/method_details/html/source.erb +10 -0
  5141. data/vendor/bundle/gems/yard-0.8.3/templates/default/method_details/setup.rb +10 -0
  5142. data/vendor/bundle/gems/yard-0.8.3/templates/default/method_details/text/header.erb +10 -0
  5143. data/vendor/bundle/gems/yard-0.8.3/templates/default/method_details/text/method_signature.erb +12 -0
  5144. data/vendor/bundle/gems/yard-0.8.3/templates/default/method_details/text/setup.rb +10 -0
  5145. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/dot/child.erb +1 -0
  5146. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/dot/dependencies.erb +3 -0
  5147. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/dot/header.erb +6 -0
  5148. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/dot/info.erb +14 -0
  5149. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/dot/setup.rb +14 -0
  5150. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/attribute_details.erb +10 -0
  5151. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/attribute_summary.erb +8 -0
  5152. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/box_info.erb +37 -0
  5153. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/children.erb +8 -0
  5154. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/constant_summary.erb +13 -0
  5155. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/defines.erb +3 -0
  5156. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/header.erb +5 -0
  5157. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/inherited_attributes.erb +14 -0
  5158. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/inherited_constants.erb +8 -0
  5159. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/inherited_methods.erb +19 -0
  5160. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/item_summary.erb +40 -0
  5161. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/method_details_list.erb +9 -0
  5162. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/method_summary.erb +14 -0
  5163. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/methodmissing.erb +12 -0
  5164. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/html/pre_docstring.erb +1 -0
  5165. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/setup.rb +164 -0
  5166. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/text/children.erb +10 -0
  5167. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/text/class_meths_list.erb +8 -0
  5168. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/text/extends.erb +8 -0
  5169. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/text/header.erb +7 -0
  5170. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/text/includes.erb +8 -0
  5171. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/text/instance_meths_list.erb +8 -0
  5172. data/vendor/bundle/gems/yard-0.8.3/templates/default/module/text/setup.rb +12 -0
  5173. data/vendor/bundle/gems/yard-0.8.3/templates/default/onefile/html/files.erb +5 -0
  5174. data/vendor/bundle/gems/yard-0.8.3/templates/default/onefile/html/layout.erb +22 -0
  5175. data/vendor/bundle/gems/yard-0.8.3/templates/default/onefile/html/readme.erb +3 -0
  5176. data/vendor/bundle/gems/yard-0.8.3/templates/default/onefile/html/setup.rb +43 -0
  5177. data/vendor/bundle/gems/yard-0.8.3/templates/default/root/dot/child.erb +3 -0
  5178. data/vendor/bundle/gems/yard-0.8.3/templates/default/root/dot/setup.rb +5 -0
  5179. data/vendor/bundle/gems/yard-0.8.3/templates/default/root/html/setup.rb +1 -0
  5180. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/html/example.erb +11 -0
  5181. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/html/index.erb +3 -0
  5182. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/html/option.erb +24 -0
  5183. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/html/overload.erb +14 -0
  5184. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/html/see.erb +8 -0
  5185. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/html/tag.erb +20 -0
  5186. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/setup.rb +55 -0
  5187. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/text/example.erb +12 -0
  5188. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/text/index.erb +1 -0
  5189. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/text/option.erb +20 -0
  5190. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/text/overload.erb +19 -0
  5191. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/text/see.erb +11 -0
  5192. data/vendor/bundle/gems/yard-0.8.3/templates/default/tags/text/tag.erb +13 -0
  5193. data/vendor/bundle/gems/yard-0.8.3/templates/guide/class/html/setup.rb +1 -0
  5194. data/vendor/bundle/gems/yard-0.8.3/templates/guide/docstring/html/setup.rb +1 -0
  5195. data/vendor/bundle/gems/yard-0.8.3/templates/guide/fulldoc/html/css/style.css +93 -0
  5196. data/vendor/bundle/gems/yard-0.8.3/templates/guide/fulldoc/html/js/app.js +33 -0
  5197. data/vendor/bundle/gems/yard-0.8.3/templates/guide/fulldoc/html/setup.rb +54 -0
  5198. data/vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/layout.erb +81 -0
  5199. data/vendor/bundle/gems/yard-0.8.3/templates/guide/layout/html/setup.rb +24 -0
  5200. data/vendor/bundle/gems/yard-0.8.3/templates/guide/method/html/header.erb +18 -0
  5201. data/vendor/bundle/gems/yard-0.8.3/templates/guide/method/html/setup.rb +21 -0
  5202. data/vendor/bundle/gems/yard-0.8.3/templates/guide/module/html/header.erb +7 -0
  5203. data/vendor/bundle/gems/yard-0.8.3/templates/guide/module/html/method_list.erb +5 -0
  5204. data/vendor/bundle/gems/yard-0.8.3/templates/guide/module/html/setup.rb +26 -0
  5205. data/vendor/bundle/gems/yard-0.8.3/templates/guide/tags/html/setup.rb +8 -0
  5206. data/vendor/bundle/gems/yard-0.8.3/yard.gemspec +24 -0
  5207. data/vendor/bundle/specifications/actionmailer-3.2.9.gemspec +33 -0
  5208. data/vendor/bundle/specifications/actionpack-3.2.9.gemspec +57 -0
  5209. data/vendor/bundle/specifications/activemodel-3.2.9.gemspec +32 -0
  5210. data/vendor/bundle/specifications/activerecord-3.2.9.gemspec +41 -0
  5211. data/vendor/bundle/specifications/activeresource-3.2.9.gemspec +35 -0
  5212. data/vendor/bundle/specifications/activesupport-3.2.9.gemspec +33 -0
  5213. data/vendor/bundle/specifications/ansi-1.4.3.gemspec +36 -0
  5214. data/vendor/bundle/specifications/arel-3.0.2.gemspec +38 -0
  5215. data/vendor/bundle/specifications/bcrypt-ruby-3.0.1.gemspec +36 -0
  5216. data/vendor/bundle/specifications/bourne-1.1.2.gemspec +31 -0
  5217. data/vendor/bundle/specifications/builder-3.0.4.gemspec +29 -0
  5218. data/vendor/bundle/specifications/erubis-2.7.0.gemspec +28 -0
  5219. data/vendor/bundle/specifications/factory_girl-4.1.0.gemspec +59 -0
  5220. data/vendor/bundle/specifications/highline-1.6.15.gemspec +29 -0
  5221. data/vendor/bundle/specifications/hike-1.2.1.gemspec +25 -0
  5222. data/vendor/bundle/specifications/i18n-0.6.1.gemspec +38 -0
  5223. data/vendor/bundle/specifications/journey-1.0.4.gemspec +47 -0
  5224. data/vendor/bundle/specifications/json-1.7.5.gemspec +36 -0
  5225. data/vendor/bundle/specifications/mail-2.4.4.gemspec +36 -0
  5226. data/vendor/bundle/specifications/metaclass-0.0.1.gemspec +25 -0
  5227. data/vendor/bundle/specifications/mime-types-1.19.gemspec +56 -0
  5228. data/vendor/bundle/specifications/minitest-4.3.2.gemspec +36 -0
  5229. data/vendor/bundle/specifications/mocha-0.10.5.gemspec +44 -0
  5230. data/vendor/bundle/specifications/multi_json-1.4.0.gemspec +41 -0
  5231. data/vendor/bundle/specifications/polyglot-0.3.3.gemspec +28 -0
  5232. data/vendor/bundle/specifications/rack-1.4.1.gemspec +47 -0
  5233. data/vendor/bundle/specifications/rack-cache-1.2.gemspec +40 -0
  5234. data/vendor/bundle/specifications/rack-ssl-1.3.2.gemspec +29 -0
  5235. data/vendor/bundle/specifications/rack-test-0.6.2.gemspec +31 -0
  5236. data/vendor/bundle/specifications/rails-3.2.9.gemspec +47 -0
  5237. data/vendor/bundle/specifications/railties-3.2.9.gemspec +47 -0
  5238. data/vendor/bundle/specifications/rake-10.0.2.gemspec +34 -0
  5239. data/vendor/bundle/specifications/rdiscount-1.6.8.gemspec +29 -0
  5240. data/vendor/bundle/specifications/rdoc-3.12.gemspec +51 -0
  5241. data/vendor/bundle/specifications/shoulda-3.3.2.gemspec +49 -0
  5242. data/vendor/bundle/specifications/shoulda-context-1.0.1.gemspec +36 -0
  5243. data/vendor/bundle/specifications/shoulda-matchers-1.4.2.gemspec +52 -0
  5244. data/vendor/bundle/specifications/simplecov-0.7.1.gemspec +52 -0
  5245. data/vendor/bundle/specifications/simplecov-html-0.7.1.gemspec +35 -0
  5246. data/vendor/bundle/specifications/sprockets-2.2.2.gemspec +64 -0
  5247. data/vendor/bundle/specifications/sqlite3-1.3.6.gemspec +43 -0
  5248. data/vendor/bundle/specifications/thor-0.16.0.gemspec +50 -0
  5249. data/vendor/bundle/specifications/tilt-1.3.3.gemspec +97 -0
  5250. data/vendor/bundle/specifications/treetop-1.4.12.gemspec +53 -0
  5251. data/vendor/bundle/specifications/turn-0.9.6.gemspec +38 -0
  5252. data/vendor/bundle/specifications/tzinfo-0.3.35.gemspec +29 -0
  5253. data/vendor/bundle/specifications/yard-0.8.3.gemspec +28 -0
  5254. metadata +5245 -6
@@ -0,0 +1,3713 @@
1
+ h2. Active Support Core Extensions
2
+
3
+ Active Support is the Ruby on Rails component responsible for providing Ruby language extensions, utilities, and other transversal stuff.
4
+
5
+ It offers a richer bottom-line at the language level, targeted both at the development of Rails applications, and at the development of Ruby on Rails itself.
6
+
7
+ By referring to this guide you will learn the extensions to the Ruby core classes and modules provided by Active Support.
8
+
9
+ endprologue.
10
+
11
+ h3. How to Load Core Extensions
12
+
13
+ h4. Stand-Alone Active Support
14
+
15
+ In order to have a near zero default footprint, Active Support does not load anything by default. It is broken in small pieces so that you may load just what you need, and also has some convenience entry points to load related extensions in one shot, even everything.
16
+
17
+ Thus, after a simple require like:
18
+
19
+ <ruby>
20
+ require 'active_support'
21
+ </ruby>
22
+
23
+ objects do not even respond to +blank?+. Let's see how to load its definition.
24
+
25
+ h5. Cherry-picking a Definition
26
+
27
+ The most lightweight way to get +blank?+ is to cherry-pick the file that defines it.
28
+
29
+ For every single method defined as a core extension this guide has a note that says where such a method is defined. In the case of +blank?+ the note reads:
30
+
31
+ NOTE: Defined in +active_support/core_ext/object/blank.rb+.
32
+
33
+ That means that this single call is enough:
34
+
35
+ <ruby>
36
+ require 'active_support/core_ext/object/blank'
37
+ </ruby>
38
+
39
+ Active Support has been carefully revised so that cherry-picking a file loads only strictly needed dependencies, if any.
40
+
41
+ h5. Loading Grouped Core Extensions
42
+
43
+ The next level is to simply load all extensions to +Object+. As a rule of thumb, extensions to +SomeClass+ are available in one shot by loading +active_support/core_ext/some_class+.
44
+
45
+ Thus, to load all extensions to +Object+ (including +blank?+):
46
+
47
+ <ruby>
48
+ require 'active_support/core_ext/object'
49
+ </ruby>
50
+
51
+ h5. Loading All Core Extensions
52
+
53
+ You may prefer just to load all core extensions, there is a file for that:
54
+
55
+ <ruby>
56
+ require 'active_support/core_ext'
57
+ </ruby>
58
+
59
+ h5. Loading All Active Support
60
+
61
+ And finally, if you want to have all Active Support available just issue:
62
+
63
+ <ruby>
64
+ require 'active_support/all'
65
+ </ruby>
66
+
67
+ That does not even put the entire Active Support in memory upfront indeed, some stuff is configured via +autoload+, so it is only loaded if used.
68
+
69
+ h4. Active Support Within a Ruby on Rails Application
70
+
71
+ A Ruby on Rails application loads all Active Support unless +config.active_support.bare+ is true. In that case, the application will only load what the framework itself cherry-picks for its own needs, and can still cherry-pick itself at any granularity level, as explained in the previous section.
72
+
73
+ h3. Extensions to All Objects
74
+
75
+ h4. +blank?+ and +present?+
76
+
77
+ The following values are considered to be blank in a Rails application:
78
+
79
+ * +nil+ and +false+,
80
+
81
+ * strings composed only of whitespace (see note below),
82
+
83
+ * empty arrays and hashes, and
84
+
85
+ * any other object that responds to +empty?+ and it is empty.
86
+
87
+ INFO: In Ruby 1.9 the predicate for strings uses the Unicode-aware character class <tt>[:space:]</tt>, so for example U+2029 (paragraph separator) is considered to be whitespace. In Ruby 1.8 whitespace is considered to be <tt>\s</tt> together with the ideographic space U+3000.
88
+
89
+ WARNING: Note that numbers are not mentioned, in particular 0 and 0.0 are *not* blank.
90
+
91
+ For example, this method from +ActionDispatch::Session::AbstractStore+ uses +blank?+ for checking whether a session key is present:
92
+
93
+ <ruby>
94
+ def ensure_session_key!
95
+ if @key.blank?
96
+ raise ArgumentError, 'A key is required...'
97
+ end
98
+ end
99
+ </ruby>
100
+
101
+ The method +present?+ is equivalent to +!blank?+. This example is taken from +ActionDispatch::Http::Cache::Response+:
102
+
103
+ <ruby>
104
+ def set_conditional_cache_control!
105
+ return if self["Cache-Control"].present?
106
+ ...
107
+ end
108
+ </ruby>
109
+
110
+ NOTE: Defined in +active_support/core_ext/object/blank.rb+.
111
+
112
+ h4. +presence+
113
+
114
+ The +presence+ method returns its receiver if +present?+, and +nil+ otherwise. It is useful for idioms like this:
115
+
116
+ <ruby>
117
+ host = config[:host].presence || 'localhost'
118
+ </ruby>
119
+
120
+ NOTE: Defined in +active_support/core_ext/object/blank.rb+.
121
+
122
+ h4. +duplicable?+
123
+
124
+ A few fundamental objects in Ruby are singletons. For example, in the whole life of a program the integer 1 refers always to the same instance:
125
+
126
+ <ruby>
127
+ 1.object_id # => 3
128
+ Math.cos(0).to_i.object_id # => 3
129
+ </ruby>
130
+
131
+ Hence, there's no way these objects can be duplicated through +dup+ or +clone+:
132
+
133
+ <ruby>
134
+ true.dup # => TypeError: can't dup TrueClass
135
+ </ruby>
136
+
137
+ Some numbers which are not singletons are not duplicable either:
138
+
139
+ <ruby>
140
+ 0.0.clone # => allocator undefined for Float
141
+ (2**1024).clone # => allocator undefined for Bignum
142
+ </ruby>
143
+
144
+ Active Support provides +duplicable?+ to programmatically query an object about this property:
145
+
146
+ <ruby>
147
+ "".duplicable? # => true
148
+ false.duplicable? # => false
149
+ </ruby>
150
+
151
+ By definition all objects are +duplicable?+ except +nil+, +false+, +true+, symbols, numbers, and class and module objects.
152
+
153
+ WARNING. Any class can disallow duplication removing +dup+ and +clone+ or raising exceptions from them, only +rescue+ can tell whether a given arbitrary object is duplicable. +duplicable?+ depends on the hard-coded list above, but it is much faster than +rescue+. Use it only if you know the hard-coded list is enough in your use case.
154
+
155
+ NOTE: Defined in +active_support/core_ext/object/duplicable.rb+.
156
+
157
+ h4. +try+
158
+
159
+ Sometimes you want to call a method provided the receiver object is not +nil+, which is something you usually check first. +try+ is like +Object#send+ except that it returns +nil+ if sent to +nil+.
160
+
161
+ For instance, in this code from +ActiveRecord::ConnectionAdapters::AbstractAdapter+ +@logger+ could be +nil+, but you save the check and write in an optimistic style:
162
+
163
+ <ruby>
164
+ def log_info(sql, name, ms)
165
+ if @logger.try(:debug?)
166
+ name = '%s (%.1fms)' % [name || 'SQL', ms]
167
+ @logger.debug(format_log_entry(name, sql.squeeze(' ')))
168
+ end
169
+ end
170
+ </ruby>
171
+
172
+ +try+ can also be called without arguments but a block, which will only be executed if the object is not nil:
173
+
174
+ <ruby>
175
+ @person.try { |p| "#{p.first_name} #{p.last_name}" }
176
+ </ruby>
177
+
178
+ NOTE: Defined in +active_support/core_ext/object/try.rb+.
179
+
180
+ h4. +singleton_class+
181
+
182
+ The method +singleton_class+ returns the singleton class of the receiver:
183
+
184
+ <ruby>
185
+ String.singleton_class # => #<Class:String>
186
+ String.new.singleton_class # => #<Class:#<String:0x17a1d1c>>
187
+ </ruby>
188
+
189
+ WARNING: Fixnums and symbols have no singleton classes, +singleton_class+ raises +TypeError+ on them. Moreover, the singleton classes of +nil+, +true+, and +false+, are +NilClass+, +TrueClass+, and +FalseClass+, respectively.
190
+
191
+ NOTE: Defined in +active_support/core_ext/kernel/singleton_class.rb+.
192
+
193
+ h4. +class_eval(*args, &block)+
194
+
195
+ You can evaluate code in the context of any object's singleton class using +class_eval+:
196
+
197
+ <ruby>
198
+ class Proc
199
+ def bind(object)
200
+ block, time = self, Time.now
201
+ object.class_eval do
202
+ method_name = "__bind_#{time.to_i}_#{time.usec}"
203
+ define_method(method_name, &block)
204
+ method = instance_method(method_name)
205
+ remove_method(method_name)
206
+ method
207
+ end.bind(object)
208
+ end
209
+ end
210
+ </ruby>
211
+
212
+ NOTE: Defined in +active_support/core_ext/kernel/singleton_class.rb+.
213
+
214
+ h4. +acts_like?(duck)+
215
+
216
+ The method +acts_like+ provides a way to check whether some class acts like some other class based on a simple convention: a class that provides the same interface as +String+ defines
217
+
218
+ <ruby>
219
+ def acts_like_string?
220
+ end
221
+ </ruby>
222
+
223
+ which is only a marker, its body or return value are irrelevant. Then, client code can query for duck-type-safeness this way:
224
+
225
+ <ruby>
226
+ some_klass.acts_like?(:string)
227
+ </ruby>
228
+
229
+ Rails has classes that act like +Date+ or +Time+ and follow this contract.
230
+
231
+ NOTE: Defined in +active_support/core_ext/object/acts_like.rb+.
232
+
233
+ h4. +to_param+
234
+
235
+ All objects in Rails respond to the method +to_param+, which is meant to return something that represents them as values in a query string, or as URL fragments.
236
+
237
+ By default +to_param+ just calls +to_s+:
238
+
239
+ <ruby>
240
+ 7.to_param # => "7"
241
+ </ruby>
242
+
243
+ The return value of +to_param+ should *not* be escaped:
244
+
245
+ <ruby>
246
+ "Tom & Jerry".to_param # => "Tom & Jerry"
247
+ </ruby>
248
+
249
+ Several classes in Rails overwrite this method.
250
+
251
+ For example +nil+, +true+, and +false+ return themselves. +Array#to_param+ calls +to_param+ on the elements and joins the result with "/":
252
+
253
+ <ruby>
254
+ [0, true, String].to_param # => "0/true/String"
255
+ </ruby>
256
+
257
+ Notably, the Rails routing system calls +to_param+ on models to get a value for the +:id+ placeholder. +ActiveRecord::Base#to_param+ returns the +id+ of a model, but you can redefine that method in your models. For example, given
258
+
259
+ <ruby>
260
+ class User
261
+ def to_param
262
+ "#{id}-#{name.parameterize}"
263
+ end
264
+ end
265
+ </ruby>
266
+
267
+ we get:
268
+
269
+ <ruby>
270
+ user_path(@user) # => "/users/357-john-smith"
271
+ </ruby>
272
+
273
+ WARNING. Controllers need to be aware of any redefinition of +to_param+ because when a request like that comes in "357-john-smith" is the value of +params[:id]+.
274
+
275
+ NOTE: Defined in +active_support/core_ext/object/to_param.rb+.
276
+
277
+ h4. +to_query+
278
+
279
+ Except for hashes, given an unescaped +key+ this method constructs the part of a query string that would map such key to what +to_param+ returns. For example, given
280
+
281
+ <ruby>
282
+ class User
283
+ def to_param
284
+ "#{id}-#{name.parameterize}"
285
+ end
286
+ end
287
+ </ruby>
288
+
289
+ we get:
290
+
291
+ <ruby>
292
+ current_user.to_query('user') # => user=357-john-smith
293
+ </ruby>
294
+
295
+ This method escapes whatever is needed, both for the key and the value:
296
+
297
+ <ruby>
298
+ account.to_query('company[name]')
299
+ # => "company%5Bname%5D=Johnson<plus>%26<plus>Johnson"
300
+ </ruby>
301
+
302
+ so its output is ready to be used in a query string.
303
+
304
+ Arrays return the result of applying +to_query+ to each element with <tt>_key_[]</tt> as key, and join the result with "&":
305
+
306
+ <ruby>
307
+ [3.4, -45.6].to_query('sample')
308
+ # => "sample%5B%5D=3.4&sample%5B%5D=-45.6"
309
+ </ruby>
310
+
311
+ Hashes also respond to +to_query+ but with a different signature. If no argument is passed a call generates a sorted series of key/value assignments calling +to_query(key)+ on its values. Then it joins the result with "&":
312
+
313
+ <ruby>
314
+ {:c => 3, :b => 2, :a => 1}.to_query # => "a=1&b=2&c=3"
315
+ </ruby>
316
+
317
+ The method +Hash#to_query+ accepts an optional namespace for the keys:
318
+
319
+ <ruby>
320
+ {:id => 89, :name => "John Smith"}.to_query('user')
321
+ # => "user%5Bid%5D=89&user%5Bname%5D=John+Smith"
322
+ </ruby>
323
+
324
+ NOTE: Defined in +active_support/core_ext/object/to_query.rb+.
325
+
326
+ h4. +with_options+
327
+
328
+ The method +with_options+ provides a way to factor out common options in a series of method calls.
329
+
330
+ Given a default options hash, +with_options+ yields a proxy object to a block. Within the block, methods called on the proxy are forwarded to the receiver with their options merged. For example, you get rid of the duplication in:
331
+
332
+ <ruby>
333
+ class Account < ActiveRecord::Base
334
+ has_many :customers, :dependent => :destroy
335
+ has_many :products, :dependent => :destroy
336
+ has_many :invoices, :dependent => :destroy
337
+ has_many :expenses, :dependent => :destroy
338
+ end
339
+ </ruby>
340
+
341
+ this way:
342
+
343
+ <ruby>
344
+ class Account < ActiveRecord::Base
345
+ with_options :dependent => :destroy do |assoc|
346
+ assoc.has_many :customers
347
+ assoc.has_many :products
348
+ assoc.has_many :invoices
349
+ assoc.has_many :expenses
350
+ end
351
+ end
352
+ </ruby>
353
+
354
+ That idiom may convey _grouping_ to the reader as well. For example, say you want to send a newsletter whose language depends on the user. Somewhere in the mailer you could group locale-dependent bits like this:
355
+
356
+ <ruby>
357
+ I18n.with_options :locale => user.locale, :scope => "newsletter" do |i18n|
358
+ subject i18n.t :subject
359
+ body i18n.t :body, :user_name => user.name
360
+ end
361
+ </ruby>
362
+
363
+ TIP: Since +with_options+ forwards calls to its receiver they can be nested. Each nesting level will merge inherited defaults in addition to their own.
364
+
365
+ NOTE: Defined in +active_support/core_ext/object/with_options.rb+.
366
+
367
+ h4. Instance Variables
368
+
369
+ Active Support provides several methods to ease access to instance variables.
370
+
371
+ h5. +instance_variable_names+
372
+
373
+ Ruby 1.8 and 1.9 have a method called +instance_variables+ that returns the names of the defined instance variables. But they behave differently, in 1.8 it returns strings whereas in 1.9 it returns symbols. Active Support defines +instance_variable_names+ as a portable way to obtain them as strings:
374
+
375
+ <ruby>
376
+ class C
377
+ def initialize(x, y)
378
+ @x, @y = x, y
379
+ end
380
+ end
381
+
382
+ C.new(0, 1).instance_variable_names # => ["@y", "@x"]
383
+ </ruby>
384
+
385
+ WARNING: The order in which the names are returned is unspecified, and it indeed depends on the version of the interpreter.
386
+
387
+ NOTE: Defined in +active_support/core_ext/object/instance_variables.rb+.
388
+
389
+ h5. +instance_values+
390
+
391
+ The method +instance_values+ returns a hash that maps instance variable names without "@" to their
392
+ corresponding values. Keys are strings both in Ruby 1.8 and 1.9:
393
+
394
+ <ruby>
395
+ class C
396
+ def initialize(x, y)
397
+ @x, @y = x, y
398
+ end
399
+ end
400
+
401
+ C.new(0, 1).instance_values # => {"x" => 0, "y" => 1}
402
+ </ruby>
403
+
404
+ NOTE: Defined in +active_support/core_ext/object/instance_variables.rb+.
405
+
406
+ h4. Silencing Warnings, Streams, and Exceptions
407
+
408
+ The methods +silence_warnings+ and +enable_warnings+ change the value of +$VERBOSE+ accordingly for the duration of their block, and reset it afterwards:
409
+
410
+ <ruby>
411
+ silence_warnings { Object.const_set "RAILS_DEFAULT_LOGGER", logger }
412
+ </ruby>
413
+
414
+ You can silence any stream while a block runs with +silence_stream+:
415
+
416
+ <ruby>
417
+ silence_stream(STDOUT) do
418
+ # STDOUT is silent here
419
+ end
420
+ </ruby>
421
+
422
+ The +quietly+ method addresses the common use case where you want to silence STDOUT and STDERR, even in subprocesses:
423
+
424
+ <ruby>
425
+ quietly { system 'bundle install' }
426
+ </ruby>
427
+
428
+ For example, the railties test suite uses that one in a few places to prevent command messages from being echoed intermixed with the progress status.
429
+
430
+ Silencing exceptions is also possible with +suppress+. This method receives an arbitrary number of exception classes. If an exception is raised during the execution of the block and is +kind_of?+ any of the arguments, +suppress+ captures it and returns silently. Otherwise the exception is reraised:
431
+
432
+ <ruby>
433
+ # If the user is locked the increment is lost, no big deal.
434
+ suppress(ActiveRecord::StaleObjectError) do
435
+ current_user.increment! :visits
436
+ end
437
+ </ruby>
438
+
439
+ NOTE: Defined in +active_support/core_ext/kernel/reporting.rb+.
440
+
441
+ h4. +in?+
442
+
443
+ The predicate +in?+ tests if an object is included in another object or a list of objects. An +ArgumentError+ exception will be raised if a single argument is passed and it does not respond to +include?+.
444
+
445
+ Examples of +in?+:
446
+
447
+ <ruby>
448
+ 1.in?(1,2) # => true
449
+ 1.in?([1,2]) # => true
450
+ "lo".in?("hello") # => true
451
+ 25.in?(30..50) # => false
452
+ 1.in?(1) # => ArgumentError
453
+ </ruby>
454
+
455
+ NOTE: Defined in +active_support/core_ext/object/inclusion.rb+.
456
+
457
+ h3. Extensions to +Module+
458
+
459
+ h4. +alias_method_chain+
460
+
461
+ Using plain Ruby you can wrap methods with other methods, that's called _alias chaining_.
462
+
463
+ For example, let's say you'd like params to be strings in functional tests, as they are in real requests, but still want the convenience of assigning integers and other kind of values. To accomplish that you could wrap +ActionController::TestCase#process+ this way in +test/test_helper.rb+:
464
+
465
+ <ruby>
466
+ ActionController::TestCase.class_eval do
467
+ # save a reference to the original process method
468
+ alias_method :original_process, :process
469
+
470
+ # now redefine process and delegate to original_process
471
+ def process(action, params=nil, session=nil, flash=nil, http_method='GET')
472
+ params = Hash[*params.map {|k, v| [k, v.to_s]}.flatten]
473
+ original_process(action, params, session, flash, http_method)
474
+ end
475
+ end
476
+ </ruby>
477
+
478
+ That's the method +get+, +post+, etc., delegate the work to.
479
+
480
+ That technique has a risk, it could be the case that +:original_process+ was taken. To try to avoid collisions people choose some label that characterizes what the chaining is about:
481
+
482
+ <ruby>
483
+ ActionController::TestCase.class_eval do
484
+ def process_with_stringified_params(...)
485
+ params = Hash[*params.map {|k, v| [k, v.to_s]}.flatten]
486
+ process_without_stringified_params(action, params, session, flash, http_method)
487
+ end
488
+ alias_method :process_without_stringified_params, :process
489
+ alias_method :process, :process_with_stringified_params
490
+ end
491
+ </ruby>
492
+
493
+ The method +alias_method_chain+ provides a shortcut for that pattern:
494
+
495
+ <ruby>
496
+ ActionController::TestCase.class_eval do
497
+ def process_with_stringified_params(...)
498
+ params = Hash[*params.map {|k, v| [k, v.to_s]}.flatten]
499
+ process_without_stringified_params(action, params, session, flash, http_method)
500
+ end
501
+ alias_method_chain :process, :stringified_params
502
+ end
503
+ </ruby>
504
+
505
+ Rails uses +alias_method_chain+ all over the code base. For example validations are added to +ActiveRecord::Base#save+ by wrapping the method that way in a separate module specialized in validations.
506
+
507
+ NOTE: Defined in +active_support/core_ext/module/aliasing.rb+.
508
+
509
+ h4. Attributes
510
+
511
+ h5. +alias_attribute+
512
+
513
+ Model attributes have a reader, a writer, and a predicate. You can alias a model attribute having the corresponding three methods defined for you in one shot. As in other aliasing methods, the new name is the first argument, and the old name is the second (my mnemonic is they go in the same order as if you did an assignment):
514
+
515
+ <ruby>
516
+ class User < ActiveRecord::Base
517
+ # let me refer to the email column as "login",
518
+ # possibly meaningful for authentication code
519
+ alias_attribute :login, :email
520
+ end
521
+ </ruby>
522
+
523
+ NOTE: Defined in +active_support/core_ext/module/aliasing.rb+.
524
+
525
+ h5. +attr_accessor_with_default+
526
+
527
+ The method +attr_accessor_with_default+ serves the same purpose as the Ruby macro +attr_accessor+ but allows you to set a default value for the attribute:
528
+
529
+ <ruby>
530
+ class Url
531
+ attr_accessor_with_default :port, 80
532
+ end
533
+
534
+ Url.new.port # => 80
535
+ </ruby>
536
+
537
+ The default value can be also specified with a block, which is called in the context of the corresponding object:
538
+
539
+ <ruby>
540
+ class User
541
+ attr_accessor :name, :surname
542
+ attr_accessor_with_default(:full_name) do
543
+ [name, surname].compact.join(" ")
544
+ end
545
+ end
546
+
547
+ u = User.new
548
+ u.name = 'Xavier'
549
+ u.surname = 'Noria'
550
+ u.full_name # => "Xavier Noria"
551
+ </ruby>
552
+
553
+ The result is not cached, the block is invoked in each call to the reader.
554
+
555
+ You can overwrite the default with the writer:
556
+
557
+ <ruby>
558
+ url = Url.new
559
+ url.host # => 80
560
+ url.host = 8080
561
+ url.host # => 8080
562
+ </ruby>
563
+
564
+ The default value is returned as long as the attribute is unset. The reader does not rely on the value of the attribute to know whether it has to return the default. It rather monitors the writer: if there's any assignment the value is no longer considered to be unset.
565
+
566
+ Active Resource uses this macro to set a default value for the +:primary_key+ attribute:
567
+
568
+ <ruby>
569
+ attr_accessor_with_default :primary_key, 'id'
570
+ </ruby>
571
+
572
+ NOTE: Defined in +active_support/core_ext/module/attr_accessor_with_default.rb+.
573
+
574
+ h5. Internal Attributes
575
+
576
+ When you are defining an attribute in a class that is meant to be subclassed, name collisions are a risk. That's remarkably important for libraries.
577
+
578
+ Active Support defines the macros +attr_internal_reader+, +attr_internal_writer+, and +attr_internal_accessor+. They behave like their Ruby built-in +attr_*+ counterparts, except they name the underlying instance variable in a way that makes collisions less likely.
579
+
580
+ The macro +attr_internal+ is a synonym for +attr_internal_accessor+:
581
+
582
+ <ruby>
583
+ # library
584
+ class ThirdPartyLibrary::Crawler
585
+ attr_internal :log_level
586
+ end
587
+
588
+ # client code
589
+ class MyCrawler < ThirdPartyLibrary::Crawler
590
+ attr_accessor :log_level
591
+ end
592
+ </ruby>
593
+
594
+ In the previous example it could be the case that +:log_level+ does not belong to the public interface of the library and it is only used for development. The client code, unaware of the potential conflict, subclasses and defines its own +:log_level+. Thanks to +attr_internal+ there's no collision.
595
+
596
+ By default the internal instance variable is named with a leading underscore, +@_log_level+ in the example above. That's configurable via +Module.attr_internal_naming_format+ though, you can pass any +sprintf+-like format string with a leading +@+ and a +%s+ somewhere, which is where the name will be placed. The default is +"@_%s"+.
597
+
598
+ Rails uses internal attributes in a few spots, for examples for views:
599
+
600
+ <ruby>
601
+ module ActionView
602
+ class Base
603
+ attr_internal :captures
604
+ attr_internal :request, :layout
605
+ attr_internal :controller, :template
606
+ end
607
+ end
608
+ </ruby>
609
+
610
+ NOTE: Defined in +active_support/core_ext/module/attr_internal.rb+.
611
+
612
+ h5. Module Attributes
613
+
614
+ The macros +mattr_reader+, +mattr_writer+, and +mattr_accessor+ are analogous to the +cattr_*+ macros defined for class. Check "Class Attributes":#class-attributes.
615
+
616
+ For example, the dependencies mechanism uses them:
617
+
618
+ <ruby>
619
+ module ActiveSupport
620
+ module Dependencies
621
+ mattr_accessor :warnings_on_first_load
622
+ mattr_accessor :history
623
+ mattr_accessor :loaded
624
+ mattr_accessor :mechanism
625
+ mattr_accessor :load_paths
626
+ mattr_accessor :load_once_paths
627
+ mattr_accessor :autoloaded_constants
628
+ mattr_accessor :explicitly_unloadable_constants
629
+ mattr_accessor :logger
630
+ mattr_accessor :log_activity
631
+ mattr_accessor :constant_watch_stack
632
+ mattr_accessor :constant_watch_stack_mutex
633
+ end
634
+ end
635
+ </ruby>
636
+
637
+ NOTE: Defined in +active_support/core_ext/module/attribute_accessors.rb+.
638
+
639
+ h4. Parents
640
+
641
+ h5. +parent+
642
+
643
+ The +parent+ method on a nested named module returns the module that contains its corresponding constant:
644
+
645
+ <ruby>
646
+ module X
647
+ module Y
648
+ module Z
649
+ end
650
+ end
651
+ end
652
+ M = X::Y::Z
653
+
654
+ X::Y::Z.parent # => X::Y
655
+ M.parent # => X::Y
656
+ </ruby>
657
+
658
+ If the module is anonymous or belongs to the top-level, +parent+ returns +Object+.
659
+
660
+ WARNING: Note that in that case +parent_name+ returns +nil+.
661
+
662
+ NOTE: Defined in +active_support/core_ext/module/introspection.rb+.
663
+
664
+ h5. +parent_name+
665
+
666
+ The +parent_name+ method on a nested named module returns the fully-qualified name of the module that contains its corresponding constant:
667
+
668
+ <ruby>
669
+ module X
670
+ module Y
671
+ module Z
672
+ end
673
+ end
674
+ end
675
+ M = X::Y::Z
676
+
677
+ X::Y::Z.parent_name # => "X::Y"
678
+ M.parent_name # => "X::Y"
679
+ </ruby>
680
+
681
+ For top-level or anonymous modules +parent_name+ returns +nil+.
682
+
683
+ WARNING: Note that in that case +parent+ returns +Object+.
684
+
685
+ NOTE: Defined in +active_support/core_ext/module/introspection.rb+.
686
+
687
+ h5(#module-parents). +parents+
688
+
689
+ The method +parents+ calls +parent+ on the receiver and upwards until +Object+ is reached. The chain is returned in an array, from bottom to top:
690
+
691
+ <ruby>
692
+ module X
693
+ module Y
694
+ module Z
695
+ end
696
+ end
697
+ end
698
+ M = X::Y::Z
699
+
700
+ X::Y::Z.parents # => [X::Y, X, Object]
701
+ M.parents # => [X::Y, X, Object]
702
+ </ruby>
703
+
704
+ NOTE: Defined in +active_support/core_ext/module/introspection.rb+.
705
+
706
+ h4. Constants
707
+
708
+ The method +local_constants+ returns the names of the constants that have been defined in the receiver module:
709
+
710
+ <ruby>
711
+ module X
712
+ X1 = 1
713
+ X2 = 2
714
+ module Y
715
+ Y1 = :y1
716
+ X1 = :overrides_X1_above
717
+ end
718
+ end
719
+
720
+ X.local_constants # => ["X2", "X1", "Y"], assumes Ruby 1.8
721
+ X::Y.local_constants # => ["X1", "Y1"], assumes Ruby 1.8
722
+ </ruby>
723
+
724
+ The names are returned as strings in Ruby 1.8, and as symbols in Ruby 1.9. The method +local_constant_names+ always returns strings.
725
+
726
+ WARNING: This method returns precise results in Ruby 1.9. In older versions of Ruby, however, it may miss some constants in case the same constant exists in the receiver module as well as in any of its ancestors and both constants point to the same object (objects are compared using +Object#object_id+).
727
+
728
+ NOTE: Defined in +active_support/core_ext/module/introspection.rb+.
729
+
730
+ h5. Qualified Constant Names
731
+
732
+ The standard methods +const_defined?+, +const_get+ , and +const_set+ accept
733
+ bare constant names. Active Support extends this API to be able to pass
734
+ relative qualified constant names.
735
+
736
+ The new methods are +qualified_const_defined?+, +qualified_const_get+, and
737
+ +qualified_const_set+. Their arguments are assumed to be qualified constant
738
+ names relative to their receiver:
739
+
740
+ <ruby>
741
+ Object.qualified_const_defined?("Math::PI") # => true
742
+ Object.qualified_const_get("Math::PI") # => 3.141592653589793
743
+ Object.qualified_const_set("Math::Phi", 1.618034) # => 1.618034
744
+ </ruby>
745
+
746
+ Arguments may be bare constant names:
747
+
748
+ <ruby>
749
+ Math.qualified_const_get("E") # => 2.718281828459045
750
+ </ruby>
751
+
752
+ These methods are analogous to their builtin counterparts. In particular,
753
+ +qualified_constant_defined?+ accepts an optional second argument in 1.9
754
+ to be able to say whether you want the predicate to look in the ancestors.
755
+ This flag is taken into account for each constant in the expression while
756
+ walking down the path.
757
+
758
+ For example, given
759
+
760
+ <ruby>
761
+ module M
762
+ X = 1
763
+ end
764
+
765
+ module N
766
+ class C
767
+ include M
768
+ end
769
+ end
770
+ </ruby>
771
+
772
+ +qualified_const_defined?+ behaves this way:
773
+
774
+ <ruby>
775
+ N.qualified_const_defined?("C::X", false) # => false (1.9 only)
776
+ N.qualified_const_defined?("C::X", true) # => true (1.9 only)
777
+ N.qualified_const_defined?("C::X") # => false in 1.8, true in 1.9
778
+ </ruby>
779
+
780
+ As the last example implies, in 1.9 the second argument defaults to true,
781
+ as in +const_defined?+.
782
+
783
+ For coherence with the builtin methods only relative paths are accepted.
784
+ Absolute qualified constant names like +::Math::PI+ raise +NameError+.
785
+
786
+ NOTE: Defined in +active_support/core_ext/module/qualified_const.rb+.
787
+
788
+ h4. Synchronization
789
+
790
+ The +synchronize+ macro declares a method to be synchronized:
791
+
792
+ <ruby>
793
+ class Counter
794
+ @@mutex = Mutex.new
795
+ attr_reader :value
796
+
797
+ def initialize
798
+ @value = 0
799
+ end
800
+
801
+ def incr
802
+ @value += 1 # non-atomic
803
+ end
804
+ synchronize :incr, :with => '@@mutex'
805
+ end
806
+ </ruby>
807
+
808
+ The method receives the name of an action, and a +:with+ option with code. The code is evaluated in the context of the receiver each time the method is invoked, and it should evaluate to a +Mutex+ instance or any other object that responds to +synchronize+ and accepts a block.
809
+
810
+ NOTE: Defined in +active_support/core_ext/module/synchronization.rb+.
811
+
812
+ h4. Reachable
813
+
814
+ A named module is reachable if it is stored in its corresponding constant. It means you can reach the module object via the constant.
815
+
816
+ That is what ordinarily happens, if a module is called "M", the +M+ constant exists and holds it:
817
+
818
+ <ruby>
819
+ module M
820
+ end
821
+
822
+ M.reachable? # => true
823
+ </ruby>
824
+
825
+ But since constants and modules are indeed kind of decoupled, module objects can become unreachable:
826
+
827
+ <ruby>
828
+ module M
829
+ end
830
+
831
+ orphan = Object.send(:remove_const, :M)
832
+
833
+ # The module object is orphan now but it still has a name.
834
+ orphan.name # => "M"
835
+
836
+ # You cannot reach it via the constant M because it does not even exist.
837
+ orphan.reachable? # => false
838
+
839
+ # Let's define a module called "M" again.
840
+ module M
841
+ end
842
+
843
+ # The constant M exists now again, and it stores a module
844
+ # object called "M", but it is a new instance.
845
+ orphan.reachable? # => false
846
+ </ruby>
847
+
848
+ NOTE: Defined in +active_support/core_ext/module/reachable.rb+.
849
+
850
+ h4. Anonymous
851
+
852
+ A module may or may not have a name:
853
+
854
+ <ruby>
855
+ module M
856
+ end
857
+ M.name # => "M"
858
+
859
+ N = Module.new
860
+ N.name # => "N"
861
+
862
+ Module.new.name # => "" in 1.8, nil in 1.9
863
+ </ruby>
864
+
865
+ You can check whether a module has a name with the predicate +anonymous?+:
866
+
867
+ <ruby>
868
+ module M
869
+ end
870
+ M.anonymous? # => false
871
+
872
+ Module.new.anonymous? # => true
873
+ </ruby>
874
+
875
+ Note that being unreachable does not imply being anonymous:
876
+
877
+ <ruby>
878
+ module M
879
+ end
880
+
881
+ m = Object.send(:remove_const, :M)
882
+
883
+ m.reachable? # => false
884
+ m.anonymous? # => false
885
+ </ruby>
886
+
887
+ though an anonymous module is unreachable by definition.
888
+
889
+ NOTE: Defined in +active_support/core_ext/module/anonymous.rb+.
890
+
891
+ h4. Method Delegation
892
+
893
+ The macro +delegate+ offers an easy way to forward methods.
894
+
895
+ Let's imagine that users in some application have login information in the +User+ model but name and other data in a separate +Profile+ model:
896
+
897
+ <ruby>
898
+ class User < ActiveRecord::Base
899
+ has_one :profile
900
+ end
901
+ </ruby>
902
+
903
+ With that configuration you get a user's name via his profile, +user.profile.name+, but it could be handy to still be able to access such attribute directly:
904
+
905
+ <ruby>
906
+ class User < ActiveRecord::Base
907
+ has_one :profile
908
+
909
+ def name
910
+ profile.name
911
+ end
912
+ end
913
+ </ruby>
914
+
915
+ That is what +delegate+ does for you:
916
+
917
+ <ruby>
918
+ class User < ActiveRecord::Base
919
+ has_one :profile
920
+
921
+ delegate :name, :to => :profile
922
+ end
923
+ </ruby>
924
+
925
+ It is shorter, and the intention more obvious.
926
+
927
+ The method must be public in the target.
928
+
929
+ The +delegate+ macro accepts several methods:
930
+
931
+ <ruby>
932
+ delegate :name, :age, :address, :twitter, :to => :profile
933
+ </ruby>
934
+
935
+ When interpolated into a string, the +:to+ option should become an expression that evaluates to the object the method is delegated to. Typically a string or symbol. Such an expression is evaluated in the context of the receiver:
936
+
937
+ <ruby>
938
+ # delegates to the Rails constant
939
+ delegate :logger, :to => :Rails
940
+
941
+ # delegates to the receiver's class
942
+ delegate :table_name, :to => 'self.class'
943
+ </ruby>
944
+
945
+ WARNING: If the +:prefix+ option is +true+ this is less generic, see below.
946
+
947
+ By default, if the delegation raises +NoMethodError+ and the target is +nil+ the exception is propagated. You can ask that +nil+ is returned instead with the +:allow_nil+ option:
948
+
949
+ <ruby>
950
+ delegate :name, :to => :profile, :allow_nil => true
951
+ </ruby>
952
+
953
+ With +:allow_nil+ the call +user.name+ returns +nil+ if the user has no profile.
954
+
955
+ The option +:prefix+ adds a prefix to the name of the generated method. This may be handy for example to get a better name:
956
+
957
+ <ruby>
958
+ delegate :street, :to => :address, :prefix => true
959
+ </ruby>
960
+
961
+ The previous example generates +address_street+ rather than +street+.
962
+
963
+ WARNING: Since in this case the name of the generated method is composed of the target object and target method names, the +:to+ option must be a method name.
964
+
965
+ A custom prefix may also be configured:
966
+
967
+ <ruby>
968
+ delegate :size, :to => :attachment, :prefix => :avatar
969
+ </ruby>
970
+
971
+ In the previous example the macro generates +avatar_size+ rather than +size+.
972
+
973
+ NOTE: Defined in +active_support/core_ext/module/delegation.rb+
974
+
975
+ h4. Method Names
976
+
977
+ The builtin methods +instance_methods+ and +methods+ return method names as strings or symbols depending on the Ruby version. Active Support defines +instance_method_names+ and +method_names+ to be equivalent to them, respectively, but always getting strings back.
978
+
979
+ For example, +ActionView::Helpers::FormBuilder+ knows this array difference is going to work no matter the Ruby version:
980
+
981
+ <ruby>
982
+ self.field_helpers = (FormHelper.instance_method_names - ['form_for'])
983
+ </ruby>
984
+
985
+ NOTE: Defined in +active_support/core_ext/module/method_names.rb+
986
+
987
+ h4. Redefining Methods
988
+
989
+ There are cases where you need to define a method with +define_method+, but don't know whether a method with that name already exists. If it does, a warning is issued if they are enabled. No big deal, but not clean either.
990
+
991
+ The method +redefine_method+ prevents such a potential warning, removing the existing method before if needed. Rails uses it in a few places, for instance when it generates an association's API:
992
+
993
+ <ruby>
994
+ redefine_method("#{reflection.name}=") do |new_value|
995
+ association = association_instance_get(reflection.name)
996
+
997
+ if association.nil? || association.target != new_value
998
+ association = association_proxy_class.new(self, reflection)
999
+ end
1000
+
1001
+ association.replace(new_value)
1002
+ association_instance_set(reflection.name, new_value.nil? ? nil : association)
1003
+ end
1004
+ </ruby>
1005
+
1006
+ NOTE: Defined in +active_support/core_ext/module/remove_method.rb+
1007
+
1008
+ h3. Extensions to +Class+
1009
+
1010
+ h4. Class Attributes
1011
+
1012
+ h5. +class_attribute+
1013
+
1014
+ The method +class_attribute+ declares one or more inheritable class attributes that can be overridden at any level down the hierarchy.
1015
+
1016
+ <ruby>
1017
+ class A
1018
+ class_attribute :x
1019
+ end
1020
+
1021
+ class B < A; end
1022
+
1023
+ class C < B; end
1024
+
1025
+ A.x = :a
1026
+ B.x # => :a
1027
+ C.x # => :a
1028
+
1029
+ B.x = :b
1030
+ A.x # => :a
1031
+ C.x # => :b
1032
+
1033
+ C.x = :c
1034
+ A.x # => :a
1035
+ B.x # => :b
1036
+ </ruby>
1037
+
1038
+ For example +ActionMailer::Base+ defines:
1039
+
1040
+ <ruby>
1041
+ class_attribute :default_params
1042
+ self.default_params = {
1043
+ :mime_version => "1.0",
1044
+ :charset => "UTF-8",
1045
+ :content_type => "text/plain",
1046
+ :parts_order => [ "text/plain", "text/enriched", "text/html" ]
1047
+ }.freeze
1048
+ </ruby>
1049
+
1050
+ They can be also accessed and overridden at the instance level.
1051
+
1052
+ <ruby>
1053
+ A.x = 1
1054
+
1055
+ a1 = A.new
1056
+ a2 = A.new
1057
+ a2.x = 2
1058
+
1059
+ a1.x # => 1, comes from A
1060
+ a2.x # => 2, overridden in a2
1061
+ </ruby>
1062
+
1063
+ The generation of the writer instance method can be prevented by setting the option +:instance_writer+ to +false+.
1064
+
1065
+ <ruby>
1066
+ module ActiveRecord
1067
+ class Base
1068
+ class_attribute :table_name_prefix, :instance_writer => false
1069
+ self.table_name_prefix = ""
1070
+ end
1071
+ end
1072
+ </ruby>
1073
+
1074
+ A model may find that option useful as a way to prevent mass-assignment from setting the attribute.
1075
+
1076
+ The generation of the reader instance method can be prevented by setting the option +:instance_reader+ to +false+.
1077
+
1078
+ <ruby>
1079
+ class A
1080
+ class_attribute :x, :instance_reader => false
1081
+ end
1082
+
1083
+ A.new.x = 1 # NoMethodError
1084
+ </ruby>
1085
+
1086
+ For convenience +class_attribute+ also defines an instance predicate which is the double negation of what the instance reader returns. In the examples above it would be called +x?+.
1087
+
1088
+ When +:instance_reader+ is +false+, the instance predicate returns a +NoMethodError+ just like the reader method.
1089
+
1090
+ NOTE: Defined in +active_support/core_ext/class/attribute.rb+
1091
+
1092
+ h5. +cattr_reader+, +cattr_writer+, and +cattr_accessor+
1093
+
1094
+ The macros +cattr_reader+, +cattr_writer+, and +cattr_accessor+ are analogous to their +attr_*+ counterparts but for classes. They initialize a class variable to +nil+ unless it already exists, and generate the corresponding class methods to access it:
1095
+
1096
+ <ruby>
1097
+ class MysqlAdapter < AbstractAdapter
1098
+ # Generates class methods to access @@emulate_booleans.
1099
+ cattr_accessor :emulate_booleans
1100
+ self.emulate_booleans = true
1101
+ end
1102
+ </ruby>
1103
+
1104
+ Instance methods are created as well for convenience, they are just proxies to the class attribute. So, instances can change the class attribute, but cannot override it as it happens with +class_attribute+ (see above). For example given
1105
+
1106
+ <ruby>
1107
+ module ActionView
1108
+ class Base
1109
+ cattr_accessor :field_error_proc
1110
+ @@field_error_proc = Proc.new{ ... }
1111
+ end
1112
+ end
1113
+ </ruby>
1114
+
1115
+ we can access +field_error_proc+ in views.
1116
+
1117
+ The generation of the reader instance method can be prevented by setting +:instance_reader+ to +false+ and the generation of the writer instance method can be prevented by setting +:instance_writer+ to +false+. Generation of both methods can be prevented by setting +:instance_accessor+ to +false+. In all cases, the value must be exactly +false+ and not any false value.
1118
+
1119
+ <ruby>
1120
+ module A
1121
+ class B
1122
+ # No first_name instance reader is generated.
1123
+ cattr_accessor :first_name, :instance_reader => false
1124
+ # No last_name= instance writer is generated.
1125
+ cattr_accessor :last_name, :instance_writer => false
1126
+ # No surname instance reader or surname= writer is generated.
1127
+ cattr_accessor :surname, :instance_accessor => false
1128
+ end
1129
+ end
1130
+ </ruby>
1131
+
1132
+ A model may find it useful to set +:instance_accessor+ to +false+ as a way to prevent mass-assignment from setting the attribute.
1133
+
1134
+ NOTE: Defined in +active_support/core_ext/class/attribute_accessors.rb+.
1135
+
1136
+ h4. Class Inheritable Attributes
1137
+
1138
+ WARNING: Class Inheritable Attributes are deprecated. It's recommended that you use +Class#class_attribute+ instead.
1139
+
1140
+ Class variables are shared down the inheritance tree. Class instance variables are not shared, but they are not inherited either. The macros +class_inheritable_reader+, +class_inheritable_writer+, and +class_inheritable_accessor+ provide accessors for class-level data which is inherited but not shared with children:
1141
+
1142
+ <ruby>
1143
+ module ActionController
1144
+ class Base
1145
+ # FIXME: REVISE/SIMPLIFY THIS COMMENT.
1146
+ # The value of allow_forgery_protection is inherited,
1147
+ # but its value in a particular class does not affect
1148
+ # the value in the rest of the controllers hierarchy.
1149
+ class_inheritable_accessor :allow_forgery_protection
1150
+ end
1151
+ end
1152
+ </ruby>
1153
+
1154
+ They accomplish this with class instance variables and cloning on subclassing, there are no class variables involved. Cloning is performed with +dup+ as long as the value is duplicable.
1155
+
1156
+ There are some variants specialised in arrays and hashes:
1157
+
1158
+ <ruby>
1159
+ class_inheritable_array
1160
+ class_inheritable_hash
1161
+ </ruby>
1162
+
1163
+ Those writers take any inherited array or hash into account and extend them rather than overwrite them.
1164
+
1165
+ As with vanilla class attribute accessors these macros create convenience instance methods for reading and writing. The generation of the writer instance method can be prevented setting +:instance_writer+ to +false+ (not any false value, but exactly +false+):
1166
+
1167
+ <ruby>
1168
+ module ActiveRecord
1169
+ class Base
1170
+ class_inheritable_accessor :default_scoping, :instance_writer => false
1171
+ end
1172
+ end
1173
+ </ruby>
1174
+
1175
+ Since values are copied when a subclass is defined, if the base class changes the attribute after that, the subclass does not see the new value. That's the point.
1176
+
1177
+ NOTE: Defined in +active_support/core_ext/class/inheritable_attributes.rb+.
1178
+
1179
+ h4. Subclasses & Descendants
1180
+
1181
+ h5. +subclasses+
1182
+
1183
+ The +subclasses+ method returns the subclasses of the receiver:
1184
+
1185
+ <ruby>
1186
+ class C; end
1187
+ C.subclasses # => []
1188
+
1189
+ class B < C; end
1190
+ C.subclasses # => [B]
1191
+
1192
+ class A < B; end
1193
+ C.subclasses # => [B]
1194
+
1195
+ class D < C; end
1196
+ C.subclasses # => [B, D]
1197
+ </ruby>
1198
+
1199
+ The order in which these classes are returned is unspecified.
1200
+
1201
+ WARNING: This method is redefined in some Rails core classes but should be all compatible in Rails 3.1.
1202
+
1203
+ NOTE: Defined in +active_support/core_ext/class/subclasses.rb+.
1204
+
1205
+ h5. +descendants+
1206
+
1207
+ The +descendants+ method returns all classes that are <tt>&lt;</tt> than its receiver:
1208
+
1209
+ <ruby>
1210
+ class C; end
1211
+ C.descendants # => []
1212
+
1213
+ class B < C; end
1214
+ C.descendants # => [B]
1215
+
1216
+ class A < B; end
1217
+ C.descendants # => [B, A]
1218
+
1219
+ class D < C; end
1220
+ C.descendants # => [B, A, D]
1221
+ </ruby>
1222
+
1223
+ The order in which these classes are returned is unspecified.
1224
+
1225
+ NOTE: Defined in +active_support/core_ext/class/subclasses.rb+.
1226
+
1227
+ h3. Extensions to +String+
1228
+
1229
+ h4. Output Safety
1230
+
1231
+ h5. Motivation
1232
+
1233
+ Inserting data into HTML templates needs extra care. For example you can't just interpolate +@review.title+ verbatim into an HTML page. On one hand if the review title is "Flanagan & Matz rules!" the output won't be well-formed because an ampersand has to be escaped as "&amp;amp;". On the other hand, depending on the application that may be a big security hole because users can inject malicious HTML setting a hand-crafted review title. Check out the "section about cross-site scripting in the Security guide":security.html#cross-site-scripting-xss for further information about the risks.
1234
+
1235
+ h5. Safe Strings
1236
+
1237
+ Active Support has the concept of <i>(html) safe</i> strings since Rails 3. A safe string is one that is marked as being insertable into HTML as is. It is trusted, no matter whether it has been escaped or not.
1238
+
1239
+ Strings are considered to be <i>unsafe</i> by default:
1240
+
1241
+ <ruby>
1242
+ "".html_safe? # => false
1243
+ </ruby>
1244
+
1245
+ You can obtain a safe string from a given one with the +html_safe+ method:
1246
+
1247
+ <ruby>
1248
+ s = "".html_safe
1249
+ s.html_safe? # => true
1250
+ </ruby>
1251
+
1252
+ It is important to understand that +html_safe+ performs no escaping whatsoever, it is just an assertion:
1253
+
1254
+ <ruby>
1255
+ s = "<script>...</script>".html_safe
1256
+ s.html_safe? # => true
1257
+ s # => "<script>...</script>"
1258
+ </ruby>
1259
+
1260
+ It is your responsibility to ensure calling +html_safe+ on a particular string is fine.
1261
+
1262
+ If you append onto a safe string, either in-place with +concat+/<tt><<</tt>, or with <tt>+</tt>, the result is a safe string. Unsafe arguments are escaped:
1263
+
1264
+ <ruby>
1265
+ "".html_safe + "<" # => "&lt;"
1266
+ </ruby>
1267
+
1268
+ Safe arguments are directly appended:
1269
+
1270
+ <ruby>
1271
+ "".html_safe + "<".html_safe # => "<"
1272
+ </ruby>
1273
+
1274
+ These methods should not be used in ordinary views. In Rails 3 unsafe values are automatically escaped:
1275
+
1276
+ <erb>
1277
+ <%= @review.title %> <%# fine in Rails 3, escaped if needed %>
1278
+ </erb>
1279
+
1280
+ To insert something verbatim use the +raw+ helper rather than calling +html_safe+:
1281
+
1282
+ <erb>
1283
+ <%= raw @cms.current_template %> <%# inserts @cms.current_template as is %>
1284
+ </erb>
1285
+
1286
+ or, equivalently, use <tt><%==</tt>:
1287
+
1288
+ <erb>
1289
+ <%== @cms.current_template %> <%# inserts @cms.current_template as is %>
1290
+ </erb>
1291
+
1292
+ The +raw+ helper calls +html_safe+ for you:
1293
+
1294
+ <ruby>
1295
+ def raw(stringish)
1296
+ stringish.to_s.html_safe
1297
+ end
1298
+ </ruby>
1299
+
1300
+ NOTE: Defined in +active_support/core_ext/string/output_safety.rb+.
1301
+
1302
+ h5. Transformation
1303
+
1304
+ As a rule of thumb, except perhaps for concatenation as explained above, any method that may change a string gives you an unsafe string. These are +downcase+, +gsub+, +strip+, +chomp+, +underscore+, etc.
1305
+
1306
+ In the case of in-place transformations like +gsub!+ the receiver itself becomes unsafe.
1307
+
1308
+ INFO: The safety bit is lost always, no matter whether the transformation actually changed something.
1309
+
1310
+ h5. Conversion and Coercion
1311
+
1312
+ Calling +to_s+ on a safe string returns a safe string, but coercion with +to_str+ returns an unsafe string.
1313
+
1314
+ h5. Copying
1315
+
1316
+ Calling +dup+ or +clone+ on safe strings yields safe strings.
1317
+
1318
+ h4. +squish+
1319
+
1320
+ The method +squish+ strips leading and trailing whitespace, and substitutes runs of whitespace with a single space each:
1321
+
1322
+ <ruby>
1323
+ " \n foo\n\r \t bar \n".squish # => "foo bar"
1324
+ </ruby>
1325
+
1326
+ There's also the destructive version +String#squish!+.
1327
+
1328
+ NOTE: Defined in +active_support/core_ext/string/filters.rb+.
1329
+
1330
+ h4. +truncate+
1331
+
1332
+ The method +truncate+ returns a copy of its receiver truncated after a given +length+:
1333
+
1334
+ <ruby>
1335
+ "Oh dear! Oh dear! I shall be late!".truncate(20)
1336
+ # => "Oh dear! Oh dear!..."
1337
+ </ruby>
1338
+
1339
+ Ellipsis can be customized with the +:omission+ option:
1340
+
1341
+ <ruby>
1342
+ "Oh dear! Oh dear! I shall be late!".truncate(20, :omission => '&hellip;')
1343
+ # => "Oh dear! Oh &hellip;"
1344
+ </ruby>
1345
+
1346
+ Note in particular that truncation takes into account the length of the omission string.
1347
+
1348
+ Pass a +:separator+ to truncate the string at a natural break:
1349
+
1350
+ <ruby>
1351
+ "Oh dear! Oh dear! I shall be late!".truncate(18)
1352
+ # => "Oh dear! Oh dea..."
1353
+ "Oh dear! Oh dear! I shall be late!".truncate(18, :separator => ' ')
1354
+ # => "Oh dear! Oh..."
1355
+ </ruby>
1356
+
1357
+ In the above example "dear" gets cut first, but then +:separator+ prevents it.
1358
+
1359
+ WARNING: The option +:separator+ can't be a regexp.
1360
+
1361
+ NOTE: Defined in +active_support/core_ext/string/filters.rb+.
1362
+
1363
+ h4. +inquiry+
1364
+
1365
+ The <tt>inquiry</tt> method converts a string into a +StringInquirer+ object making equality checks prettier.
1366
+
1367
+ <ruby>
1368
+ "production".inquiry.production? # => true
1369
+ "active".inquiry.inactive? # => false
1370
+ </ruby>
1371
+
1372
+ h4. Key-based Interpolation
1373
+
1374
+ In Ruby 1.9 the <tt>%</tt> string operator supports key-based interpolation, both formatted and unformatted:
1375
+
1376
+ <ruby>
1377
+ "Total is %<total>.02f" % {:total => 43.1} # => Total is 43.10
1378
+ "I say %{foo}" % {:foo => "wadus"} # => "I say wadus"
1379
+ "I say %{woo}" % {:foo => "wadus"} # => KeyError
1380
+ </ruby>
1381
+
1382
+ Active Support adds that functionality to <tt>%</tt> in previous versions of Ruby.
1383
+
1384
+ NOTE: Defined in +active_support/core_ext/string/interpolation.rb+.
1385
+
1386
+ h4. +starts_with?+ and +ends_with?+
1387
+
1388
+ Active Support defines 3rd person aliases of +String#start_with?+ and +String#end_with?+:
1389
+
1390
+ <ruby>
1391
+ "foo".starts_with?("f") # => true
1392
+ "foo".ends_with?("o") # => true
1393
+ </ruby>
1394
+
1395
+ NOTE: Defined in +active_support/core_ext/string/starts_ends_with.rb+.
1396
+
1397
+ h4. +strip_heredoc+
1398
+
1399
+ The method +strip_heredoc+ strips indentation in heredocs.
1400
+
1401
+ For example in
1402
+
1403
+ <ruby>
1404
+ if options[:usage]
1405
+ puts <<-USAGE.strip_heredoc
1406
+ This command does such and such.
1407
+
1408
+ Supported options are:
1409
+ -h This message
1410
+ ...
1411
+ USAGE
1412
+ end
1413
+ </ruby>
1414
+
1415
+ the user would see the usage message aligned against the left margin.
1416
+
1417
+ Technically, it looks for the least indented line in the whole string, and removes
1418
+ that amount of leading whitespace.
1419
+
1420
+ NOTE: Defined in +active_support/core_ext/string/strip.rb+.
1421
+
1422
+ h4. Access
1423
+
1424
+ h5. +at(position)+
1425
+
1426
+ Returns the character of the string at position +position+:
1427
+
1428
+ <ruby>
1429
+ "hello".at(0) # => "h"
1430
+ "hello".at(4) # => "o"
1431
+ "hello".at(-1) # => "o"
1432
+ "hello".at(10) # => ERROR if < 1.9, nil in 1.9
1433
+ </ruby>
1434
+
1435
+ NOTE: Defined in +active_support/core_ext/string/access.rb+.
1436
+
1437
+ h5. +from(position)+
1438
+
1439
+ Returns the substring of the string starting at position +position+:
1440
+
1441
+ <ruby>
1442
+ "hello".from(0) # => "hello"
1443
+ "hello".from(2) # => "llo"
1444
+ "hello".from(-2) # => "lo"
1445
+ "hello".from(10) # => "" if < 1.9, nil in 1.9
1446
+ </ruby>
1447
+
1448
+ NOTE: Defined in +active_support/core_ext/string/access.rb+.
1449
+
1450
+ h5. +to(position)+
1451
+
1452
+ Returns the substring of the string up to position +position+:
1453
+
1454
+ <ruby>
1455
+ "hello".to(0) # => "h"
1456
+ "hello".to(2) # => "hel"
1457
+ "hello".to(-2) # => "hell"
1458
+ "hello".to(10) # => "hello"
1459
+ </ruby>
1460
+
1461
+ NOTE: Defined in +active_support/core_ext/string/access.rb+.
1462
+
1463
+ h5. +first(limit = 1)+
1464
+
1465
+ The call +str.first(n)+ is equivalent to +str.to(n-1)+ if +n+ > 0, and returns an empty string for +n+ == 0.
1466
+
1467
+ NOTE: Defined in +active_support/core_ext/string/access.rb+.
1468
+
1469
+ h5. +last(limit = 1)+
1470
+
1471
+ The call +str.last(n)+ is equivalent to +str.from(-n)+ if +n+ > 0, and returns an empty string for +n+ == 0.
1472
+
1473
+ NOTE: Defined in +active_support/core_ext/string/access.rb+.
1474
+
1475
+ h4. Inflections
1476
+
1477
+ h5. +pluralize+
1478
+
1479
+ The method +pluralize+ returns the plural of its receiver:
1480
+
1481
+ <ruby>
1482
+ "table".pluralize # => "tables"
1483
+ "ruby".pluralize # => "rubies"
1484
+ "equipment".pluralize # => "equipment"
1485
+ </ruby>
1486
+
1487
+ As the previous example shows, Active Support knows some irregular plurals and uncountable nouns. Built-in rules can be extended in +config/initializers/inflections.rb+. That file is generated by the +rails+ command and has instructions in comments.
1488
+
1489
+ +pluralize+ can also take an optional +count+ parameter. If <tt>count == 1</tt> the singular form will be returned. For any other value of +count+ the plural form will be returned:
1490
+
1491
+ <ruby>
1492
+ "dude".pluralize(0) # => "dudes"
1493
+ "dude".pluralize(1) # => "dude"
1494
+ "dude".pluralize(2) # => "dudes"
1495
+ </ruby>
1496
+
1497
+ Active Record uses this method to compute the default table name that corresponds to a model:
1498
+
1499
+ <ruby>
1500
+ # active_record/base.rb
1501
+ def undecorated_table_name(class_name = base_class.name)
1502
+ table_name = class_name.to_s.demodulize.underscore
1503
+ table_name = table_name.pluralize if pluralize_table_names
1504
+ table_name
1505
+ end
1506
+ </ruby>
1507
+
1508
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1509
+
1510
+ h5. +singularize+
1511
+
1512
+ The inverse of +pluralize+:
1513
+
1514
+ <ruby>
1515
+ "tables".singularize # => "table"
1516
+ "rubies".singularize # => "ruby"
1517
+ "equipment".singularize # => "equipment"
1518
+ </ruby>
1519
+
1520
+ Associations compute the name of the corresponding default associated class using this method:
1521
+
1522
+ <ruby>
1523
+ # active_record/reflection.rb
1524
+ def derive_class_name
1525
+ class_name = name.to_s.camelize
1526
+ class_name = class_name.singularize if collection?
1527
+ class_name
1528
+ end
1529
+ </ruby>
1530
+
1531
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1532
+
1533
+ h5. +camelize+
1534
+
1535
+ The method +camelize+ returns its receiver in camel case:
1536
+
1537
+ <ruby>
1538
+ "product".camelize # => "Product"
1539
+ "admin_user".camelize # => "AdminUser"
1540
+ </ruby>
1541
+
1542
+ As a rule of thumb you can think of this method as the one that transforms paths into Ruby class or module names, where slashes separate namespaces:
1543
+
1544
+ <ruby>
1545
+ "backoffice/session".camelize # => "Backoffice::Session"
1546
+ </ruby>
1547
+
1548
+ For example, Action Pack uses this method to load the class that provides a certain session store:
1549
+
1550
+ <ruby>
1551
+ # action_controller/metal/session_management.rb
1552
+ def session_store=(store)
1553
+ if store == :active_record_store
1554
+ self.session_store = ActiveRecord::SessionStore
1555
+ else
1556
+ @@session_store = store.is_a?(Symbol) ?
1557
+ ActionDispatch::Session.const_get(store.to_s.camelize) :
1558
+ store
1559
+ end
1560
+ end
1561
+ </ruby>
1562
+
1563
+ +camelize+ accepts an optional argument, it can be +:upper+ (default), or +:lower+. With the latter the first letter becomes lowercase:
1564
+
1565
+ <ruby>
1566
+ "visual_effect".camelize(:lower) # => "visualEffect"
1567
+ </ruby>
1568
+
1569
+ That may be handy to compute method names in a language that follows that convention, for example JavaScript.
1570
+
1571
+ INFO: As a rule of thumb you can think of +camelize+ as the inverse of +underscore+, though there are cases where that does not hold: <tt>"SSLError".underscore.camelize</tt> gives back <tt>"SslError"</tt>. To support cases such as this, Active Support allows you to specify acronyms in +config/initializers/inflections.rb+:
1572
+
1573
+ <ruby>
1574
+ ActiveSupport::Inflector.inflections do |inflect|
1575
+ inflect.acronym 'SSL'
1576
+ end
1577
+
1578
+ "SSLError".underscore.camelize #=> "SSLError"
1579
+ </ruby>
1580
+
1581
+ +camelize+ is aliased to +camelcase+.
1582
+
1583
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1584
+
1585
+ h5. +underscore+
1586
+
1587
+ The method +underscore+ goes the other way around, from camel case to paths:
1588
+
1589
+ <ruby>
1590
+ "Product".underscore # => "product"
1591
+ "AdminUser".underscore # => "admin_user"
1592
+ </ruby>
1593
+
1594
+ Also converts "::" back to "/":
1595
+
1596
+ <ruby>
1597
+ "Backoffice::Session".underscore # => "backoffice/session"
1598
+ </ruby>
1599
+
1600
+ and understands strings that start with lowercase:
1601
+
1602
+ <ruby>
1603
+ "visualEffect".underscore # => "visual_effect"
1604
+ </ruby>
1605
+
1606
+ +underscore+ accepts no argument though.
1607
+
1608
+ Rails class and module autoloading uses +underscore+ to infer the relative path without extension of a file that would define a given missing constant:
1609
+
1610
+ <ruby>
1611
+ # active_support/dependencies.rb
1612
+ def load_missing_constant(from_mod, const_name)
1613
+ ...
1614
+ qualified_name = qualified_name_for from_mod, const_name
1615
+ path_suffix = qualified_name.underscore
1616
+ ...
1617
+ end
1618
+ </ruby>
1619
+
1620
+ INFO: As a rule of thumb you can think of +underscore+ as the inverse of +camelize+, though there are cases where that does not hold. For example, <tt>"SSLError".underscore.camelize</tt> gives back <tt>"SslError"</tt>.
1621
+
1622
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1623
+
1624
+ h5. +titleize+
1625
+
1626
+ The method +titleize+ capitalizes the words in the receiver:
1627
+
1628
+ <ruby>
1629
+ "alice in wonderland".titleize # => "Alice In Wonderland"
1630
+ "fermat's enigma".titleize # => "Fermat's Enigma"
1631
+ </ruby>
1632
+
1633
+ +titleize+ is aliased to +titlecase+.
1634
+
1635
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1636
+
1637
+ h5. +dasherize+
1638
+
1639
+ The method +dasherize+ replaces the underscores in the receiver with dashes:
1640
+
1641
+ <ruby>
1642
+ "name".dasherize # => "name"
1643
+ "contact_data".dasherize # => "contact-data"
1644
+ </ruby>
1645
+
1646
+ The XML serializer of models uses this method to dasherize node names:
1647
+
1648
+ <ruby>
1649
+ # active_model/serializers/xml.rb
1650
+ def reformat_name(name)
1651
+ name = name.camelize if camelize?
1652
+ dasherize? ? name.dasherize : name
1653
+ end
1654
+ </ruby>
1655
+
1656
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1657
+
1658
+ h5. +demodulize+
1659
+
1660
+ Given a string with a qualified constant name, +demodulize+ returns the very constant name, that is, the rightmost part of it:
1661
+
1662
+ <ruby>
1663
+ "Product".demodulize # => "Product"
1664
+ "Backoffice::UsersController".demodulize # => "UsersController"
1665
+ "Admin::Hotel::ReservationUtils".demodulize # => "ReservationUtils"
1666
+ </ruby>
1667
+
1668
+ Active Record for example uses this method to compute the name of a counter cache column:
1669
+
1670
+ <ruby>
1671
+ # active_record/reflection.rb
1672
+ def counter_cache_column
1673
+ if options[:counter_cache] == true
1674
+ "#{active_record.name.demodulize.underscore.pluralize}_count"
1675
+ elsif options[:counter_cache]
1676
+ options[:counter_cache]
1677
+ end
1678
+ end
1679
+ </ruby>
1680
+
1681
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1682
+
1683
+ h5. +deconstantize+
1684
+
1685
+ Given a string with a qualified constant reference expression, +deconstantize+ removes the rightmost segment, generally leaving the name of the constant's container:
1686
+
1687
+ <ruby>
1688
+ "Product".deconstantize # => ""
1689
+ "Backoffice::UsersController".deconstantize # => "Backoffice"
1690
+ "Admin::Hotel::ReservationUtils".deconstantize # => "Admin::Hotel"
1691
+ </ruby>
1692
+
1693
+ Active Support for example uses this method in +Module#qualified_const_set+:
1694
+
1695
+ <ruby>
1696
+ def qualified_const_set(path, value)
1697
+ QualifiedConstUtils.raise_if_absolute(path)
1698
+
1699
+ const_name = path.demodulize
1700
+ mod_name = path.deconstantize
1701
+ mod = mod_name.empty? ? self : qualified_const_get(mod_name)
1702
+ mod.const_set(const_name, value)
1703
+ end
1704
+ </ruby>
1705
+
1706
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1707
+
1708
+ h5. +parameterize+
1709
+
1710
+ The method +parameterize+ normalizes its receiver in a way that can be used in pretty URLs.
1711
+
1712
+ <ruby>
1713
+ "John Smith".parameterize # => "john-smith"
1714
+ "Kurt Gödel".parameterize # => "kurt-godel"
1715
+ </ruby>
1716
+
1717
+ In fact, the result string is wrapped in an instance of +ActiveSupport::Multibyte::Chars+.
1718
+
1719
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1720
+
1721
+ h5. +tableize+
1722
+
1723
+ The method +tableize+ is +underscore+ followed by +pluralize+.
1724
+
1725
+ <ruby>
1726
+ "Person".tableize # => "people"
1727
+ "Invoice".tableize # => "invoices"
1728
+ "InvoiceLine".tableize # => "invoice_lines"
1729
+ </ruby>
1730
+
1731
+ As a rule of thumb, +tableize+ returns the table name that corresponds to a given model for simple cases. The actual implementation in Active Record is not straight +tableize+ indeed, because it also demodulizes the class name and checks a few options that may affect the returned string.
1732
+
1733
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1734
+
1735
+ h5. +classify+
1736
+
1737
+ The method +classify+ is the inverse of +tableize+. It gives you the class name corresponding to a table name:
1738
+
1739
+ <ruby>
1740
+ "people".classify # => "Person"
1741
+ "invoices".classify # => "Invoice"
1742
+ "invoice_lines".classify # => "InvoiceLine"
1743
+ </ruby>
1744
+
1745
+ The method understands qualified table names:
1746
+
1747
+ <ruby>
1748
+ "highrise_production.companies".classify # => "Company"
1749
+ </ruby>
1750
+
1751
+ Note that +classify+ returns a class name as a string. You can get the actual class object invoking +constantize+ on it, explained next.
1752
+
1753
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1754
+
1755
+ h5. +constantize+
1756
+
1757
+ The method +constantize+ resolves the constant reference expression in its receiver:
1758
+
1759
+ <ruby>
1760
+ "Fixnum".constantize # => Fixnum
1761
+
1762
+ module M
1763
+ X = 1
1764
+ end
1765
+ "M::X".constantize # => 1
1766
+ </ruby>
1767
+
1768
+ If the string evaluates to no known constant, or its content is not even a valid constant name, +constantize+ raises +NameError+.
1769
+
1770
+ Constant name resolution by +constantize+ starts always at the top-level +Object+ even if there is no leading "::".
1771
+
1772
+ <ruby>
1773
+ X = :in_Object
1774
+ module M
1775
+ X = :in_M
1776
+
1777
+ X # => :in_M
1778
+ "::X".constantize # => :in_Object
1779
+ "X".constantize # => :in_Object (!)
1780
+ end
1781
+ </ruby>
1782
+
1783
+ So, it is in general not equivalent to what Ruby would do in the same spot, had a real constant be evaluated.
1784
+
1785
+ Mailer test cases obtain the mailer being tested from the name of the test class using +constantize+:
1786
+
1787
+ <ruby>
1788
+ # action_mailer/test_case.rb
1789
+ def determine_default_mailer(name)
1790
+ name.sub(/Test$/, '').constantize
1791
+ rescue NameError => e
1792
+ raise NonInferrableMailerError.new(name)
1793
+ end
1794
+ </ruby>
1795
+
1796
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1797
+
1798
+ h5. +humanize+
1799
+
1800
+ The method +humanize+ gives you a sensible name for display out of an attribute name. To do so it replaces underscores with spaces, removes any "_id" suffix, and capitalizes the first word:
1801
+
1802
+ <ruby>
1803
+ "name".humanize # => "Name"
1804
+ "author_id".humanize # => "Author"
1805
+ "comments_count".humanize # => "Comments count"
1806
+ </ruby>
1807
+
1808
+ The helper method +full_messages+ uses +humanize+ as a fallback to include attribute names:
1809
+
1810
+ <ruby>
1811
+ def full_messages
1812
+ full_messages = []
1813
+
1814
+ each do |attribute, messages|
1815
+ ...
1816
+ attr_name = attribute.to_s.gsub('.', '_').humanize
1817
+ attr_name = @base.class.human_attribute_name(attribute, :default => attr_name)
1818
+ ...
1819
+ end
1820
+
1821
+ full_messages
1822
+ end
1823
+ </ruby>
1824
+
1825
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1826
+
1827
+ h5. +foreign_key+
1828
+
1829
+ The method +foreign_key+ gives a foreign key column name from a class name. To do so it demodulizes, underscores, and adds "_id":
1830
+
1831
+ <ruby>
1832
+ "User".foreign_key # => "user_id"
1833
+ "InvoiceLine".foreign_key # => "invoice_line_id"
1834
+ "Admin::Session".foreign_key # => "session_id"
1835
+ </ruby>
1836
+
1837
+ Pass a false argument if you do not want the underscore in "_id":
1838
+
1839
+ <ruby>
1840
+ "User".foreign_key(false) # => "userid"
1841
+ </ruby>
1842
+
1843
+ Associations use this method to infer foreign keys, for example +has_one+ and +has_many+ do this:
1844
+
1845
+ <ruby>
1846
+ # active_record/associations.rb
1847
+ foreign_key = options[:foreign_key] || reflection.active_record.name.foreign_key
1848
+ </ruby>
1849
+
1850
+ NOTE: Defined in +active_support/core_ext/string/inflections.rb+.
1851
+
1852
+ h4(#string-conversions). Conversions
1853
+
1854
+ h5. +ord+
1855
+
1856
+ Ruby 1.9 defines +ord+ to be the codepoint of the first character of the receiver. Active Support backports +ord+ for single-byte encodings like ASCII or ISO-8859-1 in Ruby 1.8:
1857
+
1858
+ <ruby>
1859
+ "a".ord # => 97
1860
+ "à".ord # => 224, in ISO-8859-1
1861
+ </ruby>
1862
+
1863
+ In Ruby 1.8 +ord+ doesn't work in general in UTF8 strings, use the multibyte support in Active Support for that:
1864
+
1865
+ <ruby>
1866
+ "a".mb_chars.ord # => 97
1867
+ "à".mb_chars.ord # => 224, in UTF8
1868
+ </ruby>
1869
+
1870
+ Note that the 224 is different in both examples. In ISO-8859-1 "à" is represented as a single byte, 224. Its single-character representation in UTF8 has two bytes, namely 195 and 160, but its Unicode codepoint is 224. If we call +ord+ on the UTF8 string "à" the return value will be 195 in Ruby 1.8. That is not an error, because UTF8 is unsupported, the call itself would be bogus.
1871
+
1872
+ INFO: +ord+ is equivalent to +getbyte(0)+.
1873
+
1874
+ NOTE: Defined in +active_support/core_ext/string/conversions.rb+.
1875
+
1876
+ h5. +getbyte+
1877
+
1878
+ Active Support backports +getbyte+ from Ruby 1.9:
1879
+
1880
+ <ruby>
1881
+ "foo".getbyte(0) # => 102, same as "foo".ord
1882
+ "foo".getbyte(1) # => 111
1883
+ "foo".getbyte(9) # => nil
1884
+ "foo".getbyte(-1) # => 111
1885
+ </ruby>
1886
+
1887
+ INFO: +getbyte+ is equivalent to +[]+.
1888
+
1889
+ NOTE: Defined in +active_support/core_ext/string/conversions.rb+.
1890
+
1891
+ h5. +to_date+, +to_time+, +to_datetime+
1892
+
1893
+ The methods +to_date+, +to_time+, and +to_datetime+ are basically convenience wrappers around +Date._parse+:
1894
+
1895
+ <ruby>
1896
+ "2010-07-27".to_date # => Tue, 27 Jul 2010
1897
+ "2010-07-27 23:37:00".to_time # => Tue Jul 27 23:37:00 UTC 2010
1898
+ "2010-07-27 23:37:00".to_datetime # => Tue, 27 Jul 2010 23:37:00 +0000
1899
+ </ruby>
1900
+
1901
+ +to_time+ receives an optional argument +:utc+ or +:local+, to indicate which time zone you want the time in:
1902
+
1903
+ <ruby>
1904
+ "2010-07-27 23:42:00".to_time(:utc) # => Tue Jul 27 23:42:00 UTC 2010
1905
+ "2010-07-27 23:42:00".to_time(:local) # => Tue Jul 27 23:42:00 +0200 2010
1906
+ </ruby>
1907
+
1908
+ Default is +:utc+.
1909
+
1910
+ Please refer to the documentation of +Date._parse+ for further details.
1911
+
1912
+ INFO: The three of them return +nil+ for blank receivers.
1913
+
1914
+ NOTE: Defined in +active_support/core_ext/string/conversions.rb+.
1915
+
1916
+ h3. Extensions to +Numeric+
1917
+
1918
+ h4. Bytes
1919
+
1920
+ All numbers respond to these methods:
1921
+
1922
+ <ruby>
1923
+ bytes
1924
+ kilobytes
1925
+ megabytes
1926
+ gigabytes
1927
+ terabytes
1928
+ petabytes
1929
+ exabytes
1930
+ </ruby>
1931
+
1932
+ They return the corresponding amount of bytes, using a conversion factor of 1024:
1933
+
1934
+ <ruby>
1935
+ 2.kilobytes # => 2048
1936
+ 3.megabytes # => 3145728
1937
+ 3.5.gigabytes # => 3758096384
1938
+ -4.exabytes # => -4611686018427387904
1939
+ </ruby>
1940
+
1941
+ Singular forms are aliased so you are able to say:
1942
+
1943
+ <ruby>
1944
+ 1.megabyte # => 1048576
1945
+ </ruby>
1946
+
1947
+ NOTE: Defined in +active_support/core_ext/numeric/bytes.rb+.
1948
+
1949
+ h3. Extensions to +Integer+
1950
+
1951
+ h4. +multiple_of?+
1952
+
1953
+ The method +multiple_of?+ tests whether an integer is multiple of the argument:
1954
+
1955
+ <ruby>
1956
+ 2.multiple_of?(1) # => true
1957
+ 1.multiple_of?(2) # => false
1958
+ </ruby>
1959
+
1960
+ NOTE: Defined in +active_support/core_ext/integer/multiple.rb+.
1961
+
1962
+ h4. +ordinalize+
1963
+
1964
+ The method +ordinalize+ returns the ordinal string corresponding to the receiver integer:
1965
+
1966
+ <ruby>
1967
+ 1.ordinalize # => "1st"
1968
+ 2.ordinalize # => "2nd"
1969
+ 53.ordinalize # => "53rd"
1970
+ 2009.ordinalize # => "2009th"
1971
+ -21.ordinalize # => "-21st"
1972
+ -134.ordinalize # => "-134th"
1973
+ </ruby>
1974
+
1975
+ NOTE: Defined in +active_support/core_ext/integer/inflections.rb+.
1976
+
1977
+ h3. Extensions to +Float+
1978
+
1979
+ h4. +round+
1980
+
1981
+ The built-in method +Float#round+ rounds a float to the nearest integer. In Ruby 1.9 this method takes an optional argument to let you specify a precision. Active Support adds that functionality to +round+ in previous versions of Ruby:
1982
+
1983
+ <ruby>
1984
+ Math::E.round(4) # => 2.7183
1985
+ </ruby>
1986
+
1987
+ NOTE: Defined in +active_support/core_ext/float/rounding.rb+.
1988
+
1989
+ h3. Extensions to +BigDecimal+
1990
+
1991
+ ...
1992
+
1993
+ h3. Extensions to +Enumerable+
1994
+
1995
+ h4. +group_by+
1996
+
1997
+ Active Support redefines +group_by+ in Ruby 1.8.7 so that it returns an ordered hash as in 1.9:
1998
+
1999
+ <ruby>
2000
+ entries_by_surname_initial = address_book.group_by do |entry|
2001
+ entry.surname.at(0).upcase
2002
+ end
2003
+ </ruby>
2004
+
2005
+ Distinct block return values are added to the hash as they come, so that's the resulting order.
2006
+
2007
+ NOTE: Defined in +active_support/core_ext/enumerable.rb+.
2008
+
2009
+ h4. +sum+
2010
+
2011
+ The method +sum+ adds the elements of an enumerable:
2012
+
2013
+ <ruby>
2014
+ [1, 2, 3].sum # => 6
2015
+ (1..100).sum # => 5050
2016
+ </ruby>
2017
+
2018
+ Addition only assumes the elements respond to <tt>+</tt>:
2019
+
2020
+ <ruby>
2021
+ [[1, 2], [2, 3], [3, 4]].sum # => [1, 2, 2, 3, 3, 4]
2022
+ %w(foo bar baz).sum # => "foobarbaz"
2023
+ {:a => 1, :b => 2, :c => 3}.sum # => [:b, 2, :c, 3, :a, 1]
2024
+ </ruby>
2025
+
2026
+ The sum of an empty collection is zero by default, but this is customizable:
2027
+
2028
+ <ruby>
2029
+ [].sum # => 0
2030
+ [].sum(1) # => 1
2031
+ </ruby>
2032
+
2033
+ If a block is given, +sum+ becomes an iterator that yields the elements of the collection and sums the returned values:
2034
+
2035
+ <ruby>
2036
+ (1..5).sum {|n| n * 2 } # => 30
2037
+ [2, 4, 6, 8, 10].sum # => 30
2038
+ </ruby>
2039
+
2040
+ The sum of an empty receiver can be customized in this form as well:
2041
+
2042
+ <ruby>
2043
+ [].sum(1) {|n| n**3} # => 1
2044
+ </ruby>
2045
+
2046
+ The method +ActiveRecord::Observer#observed_subclasses+ for example is implemented this way:
2047
+
2048
+ <ruby>
2049
+ def observed_subclasses
2050
+ observed_classes.sum([]) { |klass| klass.send(:subclasses) }
2051
+ end
2052
+ </ruby>
2053
+
2054
+ NOTE: Defined in +active_support/core_ext/enumerable.rb+.
2055
+
2056
+ h4. +each_with_object+
2057
+
2058
+ The +inject+ method offers iteration with an accumulator:
2059
+
2060
+ <ruby>
2061
+ [2, 3, 4].inject(1) {|product, i| product*i } # => 24
2062
+ </ruby>
2063
+
2064
+ The block is expected to return the value for the accumulator in the next iteration, and this makes building mutable objects a bit cumbersome:
2065
+
2066
+ <ruby>
2067
+ [1, 2].inject({}) {|h, i| h[i] = i**2; h} # => {1 => 1, 2 => 4}
2068
+ </ruby>
2069
+
2070
+ See that spurious "+; h+"?
2071
+
2072
+ Active Support backports +each_with_object+ from Ruby 1.9, which addresses that use case. It iterates over the collection, passes the accumulator, and returns the accumulator when done. You normally modify the accumulator in place. The example above would be written this way:
2073
+
2074
+ <ruby>
2075
+ [1, 2].each_with_object({}) {|i, h| h[i] = i**2} # => {1 => 1, 2 => 4}
2076
+ </ruby>
2077
+
2078
+ WARNING. Note that the item of the collection and the accumulator come in different order in +inject+ and +each_with_object+.
2079
+
2080
+ NOTE: Defined in +active_support/core_ext/enumerable.rb+.
2081
+
2082
+ h4. +index_by+
2083
+
2084
+ The method +index_by+ generates a hash with the elements of an enumerable indexed by some key.
2085
+
2086
+ It iterates through the collection and passes each element to a block. The element will be keyed by the value returned by the block:
2087
+
2088
+ <ruby>
2089
+ invoices.index_by(&:number)
2090
+ # => {'2009-032' => <Invoice ...>, '2009-008' => <Invoice ...>, ...}
2091
+ </ruby>
2092
+
2093
+ WARNING. Keys should normally be unique. If the block returns the same value for different elements no collection is built for that key. The last item will win.
2094
+
2095
+ NOTE: Defined in +active_support/core_ext/enumerable.rb+.
2096
+
2097
+ h4. +many?+
2098
+
2099
+ The method +many?+ is shorthand for +collection.size > 1+:
2100
+
2101
+ <erb>
2102
+ <% if pages.many? %>
2103
+ <%= pagination_links %>
2104
+ <% end %>
2105
+ </erb>
2106
+
2107
+ If an optional block is given, +many?+ only takes into account those elements that return true:
2108
+
2109
+ <ruby>
2110
+ @see_more = videos.many? {|video| video.category == params[:category]}
2111
+ </ruby>
2112
+
2113
+ NOTE: Defined in +active_support/core_ext/enumerable.rb+.
2114
+
2115
+ h4. +exclude?+
2116
+
2117
+ The predicate +exclude?+ tests whether a given object does *not* belong to the collection. It is the negation of the built-in +include?+:
2118
+
2119
+ <ruby>
2120
+ to_visit << node if visited.exclude?(node)
2121
+ </ruby>
2122
+
2123
+ NOTE: Defined in +active_support/core_ext/enumerable.rb+.
2124
+
2125
+ h3. Extensions to +Array+
2126
+
2127
+ h4. Accessing
2128
+
2129
+ Active Support augments the API of arrays to ease certain ways of accessing them. For example, +to+ returns the subarray of elements up to the one at the passed index:
2130
+
2131
+ <ruby>
2132
+ %w(a b c d).to(2) # => %w(a b c)
2133
+ [].to(7) # => []
2134
+ </ruby>
2135
+
2136
+ Similarly, +from+ returns the tail from the element at the passed index to the end. If the index is greater than the length of the array, it returns an empty array.
2137
+
2138
+ <ruby>
2139
+ %w(a b c d).from(2) # => %w(c d)
2140
+ %w(a b c d).from(10) # => []
2141
+ [].from(0) # => []
2142
+ </ruby>
2143
+
2144
+ The methods +second+, +third+, +fourth+, and +fifth+ return the corresponding element (+first+ is built-in). Thanks to social wisdom and positive constructiveness all around, +forty_two+ is also available.
2145
+
2146
+ <ruby>
2147
+ %w(a b c d).third # => c
2148
+ %w(a b c d).fifth # => nil
2149
+ </ruby>
2150
+
2151
+ NOTE: Defined in +active_support/core_ext/array/access.rb+.
2152
+
2153
+ h4. Random Access
2154
+
2155
+ Active Support backports +sample+ from Ruby 1.9:
2156
+
2157
+ <ruby>
2158
+ shape_type = [Circle, Square, Triangle].sample
2159
+ # => Square, for example
2160
+
2161
+ shape_types = [Circle, Square, Triangle].sample(2)
2162
+ # => [Triangle, Circle], for example
2163
+ </ruby>
2164
+
2165
+ NOTE: Defined in +active_support/core_ext/array/random_access.rb+.
2166
+
2167
+ h4. Adding Elements
2168
+
2169
+ h5. +prepend+
2170
+
2171
+ This method is an alias of <tt>Array#unshift</tt>.
2172
+
2173
+ <ruby>
2174
+ %w(a b c d).prepend('e') # => %w(e a b c d)
2175
+ [].prepend(10) # => [10]
2176
+ </ruby>
2177
+
2178
+ NOTE: Defined in +active_support/core_ext/array/prepend_and_append.rb+.
2179
+
2180
+ h5. +append+
2181
+
2182
+ This method is an alias of <tt>Array#<<</tt>.
2183
+
2184
+ <ruby>
2185
+ %w(a b c d).append('e') # => %w(a b c d e)
2186
+ [].append([1,2]) # => [[1,2]]
2187
+ </ruby>
2188
+
2189
+ NOTE: Defined in +active_support/core_ext/array/prepend_and_append.rb+.
2190
+
2191
+ h4. Options Extraction
2192
+
2193
+ When the last argument in a method call is a hash, except perhaps for a +&block+ argument, Ruby allows you to omit the brackets:
2194
+
2195
+ <ruby>
2196
+ User.exists?(:email => params[:email])
2197
+ </ruby>
2198
+
2199
+ That syntactic sugar is used a lot in Rails to avoid positional arguments where there would be too many, offering instead interfaces that emulate named parameters. In particular it is very idiomatic to use a trailing hash for options.
2200
+
2201
+ If a method expects a variable number of arguments and uses <tt>*</tt> in its declaration, however, such an options hash ends up being an item of the array of arguments, where it loses its role.
2202
+
2203
+ In those cases, you may give an options hash a distinguished treatment with +extract_options!+. This method checks the type of the last item of an array. If it is a hash it pops it and returns it, otherwise it returns an empty hash.
2204
+
2205
+ Let's see for example the definition of the +caches_action+ controller macro:
2206
+
2207
+ <ruby>
2208
+ def caches_action(*actions)
2209
+ return unless cache_configured?
2210
+ options = actions.extract_options!
2211
+ ...
2212
+ end
2213
+ </ruby>
2214
+
2215
+ This method receives an arbitrary number of action names, and an optional hash of options as last argument. With the call to +extract_options!+ you obtain the options hash and remove it from +actions+ in a simple and explicit way.
2216
+
2217
+ NOTE: Defined in +active_support/core_ext/array/extract_options.rb+.
2218
+
2219
+ h4(#array-conversions). Conversions
2220
+
2221
+ h5. +to_sentence+
2222
+
2223
+ The method +to_sentence+ turns an array into a string containing a sentence that enumerates its items:
2224
+
2225
+ <ruby>
2226
+ %w().to_sentence # => ""
2227
+ %w(Earth).to_sentence # => "Earth"
2228
+ %w(Earth Wind).to_sentence # => "Earth and Wind"
2229
+ %w(Earth Wind Fire).to_sentence # => "Earth, Wind, and Fire"
2230
+ </ruby>
2231
+
2232
+ This method accepts three options:
2233
+
2234
+ * <tt>:two_words_connector</tt>: What is used for arrays of length 2. Default is " and ".
2235
+ * <tt>:words_connector</tt>: What is used to join the elements of arrays with 3 or more elements, except for the last two. Default is ", ".
2236
+ * <tt>:last_word_connector</tt>: What is used to join the last items of an array with 3 or more elements. Default is ", and ".
2237
+
2238
+ The defaults for these options can be localised, their keys are:
2239
+
2240
+ |_. Option |_. I18n key |
2241
+ | <tt>:two_words_connector</tt> | <tt>support.array.two_words_connector</tt> |
2242
+ | <tt>:words_connector</tt> | <tt>support.array.words_connector</tt> |
2243
+ | <tt>:last_word_connector</tt> | <tt>support.array.last_word_connector</tt> |
2244
+
2245
+ Options <tt>:connector</tt> and <tt>:skip_last_comma</tt> are deprecated.
2246
+
2247
+ NOTE: Defined in +active_support/core_ext/array/conversions.rb+.
2248
+
2249
+ h5. +to_formatted_s+
2250
+
2251
+ The method +to_formatted_s+ acts like +to_s+ by default.
2252
+
2253
+ If the array contains items that respond to +id+, however, it may be passed the symbol <tt>:db</tt> as argument. That's typically used with collections of ARs, though technically any object in Ruby 1.8 responds to +id+ indeed. Returned strings are:
2254
+
2255
+ <ruby>
2256
+ [].to_formatted_s(:db) # => "null"
2257
+ [user].to_formatted_s(:db) # => "8456"
2258
+ invoice.lines.to_formatted_s(:db) # => "23,567,556,12"
2259
+ </ruby>
2260
+
2261
+ Integers in the example above are supposed to come from the respective calls to +id+.
2262
+
2263
+ NOTE: Defined in +active_support/core_ext/array/conversions.rb+.
2264
+
2265
+ h5. +to_xml+
2266
+
2267
+ The method +to_xml+ returns a string containing an XML representation of its receiver:
2268
+
2269
+ <ruby>
2270
+ Contributor.limit(2).order(:rank).to_xml
2271
+ # =>
2272
+ # <?xml version="1.0" encoding="UTF-8"?>
2273
+ # <contributors type="array">
2274
+ # <contributor>
2275
+ # <id type="integer">4356</id>
2276
+ # <name>Jeremy Kemper</name>
2277
+ # <rank type="integer">1</rank>
2278
+ # <url-id>jeremy-kemper</url-id>
2279
+ # </contributor>
2280
+ # <contributor>
2281
+ # <id type="integer">4404</id>
2282
+ # <name>David Heinemeier Hansson</name>
2283
+ # <rank type="integer">2</rank>
2284
+ # <url-id>david-heinemeier-hansson</url-id>
2285
+ # </contributor>
2286
+ # </contributors>
2287
+ </ruby>
2288
+
2289
+ To do so it sends +to_xml+ to every item in turn, and collects the results under a root node. All items must respond to +to_xml+, an exception is raised otherwise.
2290
+
2291
+ By default, the name of the root element is the underscorized and dasherized plural of the name of the class of the first item, provided the rest of elements belong to that type (checked with <tt>is_a?</tt>) and they are not hashes. In the example above that's "contributors".
2292
+
2293
+ If there's any element that does not belong to the type of the first one the root node becomes "records":
2294
+
2295
+ <ruby>
2296
+ [Contributor.first, Commit.first].to_xml
2297
+ # =>
2298
+ # <?xml version="1.0" encoding="UTF-8"?>
2299
+ # <records type="array">
2300
+ # <record>
2301
+ # <id type="integer">4583</id>
2302
+ # <name>Aaron Batalion</name>
2303
+ # <rank type="integer">53</rank>
2304
+ # <url-id>aaron-batalion</url-id>
2305
+ # </record>
2306
+ # <record>
2307
+ # <author>Joshua Peek</author>
2308
+ # <authored-timestamp type="datetime">2009-09-02T16:44:36Z</authored-timestamp>
2309
+ # <branch>origin/master</branch>
2310
+ # <committed-timestamp type="datetime">2009-09-02T16:44:36Z</committed-timestamp>
2311
+ # <committer>Joshua Peek</committer>
2312
+ # <git-show nil="true"></git-show>
2313
+ # <id type="integer">190316</id>
2314
+ # <imported-from-svn type="boolean">false</imported-from-svn>
2315
+ # <message>Kill AMo observing wrap_with_notifications since ARes was only using it</message>
2316
+ # <sha1>723a47bfb3708f968821bc969a9a3fc873a3ed58</sha1>
2317
+ # </record>
2318
+ # </records>
2319
+ </ruby>
2320
+
2321
+ If the receiver is an array of hashes the root element is by default also "records":
2322
+
2323
+ <ruby>
2324
+ [{:a => 1, :b => 2}, {:c => 3}].to_xml
2325
+ # =>
2326
+ # <?xml version="1.0" encoding="UTF-8"?>
2327
+ # <records type="array">
2328
+ # <record>
2329
+ # <b type="integer">2</b>
2330
+ # <a type="integer">1</a>
2331
+ # </record>
2332
+ # <record>
2333
+ # <c type="integer">3</c>
2334
+ # </record>
2335
+ # </records>
2336
+ </ruby>
2337
+
2338
+ WARNING. If the collection is empty the root element is by default "nil-classes". That's a gotcha, for example the root element of the list of contributors above would not be "contributors" if the collection was empty, but "nil-classes". You may use the <tt>:root</tt> option to ensure a consistent root element.
2339
+
2340
+ The name of children nodes is by default the name of the root node singularized. In the examples above we've seen "contributor" and "record". The option <tt>:children</tt> allows you to set these node names.
2341
+
2342
+ The default XML builder is a fresh instance of <tt>Builder::XmlMarkup</tt>. You can configure your own builder via the <tt>:builder</tt> option. The method also accepts options like <tt>:dasherize</tt> and friends, they are forwarded to the builder:
2343
+
2344
+ <ruby>
2345
+ Contributor.limit(2).order(:rank).to_xml(:skip_types => true)
2346
+ # =>
2347
+ # <?xml version="1.0" encoding="UTF-8"?>
2348
+ # <contributors>
2349
+ # <contributor>
2350
+ # <id>4356</id>
2351
+ # <name>Jeremy Kemper</name>
2352
+ # <rank>1</rank>
2353
+ # <url-id>jeremy-kemper</url-id>
2354
+ # </contributor>
2355
+ # <contributor>
2356
+ # <id>4404</id>
2357
+ # <name>David Heinemeier Hansson</name>
2358
+ # <rank>2</rank>
2359
+ # <url-id>david-heinemeier-hansson</url-id>
2360
+ # </contributor>
2361
+ # </contributors>
2362
+ </ruby>
2363
+
2364
+ NOTE: Defined in +active_support/core_ext/array/conversions.rb+.
2365
+
2366
+ h4. Wrapping
2367
+
2368
+ The method +Array.wrap+ wraps its argument in an array unless it is already an array (or array-like).
2369
+
2370
+ Specifically:
2371
+
2372
+ * If the argument is +nil+ an empty list is returned.
2373
+ * Otherwise, if the argument responds to +to_ary+ it is invoked, and if the value of +to_ary+ is not +nil+, it is returned.
2374
+ * Otherwise, an array with the argument as its single element is returned.
2375
+
2376
+ <ruby>
2377
+ Array.wrap(nil) # => []
2378
+ Array.wrap([1, 2, 3]) # => [1, 2, 3]
2379
+ Array.wrap(0) # => [0]
2380
+ </ruby>
2381
+
2382
+ This method is similar in purpose to <tt>Kernel#Array</tt>, but there are some differences:
2383
+
2384
+ * If the argument responds to +to_ary+ the method is invoked. <tt>Kernel#Array</tt> moves on to try +to_a+ if the returned value is +nil+, but <tt>Array.wrap</tt> returns +nil+ right away.
2385
+ * If the returned value from +to_ary+ is neither +nil+ nor an +Array+ object, <tt>Kernel#Array</tt> raises an exception, while <tt>Array.wrap</tt> does not, it just returns the value.
2386
+ * It does not call +to_a+ on the argument, though special-cases +nil+ to return an empty array.
2387
+
2388
+ The last point is particularly worth comparing for some enumerables:
2389
+
2390
+ <ruby>
2391
+ Array.wrap(:foo => :bar) # => [{:foo => :bar}]
2392
+ Array(:foo => :bar) # => [[:foo, :bar]]
2393
+
2394
+ Array.wrap("foo\nbar") # => ["foo\nbar"]
2395
+ Array("foo\nbar") # => ["foo\n", "bar"], in Ruby 1.8
2396
+ </ruby>
2397
+
2398
+ There's also a related idiom that uses the splat operator:
2399
+
2400
+ <ruby>
2401
+ [*object]
2402
+ </ruby>
2403
+
2404
+ which in Ruby 1.8 returns +[nil]+ for +nil+, and calls to <tt>Array(object)</tt> otherwise. (Please if you know the exact behavior in 1.9 contact fxn.)
2405
+
2406
+ Thus, in this case the behavior is different for +nil+, and the differences with <tt>Kernel#Array</tt> explained above apply to the rest of +object+s.
2407
+
2408
+ NOTE: Defined in +active_support/core_ext/array/wrap.rb+.
2409
+
2410
+ h4. Grouping
2411
+
2412
+ h5. +in_groups_of(number, fill_with = nil)+
2413
+
2414
+ The method +in_groups_of+ splits an array into consecutive groups of a certain size. It returns an array with the groups:
2415
+
2416
+ <ruby>
2417
+ [1, 2, 3].in_groups_of(2) # => [[1, 2], [3, nil]]
2418
+ </ruby>
2419
+
2420
+ or yields them in turn if a block is passed:
2421
+
2422
+ <ruby>
2423
+ <% sample.in_groups_of(3) do |a, b, c| %>
2424
+ <tr>
2425
+ <td><%=h a %></td>
2426
+ <td><%=h b %></td>
2427
+ <td><%=h c %></td>
2428
+ </tr>
2429
+ <% end %>
2430
+ </ruby>
2431
+
2432
+ The first example shows +in_groups_of+ fills the last group with as many +nil+ elements as needed to have the requested size. You can change this padding value using the second optional argument:
2433
+
2434
+ <ruby>
2435
+ [1, 2, 3].in_groups_of(2, 0) # => [[1, 2], [3, 0]]
2436
+ </ruby>
2437
+
2438
+ And you can tell the method not to fill the last group passing +false+:
2439
+
2440
+ <ruby>
2441
+ [1, 2, 3].in_groups_of(2, false) # => [[1, 2], [3]]
2442
+ </ruby>
2443
+
2444
+ As a consequence +false+ can't be a used as a padding value.
2445
+
2446
+ NOTE: Defined in +active_support/core_ext/array/grouping.rb+.
2447
+
2448
+ h5. +in_groups(number, fill_with = nil)+
2449
+
2450
+ The method +in_groups+ splits an array into a certain number of groups. The method returns an array with the groups:
2451
+
2452
+ <ruby>
2453
+ %w(1 2 3 4 5 6 7).in_groups(3)
2454
+ # => [["1", "2", "3"], ["4", "5", nil], ["6", "7", nil]]
2455
+ </ruby>
2456
+
2457
+ or yields them in turn if a block is passed:
2458
+
2459
+ <ruby>
2460
+ %w(1 2 3 4 5 6 7).in_groups(3) {|group| p group}
2461
+ ["1", "2", "3"]
2462
+ ["4", "5", nil]
2463
+ ["6", "7", nil]
2464
+ </ruby>
2465
+
2466
+ The examples above show that +in_groups+ fills some groups with a trailing +nil+ element as needed. A group can get at most one of these extra elements, the rightmost one if any. And the groups that have them are always the last ones.
2467
+
2468
+ You can change this padding value using the second optional argument:
2469
+
2470
+ <ruby>
2471
+ %w(1 2 3 4 5 6 7).in_groups(3, "0")
2472
+ # => [["1", "2", "3"], ["4", "5", "0"], ["6", "7", "0"]]
2473
+ </ruby>
2474
+
2475
+ And you can tell the method not to fill the smaller groups passing +false+:
2476
+
2477
+ <ruby>
2478
+ %w(1 2 3 4 5 6 7).in_groups(3, false)
2479
+ # => [["1", "2", "3"], ["4", "5"], ["6", "7"]]
2480
+ </ruby>
2481
+
2482
+ As a consequence +false+ can't be a used as a padding value.
2483
+
2484
+ NOTE: Defined in +active_support/core_ext/array/grouping.rb+.
2485
+
2486
+ h5. +split(value = nil)+
2487
+
2488
+ The method +split+ divides an array by a separator and returns the resulting chunks.
2489
+
2490
+ If a block is passed the separators are those elements of the array for which the block returns true:
2491
+
2492
+ <ruby>
2493
+ (-5..5).to_a.split { |i| i.multiple_of?(4) }
2494
+ # => [[-5], [-3, -2, -1], [1, 2, 3], [5]]
2495
+ </ruby>
2496
+
2497
+ Otherwise, the value received as argument, which defaults to +nil+, is the separator:
2498
+
2499
+ <ruby>
2500
+ [0, 1, -5, 1, 1, "foo", "bar"].split(1)
2501
+ # => [[0], [-5], [], ["foo", "bar"]]
2502
+ </ruby>
2503
+
2504
+ TIP: Observe in the previous example that consecutive separators result in empty arrays.
2505
+
2506
+ NOTE: Defined in +active_support/core_ext/array/grouping.rb+.
2507
+
2508
+ h3. Extensions to +Hash+
2509
+
2510
+ h4(#hash-conversions). Conversions
2511
+
2512
+ h5(#hash-to-xml). +to_xml+
2513
+
2514
+ The method +to_xml+ returns a string containing an XML representation of its receiver:
2515
+
2516
+ <ruby>
2517
+ {"foo" => 1, "bar" => 2}.to_xml
2518
+ # =>
2519
+ # <?xml version="1.0" encoding="UTF-8"?>
2520
+ # <hash>
2521
+ # <foo type="integer">1</foo>
2522
+ # <bar type="integer">2</bar>
2523
+ # </hash>
2524
+ </ruby>
2525
+
2526
+ To do so, the method loops over the pairs and builds nodes that depend on the _values_. Given a pair +key+, +value+:
2527
+
2528
+ * If +value+ is a hash there's a recursive call with +key+ as <tt>:root</tt>.
2529
+
2530
+ * If +value+ is an array there's a recursive call with +key+ as <tt>:root</tt>, and +key+ singularized as <tt>:children</tt>.
2531
+
2532
+ * If +value+ is a callable object it must expect one or two arguments. Depending on the arity, the callable is invoked with the +options+ hash as first argument with +key+ as <tt>:root</tt>, and +key+ singularized as second argument. Its return value becomes a new node.
2533
+
2534
+ * If +value+ responds to +to_xml+ the method is invoked with +key+ as <tt>:root</tt>.
2535
+
2536
+ * Otherwise, a node with +key+ as tag is created with a string representation of +value+ as text node. If +value+ is +nil+ an attribute "nil" set to "true" is added. Unless the option <tt>:skip_types</tt> exists and is true, an attribute "type" is added as well according to the following mapping:
2537
+ <ruby>
2538
+ XML_TYPE_NAMES = {
2539
+ "Symbol" => "symbol",
2540
+ "Fixnum" => "integer",
2541
+ "Bignum" => "integer",
2542
+ "BigDecimal" => "decimal",
2543
+ "Float" => "float",
2544
+ "TrueClass" => "boolean",
2545
+ "FalseClass" => "boolean",
2546
+ "Date" => "date",
2547
+ "DateTime" => "datetime",
2548
+ "Time" => "datetime"
2549
+ }
2550
+ </ruby>
2551
+
2552
+ By default the root node is "hash", but that's configurable via the <tt>:root</tt> option.
2553
+
2554
+ The default XML builder is a fresh instance of <tt>Builder::XmlMarkup</tt>. You can configure your own builder with the <tt>:builder</tt> option. The method also accepts options like <tt>:dasherize</tt> and friends, they are forwarded to the builder.
2555
+
2556
+ NOTE: Defined in +active_support/core_ext/hash/conversions.rb+.
2557
+
2558
+ h4. Merging
2559
+
2560
+ Ruby has a built-in method +Hash#merge+ that merges two hashes:
2561
+
2562
+ <ruby>
2563
+ {:a => 1, :b => 1}.merge(:a => 0, :c => 2)
2564
+ # => {:a => 0, :b => 1, :c => 2}
2565
+ </ruby>
2566
+
2567
+ Active Support defines a few more ways of merging hashes that may be convenient.
2568
+
2569
+ h5. +reverse_merge+ and +reverse_merge!+
2570
+
2571
+ In case of collision the key in the hash of the argument wins in +merge+. You can support option hashes with default values in a compact way with this idiom:
2572
+
2573
+ <ruby>
2574
+ options = {:length => 30, :omission => "..."}.merge(options)
2575
+ </ruby>
2576
+
2577
+ Active Support defines +reverse_merge+ in case you prefer this alternative notation:
2578
+
2579
+ <ruby>
2580
+ options = options.reverse_merge(:length => 30, :omission => "...")
2581
+ </ruby>
2582
+
2583
+ And a bang version +reverse_merge!+ that performs the merge in place:
2584
+
2585
+ <ruby>
2586
+ options.reverse_merge!(:length => 30, :omission => "...")
2587
+ </ruby>
2588
+
2589
+ WARNING. Take into account that +reverse_merge!+ may change the hash in the caller, which may or may not be a good idea.
2590
+
2591
+ NOTE: Defined in +active_support/core_ext/hash/reverse_merge.rb+.
2592
+
2593
+ h5. +reverse_update+
2594
+
2595
+ The method +reverse_update+ is an alias for +reverse_merge!+, explained above.
2596
+
2597
+ WARNING. Note that +reverse_update+ has no bang.
2598
+
2599
+ NOTE: Defined in +active_support/core_ext/hash/reverse_merge.rb+.
2600
+
2601
+ h5. +deep_merge+ and +deep_merge!+
2602
+
2603
+ As you can see in the previous example if a key is found in both hashes the value in the one in the argument wins.
2604
+
2605
+ Active Support defines +Hash#deep_merge+. In a deep merge, if a key is found in both hashes and their values are hashes in turn, then their _merge_ becomes the value in the resulting hash:
2606
+
2607
+ <ruby>
2608
+ {:a => {:b => 1}}.deep_merge(:a => {:c => 2})
2609
+ # => {:a => {:b => 1, :c => 2}}
2610
+ </ruby>
2611
+
2612
+ The method +deep_merge!+ performs a deep merge in place.
2613
+
2614
+ NOTE: Defined in +active_support/core_ext/hash/deep_merge.rb+.
2615
+
2616
+ h4. Diffing
2617
+
2618
+ The method +diff+ returns a hash that represents a diff of the receiver and the argument with the following logic:
2619
+
2620
+ * Pairs +key+, +value+ that exist in both hashes do not belong to the diff hash.
2621
+
2622
+ * If both hashes have +key+, but with different values, the pair in the receiver wins.
2623
+
2624
+ * The rest is just merged.
2625
+
2626
+ <ruby>
2627
+ {:a => 1}.diff(:a => 1)
2628
+ # => {}, first rule
2629
+
2630
+ {:a => 1}.diff(:a => 2)
2631
+ # => {:a => 1}, second rule
2632
+
2633
+ {:a => 1}.diff(:b => 2)
2634
+ # => {:a => 1, :b => 2}, third rule
2635
+
2636
+ {:a => 1, :b => 2, :c => 3}.diff(:b => 1, :c => 3, :d => 4)
2637
+ # => {:a => 1, :b => 2, :d => 4}, all rules
2638
+
2639
+ {}.diff({}) # => {}
2640
+ {:a => 1}.diff({}) # => {:a => 1}
2641
+ {}.diff(:a => 1) # => {:a => 1}
2642
+ </ruby>
2643
+
2644
+ An important property of this diff hash is that you can retrieve the original hash by applying +diff+ twice:
2645
+
2646
+ <ruby>
2647
+ hash.diff(hash2).diff(hash2) == hash
2648
+ </ruby>
2649
+
2650
+ Diffing hashes may be useful for error messages related to expected option hashes for example.
2651
+
2652
+ NOTE: Defined in +active_support/core_ext/hash/diff.rb+.
2653
+
2654
+ h4. Working with Keys
2655
+
2656
+ h5. +except+ and +except!+
2657
+
2658
+ The method +except+ returns a hash with the keys in the argument list removed, if present:
2659
+
2660
+ <ruby>
2661
+ {:a => 1, :b => 2}.except(:a) # => {:b => 2}
2662
+ </ruby>
2663
+
2664
+ If the receiver responds to +convert_key+, the method is called on each of the arguments. This allows +except+ to play nice with hashes with indifferent access for instance:
2665
+
2666
+ <ruby>
2667
+ {:a => 1}.with_indifferent_access.except(:a) # => {}
2668
+ {:a => 1}.with_indifferent_access.except("a") # => {}
2669
+ </ruby>
2670
+
2671
+ The method +except+ may come in handy for example when you want to protect some parameter that can't be globally protected with +attr_protected+:
2672
+
2673
+ <ruby>
2674
+ params[:account] = params[:account].except(:plan_id) unless admin?
2675
+ @account.update_attributes(params[:account])
2676
+ </ruby>
2677
+
2678
+ There's also the bang variant +except!+ that removes keys in the very receiver.
2679
+
2680
+ NOTE: Defined in +active_support/core_ext/hash/except.rb+.
2681
+
2682
+ h5. +stringify_keys+ and +stringify_keys!+
2683
+
2684
+ The method +stringify_keys+ returns a hash that has a stringified version of the keys in the receiver. It does so by sending +to_s+ to them:
2685
+
2686
+ <ruby>
2687
+ {nil => nil, 1 => 1, :a => :a}.stringify_keys
2688
+ # => {"" => nil, "a" => :a, "1" => 1}
2689
+ </ruby>
2690
+
2691
+ The result in case of collision is undefined:
2692
+
2693
+ <ruby>
2694
+ {"a" => 1, :a => 2}.stringify_keys
2695
+ # => {"a" => 2}, in my test, can't rely on this result though
2696
+ </ruby>
2697
+
2698
+ This method may be useful for example to easily accept both symbols and strings as options. For instance +ActionView::Helpers::FormHelper+ defines:
2699
+
2700
+ <ruby>
2701
+ def to_check_box_tag(options = {}, checked_value = "1", unchecked_value = "0")
2702
+ options = options.stringify_keys
2703
+ options["type"] = "checkbox"
2704
+ ...
2705
+ end
2706
+ </ruby>
2707
+
2708
+ The second line can safely access the "type" key, and let the user to pass either +:type+ or "type".
2709
+
2710
+ There's also the bang variant +stringify_keys!+ that stringifies keys in the very receiver.
2711
+
2712
+ NOTE: Defined in +active_support/core_ext/hash/keys.rb+.
2713
+
2714
+ h5. +symbolize_keys+ and +symbolize_keys!+
2715
+
2716
+ The method +symbolize_keys+ returns a hash that has a symbolized version of the keys in the receiver, where possible. It does so by sending +to_sym+ to them:
2717
+
2718
+ <ruby>
2719
+ {nil => nil, 1 => 1, "a" => "a"}.symbolize_keys
2720
+ # => {1 => 1, nil => nil, :a => "a"}
2721
+ </ruby>
2722
+
2723
+ WARNING. Note in the previous example only one key was symbolized.
2724
+
2725
+ The result in case of collision is undefined:
2726
+
2727
+ <ruby>
2728
+ {"a" => 1, :a => 2}.symbolize_keys
2729
+ # => {:a => 2}, in my test, can't rely on this result though
2730
+ </ruby>
2731
+
2732
+ This method may be useful for example to easily accept both symbols and strings as options. For instance +ActionController::UrlRewriter+ defines
2733
+
2734
+ <ruby>
2735
+ def rewrite_path(options)
2736
+ options = options.symbolize_keys
2737
+ options.update(options[:params].symbolize_keys) if options[:params]
2738
+ ...
2739
+ end
2740
+ </ruby>
2741
+
2742
+ The second line can safely access the +:params+ key, and let the user to pass either +:params+ or "params".
2743
+
2744
+ There's also the bang variant +symbolize_keys!+ that symbolizes keys in the very receiver.
2745
+
2746
+ NOTE: Defined in +active_support/core_ext/hash/keys.rb+.
2747
+
2748
+ h5. +to_options+ and +to_options!+
2749
+
2750
+ The methods +to_options+ and +to_options!+ are respectively aliases of +symbolize_keys+ and +symbolize_keys!+.
2751
+
2752
+ NOTE: Defined in +active_support/core_ext/hash/keys.rb+.
2753
+
2754
+ h5. +assert_valid_keys+
2755
+
2756
+ The method +assert_valid_keys+ receives an arbitrary number of arguments, and checks whether the receiver has any key outside that white list. If it does +ArgumentError+ is raised.
2757
+
2758
+ <ruby>
2759
+ {:a => 1}.assert_valid_keys(:a) # passes
2760
+ {:a => 1}.assert_valid_keys("a") # ArgumentError
2761
+ </ruby>
2762
+
2763
+ Active Record does not accept unknown options when building associations for example. It implements that control via +assert_valid_keys+:
2764
+
2765
+ <ruby>
2766
+ mattr_accessor :valid_keys_for_has_many_association
2767
+ @@valid_keys_for_has_many_association = [
2768
+ :class_name, :table_name, :foreign_key, :primary_key,
2769
+ :dependent,
2770
+ :select, :conditions, :include, :order, :group, :having, :limit, :offset,
2771
+ :as, :through, :source, :source_type,
2772
+ :uniq,
2773
+ :finder_sql, :counter_sql,
2774
+ :before_add, :after_add, :before_remove, :after_remove,
2775
+ :extend, :readonly,
2776
+ :validate, :inverse_of
2777
+ ]
2778
+
2779
+ def create_has_many_reflection(association_id, options, &extension)
2780
+ options.assert_valid_keys(valid_keys_for_has_many_association)
2781
+ ...
2782
+ end
2783
+ </ruby>
2784
+
2785
+ NOTE: Defined in +active_support/core_ext/hash/keys.rb+.
2786
+
2787
+ h4. Slicing
2788
+
2789
+ Ruby has built-in support for taking slices out of strings and arrays. Active Support extends slicing to hashes:
2790
+
2791
+ <ruby>
2792
+ {:a => 1, :b => 2, :c => 3}.slice(:a, :c)
2793
+ # => {:c => 3, :a => 1}
2794
+
2795
+ {:a => 1, :b => 2, :c => 3}.slice(:b, :X)
2796
+ # => {:b => 2} # non-existing keys are ignored
2797
+ </ruby>
2798
+
2799
+ If the receiver responds to +convert_key+ keys are normalized:
2800
+
2801
+ <ruby>
2802
+ {:a => 1, :b => 2}.with_indifferent_access.slice("a")
2803
+ # => {:a => 1}
2804
+ </ruby>
2805
+
2806
+ NOTE. Slicing may come in handy for sanitizing option hashes with a white list of keys.
2807
+
2808
+ There's also +slice!+ which in addition to perform a slice in place returns what's removed:
2809
+
2810
+ <ruby>
2811
+ hash = {:a => 1, :b => 2}
2812
+ rest = hash.slice!(:a) # => {:b => 2}
2813
+ hash # => {:a => 1}
2814
+ </ruby>
2815
+
2816
+ NOTE: Defined in +active_support/core_ext/hash/slice.rb+.
2817
+
2818
+ h4. Extracting
2819
+
2820
+ The method +extract!+ removes and returns the key/value pairs matching the given keys.
2821
+
2822
+ <ruby>
2823
+ hash = {:a => 1, :b => 2}
2824
+ rest = hash.extract!(:a) # => {:a => 1}
2825
+ hash # => {:b => 2}
2826
+ </ruby>
2827
+
2828
+ NOTE: Defined in +active_support/core_ext/hash/slice.rb+.
2829
+
2830
+ h4. Indifferent Access
2831
+
2832
+ The method +with_indifferent_access+ returns an +ActiveSupport::HashWithIndifferentAccess+ out of its receiver:
2833
+
2834
+ <ruby>
2835
+ {:a => 1}.with_indifferent_access["a"] # => 1
2836
+ </ruby>
2837
+
2838
+ NOTE: Defined in +active_support/core_ext/hash/indifferent_access.rb+.
2839
+
2840
+ h3. Extensions to +Regexp+
2841
+
2842
+ h4. +multiline?+
2843
+
2844
+ The method +multiline?+ says whether a regexp has the +/m+ flag set, that is, whether the dot matches newlines.
2845
+
2846
+ <ruby>
2847
+ %r{.}.multiline? # => false
2848
+ %r{.}m.multiline? # => true
2849
+
2850
+ Regexp.new('.').multiline? # => false
2851
+ Regexp.new('.', Regexp::MULTILINE).multiline? # => true
2852
+ </ruby>
2853
+
2854
+ Rails uses this method in a single place, also in the routing code. Multiline regexps are disallowed for route requirements and this flag eases enforcing that constraint.
2855
+
2856
+ <ruby>
2857
+ def assign_route_options(segments, defaults, requirements)
2858
+ ...
2859
+ if requirement.multiline?
2860
+ raise ArgumentError, "Regexp multiline option not allowed in routing requirements: #{requirement.inspect}"
2861
+ end
2862
+ ...
2863
+ end
2864
+ </ruby>
2865
+
2866
+ NOTE: Defined in +active_support/core_ext/regexp.rb+.
2867
+
2868
+ h3. Extensions to +Range+
2869
+
2870
+ h4. +to_s+
2871
+
2872
+ Active Support extends the method +Range#to_s+ so that it understands an optional format argument. As of this writing the only supported non-default format is +:db+:
2873
+
2874
+ <ruby>
2875
+ (Date.today..Date.tomorrow).to_s
2876
+ # => "2009-10-25..2009-10-26"
2877
+
2878
+ (Date.today..Date.tomorrow).to_s(:db)
2879
+ # => "BETWEEN '2009-10-25' AND '2009-10-26'"
2880
+ </ruby>
2881
+
2882
+ As the example depicts, the +:db+ format generates a +BETWEEN+ SQL clause. That is used by Active Record in its support for range values in conditions.
2883
+
2884
+ NOTE: Defined in +active_support/core_ext/range/conversions.rb+.
2885
+
2886
+ h4. +step+
2887
+
2888
+ Active Support extends the method +Range#step+ so that it can be invoked without a block:
2889
+
2890
+ <ruby>
2891
+ (1..10).step(2) # => [1, 3, 5, 7, 9]
2892
+ </ruby>
2893
+
2894
+ As the example shows, in that case the method returns an array with the corresponding elements.
2895
+
2896
+ NOTE: Defined in +active_support/core_ext/range/blockless_step.rb+.
2897
+
2898
+ h4. +include?+
2899
+
2900
+ The method +Range#include?+ says whether some value falls between the ends of a given instance:
2901
+
2902
+ <ruby>
2903
+ (2..3).include?(Math::E) # => true
2904
+ </ruby>
2905
+
2906
+ Active Support extends this method so that the argument may be another range in turn. In that case we test whether the ends of the argument range belong to the receiver themselves:
2907
+
2908
+ <ruby>
2909
+ (1..10).include?(3..7) # => true
2910
+ (1..10).include?(0..7) # => false
2911
+ (1..10).include?(3..11) # => false
2912
+ (1...9).include?(3..9) # => false
2913
+ </ruby>
2914
+
2915
+ WARNING: The original +Range#include?+ is still the one aliased to +Range#===+.
2916
+
2917
+ NOTE: Defined in +active_support/core_ext/range/include_range.rb+.
2918
+
2919
+ h4. +cover?+
2920
+
2921
+ Ruby 1.9 provides +cover?+, and Active Support defines it for previous versions as an alias for +include?+.
2922
+
2923
+ The method +include?+ in Ruby 1.9 is different from the one in 1.8 for non-numeric ranges: instead of being based on comparisons between the value and the range's endpoints, it walks the range with +succ+ looking for value. This works better for ranges with holes, but it has different complexity and may not finish in some other cases.
2924
+
2925
+ In Ruby 1.9 the old behavior is still available in the new +cover?+, which Active Support backports for forward compatibility. For example, Rails uses +cover?+ for ranges in +validates_inclusion_of+.
2926
+
2927
+ h4. +overlaps?+
2928
+
2929
+ The method +Range#overlaps?+ says whether any two given ranges have non-void intersection:
2930
+
2931
+ <ruby>
2932
+ (1..10).overlaps?(7..11) # => true
2933
+ (1..10).overlaps?(0..7) # => true
2934
+ (1..10).overlaps?(11..27) # => false
2935
+ </ruby>
2936
+
2937
+ NOTE: Defined in +active_support/core_ext/range/overlaps.rb+.
2938
+
2939
+ h3. Extensions to +Proc+
2940
+
2941
+ h4. +bind+
2942
+
2943
+ As you surely know Ruby has an +UnboundMethod+ class whose instances are methods that belong to the limbo of methods without a self. The method +Module#instance_method+ returns an unbound method for example:
2944
+
2945
+ <ruby>
2946
+ Hash.instance_method(:delete) # => #<UnboundMethod: Hash#delete>
2947
+ </ruby>
2948
+
2949
+ An unbound method is not callable as is, you need to bind it first to an object with +bind+:
2950
+
2951
+ <ruby>
2952
+ clear = Hash.instance_method(:clear)
2953
+ clear.bind({:a => 1}).call # => {}
2954
+ </ruby>
2955
+
2956
+ Active Support defines +Proc#bind+ with an analogous purpose:
2957
+
2958
+ <ruby>
2959
+ Proc.new { size }.bind([]).call # => 0
2960
+ </ruby>
2961
+
2962
+ As you see that's callable and bound to the argument, the return value is indeed a +Method+.
2963
+
2964
+ NOTE: To do so +Proc#bind+ actually creates a method under the hood. If you ever see a method with a weird name like +__bind_1256598120_237302+ in a stack trace you know now where it comes from.
2965
+
2966
+ Action Pack uses this trick in +rescue_from+ for example, which accepts the name of a method and also a proc as callbacks for a given rescued exception. It has to call them in either case, so a bound method is returned by +handler_for_rescue+, thus simplifying the code in the caller:
2967
+
2968
+ <ruby>
2969
+ def handler_for_rescue(exception)
2970
+ _, rescuer = Array(rescue_handlers).reverse.detect do |klass_name, handler|
2971
+ ...
2972
+ end
2973
+
2974
+ case rescuer
2975
+ when Symbol
2976
+ method(rescuer)
2977
+ when Proc
2978
+ rescuer.bind(self)
2979
+ end
2980
+ end
2981
+ </ruby>
2982
+
2983
+ NOTE: Defined in +active_support/core_ext/proc.rb+.
2984
+
2985
+ h3. Extensions to +Date+
2986
+
2987
+ h4. Calculations
2988
+
2989
+ NOTE: All the following methods are defined in +active_support/core_ext/date/calculations.rb+.
2990
+
2991
+ INFO: The following calculation methods have edge cases in October 1582, since days 5..14 just do not exist. This guide does not document their behavior around those days for brevity, but it is enough to say that they do what you would expect. That is, +Date.new(1582, 10, 4).tomorrow+ returns +Date.new(1582, 10, 15)+ and so on. Please check +test/core_ext/date_ext_test.rb+ in the Active Support test suite for expected behavior.
2992
+
2993
+ h5. +Date.current+
2994
+
2995
+ Active Support defines +Date.current+ to be today in the current time zone. That's like +Date.today+, except that it honors the user time zone, if defined. It also defines +Date.yesterday+ and +Date.tomorrow+, and the instance predicates +past?+, +today?+, and +future?+, all of them relative to +Date.current+.
2996
+
2997
+ When making Date comparisons using methods which honor the user time zone, make sure to use +Date.current+ and not +Date.today+. There are cases where the user time zone might be in the future compared to the system time zone, which +Date.today+ uses by default. This means +Date.today+ may equal +Date.yesterday+.
2998
+
2999
+ h5. Named dates
3000
+
3001
+ h6. +prev_year+, +next_year+
3002
+
3003
+ In Ruby 1.9 +prev_year+ and +next_year+ return a date with the same day/month in the last or next year:
3004
+
3005
+ <ruby>
3006
+ d = Date.new(2010, 5, 8) # => Sat, 08 May 2010
3007
+ d.prev_year # => Fri, 08 May 2009
3008
+ d.next_year # => Sun, 08 May 2011
3009
+ </ruby>
3010
+
3011
+ If date is the 29th of February of a leap year, you obtain the 28th:
3012
+
3013
+ <ruby>
3014
+ d = Date.new(2000, 2, 29) # => Tue, 29 Feb 2000
3015
+ d.prev_year # => Sun, 28 Feb 1999
3016
+ d.next_year # => Wed, 28 Feb 2001
3017
+ </ruby>
3018
+
3019
+ Active Support defines these methods as well for Ruby 1.8.
3020
+
3021
+ h6. +prev_month+, +next_month+
3022
+
3023
+ In Ruby 1.9 +prev_month+ and +next_month+ return the date with the same day in the last or next month:
3024
+
3025
+ <ruby>
3026
+ d = Date.new(2010, 5, 8) # => Sat, 08 May 2010
3027
+ d.prev_month # => Thu, 08 Apr 2010
3028
+ d.next_month # => Tue, 08 Jun 2010
3029
+ </ruby>
3030
+
3031
+ If such a day does not exist, the last day of the corresponding month is returned:
3032
+
3033
+ <ruby>
3034
+ Date.new(2000, 5, 31).prev_month # => Sun, 30 Apr 2000
3035
+ Date.new(2000, 3, 31).prev_month # => Tue, 29 Feb 2000
3036
+ Date.new(2000, 5, 31).next_month # => Fri, 30 Jun 2000
3037
+ Date.new(2000, 1, 31).next_month # => Tue, 29 Feb 2000
3038
+ </ruby>
3039
+
3040
+ Active Support defines these methods as well for Ruby 1.8.
3041
+
3042
+ h6. +beginning_of_week+, +end_of_week+
3043
+
3044
+ The methods +beginning_of_week+ and +end_of_week+ return the dates for the
3045
+ beginning and end of the week, respectively. Weeks are assumed to start on
3046
+ Monday, but that can be changed passing an argument.
3047
+
3048
+ <ruby>
3049
+ d = Date.new(2010, 5, 8) # => Sat, 08 May 2010
3050
+ d.beginning_of_week # => Mon, 03 May 2010
3051
+ d.beginning_of_week(:sunday) # => Sun, 02 May 2010
3052
+ d.end_of_week # => Sun, 09 May 2010
3053
+ d.end_of_week(:sunday) # => Sat, 08 May 2010
3054
+ </ruby>
3055
+
3056
+ +beginning_of_week+ is aliased to +at_beginning_of_week+ and +end_of_week+ is aliased to +at_end_of_week+.
3057
+
3058
+ h6. +monday+, +sunday+
3059
+
3060
+ The methods +monday+ and +sunday+ return the dates for the beginning and
3061
+ end of the week, respectively. Weeks are assumed to start on Monday.
3062
+
3063
+ <ruby>
3064
+ d = Date.new(2010, 5, 8) # => Sat, 08 May 2010
3065
+ d.monday # => Mon, 03 May 2010
3066
+ d.sunday # => Sun, 09 May 2010
3067
+ </ruby>
3068
+
3069
+ h6. +prev_week+, +next_week+
3070
+
3071
+ The method +next_week+ receives a symbol with a day name in English (in lowercase, default is +:monday+) and it returns the date corresponding to that day:
3072
+
3073
+ <ruby>
3074
+ d = Date.new(2010, 5, 9) # => Sun, 09 May 2010
3075
+ d.next_week # => Mon, 10 May 2010
3076
+ d.next_week(:saturday) # => Sat, 15 May 2010
3077
+ </ruby>
3078
+
3079
+ The method +prev_week+ is analogous:
3080
+
3081
+ <ruby>
3082
+ d.prev_week # => Mon, 26 Apr 2010
3083
+ d.prev_week(:saturday) # => Sat, 01 May 2010
3084
+ d.prev_week(:friday) # => Fri, 30 Apr 2010
3085
+ </ruby>
3086
+
3087
+ h6. +beginning_of_month+, +end_of_month+
3088
+
3089
+ The methods +beginning_of_month+ and +end_of_month+ return the dates for the beginning and end of the month:
3090
+
3091
+ <ruby>
3092
+ d = Date.new(2010, 5, 9) # => Sun, 09 May 2010
3093
+ d.beginning_of_month # => Sat, 01 May 2010
3094
+ d.end_of_month # => Mon, 31 May 2010
3095
+ </ruby>
3096
+
3097
+ +beginning_of_month+ is aliased to +at_beginning_of_month+, and +end_of_month+ is aliased to +at_end_of_month+.
3098
+
3099
+ h6. +beginning_of_quarter+, +end_of_quarter+
3100
+
3101
+ The methods +beginning_of_quarter+ and +end_of_quarter+ return the dates for the beginning and end of the quarter of the receiver's calendar year:
3102
+
3103
+ <ruby>
3104
+ d = Date.new(2010, 5, 9) # => Sun, 09 May 2010
3105
+ d.beginning_of_quarter # => Thu, 01 Apr 2010
3106
+ d.end_of_quarter # => Wed, 30 Jun 2010
3107
+ </ruby>
3108
+
3109
+ +beginning_of_quarter+ is aliased to +at_beginning_of_quarter+, and +end_of_quarter+ is aliased to +at_end_of_quarter+.
3110
+
3111
+ h6. +beginning_of_year+, +end_of_year+
3112
+
3113
+ The methods +beginning_of_year+ and +end_of_year+ return the dates for the beginning and end of the year:
3114
+
3115
+ <ruby>
3116
+ d = Date.new(2010, 5, 9) # => Sun, 09 May 2010
3117
+ d.beginning_of_year # => Fri, 01 Jan 2010
3118
+ d.end_of_year # => Fri, 31 Dec 2010
3119
+ </ruby>
3120
+
3121
+ +beginning_of_year+ is aliased to +at_beginning_of_year+, and +end_of_year+ is aliased to +at_end_of_year+.
3122
+
3123
+ h5. Other Date Computations
3124
+
3125
+ h6. +years_ago+, +years_since+
3126
+
3127
+ The method +years_ago+ receives a number of years and returns the same date those many years ago:
3128
+
3129
+ <ruby>
3130
+ date = Date.new(2010, 6, 7)
3131
+ date.years_ago(10) # => Wed, 07 Jun 2000
3132
+ </ruby>
3133
+
3134
+ +years_since+ moves forward in time:
3135
+
3136
+ <ruby>
3137
+ date = Date.new(2010, 6, 7)
3138
+ date.years_since(10) # => Sun, 07 Jun 2020
3139
+ </ruby>
3140
+
3141
+ If such a day does not exist, the last day of the corresponding month is returned:
3142
+
3143
+ <ruby>
3144
+ Date.new(2012, 2, 29).years_ago(3) # => Sat, 28 Feb 2009
3145
+ Date.new(2012, 2, 29).years_since(3) # => Sat, 28 Feb 2015
3146
+ </ruby>
3147
+
3148
+ h6. +months_ago+, +months_since+
3149
+
3150
+ The methods +months_ago+ and +months_since+ work analogously for months:
3151
+
3152
+ <ruby>
3153
+ Date.new(2010, 4, 30).months_ago(2) # => Sun, 28 Feb 2010
3154
+ Date.new(2010, 4, 30).months_since(2) # => Wed, 30 Jun 2010
3155
+ </ruby>
3156
+
3157
+ If such a day does not exist, the last day of the corresponding month is returned:
3158
+
3159
+ <ruby>
3160
+ Date.new(2010, 4, 30).months_ago(2) # => Sun, 28 Feb 2010
3161
+ Date.new(2009, 12, 31).months_since(2) # => Sun, 28 Feb 2010
3162
+ </ruby>
3163
+
3164
+ h6. +weeks_ago+
3165
+
3166
+ The method +weeks_ago+ works analogously for weeks:
3167
+
3168
+ <ruby>
3169
+ Date.new(2010, 5, 24).weeks_ago(1) # => Mon, 17 May 2010
3170
+ Date.new(2010, 5, 24).weeks_ago(2) # => Mon, 10 May 2010
3171
+ </ruby>
3172
+
3173
+ h6. +advance+
3174
+
3175
+ The most generic way to jump to other days is +advance+. This method receives a hash with keys +:years+, +:months+, +:weeks+, +:days+, and returns a date advanced as much as the present keys indicate:
3176
+
3177
+ <ruby>
3178
+ date = Date.new(2010, 6, 6)
3179
+ date.advance(:years => 1, :weeks => 2) # => Mon, 20 Jun 2011
3180
+ date.advance(:months => 2, :days => -2) # => Wed, 04 Aug 2010
3181
+ </ruby>
3182
+
3183
+ Note in the previous example that increments may be negative.
3184
+
3185
+ To perform the computation the method first increments years, then months, then weeks, and finally days. This order is important towards the end of months. Say for example we are at the end of February of 2010, and we want to move one month and one day forward.
3186
+
3187
+ The method +advance+ advances first one month, and then one day, the result is:
3188
+
3189
+ <ruby>
3190
+ Date.new(2010, 2, 28).advance(:months => 1, :days => 1)
3191
+ # => Sun, 29 Mar 2010
3192
+ </ruby>
3193
+
3194
+ While if it did it the other way around the result would be different:
3195
+
3196
+ <ruby>
3197
+ Date.new(2010, 2, 28).advance(:days => 1).advance(:months => 1)
3198
+ # => Thu, 01 Apr 2010
3199
+ </ruby>
3200
+
3201
+ h5. Changing Components
3202
+
3203
+ The method +change+ allows you to get a new date which is the same as the receiver except for the given year, month, or day:
3204
+
3205
+ <ruby>
3206
+ Date.new(2010, 12, 23).change(:year => 2011, :month => 11)
3207
+ # => Wed, 23 Nov 2011
3208
+ </ruby>
3209
+
3210
+ This method is not tolerant to non-existing dates, if the change is invalid +ArgumentError+ is raised:
3211
+
3212
+ <ruby>
3213
+ Date.new(2010, 1, 31).change(:month => 2)
3214
+ # => ArgumentError: invalid date
3215
+ </ruby>
3216
+
3217
+ h5(#date-durations). Durations
3218
+
3219
+ Durations can be added to and subtracted from dates:
3220
+
3221
+ <ruby>
3222
+ d = Date.current
3223
+ # => Mon, 09 Aug 2010
3224
+ d + 1.year
3225
+ # => Tue, 09 Aug 2011
3226
+ d - 3.hours
3227
+ # => Sun, 08 Aug 2010 21:00:00 UTC +00:00
3228
+ </ruby>
3229
+
3230
+ They translate to calls to +since+ or +advance+. For example here we get the correct jump in the calendar reform:
3231
+
3232
+ <ruby>
3233
+ Date.new(1582, 10, 4) + 1.day
3234
+ # => Fri, 15 Oct 1582
3235
+ </ruby>
3236
+
3237
+ h5. Timestamps
3238
+
3239
+ INFO: The following methods return a +Time+ object if possible, otherwise a +DateTime+. If set, they honor the user time zone.
3240
+
3241
+ h6. +beginning_of_day+, +end_of_day+
3242
+
3243
+ The method +beginning_of_day+ returns a timestamp at the beginning of the day (00:00:00):
3244
+
3245
+ <ruby>
3246
+ date = Date.new(2010, 6, 7)
3247
+ date.beginning_of_day # => Sun Jun 07 00:00:00 +0200 2010
3248
+ </ruby>
3249
+
3250
+ The method +end_of_day+ returns a timestamp at the end of the day (23:59:59):
3251
+
3252
+ <ruby>
3253
+ date = Date.new(2010, 6, 7)
3254
+ date.end_of_day # => Sun Jun 06 23:59:59 +0200 2010
3255
+ </ruby>
3256
+
3257
+ +beginning_of_day+ is aliased to +at_beginning_of_day+, +midnight+, +at_midnight+.
3258
+
3259
+ h6. +ago+, +since+
3260
+
3261
+ The method +ago+ receives a number of seconds as argument and returns a timestamp those many seconds ago from midnight:
3262
+
3263
+ <ruby>
3264
+ date = Date.current # => Fri, 11 Jun 2010
3265
+ date.ago(1) # => Thu, 10 Jun 2010 23:59:59 EDT -04:00
3266
+ </ruby>
3267
+
3268
+ Similarly, +since+ moves forward:
3269
+
3270
+ <ruby>
3271
+ date = Date.current # => Fri, 11 Jun 2010
3272
+ date.since(1) # => Fri, 11 Jun 2010 00:00:01 EDT -04:00
3273
+ </ruby>
3274
+
3275
+ h5. Other Time Computations
3276
+
3277
+ h4(#date-conversions). Conversions
3278
+
3279
+ h3. Extensions to +DateTime+
3280
+
3281
+ WARNING: +DateTime+ is not aware of DST rules and so some of these methods have edge cases when a DST change is going on. For example +seconds_since_midnight+ might not return the real amount in such a day.
3282
+
3283
+ h4(#calculations-datetime). Calculations
3284
+
3285
+ NOTE: All the following methods are defined in +active_support/core_ext/date_time/calculations.rb+.
3286
+
3287
+ The class +DateTime+ is a subclass of +Date+ so by loading +active_support/core_ext/date/calculations.rb+ you inherit these methods and their aliases, except that they will always return datetimes:
3288
+
3289
+ <ruby>
3290
+ yesterday
3291
+ tomorrow
3292
+ beginning_of_week (at_beginning_of_week)
3293
+ end_of_week (at_end_of_week)
3294
+ monday
3295
+ sunday
3296
+ weeks_ago
3297
+ prev_week
3298
+ next_week
3299
+ months_ago
3300
+ months_since
3301
+ beginning_of_month (at_beginning_of_month)
3302
+ end_of_month (at_end_of_month)
3303
+ prev_month
3304
+ next_month
3305
+ beginning_of_quarter (at_beginning_of_quarter)
3306
+ end_of_quarter (at_end_of_quarter)
3307
+ beginning_of_year (at_beginning_of_year)
3308
+ end_of_year (at_end_of_year)
3309
+ years_ago
3310
+ years_since
3311
+ prev_year
3312
+ next_year
3313
+ </ruby>
3314
+
3315
+ The following methods are reimplemented so you do *not* need to load +active_support/core_ext/date/calculations.rb+ for these ones:
3316
+
3317
+ <ruby>
3318
+ beginning_of_day (midnight, at_midnight, at_beginning_of_day)
3319
+ end_of_day
3320
+ ago
3321
+ since (in)
3322
+ </ruby>
3323
+
3324
+ On the other hand, +advance+ and +change+ are also defined and support more options, they are documented below.
3325
+
3326
+ h5. Named Datetimes
3327
+
3328
+ h6. +DateTime.current+
3329
+
3330
+ Active Support defines +DateTime.current+ to be like +Time.now.to_datetime+, except that it honors the user time zone, if defined. It also defines +DateTime.yesterday+ and +DateTime.tomorrow+, and the instance predicates +past?+, and +future?+ relative to +DateTime.current+.
3331
+
3332
+ h5. Other Extensions
3333
+
3334
+ h6. +seconds_since_midnight+
3335
+
3336
+ The method +seconds_since_midnight+ returns the number of seconds since midnight:
3337
+
3338
+ <ruby>
3339
+ now = DateTime.current # => Mon, 07 Jun 2010 20:26:36 +0000
3340
+ now.seconds_since_midnight # => 73596
3341
+ </ruby>
3342
+
3343
+ h6(#utc-datetime). +utc+
3344
+
3345
+ The method +utc+ gives you the same datetime in the receiver expressed in UTC.
3346
+
3347
+ <ruby>
3348
+ now = DateTime.current # => Mon, 07 Jun 2010 19:27:52 -0400
3349
+ now.utc # => Mon, 07 Jun 2010 23:27:52 +0000
3350
+ </ruby>
3351
+
3352
+ This method is also aliased as +getutc+.
3353
+
3354
+ h6. +utc?+
3355
+
3356
+ The predicate +utc?+ says whether the receiver has UTC as its time zone:
3357
+
3358
+ <ruby>
3359
+ now = DateTime.now # => Mon, 07 Jun 2010 19:30:47 -0400
3360
+ now.utc? # => false
3361
+ now.utc.utc? # => true
3362
+ </ruby>
3363
+
3364
+ h6(#datetime-advance). +advance+
3365
+
3366
+ The most generic way to jump to another datetime is +advance+. This method receives a hash with keys +:years+, +:months+, +:weeks+, +:days+, +:hours+, +:minutes+, and +:seconds+, and returns a datetime advanced as much as the present keys indicate.
3367
+
3368
+ <ruby>
3369
+ d = DateTime.current
3370
+ # => Thu, 05 Aug 2010 11:33:31 +0000
3371
+ d.advance(:years => 1, :months => 1, :days => 1, :hours => 1, :minutes => 1, :seconds => 1)
3372
+ # => Tue, 06 Sep 2011 12:34:32 +0000
3373
+ </ruby>
3374
+
3375
+ This method first computes the destination date passing +:years+, +:months+, +:weeks+, and +:days+ to +Date#advance+ documented above. After that, it adjusts the time calling +since+ with the number of seconds to advance. This order is relevant, a different ordering would give different datetimes in some edge-cases. The example in +Date#advance+ applies, and we can extend it to show order relevance related to the time bits.
3376
+
3377
+ If we first move the date bits (that have also a relative order of processing, as documented before), and then the time bits we get for example the following computation:
3378
+
3379
+ <ruby>
3380
+ d = DateTime.new(2010, 2, 28, 23, 59, 59)
3381
+ # => Sun, 28 Feb 2010 23:59:59 +0000
3382
+ d.advance(:months => 1, :seconds => 1)
3383
+ # => Mon, 29 Mar 2010 00:00:00 +0000
3384
+ </ruby>
3385
+
3386
+ but if we computed them the other way around, the result would be different:
3387
+
3388
+ <ruby>
3389
+ d.advance(:seconds => 1).advance(:months => 1)
3390
+ # => Thu, 01 Apr 2010 00:00:00 +0000
3391
+ </ruby>
3392
+
3393
+ WARNING: Since +DateTime+ is not DST-aware you can end up in a non-existing point in time with no warning or error telling you so.
3394
+
3395
+ h5(#datetime-changing-components). Changing Components
3396
+
3397
+ The method +change+ allows you to get a new datetime which is the same as the receiver except for the given options, which may include +:year+, +:month+, +:day+, +:hour+, +:min+, +:sec+, +:offset+, +:start+:
3398
+
3399
+ <ruby>
3400
+ now = DateTime.current
3401
+ # => Tue, 08 Jun 2010 01:56:22 +0000
3402
+ now.change(:year => 2011, :offset => Rational(-6, 24))
3403
+ # => Wed, 08 Jun 2011 01:56:22 -0600
3404
+ </ruby>
3405
+
3406
+ If hours are zeroed, then minutes and seconds are too (unless they have given values):
3407
+
3408
+ <ruby>
3409
+ now.change(:hour => 0)
3410
+ # => Tue, 08 Jun 2010 00:00:00 +0000
3411
+ </ruby>
3412
+
3413
+ Similarly, if minutes are zeroed, then seconds are too (unless it has given a value):
3414
+
3415
+ <ruby>
3416
+ now.change(:min => 0)
3417
+ # => Tue, 08 Jun 2010 01:00:00 +0000
3418
+ </ruby>
3419
+
3420
+ This method is not tolerant to non-existing dates, if the change is invalid +ArgumentError+ is raised:
3421
+
3422
+ <ruby>
3423
+ DateTime.current.change(:month => 2, :day => 30)
3424
+ # => ArgumentError: invalid date
3425
+ </ruby>
3426
+
3427
+ h5(#datetime-durations). Durations
3428
+
3429
+ Durations can be added to and subtracted from datetimes:
3430
+
3431
+ <ruby>
3432
+ now = DateTime.current
3433
+ # => Mon, 09 Aug 2010 23:15:17 +0000
3434
+ now + 1.year
3435
+ # => Tue, 09 Aug 2011 23:15:17 +0000
3436
+ now - 1.week
3437
+ # => Mon, 02 Aug 2010 23:15:17 +0000
3438
+ </ruby>
3439
+
3440
+ They translate to calls to +since+ or +advance+. For example here we get the correct jump in the calendar reform:
3441
+
3442
+ <ruby>
3443
+ DateTime.new(1582, 10, 4, 23) + 1.hour
3444
+ # => Fri, 15 Oct 1582 00:00:00 +0000
3445
+ </ruby>
3446
+
3447
+ h3. Extensions to +Time+
3448
+
3449
+ h4(#time-calculations). Calculations
3450
+
3451
+ NOTE: All the following methods are defined in +active_support/core_ext/time/calculations.rb+.
3452
+
3453
+ Active Support adds to +Time+ many of the methods available for +DateTime+:
3454
+
3455
+ <ruby>
3456
+ past?
3457
+ today?
3458
+ future?
3459
+ yesterday
3460
+ tomorrow
3461
+ seconds_since_midnight
3462
+ change
3463
+ advance
3464
+ ago
3465
+ since (in)
3466
+ beginning_of_day (midnight, at_midnight, at_beginning_of_day)
3467
+ end_of_day
3468
+ beginning_of_week (at_beginning_of_week)
3469
+ end_of_week (at_end_of_week)
3470
+ monday
3471
+ sunday
3472
+ weeks_ago
3473
+ prev_week
3474
+ next_week
3475
+ months_ago
3476
+ months_since
3477
+ beginning_of_month (at_beginning_of_month)
3478
+ end_of_month (at_end_of_month)
3479
+ prev_month
3480
+ next_month
3481
+ beginning_of_quarter (at_beginning_of_quarter)
3482
+ end_of_quarter (at_end_of_quarter)
3483
+ beginning_of_year (at_beginning_of_year)
3484
+ end_of_year (at_end_of_year)
3485
+ years_ago
3486
+ years_since
3487
+ prev_year
3488
+ next_year
3489
+ </ruby>
3490
+
3491
+ They are analogous. Please refer to their documentation above and take into account the following differences:
3492
+
3493
+ * +change+ accepts an additional +:usec+ option.
3494
+ * +Time+ understands DST, so you get correct DST calculations as in
3495
+
3496
+ <ruby>
3497
+ Time.zone_default
3498
+ # => #<ActiveSupport::TimeZone:0x7f73654d4f38 @utc_offset=nil, @name="Madrid", ...>
3499
+
3500
+ # In Barcelona, 2010/03/28 02:00 <plus>0100 becomes 2010/03/28 03:00 <plus>0200 due to DST.
3501
+ t = Time.local_time(2010, 3, 28, 1, 59, 59)
3502
+ # => Sun Mar 28 01:59:59 +0100 2010
3503
+ t.advance(:seconds => 1)
3504
+ # => Sun Mar 28 03:00:00 +0200 2010
3505
+ </ruby>
3506
+
3507
+ * If +since+ or +ago+ jump to a time that can't be expressed with +Time+ a +DateTime+ object is returned instead.
3508
+
3509
+ h5. +Time.current+
3510
+
3511
+ Active Support defines +Time.current+ to be today in the current time zone. That's like +Time.now+, except that it honors the user time zone, if defined. It also defines +Time.yesterday+ and +Time.tomorrow+, and the instance predicates +past?+, +today?+, and +future?+, all of them relative to +Time.current+.
3512
+
3513
+ When making Time comparisons using methods which honor the user time zone, make sure to use +Time.current+ and not +Time.now+. There are cases where the user time zone might be in the future compared to the system time zone, which +Time.today+ uses by default. This means +Time.now+ may equal +Time.yesterday+.
3514
+
3515
+ h5. +all_day+, +all_week+, +all_month+, +all_quarter+ and +all_year+
3516
+
3517
+ The method +all_day+ returns a range representing the whole day of the current time.
3518
+
3519
+ <ruby>
3520
+ now = Time.current
3521
+ # => Mon, 09 Aug 2010 23:20:05 UTC +00:00
3522
+ now.all_day
3523
+ # => Mon, 09 Aug 2010 00:00:00 UTC <plus>00:00..Mon, 09 Aug 2010 23:59:59 UTC <plus>00:00
3524
+ </ruby>
3525
+
3526
+ Analogously, +all_week+, +all_month+, +all_quarter+ and +all_year+ all serve the purpose of generating time ranges.
3527
+
3528
+ <ruby>
3529
+ now = Time.current
3530
+ # => Mon, 09 Aug 2010 23:20:05 UTC +00:00
3531
+ now.all_week
3532
+ # => Mon, 09 Aug 2010 00:00:00 UTC <plus>00:00..Sun, 15 Aug 2010 23:59:59 UTC <plus>00:00
3533
+ now.all_month
3534
+ # => Sat, 01 Aug 2010 00:00:00 UTC <plus>00:00..Tue, 31 Aug 2010 23:59:59 UTC <plus>00:00
3535
+ now.all_quarter
3536
+ # => Thu, 01 Jul 2010 00:00:00 UTC <plus>00:00..Thu, 30 Sep 2010 23:59:59 UTC <plus>00:00
3537
+ now.all_year
3538
+ # => Fri, 01 Jan 2010 00:00:00 UTC <plus>00:00..Fri, 31 Dec 2010 23:59:59 UTC <plus>00:00
3539
+ </ruby>
3540
+
3541
+ h4. Time Constructors
3542
+
3543
+ Active Support defines +Time.current+ to be +Time.zone.now+ if there's a user time zone defined, with fallback to +Time.now+:
3544
+
3545
+ <ruby>
3546
+ Time.zone_default
3547
+ # => #<ActiveSupport::TimeZone:0x7f73654d4f38 @utc_offset=nil, @name="Madrid", ...>
3548
+ Time.current
3549
+ # => Fri, 06 Aug 2010 17:11:58 CEST +02:00
3550
+ </ruby>
3551
+
3552
+ Analogously to +DateTime+, the predicates +past?+, and +future?+ are relative to +Time.current+.
3553
+
3554
+ Use the +local_time+ class method to create time objects honoring the user time zone:
3555
+
3556
+ <ruby>
3557
+ Time.zone_default
3558
+ # => #<ActiveSupport::TimeZone:0x7f73654d4f38 @utc_offset=nil, @name="Madrid", ...>
3559
+ Time.local_time(2010, 8, 15)
3560
+ # => Sun Aug 15 00:00:00 +0200 2010
3561
+ </ruby>
3562
+
3563
+ The +utc_time+ class method returns a time in UTC:
3564
+
3565
+ <ruby>
3566
+ Time.zone_default
3567
+ # => #<ActiveSupport::TimeZone:0x7f73654d4f38 @utc_offset=nil, @name="Madrid", ...>
3568
+ Time.utc_time(2010, 8, 15)
3569
+ # => Sun Aug 15 00:00:00 UTC 2010
3570
+ </ruby>
3571
+
3572
+ Both +local_time+ and +utc_time+ accept up to seven positional arguments: year, month, day, hour, min, sec, usec. Year is mandatory, month and day default to 1, and the rest default to 0.
3573
+
3574
+ If the time to be constructed lies beyond the range supported by +Time+ in the runtime platform, usecs are discarded and a +DateTime+ object is returned instead.
3575
+
3576
+ h5(#time-durations). Durations
3577
+
3578
+ Durations can be added to and subtracted from time objects:
3579
+
3580
+ <ruby>
3581
+ now = Time.current
3582
+ # => Mon, 09 Aug 2010 23:20:05 UTC +00:00
3583
+ now + 1.year
3584
+ # => Tue, 09 Aug 2011 23:21:11 UTC +00:00
3585
+ now - 1.week
3586
+ # => Mon, 02 Aug 2010 23:21:11 UTC +00:00
3587
+ </ruby>
3588
+
3589
+ They translate to calls to +since+ or +advance+. For example here we get the correct jump in the calendar reform:
3590
+
3591
+ <ruby>
3592
+ Time.utc_time(1582, 10, 3) + 5.days
3593
+ # => Mon Oct 18 00:00:00 UTC 1582
3594
+ </ruby>
3595
+
3596
+ h3. Extensions to +Process+
3597
+
3598
+ h4. +daemon+
3599
+
3600
+ Ruby 1.9 provides +Process.daemon+, and Active Support defines it for previous versions. It accepts the same two arguments, whether it should chdir to the root directory (default, true), and whether it should inherit the standard file descriptors from the parent (default, false).
3601
+
3602
+ h3. Extensions to +File+
3603
+
3604
+ h4. +atomic_write+
3605
+
3606
+ With the class method +File.atomic_write+ you can write to a file in a way that will prevent any reader from seeing half-written content.
3607
+
3608
+ The name of the file is passed as an argument, and the method yields a file handle opened for writing. Once the block is done +atomic_write+ closes the file handle and completes its job.
3609
+
3610
+ For example, Action Pack uses this method to write asset cache files like +all.css+:
3611
+
3612
+ <ruby>
3613
+ File.atomic_write(joined_asset_path) do |cache|
3614
+ cache.write(join_asset_file_contents(asset_paths))
3615
+ end
3616
+ </ruby>
3617
+
3618
+ To accomplish this +atomic_write+ creates a temporary file. That's the file the code in the block actually writes to. On completion, the temporary file is renamed, which is an atomic operation on POSIX systems. If the target file exists +atomic_write+ overwrites it and keeps owners and permissions.
3619
+
3620
+ WARNING. Note you can't append with +atomic_write+.
3621
+
3622
+ The auxiliary file is written in a standard directory for temporary files, but you can pass a directory of your choice as second argument.
3623
+
3624
+ NOTE: Defined in +active_support/core_ext/file/atomic.rb+.
3625
+
3626
+ h3. Extensions to +Logger+
3627
+
3628
+ h4. +around_[level]+
3629
+
3630
+ Takes two arguments, a +before_message+ and +after_message+ and calls the current level method on the +Logger+ instance, passing in the +before_message+, then the specified message, then the +after_message+:
3631
+
3632
+ <ruby>
3633
+ logger = Logger.new("log/development.log")
3634
+ logger.around_info("before", "after") { |logger| logger.info("during") }
3635
+ </ruby>
3636
+
3637
+ h4. +silence+
3638
+
3639
+ Silences every log level lesser to the specified one for the duration of the given block. Log level orders are: debug, info, error and fatal.
3640
+
3641
+ <ruby>
3642
+ logger = Logger.new("log/development.log")
3643
+ logger.silence(Logger::INFO) do
3644
+ logger.debug("In space, no one can hear you scream.")
3645
+ logger.info("Scream all you want, small mailman!")
3646
+ end
3647
+ </ruby>
3648
+
3649
+ h4. +datetime_format=+
3650
+
3651
+ Modifies the datetime format output by the formatter class associated with this logger. If the formatter class does not have a +datetime_format+ method then this is ignored.
3652
+
3653
+ <ruby>
3654
+ class Logger::FormatWithTime < Logger::Formatter
3655
+ cattr_accessor(:datetime_format) { "%Y%m%d%H%m%S" }
3656
+
3657
+ def self.call(severity, timestamp, progname, msg)
3658
+ "#{timestamp.strftime(datetime_format)} -- #{String === msg ? msg : msg.inspect}\n"
3659
+ end
3660
+ end
3661
+
3662
+ logger = Logger.new("log/development.log")
3663
+ logger.formatter = Logger::FormatWithTime
3664
+ logger.info("<- is the current time")
3665
+ </ruby>
3666
+
3667
+ NOTE: Defined in +active_support/core_ext/logger.rb+.
3668
+
3669
+ h3. Extensions to +NameError+
3670
+
3671
+ Active Support adds +missing_name?+ to +NameError+, which tests whether the exception was raised because of the name passed as argument.
3672
+
3673
+ The name may be given as a symbol or string. A symbol is tested against the bare constant name, a string is against the fully-qualified constant name.
3674
+
3675
+ TIP: A symbol can represent a fully-qualified constant name as in +:"ActiveRecord::Base"+, so the behavior for symbols is defined for convenience, not because it has to be that way technically.
3676
+
3677
+ For example, when an action of +PostsController+ is called Rails tries optimistically to use +PostsHelper+. It is OK that the helper module does not exist, so if an exception for that constant name is raised it should be silenced. But it could be the case that +posts_helper.rb+ raises a +NameError+ due to an actual unknown constant. That should be reraised. The method +missing_name?+ provides a way to distinguish both cases:
3678
+
3679
+ <ruby>
3680
+ def default_helper_module!
3681
+ module_name = name.sub(/Controller$/, '')
3682
+ module_path = module_name.underscore
3683
+ helper module_path
3684
+ rescue MissingSourceFile => e
3685
+ raise e unless e.is_missing? "#{module_path}_helper"
3686
+ rescue NameError => e
3687
+ raise e unless e.missing_name? "#{module_name}Helper"
3688
+ end
3689
+ </ruby>
3690
+
3691
+ NOTE: Defined in +active_support/core_ext/name_error.rb+.
3692
+
3693
+ h3. Extensions to +LoadError+
3694
+
3695
+ Active Support adds +is_missing?+ to +LoadError+, and also assigns that class to the constant +MissingSourceFile+ for backwards compatibility.
3696
+
3697
+ Given a path name +is_missing?+ tests whether the exception was raised due to that particular file (except perhaps for the ".rb" extension).
3698
+
3699
+ For example, when an action of +PostsController+ is called Rails tries to load +posts_helper.rb+, but that file may not exist. That's fine, the helper module is not mandatory so Rails silences a load error. But it could be the case that the helper module does exist and in turn requires another library that is missing. In that case Rails must reraise the exception. The method +is_missing?+ provides a way to distinguish both cases:
3700
+
3701
+ <ruby>
3702
+ def default_helper_module!
3703
+ module_name = name.sub(/Controller$/, '')
3704
+ module_path = module_name.underscore
3705
+ helper module_path
3706
+ rescue MissingSourceFile => e
3707
+ raise e unless e.is_missing? "helpers/#{module_path}_helper"
3708
+ rescue NameError => e
3709
+ raise e unless e.missing_name? "#{module_name}Helper"
3710
+ end
3711
+ </ruby>
3712
+
3713
+ NOTE: Defined in +active_support/core_ext/load_error.rb+.