nanumfont-rails 0.0.2 → 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1924) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +0 -0
  3. data/README.rdoc +2 -25
  4. data/Rakefile +0 -0
  5. data/lib/nanumfont-rails.rb +0 -0
  6. data/lib/nanumfont/rails.rb +7 -7
  7. data/lib/nanumfont/rails/engine.rb +6 -6
  8. data/lib/nanumfont/rails/version.rb +1 -1
  9. data/test/dummy/README.rdoc +0 -0
  10. data/test/dummy/Rakefile +0 -0
  11. data/test/dummy/app/assets/javascripts/application.js +0 -0
  12. data/test/dummy/app/assets/stylesheets/application.css +0 -0
  13. data/test/dummy/app/controllers/application_controller.rb +0 -0
  14. data/test/dummy/app/helpers/application_helper.rb +0 -0
  15. data/test/dummy/app/views/layouts/application.html.erb +0 -0
  16. data/test/dummy/bin/bundle +0 -0
  17. data/test/dummy/bin/rails +0 -0
  18. data/test/dummy/bin/rake +0 -0
  19. data/test/dummy/config.ru +0 -0
  20. data/test/dummy/config/application.rb +0 -0
  21. data/test/dummy/config/boot.rb +0 -0
  22. data/test/dummy/config/database.yml +0 -0
  23. data/test/dummy/config/environment.rb +0 -0
  24. data/test/dummy/config/environments/development.rb +0 -0
  25. data/test/dummy/config/environments/production.rb +0 -0
  26. data/test/dummy/config/environments/test.rb +0 -0
  27. data/test/dummy/config/initializers/assets.rb +0 -0
  28. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -0
  29. data/test/dummy/config/initializers/cookies_serializer.rb +0 -0
  30. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -0
  31. data/test/dummy/config/initializers/inflections.rb +0 -0
  32. data/test/dummy/config/initializers/mime_types.rb +0 -0
  33. data/test/dummy/config/initializers/session_store.rb +0 -0
  34. data/test/dummy/config/initializers/wrap_parameters.rb +0 -0
  35. data/test/dummy/config/locales/en.yml +0 -0
  36. data/test/dummy/config/routes.rb +0 -0
  37. data/test/dummy/config/secrets.yml +0 -0
  38. data/test/dummy/public/404.html +0 -0
  39. data/test/dummy/public/422.html +0 -0
  40. data/test/dummy/public/500.html +0 -0
  41. data/test/dummy/public/favicon.ico +0 -0
  42. data/test/nanumfont_test.rb +0 -0
  43. data/test/test_helper.rb +0 -0
  44. data/vendor/assets/stylesheets/NanumBrushScript-Regular.eot +0 -0
  45. data/vendor/assets/stylesheets/NanumBrushScript-Regular.ttf +0 -0
  46. data/vendor/assets/stylesheets/NanumBrushScript-Regular.woff +0 -0
  47. data/vendor/assets/stylesheets/NanumBrushScript-Regular.woff2 +0 -0
  48. data/vendor/assets/stylesheets/NanumGothic-Bold.eot +0 -0
  49. data/vendor/assets/stylesheets/NanumGothic-Bold.ttf +0 -0
  50. data/vendor/assets/stylesheets/NanumGothic-Bold.woff +0 -0
  51. data/vendor/assets/stylesheets/NanumGothic-Bold.woff2 +0 -0
  52. data/vendor/assets/stylesheets/NanumGothic-ExtraBold.eot +0 -0
  53. data/vendor/assets/stylesheets/NanumGothic-ExtraBold.ttf +0 -0
  54. data/vendor/assets/stylesheets/NanumGothic-ExtraBold.woff +0 -0
  55. data/vendor/assets/stylesheets/NanumGothic-ExtraBold.woff2 +0 -0
  56. data/vendor/assets/stylesheets/NanumGothic-Regular.eot +0 -0
  57. data/vendor/assets/stylesheets/NanumGothic-Regular.ttf +0 -0
  58. data/vendor/assets/stylesheets/NanumGothic-Regular.woff +0 -0
  59. data/vendor/assets/stylesheets/NanumGothic-Regular.woff2 +0 -0
  60. data/vendor/assets/stylesheets/NanumGothicCoding-Bold.eot +0 -0
  61. data/vendor/assets/stylesheets/NanumGothicCoding-Bold.ttf +0 -0
  62. data/vendor/assets/stylesheets/NanumGothicCoding-Bold.woff +0 -0
  63. data/vendor/assets/stylesheets/NanumGothicCoding-Bold.woff2 +0 -0
  64. data/vendor/assets/stylesheets/NanumGothicCoding-Regular.eot +0 -0
  65. data/vendor/assets/stylesheets/NanumGothicCoding-Regular.ttf +0 -0
  66. data/vendor/assets/stylesheets/NanumGothicCoding-Regular.woff +0 -0
  67. data/vendor/assets/stylesheets/NanumGothicCoding-Regular.woff2 +0 -0
  68. data/vendor/assets/stylesheets/NanumMyeongjo-Bold.eot +0 -0
  69. data/vendor/assets/stylesheets/NanumMyeongjo-Bold.ttf +0 -0
  70. data/vendor/assets/stylesheets/NanumMyeongjo-Bold.woff +0 -0
  71. data/vendor/assets/stylesheets/NanumMyeongjo-Bold.woff2 +0 -0
  72. data/vendor/assets/stylesheets/NanumMyeongjo-ExtraBold.eot +0 -0
  73. data/vendor/assets/stylesheets/NanumMyeongjo-ExtraBold.ttf +0 -0
  74. data/vendor/assets/stylesheets/NanumMyeongjo-ExtraBold.woff +0 -0
  75. data/vendor/assets/stylesheets/NanumMyeongjo-ExtraBold.woff2 +0 -0
  76. data/vendor/assets/stylesheets/NanumMyeongjo-Regular.eot +0 -0
  77. data/vendor/assets/stylesheets/NanumMyeongjo-Regular.ttf +0 -0
  78. data/vendor/assets/stylesheets/NanumMyeongjo-Regular.woff +0 -0
  79. data/vendor/assets/stylesheets/NanumMyeongjo-Regular.woff2 +0 -0
  80. data/vendor/assets/stylesheets/NanumPenScript-Regular.eot +0 -0
  81. data/vendor/assets/stylesheets/NanumPenScript-Regular.ttf +0 -0
  82. data/vendor/assets/stylesheets/NanumPenScript-Regular.woff +0 -0
  83. data/vendor/assets/stylesheets/NanumPenScript-Regular.woff2 +0 -0
  84. data/vendor/assets/stylesheets/nanumfont.css +108 -108
  85. data/vendor/bundle/ruby/2.1.0/bin/erubis +23 -0
  86. data/vendor/bundle/ruby/2.1.0/bin/erubis.bat +6 -0
  87. data/vendor/bundle/ruby/2.1.0/bin/rackup +23 -0
  88. data/vendor/bundle/ruby/2.1.0/bin/rackup.bat +6 -0
  89. data/vendor/bundle/ruby/2.1.0/bin/rails +23 -0
  90. data/vendor/bundle/ruby/2.1.0/bin/rails.bat +6 -0
  91. data/vendor/bundle/ruby/2.1.0/bin/rake +23 -0
  92. data/vendor/bundle/ruby/2.1.0/bin/rake.bat +6 -0
  93. data/vendor/bundle/ruby/2.1.0/bin/thor +23 -0
  94. data/vendor/bundle/ruby/2.1.0/bin/thor.bat +6 -0
  95. data/vendor/bundle/ruby/2.1.0/build_info/actionpack-4.1.6.info +1 -0
  96. data/vendor/bundle/ruby/2.1.0/build_info/actionview-4.1.6.info +1 -0
  97. data/vendor/bundle/ruby/2.1.0/build_info/activesupport-4.1.6.info +1 -0
  98. data/vendor/bundle/ruby/2.1.0/build_info/builder-3.2.2.info +1 -0
  99. data/vendor/bundle/ruby/2.1.0/build_info/erubis-2.7.0.info +1 -0
  100. data/vendor/bundle/ruby/2.1.0/build_info/i18n-0.6.11.info +1 -0
  101. data/vendor/bundle/ruby/2.1.0/build_info/minitest-5.4.1.info +1 -0
  102. data/vendor/bundle/ruby/2.1.0/build_info/rack-1.5.2.info +1 -0
  103. data/vendor/bundle/ruby/2.1.0/build_info/rack-test-0.6.2.info +1 -0
  104. data/vendor/bundle/ruby/2.1.0/build_info/railties-4.1.6.info +1 -0
  105. data/vendor/bundle/ruby/2.1.0/build_info/rake-10.3.2.info +1 -0
  106. data/vendor/bundle/ruby/2.1.0/build_info/thor-0.19.1.info +1 -0
  107. data/vendor/bundle/ruby/2.1.0/build_info/thread_safe-0.3.4.info +1 -0
  108. data/vendor/bundle/ruby/2.1.0/build_info/tzinfo-1.2.2.info +1 -0
  109. data/vendor/bundle/ruby/2.1.0/cache/actionpack-4.1.6.gem +0 -0
  110. data/vendor/bundle/ruby/2.1.0/cache/actionview-4.1.6.gem +0 -0
  111. data/vendor/bundle/ruby/2.1.0/cache/activesupport-4.1.6.gem +0 -0
  112. data/vendor/bundle/ruby/2.1.0/cache/builder-3.2.2.gem +0 -0
  113. data/vendor/bundle/ruby/2.1.0/cache/erubis-2.7.0.gem +0 -0
  114. data/vendor/bundle/ruby/2.1.0/cache/i18n-0.6.11.gem +0 -0
  115. data/vendor/bundle/ruby/2.1.0/cache/minitest-5.4.1.gem +0 -0
  116. data/vendor/bundle/ruby/2.1.0/cache/rack-1.5.2.gem +0 -0
  117. data/vendor/bundle/ruby/2.1.0/cache/rack-test-0.6.2.gem +0 -0
  118. data/vendor/bundle/ruby/2.1.0/cache/railties-4.1.6.gem +0 -0
  119. data/vendor/bundle/ruby/2.1.0/cache/rake-10.3.2.gem +0 -0
  120. data/vendor/bundle/ruby/2.1.0/cache/thor-0.19.1.gem +0 -0
  121. data/vendor/bundle/ruby/2.1.0/cache/thread_safe-0.3.4.gem +0 -0
  122. data/vendor/bundle/ruby/2.1.0/cache/tzinfo-1.2.2.gem +0 -0
  123. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/CHANGELOG.md +722 -0
  124. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/MIT-LICENSE +21 -0
  125. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/README.rdoc +53 -0
  126. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller.rb +20 -0
  127. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/asset_paths.rb +10 -0
  128. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/base.rb +259 -0
  129. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/callbacks.rb +219 -0
  130. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/collector.rb +46 -0
  131. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/helpers.rb +187 -0
  132. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/logger.rb +12 -0
  133. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/railties/routes_helpers.rb +18 -0
  134. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/rendering.rb +120 -0
  135. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/translation.rb +28 -0
  136. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/abstract_controller/url_for.rb +33 -0
  137. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller.rb +58 -0
  138. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/base.rb +267 -0
  139. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/caching.rb +89 -0
  140. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/caching/fragments.rb +97 -0
  141. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/log_subscriber.rb +83 -0
  142. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal.rb +240 -0
  143. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/conditional_get.rb +175 -0
  144. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/cookies.rb +16 -0
  145. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/data_streaming.rb +171 -0
  146. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/exceptions.rb +59 -0
  147. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/flash.rb +60 -0
  148. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/force_ssl.rb +97 -0
  149. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/head.rb +54 -0
  150. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/helpers.rb +113 -0
  151. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/hide_actions.rb +40 -0
  152. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/http_authentication.rb +502 -0
  153. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/implicit_render.rb +19 -0
  154. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/instrumentation.rb +106 -0
  155. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/live.rb +277 -0
  156. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/mime_responds.rb +547 -0
  157. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/params_wrapper.rb +285 -0
  158. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/rack_delegation.rb +32 -0
  159. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/redirecting.rb +106 -0
  160. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/renderers.rb +120 -0
  161. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/rendering.rb +104 -0
  162. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/request_forgery_protection.rb +263 -0
  163. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/rescue.rb +35 -0
  164. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/responder.rb +297 -0
  165. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/streaming.rb +221 -0
  166. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/strong_parameters.rb +554 -0
  167. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/testing.rb +31 -0
  168. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/metal/url_for.rb +50 -0
  169. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/middleware.rb +39 -0
  170. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/model_naming.rb +12 -0
  171. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/railtie.rb +67 -0
  172. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/railties/helpers.rb +22 -0
  173. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_controller/test_case.rb +717 -0
  174. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch.rb +105 -0
  175. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/cache.rb +175 -0
  176. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/filter_parameters.rb +78 -0
  177. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/filter_redirect.rb +38 -0
  178. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/headers.rb +65 -0
  179. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/mime_negotiation.rb +149 -0
  180. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/mime_type.rb +315 -0
  181. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/mime_types.rb +36 -0
  182. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/parameter_filter.rb +72 -0
  183. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/parameters.rb +82 -0
  184. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/rack_cache.rb +61 -0
  185. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/request.rb +322 -0
  186. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/response.rb +354 -0
  187. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/upload.rb +77 -0
  188. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/url.rb +249 -0
  189. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey.rb +5 -0
  190. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/backwards.rb +5 -0
  191. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/formatter.rb +150 -0
  192. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/gtg/builder.rb +162 -0
  193. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/gtg/simulator.rb +44 -0
  194. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/gtg/transition_table.rb +165 -0
  195. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nfa/builder.rb +76 -0
  196. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nfa/dot.rb +36 -0
  197. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nfa/simulator.rb +47 -0
  198. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nfa/transition_table.rb +163 -0
  199. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/nodes/node.rb +124 -0
  200. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/parser.rb +206 -0
  201. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/parser.y +48 -0
  202. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/parser_extras.rb +23 -0
  203. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/path/pattern.rb +196 -0
  204. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/route.rb +140 -0
  205. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/router.rb +168 -0
  206. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/router/strexp.rb +24 -0
  207. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/router/utils.rb +93 -0
  208. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/routes.rb +76 -0
  209. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/scanner.rb +61 -0
  210. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/visitors.rb +232 -0
  211. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/visualizer/fsm.css +34 -0
  212. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/visualizer/fsm.js +134 -0
  213. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/journey/visualizer/index.html.erb +52 -0
  214. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/callbacks.rb +37 -0
  215. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/cookies.rb +574 -0
  216. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/debug_exceptions.rb +99 -0
  217. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/exception_wrapper.rb +116 -0
  218. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/flash.rb +270 -0
  219. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/params_parser.rb +60 -0
  220. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/public_exceptions.rb +46 -0
  221. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/reloader.rb +98 -0
  222. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/remote_ip.rb +187 -0
  223. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/request_id.rb +35 -0
  224. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/session/abstract_store.rb +90 -0
  225. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/session/cache_store.rb +49 -0
  226. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/session/cookie_store.rb +123 -0
  227. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/session/mem_cache_store.rb +22 -0
  228. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/show_exceptions.rb +57 -0
  229. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/ssl.rb +72 -0
  230. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/stack.rb +129 -0
  231. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/static.rb +67 -0
  232. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb +34 -0
  233. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb +23 -0
  234. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_source.erb +25 -0
  235. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb +24 -0
  236. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb +15 -0
  237. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +16 -0
  238. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/layout.erb +154 -0
  239. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb +7 -0
  240. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb +3 -0
  241. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb +30 -0
  242. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb +11 -0
  243. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb +43 -0
  244. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb +8 -0
  245. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb +6 -0
  246. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb +3 -0
  247. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_route.html.erb +16 -0
  248. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/middleware/templates/routes/_table.html.erb +144 -0
  249. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/railtie.rb +45 -0
  250. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/request/session.rb +193 -0
  251. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/request/utils.rb +35 -0
  252. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing.rb +261 -0
  253. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/inspector.rb +241 -0
  254. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/mapper.rb +1850 -0
  255. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/polymorphic_routes.rb +218 -0
  256. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/redirection.rb +193 -0
  257. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/route_set.rb +733 -0
  258. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/routes_proxy.rb +41 -0
  259. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/routing/url_for.rb +184 -0
  260. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions.rb +18 -0
  261. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/dom.rb +27 -0
  262. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/response.rb +87 -0
  263. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/routing.rb +218 -0
  264. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/selector.rb +430 -0
  265. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/assertions/tag.rb +135 -0
  266. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/integration.rb +506 -0
  267. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/test_process.rb +44 -0
  268. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/test_request.rb +78 -0
  269. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/testing/test_response.rb +29 -0
  270. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_pack.rb +24 -0
  271. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_pack/gem_version.rb +15 -0
  272. data/vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.6/lib/action_pack/version.rb +8 -0
  273. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/CHANGELOG.md +426 -0
  274. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/MIT-LICENSE +21 -0
  275. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/README.rdoc +34 -0
  276. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view.rb +97 -0
  277. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/base.rb +209 -0
  278. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/buffers.rb +49 -0
  279. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/context.rb +36 -0
  280. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/dependency_tracker.rb +141 -0
  281. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/digestor.rb +122 -0
  282. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/flows.rb +76 -0
  283. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/gem_version.rb +15 -0
  284. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers.rb +64 -0
  285. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/active_model_helper.rb +49 -0
  286. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/asset_tag_helper.rb +322 -0
  287. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/asset_url_helper.rb +355 -0
  288. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/atom_feed_helper.rb +203 -0
  289. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/cache_helper.rb +200 -0
  290. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/capture_helper.rb +216 -0
  291. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/controller_helper.rb +25 -0
  292. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/csrf_helper.rb +33 -0
  293. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/date_helper.rb +1094 -0
  294. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/debug_helper.rb +39 -0
  295. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/form_helper.rb +1876 -0
  296. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/form_options_helper.rb +841 -0
  297. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/form_tag_helper.rb +752 -0
  298. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/javascript_helper.rb +75 -0
  299. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/number_helper.rb +434 -0
  300. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/output_safety_helper.rb +38 -0
  301. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/record_tag_helper.rb +108 -0
  302. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/rendering_helper.rb +98 -0
  303. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/sanitize_helper.rb +256 -0
  304. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tag_helper.rb +176 -0
  305. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags.rb +41 -0
  306. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/base.rb +148 -0
  307. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/check_box.rb +64 -0
  308. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/checkable.rb +16 -0
  309. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/collection_check_boxes.rb +53 -0
  310. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/collection_helpers.rb +85 -0
  311. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/collection_radio_buttons.rb +36 -0
  312. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/collection_select.rb +28 -0
  313. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/color_field.rb +25 -0
  314. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/date_field.rb +13 -0
  315. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/date_select.rb +72 -0
  316. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/datetime_field.rb +22 -0
  317. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/datetime_local_field.rb +19 -0
  318. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/datetime_select.rb +8 -0
  319. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/email_field.rb +8 -0
  320. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/file_field.rb +8 -0
  321. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/grouped_collection_select.rb +29 -0
  322. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/hidden_field.rb +8 -0
  323. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/label.rb +65 -0
  324. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/month_field.rb +13 -0
  325. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/number_field.rb +18 -0
  326. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/password_field.rb +12 -0
  327. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/radio_button.rb +31 -0
  328. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/range_field.rb +8 -0
  329. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/search_field.rb +24 -0
  330. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/select.rb +41 -0
  331. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/tel_field.rb +8 -0
  332. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/text_area.rb +18 -0
  333. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/text_field.rb +29 -0
  334. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/time_field.rb +13 -0
  335. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/time_select.rb +8 -0
  336. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/time_zone_select.rb +20 -0
  337. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/url_field.rb +8 -0
  338. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/tags/week_field.rb +13 -0
  339. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/text_helper.rb +450 -0
  340. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/translation_helper.rb +111 -0
  341. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/helpers/url_helper.rb +630 -0
  342. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/layouts.rb +426 -0
  343. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/locale/en.yml +56 -0
  344. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/log_subscriber.rb +44 -0
  345. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/lookup_context.rb +257 -0
  346. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/model_naming.rb +12 -0
  347. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/path_set.rb +77 -0
  348. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/railtie.rb +49 -0
  349. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/record_identifier.rb +84 -0
  350. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/abstract_renderer.rb +47 -0
  351. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/partial_renderer.rb +492 -0
  352. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/renderer.rb +50 -0
  353. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/streaming_template_renderer.rb +103 -0
  354. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/renderer/template_renderer.rb +102 -0
  355. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/rendering.rb +145 -0
  356. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/routing_url_for.rb +109 -0
  357. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/tasks/dependencies.rake +21 -0
  358. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template.rb +342 -0
  359. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/error.rb +141 -0
  360. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers.rb +53 -0
  361. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers/builder.rb +26 -0
  362. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers/erb.rb +145 -0
  363. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/handlers/raw.rb +11 -0
  364. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/html.rb +34 -0
  365. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/resolver.rb +346 -0
  366. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/text.rb +34 -0
  367. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/template/types.rb +57 -0
  368. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/test_case.rb +272 -0
  369. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/testing/resolvers.rb +54 -0
  370. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner.rb +20 -0
  371. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/document.rb +68 -0
  372. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/node.rb +532 -0
  373. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/sanitizer.rb +188 -0
  374. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/selector.rb +830 -0
  375. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/tokenizer.rb +107 -0
  376. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/vendor/html-scanner/html/version.rb +11 -0
  377. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/version.rb +8 -0
  378. data/vendor/bundle/ruby/2.1.0/gems/actionview-4.1.6/lib/action_view/view_paths.rb +96 -0
  379. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/CHANGELOG.md +766 -0
  380. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/MIT-LICENSE +20 -0
  381. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/README.rdoc +35 -0
  382. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support.rb +75 -0
  383. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/all.rb +3 -0
  384. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/backtrace_cleaner.rb +103 -0
  385. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/benchmarkable.rb +49 -0
  386. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/builder.rb +6 -0
  387. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb +719 -0
  388. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/file_store.rb +185 -0
  389. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/mem_cache_store.rb +198 -0
  390. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/memory_store.rb +172 -0
  391. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/null_store.rb +44 -0
  392. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/strategy/local_cache.rb +160 -0
  393. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb +39 -0
  394. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/callbacks.rb +745 -0
  395. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/concern.rb +134 -0
  396. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/concurrency/latch.rb +27 -0
  397. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/configurable.rb +147 -0
  398. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext.rb +3 -0
  399. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array.rb +6 -0
  400. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/access.rb +56 -0
  401. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/conversions.rb +209 -0
  402. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/extract_options.rb +29 -0
  403. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/grouping.rb +111 -0
  404. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  405. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/array/wrap.rb +45 -0
  406. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/benchmark.rb +14 -0
  407. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/big_decimal.rb +1 -0
  408. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/big_decimal/conversions.rb +16 -0
  409. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/big_decimal/yaml_conversions.rb +14 -0
  410. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class.rb +3 -0
  411. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class/attribute.rb +127 -0
  412. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
  413. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class/delegating_attributes.rb +41 -0
  414. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/class/subclasses.rb +42 -0
  415. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date.rb +5 -0
  416. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date/acts_like.rb +8 -0
  417. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date/calculations.rb +143 -0
  418. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date/conversions.rb +88 -0
  419. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date/zones.rb +6 -0
  420. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_and_time/calculations.rb +251 -0
  421. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
  422. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time.rb +4 -0
  423. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
  424. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time/calculations.rb +163 -0
  425. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time/conversions.rb +103 -0
  426. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/date_time/zones.rb +6 -0
  427. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/enumerable.rb +80 -0
  428. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/file.rb +1 -0
  429. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/file/atomic.rb +63 -0
  430. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash.rb +8 -0
  431. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/compact.rb +20 -0
  432. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/conversions.rb +244 -0
  433. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/deep_merge.rb +38 -0
  434. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/except.rb +15 -0
  435. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/indifferent_access.rb +23 -0
  436. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/keys.rb +162 -0
  437. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
  438. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/hash/slice.rb +42 -0
  439. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/integer.rb +3 -0
  440. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/integer/inflections.rb +29 -0
  441. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/integer/multiple.rb +10 -0
  442. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/integer/time.rb +44 -0
  443. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel.rb +4 -0
  444. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  445. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel/debugger.rb +10 -0
  446. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel/reporting.rb +110 -0
  447. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
  448. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/load_error.rb +25 -0
  449. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/marshal.rb +21 -0
  450. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module.rb +11 -0
  451. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/aliasing.rb +69 -0
  452. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/anonymous.rb +19 -0
  453. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/attr_internal.rb +39 -0
  454. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
  455. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/concerning.rb +135 -0
  456. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/delegation.rb +209 -0
  457. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/deprecation.rb +23 -0
  458. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/introspection.rb +62 -0
  459. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/method_transplanting.rb +11 -0
  460. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/qualified_const.rb +52 -0
  461. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/reachable.rb +8 -0
  462. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/module/remove_method.rb +12 -0
  463. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/name_error.rb +18 -0
  464. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric.rb +3 -0
  465. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  466. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/conversions.rb +135 -0
  467. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/numeric/time.rb +87 -0
  468. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object.rb +14 -0
  469. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/acts_like.rb +10 -0
  470. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/blank.rb +131 -0
  471. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/conversions.rb +4 -0
  472. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/deep_dup.rb +46 -0
  473. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/duplicable.rb +90 -0
  474. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/inclusion.rb +27 -0
  475. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/instance_variables.rb +28 -0
  476. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/json.rb +197 -0
  477. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/to_json.rb +5 -0
  478. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/to_param.rb +1 -0
  479. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/to_query.rb +83 -0
  480. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/try.rb +78 -0
  481. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/object/with_options.rb +42 -0
  482. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range.rb +4 -0
  483. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range/conversions.rb +19 -0
  484. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range/each.rb +23 -0
  485. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range/include_range.rb +23 -0
  486. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/range/overlaps.rb +8 -0
  487. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/regexp.rb +5 -0
  488. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string.rb +13 -0
  489. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/access.rb +104 -0
  490. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/behavior.rb +6 -0
  491. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/conversions.rb +56 -0
  492. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/exclude.rb +11 -0
  493. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/filters.rb +65 -0
  494. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/indent.rb +43 -0
  495. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/inflections.rb +214 -0
  496. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/inquiry.rb +13 -0
  497. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/multibyte.rb +49 -0
  498. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/output_safety.rb +239 -0
  499. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  500. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/strip.rb +26 -0
  501. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/string/zones.rb +14 -0
  502. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/struct.rb +6 -0
  503. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/thread.rb +79 -0
  504. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time.rb +5 -0
  505. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/acts_like.rb +8 -0
  506. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/calculations.rb +257 -0
  507. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/conversions.rb +65 -0
  508. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/marshal.rb +30 -0
  509. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/time/zones.rb +78 -0
  510. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/core_ext/uri.rb +26 -0
  511. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb +748 -0
  512. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies/autoload.rb +77 -0
  513. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation.rb +43 -0
  514. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/behaviors.rb +76 -0
  515. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/instance_delegator.rb +24 -0
  516. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/method_wrappers.rb +44 -0
  517. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/proxy_wrappers.rb +126 -0
  518. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/deprecation/reporting.rb +94 -0
  519. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/descendants_tracker.rb +60 -0
  520. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/duration.rb +118 -0
  521. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/file_update_checker.rb +137 -0
  522. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/file_watcher.rb +36 -0
  523. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/gem_version.rb +15 -0
  524. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/gzip.rb +36 -0
  525. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/hash_with_indifferent_access.rb +272 -0
  526. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/i18n.rb +13 -0
  527. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/i18n_railtie.rb +96 -0
  528. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflections.rb +70 -0
  529. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflector.rb +7 -0
  530. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflector/inflections.rb +211 -0
  531. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflector/methods.rb +359 -0
  532. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/inflector/transliterate.rb +97 -0
  533. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/json.rb +2 -0
  534. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/json/decoding.rb +73 -0
  535. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/json/encoding.rb +172 -0
  536. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/key_generator.rb +73 -0
  537. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/lazy_load_hooks.rb +48 -0
  538. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/locale/en.yml +133 -0
  539. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/log_subscriber.rb +109 -0
  540. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/log_subscriber/test_helper.rb +104 -0
  541. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/logger.rb +57 -0
  542. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/logger_silence.rb +24 -0
  543. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/message_encryptor.rb +106 -0
  544. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/message_verifier.rb +73 -0
  545. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/multibyte.rb +21 -0
  546. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/multibyte/chars.rb +222 -0
  547. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/multibyte/unicode.rb +390 -0
  548. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/notifications.rb +207 -0
  549. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/notifications/fanout.rb +152 -0
  550. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/notifications/instrumenter.rb +73 -0
  551. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper.rb +346 -0
  552. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_converter.rb +182 -0
  553. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
  554. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_delimited_converter.rb +23 -0
  555. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_human_converter.rb +66 -0
  556. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_human_size_converter.rb +58 -0
  557. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
  558. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_phone_converter.rb +49 -0
  559. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/number_helper/number_to_rounded_converter.rb +87 -0
  560. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/option_merger.rb +25 -0
  561. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/ordered_hash.rb +48 -0
  562. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/ordered_options.rb +67 -0
  563. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/per_thread_registry.rb +53 -0
  564. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/proxy_object.rb +13 -0
  565. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/rails.rb +27 -0
  566. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/railtie.rb +46 -0
  567. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/rescuable.rb +119 -0
  568. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/string_inquirer.rb +26 -0
  569. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/subscriber.rb +125 -0
  570. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/tagged_logging.rb +76 -0
  571. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/test_case.rb +66 -0
  572. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/assertions.rb +97 -0
  573. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/autorun.rb +5 -0
  574. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/constant_lookup.rb +54 -0
  575. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/declarative.rb +50 -0
  576. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/deprecation.rb +35 -0
  577. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/isolation.rb +91 -0
  578. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/setup_and_teardown.rb +50 -0
  579. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/tagged_logging.rb +25 -0
  580. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/testing/time_helpers.rb +127 -0
  581. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/time.rb +20 -0
  582. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/time_with_zone.rb +402 -0
  583. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/values/time_zone.rb +421 -0
  584. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/values/unicode_tables.dat +0 -0
  585. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/version.rb +8 -0
  586. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini.rb +191 -0
  587. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/jdom.rb +180 -0
  588. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/libxml.rb +79 -0
  589. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/libxmlsax.rb +85 -0
  590. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/nokogiri.rb +83 -0
  591. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/nokogirisax.rb +87 -0
  592. data/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.6/lib/active_support/xml_mini/rexml.rb +129 -0
  593. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/CHANGES +107 -0
  594. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/MIT-LICENSE +20 -0
  595. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/README.md +258 -0
  596. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/Rakefile +195 -0
  597. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/jamis.rb +591 -0
  598. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc +31 -0
  599. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc +46 -0
  600. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc +58 -0
  601. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/blankslate.rb +137 -0
  602. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder.rb +13 -0
  603. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/blankslate.rb +23 -0
  604. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/version.rb +8 -0
  605. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xchar.rb +197 -0
  606. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlbase.rb +199 -0
  607. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlevents.rb +63 -0
  608. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb +339 -0
  609. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/rakelib/publish.rake +17 -0
  610. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/rakelib/tags.rake +62 -0
  611. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/performance.rb +41 -0
  612. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/preload.rb +39 -0
  613. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_blankslate.rb +217 -0
  614. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_eventbuilder.rb +150 -0
  615. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_markupbuilder.rb +611 -0
  616. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_method_caching.rb +62 -0
  617. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_namecollision.rb +39 -0
  618. data/vendor/bundle/ruby/2.1.0/gems/builder-3.2.2/test/test_xchar.rb +78 -0
  619. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/CHANGES.txt +828 -0
  620. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/MIT-LICENSE +20 -0
  621. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/README.txt +102 -0
  622. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/Makefile +6 -0
  623. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
  624. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
  625. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
  626. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
  627. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
  628. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
  629. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
  630. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/bin/erubis +10 -0
  631. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/contrib/erubis +3468 -0
  632. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
  633. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/contrib/inline-require +179 -0
  634. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
  635. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
  636. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
  637. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
  638. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
  639. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
  640. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
  641. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
  642. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
  643. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
  644. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
  645. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
  646. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
  647. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
  648. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
  649. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
  650. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
  651. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
  652. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
  653. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
  654. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
  655. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
  656. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
  657. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
  658. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
  659. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
  660. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
  661. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
  662. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
  663. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
  664. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
  665. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
  666. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
  667. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
  668. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
  669. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
  670. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
  671. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
  672. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
  673. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
  674. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
  675. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
  676. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
  677. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
  678. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
  679. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
  680. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
  681. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
  682. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
  683. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
  684. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
  685. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
  686. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
  687. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
  688. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
  689. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
  690. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
  691. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
  692. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
  693. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
  694. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
  695. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
  696. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
  697. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
  698. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
  699. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
  700. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
  701. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
  702. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
  703. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
  704. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
  705. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
  706. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
  707. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
  708. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
  709. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
  710. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
  711. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
  712. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
  713. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
  714. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
  715. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
  716. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
  717. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
  718. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
  719. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
  720. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
  721. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
  722. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
  723. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
  724. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
  725. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
  726. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
  727. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
  728. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
  729. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
  730. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
  731. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
  732. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
  733. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
  734. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
  735. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
  736. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
  737. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/created.rid +1 -0
  738. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
  739. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
  740. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
  741. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
  742. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
  743. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
  744. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
  745. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
  746. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
  747. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
  748. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
  749. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
  750. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
  751. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
  752. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
  753. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
  754. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
  755. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
  756. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
  757. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
  758. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
  759. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
  760. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
  761. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
  762. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
  763. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
  764. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
  765. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
  766. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
  767. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
  768. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/index.html +24 -0
  769. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
  770. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc/docstyle.css +209 -0
  771. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
  772. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
  773. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
  774. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
  775. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
  776. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
  777. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
  778. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
  779. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
  780. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
  781. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
  782. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
  783. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
  784. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
  785. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
  786. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
  787. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
  788. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
  789. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis.rb +73 -0
  790. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
  791. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
  792. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
  793. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
  794. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
  795. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
  796. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
  797. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
  798. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
  799. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
  800. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
  801. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
  802. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
  803. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
  804. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
  805. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
  806. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
  807. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
  808. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
  809. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
  810. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
  811. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
  812. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
  813. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
  814. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
  815. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/setup.rb +1331 -0
  816. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
  817. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
  818. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
  819. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
  820. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
  821. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
  822. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
  823. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
  824. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
  825. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
  826. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
  827. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
  828. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
  829. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
  830. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
  831. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
  832. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
  833. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
  834. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
  835. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
  836. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
  837. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
  838. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
  839. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
  840. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
  841. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
  842. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
  843. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
  844. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
  845. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
  846. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
  847. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
  848. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
  849. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
  850. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
  851. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
  852. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
  853. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
  854. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
  855. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
  856. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
  857. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
  858. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
  859. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
  860. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
  861. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
  862. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
  863. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
  864. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
  865. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
  866. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
  867. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
  868. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
  869. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
  870. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
  871. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
  872. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
  873. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
  874. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
  875. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
  876. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
  877. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
  878. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
  879. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
  880. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
  881. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
  882. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
  883. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
  884. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
  885. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
  886. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
  887. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
  888. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
  889. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
  890. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
  891. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
  892. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
  893. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
  894. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
  895. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
  896. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
  897. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
  898. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
  899. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
  900. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
  901. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
  902. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
  903. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
  904. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
  905. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
  906. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
  907. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
  908. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
  909. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
  910. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
  911. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
  912. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
  913. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
  914. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
  915. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
  916. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
  917. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
  918. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
  919. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
  920. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
  921. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
  922. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
  923. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
  924. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
  925. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
  926. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
  927. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
  928. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
  929. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-engines.rb +425 -0
  930. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
  931. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
  932. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
  933. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-main.rb +752 -0
  934. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
  935. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/test.rb +45 -0
  936. data/vendor/bundle/ruby/2.1.0/gems/erubis-2.7.0/test/testutil.rb +111 -0
  937. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/MIT-LICENSE +20 -0
  938. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/README.md +105 -0
  939. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-2.3.x +11 -0
  940. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-2.3.x.lock +30 -0
  941. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.0.x +11 -0
  942. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.0.x.lock +30 -0
  943. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.1.x +10 -0
  944. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.1.x.lock +30 -0
  945. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.2.x +10 -0
  946. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-3.2.x.lock +31 -0
  947. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-4.0.x +10 -0
  948. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-4.0.x.lock +37 -0
  949. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-4.1.x +10 -0
  950. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/gemfiles/Gemfile.rails-4.1.x.lock +38 -0
  951. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n.rb +364 -0
  952. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend.rb +18 -0
  953. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/base.rb +190 -0
  954. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/cache.rb +96 -0
  955. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/cascade.rb +54 -0
  956. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/chain.rb +83 -0
  957. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/fallbacks.rb +69 -0
  958. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/flatten.rb +113 -0
  959. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/gettext.rb +72 -0
  960. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/interpolation_compiler.rb +121 -0
  961. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/key_value.rb +101 -0
  962. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/memoize.rb +46 -0
  963. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/metadata.rb +65 -0
  964. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/pluralization.rb +53 -0
  965. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/simple.rb +87 -0
  966. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/backend/transliterator.rb +99 -0
  967. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/config.rb +130 -0
  968. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/core_ext/hash.rb +29 -0
  969. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
  970. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/core_ext/string/interpolate.rb +105 -0
  971. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/exceptions.rb +128 -0
  972. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/gettext.rb +25 -0
  973. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/gettext/helpers.rb +64 -0
  974. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/gettext/po_parser.rb +329 -0
  975. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/interpolate/ruby.rb +37 -0
  976. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale.rb +6 -0
  977. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/fallbacks.rb +96 -0
  978. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/tag.rb +28 -0
  979. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/tag/parents.rb +22 -0
  980. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/tag/rfc4646.rb +74 -0
  981. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/locale/tag/simple.rb +39 -0
  982. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests.rb +12 -0
  983. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/basics.rb +59 -0
  984. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/defaults.rb +40 -0
  985. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/interpolation.rb +133 -0
  986. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/link.rb +56 -0
  987. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization.rb +19 -0
  988. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization/date.rb +91 -0
  989. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization/date_time.rb +82 -0
  990. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization/procs.rb +116 -0
  991. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/localization/time.rb +81 -0
  992. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/lookup.rb +81 -0
  993. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/pluralization.rb +35 -0
  994. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/tests/procs.rb +55 -0
  995. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/lib/i18n/version.rb +3 -0
  996. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/all.rb +8 -0
  997. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/all_features_test.rb +58 -0
  998. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/cascade_test.rb +28 -0
  999. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/chain_test.rb +24 -0
  1000. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/fallbacks_test.rb +30 -0
  1001. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/key_value_test.rb +28 -0
  1002. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/memoize_test.rb +60 -0
  1003. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/override_test.rb +43 -0
  1004. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/pluralization_test.rb +30 -0
  1005. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/api/simple_test.rb +28 -0
  1006. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/cache_test.rb +85 -0
  1007. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/cascade_test.rb +85 -0
  1008. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/chain_test.rb +76 -0
  1009. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/exceptions_test.rb +35 -0
  1010. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/fallbacks_test.rb +146 -0
  1011. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/interpolation_compiler_test.rb +118 -0
  1012. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/key_value_test.rb +46 -0
  1013. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/memoize_test.rb +47 -0
  1014. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/metadata_test.rb +47 -0
  1015. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/pluralization_test.rb +44 -0
  1016. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/simple_test.rb +83 -0
  1017. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/backend/transliterator_test.rb +85 -0
  1018. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/core_ext/hash_test.rb +30 -0
  1019. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/core_ext/string/interpolate_test.rb +99 -0
  1020. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/gettext/api_test.rb +206 -0
  1021. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/gettext/backend_test.rb +101 -0
  1022. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/i18n/exceptions_test.rb +120 -0
  1023. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/i18n/interpolate_test.rb +79 -0
  1024. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/i18n/load_path_test.rb +33 -0
  1025. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/i18n_test.rb +382 -0
  1026. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/locale/fallbacks_test.rb +136 -0
  1027. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/locale/tag/rfc4646_test.rb +142 -0
  1028. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/locale/tag/simple_test.rb +32 -0
  1029. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/run_all.rb +20 -0
  1030. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/de.po +82 -0
  1031. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/en.rb +3 -0
  1032. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/en.yml +3 -0
  1033. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/invalid/empty.yml +0 -0
  1034. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/invalid/syntax.yml +4 -0
  1035. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_data/locales/plurals.rb +113 -0
  1036. data/vendor/bundle/ruby/2.1.0/gems/i18n-0.6.11/test/test_helper.rb +76 -0
  1037. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/History.txt +1046 -0
  1038. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/Manifest.txt +26 -0
  1039. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/README.txt +580 -0
  1040. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/Rakefile +71 -0
  1041. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/design_rationale.rb +52 -0
  1042. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/hoe/minitest.rb +26 -0
  1043. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest.rb +765 -0
  1044. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/assertions.rb +661 -0
  1045. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/autorun.rb +12 -0
  1046. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/benchmark.rb +423 -0
  1047. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/expectations.rb +281 -0
  1048. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/hell.rb +11 -0
  1049. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/mock.rb +220 -0
  1050. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/parallel.rb +40 -0
  1051. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/pride.rb +4 -0
  1052. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/pride_plugin.rb +142 -0
  1053. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/spec.rb +296 -0
  1054. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/test.rb +285 -0
  1055. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/lib/minitest/unit.rb +45 -0
  1056. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/metametameta.rb +90 -0
  1057. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_benchmark.rb +137 -0
  1058. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_mock.rb +500 -0
  1059. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_reporter.rb +281 -0
  1060. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_spec.rb +892 -0
  1061. data/vendor/bundle/ruby/2.1.0/gems/minitest-5.4.1/test/minitest/test_minitest_unit.rb +1851 -0
  1062. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/COPYING +18 -0
  1063. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/KNOWN-ISSUES +30 -0
  1064. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/README.rdoc +624 -0
  1065. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/Rakefile +125 -0
  1066. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/SPEC +237 -0
  1067. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/bin/rackup +4 -0
  1068. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/contrib/rack.png +0 -0
  1069. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/contrib/rack.svg +150 -0
  1070. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/contrib/rack_logo.svg +111 -0
  1071. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/contrib/rdoc.css +412 -0
  1072. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/example/lobster.ru +4 -0
  1073. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/example/protectedlobster.rb +14 -0
  1074. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/example/protectedlobster.ru +8 -0
  1075. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack.rb +87 -0
  1076. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/abstract/handler.rb +37 -0
  1077. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/abstract/request.rb +43 -0
  1078. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/basic.rb +58 -0
  1079. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/digest/md5.rb +129 -0
  1080. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/digest/nonce.rb +51 -0
  1081. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/digest/params.rb +53 -0
  1082. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/auth/digest/request.rb +41 -0
  1083. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/backports/uri/common_18.rb +56 -0
  1084. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/backports/uri/common_192.rb +52 -0
  1085. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/backports/uri/common_193.rb +29 -0
  1086. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/body_proxy.rb +39 -0
  1087. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb +149 -0
  1088. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/cascade.rb +52 -0
  1089. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/chunked.rb +58 -0
  1090. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/commonlogger.rb +64 -0
  1091. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb +67 -0
  1092. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/config.rb +20 -0
  1093. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb +33 -0
  1094. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_type.rb +29 -0
  1095. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/deflater.rb +116 -0
  1096. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/directory.rb +161 -0
  1097. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/etag.rb +64 -0
  1098. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/file.rb +138 -0
  1099. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler.rb +107 -0
  1100. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/cgi.rb +61 -0
  1101. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/evented_mongrel.rb +8 -0
  1102. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/fastcgi.rb +98 -0
  1103. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/lsws.rb +61 -0
  1104. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/mongrel.rb +100 -0
  1105. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/scgi.rb +67 -0
  1106. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
  1107. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/thin.rb +27 -0
  1108. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb +81 -0
  1109. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb +22 -0
  1110. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lint.rb +699 -0
  1111. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lobster.rb +65 -0
  1112. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/lock.rb +26 -0
  1113. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/logger.rb +18 -0
  1114. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb +31 -0
  1115. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/mime.rb +677 -0
  1116. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/mock.rb +190 -0
  1117. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/multipart.rb +34 -0
  1118. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/multipart/generator.rb +93 -0
  1119. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/multipart/parser.rb +176 -0
  1120. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/multipart/uploaded_file.rb +34 -0
  1121. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/nulllogger.rb +18 -0
  1122. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/recursive.rb +61 -0
  1123. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/reloader.rb +109 -0
  1124. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/request.rb +380 -0
  1125. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/response.rb +155 -0
  1126. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/rewindable_input.rb +104 -0
  1127. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb +27 -0
  1128. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb +155 -0
  1129. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb +362 -0
  1130. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb +398 -0
  1131. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/cookie.rb +178 -0
  1132. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/memcache.rb +93 -0
  1133. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/pool.rb +79 -0
  1134. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/showexceptions.rb +378 -0
  1135. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/showstatus.rb +113 -0
  1136. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/static.rb +153 -0
  1137. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/urlmap.rb +76 -0
  1138. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/utils.rb +628 -0
  1139. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/utils/okjson.rb +599 -0
  1140. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/rack.gemspec +33 -0
  1141. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/anything.rb +5 -0
  1142. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/comment.ru +4 -0
  1143. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/end.ru +5 -0
  1144. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/line.ru +1 -0
  1145. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/builder/options.ru +2 -0
  1146. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/folder/test.js +1 -0
  1147. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/fonts/font.eot +1 -0
  1148. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/images/image.png +1 -0
  1149. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/index.html +1 -0
  1150. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/javascripts/app.js +1 -0
  1151. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/assets/stylesheets/app.css +1 -0
  1152. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/lighttpd.conf +26 -0
  1153. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/rackup_stub.rb +6 -0
  1154. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/sample_rackup.ru +5 -0
  1155. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/test +9 -0
  1156. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/test+directory/test+file +1 -0
  1157. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/test.fcgi +8 -0
  1158. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/cgi/test.ru +5 -0
  1159. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/gemloader.rb +10 -0
  1160. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/bad_robots +259 -0
  1161. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/binary +0 -0
  1162. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/content_type_and_no_filename +6 -0
  1163. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/empty +10 -0
  1164. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/fail_16384_nofile +814 -0
  1165. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/file1.txt +1 -0
  1166. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_and_modification_param +7 -0
  1167. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes +6 -0
  1168. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  1169. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_percent_escaped_quotes +6 -0
  1170. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages +6 -0
  1171. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages2 +6 -0
  1172. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages3 +6 -0
  1173. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_quotes +6 -0
  1174. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/ie +6 -0
  1175. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/mixed_files +21 -0
  1176. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/nested +10 -0
  1177. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/none +9 -0
  1178. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/semicolon +6 -0
  1179. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/text +15 -0
  1180. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/multipart/webkit +32 -0
  1181. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/rackup/config.ru +31 -0
  1182. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  1183. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_auth_basic.rb +81 -0
  1184. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_auth_digest.rb +259 -0
  1185. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_body_proxy.rb +69 -0
  1186. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_builder.rb +214 -0
  1187. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_cascade.rb +61 -0
  1188. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_cgi.rb +102 -0
  1189. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_chunked.rb +85 -0
  1190. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_commonlogger.rb +57 -0
  1191. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_conditionalget.rb +102 -0
  1192. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_config.rb +22 -0
  1193. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_content_length.rb +83 -0
  1194. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_content_type.rb +45 -0
  1195. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_deflater.rb +204 -0
  1196. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_directory.rb +88 -0
  1197. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_etag.rb +98 -0
  1198. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_fastcgi.rb +107 -0
  1199. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_file.rb +213 -0
  1200. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_handler.rb +59 -0
  1201. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_head.rb +43 -0
  1202. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_lint.rb +522 -0
  1203. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_lobster.rb +58 -0
  1204. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_lock.rb +164 -0
  1205. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_logger.rb +23 -0
  1206. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_methodoverride.rb +75 -0
  1207. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_mime.rb +51 -0
  1208. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_mock.rb +269 -0
  1209. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_mongrel.rb +182 -0
  1210. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_multipart.rb +445 -0
  1211. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_nulllogger.rb +20 -0
  1212. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_recursive.rb +72 -0
  1213. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_request.rb +1078 -0
  1214. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_response.rb +313 -0
  1215. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_rewindable_input.rb +118 -0
  1216. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_runtime.rb +49 -0
  1217. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_sendfile.rb +130 -0
  1218. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_server.rb +143 -0
  1219. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_session_abstract_id.rb +53 -0
  1220. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_session_cookie.rb +367 -0
  1221. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_session_memcache.rb +321 -0
  1222. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_session_pool.rb +209 -0
  1223. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_showexceptions.rb +92 -0
  1224. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_showstatus.rb +84 -0
  1225. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_static.rb +145 -0
  1226. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_thin.rb +91 -0
  1227. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_urlmap.rb +213 -0
  1228. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_utils.rb +573 -0
  1229. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/spec_webrick.rb +143 -0
  1230. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/static/another/index.html +1 -0
  1231. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/static/index.html +1 -0
  1232. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/testrequest.rb +78 -0
  1233. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  1234. data/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  1235. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/Gemfile +6 -0
  1236. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/Gemfile.lock +31 -0
  1237. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/History.txt +166 -0
  1238. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/MIT-LICENSE.txt +19 -0
  1239. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/README.rdoc +85 -0
  1240. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/Rakefile +33 -0
  1241. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/Thorfile +114 -0
  1242. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/mock_session.rb +66 -0
  1243. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test.rb +304 -0
  1244. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb +182 -0
  1245. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/methods.rb +82 -0
  1246. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/mock_digest_request.rb +29 -0
  1247. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/uploaded_file.rb +50 -0
  1248. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test/utils.rb +136 -0
  1249. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/rack-test.gemspec +77 -0
  1250. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/fixtures/bar.txt +1 -0
  1251. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/fixtures/config.ru +3 -0
  1252. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/fixtures/fake_app.rb +143 -0
  1253. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/fixtures/foo.txt +1 -0
  1254. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/cookie_spec.rb +219 -0
  1255. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/digest_auth_spec.rb +46 -0
  1256. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/multipart_spec.rb +145 -0
  1257. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/uploaded_file_spec.rb +22 -0
  1258. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test/utils_spec.rb +122 -0
  1259. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/rack/test_spec.rb +510 -0
  1260. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/spec_helper.rb +66 -0
  1261. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/body.rb +9 -0
  1262. data/vendor/bundle/ruby/2.1.0/gems/rack-test-0.6.2/spec/support/matchers/challenge.rb +11 -0
  1263. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/CHANGELOG.md +388 -0
  1264. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/RDOC_MAIN.rdoc +73 -0
  1265. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/README.rdoc +37 -0
  1266. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/bin/rails +9 -0
  1267. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails.rb +87 -0
  1268. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/all.rb +15 -0
  1269. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/api/task.rb +163 -0
  1270. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/app_rails_loader.rb +61 -0
  1271. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application.rb +466 -0
  1272. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/bootstrap.rb +80 -0
  1273. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/configuration.rb +155 -0
  1274. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/default_middleware_stack.rb +99 -0
  1275. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/finisher.rb +115 -0
  1276. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application/routes_reloader.rb +56 -0
  1277. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/application_controller.rb +16 -0
  1278. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/backtrace_cleaner.rb +27 -0
  1279. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/cli.rb +15 -0
  1280. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/code_statistics.rb +103 -0
  1281. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/code_statistics_calculator.rb +79 -0
  1282. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands.rb +17 -0
  1283. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/application.rb +17 -0
  1284. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb +174 -0
  1285. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/console.rb +101 -0
  1286. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/dbconsole.rb +177 -0
  1287. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/destroy.rb +9 -0
  1288. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/generate.rb +11 -0
  1289. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/plugin.rb +23 -0
  1290. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/runner.rb +63 -0
  1291. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/server.rb +139 -0
  1292. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/commands/update.rb +9 -0
  1293. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/configuration.rb +119 -0
  1294. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/console/app.rb +32 -0
  1295. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/console/helpers.rb +17 -0
  1296. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/deprecation.rb +19 -0
  1297. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/engine.rb +691 -0
  1298. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/engine/commands.rb +41 -0
  1299. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/engine/configuration.rb +91 -0
  1300. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/engine/railties.rb +21 -0
  1301. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/gem_version.rb +15 -0
  1302. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators.rb +320 -0
  1303. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/actions.rb +260 -0
  1304. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/actions/create_migration.rb +68 -0
  1305. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/active_model.rb +78 -0
  1306. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/app_base.rb +363 -0
  1307. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/base.rb +379 -0
  1308. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/css/assets/assets_generator.rb +13 -0
  1309. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/css/assets/templates/stylesheet.css +4 -0
  1310. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/css/scaffold/scaffold_generator.rb +16 -0
  1311. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb.rb +25 -0
  1312. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/controller/controller_generator.rb +22 -0
  1313. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/controller/templates/view.html.erb +2 -0
  1314. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/mailer/mailer_generator.rb +13 -0
  1315. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/mailer/templates/view.html.erb +5 -0
  1316. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/mailer/templates/view.text.erb +3 -0
  1317. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/scaffold_generator.rb +31 -0
  1318. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/_form.html.erb +37 -0
  1319. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/edit.html.erb +6 -0
  1320. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/index.html.erb +29 -0
  1321. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/new.html.erb +5 -0
  1322. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/erb/scaffold/templates/show.html.erb +11 -0
  1323. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/generated_attribute.rb +146 -0
  1324. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/js/assets/assets_generator.rb +13 -0
  1325. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/js/assets/templates/javascript.js +2 -0
  1326. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/migration.rb +69 -0
  1327. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/named_base.rb +205 -0
  1328. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/USAGE +15 -0
  1329. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/app_generator.rb +401 -0
  1330. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/Gemfile +33 -0
  1331. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/README.rdoc +28 -0
  1332. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/Rakefile +6 -0
  1333. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +20 -0
  1334. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +15 -0
  1335. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt +5 -0
  1336. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
  1337. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +23 -0
  1338. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/bin/bundle +2 -0
  1339. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/bin/rails +3 -0
  1340. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/bin/rake +3 -0
  1341. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config.ru +4 -0
  1342. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/application.rb +34 -0
  1343. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/boot.rb +4 -0
  1344. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +49 -0
  1345. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +87 -0
  1346. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +68 -0
  1347. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +52 -0
  1348. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +68 -0
  1349. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +23 -0
  1350. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +58 -0
  1351. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +58 -0
  1352. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +85 -0
  1353. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +25 -0
  1354. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/databases/sqlserver.yml +68 -0
  1355. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/environment.rb +5 -0
  1356. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +41 -0
  1357. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +82 -0
  1358. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +39 -0
  1359. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +8 -0
  1360. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
  1361. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb +3 -0
  1362. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb +4 -0
  1363. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +16 -0
  1364. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +4 -0
  1365. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +3 -0
  1366. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +16 -0
  1367. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/locales/en.yml +23 -0
  1368. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/routes.rb +56 -0
  1369. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/config/secrets.yml +22 -0
  1370. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +7 -0
  1371. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/gitignore +16 -0
  1372. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/404.html +67 -0
  1373. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/422.html +67 -0
  1374. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/500.html +66 -0
  1375. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
  1376. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/public/robots.txt +5 -0
  1377. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/app/templates/test/test_helper.rb +12 -0
  1378. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/assets/USAGE +20 -0
  1379. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/assets/assets_generator.rb +25 -0
  1380. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/assets/templates/javascript.js +2 -0
  1381. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/assets/templates/stylesheet.css +4 -0
  1382. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/controller/USAGE +19 -0
  1383. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/controller/controller_generator.rb +54 -0
  1384. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/controller/templates/controller.rb +13 -0
  1385. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/generator/USAGE +13 -0
  1386. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/generator/generator_generator.rb +27 -0
  1387. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +3 -0
  1388. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/generator/templates/USAGE.tt +8 -0
  1389. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/helper/USAGE +17 -0
  1390. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/helper/helper_generator.rb +13 -0
  1391. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/helper/templates/helper.rb +4 -0
  1392. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/integration_test/USAGE +10 -0
  1393. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/integration_test/integration_test_generator.rb +7 -0
  1394. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/migration/USAGE +35 -0
  1395. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/migration/migration_generator.rb +8 -0
  1396. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/model/USAGE +100 -0
  1397. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/model/model_generator.rb +8 -0
  1398. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/USAGE +10 -0
  1399. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/plugin_generator.rb +371 -0
  1400. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/%name%.gemspec +27 -0
  1401. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/Gemfile +43 -0
  1402. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/MIT-LICENSE +20 -0
  1403. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/README.rdoc +3 -0
  1404. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/Rakefile +25 -0
  1405. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/app/controllers/%name%/application_controller.rb.tt +4 -0
  1406. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/app/helpers/%name%/application_helper.rb.tt +4 -0
  1407. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/app/views/layouts/%name%/application.html.erb.tt +14 -0
  1408. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/bin/rails.tt +11 -0
  1409. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/config/routes.rb +6 -0
  1410. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/gitignore +10 -0
  1411. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/lib/%name%.rb +6 -0
  1412. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/lib/%name%/engine.rb +7 -0
  1413. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/lib/%name%/version.rb +3 -0
  1414. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/lib/tasks/%name%_tasks.rake +4 -0
  1415. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/application.rb +18 -0
  1416. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/boot.rb +5 -0
  1417. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/javascripts.js +13 -0
  1418. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/routes.rb +4 -0
  1419. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/rails/stylesheets.css +15 -0
  1420. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/test/%name%_test.rb +7 -0
  1421. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/test/integration/navigation_test.rb +12 -0
  1422. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/plugin/templates/test/test_helper.rb +15 -0
  1423. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/resource/USAGE +23 -0
  1424. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/resource/resource_generator.rb +20 -0
  1425. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/resource_route/resource_route_generator.rb +50 -0
  1426. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold/USAGE +35 -0
  1427. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold/scaffold_generator.rb +32 -0
  1428. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold/templates/scaffold.css +56 -0
  1429. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold_controller/USAGE +19 -0
  1430. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +27 -0
  1431. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +68 -0
  1432. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/task/USAGE +9 -0
  1433. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/task/task_generator.rb +12 -0
  1434. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/rails/task/templates/task.rb +8 -0
  1435. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/resource_helpers.rb +91 -0
  1436. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_case.rb +36 -0
  1437. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit.rb +8 -0
  1438. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/controller/controller_generator.rb +15 -0
  1439. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/controller/templates/functional_test.rb +19 -0
  1440. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/generator/generator_generator.rb +26 -0
  1441. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/generator/templates/generator_test.rb +16 -0
  1442. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/helper/helper_generator.rb +13 -0
  1443. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/helper/templates/helper_test.rb +6 -0
  1444. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/integration/integration_generator.rb +13 -0
  1445. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/integration/templates/integration_test.rb +7 -0
  1446. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/mailer/mailer_generator.rb +21 -0
  1447. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +21 -0
  1448. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/mailer/templates/preview.rb +13 -0
  1449. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/model/model_generator.rb +36 -0
  1450. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/model/templates/fixtures.yml +27 -0
  1451. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/model/templates/unit_test.rb +9 -0
  1452. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/plugin/plugin_generator.rb +13 -0
  1453. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +7 -0
  1454. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +2 -0
  1455. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +33 -0
  1456. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +51 -0
  1457. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/testing/assertions.rb +123 -0
  1458. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/testing/behaviour.rb +106 -0
  1459. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/generators/testing/setup_and_teardown.rb +18 -0
  1460. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/info.rb +118 -0
  1461. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/info_controller.rb +23 -0
  1462. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/initializable.rb +89 -0
  1463. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/mailers_controller.rb +73 -0
  1464. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/paths.rb +211 -0
  1465. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rack.rb +7 -0
  1466. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rack/debugger.rb +24 -0
  1467. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rack/log_tailer.rb +34 -0
  1468. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rack/logger.rb +86 -0
  1469. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/railtie.rb +250 -0
  1470. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/railtie/configurable.rb +35 -0
  1471. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/railtie/configuration.rb +100 -0
  1472. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/ruby_version_check.rb +13 -0
  1473. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/rubyprof_ext.rb +35 -0
  1474. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/source_annotation_extractor.rb +127 -0
  1475. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks.rb +14 -0
  1476. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/annotations.rake +20 -0
  1477. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/documentation.rake +70 -0
  1478. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/engine.rake +72 -0
  1479. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/framework.rake +66 -0
  1480. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/log.rake +23 -0
  1481. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/middleware.rake +7 -0
  1482. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/misc.rake +60 -0
  1483. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/routes.rake +7 -0
  1484. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/statistics.rake +22 -0
  1485. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/tasks/tmp.rake +45 -0
  1486. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/layouts/application.html.erb +36 -0
  1487. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/info/properties.html.erb +1 -0
  1488. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/info/routes.html.erb +9 -0
  1489. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/mailers/email.html.erb +98 -0
  1490. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/mailers/index.html.erb +8 -0
  1491. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/mailers/mailer.html.erb +6 -0
  1492. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/templates/rails/welcome/index.html.erb +245 -0
  1493. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/test_help.rb +43 -0
  1494. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/test_unit/railtie.rb +18 -0
  1495. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/test_unit/sub_test_task.rb +126 -0
  1496. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/test_unit/testing.rake +48 -0
  1497. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/version.rb +8 -0
  1498. data/vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/welcome_controller.rb +8 -0
  1499. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/CONTRIBUTING.rdoc +34 -0
  1500. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/History.rdoc +609 -0
  1501. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/MIT-LICENSE +21 -0
  1502. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/Manifest.txt +162 -0
  1503. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/README.rdoc +137 -0
  1504. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/Rakefile +81 -0
  1505. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/bin/rake +33 -0
  1506. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/command_line_usage.rdoc +158 -0
  1507. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/Rakefile1 +38 -0
  1508. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/Rakefile2 +35 -0
  1509. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/a.c +6 -0
  1510. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/b.c +6 -0
  1511. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/example/main.c +11 -0
  1512. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/glossary.rdoc +43 -0
  1513. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/jamis.rb +591 -0
  1514. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/proto_rake.rdoc +127 -0
  1515. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/rake.1.gz +0 -0
  1516. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/rakefile.rdoc +653 -0
  1517. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/rational.rdoc +151 -0
  1518. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
  1519. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
  1520. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
  1521. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
  1522. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
  1523. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
  1524. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
  1525. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
  1526. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
  1527. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
  1528. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
  1529. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
  1530. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
  1531. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
  1532. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
  1533. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.6.rdoc +37 -0
  1534. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
  1535. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
  1536. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
  1537. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  1538. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
  1539. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.3.rdoc +102 -0
  1540. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.4.rdoc +60 -0
  1541. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.5.rdoc +55 -0
  1542. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-0.9.6.rdoc +64 -0
  1543. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.0.0.rdoc +178 -0
  1544. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.0.1.rdoc +58 -0
  1545. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.0.2.rdoc +53 -0
  1546. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.0.3.rdoc +191 -0
  1547. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/doc/release_notes/rake-10.1.0.rdoc +61 -0
  1548. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake.rb +78 -0
  1549. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/alt_system.rb +110 -0
  1550. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb +783 -0
  1551. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/backtrace.rb +23 -0
  1552. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/clean.rb +76 -0
  1553. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/cloneable.rb +16 -0
  1554. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/compositepublisher.rb +21 -0
  1555. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/ftptools.rb +137 -0
  1556. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/publisher.rb +81 -0
  1557. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/rubyforgepublisher.rb +18 -0
  1558. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/sshpublisher.rb +61 -0
  1559. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/contrib/sys.rb +4 -0
  1560. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/cpu_counter.rb +109 -0
  1561. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/default_loader.rb +14 -0
  1562. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/dsl_definition.rb +198 -0
  1563. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/early_time.rb +21 -0
  1564. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ext/core.rb +25 -0
  1565. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ext/module.rb +1 -0
  1566. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ext/string.rb +173 -0
  1567. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ext/time.rb +15 -0
  1568. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_creation_task.rb +24 -0
  1569. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_list.rb +414 -0
  1570. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_task.rb +46 -0
  1571. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb +116 -0
  1572. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/file_utils_ext.rb +144 -0
  1573. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/gempackagetask.rb +4 -0
  1574. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/invocation_chain.rb +56 -0
  1575. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/invocation_exception_mixin.rb +16 -0
  1576. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/linked_list.rb +103 -0
  1577. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/loaders/makefile.rb +40 -0
  1578. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/multi_task.rb +13 -0
  1579. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/name_space.rb +38 -0
  1580. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/packagetask.rb +202 -0
  1581. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/pathmap.rb +3 -0
  1582. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/phony.rb +15 -0
  1583. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/private_reader.rb +20 -0
  1584. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/promise.rb +99 -0
  1585. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/pseudo_status.rb +29 -0
  1586. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb +38 -0
  1587. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/rake_test_loader.rb +22 -0
  1588. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/rdoctask.rb +4 -0
  1589. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/ruby182_test_unit_fix.rb +29 -0
  1590. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  1591. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/runtest.rb +27 -0
  1592. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/scope.rb +42 -0
  1593. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb +383 -0
  1594. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task_argument_error.rb +7 -0
  1595. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task_arguments.rb +98 -0
  1596. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task_manager.rb +310 -0
  1597. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/tasklib.rb +24 -0
  1598. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/testtask.rb +212 -0
  1599. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/thread_history_display.rb +48 -0
  1600. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/thread_pool.rb +164 -0
  1601. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/trace_output.rb +22 -0
  1602. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/version.rb +7 -0
  1603. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/win32.rb +56 -0
  1604. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/rakelib/publish.rake +20 -0
  1605. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/rakelib/test_times.rake +25 -0
  1606. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/file_creation.rb +34 -0
  1607. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/helper.rb +127 -0
  1608. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/support/rakefile_definitions.rb +478 -0
  1609. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/support/ruby_runner.rb +33 -0
  1610. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_private_reader.rb +42 -0
  1611. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake.rb +40 -0
  1612. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_application.rb +641 -0
  1613. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_application_options.rb +466 -0
  1614. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_backtrace.rb +119 -0
  1615. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_clean.rb +55 -0
  1616. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_cpu_counter.rb +50 -0
  1617. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_definitions.rb +79 -0
  1618. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_directory_task.rb +63 -0
  1619. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_dsl.rb +40 -0
  1620. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_early_time.rb +31 -0
  1621. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_extension.rb +59 -0
  1622. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_creation_task.rb +56 -0
  1623. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_list.rb +627 -0
  1624. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_list_path_map.rb +8 -0
  1625. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_task.rb +186 -0
  1626. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_file_utils.rb +309 -0
  1627. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_ftp_file.rb +74 -0
  1628. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_functional.rb +482 -0
  1629. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_invocation_chain.rb +64 -0
  1630. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_linked_list.rb +84 -0
  1631. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_makefile_loader.rb +46 -0
  1632. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_multi_task.rb +58 -0
  1633. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_name_space.rb +57 -0
  1634. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_package_task.rb +79 -0
  1635. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_path_map.rb +168 -0
  1636. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_path_map_explode.rb +34 -0
  1637. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_path_map_partial.rb +18 -0
  1638. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_pseudo_status.rb +21 -0
  1639. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_rake_test_loader.rb +20 -0
  1640. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_reduce_compat.rb +26 -0
  1641. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_require.rb +40 -0
  1642. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_rules.rb +388 -0
  1643. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_scope.rb +44 -0
  1644. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task.rb +392 -0
  1645. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_argument_parsing.rb +109 -0
  1646. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_arguments.rb +127 -0
  1647. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_lib.rb +9 -0
  1648. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_manager.rb +178 -0
  1649. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_manager_argument_resolution.rb +19 -0
  1650. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_task_with_arguments.rb +171 -0
  1651. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_test_task.rb +141 -0
  1652. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_thread_pool.rb +142 -0
  1653. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_top_level_functions.rb +71 -0
  1654. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_rake_win32.rb +72 -0
  1655. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_thread_history_display.rb +101 -0
  1656. data/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/test/test_trace_output.rb +52 -0
  1657. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/CHANGELOG.md +139 -0
  1658. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/LICENSE.md +20 -0
  1659. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/README.md +41 -0
  1660. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/Thorfile +29 -0
  1661. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/bin/thor +6 -0
  1662. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor.rb +484 -0
  1663. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions.rb +319 -0
  1664. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/create_file.rb +103 -0
  1665. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/create_link.rb +59 -0
  1666. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/directory.rb +118 -0
  1667. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb +135 -0
  1668. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb +316 -0
  1669. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb +107 -0
  1670. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/base.rb +656 -0
  1671. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/command.rb +133 -0
  1672. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/core_ext/hash_with_indifferent_access.rb +77 -0
  1673. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/core_ext/io_binary_read.rb +10 -0
  1674. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/core_ext/ordered_hash.rb +98 -0
  1675. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/error.rb +32 -0
  1676. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/group.rb +281 -0
  1677. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb +178 -0
  1678. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/line_editor.rb +17 -0
  1679. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/line_editor/basic.rb +35 -0
  1680. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/line_editor/readline.rb +88 -0
  1681. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser.rb +4 -0
  1682. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser/argument.rb +73 -0
  1683. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser/arguments.rb +175 -0
  1684. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser/option.rb +125 -0
  1685. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/parser/options.rb +218 -0
  1686. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/rake_compat.rb +71 -0
  1687. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/runner.rb +322 -0
  1688. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/shell.rb +81 -0
  1689. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/shell/basic.rb +421 -0
  1690. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/shell/color.rb +149 -0
  1691. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/shell/html.rb +126 -0
  1692. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/util.rb +267 -0
  1693. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/lib/thor/version.rb +3 -0
  1694. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/create_file_spec.rb +168 -0
  1695. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/create_link_spec.rb +96 -0
  1696. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/directory_spec.rb +169 -0
  1697. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/empty_directory_spec.rb +129 -0
  1698. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/file_manipulation_spec.rb +392 -0
  1699. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions/inject_into_file_spec.rb +135 -0
  1700. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/actions_spec.rb +331 -0
  1701. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/base_spec.rb +298 -0
  1702. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/command_spec.rb +79 -0
  1703. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/core_ext/hash_with_indifferent_access_spec.rb +48 -0
  1704. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/core_ext/ordered_hash_spec.rb +115 -0
  1705. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/exit_condition_spec.rb +19 -0
  1706. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/application.rb +2 -0
  1707. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/app{1}/README +3 -0
  1708. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/bundle/execute.rb +6 -0
  1709. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/bundle/main.thor +1 -0
  1710. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/command.thor +10 -0
  1711. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/%file_name%.rb.tt +1 -0
  1712. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/COMMENTER +11 -0
  1713. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/README +3 -0
  1714. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/block_helper.rb +3 -0
  1715. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/config.rb +1 -0
  1716. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/config.yaml.tt +1 -0
  1717. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/doc/excluding/%file_name%.rb.tt +1 -0
  1718. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/enum.thor +10 -0
  1719. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/group.thor +128 -0
  1720. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/invoke.thor +131 -0
  1721. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/path with spaces b/data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/path with → spaces +0 -0
  1722. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/preserve/script.sh +3 -0
  1723. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/script.thor +220 -0
  1724. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/fixtures/subcommand.thor +17 -0
  1725. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/group_spec.rb +222 -0
  1726. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/helper.rb +80 -0
  1727. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/invocation_spec.rb +120 -0
  1728. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/line_editor/basic_spec.rb +28 -0
  1729. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/line_editor/readline_spec.rb +69 -0
  1730. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/line_editor_spec.rb +43 -0
  1731. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/parser/argument_spec.rb +53 -0
  1732. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/parser/arguments_spec.rb +66 -0
  1733. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/parser/option_spec.rb +210 -0
  1734. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/parser/options_spec.rb +414 -0
  1735. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/quality_spec.rb +75 -0
  1736. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/rake_compat_spec.rb +72 -0
  1737. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/register_spec.rb +227 -0
  1738. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/runner_spec.rb +246 -0
  1739. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/application.rb +2 -0
  1740. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/app{1}/README +3 -0
  1741. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/bundle/execute.rb +6 -0
  1742. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/bundle/main.thor +1 -0
  1743. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/command.thor +10 -0
  1744. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/%file_name%.rb.tt +1 -0
  1745. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/COMMENTER +11 -0
  1746. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/README +3 -0
  1747. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/block_helper.rb +3 -0
  1748. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/config.rb +1 -0
  1749. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/config.yaml.tt +1 -0
  1750. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/doc/excluding/%file_name%.rb.tt +1 -0
  1751. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/enum.thor +10 -0
  1752. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/group.thor +128 -0
  1753. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/invoke.thor +131 -0
  1754. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/path with spaces b/data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/path with → spaces +0 -0
  1755. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/preserve/script.sh +3 -0
  1756. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/script.thor +220 -0
  1757. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/sandbox/subcommand.thor +17 -0
  1758. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/shell/basic_spec.rb +337 -0
  1759. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/shell/color_spec.rb +119 -0
  1760. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/shell/html_spec.rb +31 -0
  1761. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/shell_spec.rb +47 -0
  1762. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/subcommand_spec.rb +48 -0
  1763. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/thor_spec.rb +505 -0
  1764. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/spec/util_spec.rb +196 -0
  1765. data/vendor/bundle/ruby/2.1.0/gems/thor-0.19.1/thor.gemspec +24 -0
  1766. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/Gemfile +4 -0
  1767. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/LICENSE +144 -0
  1768. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/README.md +56 -0
  1769. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/Rakefile +48 -0
  1770. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/examples/bench_cache.rb +35 -0
  1771. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
  1772. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
  1773. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
  1774. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
  1775. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
  1776. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
  1777. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
  1778. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
  1779. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
  1780. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/ext/thread_safe/JrubyCacheBackendService.java +15 -0
  1781. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe.rb +65 -0
  1782. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/atomic_reference_cache_backend.rb +922 -0
  1783. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/cache.rb +163 -0
  1784. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/mri_cache_backend.rb +62 -0
  1785. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/non_concurrent_cache_backend.rb +133 -0
  1786. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/synchronized_cache_backend.rb +76 -0
  1787. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/synchronized_delegator.rb +60 -0
  1788. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util.rb +16 -0
  1789. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/adder.rb +59 -0
  1790. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/atomic_reference.rb +45 -0
  1791. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/cheap_lockable.rb +105 -0
  1792. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
  1793. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/striped64.rb +226 -0
  1794. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/volatile.rb +62 -0
  1795. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/volatile_tuple.rb +46 -0
  1796. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/util/xor_shift_random.rb +39 -0
  1797. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/version.rb +21 -0
  1798. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/src/thread_safe/SecurityManager.java +21 -0
  1799. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_array.rb +18 -0
  1800. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_cache.rb +901 -0
  1801. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_cache_loops.rb +449 -0
  1802. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_hash.rb +17 -0
  1803. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_helper.rb +113 -0
  1804. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/test/test_synchronized_delegator.rb +84 -0
  1805. data/vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/thread_safe.gemspec +26 -0
  1806. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/CHANGES.md +649 -0
  1807. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/LICENSE +19 -0
  1808. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/README.md +151 -0
  1809. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/Rakefile +104 -0
  1810. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo.rb +40 -0
  1811. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/country.rb +196 -0
  1812. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/country_index_definition.rb +31 -0
  1813. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/country_info.rb +42 -0
  1814. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/country_timezone.rb +123 -0
  1815. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb +190 -0
  1816. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone.rb +58 -0
  1817. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone_info.rb +55 -0
  1818. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/info_timezone.rb +30 -0
  1819. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone.rb +63 -0
  1820. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone_info.rb +26 -0
  1821. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/offset_rationals.rb +77 -0
  1822. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/ruby_core_support.rb +146 -0
  1823. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/ruby_country_info.rb +70 -0
  1824. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/ruby_data_source.rb +136 -0
  1825. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/time_or_datetime.rb +333 -0
  1826. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb +637 -0
  1827. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_definition.rb +36 -0
  1828. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_index_definition.rb +54 -0
  1829. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_info.rb +30 -0
  1830. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_offset.rb +74 -0
  1831. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_period.rb +204 -0
  1832. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb +70 -0
  1833. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition.rb +120 -0
  1834. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition_definition.rb +101 -0
  1835. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/transition_data_timezone_info.rb +274 -0
  1836. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_country_info.rb +35 -0
  1837. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_data_source.rb +487 -0
  1838. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_timezone_info.rb +245 -0
  1839. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_country.rb +236 -0
  1840. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_country_index_definition.rb +69 -0
  1841. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_country_info.rb +16 -0
  1842. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_country_timezone.rb +161 -0
  1843. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_source.rb +218 -0
  1844. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone.rb +99 -0
  1845. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb +18 -0
  1846. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_info_timezone.rb +34 -0
  1847. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_linked_timezone.rb +155 -0
  1848. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_linked_timezone_info.rb +23 -0
  1849. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_offset_rationals.rb +23 -0
  1850. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_ruby_core_support.rb +168 -0
  1851. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_ruby_country_info.rb +80 -0
  1852. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_ruby_data_source.rb +143 -0
  1853. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_time_or_datetime.rb +639 -0
  1854. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone.rb +1334 -0
  1855. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_definition.rb +113 -0
  1856. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_index_definition.rb +73 -0
  1857. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_info.rb +11 -0
  1858. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_london.rb +143 -0
  1859. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_melbourne.rb +142 -0
  1860. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_new_york.rb +142 -0
  1861. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_offset.rb +126 -0
  1862. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_period.rb +548 -0
  1863. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_proxy.rb +113 -0
  1864. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_transition.rb +352 -0
  1865. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_transition_definition.rb +284 -0
  1866. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_timezone_utc.rb +27 -0
  1867. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_transition_data_timezone_info.rb +423 -0
  1868. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_zoneinfo_country_info.rb +64 -0
  1869. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_zoneinfo_data_source.rb +1122 -0
  1870. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tc_zoneinfo_timezone_info.rb +814 -0
  1871. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/test_utils.rb +132 -0
  1872. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/ts_all.rb +7 -0
  1873. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/ts_all_ruby.rb +5 -0
  1874. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/ts_all_zoneinfo.rb +7 -0
  1875. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data.rb +8 -0
  1876. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
  1877. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
  1878. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
  1879. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
  1880. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
  1881. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
  1882. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
  1883. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
  1884. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
  1885. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
  1886. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
  1887. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
  1888. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
  1889. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
  1890. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
  1891. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/version.rb +14 -0
  1892. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
  1893. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/America/New_York +0 -0
  1894. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Australia/Melbourne +0 -0
  1895. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/EST +0 -0
  1896. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Etc/UTC +0 -0
  1897. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Amsterdam +0 -0
  1898. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Andorra +0 -0
  1899. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/London +0 -0
  1900. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Paris +0 -0
  1901. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Prague +0 -0
  1902. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/Factory +0 -0
  1903. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/iso3166.tab +275 -0
  1904. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/posix/Europe/London +0 -0
  1905. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/posixrules +0 -0
  1906. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/right/Europe/London +0 -0
  1907. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/zone.tab +439 -0
  1908. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo/zone1970.tab +369 -0
  1909. data/vendor/bundle/ruby/2.1.0/gems/tzinfo-1.2.2/tzinfo.gemspec +21 -0
  1910. data/vendor/bundle/ruby/2.1.0/specifications/actionpack-4.1.6.gemspec +46 -0
  1911. data/vendor/bundle/ruby/2.1.0/specifications/actionview-4.1.6.gemspec +46 -0
  1912. data/vendor/bundle/ruby/2.1.0/specifications/activesupport-4.1.6.gemspec +46 -0
  1913. data/vendor/bundle/ruby/2.1.0/specifications/builder-3.2.2.gemspec +23 -0
  1914. data/vendor/bundle/ruby/2.1.0/specifications/erubis-2.7.0.gemspec +22 -0
  1915. data/vendor/bundle/ruby/2.1.0/specifications/i18n-0.6.11.gemspec +21 -0
  1916. data/vendor/bundle/ruby/2.1.0/specifications/minitest-5.4.1.gemspec +39 -0
  1917. data/vendor/bundle/ruby/2.1.0/specifications/rack-1.5.2.gemspec +39 -0
  1918. data/vendor/bundle/ruby/2.1.0/specifications/rack-test-0.6.2.gemspec +34 -0
  1919. data/vendor/bundle/ruby/2.1.0/specifications/railties-4.1.6.gemspec +48 -0
  1920. data/vendor/bundle/ruby/2.1.0/specifications/rake-10.3.2.gemspec +45 -0
  1921. data/vendor/bundle/ruby/2.1.0/specifications/thor-0.19.1.gemspec +34 -0
  1922. data/vendor/bundle/ruby/2.1.0/specifications/thread_safe-0.3.4.gemspec +38 -0
  1923. data/vendor/bundle/ruby/2.1.0/specifications/tzinfo-1.2.2.gemspec +37 -0
  1924. metadata +1842 -3
@@ -0,0 +1,1850 @@
1
+ require 'active_support/core_ext/hash/except'
2
+ require 'active_support/core_ext/hash/reverse_merge'
3
+ require 'active_support/core_ext/hash/slice'
4
+ require 'active_support/core_ext/enumerable'
5
+ require 'active_support/core_ext/array/extract_options'
6
+ require 'active_support/core_ext/module/remove_method'
7
+ require 'active_support/inflector'
8
+ require 'action_dispatch/routing/redirection'
9
+
10
+ module ActionDispatch
11
+ module Routing
12
+ class Mapper
13
+ URL_OPTIONS = [:protocol, :subdomain, :domain, :host, :port]
14
+ SCOPE_OPTIONS = [:path, :shallow_path, :as, :shallow_prefix, :module,
15
+ :controller, :action, :path_names, :constraints,
16
+ :shallow, :blocks, :defaults, :options]
17
+
18
+ class Constraints #:nodoc:
19
+ def self.new(app, constraints, request = Rack::Request)
20
+ if constraints.any?
21
+ super(app, constraints, request)
22
+ else
23
+ app
24
+ end
25
+ end
26
+
27
+ attr_reader :app, :constraints
28
+
29
+ def initialize(app, constraints, request)
30
+ @app, @constraints, @request = app, constraints, request
31
+ end
32
+
33
+ def matches?(env)
34
+ req = @request.new(env)
35
+
36
+ @constraints.all? do |constraint|
37
+ (constraint.respond_to?(:matches?) && constraint.matches?(req)) ||
38
+ (constraint.respond_to?(:call) && constraint.call(*constraint_args(constraint, req)))
39
+ end
40
+ ensure
41
+ req.reset_parameters
42
+ end
43
+
44
+ def call(env)
45
+ matches?(env) ? @app.call(env) : [ 404, {'X-Cascade' => 'pass'}, [] ]
46
+ end
47
+
48
+ private
49
+ def constraint_args(constraint, request)
50
+ constraint.arity == 1 ? [request] : [request.symbolized_path_parameters, request]
51
+ end
52
+ end
53
+
54
+ class Mapping #:nodoc:
55
+ IGNORE_OPTIONS = [:to, :as, :via, :on, :constraints, :defaults, :only, :except, :anchor, :shallow, :shallow_path, :shallow_prefix, :format]
56
+ ANCHOR_CHARACTERS_REGEX = %r{\A(\\A|\^)|(\\Z|\\z|\$)\Z}
57
+ WILDCARD_PATH = %r{\*([^/\)]+)\)?$}
58
+
59
+ attr_reader :scope, :path, :options, :requirements, :conditions, :defaults
60
+
61
+ def initialize(set, scope, path, options)
62
+ @set, @scope, @path, @options = set, scope, path, options
63
+ @requirements, @conditions, @defaults = {}, {}, {}
64
+
65
+ normalize_options!
66
+ normalize_path!
67
+ normalize_requirements!
68
+ normalize_conditions!
69
+ normalize_defaults!
70
+ end
71
+
72
+ def to_route
73
+ [ app, conditions, requirements, defaults, options[:as], options[:anchor] ]
74
+ end
75
+
76
+ private
77
+
78
+ def normalize_path!
79
+ raise ArgumentError, "path is required" if @path.blank?
80
+ @path = Mapper.normalize_path(@path)
81
+
82
+ if required_format?
83
+ @path = "#{@path}.:format"
84
+ elsif optional_format?
85
+ @path = "#{@path}(.:format)"
86
+ end
87
+ end
88
+
89
+ def required_format?
90
+ options[:format] == true
91
+ end
92
+
93
+ def optional_format?
94
+ options[:format] != false && !path.include?(':format') && !path.end_with?('/')
95
+ end
96
+
97
+ def normalize_options!
98
+ @options.reverse_merge!(scope[:options]) if scope[:options]
99
+ path_without_format = path.sub(/\(\.:format\)$/, '')
100
+
101
+ # Add a constraint for wildcard route to make it non-greedy and match the
102
+ # optional format part of the route by default
103
+ if path_without_format.match(WILDCARD_PATH) && @options[:format] != false
104
+ @options[$1.to_sym] ||= /.+?/
105
+ end
106
+
107
+ if path_without_format.match(':controller')
108
+ raise ArgumentError, ":controller segment is not allowed within a namespace block" if scope[:module]
109
+
110
+ # Add a default constraint for :controller path segments that matches namespaced
111
+ # controllers with default routes like :controller/:action/:id(.:format), e.g:
112
+ # GET /admin/products/show/1
113
+ # => { controller: 'admin/products', action: 'show', id: '1' }
114
+ @options[:controller] ||= /.+?/
115
+ end
116
+
117
+ @options.merge!(default_controller_and_action)
118
+ end
119
+
120
+ def normalize_requirements!
121
+ constraints.each do |key, requirement|
122
+ next unless segment_keys.include?(key) || key == :controller
123
+ verify_regexp_requirement(requirement) if requirement.is_a?(Regexp)
124
+ @requirements[key] = requirement
125
+ end
126
+
127
+ if options[:format] == true
128
+ @requirements[:format] ||= /.+/
129
+ elsif Regexp === options[:format]
130
+ @requirements[:format] = options[:format]
131
+ elsif String === options[:format]
132
+ @requirements[:format] = Regexp.compile(options[:format])
133
+ end
134
+ end
135
+
136
+ def verify_regexp_requirement(requirement)
137
+ if requirement.source =~ ANCHOR_CHARACTERS_REGEX
138
+ raise ArgumentError, "Regexp anchor characters are not allowed in routing requirements: #{requirement.inspect}"
139
+ end
140
+
141
+ if requirement.multiline?
142
+ raise ArgumentError, "Regexp multiline option is not allowed in routing requirements: #{requirement.inspect}"
143
+ end
144
+ end
145
+
146
+ def normalize_defaults!
147
+ @defaults.merge!(scope[:defaults]) if scope[:defaults]
148
+ @defaults.merge!(options[:defaults]) if options[:defaults]
149
+
150
+ options.each do |key, default|
151
+ unless Regexp === default || IGNORE_OPTIONS.include?(key)
152
+ @defaults[key] = default
153
+ end
154
+ end
155
+
156
+ if options[:constraints].is_a?(Hash)
157
+ options[:constraints].each do |key, default|
158
+ if URL_OPTIONS.include?(key) && (String === default || Fixnum === default)
159
+ @defaults[key] ||= default
160
+ end
161
+ end
162
+ end
163
+
164
+ if Regexp === options[:format]
165
+ @defaults[:format] = nil
166
+ elsif String === options[:format]
167
+ @defaults[:format] = options[:format]
168
+ end
169
+ end
170
+
171
+ def normalize_conditions!
172
+ @conditions[:path_info] = path
173
+
174
+ constraints.each do |key, condition|
175
+ unless segment_keys.include?(key) || key == :controller
176
+ @conditions[key] = condition
177
+ end
178
+ end
179
+
180
+ required_defaults = []
181
+ options.each do |key, required_default|
182
+ unless segment_keys.include?(key) || IGNORE_OPTIONS.include?(key) || Regexp === required_default
183
+ required_defaults << key
184
+ end
185
+ end
186
+ @conditions[:required_defaults] = required_defaults
187
+
188
+ via_all = options.delete(:via) if options[:via] == :all
189
+
190
+ if !via_all && options[:via].blank?
191
+ msg = "You should not use the `match` method in your router without specifying an HTTP method.\n" \
192
+ "If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.\n" \
193
+ "If you want to expose your action to GET, use `get` in the router:\n" \
194
+ " Instead of: match \"controller#action\"\n" \
195
+ " Do: get \"controller#action\""
196
+ raise msg
197
+ end
198
+
199
+ if via = options[:via]
200
+ @conditions[:request_method] = Array(via).map { |m| m.to_s.dasherize.upcase }
201
+ end
202
+ end
203
+
204
+ def app
205
+ Constraints.new(endpoint, blocks, @set.request_class)
206
+ end
207
+
208
+ def default_controller_and_action
209
+ if to.respond_to?(:call)
210
+ { }
211
+ else
212
+ if to.is_a?(String)
213
+ controller, action = to.split('#')
214
+ elsif to.is_a?(Symbol)
215
+ action = to.to_s
216
+ end
217
+
218
+ controller ||= default_controller
219
+ action ||= default_action
220
+
221
+ if @scope[:module] && !controller.is_a?(Regexp)
222
+ if controller =~ %r{\A/}
223
+ controller = controller[1..-1]
224
+ else
225
+ controller = [@scope[:module], controller].compact.join("/").presence
226
+ end
227
+ end
228
+
229
+ if controller.is_a?(String) && controller =~ %r{\A/}
230
+ raise ArgumentError, "controller name should not start with a slash"
231
+ end
232
+
233
+ controller = controller.to_s unless controller.is_a?(Regexp)
234
+ action = action.to_s unless action.is_a?(Regexp)
235
+
236
+ if controller.blank? && segment_keys.exclude?(:controller)
237
+ message = "Missing :controller key on routes definition, please check your routes."
238
+ raise ArgumentError, message
239
+ end
240
+
241
+ if action.blank? && segment_keys.exclude?(:action)
242
+ message = "Missing :action key on routes definition, please check your routes."
243
+ raise ArgumentError, message
244
+ end
245
+
246
+ if controller.is_a?(String) && controller !~ /\A[a-z_0-9\/]*\z/
247
+ message = "'#{controller}' is not a supported controller name. This can lead to potential routing problems."
248
+ message << " See http://guides.rubyonrails.org/routing.html#specifying-a-controller-to-use"
249
+ raise ArgumentError, message
250
+ end
251
+
252
+ hash = {}
253
+ hash[:controller] = controller unless controller.blank?
254
+ hash[:action] = action unless action.blank?
255
+ hash
256
+ end
257
+ end
258
+
259
+ def blocks
260
+ if options[:constraints].present? && !options[:constraints].is_a?(Hash)
261
+ [options[:constraints]]
262
+ else
263
+ scope[:blocks] || []
264
+ end
265
+ end
266
+
267
+ def constraints
268
+ @constraints ||= {}.tap do |constraints|
269
+ constraints.merge!(scope[:constraints]) if scope[:constraints]
270
+
271
+ options.except(*IGNORE_OPTIONS).each do |key, option|
272
+ constraints[key] = option if Regexp === option
273
+ end
274
+
275
+ constraints.merge!(options[:constraints]) if options[:constraints].is_a?(Hash)
276
+ end
277
+ end
278
+
279
+ def segment_keys
280
+ @segment_keys ||= path_pattern.names.map{ |s| s.to_sym }
281
+ end
282
+
283
+ def path_pattern
284
+ Journey::Path::Pattern.new(strexp)
285
+ end
286
+
287
+ def strexp
288
+ Journey::Router::Strexp.compile(path, requirements, SEPARATORS)
289
+ end
290
+
291
+ def endpoint
292
+ to.respond_to?(:call) ? to : dispatcher
293
+ end
294
+
295
+ def dispatcher
296
+ Routing::RouteSet::Dispatcher.new(:defaults => defaults)
297
+ end
298
+
299
+ def to
300
+ options[:to]
301
+ end
302
+
303
+ def default_controller
304
+ options[:controller] || scope[:controller]
305
+ end
306
+
307
+ def default_action
308
+ options[:action] || scope[:action]
309
+ end
310
+ end
311
+
312
+ # Invokes Journey::Router::Utils.normalize_path and ensure that
313
+ # (:locale) becomes (/:locale) instead of /(:locale). Except
314
+ # for root cases, where the latter is the correct one.
315
+ def self.normalize_path(path)
316
+ path = Journey::Router::Utils.normalize_path(path)
317
+ path.gsub!(%r{/(\(+)/?}, '\1/') unless path =~ %r{^/\(+[^)]+\)$}
318
+ path
319
+ end
320
+
321
+ def self.normalize_name(name)
322
+ normalize_path(name)[1..-1].tr("/", "_")
323
+ end
324
+
325
+ module Base
326
+ # You can specify what Rails should route "/" to with the root method:
327
+ #
328
+ # root to: 'pages#main'
329
+ #
330
+ # For options, see +match+, as +root+ uses it internally.
331
+ #
332
+ # You can also pass a string which will expand
333
+ #
334
+ # root 'pages#main'
335
+ #
336
+ # You should put the root route at the top of <tt>config/routes.rb</tt>,
337
+ # because this means it will be matched first. As this is the most popular route
338
+ # of most Rails applications, this is beneficial.
339
+ def root(options = {})
340
+ match '/', { :as => :root, :via => :get }.merge!(options)
341
+ end
342
+
343
+ # Matches a url pattern to one or more routes.
344
+ #
345
+ # You should not use the `match` method in your router
346
+ # without specifying an HTTP method.
347
+ #
348
+ # If you want to expose your action to both GET and POST, use:
349
+ #
350
+ # # sets :controller, :action and :id in params
351
+ # match ':controller/:action/:id', via: [:get, :post]
352
+ #
353
+ # Note that +:controller+, +:action+, +:id+ are interpreted as url query
354
+ # parameters and thus available as +params+
355
+ # in an action.
356
+ #
357
+ # If you want to expose your action to GET, use `get` in the router:
358
+ #
359
+ # Instead of:
360
+ #
361
+ # match ":controller/:action/:id"
362
+ #
363
+ # Do:
364
+ #
365
+ # get ":controller/:action/:id"
366
+ #
367
+ # Two of these symbols are special, +:controller+ maps to the controller
368
+ # and +:action+ to the controller's action. A pattern can also map
369
+ # wildcard segments (globs) to params:
370
+ #
371
+ # get 'songs/*category/:title', to: 'songs#show'
372
+ #
373
+ # # 'songs/rock/classic/stairway-to-heaven' sets
374
+ # # params[:category] = 'rock/classic'
375
+ # # params[:title] = 'stairway-to-heaven'
376
+ #
377
+ # When a pattern points to an internal route, the route's +:action+ and
378
+ # +:controller+ should be set in options or hash shorthand. Examples:
379
+ #
380
+ # match 'photos/:id' => 'photos#show', via: [:get]
381
+ # match 'photos/:id', to: 'photos#show', via: [:get]
382
+ # match 'photos/:id', controller: 'photos', action: 'show', via: [:get]
383
+ #
384
+ # A pattern can also point to a +Rack+ endpoint i.e. anything that
385
+ # responds to +call+:
386
+ #
387
+ # match 'photos/:id', to: lambda {|hash| [200, {}, ["Coming soon"]] }, via: [:get]
388
+ # match 'photos/:id', to: PhotoRackApp, via: [:get]
389
+ # # Yes, controller actions are just rack endpoints
390
+ # match 'photos/:id', to: PhotosController.action(:show), via: [:get]
391
+ #
392
+ # Because requesting various HTTP verbs with a single action has security
393
+ # implications, you must either specify the actions in
394
+ # the via options or use one of the HtttpHelpers[rdoc-ref:HttpHelpers]
395
+ # instead +match+
396
+ #
397
+ # === Options
398
+ #
399
+ # Any options not seen here are passed on as params with the url.
400
+ #
401
+ # [:controller]
402
+ # The route's controller.
403
+ #
404
+ # [:action]
405
+ # The route's action.
406
+ #
407
+ # [:param]
408
+ # Overrides the default resource identifier `:id` (name of the
409
+ # dynamic segment used to generate the routes).
410
+ # You can access that segment from your controller using
411
+ # <tt>params[<:param>]</tt>.
412
+ #
413
+ # [:path]
414
+ # The path prefix for the routes.
415
+ #
416
+ # [:module]
417
+ # The namespace for :controller.
418
+ #
419
+ # match 'path', to: 'c#a', module: 'sekret', controller: 'posts', via: [:get]
420
+ # # => Sekret::PostsController
421
+ #
422
+ # See <tt>Scoping#namespace</tt> for its scope equivalent.
423
+ #
424
+ # [:as]
425
+ # The name used to generate routing helpers.
426
+ #
427
+ # [:via]
428
+ # Allowed HTTP verb(s) for route.
429
+ #
430
+ # match 'path', to: 'c#a', via: :get
431
+ # match 'path', to: 'c#a', via: [:get, :post]
432
+ # match 'path', to: 'c#a', via: :all
433
+ #
434
+ # [:to]
435
+ # Points to a +Rack+ endpoint. Can be an object that responds to
436
+ # +call+ or a string representing a controller's action.
437
+ #
438
+ # match 'path', to: 'controller#action', via: [:get]
439
+ # match 'path', to: lambda { |env| [200, {}, ["Success!"]] }, via: [:get]
440
+ # match 'path', to: RackApp, via: [:get]
441
+ #
442
+ # [:on]
443
+ # Shorthand for wrapping routes in a specific RESTful context. Valid
444
+ # values are +:member+, +:collection+, and +:new+. Only use within
445
+ # <tt>resource(s)</tt> block. For example:
446
+ #
447
+ # resource :bar do
448
+ # match 'foo', to: 'c#a', on: :member, via: [:get, :post]
449
+ # end
450
+ #
451
+ # Is equivalent to:
452
+ #
453
+ # resource :bar do
454
+ # member do
455
+ # match 'foo', to: 'c#a', via: [:get, :post]
456
+ # end
457
+ # end
458
+ #
459
+ # [:constraints]
460
+ # Constrains parameters with a hash of regular expressions
461
+ # or an object that responds to <tt>matches?</tt>. In addition, constraints
462
+ # other than path can also be specified with any object
463
+ # that responds to <tt>===</tt> (eg. String, Array, Range, etc.).
464
+ #
465
+ # match 'path/:id', constraints: { id: /[A-Z]\d{5}/ }, via: [:get]
466
+ #
467
+ # match 'json_only', constraints: { format: 'json' }, via: [:get]
468
+ #
469
+ # class Whitelist
470
+ # def matches?(request) request.remote_ip == '1.2.3.4' end
471
+ # end
472
+ # match 'path', to: 'c#a', constraints: Whitelist.new, via: [:get]
473
+ #
474
+ # See <tt>Scoping#constraints</tt> for more examples with its scope
475
+ # equivalent.
476
+ #
477
+ # [:defaults]
478
+ # Sets defaults for parameters
479
+ #
480
+ # # Sets params[:format] to 'jpg' by default
481
+ # match 'path', to: 'c#a', defaults: { format: 'jpg' }, via: [:get]
482
+ #
483
+ # See <tt>Scoping#defaults</tt> for its scope equivalent.
484
+ #
485
+ # [:anchor]
486
+ # Boolean to anchor a <tt>match</tt> pattern. Default is true. When set to
487
+ # false, the pattern matches any request prefixed with the given path.
488
+ #
489
+ # # Matches any request starting with 'path'
490
+ # match 'path', to: 'c#a', anchor: false, via: [:get]
491
+ #
492
+ # [:format]
493
+ # Allows you to specify the default value for optional +format+
494
+ # segment or disable it by supplying +false+.
495
+ def match(path, options=nil)
496
+ end
497
+
498
+ # Mount a Rack-based application to be used within the application.
499
+ #
500
+ # mount SomeRackApp, at: "some_route"
501
+ #
502
+ # Alternatively:
503
+ #
504
+ # mount(SomeRackApp => "some_route")
505
+ #
506
+ # For options, see +match+, as +mount+ uses it internally.
507
+ #
508
+ # All mounted applications come with routing helpers to access them.
509
+ # These are named after the class specified, so for the above example
510
+ # the helper is either +some_rack_app_path+ or +some_rack_app_url+.
511
+ # To customize this helper's name, use the +:as+ option:
512
+ #
513
+ # mount(SomeRackApp => "some_route", as: "exciting")
514
+ #
515
+ # This will generate the +exciting_path+ and +exciting_url+ helpers
516
+ # which can be used to navigate to this mounted app.
517
+ def mount(app, options = nil)
518
+ if options
519
+ path = options.delete(:at)
520
+ else
521
+ unless Hash === app
522
+ raise ArgumentError, "must be called with mount point"
523
+ end
524
+
525
+ options = app
526
+ app, path = options.find { |k, _| k.respond_to?(:call) }
527
+ options.delete(app) if app
528
+ end
529
+
530
+ raise "A rack application must be specified" unless path
531
+
532
+ options[:as] ||= app_name(app)
533
+ target_as = name_for_action(options[:as], path)
534
+ options[:via] ||= :all
535
+
536
+ match(path, options.merge(:to => app, :anchor => false, :format => false))
537
+
538
+ define_generate_prefix(app, target_as)
539
+ self
540
+ end
541
+
542
+ def default_url_options=(options)
543
+ @set.default_url_options = options
544
+ end
545
+ alias_method :default_url_options, :default_url_options=
546
+
547
+ def with_default_scope(scope, &block)
548
+ scope(scope) do
549
+ instance_exec(&block)
550
+ end
551
+ end
552
+
553
+ # Query if the following named route was already defined.
554
+ def has_named_route?(name)
555
+ @set.named_routes.routes[name.to_sym]
556
+ end
557
+
558
+ private
559
+ def app_name(app)
560
+ return unless app.respond_to?(:routes)
561
+
562
+ if app.respond_to?(:railtie_name)
563
+ app.railtie_name
564
+ else
565
+ class_name = app.class.is_a?(Class) ? app.name : app.class.name
566
+ ActiveSupport::Inflector.underscore(class_name).tr("/", "_")
567
+ end
568
+ end
569
+
570
+ def define_generate_prefix(app, name)
571
+ return unless app.respond_to?(:routes) && app.routes.respond_to?(:define_mounted_helper)
572
+
573
+ _route = @set.named_routes.routes[name.to_sym]
574
+ _routes = @set
575
+ app.routes.define_mounted_helper(name)
576
+ app.routes.singleton_class.class_eval do
577
+ redefine_method :mounted? do
578
+ true
579
+ end
580
+
581
+ redefine_method :_generate_prefix do |options|
582
+ prefix_options = options.slice(*_route.segment_keys)
583
+ # we must actually delete prefix segment keys to avoid passing them to next url_for
584
+ _route.segment_keys.each { |k| options.delete(k) }
585
+ _routes.url_helpers.send("#{name}_path", prefix_options)
586
+ end
587
+ end
588
+ end
589
+ end
590
+
591
+ module HttpHelpers
592
+ # Define a route that only recognizes HTTP GET.
593
+ # For supported arguments, see match[rdoc-ref:Base#match]
594
+ #
595
+ # get 'bacon', to: 'food#bacon'
596
+ def get(*args, &block)
597
+ map_method(:get, args, &block)
598
+ end
599
+
600
+ # Define a route that only recognizes HTTP POST.
601
+ # For supported arguments, see match[rdoc-ref:Base#match]
602
+ #
603
+ # post 'bacon', to: 'food#bacon'
604
+ def post(*args, &block)
605
+ map_method(:post, args, &block)
606
+ end
607
+
608
+ # Define a route that only recognizes HTTP PATCH.
609
+ # For supported arguments, see match[rdoc-ref:Base#match]
610
+ #
611
+ # patch 'bacon', to: 'food#bacon'
612
+ def patch(*args, &block)
613
+ map_method(:patch, args, &block)
614
+ end
615
+
616
+ # Define a route that only recognizes HTTP PUT.
617
+ # For supported arguments, see match[rdoc-ref:Base#match]
618
+ #
619
+ # put 'bacon', to: 'food#bacon'
620
+ def put(*args, &block)
621
+ map_method(:put, args, &block)
622
+ end
623
+
624
+ # Define a route that only recognizes HTTP DELETE.
625
+ # For supported arguments, see match[rdoc-ref:Base#match]
626
+ #
627
+ # delete 'broccoli', to: 'food#broccoli'
628
+ def delete(*args, &block)
629
+ map_method(:delete, args, &block)
630
+ end
631
+
632
+ private
633
+ def map_method(method, args, &block)
634
+ options = args.extract_options!
635
+ options[:via] = method
636
+ match(*args, options, &block)
637
+ self
638
+ end
639
+ end
640
+
641
+ # You may wish to organize groups of controllers under a namespace.
642
+ # Most commonly, you might group a number of administrative controllers
643
+ # under an +admin+ namespace. You would place these controllers under
644
+ # the <tt>app/controllers/admin</tt> directory, and you can group them
645
+ # together in your router:
646
+ #
647
+ # namespace "admin" do
648
+ # resources :posts, :comments
649
+ # end
650
+ #
651
+ # This will create a number of routes for each of the posts and comments
652
+ # controller. For <tt>Admin::PostsController</tt>, Rails will create:
653
+ #
654
+ # GET /admin/posts
655
+ # GET /admin/posts/new
656
+ # POST /admin/posts
657
+ # GET /admin/posts/1
658
+ # GET /admin/posts/1/edit
659
+ # PATCH/PUT /admin/posts/1
660
+ # DELETE /admin/posts/1
661
+ #
662
+ # If you want to route /posts (without the prefix /admin) to
663
+ # <tt>Admin::PostsController</tt>, you could use
664
+ #
665
+ # scope module: "admin" do
666
+ # resources :posts
667
+ # end
668
+ #
669
+ # or, for a single case
670
+ #
671
+ # resources :posts, module: "admin"
672
+ #
673
+ # If you want to route /admin/posts to +PostsController+
674
+ # (without the Admin:: module prefix), you could use
675
+ #
676
+ # scope "/admin" do
677
+ # resources :posts
678
+ # end
679
+ #
680
+ # or, for a single case
681
+ #
682
+ # resources :posts, path: "/admin/posts"
683
+ #
684
+ # In each of these cases, the named routes remain the same as if you did
685
+ # not use scope. In the last case, the following paths map to
686
+ # +PostsController+:
687
+ #
688
+ # GET /admin/posts
689
+ # GET /admin/posts/new
690
+ # POST /admin/posts
691
+ # GET /admin/posts/1
692
+ # GET /admin/posts/1/edit
693
+ # PATCH/PUT /admin/posts/1
694
+ # DELETE /admin/posts/1
695
+ module Scoping
696
+ # Scopes a set of routes to the given default options.
697
+ #
698
+ # Take the following route definition as an example:
699
+ #
700
+ # scope path: ":account_id", as: "account" do
701
+ # resources :projects
702
+ # end
703
+ #
704
+ # This generates helpers such as +account_projects_path+, just like +resources+ does.
705
+ # The difference here being that the routes generated are like /:account_id/projects,
706
+ # rather than /accounts/:account_id/projects.
707
+ #
708
+ # === Options
709
+ #
710
+ # Takes same options as <tt>Base#match</tt> and <tt>Resources#resources</tt>.
711
+ #
712
+ # # route /posts (without the prefix /admin) to <tt>Admin::PostsController</tt>
713
+ # scope module: "admin" do
714
+ # resources :posts
715
+ # end
716
+ #
717
+ # # prefix the posts resource's requests with '/admin'
718
+ # scope path: "/admin" do
719
+ # resources :posts
720
+ # end
721
+ #
722
+ # # prefix the routing helper name: +sekret_posts_path+ instead of +posts_path+
723
+ # scope as: "sekret" do
724
+ # resources :posts
725
+ # end
726
+ def scope(*args)
727
+ options = args.extract_options!.dup
728
+ recover = {}
729
+
730
+ options[:path] = args.flatten.join('/') if args.any?
731
+ options[:constraints] ||= {}
732
+
733
+ unless nested_scope?
734
+ options[:shallow_path] ||= options[:path] if options.key?(:path)
735
+ options[:shallow_prefix] ||= options[:as] if options.key?(:as)
736
+ end
737
+
738
+ if options[:constraints].is_a?(Hash)
739
+ defaults = options[:constraints].select do
740
+ |k, v| URL_OPTIONS.include?(k) && (v.is_a?(String) || v.is_a?(Fixnum))
741
+ end
742
+
743
+ (options[:defaults] ||= {}).reverse_merge!(defaults)
744
+ else
745
+ block, options[:constraints] = options[:constraints], {}
746
+ end
747
+
748
+ SCOPE_OPTIONS.each do |option|
749
+ if option == :blocks
750
+ value = block
751
+ elsif option == :options
752
+ value = options
753
+ else
754
+ value = options.delete(option)
755
+ end
756
+
757
+ if value
758
+ recover[option] = @scope[option]
759
+ @scope[option] = send("merge_#{option}_scope", @scope[option], value)
760
+ end
761
+ end
762
+
763
+ yield
764
+ self
765
+ ensure
766
+ @scope.merge!(recover)
767
+ end
768
+
769
+ # Scopes routes to a specific controller
770
+ #
771
+ # controller "food" do
772
+ # match "bacon", action: "bacon"
773
+ # end
774
+ def controller(controller, options={})
775
+ options[:controller] = controller
776
+ scope(options) { yield }
777
+ end
778
+
779
+ # Scopes routes to a specific namespace. For example:
780
+ #
781
+ # namespace :admin do
782
+ # resources :posts
783
+ # end
784
+ #
785
+ # This generates the following routes:
786
+ #
787
+ # admin_posts GET /admin/posts(.:format) admin/posts#index
788
+ # admin_posts POST /admin/posts(.:format) admin/posts#create
789
+ # new_admin_post GET /admin/posts/new(.:format) admin/posts#new
790
+ # edit_admin_post GET /admin/posts/:id/edit(.:format) admin/posts#edit
791
+ # admin_post GET /admin/posts/:id(.:format) admin/posts#show
792
+ # admin_post PATCH/PUT /admin/posts/:id(.:format) admin/posts#update
793
+ # admin_post DELETE /admin/posts/:id(.:format) admin/posts#destroy
794
+ #
795
+ # === Options
796
+ #
797
+ # The +:path+, +:as+, +:module+, +:shallow_path+ and +:shallow_prefix+
798
+ # options all default to the name of the namespace.
799
+ #
800
+ # For options, see <tt>Base#match</tt>. For +:shallow_path+ option, see
801
+ # <tt>Resources#resources</tt>.
802
+ #
803
+ # # accessible through /sekret/posts rather than /admin/posts
804
+ # namespace :admin, path: "sekret" do
805
+ # resources :posts
806
+ # end
807
+ #
808
+ # # maps to <tt>Sekret::PostsController</tt> rather than <tt>Admin::PostsController</tt>
809
+ # namespace :admin, module: "sekret" do
810
+ # resources :posts
811
+ # end
812
+ #
813
+ # # generates +sekret_posts_path+ rather than +admin_posts_path+
814
+ # namespace :admin, as: "sekret" do
815
+ # resources :posts
816
+ # end
817
+ def namespace(path, options = {})
818
+ path = path.to_s
819
+
820
+ defaults = {
821
+ module: path,
822
+ path: options.fetch(:path, path),
823
+ as: options.fetch(:as, path),
824
+ shallow_path: options.fetch(:path, path),
825
+ shallow_prefix: options.fetch(:as, path)
826
+ }
827
+
828
+ scope(defaults.merge!(options)) { yield }
829
+ end
830
+
831
+ # === Parameter Restriction
832
+ # Allows you to constrain the nested routes based on a set of rules.
833
+ # For instance, in order to change the routes to allow for a dot character in the +id+ parameter:
834
+ #
835
+ # constraints(id: /\d+\.\d+/) do
836
+ # resources :posts
837
+ # end
838
+ #
839
+ # Now routes such as +/posts/1+ will no longer be valid, but +/posts/1.1+ will be.
840
+ # The +id+ parameter must match the constraint passed in for this example.
841
+ #
842
+ # You may use this to also restrict other parameters:
843
+ #
844
+ # resources :posts do
845
+ # constraints(post_id: /\d+\.\d+/) do
846
+ # resources :comments
847
+ # end
848
+ # end
849
+ #
850
+ # === Restricting based on IP
851
+ #
852
+ # Routes can also be constrained to an IP or a certain range of IP addresses:
853
+ #
854
+ # constraints(ip: /192\.168\.\d+\.\d+/) do
855
+ # resources :posts
856
+ # end
857
+ #
858
+ # Any user connecting from the 192.168.* range will be able to see this resource,
859
+ # where as any user connecting outside of this range will be told there is no such route.
860
+ #
861
+ # === Dynamic request matching
862
+ #
863
+ # Requests to routes can be constrained based on specific criteria:
864
+ #
865
+ # constraints(lambda { |req| req.env["HTTP_USER_AGENT"] =~ /iPhone/ }) do
866
+ # resources :iphones
867
+ # end
868
+ #
869
+ # You are able to move this logic out into a class if it is too complex for routes.
870
+ # This class must have a +matches?+ method defined on it which either returns +true+
871
+ # if the user should be given access to that route, or +false+ if the user should not.
872
+ #
873
+ # class Iphone
874
+ # def self.matches?(request)
875
+ # request.env["HTTP_USER_AGENT"] =~ /iPhone/
876
+ # end
877
+ # end
878
+ #
879
+ # An expected place for this code would be +lib/constraints+.
880
+ #
881
+ # This class is then used like this:
882
+ #
883
+ # constraints(Iphone) do
884
+ # resources :iphones
885
+ # end
886
+ def constraints(constraints = {})
887
+ scope(:constraints => constraints) { yield }
888
+ end
889
+
890
+ # Allows you to set default parameters for a route, such as this:
891
+ # defaults id: 'home' do
892
+ # match 'scoped_pages/(:id)', to: 'pages#show'
893
+ # end
894
+ # Using this, the +:id+ parameter here will default to 'home'.
895
+ def defaults(defaults = {})
896
+ scope(:defaults => defaults) { yield }
897
+ end
898
+
899
+ private
900
+ def merge_path_scope(parent, child) #:nodoc:
901
+ Mapper.normalize_path("#{parent}/#{child}")
902
+ end
903
+
904
+ def merge_shallow_path_scope(parent, child) #:nodoc:
905
+ Mapper.normalize_path("#{parent}/#{child}")
906
+ end
907
+
908
+ def merge_as_scope(parent, child) #:nodoc:
909
+ parent ? "#{parent}_#{child}" : child
910
+ end
911
+
912
+ def merge_shallow_prefix_scope(parent, child) #:nodoc:
913
+ parent ? "#{parent}_#{child}" : child
914
+ end
915
+
916
+ def merge_module_scope(parent, child) #:nodoc:
917
+ parent ? "#{parent}/#{child}" : child
918
+ end
919
+
920
+ def merge_controller_scope(parent, child) #:nodoc:
921
+ child
922
+ end
923
+
924
+ def merge_action_scope(parent, child) #:nodoc:
925
+ child
926
+ end
927
+
928
+ def merge_path_names_scope(parent, child) #:nodoc:
929
+ merge_options_scope(parent, child)
930
+ end
931
+
932
+ def merge_constraints_scope(parent, child) #:nodoc:
933
+ merge_options_scope(parent, child)
934
+ end
935
+
936
+ def merge_defaults_scope(parent, child) #:nodoc:
937
+ merge_options_scope(parent, child)
938
+ end
939
+
940
+ def merge_blocks_scope(parent, child) #:nodoc:
941
+ merged = parent ? parent.dup : []
942
+ merged << child if child
943
+ merged
944
+ end
945
+
946
+ def merge_options_scope(parent, child) #:nodoc:
947
+ (parent || {}).except(*override_keys(child)).merge!(child)
948
+ end
949
+
950
+ def merge_shallow_scope(parent, child) #:nodoc:
951
+ child ? true : false
952
+ end
953
+
954
+ def override_keys(child) #:nodoc:
955
+ child.key?(:only) || child.key?(:except) ? [:only, :except] : []
956
+ end
957
+ end
958
+
959
+ # Resource routing allows you to quickly declare all of the common routes
960
+ # for a given resourceful controller. Instead of declaring separate routes
961
+ # for your +index+, +show+, +new+, +edit+, +create+, +update+ and +destroy+
962
+ # actions, a resourceful route declares them in a single line of code:
963
+ #
964
+ # resources :photos
965
+ #
966
+ # Sometimes, you have a resource that clients always look up without
967
+ # referencing an ID. A common example, /profile always shows the profile of
968
+ # the currently logged in user. In this case, you can use a singular resource
969
+ # to map /profile (rather than /profile/:id) to the show action.
970
+ #
971
+ # resource :profile
972
+ #
973
+ # It's common to have resources that are logically children of other
974
+ # resources:
975
+ #
976
+ # resources :magazines do
977
+ # resources :ads
978
+ # end
979
+ #
980
+ # You may wish to organize groups of controllers under a namespace. Most
981
+ # commonly, you might group a number of administrative controllers under
982
+ # an +admin+ namespace. You would place these controllers under the
983
+ # <tt>app/controllers/admin</tt> directory, and you can group them together
984
+ # in your router:
985
+ #
986
+ # namespace "admin" do
987
+ # resources :posts, :comments
988
+ # end
989
+ #
990
+ # By default the +:id+ parameter doesn't accept dots. If you need to
991
+ # use dots as part of the +:id+ parameter add a constraint which
992
+ # overrides this restriction, e.g:
993
+ #
994
+ # resources :articles, id: /[^\/]+/
995
+ #
996
+ # This allows any character other than a slash as part of your +:id+.
997
+ #
998
+ module Resources
999
+ # CANONICAL_ACTIONS holds all actions that does not need a prefix or
1000
+ # a path appended since they fit properly in their scope level.
1001
+ VALID_ON_OPTIONS = [:new, :collection, :member]
1002
+ RESOURCE_OPTIONS = [:as, :controller, :path, :only, :except, :param, :concerns]
1003
+ CANONICAL_ACTIONS = %w(index create new show update destroy)
1004
+ RESOURCE_METHOD_SCOPES = [:collection, :member, :new]
1005
+ RESOURCE_SCOPES = [:resource, :resources]
1006
+
1007
+ class Resource #:nodoc:
1008
+ attr_reader :controller, :path, :options, :param
1009
+
1010
+ def initialize(entities, options = {})
1011
+ @name = entities.to_s
1012
+ @path = (options[:path] || @name).to_s
1013
+ @controller = (options[:controller] || @name).to_s
1014
+ @as = options[:as]
1015
+ @param = (options[:param] || :id).to_sym
1016
+ @options = options
1017
+ @shallow = false
1018
+ end
1019
+
1020
+ def default_actions
1021
+ [:index, :create, :new, :show, :update, :destroy, :edit]
1022
+ end
1023
+
1024
+ def actions
1025
+ if only = @options[:only]
1026
+ Array(only).map(&:to_sym)
1027
+ elsif except = @options[:except]
1028
+ default_actions - Array(except).map(&:to_sym)
1029
+ else
1030
+ default_actions
1031
+ end
1032
+ end
1033
+
1034
+ def name
1035
+ @as || @name
1036
+ end
1037
+
1038
+ def plural
1039
+ @plural ||= name.to_s
1040
+ end
1041
+
1042
+ def singular
1043
+ @singular ||= name.to_s.singularize
1044
+ end
1045
+
1046
+ alias :member_name :singular
1047
+
1048
+ # Checks for uncountable plurals, and appends "_index" if the plural
1049
+ # and singular form are the same.
1050
+ def collection_name
1051
+ singular == plural ? "#{plural}_index" : plural
1052
+ end
1053
+
1054
+ def resource_scope
1055
+ { :controller => controller }
1056
+ end
1057
+
1058
+ alias :collection_scope :path
1059
+
1060
+ def member_scope
1061
+ "#{path}/:#{param}"
1062
+ end
1063
+
1064
+ alias :shallow_scope :member_scope
1065
+
1066
+ def new_scope(new_path)
1067
+ "#{path}/#{new_path}"
1068
+ end
1069
+
1070
+ def nested_param
1071
+ :"#{singular}_#{param}"
1072
+ end
1073
+
1074
+ def nested_scope
1075
+ "#{path}/:#{nested_param}"
1076
+ end
1077
+
1078
+ def shallow=(value)
1079
+ @shallow = value
1080
+ end
1081
+
1082
+ def shallow?
1083
+ @shallow
1084
+ end
1085
+ end
1086
+
1087
+ class SingletonResource < Resource #:nodoc:
1088
+ def initialize(entities, options)
1089
+ super
1090
+ @as = nil
1091
+ @controller = (options[:controller] || plural).to_s
1092
+ @as = options[:as]
1093
+ end
1094
+
1095
+ def default_actions
1096
+ [:show, :create, :update, :destroy, :new, :edit]
1097
+ end
1098
+
1099
+ def plural
1100
+ @plural ||= name.to_s.pluralize
1101
+ end
1102
+
1103
+ def singular
1104
+ @singular ||= name.to_s
1105
+ end
1106
+
1107
+ alias :member_name :singular
1108
+ alias :collection_name :singular
1109
+
1110
+ alias :member_scope :path
1111
+ alias :nested_scope :path
1112
+ end
1113
+
1114
+ def resources_path_names(options)
1115
+ @scope[:path_names].merge!(options)
1116
+ end
1117
+
1118
+ # Sometimes, you have a resource that clients always look up without
1119
+ # referencing an ID. A common example, /profile always shows the
1120
+ # profile of the currently logged in user. In this case, you can use
1121
+ # a singular resource to map /profile (rather than /profile/:id) to
1122
+ # the show action:
1123
+ #
1124
+ # resource :profile
1125
+ #
1126
+ # creates six different routes in your application, all mapping to
1127
+ # the +Profiles+ controller (note that the controller is named after
1128
+ # the plural):
1129
+ #
1130
+ # GET /profile/new
1131
+ # POST /profile
1132
+ # GET /profile
1133
+ # GET /profile/edit
1134
+ # PATCH/PUT /profile
1135
+ # DELETE /profile
1136
+ #
1137
+ # === Options
1138
+ # Takes same options as +resources+.
1139
+ def resource(*resources, &block)
1140
+ options = resources.extract_options!.dup
1141
+
1142
+ if apply_common_behavior_for(:resource, resources, options, &block)
1143
+ return self
1144
+ end
1145
+
1146
+ resource_scope(:resource, SingletonResource.new(resources.pop, options)) do
1147
+ yield if block_given?
1148
+
1149
+ concerns(options[:concerns]) if options[:concerns]
1150
+
1151
+ collection do
1152
+ post :create
1153
+ end if parent_resource.actions.include?(:create)
1154
+
1155
+ new do
1156
+ get :new
1157
+ end if parent_resource.actions.include?(:new)
1158
+
1159
+ set_member_mappings_for_resource
1160
+ end
1161
+
1162
+ self
1163
+ end
1164
+
1165
+ # In Rails, a resourceful route provides a mapping between HTTP verbs
1166
+ # and URLs and controller actions. By convention, each action also maps
1167
+ # to particular CRUD operations in a database. A single entry in the
1168
+ # routing file, such as
1169
+ #
1170
+ # resources :photos
1171
+ #
1172
+ # creates seven different routes in your application, all mapping to
1173
+ # the +Photos+ controller:
1174
+ #
1175
+ # GET /photos
1176
+ # GET /photos/new
1177
+ # POST /photos
1178
+ # GET /photos/:id
1179
+ # GET /photos/:id/edit
1180
+ # PATCH/PUT /photos/:id
1181
+ # DELETE /photos/:id
1182
+ #
1183
+ # Resources can also be nested infinitely by using this block syntax:
1184
+ #
1185
+ # resources :photos do
1186
+ # resources :comments
1187
+ # end
1188
+ #
1189
+ # This generates the following comments routes:
1190
+ #
1191
+ # GET /photos/:photo_id/comments
1192
+ # GET /photos/:photo_id/comments/new
1193
+ # POST /photos/:photo_id/comments
1194
+ # GET /photos/:photo_id/comments/:id
1195
+ # GET /photos/:photo_id/comments/:id/edit
1196
+ # PATCH/PUT /photos/:photo_id/comments/:id
1197
+ # DELETE /photos/:photo_id/comments/:id
1198
+ #
1199
+ # === Options
1200
+ # Takes same options as <tt>Base#match</tt> as well as:
1201
+ #
1202
+ # [:path_names]
1203
+ # Allows you to change the segment component of the +edit+ and +new+ actions.
1204
+ # Actions not specified are not changed.
1205
+ #
1206
+ # resources :posts, path_names: { new: "brand_new" }
1207
+ #
1208
+ # The above example will now change /posts/new to /posts/brand_new
1209
+ #
1210
+ # [:path]
1211
+ # Allows you to change the path prefix for the resource.
1212
+ #
1213
+ # resources :posts, path: 'postings'
1214
+ #
1215
+ # The resource and all segments will now route to /postings instead of /posts
1216
+ #
1217
+ # [:only]
1218
+ # Only generate routes for the given actions.
1219
+ #
1220
+ # resources :cows, only: :show
1221
+ # resources :cows, only: [:show, :index]
1222
+ #
1223
+ # [:except]
1224
+ # Generate all routes except for the given actions.
1225
+ #
1226
+ # resources :cows, except: :show
1227
+ # resources :cows, except: [:show, :index]
1228
+ #
1229
+ # [:shallow]
1230
+ # Generates shallow routes for nested resource(s). When placed on a parent resource,
1231
+ # generates shallow routes for all nested resources.
1232
+ #
1233
+ # resources :posts, shallow: true do
1234
+ # resources :comments
1235
+ # end
1236
+ #
1237
+ # Is the same as:
1238
+ #
1239
+ # resources :posts do
1240
+ # resources :comments, except: [:show, :edit, :update, :destroy]
1241
+ # end
1242
+ # resources :comments, only: [:show, :edit, :update, :destroy]
1243
+ #
1244
+ # This allows URLs for resources that otherwise would be deeply nested such
1245
+ # as a comment on a blog post like <tt>/posts/a-long-permalink/comments/1234</tt>
1246
+ # to be shortened to just <tt>/comments/1234</tt>.
1247
+ #
1248
+ # [:shallow_path]
1249
+ # Prefixes nested shallow routes with the specified path.
1250
+ #
1251
+ # scope shallow_path: "sekret" do
1252
+ # resources :posts do
1253
+ # resources :comments, shallow: true
1254
+ # end
1255
+ # end
1256
+ #
1257
+ # The +comments+ resource here will have the following routes generated for it:
1258
+ #
1259
+ # post_comments GET /posts/:post_id/comments(.:format)
1260
+ # post_comments POST /posts/:post_id/comments(.:format)
1261
+ # new_post_comment GET /posts/:post_id/comments/new(.:format)
1262
+ # edit_comment GET /sekret/comments/:id/edit(.:format)
1263
+ # comment GET /sekret/comments/:id(.:format)
1264
+ # comment PATCH/PUT /sekret/comments/:id(.:format)
1265
+ # comment DELETE /sekret/comments/:id(.:format)
1266
+ #
1267
+ # [:shallow_prefix]
1268
+ # Prefixes nested shallow route names with specified prefix.
1269
+ #
1270
+ # scope shallow_prefix: "sekret" do
1271
+ # resources :posts do
1272
+ # resources :comments, shallow: true
1273
+ # end
1274
+ # end
1275
+ #
1276
+ # The +comments+ resource here will have the following routes generated for it:
1277
+ #
1278
+ # post_comments GET /posts/:post_id/comments(.:format)
1279
+ # post_comments POST /posts/:post_id/comments(.:format)
1280
+ # new_post_comment GET /posts/:post_id/comments/new(.:format)
1281
+ # edit_sekret_comment GET /comments/:id/edit(.:format)
1282
+ # sekret_comment GET /comments/:id(.:format)
1283
+ # sekret_comment PATCH/PUT /comments/:id(.:format)
1284
+ # sekret_comment DELETE /comments/:id(.:format)
1285
+ #
1286
+ # [:format]
1287
+ # Allows you to specify the default value for optional +format+
1288
+ # segment or disable it by supplying +false+.
1289
+ #
1290
+ # === Examples
1291
+ #
1292
+ # # routes call <tt>Admin::PostsController</tt>
1293
+ # resources :posts, module: "admin"
1294
+ #
1295
+ # # resource actions are at /admin/posts.
1296
+ # resources :posts, path: "admin/posts"
1297
+ def resources(*resources, &block)
1298
+ options = resources.extract_options!.dup
1299
+
1300
+ if apply_common_behavior_for(:resources, resources, options, &block)
1301
+ return self
1302
+ end
1303
+
1304
+ resource_scope(:resources, Resource.new(resources.pop, options)) do
1305
+ yield if block_given?
1306
+
1307
+ concerns(options[:concerns]) if options[:concerns]
1308
+
1309
+ collection do
1310
+ get :index if parent_resource.actions.include?(:index)
1311
+ post :create if parent_resource.actions.include?(:create)
1312
+ end
1313
+
1314
+ new do
1315
+ get :new
1316
+ end if parent_resource.actions.include?(:new)
1317
+
1318
+ set_member_mappings_for_resource
1319
+ end
1320
+
1321
+ self
1322
+ end
1323
+
1324
+ # To add a route to the collection:
1325
+ #
1326
+ # resources :photos do
1327
+ # collection do
1328
+ # get 'search'
1329
+ # end
1330
+ # end
1331
+ #
1332
+ # This will enable Rails to recognize paths such as <tt>/photos/search</tt>
1333
+ # with GET, and route to the search action of +PhotosController+. It will also
1334
+ # create the <tt>search_photos_url</tt> and <tt>search_photos_path</tt>
1335
+ # route helpers.
1336
+ def collection
1337
+ unless resource_scope?
1338
+ raise ArgumentError, "can't use collection outside resource(s) scope"
1339
+ end
1340
+
1341
+ with_scope_level(:collection) do
1342
+ scope(parent_resource.collection_scope) do
1343
+ yield
1344
+ end
1345
+ end
1346
+ end
1347
+
1348
+ # To add a member route, add a member block into the resource block:
1349
+ #
1350
+ # resources :photos do
1351
+ # member do
1352
+ # get 'preview'
1353
+ # end
1354
+ # end
1355
+ #
1356
+ # This will recognize <tt>/photos/1/preview</tt> with GET, and route to the
1357
+ # preview action of +PhotosController+. It will also create the
1358
+ # <tt>preview_photo_url</tt> and <tt>preview_photo_path</tt> helpers.
1359
+ def member
1360
+ unless resource_scope?
1361
+ raise ArgumentError, "can't use member outside resource(s) scope"
1362
+ end
1363
+
1364
+ with_scope_level(:member) do
1365
+ if shallow?
1366
+ shallow_scope(parent_resource.member_scope) { yield }
1367
+ else
1368
+ scope(parent_resource.member_scope) { yield }
1369
+ end
1370
+ end
1371
+ end
1372
+
1373
+ def new
1374
+ unless resource_scope?
1375
+ raise ArgumentError, "can't use new outside resource(s) scope"
1376
+ end
1377
+
1378
+ with_scope_level(:new) do
1379
+ scope(parent_resource.new_scope(action_path(:new))) do
1380
+ yield
1381
+ end
1382
+ end
1383
+ end
1384
+
1385
+ def nested
1386
+ unless resource_scope?
1387
+ raise ArgumentError, "can't use nested outside resource(s) scope"
1388
+ end
1389
+
1390
+ with_scope_level(:nested) do
1391
+ if shallow? && shallow_nesting_depth >= 1
1392
+ shallow_scope(parent_resource.nested_scope, nested_options) { yield }
1393
+ else
1394
+ scope(parent_resource.nested_scope, nested_options) { yield }
1395
+ end
1396
+ end
1397
+ end
1398
+
1399
+ # See ActionDispatch::Routing::Mapper::Scoping#namespace
1400
+ def namespace(path, options = {})
1401
+ if resource_scope?
1402
+ nested { super }
1403
+ else
1404
+ super
1405
+ end
1406
+ end
1407
+
1408
+ def shallow
1409
+ scope(:shallow => true) do
1410
+ yield
1411
+ end
1412
+ end
1413
+
1414
+ def shallow?
1415
+ parent_resource.instance_of?(Resource) && @scope[:shallow]
1416
+ end
1417
+
1418
+ # match 'path' => 'controller#action'
1419
+ # match 'path', to: 'controller#action'
1420
+ # match 'path', 'otherpath', on: :member, via: :get
1421
+ def match(path, *rest)
1422
+ if rest.empty? && Hash === path
1423
+ options = path
1424
+ path, to = options.find { |name, _value| name.is_a?(String) }
1425
+ options[:to] = to
1426
+ options.delete(path)
1427
+ paths = [path]
1428
+ else
1429
+ options = rest.pop || {}
1430
+ paths = [path] + rest
1431
+ end
1432
+
1433
+ options[:anchor] = true unless options.key?(:anchor)
1434
+
1435
+ if options[:on] && !VALID_ON_OPTIONS.include?(options[:on])
1436
+ raise ArgumentError, "Unknown scope #{on.inspect} given to :on"
1437
+ end
1438
+
1439
+ if @scope[:controller] && @scope[:action]
1440
+ options[:to] ||= "#{@scope[:controller]}##{@scope[:action]}"
1441
+ end
1442
+
1443
+ paths.each do |_path|
1444
+ route_options = options.dup
1445
+ route_options[:path] ||= _path if _path.is_a?(String)
1446
+
1447
+ path_without_format = _path.to_s.sub(/\(\.:format\)$/, '')
1448
+ if using_match_shorthand?(path_without_format, route_options)
1449
+ route_options[:to] ||= path_without_format.gsub(%r{^/}, "").sub(%r{/([^/]*)$}, '#\1')
1450
+ route_options[:to].tr!("-", "_")
1451
+ end
1452
+
1453
+ decomposed_match(_path, route_options)
1454
+ end
1455
+ self
1456
+ end
1457
+
1458
+ def using_match_shorthand?(path, options)
1459
+ path && (options[:to] || options[:action]).nil? && path =~ %r{/[\w/]+$}
1460
+ end
1461
+
1462
+ def decomposed_match(path, options) # :nodoc:
1463
+ if on = options.delete(:on)
1464
+ send(on) { decomposed_match(path, options) }
1465
+ else
1466
+ case @scope[:scope_level]
1467
+ when :resources
1468
+ nested { decomposed_match(path, options) }
1469
+ when :resource
1470
+ member { decomposed_match(path, options) }
1471
+ else
1472
+ add_route(path, options)
1473
+ end
1474
+ end
1475
+ end
1476
+
1477
+ def add_route(action, options) # :nodoc:
1478
+ path = path_for_action(action, options.delete(:path))
1479
+ action = action.to_s.dup
1480
+
1481
+ if action =~ /^[\w\-\/]+$/
1482
+ options[:action] ||= action.tr('-', '_') unless action.include?("/")
1483
+ else
1484
+ action = nil
1485
+ end
1486
+
1487
+ if !options.fetch(:as, true)
1488
+ options.delete(:as)
1489
+ else
1490
+ options[:as] = name_for_action(options[:as], action)
1491
+ end
1492
+
1493
+ mapping = Mapping.new(@set, @scope, URI.parser.escape(path), options)
1494
+ app, conditions, requirements, defaults, as, anchor = mapping.to_route
1495
+ @set.add_route(app, conditions, requirements, defaults, as, anchor)
1496
+ end
1497
+
1498
+ def root(path, options={})
1499
+ if path.is_a?(String)
1500
+ options[:to] = path
1501
+ elsif path.is_a?(Hash) and options.empty?
1502
+ options = path
1503
+ else
1504
+ raise ArgumentError, "must be called with a path and/or options"
1505
+ end
1506
+
1507
+ if @scope[:scope_level] == :resources
1508
+ with_scope_level(:root) do
1509
+ scope(parent_resource.path) do
1510
+ super(options)
1511
+ end
1512
+ end
1513
+ else
1514
+ super(options)
1515
+ end
1516
+ end
1517
+
1518
+ protected
1519
+
1520
+ def parent_resource #:nodoc:
1521
+ @scope[:scope_level_resource]
1522
+ end
1523
+
1524
+ def apply_common_behavior_for(method, resources, options, &block) #:nodoc:
1525
+ if resources.length > 1
1526
+ resources.each { |r| send(method, r, options, &block) }
1527
+ return true
1528
+ end
1529
+
1530
+ if options.delete(:shallow)
1531
+ shallow do
1532
+ send(method, resources.pop, options, &block)
1533
+ end
1534
+ return true
1535
+ end
1536
+
1537
+ if resource_scope?
1538
+ nested { send(method, resources.pop, options, &block) }
1539
+ return true
1540
+ end
1541
+
1542
+ options.keys.each do |k|
1543
+ (options[:constraints] ||= {})[k] = options.delete(k) if options[k].is_a?(Regexp)
1544
+ end
1545
+
1546
+ scope_options = options.slice!(*RESOURCE_OPTIONS)
1547
+ unless scope_options.empty?
1548
+ scope(scope_options) do
1549
+ send(method, resources.pop, options, &block)
1550
+ end
1551
+ return true
1552
+ end
1553
+
1554
+ unless action_options?(options)
1555
+ options.merge!(scope_action_options) if scope_action_options?
1556
+ end
1557
+
1558
+ false
1559
+ end
1560
+
1561
+ def action_options?(options) #:nodoc:
1562
+ options[:only] || options[:except]
1563
+ end
1564
+
1565
+ def scope_action_options? #:nodoc:
1566
+ @scope[:options] && (@scope[:options][:only] || @scope[:options][:except])
1567
+ end
1568
+
1569
+ def scope_action_options #:nodoc:
1570
+ @scope[:options].slice(:only, :except)
1571
+ end
1572
+
1573
+ def resource_scope? #:nodoc:
1574
+ RESOURCE_SCOPES.include? @scope[:scope_level]
1575
+ end
1576
+
1577
+ def resource_method_scope? #:nodoc:
1578
+ RESOURCE_METHOD_SCOPES.include? @scope[:scope_level]
1579
+ end
1580
+
1581
+ def nested_scope? #:nodoc:
1582
+ @scope[:scope_level] == :nested
1583
+ end
1584
+
1585
+ def with_exclusive_scope
1586
+ begin
1587
+ old_name_prefix, old_path = @scope[:as], @scope[:path]
1588
+ @scope[:as], @scope[:path] = nil, nil
1589
+
1590
+ with_scope_level(:exclusive) do
1591
+ yield
1592
+ end
1593
+ ensure
1594
+ @scope[:as], @scope[:path] = old_name_prefix, old_path
1595
+ end
1596
+ end
1597
+
1598
+ def with_scope_level(kind)
1599
+ old, @scope[:scope_level] = @scope[:scope_level], kind
1600
+ yield
1601
+ ensure
1602
+ @scope[:scope_level] = old
1603
+ end
1604
+
1605
+ def resource_scope(kind, resource) #:nodoc:
1606
+ resource.shallow = @scope[:shallow]
1607
+ old_resource, @scope[:scope_level_resource] = @scope[:scope_level_resource], resource
1608
+ @nesting.push(resource)
1609
+
1610
+ with_scope_level(kind) do
1611
+ scope(parent_resource.resource_scope) { yield }
1612
+ end
1613
+ ensure
1614
+ @nesting.pop
1615
+ @scope[:scope_level_resource] = old_resource
1616
+ end
1617
+
1618
+ def nested_options #:nodoc:
1619
+ options = { :as => parent_resource.member_name }
1620
+ options[:constraints] = {
1621
+ parent_resource.nested_param => param_constraint
1622
+ } if param_constraint?
1623
+
1624
+ options
1625
+ end
1626
+
1627
+ def nesting_depth #:nodoc:
1628
+ @nesting.size
1629
+ end
1630
+
1631
+ def shallow_nesting_depth #:nodoc:
1632
+ @nesting.select(&:shallow?).size
1633
+ end
1634
+
1635
+ def param_constraint? #:nodoc:
1636
+ @scope[:constraints] && @scope[:constraints][parent_resource.param].is_a?(Regexp)
1637
+ end
1638
+
1639
+ def param_constraint #:nodoc:
1640
+ @scope[:constraints][parent_resource.param]
1641
+ end
1642
+
1643
+ def canonical_action?(action, flag) #:nodoc:
1644
+ flag && resource_method_scope? && CANONICAL_ACTIONS.include?(action.to_s)
1645
+ end
1646
+
1647
+ def shallow_scope(path, options = {}) #:nodoc:
1648
+ old_name_prefix, old_path = @scope[:as], @scope[:path]
1649
+ @scope[:as], @scope[:path] = @scope[:shallow_prefix], @scope[:shallow_path]
1650
+
1651
+ scope(path, options) { yield }
1652
+ ensure
1653
+ @scope[:as], @scope[:path] = old_name_prefix, old_path
1654
+ end
1655
+
1656
+ def path_for_action(action, path) #:nodoc:
1657
+ if canonical_action?(action, path.blank?)
1658
+ @scope[:path].to_s
1659
+ else
1660
+ "#{@scope[:path]}/#{action_path(action, path)}"
1661
+ end
1662
+ end
1663
+
1664
+ def action_path(name, path = nil) #:nodoc:
1665
+ name = name.to_sym if name.is_a?(String)
1666
+ path || @scope[:path_names][name] || name.to_s
1667
+ end
1668
+
1669
+ def prefix_name_for_action(as, action) #:nodoc:
1670
+ if as
1671
+ prefix = as
1672
+ elsif !canonical_action?(action, @scope[:scope_level])
1673
+ prefix = action
1674
+ end
1675
+ prefix.to_s.tr('-', '_') if prefix
1676
+ end
1677
+
1678
+ def name_for_action(as, action) #:nodoc:
1679
+ prefix = prefix_name_for_action(as, action)
1680
+ prefix = Mapper.normalize_name(prefix) if prefix
1681
+ name_prefix = @scope[:as]
1682
+
1683
+ if parent_resource
1684
+ return nil unless as || action
1685
+
1686
+ collection_name = parent_resource.collection_name
1687
+ member_name = parent_resource.member_name
1688
+ end
1689
+
1690
+ name = case @scope[:scope_level]
1691
+ when :nested
1692
+ [name_prefix, prefix]
1693
+ when :collection
1694
+ [prefix, name_prefix, collection_name]
1695
+ when :new
1696
+ [prefix, :new, name_prefix, member_name]
1697
+ when :member
1698
+ [prefix, name_prefix, member_name]
1699
+ when :root
1700
+ [name_prefix, collection_name, prefix]
1701
+ else
1702
+ [name_prefix, member_name, prefix]
1703
+ end
1704
+
1705
+ if candidate = name.select(&:present?).join("_").presence
1706
+ # If a name was not explicitly given, we check if it is valid
1707
+ # and return nil in case it isn't. Otherwise, we pass the invalid name
1708
+ # forward so the underlying router engine treats it and raises an exception.
1709
+ if as.nil?
1710
+ candidate unless @set.routes.find { |r| r.name == candidate } || candidate !~ /\A[_a-z]/i
1711
+ else
1712
+ candidate
1713
+ end
1714
+ end
1715
+ end
1716
+
1717
+ def set_member_mappings_for_resource
1718
+ member do
1719
+ get :edit if parent_resource.actions.include?(:edit)
1720
+ get :show if parent_resource.actions.include?(:show)
1721
+ if parent_resource.actions.include?(:update)
1722
+ patch :update
1723
+ put :update
1724
+ end
1725
+ delete :destroy if parent_resource.actions.include?(:destroy)
1726
+ end
1727
+ end
1728
+ end
1729
+
1730
+ # Routing Concerns allow you to declare common routes that can be reused
1731
+ # inside others resources and routes.
1732
+ #
1733
+ # concern :commentable do
1734
+ # resources :comments
1735
+ # end
1736
+ #
1737
+ # concern :image_attachable do
1738
+ # resources :images, only: :index
1739
+ # end
1740
+ #
1741
+ # These concerns are used in Resources routing:
1742
+ #
1743
+ # resources :messages, concerns: [:commentable, :image_attachable]
1744
+ #
1745
+ # or in a scope or namespace:
1746
+ #
1747
+ # namespace :posts do
1748
+ # concerns :commentable
1749
+ # end
1750
+ module Concerns
1751
+ # Define a routing concern using a name.
1752
+ #
1753
+ # Concerns may be defined inline, using a block, or handled by
1754
+ # another object, by passing that object as the second parameter.
1755
+ #
1756
+ # The concern object, if supplied, should respond to <tt>call</tt>,
1757
+ # which will receive two parameters:
1758
+ #
1759
+ # * The current mapper
1760
+ # * A hash of options which the concern object may use
1761
+ #
1762
+ # Options may also be used by concerns defined in a block by accepting
1763
+ # a block parameter. So, using a block, you might do something as
1764
+ # simple as limit the actions available on certain resources, passing
1765
+ # standard resource options through the concern:
1766
+ #
1767
+ # concern :commentable do |options|
1768
+ # resources :comments, options
1769
+ # end
1770
+ #
1771
+ # resources :posts, concerns: :commentable
1772
+ # resources :archived_posts do
1773
+ # # Don't allow comments on archived posts
1774
+ # concerns :commentable, only: [:index, :show]
1775
+ # end
1776
+ #
1777
+ # Or, using a callable object, you might implement something more
1778
+ # specific to your application, which would be out of place in your
1779
+ # routes file.
1780
+ #
1781
+ # # purchasable.rb
1782
+ # class Purchasable
1783
+ # def initialize(defaults = {})
1784
+ # @defaults = defaults
1785
+ # end
1786
+ #
1787
+ # def call(mapper, options = {})
1788
+ # options = @defaults.merge(options)
1789
+ # mapper.resources :purchases
1790
+ # mapper.resources :receipts
1791
+ # mapper.resources :returns if options[:returnable]
1792
+ # end
1793
+ # end
1794
+ #
1795
+ # # routes.rb
1796
+ # concern :purchasable, Purchasable.new(returnable: true)
1797
+ #
1798
+ # resources :toys, concerns: :purchasable
1799
+ # resources :electronics, concerns: :purchasable
1800
+ # resources :pets do
1801
+ # concerns :purchasable, returnable: false
1802
+ # end
1803
+ #
1804
+ # Any routing helpers can be used inside a concern. If using a
1805
+ # callable, they're accessible from the Mapper that's passed to
1806
+ # <tt>call</tt>.
1807
+ def concern(name, callable = nil, &block)
1808
+ callable ||= lambda { |mapper, options| mapper.instance_exec(options, &block) }
1809
+ @concerns[name] = callable
1810
+ end
1811
+
1812
+ # Use the named concerns
1813
+ #
1814
+ # resources :posts do
1815
+ # concerns :commentable
1816
+ # end
1817
+ #
1818
+ # concerns also work in any routes helper that you want to use:
1819
+ #
1820
+ # namespace :posts do
1821
+ # concerns :commentable
1822
+ # end
1823
+ def concerns(*args)
1824
+ options = args.extract_options!
1825
+ args.flatten.each do |name|
1826
+ if concern = @concerns[name]
1827
+ concern.call(self, options)
1828
+ else
1829
+ raise ArgumentError, "No concern named #{name} was found!"
1830
+ end
1831
+ end
1832
+ end
1833
+ end
1834
+
1835
+ def initialize(set) #:nodoc:
1836
+ @set = set
1837
+ @scope = { :path_names => @set.resources_path_names }
1838
+ @concerns = {}
1839
+ @nesting = []
1840
+ end
1841
+
1842
+ include Base
1843
+ include HttpHelpers
1844
+ include Redirection
1845
+ include Scoping
1846
+ include Concerns
1847
+ include Resources
1848
+ end
1849
+ end
1850
+ end