mango 0.6.3 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2484) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-version +1 -0
  3. data/CHANGES.md +50 -10
  4. data/Gemfile +2 -1
  5. data/Gemfile.lock +38 -41
  6. data/README.md +40 -55
  7. data/Rakefile +0 -1
  8. data/bin/autospec +16 -0
  9. data/bin/bluecloth +16 -0
  10. data/bin/dotenv +16 -0
  11. data/bin/foreman +16 -0
  12. data/bin/haml +16 -0
  13. data/bin/html2haml +16 -0
  14. data/bin/htmldiff +16 -0
  15. data/bin/ldiff +16 -0
  16. data/bin/mango +13 -5
  17. data/bin/puma +16 -0
  18. data/bin/pumactl +16 -0
  19. data/bin/rackup +16 -0
  20. data/bin/rake2thor +16 -0
  21. data/bin/rspec +16 -0
  22. data/bin/sass +16 -0
  23. data/bin/sass-convert +16 -0
  24. data/bin/scss +16 -0
  25. data/bin/thor +16 -0
  26. data/bin/tilt +16 -0
  27. data/bin/yard +16 -0
  28. data/bin/yardoc +16 -0
  29. data/bin/yri +16 -0
  30. data/exec/mango +4 -0
  31. data/lib/mango.rb +1 -5
  32. data/lib/mango/application.rb +16 -26
  33. data/lib/mango/content_page.rb +1 -3
  34. data/lib/mango/core_ext/string.rb +0 -2
  35. data/lib/mango/core_ext/uri.rb +1 -3
  36. data/lib/mango/runner.rb +2 -2
  37. data/lib/mango/templates/Gemfile +2 -2
  38. data/lib/mango/templates/Procfile +1 -0
  39. data/lib/mango/templates/config.ru +0 -1
  40. data/lib/mango/templates/themes/default/views/404.haml +1 -1
  41. data/lib/mango/templates/themes/default/views/layout.haml +8 -8
  42. data/lib/mango/version.rb +1 -3
  43. data/mango.gemspec +18 -22
  44. data/spec/bin/mango_spec.rb +2 -3
  45. data/spec/fixture/themes/default/public/404.html +1 -1
  46. data/spec/fixture/themes/default/public/images/index.html +1 -1
  47. data/spec/fixture/themes/default/public/override +1 -1
  48. data/spec/fixture/themes/default/views/404.erb +1 -1
  49. data/spec/fixture/themes/default/views/404.haml +1 -1
  50. data/spec/fixture/themes/default/views/404.liquid +1 -1
  51. data/spec/fixture/themes/default/views/layout.erb +1 -1
  52. data/spec/fixture/themes/default/views/layout.haml +1 -1
  53. data/spec/fixture/themes/default/views/layout.liquid +1 -1
  54. data/spec/lib/application/routing_content_pages_spec.rb +18 -19
  55. data/spec/lib/application/routing_javascript_templates_spec.rb +6 -4
  56. data/spec/lib/application/routing_not_found_spec.rb +4 -5
  57. data/spec/lib/application/routing_public_files_spec.rb +7 -8
  58. data/spec/lib/application/routing_stylesheet_templates_spec.rb +3 -4
  59. data/spec/lib/application_spec.rb +2 -3
  60. data/spec/lib/content_page/initializing_spec.rb +12 -13
  61. data/spec/lib/content_page_spec.rb +1 -2
  62. data/spec/lib/core_ext/string_spec.rb +0 -1
  63. data/spec/lib/core_ext/uri_spec.rb +0 -1
  64. data/spec/lib/flavored_markdown_spec.rb +1 -2
  65. data/spec/lib/runner_spec.rb +19 -13
  66. data/spec/lib/version_spec.rb +1 -2
  67. data/spec/quality_spec.rb +0 -15
  68. data/spec/spec_helper.rb +0 -9
  69. data/vendor/bundler/ruby/2.0.0/bin/autospec +23 -0
  70. data/vendor/bundler/ruby/2.0.0/bin/bluecloth +23 -0
  71. data/vendor/bundler/ruby/2.0.0/bin/dotenv +23 -0
  72. data/vendor/bundler/ruby/2.0.0/bin/foreman +23 -0
  73. data/vendor/bundler/ruby/2.0.0/bin/haml +23 -0
  74. data/vendor/bundler/ruby/2.0.0/bin/htmldiff +25 -0
  75. data/vendor/bundler/ruby/2.0.0/bin/ldiff +25 -0
  76. data/vendor/bundler/ruby/2.0.0/bin/mango +23 -0
  77. data/vendor/bundler/ruby/2.0.0/bin/puma +23 -0
  78. data/vendor/bundler/ruby/2.0.0/bin/pumactl +23 -0
  79. data/vendor/bundler/ruby/2.0.0/bin/rackup +23 -0
  80. data/vendor/bundler/ruby/2.0.0/bin/rake2thor +23 -0
  81. data/vendor/bundler/ruby/2.0.0/bin/rspec +23 -0
  82. data/vendor/bundler/ruby/2.0.0/bin/sass +23 -0
  83. data/vendor/bundler/ruby/2.0.0/bin/sass-convert +23 -0
  84. data/vendor/bundler/ruby/2.0.0/bin/scss +23 -0
  85. data/vendor/bundler/ruby/2.0.0/bin/thor +23 -0
  86. data/vendor/bundler/ruby/2.0.0/bin/tilt +23 -0
  87. data/vendor/bundler/ruby/2.0.0/bin/yard +23 -0
  88. data/vendor/bundler/ruby/2.0.0/bin/yardoc +23 -0
  89. data/vendor/bundler/ruby/2.0.0/bin/yri +23 -0
  90. data/vendor/bundler/ruby/2.0.0/build_info/backports-3.3.5.info +1 -0
  91. data/vendor/bundler/ruby/2.0.0/build_info/bluecloth-2.1.0.info +1 -0
  92. data/vendor/bundler/ruby/2.0.0/build_info/coffee-script-2.2.0.info +1 -0
  93. data/vendor/bundler/ruby/2.0.0/build_info/coffee-script-source-1.1.1.info +1 -0
  94. data/vendor/bundler/ruby/2.0.0/build_info/coffee-script-source-1.6.3.info +1 -0
  95. data/vendor/bundler/ruby/2.0.0/build_info/diff-lcs-1.1.2.info +1 -0
  96. data/vendor/bundler/ruby/2.0.0/build_info/diff-lcs-1.2.5.info +1 -0
  97. data/vendor/bundler/ruby/2.0.0/build_info/dotenv-0.9.0.info +1 -0
  98. data/vendor/bundler/ruby/2.0.0/build_info/execjs-1.0.0.info +1 -0
  99. data/vendor/bundler/ruby/2.0.0/build_info/execjs-2.0.2.info +1 -0
  100. data/vendor/bundler/ruby/2.0.0/build_info/foreman-0.63.0.info +1 -0
  101. data/vendor/bundler/ruby/2.0.0/build_info/haml-3.1.1.info +1 -0
  102. data/vendor/bundler/ruby/2.0.0/build_info/haml-3.1.8.info +1 -0
  103. data/vendor/bundler/ruby/2.0.0/build_info/haml-4.0.4.info +1 -0
  104. data/vendor/bundler/ruby/2.0.0/build_info/liquid-2.2.2.info +1 -0
  105. data/vendor/bundler/ruby/2.0.0/build_info/multi_json-1.0.3.info +1 -0
  106. data/vendor/bundler/ruby/2.0.0/build_info/puma-2.6.0.info +1 -0
  107. data/vendor/bundler/ruby/2.0.0/build_info/rack-1.2.3.info +1 -0
  108. data/vendor/bundler/ruby/2.0.0/build_info/rack-1.5.2.info +1 -0
  109. data/vendor/bundler/ruby/2.0.0/build_info/rack-protection-1.5.1.info +1 -0
  110. data/vendor/bundler/ruby/2.0.0/build_info/rack-test-0.6.0.info +1 -0
  111. data/vendor/bundler/ruby/2.0.0/build_info/rspec-2.14.1.info +1 -0
  112. data/vendor/bundler/ruby/2.0.0/build_info/rspec-2.6.0.info +1 -0
  113. data/vendor/bundler/ruby/2.0.0/build_info/rspec-core-2.14.7.info +1 -0
  114. data/vendor/bundler/ruby/2.0.0/build_info/rspec-core-2.6.3.info +1 -0
  115. data/vendor/bundler/ruby/2.0.0/build_info/rspec-expectations-2.14.4.info +1 -0
  116. data/vendor/bundler/ruby/2.0.0/build_info/rspec-expectations-2.6.0.info +1 -0
  117. data/vendor/bundler/ruby/2.0.0/build_info/rspec-mocks-2.14.4.info +1 -0
  118. data/vendor/bundler/ruby/2.0.0/build_info/rspec-mocks-2.6.0.info +1 -0
  119. data/vendor/bundler/ruby/2.0.0/build_info/sass-3.1.1.info +1 -0
  120. data/vendor/bundler/ruby/2.0.0/build_info/sass-3.2.12.info +1 -0
  121. data/vendor/bundler/ruby/2.0.0/build_info/sinatra-1.2.6.info +1 -0
  122. data/vendor/bundler/ruby/2.0.0/build_info/sinatra-1.2.9.info +1 -0
  123. data/vendor/bundler/ruby/2.0.0/build_info/sinatra-1.4.4.info +1 -0
  124. data/vendor/bundler/ruby/2.0.0/build_info/thor-0.14.6.info +1 -0
  125. data/vendor/bundler/ruby/2.0.0/build_info/tilt-1.3.2.info +1 -0
  126. data/vendor/bundler/ruby/2.0.0/build_info/tilt-1.4.1.info +1 -0
  127. data/vendor/bundler/ruby/2.0.0/build_info/yard-0.7.1.info +1 -0
  128. data/vendor/bundler/ruby/2.0.0/build_info/yard-0.8.7.3.info +1 -0
  129. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/.gemtest +0 -0
  130. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/History.md +97 -0
  131. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/LICENSE +27 -0
  132. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/LICENSE.discount +47 -0
  133. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/Manifest.txt +103 -0
  134. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/README.md +103 -0
  135. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/Rakefile +135 -0
  136. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/bin/bluecloth +84 -0
  137. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/.RUBYARCHDIR.time +0 -0
  138. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/Csio.c +61 -0
  139. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/Csio.o +0 -0
  140. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/Makefile +238 -0
  141. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/VERSION +1 -0
  142. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/amalloc.h +29 -0
  143. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/bluecloth.c +429 -0
  144. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/bluecloth.h +30 -0
  145. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/bluecloth.o +0 -0
  146. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/bluecloth_ext.bundle +0 -0
  147. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/config.h +68 -0
  148. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/css.c +85 -0
  149. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/css.o +0 -0
  150. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/cstring.h +77 -0
  151. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/docheader.c +49 -0
  152. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/docheader.o +0 -0
  153. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/emmatch.c +188 -0
  154. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/emmatch.o +0 -0
  155. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/extconf.h +10 -0
  156. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/extconf.rb +49 -0
  157. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/generate.c +1747 -0
  158. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/generate.o +0 -0
  159. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/html5.c +24 -0
  160. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/html5.o +0 -0
  161. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/markdown.c +1237 -0
  162. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/markdown.h +183 -0
  163. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/markdown.o +0 -0
  164. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/mkdio.c +357 -0
  165. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/mkdio.h +108 -0
  166. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/mkdio.o +0 -0
  167. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/mkmf.log +162 -0
  168. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/resource.c +157 -0
  169. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/resource.o +0 -0
  170. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/setup.c +47 -0
  171. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/setup.o +0 -0
  172. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/tags.c +123 -0
  173. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/tags.h +19 -0
  174. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/tags.o +0 -0
  175. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/version.c +27 -0
  176. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/version.o +0 -0
  177. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/xml.c +82 -0
  178. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/xml.o +0 -0
  179. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/xmlpage.c +48 -0
  180. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/ext/xmlpage.o +0 -0
  181. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/lib/bluecloth.rb +214 -0
  182. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/lib/bluecloth_ext.bundle +0 -0
  183. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/101_changes_spec.rb +138 -0
  184. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/TEMPLATE +36 -0
  185. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/autolinks_spec.rb +46 -0
  186. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/blockquotes_spec.rb +142 -0
  187. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/code_spans_spec.rb +161 -0
  188. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/emphasis_spec.rb +161 -0
  189. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/entities_spec.rb +80 -0
  190. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/hrules_spec.rb +87 -0
  191. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/images_spec.rb +89 -0
  192. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/inline_html_spec.rb +198 -0
  193. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/links_spec.rb +167 -0
  194. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/lists_spec.rb +291 -0
  195. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/paragraphs_spec.rb +72 -0
  196. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth/titles_spec.rb +302 -0
  197. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bluecloth_spec.rb +297 -0
  198. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/bugfix_spec.rb +252 -0
  199. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/contributions_spec.rb +77 -0
  200. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/antsugar.txt +34 -0
  201. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Amps and angle encoding.html +17 -0
  202. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Amps and angle encoding.text +21 -0
  203. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Auto links.html +18 -0
  204. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Auto links.text +13 -0
  205. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Backslash escapes.html +118 -0
  206. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Backslash escapes.text +120 -0
  207. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Blockquotes with code blocks.html +15 -0
  208. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Blockquotes with code blocks.text +11 -0
  209. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Code Blocks.html +18 -0
  210. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Code Blocks.text +14 -0
  211. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Code Spans.html +5 -0
  212. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Code Spans.text +5 -0
  213. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.html +8 -0
  214. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.text +8 -0
  215. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Horizontal rules.html +71 -0
  216. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Horizontal rules.text +67 -0
  217. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML (Advanced).html +15 -0
  218. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML (Advanced).text +15 -0
  219. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML (Simple).html +72 -0
  220. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML (Simple).text +69 -0
  221. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML comments.html +13 -0
  222. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Inline HTML comments.text +13 -0
  223. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, inline style.html +11 -0
  224. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, inline style.text +12 -0
  225. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, reference style.html +52 -0
  226. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, reference style.text +71 -0
  227. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, shortcut references.html +9 -0
  228. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Links, shortcut references.text +20 -0
  229. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Literal quotes in titles.html +3 -0
  230. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Literal quotes in titles.text +7 -0
  231. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Markdown Documentation - Basics.html +314 -0
  232. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Markdown Documentation - Basics.text +306 -0
  233. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Markdown Documentation - Syntax.html +942 -0
  234. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Markdown Documentation - Syntax.text +888 -0
  235. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Nested blockquotes.html +9 -0
  236. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Nested blockquotes.text +5 -0
  237. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Ordered and unordered lists.html +148 -0
  238. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Ordered and unordered lists.text +131 -0
  239. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Strong and em together.html +7 -0
  240. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Strong and em together.text +7 -0
  241. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Tabs.html +25 -0
  242. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Tabs.text +21 -0
  243. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Tidyness.html +8 -0
  244. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/markdowntest/Tidyness.text +5 -0
  245. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/ml-announce.txt +17 -0
  246. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/re-overflow.txt +67 -0
  247. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/data/re-overflow2.txt +281 -0
  248. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/discount_spec.rb +426 -0
  249. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/lib/constants.rb +5 -0
  250. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/lib/helpers.rb +38 -0
  251. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/lib/matchers.rb +224 -0
  252. data/vendor/bundler/ruby/2.0.0/gems/bluecloth-2.1.0/spec/markdowntest_spec.rb +43 -0
  253. data/vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/LICENSE +22 -0
  254. data/vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/README.md +43 -0
  255. data/vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/lib/coffee-script.rb +1 -0
  256. data/vendor/bundler/ruby/2.0.0/gems/coffee-script-2.2.0/lib/coffee_script.rb +60 -0
  257. data/vendor/bundler/ruby/2.0.0/gems/coffee-script-source-1.6.3/lib/coffee_script/coffee-script.js +12 -0
  258. data/vendor/bundler/ruby/2.0.0/gems/coffee-script-source-1.6.3/lib/coffee_script/source.rb +7 -0
  259. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.autotest +3 -0
  260. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.gemtest +0 -0
  261. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.hoerc +2 -0
  262. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.rspec +2 -0
  263. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/.travis.yml +22 -0
  264. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/Contributing.rdoc +64 -0
  265. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/Gemfile +20 -0
  266. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/History.rdoc +152 -0
  267. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/License.rdoc +39 -0
  268. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/Manifest.txt +38 -0
  269. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/README.rdoc +85 -0
  270. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/Rakefile +41 -0
  271. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/autotest/discover.rb +1 -0
  272. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/bin/htmldiff +32 -0
  273. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/bin/ldiff +6 -0
  274. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/docs/COPYING.txt +339 -0
  275. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/docs/artistic.txt +127 -0
  276. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff-lcs.rb +3 -0
  277. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs.rb +805 -0
  278. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/array.rb +7 -0
  279. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/block.rb +37 -0
  280. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/callbacks.rb +322 -0
  281. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/change.rb +177 -0
  282. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/htmldiff.rb +149 -0
  283. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/hunk.rb +276 -0
  284. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/internals.rb +301 -0
  285. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/ldiff.rb +195 -0
  286. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/lib/diff/lcs/string.rb +5 -0
  287. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/change_spec.rb +65 -0
  288. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/diff_spec.rb +47 -0
  289. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/hunk_spec.rb +72 -0
  290. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/issues_spec.rb +24 -0
  291. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/lcs_spec.rb +54 -0
  292. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/patch_spec.rb +414 -0
  293. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/sdiff_spec.rb +214 -0
  294. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/spec_helper.rb +290 -0
  295. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/traverse_balanced_spec.rb +310 -0
  296. data/vendor/bundler/ruby/2.0.0/gems/diff-lcs-1.2.5/spec/traverse_sequences_spec.rb +139 -0
  297. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/.env +1 -0
  298. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/.gitignore +8 -0
  299. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/.travis.yml +6 -0
  300. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/Changelog.md +83 -0
  301. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/Gemfile +6 -0
  302. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/Guardfile +9 -0
  303. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/LICENSE +22 -0
  304. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/README.md +95 -0
  305. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/Rakefile +30 -0
  306. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/bin/dotenv +12 -0
  307. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/dotenv-rails.gemspec +17 -0
  308. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/dotenv.gemspec +20 -0
  309. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv-rails.rb +1 -0
  310. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv.rb +25 -0
  311. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/capistrano.rb +5 -0
  312. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/capistrano/recipes.rb +10 -0
  313. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/environment.rb +76 -0
  314. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/format_error.rb +4 -0
  315. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/railtie.rb +14 -0
  316. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/tasks.rb +7 -0
  317. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/lib/dotenv/version.rb +3 -0
  318. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/dotenv/environment_spec.rb +137 -0
  319. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/dotenv_spec.rb +92 -0
  320. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/fixtures/exported.env +2 -0
  321. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/fixtures/plain.env +5 -0
  322. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/fixtures/quoted.env +8 -0
  323. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/fixtures/yaml.env +4 -0
  324. data/vendor/bundler/ruby/2.0.0/gems/dotenv-0.9.0/spec/spec_helper.rb +7 -0
  325. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/LICENSE +21 -0
  326. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/README.md +42 -0
  327. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs.rb +6 -0
  328. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/disabled_runtime.rb +29 -0
  329. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/encoding.rb +33 -0
  330. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/external_runtime.rb +205 -0
  331. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/johnson_runtime.rb +106 -0
  332. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/module.rb +38 -0
  333. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/mustang_runtime.rb +76 -0
  334. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/ruby_racer_runtime.rb +105 -0
  335. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/ruby_rhino_runtime.rb +89 -0
  336. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/runtime.rb +55 -0
  337. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/runtimes.rb +94 -0
  338. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/jsc_runner.js +19 -0
  339. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/jscript_runner.js +22 -0
  340. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/json2.js +481 -0
  341. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/node_runner.js +20 -0
  342. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/spidermonkey_runner.js +19 -0
  343. data/vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/version.rb +3 -0
  344. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/README.md +48 -0
  345. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/bin/foreman +7 -0
  346. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/bin/foreman-runner +41 -0
  347. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/bin/taskman +8 -0
  348. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/Procfile +4 -0
  349. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/Procfile.without_colon +2 -0
  350. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/error +7 -0
  351. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/log/neverdie.log +4 -0
  352. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/spawnee +14 -0
  353. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/spawner +7 -0
  354. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/ticker +14 -0
  355. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/example/utf8 +11 -0
  356. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/bluepill/master.pill.erb +28 -0
  357. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/launchd/launchd.plist.erb +33 -0
  358. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/runit/log/run.erb +7 -0
  359. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/runit/run.erb +3 -0
  360. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/supervisord/app.conf.erb +27 -0
  361. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/upstart/master.conf.erb +12 -0
  362. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/upstart/process.conf.erb +5 -0
  363. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/data/export/upstart/process_master.conf.erb +2 -0
  364. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman.rb +23 -0
  365. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/capistrano.rb +54 -0
  366. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/cli.rb +155 -0
  367. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/distribution.rb +9 -0
  368. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/engine.rb +428 -0
  369. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/engine/cli.rb +104 -0
  370. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export.rb +34 -0
  371. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/base.rb +146 -0
  372. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/bluepill.rb +12 -0
  373. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/inittab.rb +42 -0
  374. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/launchd.rb +17 -0
  375. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/runit.rb +34 -0
  376. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/supervisord.rb +16 -0
  377. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/export/upstart.rb +25 -0
  378. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/helpers.rb +45 -0
  379. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/process.rb +125 -0
  380. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/procfile.rb +92 -0
  381. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/lib/foreman/version.rb +5 -0
  382. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/man/foreman.1 +240 -0
  383. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/cli_spec.rb +96 -0
  384. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/engine_spec.rb +112 -0
  385. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/base_spec.rb +19 -0
  386. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/bluepill_spec.rb +37 -0
  387. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/inittab_spec.rb +40 -0
  388. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/launchd_spec.rb +31 -0
  389. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/runit_spec.rb +36 -0
  390. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/supervisord_spec.rb +36 -0
  391. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export/upstart_spec.rb +104 -0
  392. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/export_spec.rb +24 -0
  393. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/helpers_spec.rb +26 -0
  394. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/process_spec.rb +48 -0
  395. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman/procfile_spec.rb +43 -0
  396. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/foreman_spec.rb +16 -0
  397. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/helper_spec.rb +18 -0
  398. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/Procfile +4 -0
  399. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/bin/echo +2 -0
  400. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/bin/env +2 -0
  401. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/bin/test +2 -0
  402. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/bin/utf8 +2 -0
  403. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/bluepill/app-concurrency.pill +49 -0
  404. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/bluepill/app.pill +81 -0
  405. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/inittab/inittab.concurrency +4 -0
  406. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/inittab/inittab.default +6 -0
  407. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/launchd/launchd-a.default +29 -0
  408. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/launchd/launchd-b.default +29 -0
  409. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/launchd/launchd-c.default +30 -0
  410. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-alpha-1/log/run +7 -0
  411. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-alpha-1/run +3 -0
  412. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-alpha-2/log/run +7 -0
  413. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-alpha-2/run +3 -0
  414. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-bravo-1/log/run +7 -0
  415. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/runit/app-bravo-1/run +3 -0
  416. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/supervisord/app-alpha-1.conf +44 -0
  417. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/supervisord/app-alpha-2.conf +24 -0
  418. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-alpha-1.conf +5 -0
  419. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-alpha-2.conf +5 -0
  420. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-alpha.conf +2 -0
  421. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-bravo-1.conf +5 -0
  422. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app-bravo.conf +2 -0
  423. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/resources/export/upstart/app.conf +12 -0
  424. data/vendor/bundler/ruby/2.0.0/gems/foreman-0.63.0/spec/spec_helper.rb +159 -0
  425. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/.yardopts +23 -0
  426. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/CHANGELOG.md +1341 -0
  427. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/FAQ.md +157 -0
  428. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/MIT-LICENSE +20 -0
  429. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/README.md +173 -0
  430. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/REFERENCE.md +1294 -0
  431. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/Rakefile +134 -0
  432. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/bin/haml +9 -0
  433. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml.rb +23 -0
  434. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/buffer.rb +345 -0
  435. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/compiler.rb +540 -0
  436. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/engine.rb +245 -0
  437. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/error.rb +61 -0
  438. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/exec.rb +329 -0
  439. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/filters.rb +404 -0
  440. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers.rb +655 -0
  441. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/action_view_extensions.rb +58 -0
  442. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/action_view_mods.rb +154 -0
  443. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/action_view_xss_mods.rb +58 -0
  444. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/safe_erubis_template.rb +29 -0
  445. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/helpers/xss_mods.rb +104 -0
  446. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/options.rb +277 -0
  447. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/parser.rb +764 -0
  448. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/railtie.rb +22 -0
  449. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/sass_rails_filter.rb +33 -0
  450. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/template.rb +32 -0
  451. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/template/options.rb +16 -0
  452. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/template/plugin.rb +41 -0
  453. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/util.rb +377 -0
  454. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/lib/haml/version.rb +3 -0
  455. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/engine_test.rb +2013 -0
  456. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/erb/_av_partial_1.erb +12 -0
  457. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/erb/_av_partial_2.erb +8 -0
  458. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/erb/action_view.erb +62 -0
  459. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/erb/standard.erb +55 -0
  460. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/filters_test.rb +254 -0
  461. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-3.0.x +5 -0
  462. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-3.1.x +6 -0
  463. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-3.2.x +5 -0
  464. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-4.0.x +5 -0
  465. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/gemfiles/Gemfile.rails-4.0.x.lock +101 -0
  466. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/helper_test.rb +565 -0
  467. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/markaby/standard.mab +52 -0
  468. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/mocks/article.rb +6 -0
  469. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/parser_test.rb +105 -0
  470. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/content_for_layout.xhtml +12 -0
  471. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/eval_suppressed.xhtml +9 -0
  472. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/helpers.xhtml +70 -0
  473. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/helpful.xhtml +10 -0
  474. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/just_stuff.xhtml +70 -0
  475. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/list.xhtml +12 -0
  476. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/nuke_inner_whitespace.xhtml +40 -0
  477. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/nuke_outer_whitespace.xhtml +148 -0
  478. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/original_engine.xhtml +20 -0
  479. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/partial_layout.xhtml +5 -0
  480. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/partial_layout_erb.xhtml +5 -0
  481. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/partials.xhtml +21 -0
  482. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/render_layout.xhtml +3 -0
  483. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/silent_script.xhtml +74 -0
  484. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/standard.xhtml +162 -0
  485. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/tag_parsing.xhtml +23 -0
  486. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/very_basic.xhtml +5 -0
  487. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/results/whitespace_handling.xhtml +90 -0
  488. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/template_test.rb +331 -0
  489. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_av_partial_1.haml +9 -0
  490. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_av_partial_1_ugly.haml +9 -0
  491. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_av_partial_2.haml +5 -0
  492. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_av_partial_2_ugly.haml +5 -0
  493. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_layout.erb +3 -0
  494. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_layout_for_partial.haml +3 -0
  495. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_partial.haml +8 -0
  496. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_text_area.haml +3 -0
  497. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/_text_area_helper.html.haml +4 -0
  498. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/action_view.haml +47 -0
  499. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/action_view_ugly.haml +47 -0
  500. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/breakage.haml +8 -0
  501. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/content_for_layout.haml +8 -0
  502. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/eval_suppressed.haml +11 -0
  503. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/helpers.haml +55 -0
  504. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/helpful.haml +11 -0
  505. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/just_stuff.haml +85 -0
  506. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/list.haml +12 -0
  507. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/nuke_inner_whitespace.haml +32 -0
  508. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/nuke_outer_whitespace.haml +144 -0
  509. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/original_engine.haml +17 -0
  510. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/partial_layout.haml +3 -0
  511. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/partial_layout_erb.erb +4 -0
  512. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/partialize.haml +1 -0
  513. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/partials.haml +12 -0
  514. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/render_layout.haml +2 -0
  515. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/silent_script.haml +45 -0
  516. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/standard.haml +43 -0
  517. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/standard_ugly.haml +43 -0
  518. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/tag_parsing.haml +21 -0
  519. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/very_basic.haml +4 -0
  520. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/templates/whitespace_handling.haml +87 -0
  521. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/test_helper.rb +85 -0
  522. data/vendor/bundler/ruby/2.0.0/gems/haml-4.0.4/test/util_test.rb +63 -0
  523. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/History.txt +53 -0
  524. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/MIT-LICENSE +20 -0
  525. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/Manifest.txt +34 -0
  526. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/README.md +42 -0
  527. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/extras/liquid_view.rb +51 -0
  528. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid.rb +69 -0
  529. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/block.rb +101 -0
  530. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/condition.rb +120 -0
  531. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/context.rb +249 -0
  532. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/document.rb +17 -0
  533. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/drop.rb +51 -0
  534. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/errors.rb +11 -0
  535. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/extensions.rb +56 -0
  536. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/file_system.rb +62 -0
  537. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/htmltags.rb +74 -0
  538. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/module_ex.rb +62 -0
  539. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/standardfilters.rb +226 -0
  540. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/strainer.rb +54 -0
  541. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tag.rb +26 -0
  542. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/assign.rb +33 -0
  543. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/capture.rb +35 -0
  544. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/case.rb +83 -0
  545. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/comment.rb +9 -0
  546. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/cycle.rb +59 -0
  547. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/for.rb +136 -0
  548. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/if.rb +79 -0
  549. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/ifchanged.rb +20 -0
  550. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/include.rb +56 -0
  551. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/literal.rb +42 -0
  552. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/tags/unless.rb +33 -0
  553. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/template.rb +149 -0
  554. data/vendor/bundler/ruby/2.0.0/gems/liquid-2.2.2/lib/liquid/variable.rb +50 -0
  555. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/COPYING +55 -0
  556. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/Gemfile +12 -0
  557. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/History.txt +423 -0
  558. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/LICENSE +26 -0
  559. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/Manifest.txt +66 -0
  560. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/README.md +211 -0
  561. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/Rakefile +158 -0
  562. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/TODO +5 -0
  563. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/bin/puma +10 -0
  564. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/bin/pumactl +12 -0
  565. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/docs/config.md +0 -0
  566. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/docs/nginx.md +80 -0
  567. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/.RUBYARCHDIR.time +0 -0
  568. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/Makefile +238 -0
  569. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/PumaHttp11Service.java +17 -0
  570. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/ext_help.h +15 -0
  571. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/extconf.rb +8 -0
  572. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.c +1225 -0
  573. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.h +64 -0
  574. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.java.rl +161 -0
  575. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.o +0 -0
  576. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser.rl +146 -0
  577. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/http11_parser_common.rl +54 -0
  578. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/io_buffer.c +155 -0
  579. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/io_buffer.o +0 -0
  580. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/mini_ssl.c +195 -0
  581. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/mini_ssl.o +0 -0
  582. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/org/jruby/puma/Http11.java +225 -0
  583. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/org/jruby/puma/Http11Parser.java +488 -0
  584. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/org/jruby/puma/MiniSSL.java +289 -0
  585. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/puma_http11.bundle +0 -0
  586. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/puma_http11.c +491 -0
  587. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/ext/puma_http11/puma_http11.o +0 -0
  588. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma.rb +14 -0
  589. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/accept_nonblock.rb +23 -0
  590. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/app/status.rb +59 -0
  591. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/binder.rb +293 -0
  592. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/capistrano.rb +72 -0
  593. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/cli.rb +522 -0
  594. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/client.rb +277 -0
  595. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/cluster.rb +317 -0
  596. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/compat.rb +11 -0
  597. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/configuration.rb +330 -0
  598. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/const.rb +158 -0
  599. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/control_cli.rb +251 -0
  600. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/daemon_ext.rb +20 -0
  601. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/delegation.rb +11 -0
  602. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/detect.rb +4 -0
  603. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/events.rb +130 -0
  604. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/io_buffer.rb +7 -0
  605. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/java_io_buffer.rb +45 -0
  606. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/jruby_restart.rb +83 -0
  607. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/minissl.rb +140 -0
  608. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/null_io.rb +34 -0
  609. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/puma_http11.bundle +0 -0
  610. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/rack_default.rb +7 -0
  611. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/rack_patch.rb +45 -0
  612. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/reactor.rb +162 -0
  613. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/runner.rb +138 -0
  614. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/server.rb +790 -0
  615. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/single.rb +102 -0
  616. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/tcp_logger.rb +32 -0
  617. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/thread_pool.rb +185 -0
  618. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/puma/util.rb +9 -0
  619. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/lib/rack/handler/puma.rb +66 -0
  620. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/puma.gemspec +54 -0
  621. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_app_status.rb +92 -0
  622. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_cli.rb +173 -0
  623. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_config.rb +16 -0
  624. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_http10.rb +27 -0
  625. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_http11.rb +126 -0
  626. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_integration.rb +165 -0
  627. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_iobuffer.rb +38 -0
  628. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_minissl.rb +25 -0
  629. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_null_io.rb +31 -0
  630. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_persistent.rb +238 -0
  631. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_puma_server.rb +292 -0
  632. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_rack_handler.rb +10 -0
  633. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_rack_server.rb +141 -0
  634. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_tcp_rack.rb +42 -0
  635. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_thread_pool.rb +156 -0
  636. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_unix_socket.rb +39 -0
  637. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/test/test_ws.rb +89 -0
  638. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/README.md +9 -0
  639. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/init.d/README.md +54 -0
  640. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/init.d/puma +332 -0
  641. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/init.d/run-puma +3 -0
  642. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/upstart/README.md +61 -0
  643. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/upstart/puma-manager.conf +31 -0
  644. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/jungle/upstart/puma.conf +64 -0
  645. data/vendor/bundler/ruby/2.0.0/gems/puma-2.6.0/tools/trickletest.rb +45 -0
  646. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/COPYING +18 -0
  647. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/KNOWN-ISSUES +30 -0
  648. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/README.rdoc +624 -0
  649. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/Rakefile +125 -0
  650. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/SPEC +237 -0
  651. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/bin/rackup +4 -0
  652. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/contrib/rack.png +0 -0
  653. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/contrib/rack.svg +150 -0
  654. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/contrib/rack_logo.svg +111 -0
  655. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/contrib/rdoc.css +412 -0
  656. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/example/lobster.ru +4 -0
  657. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/example/protectedlobster.rb +14 -0
  658. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/example/protectedlobster.ru +8 -0
  659. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack.rb +87 -0
  660. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/abstract/handler.rb +37 -0
  661. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/abstract/request.rb +43 -0
  662. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/basic.rb +58 -0
  663. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/digest/md5.rb +129 -0
  664. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/digest/nonce.rb +51 -0
  665. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/digest/params.rb +53 -0
  666. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/auth/digest/request.rb +41 -0
  667. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/backports/uri/common_18.rb +56 -0
  668. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/backports/uri/common_192.rb +52 -0
  669. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/backports/uri/common_193.rb +29 -0
  670. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/body_proxy.rb +39 -0
  671. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb +149 -0
  672. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/cascade.rb +52 -0
  673. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/chunked.rb +58 -0
  674. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb +64 -0
  675. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/conditionalget.rb +67 -0
  676. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/config.rb +20 -0
  677. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb +33 -0
  678. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_type.rb +29 -0
  679. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/deflater.rb +116 -0
  680. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/directory.rb +161 -0
  681. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/etag.rb +64 -0
  682. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/file.rb +138 -0
  683. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler.rb +107 -0
  684. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/cgi.rb +61 -0
  685. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/evented_mongrel.rb +8 -0
  686. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/fastcgi.rb +98 -0
  687. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/lsws.rb +61 -0
  688. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/mongrel.rb +100 -0
  689. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/scgi.rb +67 -0
  690. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
  691. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/thin.rb +27 -0
  692. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb +81 -0
  693. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb +22 -0
  694. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lint.rb +699 -0
  695. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lobster.rb +65 -0
  696. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/lock.rb +26 -0
  697. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb +18 -0
  698. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb +31 -0
  699. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/mime.rb +677 -0
  700. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/mock.rb +190 -0
  701. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/multipart.rb +34 -0
  702. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/multipart/generator.rb +93 -0
  703. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/multipart/parser.rb +176 -0
  704. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/multipart/uploaded_file.rb +34 -0
  705. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/nulllogger.rb +18 -0
  706. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/recursive.rb +61 -0
  707. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/reloader.rb +109 -0
  708. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/request.rb +380 -0
  709. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/response.rb +155 -0
  710. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/rewindable_input.rb +104 -0
  711. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb +27 -0
  712. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb +155 -0
  713. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb +362 -0
  714. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb +398 -0
  715. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/cookie.rb +178 -0
  716. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/memcache.rb +93 -0
  717. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/pool.rb +79 -0
  718. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/showexceptions.rb +378 -0
  719. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/showstatus.rb +113 -0
  720. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/static.rb +153 -0
  721. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb +76 -0
  722. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/utils.rb +628 -0
  723. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/lib/rack/utils/okjson.rb +599 -0
  724. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/rack.gemspec +33 -0
  725. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/anything.rb +5 -0
  726. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/comment.ru +4 -0
  727. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/end.ru +5 -0
  728. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/line.ru +1 -0
  729. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/builder/options.ru +2 -0
  730. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/folder/test.js +1 -0
  731. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/fonts/font.eot +1 -0
  732. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/images/image.png +1 -0
  733. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/index.html +1 -0
  734. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/javascripts/app.js +1 -0
  735. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/assets/stylesheets/app.css +1 -0
  736. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/lighttpd.conf +26 -0
  737. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/rackup_stub.rb +6 -0
  738. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/sample_rackup.ru +5 -0
  739. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/test +9 -0
  740. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/test+directory/test+file +1 -0
  741. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/test.fcgi +8 -0
  742. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/cgi/test.ru +5 -0
  743. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/gemloader.rb +10 -0
  744. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/bad_robots +259 -0
  745. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/binary +0 -0
  746. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/content_type_and_no_filename +6 -0
  747. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/empty +10 -0
  748. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/fail_16384_nofile +814 -0
  749. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/file1.txt +1 -0
  750. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_and_modification_param +7 -0
  751. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes +6 -0
  752. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  753. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_percent_escaped_quotes +6 -0
  754. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages +6 -0
  755. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages2 +6 -0
  756. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages3 +6 -0
  757. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/filename_with_unescaped_quotes +6 -0
  758. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/ie +6 -0
  759. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/mixed_files +21 -0
  760. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/nested +10 -0
  761. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/none +9 -0
  762. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/semicolon +6 -0
  763. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/text +15 -0
  764. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/multipart/webkit +32 -0
  765. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/rackup/config.ru +31 -0
  766. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  767. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_auth_basic.rb +81 -0
  768. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_auth_digest.rb +259 -0
  769. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_body_proxy.rb +69 -0
  770. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_builder.rb +214 -0
  771. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_cascade.rb +61 -0
  772. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_cgi.rb +102 -0
  773. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_chunked.rb +85 -0
  774. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_commonlogger.rb +57 -0
  775. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_conditionalget.rb +102 -0
  776. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_config.rb +22 -0
  777. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_content_length.rb +83 -0
  778. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_content_type.rb +45 -0
  779. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_deflater.rb +204 -0
  780. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_directory.rb +88 -0
  781. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_etag.rb +98 -0
  782. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_fastcgi.rb +107 -0
  783. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_file.rb +213 -0
  784. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_handler.rb +59 -0
  785. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_head.rb +43 -0
  786. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_lint.rb +522 -0
  787. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_lobster.rb +58 -0
  788. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_lock.rb +164 -0
  789. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_logger.rb +23 -0
  790. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_methodoverride.rb +75 -0
  791. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_mime.rb +51 -0
  792. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_mock.rb +269 -0
  793. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_mongrel.rb +182 -0
  794. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_multipart.rb +445 -0
  795. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_nulllogger.rb +20 -0
  796. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_recursive.rb +72 -0
  797. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_request.rb +1078 -0
  798. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_response.rb +313 -0
  799. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_rewindable_input.rb +118 -0
  800. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_runtime.rb +49 -0
  801. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_sendfile.rb +130 -0
  802. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_server.rb +143 -0
  803. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_session_abstract_id.rb +53 -0
  804. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_session_cookie.rb +367 -0
  805. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_session_memcache.rb +321 -0
  806. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_session_pool.rb +209 -0
  807. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_showexceptions.rb +92 -0
  808. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_showstatus.rb +84 -0
  809. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_static.rb +145 -0
  810. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_thin.rb +91 -0
  811. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_urlmap.rb +213 -0
  812. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_utils.rb +573 -0
  813. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/spec_webrick.rb +143 -0
  814. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/static/another/index.html +1 -0
  815. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/static/index.html +1 -0
  816. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/testrequest.rb +78 -0
  817. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  818. data/vendor/bundler/ruby/2.0.0/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  819. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/License +20 -0
  820. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/README.md +90 -0
  821. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/Rakefile +48 -0
  822. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack-protection.rb +1 -0
  823. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection.rb +40 -0
  824. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/authenticity_token.rb +31 -0
  825. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/base.rb +119 -0
  826. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/escaped_params.rb +87 -0
  827. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/form_token.rb +23 -0
  828. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/frame_options.rb +37 -0
  829. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/http_origin.rb +32 -0
  830. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/ip_spoofing.rb +23 -0
  831. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/json_csrf.rb +35 -0
  832. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/path_traversal.rb +47 -0
  833. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/remote_referrer.rb +20 -0
  834. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/remote_token.rb +22 -0
  835. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/session_hijacking.rb +36 -0
  836. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/version.rb +16 -0
  837. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/lib/rack/protection/xss_header.rb +25 -0
  838. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/rack-protection.gemspec +108 -0
  839. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/authenticity_token_spec.rb +48 -0
  840. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/base_spec.rb +9 -0
  841. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/escaped_params_spec.rb +44 -0
  842. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/form_token_spec.rb +33 -0
  843. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/frame_options_spec.rb +39 -0
  844. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/http_origin_spec.rb +38 -0
  845. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/ip_spoofing_spec.rb +35 -0
  846. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/json_csrf_spec.rb +58 -0
  847. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/path_traversal_spec.rb +41 -0
  848. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/protection_spec.rb +70 -0
  849. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/remote_referrer_spec.rb +31 -0
  850. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/remote_token_spec.rb +42 -0
  851. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/session_hijacking_spec.rb +54 -0
  852. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/spec_helper.rb +163 -0
  853. data/vendor/bundler/ruby/2.0.0/gems/rack-protection-1.5.1/spec/xss_header_spec.rb +56 -0
  854. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/.document +4 -0
  855. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/.gitignore +6 -0
  856. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/Gemfile +5 -0
  857. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/Gemfile.lock +26 -0
  858. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/History.txt +145 -0
  859. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/MIT-LICENSE.txt +19 -0
  860. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/README.rdoc +57 -0
  861. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/Rakefile +33 -0
  862. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/Thorfile +114 -0
  863. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/mock_session.rb +66 -0
  864. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test.rb +292 -0
  865. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/cookie_jar.rb +176 -0
  866. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/methods.rb +81 -0
  867. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/mock_digest_request.rb +29 -0
  868. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/uploaded_file.rb +46 -0
  869. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/lib/rack/test/utils.rb +131 -0
  870. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/rack-test.gemspec +78 -0
  871. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/fixtures/bar.txt +1 -0
  872. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/fixtures/config.ru +3 -0
  873. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/fixtures/fake_app.rb +128 -0
  874. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/fixtures/foo.txt +1 -0
  875. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test/cookie_spec.rb +201 -0
  876. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test/digest_auth_spec.rb +40 -0
  877. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test/multipart_spec.rb +147 -0
  878. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test/utils_spec.rb +121 -0
  879. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/rack/test_spec.rb +475 -0
  880. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/spec_helper.rb +66 -0
  881. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/support/matchers/body.rb +9 -0
  882. data/vendor/bundler/ruby/2.0.0/gems/rack-test-0.6.0/spec/support/matchers/challenge.rb +11 -0
  883. data/vendor/bundler/ruby/2.0.0/gems/rspec-2.14.1/License.txt +24 -0
  884. data/vendor/bundler/ruby/2.0.0/gems/rspec-2.14.1/README.md +47 -0
  885. data/vendor/bundler/ruby/2.0.0/gems/rspec-2.14.1/lib/rspec.rb +3 -0
  886. data/vendor/bundler/ruby/2.0.0/gems/rspec-2.14.1/lib/rspec/version.rb +5 -0
  887. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/.document +5 -0
  888. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/.yardopts +6 -0
  889. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/Changelog.md +904 -0
  890. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/License.txt +24 -0
  891. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/README.md +261 -0
  892. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/exe/autospec +13 -0
  893. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/exe/rspec +25 -0
  894. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/Autotest.md +38 -0
  895. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/README.md +17 -0
  896. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/Upgrade.md +364 -0
  897. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/README.md +28 -0
  898. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/example_name_option.feature +97 -0
  899. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/exit_status.feature +82 -0
  900. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/format_option.feature +75 -0
  901. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/init.feature +18 -0
  902. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/line_number_appended_to_path.feature +140 -0
  903. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/line_number_option.feature +58 -0
  904. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/order.feature +29 -0
  905. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/pattern_option.feature +49 -0
  906. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/rake_task.feature +122 -0
  907. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/require_option.feature +43 -0
  908. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/ruby.feature +22 -0
  909. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/tag.feature +98 -0
  910. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/warnings_option.feature +29 -0
  911. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/alias_example_to.feature +48 -0
  912. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/backtrace_clean_patterns.feature +102 -0
  913. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/custom_settings.feature +84 -0
  914. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/default_path.feature +38 -0
  915. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/deprecation_stream.feature +58 -0
  916. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/fail_fast.feature +77 -0
  917. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/failure_exit_code.feature +36 -0
  918. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/order_and_seed.feature +3 -0
  919. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/output_stream.feature +24 -0
  920. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/pattern.feature +38 -0
  921. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/profile.feature +220 -0
  922. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/read_options_from_file.feature +90 -0
  923. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/run_all_when_everything_filtered.feature +76 -0
  924. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/show_failures_in_pending_blocks.feature +61 -0
  925. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +52 -0
  926. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/example_groups/basic_structure.feature +55 -0
  927. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/example_groups/shared_context.feature +74 -0
  928. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/example_groups/shared_examples.feature +294 -0
  929. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/expectation_framework_integration/configure_expectation_framework.feature +102 -0
  930. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/filtering/exclusion_filters.feature +138 -0
  931. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/filtering/if_and_unless.feature +168 -0
  932. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/filtering/inclusion_filters.feature +105 -0
  933. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/formatters/configurable_colors.feature +31 -0
  934. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/formatters/custom_formatter.feature +36 -0
  935. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/formatters/json_formatter.feature +30 -0
  936. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/formatters/text_formatter.feature +46 -0
  937. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/helper_methods/arbitrary_methods.feature +40 -0
  938. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/helper_methods/let.feature +50 -0
  939. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/helper_methods/modules.feature +149 -0
  940. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/hooks/around_hooks.feature +343 -0
  941. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/hooks/before_and_after_hooks.feature +427 -0
  942. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/hooks/filtering.feature +234 -0
  943. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/metadata/current_example.feature +17 -0
  944. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/metadata/described_class.feature +17 -0
  945. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/metadata/user_defined.feature +113 -0
  946. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_any_framework.feature +106 -0
  947. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_flexmock.feature +96 -0
  948. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_mocha.feature +97 -0
  949. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_rr.feature +98 -0
  950. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/mock_framework_integration/use_rspec.feature +97 -0
  951. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/pending/pending_examples.feature +229 -0
  952. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/spec_files/arbitrary_file_suffix.feature +13 -0
  953. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/step_definitions/additional_cli_steps.rb +49 -0
  954. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/subject/attribute_of_subject.feature +124 -0
  955. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/subject/explicit_subject.feature +101 -0
  956. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/subject/implicit_receiver.feature +29 -0
  957. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/subject/implicit_subject.feature +63 -0
  958. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/support/env.rb +14 -0
  959. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/support/rubinius.rb +6 -0
  960. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/autotest/discover.rb +1 -0
  961. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/autotest/rspec2.rb +73 -0
  962. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/autorun.rb +2 -0
  963. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core.rb +169 -0
  964. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/backtrace_cleaner.rb +46 -0
  965. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/backward_compatibility.rb +55 -0
  966. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb +36 -0
  967. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/configuration.rb +1174 -0
  968. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/configuration_options.rb +156 -0
  969. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/deprecation.rb +31 -0
  970. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/drb_command_line.rb +26 -0
  971. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/drb_options.rb +87 -0
  972. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/dsl.rb +26 -0
  973. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example.rb +325 -0
  974. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb +479 -0
  975. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
  976. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/kernel.rb +9 -0
  977. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
  978. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/extensions/ordered.rb +27 -0
  979. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/filter_manager.rb +203 -0
  980. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters.rb +55 -0
  981. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/base_formatter.rb +246 -0
  982. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/base_text_formatter.rb +329 -0
  983. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/deprecation_formatter.rb +39 -0
  984. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
  985. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/helpers.rb +110 -0
  986. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/html_formatter.rb +155 -0
  987. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/html_printer.rb +408 -0
  988. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/json_formatter.rb +70 -0
  989. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/progress_formatter.rb +32 -0
  990. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/snippet_extractor.rb +92 -0
  991. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
  992. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb +519 -0
  993. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/memoized_helpers.rb +514 -0
  994. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/metadata.rb +299 -0
  995. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/metadata_hash_builder.rb +97 -0
  996. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
  997. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_flexmock.rb +27 -0
  998. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_mocha.rb +52 -0
  999. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_rr.rb +27 -0
  1000. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/mocking/with_rspec.rb +27 -0
  1001. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/option_parser.rb +219 -0
  1002. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/pending.rb +113 -0
  1003. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/project_initializer.rb +86 -0
  1004. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/rake_task.rb +206 -0
  1005. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb +132 -0
  1006. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/ruby_project.rb +44 -0
  1007. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb +87 -0
  1008. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/shared_context.rb +55 -0
  1009. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/shared_example_group.rb +185 -0
  1010. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/shared_example_group/collection.rb +43 -0
  1011. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/version.rb +8 -0
  1012. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/lib/rspec/core/world.rb +127 -0
  1013. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/autotest/discover_spec.rb +19 -0
  1014. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/autotest/failed_results_re_spec.rb +45 -0
  1015. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/autotest/rspec_spec.rb +133 -0
  1016. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/command_line/order_spec.rb +204 -0
  1017. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/backtrace_cleaner_spec.rb +68 -0
  1018. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/command_line_spec.rb +108 -0
  1019. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/command_line_spec_output.txt +0 -0
  1020. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/configuration_options_spec.rb +417 -0
  1021. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/configuration_spec.rb +1561 -0
  1022. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/deprecation_spec.rb +46 -0
  1023. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/deprecations_spec.rb +73 -0
  1024. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/drb_command_line_spec.rb +102 -0
  1025. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/drb_options_spec.rb +193 -0
  1026. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/dsl_spec.rb +25 -0
  1027. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/example_group_spec.rb +1187 -0
  1028. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/example_spec.rb +465 -0
  1029. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/filter_manager_spec.rb +246 -0
  1030. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/base_formatter_spec.rb +108 -0
  1031. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/base_text_formatter_spec.rb +494 -0
  1032. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/deprecation_formatter_spec.rb +96 -0
  1033. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
  1034. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/helpers_spec.rb +104 -0
  1035. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +404 -0
  1036. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +477 -0
  1037. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.8.7.html +414 -0
  1038. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.9.2.html +425 -0
  1039. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +404 -0
  1040. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +477 -0
  1041. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-1.9.3.html +425 -0
  1042. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatted-2.0.0.html +425 -0
  1043. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/html_formatter_spec.rb +110 -0
  1044. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/json_formatter_spec.rb +115 -0
  1045. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
  1046. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/snippet_extractor_spec.rb +26 -0
  1047. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +395 -0
  1048. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +477 -0
  1049. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +414 -0
  1050. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +425 -0
  1051. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +404 -0
  1052. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +477 -0
  1053. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +425 -0
  1054. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +425 -0
  1055. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/formatters/text_mate_formatter_spec.rb +96 -0
  1056. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/hooks_filtering_spec.rb +227 -0
  1057. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/hooks_spec.rb +267 -0
  1058. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/kernel_extensions_spec.rb +9 -0
  1059. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/memoized_helpers_spec.rb +688 -0
  1060. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/metadata_spec.rb +491 -0
  1061. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/option_parser_spec.rb +242 -0
  1062. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/pending_example_spec.rb +220 -0
  1063. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/project_initializer_spec.rb +130 -0
  1064. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/rake_task_spec.rb +181 -0
  1065. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/reporter_spec.rb +141 -0
  1066. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/a_bar.rb +0 -0
  1067. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/a_foo.rb +0 -0
  1068. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/a_spec.rb +1 -0
  1069. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
  1070. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/formatter_specs.rb +60 -0
  1071. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/resources/utf8_encoded.rb +8 -0
  1072. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/rspec_matchers_spec.rb +45 -0
  1073. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/ruby_project_spec.rb +26 -0
  1074. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/runner_spec.rb +82 -0
  1075. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/shared_context_spec.rb +114 -0
  1076. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/shared_example_group/collection_spec.rb +70 -0
  1077. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/shared_example_group_spec.rb +120 -0
  1078. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core/world_spec.rb +142 -0
  1079. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/rspec/core_spec.rb +74 -0
  1080. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/spec_helper.rb +132 -0
  1081. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/config_options_helper.rb +15 -0
  1082. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/helper_methods.rb +36 -0
  1083. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/in_sub_process.rb +37 -0
  1084. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/isolate_load_path_mutation.rb +6 -0
  1085. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/isolated_directory.rb +10 -0
  1086. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/isolated_home_directory.rb +16 -0
  1087. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/matchers.rb +65 -0
  1088. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/mathn_integration_support.rb +12 -0
  1089. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/sandboxed_mock_space.rb +100 -0
  1090. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/shared_example_groups.rb +41 -0
  1091. data/vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/spec/support/spec_files.rb +44 -0
  1092. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/.document +5 -0
  1093. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/.yardopts +6 -0
  1094. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/Changelog.md +419 -0
  1095. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/License.txt +23 -0
  1096. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/README.md +184 -0
  1097. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/README.md +48 -0
  1098. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/Upgrade.md +53 -0
  1099. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/README.md +90 -0
  1100. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/be.feature +175 -0
  1101. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/be_within.feature +48 -0
  1102. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/cover.feature +47 -0
  1103. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/end_with.feature +48 -0
  1104. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/equality.feature +139 -0
  1105. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/exist.feature +45 -0
  1106. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/expect_change.feature +59 -0
  1107. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/expect_error.feature +144 -0
  1108. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/have.feature +109 -0
  1109. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/include.feature +174 -0
  1110. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/match.feature +52 -0
  1111. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/operators.feature +227 -0
  1112. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/predicates.feature +137 -0
  1113. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/respond_to.feature +84 -0
  1114. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/satisfy.feature +33 -0
  1115. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/start_with.feature +48 -0
  1116. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/throw_symbol.feature +91 -0
  1117. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/types.feature +116 -0
  1118. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/built_in_matchers/yield.feature +161 -0
  1119. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/access_running_example.feature +53 -0
  1120. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/define_diffable_matcher.feature +27 -0
  1121. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/define_matcher.feature +368 -0
  1122. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
  1123. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
  1124. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/customized_message.feature +22 -0
  1125. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/diffing.feature +85 -0
  1126. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/implicit_docstrings.feature +52 -0
  1127. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/step_definitions/additional_cli_steps.rb +22 -0
  1128. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/support/env.rb +14 -0
  1129. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/support/rubinius.rb +6 -0
  1130. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/syntax_configuration.feature +71 -0
  1131. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/features/test_frameworks/test_unit.feature +44 -0
  1132. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec-expectations.rb +1 -0
  1133. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations.rb +73 -0
  1134. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/deprecation.rb +31 -0
  1135. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/differ.rb +154 -0
  1136. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/errors.rb +9 -0
  1137. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb +87 -0
  1138. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/extensions.rb +2 -0
  1139. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/extensions/array.rb +9 -0
  1140. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/extensions/object.rb +29 -0
  1141. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/fail_with.rb +79 -0
  1142. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb +68 -0
  1143. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/syntax.rb +164 -0
  1144. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/expectations/version.rb +9 -0
  1145. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers.rb +694 -0
  1146. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/be_close.rb +9 -0
  1147. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in.rb +39 -0
  1148. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/base_matcher.rb +68 -0
  1149. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/be.rb +197 -0
  1150. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/be_instance_of.rb +15 -0
  1151. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/be_kind_of.rb +11 -0
  1152. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/be_within.rb +55 -0
  1153. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/change.rb +141 -0
  1154. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/cover.rb +21 -0
  1155. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/eq.rb +22 -0
  1156. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/eql.rb +23 -0
  1157. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/equal.rb +48 -0
  1158. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/exist.rb +26 -0
  1159. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/has.rb +48 -0
  1160. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/have.rb +124 -0
  1161. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/include.rb +61 -0
  1162. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/match.rb +17 -0
  1163. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/match_array.rb +51 -0
  1164. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb +127 -0
  1165. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/respond_to.rb +74 -0
  1166. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/satisfy.rb +30 -0
  1167. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/start_and_end_with.rb +48 -0
  1168. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/throw_symbol.rb +94 -0
  1169. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/yield.rb +296 -0
  1170. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/compatibility.rb +14 -0
  1171. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/configuration.rb +108 -0
  1172. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/dsl.rb +24 -0
  1173. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
  1174. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/generated_descriptions.rb +35 -0
  1175. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/matcher.rb +300 -0
  1176. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/method_missing.rb +12 -0
  1177. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/operator_matcher.rb +113 -0
  1178. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/pretty.rb +70 -0
  1179. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/lib/rspec/matchers/test_unit_integration.rb +11 -0
  1180. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/differ_spec.rb +229 -0
  1181. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/expectation_target_spec.rb +82 -0
  1182. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/extensions/kernel_spec.rb +67 -0
  1183. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/fail_with_spec.rb +114 -0
  1184. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/handler_spec.rb +227 -0
  1185. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations/syntax_spec.rb +139 -0
  1186. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/expectations_spec.rb +50 -0
  1187. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/base_matcher_spec.rb +62 -0
  1188. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_close_spec.rb +22 -0
  1189. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_instance_of_spec.rb +63 -0
  1190. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_kind_of_spec.rb +41 -0
  1191. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_spec.rb +522 -0
  1192. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/be_within_spec.rb +137 -0
  1193. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/change_spec.rb +567 -0
  1194. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/configuration_spec.rb +206 -0
  1195. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/cover_spec.rb +69 -0
  1196. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/description_generation_spec.rb +190 -0
  1197. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/dsl_spec.rb +57 -0
  1198. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/eq_spec.rb +60 -0
  1199. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/eql_spec.rb +41 -0
  1200. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/equal_spec.rb +78 -0
  1201. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/exist_spec.rb +124 -0
  1202. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/has_spec.rb +122 -0
  1203. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/have_spec.rb +455 -0
  1204. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/include_matcher_integration_spec.rb +30 -0
  1205. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/include_spec.rb +531 -0
  1206. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/match_array_spec.rb +194 -0
  1207. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/match_spec.rb +74 -0
  1208. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/matcher_spec.rb +471 -0
  1209. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/matchers_spec.rb +37 -0
  1210. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/method_missing_spec.rb +28 -0
  1211. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/operator_matcher_spec.rb +252 -0
  1212. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/raise_error_spec.rb +535 -0
  1213. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/respond_to_spec.rb +292 -0
  1214. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/satisfy_spec.rb +44 -0
  1215. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/start_with_end_with_spec.rb +186 -0
  1216. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/throw_symbol_spec.rb +116 -0
  1217. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/rspec/matchers/yield_spec.rb +514 -0
  1218. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/spec_helper.rb +54 -0
  1219. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/classes.rb +56 -0
  1220. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/in_sub_process.rb +38 -0
  1221. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/matchers.rb +22 -0
  1222. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/ruby_version.rb +10 -0
  1223. data/vendor/bundler/ruby/2.0.0/gems/rspec-expectations-2.14.4/spec/support/shared_examples.rb +13 -0
  1224. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/.document +5 -0
  1225. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/.yardopts +6 -0
  1226. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/Changelog.md +420 -0
  1227. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/License.txt +23 -0
  1228. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/README.md +315 -0
  1229. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/README.md +67 -0
  1230. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/Scope.md +17 -0
  1231. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/Upgrade.md +22 -0
  1232. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/argument_matchers/README.md +27 -0
  1233. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/argument_matchers/explicit.feature +59 -0
  1234. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/argument_matchers/general_matchers.feature +85 -0
  1235. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/argument_matchers/type_matchers.feature +26 -0
  1236. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/README.md +73 -0
  1237. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/allow_any_instance_of.feature +26 -0
  1238. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/any_instance.feature +21 -0
  1239. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/block_local_expectations.feature.pending +55 -0
  1240. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/call_original.feature +24 -0
  1241. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/expect_any_instance_of.feature +27 -0
  1242. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/expect_message_using_expect.feature +107 -0
  1243. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/expect_message_using_should_receive.feature +118 -0
  1244. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/receive_counts.feature +209 -0
  1245. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
  1246. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/README.md +73 -0
  1247. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/any_instance.feature +136 -0
  1248. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/as_null_object.feature +40 -0
  1249. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/simple_return_value_with_allow.feature +44 -0
  1250. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/simple_return_value_with_stub.feature +64 -0
  1251. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/stub_chain.feature +51 -0
  1252. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/stub_implementation.feature +48 -0
  1253. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/method_stubs/to_ary.feature +51 -0
  1254. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/mutating_constants/README.md +82 -0
  1255. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/mutating_constants/hiding_defined_constant.feature +64 -0
  1256. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/mutating_constants/stub_defined_constant.feature +79 -0
  1257. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/mutating_constants/stub_undefined_constant.feature +50 -0
  1258. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/outside_rspec/configuration.feature +62 -0
  1259. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/outside_rspec/standalone.feature +33 -0
  1260. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/spies/spy_partial_mock_method.feature +34 -0
  1261. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/spies/spy_pure_mock_method.feature +76 -0
  1262. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/spies/spy_unstubbed_method.feature +18 -0
  1263. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/step_definitions/additional_cli_steps.rb +11 -0
  1264. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/support/env.rb +13 -0
  1265. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/support/rubinius.rb +6 -0
  1266. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/features/test_frameworks/test_unit.feature +43 -0
  1267. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks.rb +96 -0
  1268. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/chain.rb +94 -0
  1269. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/expectation_chain.rb +42 -0
  1270. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
  1271. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/recorder.rb +211 -0
  1272. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/stub_chain.rb +40 -0
  1273. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  1274. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/argument_list_matcher.rb +97 -0
  1275. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/argument_matchers.rb +238 -0
  1276. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/configuration.rb +55 -0
  1277. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/deprecation.rb +18 -0
  1278. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/error_generator.rb +179 -0
  1279. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/errors.rb +12 -0
  1280. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/example_methods.rb +156 -0
  1281. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
  1282. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/extensions/marshal.rb +17 -0
  1283. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/framework.rb +34 -0
  1284. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/instance_method_stasher.rb +94 -0
  1285. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/matchers/have_received.rb +93 -0
  1286. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/matchers/receive.rb +97 -0
  1287. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/message_expectation.rb +583 -0
  1288. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/method_double.rb +271 -0
  1289. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/mock.rb +7 -0
  1290. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/mutate_const.rb +403 -0
  1291. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/order_group.rb +40 -0
  1292. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/proxy.rb +223 -0
  1293. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/proxy_for_nil.rb +37 -0
  1294. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/space.rb +91 -0
  1295. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/standalone.rb +3 -0
  1296. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/stub_chain.rb +51 -0
  1297. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/syntax.rb +349 -0
  1298. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/targets.rb +69 -0
  1299. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/test_double.rb +135 -0
  1300. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/version.rb +7 -0
  1301. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/lib/spec/mocks.rb +4 -0
  1302. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/and_call_original_spec.rb +243 -0
  1303. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/and_yield_spec.rb +127 -0
  1304. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/any_instance/message_chains_spec.rb +41 -0
  1305. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/any_instance_spec.rb +987 -0
  1306. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/any_number_of_times_spec.rb +36 -0
  1307. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/argument_expectation_spec.rb +32 -0
  1308. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/at_least_spec.rb +151 -0
  1309. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/at_most_spec.rb +90 -0
  1310. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/block_return_value_spec.rb +88 -0
  1311. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
  1312. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
  1313. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
  1314. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
  1315. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
  1316. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
  1317. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
  1318. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
  1319. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
  1320. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/combining_implementation_instructions_spec.rb +205 -0
  1321. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/configuration_spec.rb +150 -0
  1322. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/double_spec.rb +24 -0
  1323. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/extensions/marshal_spec.rb +54 -0
  1324. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/failing_argument_matchers_spec.rb +110 -0
  1325. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
  1326. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
  1327. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/instance_method_stasher_spec.rb +58 -0
  1328. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/matchers/have_received_spec.rb +266 -0
  1329. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/matchers/receive_spec.rb +336 -0
  1330. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/methods_spec.rb +27 -0
  1331. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
  1332. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/mock_space_spec.rb +113 -0
  1333. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/mock_spec.rb +798 -0
  1334. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/multiple_return_value_spec.rb +132 -0
  1335. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/mutate_const_spec.rb +501 -0
  1336. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/nil_expectation_warning_spec.rb +68 -0
  1337. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/null_object_mock_spec.rb +123 -0
  1338. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/once_counts_spec.rb +52 -0
  1339. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/options_hash_spec.rb +35 -0
  1340. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/partial_mock_spec.rb +205 -0
  1341. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
  1342. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
  1343. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/precise_counts_spec.rb +68 -0
  1344. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/record_messages_spec.rb +26 -0
  1345. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/serialization_spec.rb +89 -0
  1346. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/space_spec.rb +32 -0
  1347. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stash_spec.rb +46 -0
  1348. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stub_chain_spec.rb +154 -0
  1349. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stub_implementation_spec.rb +81 -0
  1350. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stub_spec.rb +353 -0
  1351. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/stubbed_message_expectations_spec.rb +58 -0
  1352. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb +81 -0
  1353. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/test_double_spec.rb +67 -0
  1354. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/to_ary_spec.rb +54 -0
  1355. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks/twice_counts_spec.rb +66 -0
  1356. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/rspec/mocks_spec.rb +65 -0
  1357. data/vendor/bundler/ruby/2.0.0/gems/rspec-mocks-2.14.4/spec/spec_helper.rb +60 -0
  1358. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/.yardopts +11 -0
  1359. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/CONTRIBUTING +3 -0
  1360. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/MIT-LICENSE +20 -0
  1361. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/README.md +201 -0
  1362. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/REVISION +1 -0
  1363. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/Rakefile +347 -0
  1364. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/VERSION +1 -0
  1365. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/VERSION_DATE +1 -0
  1366. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/VERSION_NAME +1 -0
  1367. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/bin/sass +9 -0
  1368. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/bin/sass-convert +8 -0
  1369. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/bin/scss +9 -0
  1370. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/extra/update_watch.rb +13 -0
  1371. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/init.rb +18 -0
  1372. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass.rb +95 -0
  1373. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores.rb +15 -0
  1374. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/base.rb +88 -0
  1375. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/chain.rb +33 -0
  1376. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/filesystem.rb +60 -0
  1377. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/memory.rb +47 -0
  1378. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/cache_stores/null.rb +25 -0
  1379. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/callbacks.rb +66 -0
  1380. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/css.rb +409 -0
  1381. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/engine.rb +928 -0
  1382. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/environment.rb +101 -0
  1383. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/error.rb +201 -0
  1384. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/exec.rb +707 -0
  1385. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/importers.rb +22 -0
  1386. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/importers/base.rb +139 -0
  1387. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/importers/filesystem.rb +190 -0
  1388. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/logger.rb +15 -0
  1389. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/logger/base.rb +32 -0
  1390. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/logger/log_level.rb +49 -0
  1391. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/media.rb +213 -0
  1392. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin.rb +132 -0
  1393. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/compiler.rb +406 -0
  1394. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/configuration.rb +123 -0
  1395. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/generic.rb +15 -0
  1396. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/merb.rb +48 -0
  1397. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/rack.rb +60 -0
  1398. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/rails.rb +47 -0
  1399. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/plugin/staleness_checker.rb +199 -0
  1400. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/railtie.rb +9 -0
  1401. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/repl.rb +57 -0
  1402. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/root.rb +7 -0
  1403. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script.rb +39 -0
  1404. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/arg_list.rb +52 -0
  1405. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/bool.rb +18 -0
  1406. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/color.rb +606 -0
  1407. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/css_lexer.rb +29 -0
  1408. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/css_parser.rb +31 -0
  1409. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/funcall.rb +237 -0
  1410. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/functions.rb +1543 -0
  1411. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/interpolation.rb +79 -0
  1412. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/lexer.rb +348 -0
  1413. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/list.rb +85 -0
  1414. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/literal.rb +221 -0
  1415. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/node.rb +99 -0
  1416. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/null.rb +37 -0
  1417. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/number.rb +453 -0
  1418. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/operation.rb +110 -0
  1419. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/parser.rb +495 -0
  1420. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/string.rb +51 -0
  1421. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/string_interpolation.rb +103 -0
  1422. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/unary_operation.rb +69 -0
  1423. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/script/variable.rb +58 -0
  1424. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss.rb +16 -0
  1425. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/css_parser.rb +36 -0
  1426. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/parser.rb +1179 -0
  1427. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/rx.rb +133 -0
  1428. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/script_lexer.rb +15 -0
  1429. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/script_parser.rb +25 -0
  1430. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/scss/static_parser.rb +54 -0
  1431. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector.rb +452 -0
  1432. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/abstract_sequence.rb +94 -0
  1433. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/comma_sequence.rb +92 -0
  1434. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/sequence.rb +507 -0
  1435. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/simple.rb +119 -0
  1436. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/selector/simple_sequence.rb +212 -0
  1437. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/shared.rb +76 -0
  1438. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/supports.rb +229 -0
  1439. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/charset_node.rb +22 -0
  1440. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/comment_node.rb +82 -0
  1441. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/content_node.rb +9 -0
  1442. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/css_import_node.rb +60 -0
  1443. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/debug_node.rb +18 -0
  1444. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/directive_node.rb +42 -0
  1445. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/each_node.rb +24 -0
  1446. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/extend_node.rb +36 -0
  1447. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/for_node.rb +36 -0
  1448. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/function_node.rb +34 -0
  1449. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/if_node.rb +52 -0
  1450. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/import_node.rb +75 -0
  1451. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/media_node.rb +58 -0
  1452. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/mixin_def_node.rb +38 -0
  1453. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/mixin_node.rb +39 -0
  1454. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/node.rb +196 -0
  1455. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/prop_node.rb +152 -0
  1456. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/return_node.rb +18 -0
  1457. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/root_node.rb +28 -0
  1458. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/rule_node.rb +132 -0
  1459. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/supports_node.rb +51 -0
  1460. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/trace_node.rb +32 -0
  1461. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/variable_node.rb +30 -0
  1462. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/base.rb +75 -0
  1463. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/check_nesting.rb +147 -0
  1464. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/convert.rb +316 -0
  1465. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/cssize.rb +229 -0
  1466. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/deep_copy.rb +102 -0
  1467. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/extend.rb +68 -0
  1468. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/perform.rb +446 -0
  1469. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/set_options.rb +125 -0
  1470. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/visitors/to_css.rb +228 -0
  1471. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/warn_node.rb +18 -0
  1472. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/tree/while_node.rb +18 -0
  1473. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/util.rb +930 -0
  1474. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/util/multibyte_string_scanner.rb +155 -0
  1475. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/util/subset_map.rb +109 -0
  1476. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/util/test.rb +10 -0
  1477. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/lib/sass/version.rb +126 -0
  1478. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/rails/init.rb +1 -0
  1479. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/Gemfile +3 -0
  1480. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/Gemfile.lock +10 -0
  1481. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/cache_test.rb +89 -0
  1482. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/callbacks_test.rb +61 -0
  1483. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/conversion_test.rb +1760 -0
  1484. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/css2sass_test.rb +439 -0
  1485. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/data/hsl-rgb.txt +319 -0
  1486. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/engine_test.rb +3243 -0
  1487. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/exec_test.rb +86 -0
  1488. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/extend_test.rb +1482 -0
  1489. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/fixtures/test_staleness_check_across_importers.css +1 -0
  1490. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/fixtures/test_staleness_check_across_importers.scss +1 -0
  1491. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/functions_test.rb +1139 -0
  1492. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/importer_test.rb +192 -0
  1493. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/logger_test.rb +58 -0
  1494. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/mock_importer.rb +49 -0
  1495. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_results/more1.css +9 -0
  1496. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_results/more1_with_line_comments.css +26 -0
  1497. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_results/more_import.css +29 -0
  1498. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_templates/_more_partial.sass +2 -0
  1499. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_templates/more1.sass +23 -0
  1500. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/more_templates/more_import.sass +11 -0
  1501. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/plugin_test.rb +550 -0
  1502. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/alt.css +4 -0
  1503. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/basic.css +9 -0
  1504. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/cached_import_option.css +3 -0
  1505. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/compact.css +5 -0
  1506. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/complex.css +86 -0
  1507. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/compressed.css +1 -0
  1508. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/expanded.css +19 -0
  1509. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/filename_fn.css +3 -0
  1510. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/if.css +3 -0
  1511. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import.css +31 -0
  1512. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import_charset.css +5 -0
  1513. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import_charset_1_8.css +5 -0
  1514. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import_charset_ibm866.css +5 -0
  1515. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/import_content.css +1 -0
  1516. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/line_numbers.css +49 -0
  1517. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/mixins.css +95 -0
  1518. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/multiline.css +24 -0
  1519. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/nested.css +22 -0
  1520. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/options.css +1 -0
  1521. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/parent_ref.css +13 -0
  1522. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/script.css +16 -0
  1523. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/scss_import.css +31 -0
  1524. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/scss_importee.css +2 -0
  1525. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
  1526. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/subdir/subdir.css +3 -0
  1527. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/units.css +11 -0
  1528. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/warn.css +0 -0
  1529. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/results/warn_imported.css +0 -0
  1530. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/script_conversion_test.rb +299 -0
  1531. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/script_test.rb +591 -0
  1532. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/scss/css_test.rb +1093 -0
  1533. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/scss/rx_test.rb +156 -0
  1534. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/scss/scss_test.rb +2043 -0
  1535. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/scss/test_helper.rb +37 -0
  1536. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_cached_import_option_partial.scss +1 -0
  1537. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_double_import_loop2.sass +1 -0
  1538. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_filename_fn_import.scss +11 -0
  1539. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_imported_charset_ibm866.sass +4 -0
  1540. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_imported_charset_utf8.sass +4 -0
  1541. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_imported_content.sass +3 -0
  1542. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_partial.sass +2 -0
  1543. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/_same_name_different_partiality.scss +1 -0
  1544. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/alt.sass +16 -0
  1545. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/basic.sass +23 -0
  1546. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork1.sass +2 -0
  1547. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork2.sass +2 -0
  1548. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork3.sass +2 -0
  1549. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork4.sass +2 -0
  1550. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/bork5.sass +3 -0
  1551. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/cached_import_option.scss +3 -0
  1552. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/compact.sass +17 -0
  1553. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/complex.sass +305 -0
  1554. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/compressed.sass +15 -0
  1555. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/double_import_loop1.sass +1 -0
  1556. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/expanded.sass +17 -0
  1557. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/filename_fn.scss +18 -0
  1558. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/if.sass +11 -0
  1559. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import.sass +12 -0
  1560. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import_charset.sass +9 -0
  1561. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import_charset_1_8.sass +6 -0
  1562. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import_charset_ibm866.sass +11 -0
  1563. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/import_content.sass +4 -0
  1564. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/importee.less +2 -0
  1565. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/importee.sass +19 -0
  1566. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/line_numbers.sass +13 -0
  1567. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/mixin_bork.sass +5 -0
  1568. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/mixins.sass +76 -0
  1569. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/multiline.sass +20 -0
  1570. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested.sass +25 -0
  1571. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_bork1.sass +2 -0
  1572. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_bork2.sass +2 -0
  1573. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_bork3.sass +2 -0
  1574. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_bork4.sass +2 -0
  1575. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_import.sass +2 -0
  1576. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/nested_mixin_bork.sass +6 -0
  1577. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/options.sass +2 -0
  1578. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/parent_ref.sass +25 -0
  1579. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/same_name_different_ext.sass +2 -0
  1580. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/same_name_different_ext.scss +1 -0
  1581. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/same_name_different_partiality.scss +1 -0
  1582. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/script.sass +101 -0
  1583. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/scss_import.scss +11 -0
  1584. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/scss_importee.scss +1 -0
  1585. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/single_import_loop.sass +1 -0
  1586. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
  1587. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
  1588. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/subdir/subdir.sass +6 -0
  1589. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/units.sass +11 -0
  1590. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/warn.sass +3 -0
  1591. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/templates/warn_imported.sass +4 -0
  1592. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/test_helper.rb +8 -0
  1593. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/util/multibyte_string_scanner_test.rb +147 -0
  1594. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/util/subset_map_test.rb +91 -0
  1595. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/sass/util_test.rb +361 -0
  1596. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/test/test_helper.rb +80 -0
  1597. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/CHANGELOG.md +228 -0
  1598. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/CONTRIBUTING.md +38 -0
  1599. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/Gemfile +30 -0
  1600. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/Guardfile +8 -0
  1601. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/LICENSE +20 -0
  1602. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/README.md +315 -0
  1603. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/Rakefile +47 -0
  1604. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/Vagrantfile +96 -0
  1605. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen.rb +40 -0
  1606. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapter.rb +214 -0
  1607. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/bsd.rb +112 -0
  1608. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/darwin.rb +85 -0
  1609. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/linux.rb +113 -0
  1610. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/polling.rb +67 -0
  1611. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/adapters/windows.rb +87 -0
  1612. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/dependency_manager.rb +126 -0
  1613. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/directory_record.rb +371 -0
  1614. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/listener.rb +225 -0
  1615. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/multi_listener.rb +143 -0
  1616. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/turnstile.rb +28 -0
  1617. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/lib/listen/version.rb +3 -0
  1618. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/listen.gemspec +22 -0
  1619. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapter_spec.rb +183 -0
  1620. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/bsd_spec.rb +36 -0
  1621. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/darwin_spec.rb +37 -0
  1622. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/linux_spec.rb +47 -0
  1623. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/polling_spec.rb +68 -0
  1624. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/adapters/windows_spec.rb +30 -0
  1625. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/dependency_manager_spec.rb +107 -0
  1626. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/directory_record_spec.rb +1225 -0
  1627. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/listener_spec.rb +169 -0
  1628. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/multi_listener_spec.rb +174 -0
  1629. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen/turnstile_spec.rb +56 -0
  1630. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/listen_spec.rb +73 -0
  1631. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/spec_helper.rb +21 -0
  1632. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/adapter_helper.rb +629 -0
  1633. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/directory_record_helper.rb +55 -0
  1634. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/fixtures_helper.rb +29 -0
  1635. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/listeners_helper.rb +156 -0
  1636. data/vendor/bundler/ruby/2.0.0/gems/sass-3.2.12/vendor/listen/spec/support/platform_helper.rb +15 -0
  1637. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/.yardopts +5 -0
  1638. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/AUTHORS +61 -0
  1639. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/CHANGES +1276 -0
  1640. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/Gemfile +93 -0
  1641. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/LICENSE +22 -0
  1642. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.de.md +2865 -0
  1643. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.es.md +2779 -0
  1644. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.fr.md +2925 -0
  1645. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.hu.md +694 -0
  1646. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.jp.md +1141 -0
  1647. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.ko.md +2489 -0
  1648. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.md +2889 -0
  1649. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.pt-br.md +965 -0
  1650. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.pt-pt.md +791 -0
  1651. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.ru.md +2731 -0
  1652. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/README.zh.md +2139 -0
  1653. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/Rakefile +199 -0
  1654. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/examples/chat.rb +61 -0
  1655. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/examples/simple.rb +3 -0
  1656. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/examples/stream.ru +26 -0
  1657. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra.rb +4 -0
  1658. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb +2034 -0
  1659. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/images/404.png +0 -0
  1660. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/images/500.png +0 -0
  1661. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/main.rb +34 -0
  1662. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/show_exceptions.rb +345 -0
  1663. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/version.rb +3 -0
  1664. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/sinatra.gemspec +18 -0
  1665. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/base_test.rb +171 -0
  1666. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/builder_test.rb +91 -0
  1667. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/coffee_test.rb +90 -0
  1668. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/compile_test.rb +183 -0
  1669. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/contest.rb +100 -0
  1670. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/creole_test.rb +65 -0
  1671. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/delegator_test.rb +160 -0
  1672. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/encoding_test.rb +20 -0
  1673. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/erb_test.rb +116 -0
  1674. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/extensions_test.rb +98 -0
  1675. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/filter_test.rb +487 -0
  1676. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/haml_test.rb +109 -0
  1677. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/helper.rb +131 -0
  1678. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/helpers_test.rb +1917 -0
  1679. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/integration/app.rb +79 -0
  1680. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/integration_helper.rb +236 -0
  1681. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/integration_test.rb +104 -0
  1682. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/less_test.rb +69 -0
  1683. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/liquid_test.rb +77 -0
  1684. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/mapped_error_test.rb +285 -0
  1685. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/markaby_test.rb +80 -0
  1686. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/markdown_test.rb +82 -0
  1687. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/middleware_test.rb +68 -0
  1688. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/nokogiri_test.rb +67 -0
  1689. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/public/favicon.ico +0 -0
  1690. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/rabl_test.rb +89 -0
  1691. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/rack_test.rb +45 -0
  1692. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/radius_test.rb +59 -0
  1693. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/rdoc_test.rb +66 -0
  1694. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/readme_test.rb +130 -0
  1695. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/request_test.rb +92 -0
  1696. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/response_test.rb +63 -0
  1697. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/result_test.rb +76 -0
  1698. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/route_added_hook_test.rb +59 -0
  1699. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/routing_test.rb +1409 -0
  1700. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/sass_test.rb +116 -0
  1701. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/scss_test.rb +89 -0
  1702. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/server_test.rb +48 -0
  1703. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/settings_test.rb +582 -0
  1704. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/sinatra_test.rb +12 -0
  1705. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/slim_test.rb +102 -0
  1706. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/static_test.rb +219 -0
  1707. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/streaming_test.rb +149 -0
  1708. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/stylus_test.rb +90 -0
  1709. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/templates_test.rb +382 -0
  1710. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/textile_test.rb +65 -0
  1711. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/a/in_a.str +1 -0
  1712. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/ascii.erb +2 -0
  1713. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/b/in_b.str +1 -0
  1714. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/calc.html.erb +1 -0
  1715. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/error.builder +3 -0
  1716. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/error.erb +3 -0
  1717. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/error.haml +3 -0
  1718. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/error.sass +2 -0
  1719. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/explicitly_nested.str +1 -0
  1720. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/foo/hello.test +1 -0
  1721. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.builder +1 -0
  1722. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.coffee +1 -0
  1723. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.creole +1 -0
  1724. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.erb +1 -0
  1725. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.haml +1 -0
  1726. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.less +5 -0
  1727. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.liquid +1 -0
  1728. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.mab +1 -0
  1729. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.md +1 -0
  1730. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.nokogiri +1 -0
  1731. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.rabl +2 -0
  1732. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.radius +1 -0
  1733. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.rdoc +1 -0
  1734. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.sass +2 -0
  1735. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.scss +3 -0
  1736. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.slim +1 -0
  1737. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.str +1 -0
  1738. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.styl +2 -0
  1739. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.test +1 -0
  1740. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.textile +1 -0
  1741. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.wlang +1 -0
  1742. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/hello.yajl +1 -0
  1743. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.builder +3 -0
  1744. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.erb +2 -0
  1745. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.haml +2 -0
  1746. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.liquid +2 -0
  1747. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.mab +2 -0
  1748. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.nokogiri +3 -0
  1749. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.rabl +3 -0
  1750. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.radius +2 -0
  1751. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.slim +3 -0
  1752. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.str +2 -0
  1753. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.test +1 -0
  1754. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/layout2.wlang +2 -0
  1755. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/nested.str +1 -0
  1756. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/views/utf8.erb +2 -0
  1757. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/wlang_test.rb +87 -0
  1758. data/vendor/bundler/ruby/2.0.0/gems/sinatra-1.4.4/test/yajl_test.rb +86 -0
  1759. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/CHANGELOG.rdoc +103 -0
  1760. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/LICENSE +20 -0
  1761. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/README.md +307 -0
  1762. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/Thorfile +24 -0
  1763. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/bin/rake2thor +86 -0
  1764. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/bin/thor +6 -0
  1765. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor.rb +334 -0
  1766. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions.rb +314 -0
  1767. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/create_file.rb +105 -0
  1768. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/create_link.rb +57 -0
  1769. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/directory.rb +93 -0
  1770. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb +134 -0
  1771. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb +270 -0
  1772. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/actions/inject_into_file.rb +109 -0
  1773. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/base.rb +579 -0
  1774. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/core_ext/file_binary_read.rb +9 -0
  1775. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/core_ext/hash_with_indifferent_access.rb +75 -0
  1776. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/core_ext/ordered_hash.rb +100 -0
  1777. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/error.rb +30 -0
  1778. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/group.rb +273 -0
  1779. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/invocation.rb +168 -0
  1780. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser.rb +4 -0
  1781. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser/argument.rb +67 -0
  1782. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser/arguments.rb +161 -0
  1783. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser/option.rb +120 -0
  1784. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/parser/options.rb +173 -0
  1785. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/rake_compat.rb +66 -0
  1786. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/runner.rb +309 -0
  1787. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/shell.rb +88 -0
  1788. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/shell/basic.rb +290 -0
  1789. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/shell/color.rb +108 -0
  1790. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/shell/html.rb +121 -0
  1791. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/task.rb +114 -0
  1792. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/util.rb +229 -0
  1793. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/lib/thor/version.rb +3 -0
  1794. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/create_file_spec.rb +170 -0
  1795. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/directory_spec.rb +136 -0
  1796. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/empty_directory_spec.rb +98 -0
  1797. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/file_manipulation_spec.rb +310 -0
  1798. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions/inject_into_file_spec.rb +135 -0
  1799. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/actions_spec.rb +322 -0
  1800. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/base_spec.rb +269 -0
  1801. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/core_ext/hash_with_indifferent_access_spec.rb +43 -0
  1802. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/core_ext/ordered_hash_spec.rb +115 -0
  1803. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/application.rb +2 -0
  1804. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/bundle/execute.rb +6 -0
  1805. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/bundle/main.thor +1 -0
  1806. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/%file_name%.rb.tt +1 -0
  1807. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/README +3 -0
  1808. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/block_helper.rb +3 -0
  1809. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/components/.empty_directory +0 -0
  1810. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/doc/config.rb +1 -0
  1811. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/group.thor +114 -0
  1812. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/invoke.thor +112 -0
  1813. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/path with spaces b/data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/path with → spaces +0 -0
  1814. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/script.thor +184 -0
  1815. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/fixtures/task.thor +10 -0
  1816. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/group_spec.rb +178 -0
  1817. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/invocation_spec.rb +100 -0
  1818. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/parser/argument_spec.rb +47 -0
  1819. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/parser/arguments_spec.rb +64 -0
  1820. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/parser/option_spec.rb +202 -0
  1821. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/parser/options_spec.rb +319 -0
  1822. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/rake_compat_spec.rb +68 -0
  1823. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/register_spec.rb +92 -0
  1824. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/runner_spec.rb +210 -0
  1825. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/shell/basic_spec.rb +223 -0
  1826. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/shell/color_spec.rb +41 -0
  1827. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/shell/html_spec.rb +27 -0
  1828. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/shell_spec.rb +47 -0
  1829. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/spec_helper.rb +54 -0
  1830. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/task_spec.rb +69 -0
  1831. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/thor_spec.rb +334 -0
  1832. data/vendor/bundler/ruby/2.0.0/gems/thor-0.14.6/spec/util_spec.rb +163 -0
  1833. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/CHANGELOG.md +44 -0
  1834. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/COPYING +18 -0
  1835. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/Gemfile +32 -0
  1836. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/HACKING +16 -0
  1837. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/README.md +232 -0
  1838. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/Rakefile +104 -0
  1839. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/TEMPLATES.md +516 -0
  1840. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/bin/tilt +112 -0
  1841. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt.rb +204 -0
  1842. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/asciidoc.rb +34 -0
  1843. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/builder.rb +40 -0
  1844. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/coffee.rb +54 -0
  1845. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/css.rb +80 -0
  1846. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/csv.rb +71 -0
  1847. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/erb.rb +110 -0
  1848. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/etanni.rb +27 -0
  1849. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/haml.rb +64 -0
  1850. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/liquid.rb +45 -0
  1851. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/markaby.rb +52 -0
  1852. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/markdown.rb +214 -0
  1853. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/nokogiri.rb +43 -0
  1854. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/plain.rb +20 -0
  1855. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/radius.rb +55 -0
  1856. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/rdoc.rb +47 -0
  1857. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/string.rb +21 -0
  1858. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb +292 -0
  1859. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/textile.rb +30 -0
  1860. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/wiki.rb +58 -0
  1861. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/yajl.rb +94 -0
  1862. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/contest.rb +68 -0
  1863. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/locals.mab +1 -0
  1864. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/markaby.mab +1 -0
  1865. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/markaby_other_static.mab +1 -0
  1866. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/render_twice.mab +1 -0
  1867. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/scope.mab +1 -0
  1868. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/markaby/yielding.mab +2 -0
  1869. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_asciidoctor_test.rb +44 -0
  1870. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_blueclothtemplate_test.rb +45 -0
  1871. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_buildertemplate_test.rb +59 -0
  1872. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_cache_test.rb +32 -0
  1873. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_coffeescripttemplate_test.rb +114 -0
  1874. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_compilesite_test.rb +51 -0
  1875. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_creoletemplate_test.rb +28 -0
  1876. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_csv_test.rb +69 -0
  1877. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_erbtemplate_test.rb +239 -0
  1878. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_erubistemplate_test.rb +151 -0
  1879. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_etannitemplate_test.rb +173 -0
  1880. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_fallback_test.rb +122 -0
  1881. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_hamltemplate_test.rb +144 -0
  1882. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_kramdown_test.rb +42 -0
  1883. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_lesstemplate_test.less +1 -0
  1884. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_lesstemplate_test.rb +42 -0
  1885. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_liquidtemplate_test.rb +78 -0
  1886. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_markaby_test.rb +88 -0
  1887. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_markdown_test.rb +172 -0
  1888. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_marukutemplate_test.rb +48 -0
  1889. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_nokogiritemplate_test.rb +87 -0
  1890. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_radiustemplate_test.rb +75 -0
  1891. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_rdiscounttemplate_test.rb +55 -0
  1892. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_rdoctemplate_test.rb +31 -0
  1893. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_redcarpettemplate_test.rb +71 -0
  1894. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_redclothtemplate_test.rb +36 -0
  1895. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_sasstemplate_test.rb +41 -0
  1896. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_stringtemplate_test.rb +170 -0
  1897. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_template_test.rb +323 -0
  1898. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_test.rb +65 -0
  1899. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_wikiclothtemplate_test.rb +32 -0
  1900. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/test/tilt_yajltemplate_test.rb +101 -0
  1901. data/vendor/bundler/ruby/2.0.0/gems/tilt-1.4.1/tilt.gemspec +120 -0
  1902. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/.yardopts +25 -0
  1903. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/LEGAL +66 -0
  1904. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/LICENSE +22 -0
  1905. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/README.md +620 -0
  1906. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/Rakefile +61 -0
  1907. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/builtins_vs_eval.rb +23 -0
  1908. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/concat_vs_join.rb +12 -0
  1909. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/erb_vs_erubis.rb +53 -0
  1910. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/format_args.rb +46 -0
  1911. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/generation.rb +37 -0
  1912. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/marshal_vs_dbm.rb +63 -0
  1913. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/parsing.rb +46 -0
  1914. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/pathname_vs_string.rb +50 -0
  1915. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/rdoc_vs_yardoc.rb +10 -0
  1916. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/registry_store_types.rb +48 -0
  1917. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/ri_vs_yri.rb +18 -0
  1918. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/ripper_parser.rb +12 -0
  1919. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/splat_vs_flatten.rb +12 -0
  1920. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/template_erb.rb +22 -0
  1921. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/template_format.rb +6 -0
  1922. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/template_profile.rb +17 -0
  1923. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/benchmarks/yri_cache.rb +19 -0
  1924. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/bin/yard +12 -0
  1925. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/bin/yardoc +12 -0
  1926. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/bin/yri +12 -0
  1927. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/CodeObjects.md +115 -0
  1928. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/GettingStarted.md +592 -0
  1929. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Handlers.md +152 -0
  1930. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Overview.md +61 -0
  1931. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Parser.md +191 -0
  1932. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Tags.md +282 -0
  1933. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/TagsArch.md +123 -0
  1934. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/Templates.md +496 -0
  1935. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/WhatsNew.md +1244 -0
  1936. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/code-objects-class-diagram.png +0 -0
  1937. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/handlers-class-diagram.png +0 -0
  1938. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/overview-class-diagram.png +0 -0
  1939. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/parser-class-diagram.png +0 -0
  1940. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/images/tags-class-diagram.png +0 -0
  1941. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/fulldoc/html/full_list_tag.erb +7 -0
  1942. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/fulldoc/html/setup.rb +6 -0
  1943. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/layout/html/setup.rb +8 -0
  1944. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/layout/html/tag_list.erb +11 -0
  1945. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/yard_tags/html/list.erb +18 -0
  1946. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/default/yard_tags/html/setup.rb +27 -0
  1947. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/docs/templates/plugin.rb +65 -0
  1948. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/rubygems_plugin.rb +4 -0
  1949. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard.rb +71 -0
  1950. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/autoload.rb +290 -0
  1951. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/command.rb +84 -0
  1952. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/command_parser.rb +92 -0
  1953. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/config.rb +136 -0
  1954. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/diff.rb +270 -0
  1955. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/display.rb +68 -0
  1956. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/gems.rb +83 -0
  1957. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/graph.rb +126 -0
  1958. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/help.rb +18 -0
  1959. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/i18n.rb +69 -0
  1960. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/list.rb +22 -0
  1961. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/markup_types.rb +33 -0
  1962. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/server.rb +253 -0
  1963. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/stats.rb +213 -0
  1964. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/yardoc.rb +752 -0
  1965. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/yardopts_command.rb +109 -0
  1966. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/cli/yri.rb +214 -0
  1967. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/base.rb +585 -0
  1968. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/class_object.rb +143 -0
  1969. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/class_variable_object.rb +8 -0
  1970. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/constant_object.rb +13 -0
  1971. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/extended_method_object.rb +23 -0
  1972. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/extra_file_object.rb +128 -0
  1973. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/macro_object.rb +172 -0
  1974. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/method_object.rb +191 -0
  1975. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/module_object.rb +18 -0
  1976. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/namespace_object.rb +200 -0
  1977. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/proxy.rb +258 -0
  1978. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/code_objects/root_object.rb +17 -0
  1979. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/config.rb +270 -0
  1980. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/array.rb +15 -0
  1981. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/file.rb +65 -0
  1982. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/hash.rb +15 -0
  1983. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/insertion.rb +60 -0
  1984. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/module.rb +19 -0
  1985. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/string.rb +67 -0
  1986. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/core_ext/symbol_hash.rb +73 -0
  1987. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/docstring.rb +362 -0
  1988. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/docstring_parser.rb +321 -0
  1989. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/globals.rb +18 -0
  1990. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/base.rb +597 -0
  1991. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/alias_handler.rb +15 -0
  1992. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/attribute_handler.rb +13 -0
  1993. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/base.rb +110 -0
  1994. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/class_handler.rb +26 -0
  1995. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/constant_handler.rb +12 -0
  1996. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/handler_methods.rb +166 -0
  1997. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/init_handler.rb +18 -0
  1998. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/method_handler.rb +35 -0
  1999. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/mixin_handler.rb +13 -0
  2000. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/module_handler.rb +16 -0
  2001. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/override_comment_handler.rb +30 -0
  2002. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/path_handler.rb +10 -0
  2003. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/struct_handler.rb +12 -0
  2004. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/c/symbol_handler.rb +7 -0
  2005. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/processor.rb +201 -0
  2006. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/alias_handler.rb +41 -0
  2007. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/attribute_handler.rb +82 -0
  2008. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/base.rb +164 -0
  2009. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_condition_handler.rb +86 -0
  2010. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_handler.rb +121 -0
  2011. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/class_variable_handler.rb +16 -0
  2012. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/comment_handler.rb +9 -0
  2013. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/constant_handler.rb +45 -0
  2014. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/dsl_handler.rb +14 -0
  2015. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/dsl_handler_methods.rb +77 -0
  2016. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/exception_handler.rb +26 -0
  2017. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/extend_handler.rb +21 -0
  2018. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/alias_handler.rb +35 -0
  2019. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/attribute_handler.rb +60 -0
  2020. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/base.rb +250 -0
  2021. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_condition_handler.rb +83 -0
  2022. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_handler.rb +111 -0
  2023. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/class_variable_handler.rb +14 -0
  2024. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/comment_handler.rb +9 -0
  2025. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/constant_handler.rb +28 -0
  2026. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/dsl_handler.rb +16 -0
  2027. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/exception_handler.rb +12 -0
  2028. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/extend_handler.rb +20 -0
  2029. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/method_handler.rb +85 -0
  2030. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/mixin_handler.rb +39 -0
  2031. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/module_function_handler.rb +18 -0
  2032. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/module_handler.rb +11 -0
  2033. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/private_constant_handler.rb +21 -0
  2034. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/visibility_handler.rb +16 -0
  2035. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/legacy/yield_handler.rb +28 -0
  2036. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/method_condition_handler.rb +8 -0
  2037. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/method_handler.rb +92 -0
  2038. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/mixin_handler.rb +36 -0
  2039. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/module_function_handler.rb +26 -0
  2040. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/module_handler.rb +11 -0
  2041. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/private_constant_handler.rb +36 -0
  2042. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/struct_handler_methods.rb +141 -0
  2043. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/visibility_handler.rb +24 -0
  2044. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/handlers/ruby/yield_handler.rb +30 -0
  2045. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/locale.rb +66 -0
  2046. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/message.rb +56 -0
  2047. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/messages.rb +55 -0
  2048. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/po_parser.rb +60 -0
  2049. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/pot_generator.rb +280 -0
  2050. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/i18n/text.rb +173 -0
  2051. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/logging.rb +190 -0
  2052. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/options.rb +216 -0
  2053. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/base.rb +56 -0
  2054. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/c/c_parser.rb +231 -0
  2055. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/c/comment_parser.rb +131 -0
  2056. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/c/statement.rb +63 -0
  2057. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/ast_node.rb +496 -0
  2058. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/ruby_lex.rb +1377 -0
  2059. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/ruby_parser.rb +31 -0
  2060. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/statement.rb +65 -0
  2061. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/statement_list.rb +384 -0
  2062. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/legacy/token_list.rb +71 -0
  2063. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/ruby/ruby_parser.rb +625 -0
  2064. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/parser/source_parser.rb +517 -0
  2065. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rake/yardoc_task.rb +74 -0
  2066. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/registry.rb +438 -0
  2067. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/registry_store.rb +319 -0
  2068. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports.rb +8 -0
  2069. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/LICENSE.txt +57 -0
  2070. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/MIT.txt +20 -0
  2071. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/gem.rb +9 -0
  2072. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/backports/source_index.rb +370 -0
  2073. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/doc_manager.rb +88 -0
  2074. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/rubygems/specification.rb +41 -0
  2075. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/base.rb +80 -0
  2076. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/file_system_serializer.rb +90 -0
  2077. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/process_serializer.rb +24 -0
  2078. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/stdout_serializer.rb +32 -0
  2079. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/serializers/yardoc_serializer.rb +124 -0
  2080. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server.rb +11 -0
  2081. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/adapter.rb +100 -0
  2082. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/base.rb +192 -0
  2083. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/display_file_command.rb +24 -0
  2084. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/display_object_command.rb +58 -0
  2085. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/frames_command.rb +15 -0
  2086. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/library_command.rb +148 -0
  2087. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/library_index_command.rb +24 -0
  2088. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/list_command.rb +24 -0
  2089. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/search_command.rb +78 -0
  2090. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/commands/static_file_command.rb +57 -0
  2091. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/doc_server_helper.rb +76 -0
  2092. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/doc_server_serializer.rb +43 -0
  2093. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/library_version.rb +227 -0
  2094. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/rack_adapter.rb +88 -0
  2095. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/router.rb +176 -0
  2096. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/static_caching.rb +45 -0
  2097. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/css/custom.css +78 -0
  2098. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/images/processing.gif +0 -0
  2099. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/fulldoc/html/js/autocomplete.js +12 -0
  2100. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/breadcrumb.erb +46 -0
  2101. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/script_setup.erb +8 -0
  2102. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/layout/html/setup.rb +7 -0
  2103. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/method_details/html/permalink.erb +4 -0
  2104. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/default/method_details/html/setup.rb +4 -0
  2105. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/contents.erb +13 -0
  2106. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/headers.erb +26 -0
  2107. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/library_list.erb +12 -0
  2108. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/setup.rb +3 -0
  2109. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/library_list/html/title.erb +2 -0
  2110. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/processing/html/processing.erb +51 -0
  2111. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/processing/html/setup.rb +3 -0
  2112. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/search/html/search.erb +18 -0
  2113. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/templates/doc_server/search/html/setup.rb +8 -0
  2114. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/server/webrick_adapter.rb +43 -0
  2115. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/default_factory.rb +176 -0
  2116. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/default_tag.rb +12 -0
  2117. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/directives.rb +599 -0
  2118. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/library.rb +630 -0
  2119. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/option_tag.rb +12 -0
  2120. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/overload_tag.rb +66 -0
  2121. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/ref_tag.rb +7 -0
  2122. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/ref_tag_list.rb +27 -0
  2123. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/tag.rb +57 -0
  2124. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/tags/tag_format_error.rb +6 -0
  2125. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/engine.rb +185 -0
  2126. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/erb_cache.rb +22 -0
  2127. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/base_helper.rb +212 -0
  2128. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/filter_helper.rb +26 -0
  2129. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/html_helper.rb +599 -0
  2130. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/html_syntax_highlight_helper.rb +60 -0
  2131. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup/rdoc_markdown.rb +22 -0
  2132. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup/rdoc_markup.rb +106 -0
  2133. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/markup_helper.rb +169 -0
  2134. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/method_helper.rb +74 -0
  2135. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/module_helper.rb +19 -0
  2136. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/text_helper.rb +95 -0
  2137. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/helpers/uml_helper.rb +46 -0
  2138. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/section.rb +106 -0
  2139. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/template.rb +407 -0
  2140. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/templates/template_options.rb +88 -0
  2141. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/verifier.rb +148 -0
  2142. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/lib/yard/version.rb +3 -0
  2143. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/command_parser_spec.rb +43 -0
  2144. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/command_spec.rb +36 -0
  2145. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/config_spec.rb +92 -0
  2146. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/diff_spec.rb +260 -0
  2147. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/display_spec.rb +30 -0
  2148. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/gems_spec.rb +81 -0
  2149. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/graph_spec.rb +17 -0
  2150. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/help_spec.rb +22 -0
  2151. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/i18n_spec.rb +111 -0
  2152. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/list_spec.rb +8 -0
  2153. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/markup_types_spec.rb +22 -0
  2154. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/server_spec.rb +327 -0
  2155. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/stats_spec.rb +90 -0
  2156. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/yardoc_spec.rb +804 -0
  2157. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/cli/yri_spec.rb +99 -0
  2158. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/base_spec.rb +438 -0
  2159. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/class_object_spec.rb +225 -0
  2160. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/code_object_list_spec.rb +33 -0
  2161. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/constants_spec.rb +82 -0
  2162. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/extra_file_object_spec.rb +147 -0
  2163. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/macro_object_spec.rb +148 -0
  2164. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/method_object_spec.rb +175 -0
  2165. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/module_object_spec.rb +141 -0
  2166. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/namespace_object_spec.rb +170 -0
  2167. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/proxy_spec.rb +140 -0
  2168. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/code_objects/spec_helper.rb +3 -0
  2169. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/config_spec.rb +176 -0
  2170. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/array_spec.rb +14 -0
  2171. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/file_spec.rb +68 -0
  2172. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/hash_spec.rb +14 -0
  2173. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/insertion_spec.rb +37 -0
  2174. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/module_spec.rb +15 -0
  2175. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/string_spec.rb +42 -0
  2176. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/core_ext/symbol_hash_spec.rb +86 -0
  2177. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/docstring_parser_spec.rb +228 -0
  2178. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/docstring_spec.rb +335 -0
  2179. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/alias_handler_spec.rb +81 -0
  2180. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/attribute_handler_spec.rb +94 -0
  2181. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/base_spec.rb +206 -0
  2182. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/alias_handler_spec.rb +33 -0
  2183. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/attribute_handler_spec.rb +40 -0
  2184. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/class_handler_spec.rb +63 -0
  2185. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/constant_handler_spec.rb +68 -0
  2186. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/init_handler_spec.rb +47 -0
  2187. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/method_handler_spec.rb +239 -0
  2188. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/mixin_handler_spec.rb +27 -0
  2189. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/module_handler_spec.rb +38 -0
  2190. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/override_comment_handler_spec.rb +46 -0
  2191. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/path_handler_spec.rb +35 -0
  2192. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/spec_helper.rb +13 -0
  2193. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/c/struct_handler_spec.rb +15 -0
  2194. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/class_condition_handler_spec.rb +67 -0
  2195. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/class_handler_spec.rb +246 -0
  2196. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/class_variable_handler_spec.rb +11 -0
  2197. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/constant_handler_spec.rb +64 -0
  2198. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/dsl_handler_spec.rb +197 -0
  2199. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/alias_handler_001.rb.txt +46 -0
  2200. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/attribute_handler_001.rb.txt +32 -0
  2201. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/class_condition_handler_001.rb.txt +69 -0
  2202. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/class_handler_001.rb.txt +120 -0
  2203. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/class_variable_handler_001.rb.txt +10 -0
  2204. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/constant_handler_001.rb.txt +25 -0
  2205. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/dsl_handler_001.rb.txt +125 -0
  2206. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/exception_handler_001.rb.txt +59 -0
  2207. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/extend_handler_001.rb.txt +16 -0
  2208. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/method_condition_handler_001.rb.txt +10 -0
  2209. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/method_handler_001.rb.txt +126 -0
  2210. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/mixin_handler_001.rb.txt +37 -0
  2211. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/module_handler_001.rb.txt +29 -0
  2212. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/private_constant_handler_001.rb.txt +8 -0
  2213. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/process_handler_001.rb.txt +11 -0
  2214. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/visibility_handler_001.rb.txt +32 -0
  2215. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/examples/yield_handler_001.rb.txt +54 -0
  2216. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/exception_handler_spec.rb +48 -0
  2217. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/extend_handler_spec.rb +23 -0
  2218. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/legacy_base_spec.rb +128 -0
  2219. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/method_condition_handler_spec.rb +14 -0
  2220. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/method_handler_spec.rb +184 -0
  2221. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/mixin_handler_spec.rb +55 -0
  2222. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/module_function_handler_spec.rb +105 -0
  2223. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/module_handler_spec.rb +34 -0
  2224. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/private_constant_handler_spec.rb +24 -0
  2225. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/processor_spec.rb +34 -0
  2226. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/ruby/base_spec.rb +94 -0
  2227. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/ruby/legacy/base_spec.rb +82 -0
  2228. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/spec_helper.rb +33 -0
  2229. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/visibility_handler_spec.rb +39 -0
  2230. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/handlers/yield_handler_spec.rb +51 -0
  2231. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/locale_spec.rb +81 -0
  2232. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/message_spec.rb +52 -0
  2233. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/messages_spec.rb +67 -0
  2234. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/pot_generator_spec.rb +262 -0
  2235. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/i18n/text_spec.rb +180 -0
  2236. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/logging_spec.rb +35 -0
  2237. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/options_spec.rb +171 -0
  2238. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/base_spec.rb +24 -0
  2239. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/c_parser_spec.rb +171 -0
  2240. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/array.c.txt +3887 -0
  2241. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/example1.rb.txt +8 -0
  2242. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/extrafile.c.txt +8 -0
  2243. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/multifile.c.txt +22 -0
  2244. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/override.c.txt +424 -0
  2245. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/parse_in_order_001.rb.txt +2 -0
  2246. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/parse_in_order_002.rb.txt +2 -0
  2247. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/examples/tag_handler_001.rb.txt +8 -0
  2248. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/ruby/ast_node_spec.rb +33 -0
  2249. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/ruby/legacy/statement_list_spec.rb +299 -0
  2250. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/ruby/legacy/token_list_spec.rb +77 -0
  2251. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/ruby/ruby_parser_spec.rb +334 -0
  2252. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/source_parser_spec.rb +717 -0
  2253. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/parser/tag_parsing_spec.rb +18 -0
  2254. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/rake/yardoc_task_spec.rb +101 -0
  2255. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/registry_spec.rb +393 -0
  2256. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/registry_store_spec.rb +315 -0
  2257. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/rubygems/doc_manager_spec.rb +112 -0
  2258. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/checksums +1 -0
  2259. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo.dat +0 -0
  2260. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo/bar_i.dat +0 -0
  2261. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/Foo/baz_i.dat +0 -0
  2262. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/objects/root.dat +0 -0
  2263. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/data/serialized_yardoc/proxy_types +2 -0
  2264. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/file_system_serializer_spec.rb +124 -0
  2265. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/spec_helper.rb +2 -0
  2266. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/serializers/yardoc_serializer_spec.rb +46 -0
  2267. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/adapter_spec.rb +38 -0
  2268. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/commands/base_spec.rb +87 -0
  2269. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/commands/library_command_spec.rb +39 -0
  2270. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/commands/static_file_command_spec.rb +84 -0
  2271. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/doc_server_helper_spec.rb +53 -0
  2272. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/doc_server_serializer_spec.rb +50 -0
  2273. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/rack_adapter_spec.rb +20 -0
  2274. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/router_spec.rb +122 -0
  2275. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/spec_helper.rb +17 -0
  2276. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/static_caching_spec.rb +39 -0
  2277. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server/webrick_servlet_spec.rb +20 -0
  2278. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/server_spec.rb +10 -0
  2279. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/spec_helper.rb +128 -0
  2280. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/default_factory_spec.rb +152 -0
  2281. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/default_tag_spec.rb +11 -0
  2282. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/directives_spec.rb +453 -0
  2283. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/library_spec.rb +34 -0
  2284. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/overload_tag_spec.rb +53 -0
  2285. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/tags/ref_tag_list_spec.rb +53 -0
  2286. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/class_spec.rb +44 -0
  2287. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/constant_spec.rb +40 -0
  2288. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/engine_spec.rb +121 -0
  2289. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/class001.html +280 -0
  2290. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/class001.txt +36 -0
  2291. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/class002.html +35 -0
  2292. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/constant001.txt +25 -0
  2293. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/constant002.txt +7 -0
  2294. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/constant003.txt +11 -0
  2295. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method001.html +130 -0
  2296. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method001.txt +35 -0
  2297. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method002.html +86 -0
  2298. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method002.txt +20 -0
  2299. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method003.html +159 -0
  2300. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method003.txt +45 -0
  2301. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method004.html +44 -0
  2302. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method004.txt +10 -0
  2303. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method005.html +99 -0
  2304. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/method005.txt +33 -0
  2305. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module001.dot +33 -0
  2306. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module001.html +825 -0
  2307. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module001.txt +33 -0
  2308. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module002.html +318 -0
  2309. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module003.html +185 -0
  2310. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/module004.html +387 -0
  2311. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/examples/tag001.txt +82 -0
  2312. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/base_helper_spec.rb +175 -0
  2313. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/html_helper_spec.rb +612 -0
  2314. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/html_syntax_highlight_helper_spec.rb +53 -0
  2315. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/markup/rdoc_markup_spec.rb +93 -0
  2316. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/markup_helper_spec.rb +135 -0
  2317. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/method_helper_spec.rb +82 -0
  2318. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/shared_signature_examples.rb +123 -0
  2319. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/helpers/text_helper_spec.rb +44 -0
  2320. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/method_spec.rb +102 -0
  2321. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/module_spec.rb +181 -0
  2322. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/onefile_spec.rb +64 -0
  2323. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/section_spec.rb +146 -0
  2324. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/spec_helper.rb +73 -0
  2325. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/tag_spec.rb +51 -0
  2326. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/templates/template_spec.rb +409 -0
  2327. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/spec/verifier_spec.rb +106 -0
  2328. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/dot/setup.rb +6 -0
  2329. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/dot/superklass.erb +3 -0
  2330. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/html/constructor_details.erb +8 -0
  2331. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/html/setup.rb +1 -0
  2332. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/html/subclasses.erb +4 -0
  2333. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/setup.rb +36 -0
  2334. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/text/setup.rb +11 -0
  2335. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/class/text/subclasses.erb +5 -0
  2336. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/constant/text/header.erb +11 -0
  2337. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/constant/text/setup.rb +3 -0
  2338. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/abstract.erb +4 -0
  2339. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/deprecated.erb +1 -0
  2340. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/index.erb +5 -0
  2341. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/note.erb +6 -0
  2342. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/private.erb +4 -0
  2343. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/returns_void.erb +1 -0
  2344. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/text.erb +1 -0
  2345. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/html/todo.erb +6 -0
  2346. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/setup.rb +51 -0
  2347. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/abstract.erb +2 -0
  2348. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/deprecated.erb +2 -0
  2349. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/index.erb +2 -0
  2350. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/note.erb +4 -0
  2351. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/private.erb +2 -0
  2352. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/returns_void.erb +1 -0
  2353. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/text.erb +1 -0
  2354. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/docstring/text/todo.erb +4 -0
  2355. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/common.css +1 -0
  2356. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/full_list.css +57 -0
  2357. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/css/style.css +338 -0
  2358. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/frames.erb +26 -0
  2359. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list.erb +40 -0
  2360. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_class.erb +2 -0
  2361. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_file.erb +5 -0
  2362. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/full_list_method.erb +8 -0
  2363. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/app.js +219 -0
  2364. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/full_list.js +178 -0
  2365. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/js/jquery.js +4 -0
  2366. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/fulldoc/html/setup.rb +199 -0
  2367. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/dot/header.erb +6 -0
  2368. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/dot/setup.rb +14 -0
  2369. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/breadcrumb.erb +13 -0
  2370. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/files.erb +11 -0
  2371. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/footer.erb +5 -0
  2372. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/headers.erb +14 -0
  2373. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/index.erb +2 -0
  2374. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/layout.erb +20 -0
  2375. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/listing.erb +4 -0
  2376. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/objects.erb +32 -0
  2377. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/script_setup.erb +5 -0
  2378. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/search.erb +8 -0
  2379. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/layout/html/setup.rb +71 -0
  2380. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method/html/header.erb +16 -0
  2381. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method/setup.rb +3 -0
  2382. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method/text/header.erb +1 -0
  2383. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/html/header.erb +3 -0
  2384. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/html/method_signature.erb +25 -0
  2385. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/html/source.erb +10 -0
  2386. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/setup.rb +10 -0
  2387. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/text/header.erb +10 -0
  2388. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/text/method_signature.erb +12 -0
  2389. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/method_details/text/setup.rb +10 -0
  2390. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/child.erb +1 -0
  2391. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/dependencies.erb +3 -0
  2392. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/header.erb +6 -0
  2393. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/info.erb +14 -0
  2394. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/setup.rb +14 -0
  2395. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/attribute_details.erb +10 -0
  2396. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/attribute_summary.erb +8 -0
  2397. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/box_info.erb +37 -0
  2398. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/children.erb +8 -0
  2399. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/constant_summary.erb +13 -0
  2400. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/defines.erb +3 -0
  2401. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/header.erb +5 -0
  2402. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_attributes.erb +14 -0
  2403. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_constants.erb +8 -0
  2404. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/inherited_methods.erb +19 -0
  2405. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/item_summary.erb +40 -0
  2406. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/method_details_list.erb +9 -0
  2407. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/method_summary.erb +14 -0
  2408. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/methodmissing.erb +12 -0
  2409. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/html/pre_docstring.erb +1 -0
  2410. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/setup.rb +164 -0
  2411. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/children.erb +10 -0
  2412. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/class_meths_list.erb +8 -0
  2413. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/extends.erb +8 -0
  2414. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/header.erb +7 -0
  2415. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/includes.erb +8 -0
  2416. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/instance_meths_list.erb +8 -0
  2417. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/text/setup.rb +12 -0
  2418. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/files.erb +5 -0
  2419. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/headers.erb +6 -0
  2420. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/layout.erb +17 -0
  2421. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/readme.erb +3 -0
  2422. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/onefile/html/setup.rb +61 -0
  2423. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/root/dot/child.erb +3 -0
  2424. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/root/dot/setup.rb +5 -0
  2425. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/root/html/setup.rb +1 -0
  2426. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/example.erb +11 -0
  2427. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/index.erb +3 -0
  2428. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/option.erb +24 -0
  2429. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/overload.erb +14 -0
  2430. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/see.erb +8 -0
  2431. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/html/tag.erb +20 -0
  2432. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/setup.rb +55 -0
  2433. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/example.erb +12 -0
  2434. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/index.erb +1 -0
  2435. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/option.erb +20 -0
  2436. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/overload.erb +19 -0
  2437. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/see.erb +11 -0
  2438. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/tags/text/tag.erb +13 -0
  2439. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/class/html/setup.rb +1 -0
  2440. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/docstring/html/setup.rb +1 -0
  2441. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/css/style.css +108 -0
  2442. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/js/app.js +33 -0
  2443. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/fulldoc/html/setup.rb +73 -0
  2444. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/layout/html/layout.erb +81 -0
  2445. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/layout/html/setup.rb +28 -0
  2446. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/method/html/header.erb +18 -0
  2447. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/method/html/setup.rb +21 -0
  2448. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/module/html/header.erb +7 -0
  2449. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/module/html/method_list.erb +5 -0
  2450. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/module/html/setup.rb +26 -0
  2451. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/onefile/html/files.erb +4 -0
  2452. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/onefile/html/setup.rb +5 -0
  2453. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/onefile/html/toc.erb +3 -0
  2454. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/tags/html/setup.rb +8 -0
  2455. data/vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/yard.gemspec +25 -0
  2456. data/vendor/bundler/ruby/2.0.0/specifications/bluecloth-2.1.0.gemspec +52 -0
  2457. data/vendor/bundler/ruby/2.0.0/specifications/coffee-script-2.2.0.gemspec +31 -0
  2458. data/vendor/bundler/ruby/2.0.0/specifications/coffee-script-source-1.6.3.gemspec +18 -0
  2459. data/vendor/bundler/ruby/2.0.0/specifications/diff-lcs-1.2.5.gemspec +65 -0
  2460. data/vendor/bundler/ruby/2.0.0/specifications/dotenv-0.9.0.gemspec +33 -0
  2461. data/vendor/bundler/ruby/2.0.0/specifications/execjs-2.0.2.gemspec +29 -0
  2462. data/vendor/bundler/ruby/2.0.0/specifications/foreman-0.63.0.gemspec +34 -0
  2463. data/vendor/bundler/ruby/2.0.0/specifications/haml-4.0.4.gemspec +44 -0
  2464. data/vendor/bundler/ruby/2.0.0/specifications/liquid-2.2.2.gemspec +18 -0
  2465. data/vendor/bundler/ruby/2.0.0/specifications/puma-2.6.0.gemspec +44 -0
  2466. data/vendor/bundler/ruby/2.0.0/specifications/rack-1.5.2.gemspec +36 -0
  2467. data/vendor/bundler/ruby/2.0.0/specifications/rack-protection-1.5.1.gemspec +35 -0
  2468. data/vendor/bundler/ruby/2.0.0/specifications/rack-test-0.6.0.gemspec +31 -0
  2469. data/vendor/bundler/ruby/2.0.0/specifications/rspec-2.14.1.gemspec +39 -0
  2470. data/vendor/bundler/ruby/2.0.0/specifications/rspec-core-2.14.7.gemspec +58 -0
  2471. data/vendor/bundler/ruby/2.0.0/specifications/rspec-expectations-2.14.4.gemspec +40 -0
  2472. data/vendor/bundler/ruby/2.0.0/specifications/rspec-mocks-2.14.4.gemspec +37 -0
  2473. data/vendor/bundler/ruby/2.0.0/specifications/sass-3.2.12.gemspec +36 -0
  2474. data/vendor/bundler/ruby/2.0.0/specifications/sinatra-1.4.4.gemspec +37 -0
  2475. data/vendor/bundler/ruby/2.0.0/specifications/thor-0.14.6.gemspec +47 -0
  2476. data/vendor/bundler/ruby/2.0.0/specifications/tilt-1.4.1.gemspec +98 -0
  2477. data/vendor/bundler/ruby/2.0.0/specifications/yard-0.8.7.3.gemspec +20 -0
  2478. metadata +2632 -223
  2479. data/.rvmrc +0 -1
  2480. data/lib/mango/dependencies.rb +0 -32
  2481. data/lib/mango/rack/debugger.rb +0 -42
  2482. data/spec/lib/dependencies_spec.rb +0 -68
  2483. data/spec/lib/rack/debugger_spec.rb +0 -112
  2484. data/spec/support/matchers/malformed_whitespace_matchers.rb +0 -60
@@ -0,0 +1,199 @@
1
+ require 'rake/clean'
2
+ require 'rake/testtask'
3
+ require 'fileutils'
4
+ require 'date'
5
+
6
+ # CI Reporter is only needed for the CI
7
+ begin
8
+ require 'ci/reporter/rake/test_unit'
9
+ rescue LoadError
10
+ end
11
+
12
+ task :default => :test
13
+ task :spec => :test
14
+
15
+ CLEAN.include "**/*.rbc"
16
+
17
+ def source_version
18
+ @source_version ||= begin
19
+ load './lib/sinatra/version.rb'
20
+ Sinatra::VERSION
21
+ end
22
+ end
23
+
24
+ def prev_feature
25
+ source_version.gsub(/^(\d\.)(\d+)\..*$/) { $1 + ($2.to_i - 1).to_s }
26
+ end
27
+
28
+ def prev_version
29
+ return prev_feature + '.0' if source_version.end_with? '.0'
30
+ source_version.gsub(/\d+$/) { |s| s.to_i - 1 }
31
+ end
32
+
33
+ # SPECS ===============================================================
34
+
35
+ task :test do
36
+ ENV['LANG'] = 'C'
37
+ ENV.delete 'LC_CTYPE'
38
+ end
39
+
40
+ Rake::TestTask.new(:test) do |t|
41
+ t.test_files = FileList['test/*_test.rb']
42
+ t.ruby_opts = ['-rubygems'] if defined? Gem
43
+ t.ruby_opts << '-I.'
44
+ t.warning = true
45
+ end
46
+
47
+ Rake::TestTask.new(:"test:core") do |t|
48
+ core_tests = %w[base delegator encoding extensions filter
49
+ helpers mapped_error middleware radius rdoc
50
+ readme request response result route_added_hook
51
+ routing server settings sinatra static templates]
52
+ t.test_files = core_tests.map {|n| "test/#{n}_test.rb"}
53
+ t.ruby_opts = ["-rubygems"] if defined? Gem
54
+ t.ruby_opts << "-I."
55
+ t.warning = true
56
+ end
57
+
58
+ # Rcov ================================================================
59
+
60
+ namespace :test do
61
+ desc 'Measures test coverage'
62
+ task :coverage do
63
+ rm_f "coverage"
64
+ sh "rcov -Ilib test/*_test.rb"
65
+ end
66
+ end
67
+
68
+ # Website =============================================================
69
+
70
+ desc 'Generate RDoc under doc/api'
71
+ task 'doc' => ['doc:api']
72
+ task('doc:api') { sh "yardoc -o doc/api" }
73
+ CLEAN.include 'doc/api'
74
+
75
+ # README ===============================================================
76
+
77
+ task :add_template, [:name] do |t, args|
78
+ Dir.glob('README.*') do |file|
79
+ code = File.read(file)
80
+ if code =~ /^===.*#{args.name.capitalize}/
81
+ puts "Already covered in #{file}"
82
+ else
83
+ template = code[/===[^\n]*Liquid.*index\.liquid<\/tt>[^\n]*/m]
84
+ if !template
85
+ puts "Liquid not found in #{file}"
86
+ else
87
+ puts "Adding section to #{file}"
88
+ template = template.gsub(/Liquid/, args.name.capitalize).gsub(/liquid/, args.name.downcase)
89
+ code.gsub! /^(\s*===.*CoffeeScript)/, "\n" << template << "\n\\1"
90
+ File.open(file, "w") { |f| f << code }
91
+ end
92
+ end
93
+ end
94
+ end
95
+
96
+ # Thanks in announcement ===============================================
97
+
98
+ team = ["Ryan Tomayko", "Blake Mizerany", "Simon Rozet", "Konstantin Haase"]
99
+ desc "list of contributors"
100
+ task :thanks, [:release,:backports] do |t, a|
101
+ a.with_defaults :release => "#{prev_version}..HEAD",
102
+ :backports => "#{prev_feature}.0..#{prev_feature}.x"
103
+ included = `git log --format=format:"%aN\t%s" #{a.release}`.lines.map { |l| l.force_encoding('binary') }
104
+ excluded = `git log --format=format:"%aN\t%s" #{a.backports}`.lines.map { |l| l.force_encoding('binary') }
105
+ commits = (included - excluded).group_by { |c| c[/^[^\t]+/] }
106
+ authors = commits.keys.sort_by { |n| - commits[n].size } - team
107
+ puts authors[0..-2].join(', ') << " and " << authors.last,
108
+ "(based on commits included in #{a.release}, but not in #{a.backports})"
109
+ end
110
+
111
+ desc "list of authors"
112
+ task :authors, [:commit_range, :format, :sep] do |t, a|
113
+ a.with_defaults :format => "%s (%d)", :sep => ", ", :commit_range => '--all'
114
+ authors = Hash.new { |h,k| h[k] = 0 }
115
+ blake = "Blake Mizerany"
116
+ overall = 0
117
+ mapping = {
118
+ "blake.mizerany@gmail.com" => blake, "bmizerany" => blake,
119
+ "a_user@mac.com" => blake, "ichverstehe" => "Harry Vangberg",
120
+ "Wu Jiang (nouse)" => "Wu Jiang" }
121
+ `git shortlog -s #{a.commit_range}`.lines.map do |line|
122
+ line = line.force_encoding 'binary' if line.respond_to? :force_encoding
123
+ num, name = line.split("\t", 2).map(&:strip)
124
+ authors[mapping[name] || name] += num.to_i
125
+ overall += num.to_i
126
+ end
127
+ puts "#{overall} commits by #{authors.count} authors:"
128
+ puts authors.sort_by { |n,c| -c }.map { |e| a.format % e }.join(a.sep)
129
+ end
130
+
131
+ desc "generates TOC"
132
+ task :toc, [:readme] do |t, a|
133
+ a.with_defaults :readme => 'README.md'
134
+
135
+ def self.link(title)
136
+ title.downcase.gsub(/(?!-)\W /, '-').gsub(' ', '-').gsub(/(?!-)\W/, '')
137
+ end
138
+
139
+ puts "* [Sinatra](#sinatra)"
140
+ title = Regexp.new('(?<=\* )(.*)') # so Ruby 1.8 doesn't complain
141
+ File.binread(a.readme).scan(/^##.*/) do |line|
142
+ puts line.gsub(/#(?=#)/, ' ').gsub('#', '*').gsub(title) { "[#{$1}](##{link($1)})" }
143
+ end
144
+ end
145
+
146
+ # PACKAGING ============================================================
147
+
148
+ if defined?(Gem)
149
+ # Load the gemspec using the same limitations as github
150
+ def spec
151
+ require 'rubygems' unless defined? Gem::Specification
152
+ @spec ||= eval(File.read('sinatra.gemspec'))
153
+ end
154
+
155
+ def package(ext='')
156
+ "pkg/sinatra-#{spec.version}" + ext
157
+ end
158
+
159
+ desc 'Build packages'
160
+ task :package => %w[.gem .tar.gz].map {|e| package(e)}
161
+
162
+ desc 'Build and install as local gem'
163
+ task :install => package('.gem') do
164
+ sh "gem install #{package('.gem')}"
165
+ end
166
+
167
+ directory 'pkg/'
168
+ CLOBBER.include('pkg')
169
+
170
+ file package('.gem') => %w[pkg/ sinatra.gemspec] + spec.files do |f|
171
+ sh "gem build sinatra.gemspec"
172
+ mv File.basename(f.name), f.name
173
+ end
174
+
175
+ file package('.tar.gz') => %w[pkg/] + spec.files do |f|
176
+ sh <<-SH
177
+ git archive \
178
+ --prefix=sinatra-#{source_version}/ \
179
+ --format=tar \
180
+ HEAD | gzip > #{f.name}
181
+ SH
182
+ end
183
+
184
+ task 'release' => ['test', package('.gem')] do
185
+ if File.binread("CHANGES") =~ /= \d\.\d\.\d . not yet released$/i
186
+ fail 'please update changes first' unless %x{git symbolic-ref HEAD} == "refs/heads/prerelease\n"
187
+ end
188
+
189
+ sh <<-SH
190
+ gem install #{package('.gem')} --local &&
191
+ gem push #{package('.gem')} &&
192
+ git commit --allow-empty -a -m '#{source_version} release' &&
193
+ git tag -s v#{source_version} -m '#{source_version} release' &&
194
+ git tag -s #{source_version} -m '#{source_version} release' &&
195
+ git push && (git push sinatra || true) &&
196
+ git push --tags && (git push sinatra --tags || true)
197
+ SH
198
+ end
199
+ end
@@ -0,0 +1,61 @@
1
+ #!/usr/bin/env ruby -I ../lib -I lib
2
+ # coding: utf-8
3
+ require 'sinatra'
4
+ set :server, 'thin'
5
+ connections = []
6
+
7
+ get '/' do
8
+ halt erb(:login) unless params[:user]
9
+ erb :chat, :locals => { :user => params[:user].gsub(/\W/, '') }
10
+ end
11
+
12
+ get '/stream', :provides => 'text/event-stream' do
13
+ stream :keep_open do |out|
14
+ connections << out
15
+ out.callback { connections.delete(out) }
16
+ end
17
+ end
18
+
19
+ post '/' do
20
+ connections.each { |out| out << "data: #{params[:msg]}\n\n" }
21
+ 204 # response without entity body
22
+ end
23
+
24
+ __END__
25
+
26
+ @@ layout
27
+ <html>
28
+ <head>
29
+ <title>Super Simple Chat with Sinatra</title>
30
+ <meta charset="utf-8" />
31
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
32
+ </head>
33
+ <body><%= yield %></body>
34
+ </html>
35
+
36
+ @@ login
37
+ <form action='/'>
38
+ <label for='user'>User Name:</label>
39
+ <input name='user' value='' />
40
+ <input type='submit' value="GO!" />
41
+ </form>
42
+
43
+ @@ chat
44
+ <pre id='chat'></pre>
45
+ <form>
46
+ <input id='msg' placeholder='type message here...' />
47
+ </form>
48
+
49
+ <script>
50
+ // reading
51
+ var es = new EventSource('/stream');
52
+ es.onmessage = function(e) { $('#chat').append(e.data + "\n") };
53
+
54
+ // writing
55
+ $("form").on('submit',function(e) {
56
+ $.post('/', {msg: "<%= user %>: " + $('#msg').val()});
57
+ $('#msg').val(''); $('#msg').focus();
58
+ e.preventDefault();
59
+ });
60
+ </script>
61
+
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby -I ../lib -I lib
2
+ require 'sinatra'
3
+ get('/') { 'this is a simple app' }
@@ -0,0 +1,26 @@
1
+ # this example does *not* work properly with WEBrick
2
+ #
3
+ # run *one* of these:
4
+ #
5
+ # rackup -s mongrel stream.ru # gem install mongrel
6
+ # thin -R stream.ru start # gem install thin
7
+ # unicorn stream.ru # gem install unicorn
8
+ # puma stream.ru # gem install puma
9
+
10
+ require 'sinatra/base'
11
+
12
+ class Stream < Sinatra::Base
13
+ get '/' do
14
+ content_type :txt
15
+
16
+ stream do |out|
17
+ out << "It's gonna be legen -\n"
18
+ sleep 0.5
19
+ out << " (wait for it) \n"
20
+ sleep 1
21
+ out << "- dary!\n"
22
+ end
23
+ end
24
+ end
25
+
26
+ run Stream
@@ -0,0 +1,4 @@
1
+ require 'sinatra/base'
2
+ require 'sinatra/main'
3
+
4
+ enable :inline_templates
@@ -0,0 +1,2034 @@
1
+ # external dependencies
2
+ require 'rack'
3
+ require 'tilt'
4
+ require 'rack/protection'
5
+
6
+ # stdlib dependencies
7
+ require 'thread'
8
+ require 'time'
9
+ require 'uri'
10
+
11
+ # other files we need
12
+ require 'sinatra/show_exceptions'
13
+ require 'sinatra/version'
14
+
15
+ module Sinatra
16
+ # The request object. See Rack::Request for more info:
17
+ # http://rack.rubyforge.org/doc/classes/Rack/Request.html
18
+ class Request < Rack::Request
19
+ HEADER_PARAM = /\s*[\w.]+=(?:[\w.]+|"(?:[^"\\]|\\.)*")?\s*/
20
+ HEADER_VALUE_WITH_PARAMS = /(?:(?:\w+|\*)\/(?:\w+(?:\.|\-|\+)?|\*)*)\s*(?:;#{HEADER_PARAM})*/
21
+
22
+ # Returns an array of acceptable media types for the response
23
+ def accept
24
+ @env['sinatra.accept'] ||= begin
25
+ if @env.include? 'HTTP_ACCEPT' and @env['HTTP_ACCEPT'].to_s != ''
26
+ @env['HTTP_ACCEPT'].to_s.scan(HEADER_VALUE_WITH_PARAMS).
27
+ map! { |e| AcceptEntry.new(e) }.sort
28
+ else
29
+ [AcceptEntry.new('*/*')]
30
+ end
31
+ end
32
+ end
33
+
34
+ def accept?(type)
35
+ preferred_type(type).include?(type)
36
+ end
37
+
38
+ def preferred_type(*types)
39
+ accepts = accept # just evaluate once
40
+ return accepts.first if types.empty?
41
+ types.flatten!
42
+ return types.first if accepts.empty?
43
+ accepts.detect do |pattern|
44
+ type = types.detect { |t| File.fnmatch(pattern, t) }
45
+ return type if type
46
+ end
47
+ end
48
+
49
+ alias secure? ssl?
50
+
51
+ def forwarded?
52
+ @env.include? "HTTP_X_FORWARDED_HOST"
53
+ end
54
+
55
+ def safe?
56
+ get? or head? or options? or trace?
57
+ end
58
+
59
+ def idempotent?
60
+ safe? or put? or delete? or link? or unlink?
61
+ end
62
+
63
+ def link?
64
+ request_method == "LINK"
65
+ end
66
+
67
+ def unlink?
68
+ request_method == "UNLINK"
69
+ end
70
+
71
+ private
72
+
73
+ class AcceptEntry
74
+ attr_accessor :params
75
+
76
+ def initialize(entry)
77
+ params = entry.scan(HEADER_PARAM).map! do |s|
78
+ key, value = s.strip.split('=', 2)
79
+ value = value[1..-2].gsub(/\\(.)/, '\1') if value.start_with?('"')
80
+ [key, value]
81
+ end
82
+
83
+ @entry = entry
84
+ @type = entry[/[^;]+/].delete(' ')
85
+ @params = Hash[params]
86
+ @q = @params.delete('q') { 1.0 }.to_f
87
+ end
88
+
89
+ def <=>(other)
90
+ other.priority <=> self.priority
91
+ end
92
+
93
+ def priority
94
+ # We sort in descending order; better matches should be higher.
95
+ [ @q, -@type.count('*'), @params.size ]
96
+ end
97
+
98
+ def to_str
99
+ @type
100
+ end
101
+
102
+ def to_s(full = false)
103
+ full ? entry : to_str
104
+ end
105
+
106
+ def respond_to?(*args)
107
+ super or to_str.respond_to?(*args)
108
+ end
109
+
110
+ def method_missing(*args, &block)
111
+ to_str.send(*args, &block)
112
+ end
113
+ end
114
+ end
115
+
116
+ # The response object. See Rack::Response and Rack::Response::Helpers for
117
+ # more info:
118
+ # http://rack.rubyforge.org/doc/classes/Rack/Response.html
119
+ # http://rack.rubyforge.org/doc/classes/Rack/Response/Helpers.html
120
+ class Response < Rack::Response
121
+ DROP_BODY_RESPONSES = [204, 205, 304]
122
+ def initialize(*)
123
+ super
124
+ headers['Content-Type'] ||= 'text/html'
125
+ end
126
+
127
+ def body=(value)
128
+ value = value.body while Rack::Response === value
129
+ @body = String === value ? [value.to_str] : value
130
+ end
131
+
132
+ def each
133
+ block_given? ? super : enum_for(:each)
134
+ end
135
+
136
+ def finish
137
+ result = body
138
+
139
+ if drop_content_info?
140
+ headers.delete "Content-Length"
141
+ headers.delete "Content-Type"
142
+ end
143
+
144
+ if drop_body?
145
+ close
146
+ result = []
147
+ end
148
+
149
+ if calculate_content_length?
150
+ # if some other code has already set Content-Length, don't muck with it
151
+ # currently, this would be the static file-handler
152
+ headers["Content-Length"] = body.inject(0) { |l, p| l + Rack::Utils.bytesize(p) }.to_s
153
+ end
154
+
155
+ [status.to_i, headers, result]
156
+ end
157
+
158
+ private
159
+
160
+ def calculate_content_length?
161
+ headers["Content-Type"] and not headers["Content-Length"] and Array === body
162
+ end
163
+
164
+ def drop_content_info?
165
+ status.to_i / 100 == 1 or drop_body?
166
+ end
167
+
168
+ def drop_body?
169
+ DROP_BODY_RESPONSES.include?(status.to_i)
170
+ end
171
+ end
172
+
173
+ # Some Rack handlers (Thin, Rainbows!) implement an extended body object protocol, however,
174
+ # some middleware (namely Rack::Lint) will break it by not mirroring the methods in question.
175
+ # This middleware will detect an extended body object and will make sure it reaches the
176
+ # handler directly. We do this here, so our middleware and middleware set up by the app will
177
+ # still be able to run.
178
+ class ExtendedRack < Struct.new(:app)
179
+ def call(env)
180
+ result, callback = app.call(env), env['async.callback']
181
+ return result unless callback and async?(*result)
182
+ after_response { callback.call result }
183
+ setup_close(env, *result)
184
+ throw :async
185
+ end
186
+
187
+ private
188
+
189
+ def setup_close(env, status, headers, body)
190
+ return unless body.respond_to? :close and env.include? 'async.close'
191
+ env['async.close'].callback { body.close }
192
+ env['async.close'].errback { body.close }
193
+ end
194
+
195
+ def after_response(&block)
196
+ raise NotImplementedError, "only supports EventMachine at the moment" unless defined? EventMachine
197
+ EventMachine.next_tick(&block)
198
+ end
199
+
200
+ def async?(status, headers, body)
201
+ return true if status == -1
202
+ body.respond_to? :callback and body.respond_to? :errback
203
+ end
204
+ end
205
+
206
+ # Behaves exactly like Rack::CommonLogger with the notable exception that it does nothing,
207
+ # if another CommonLogger is already in the middleware chain.
208
+ class CommonLogger < Rack::CommonLogger
209
+ def call(env)
210
+ env['sinatra.commonlogger'] ? @app.call(env) : super
211
+ end
212
+
213
+ superclass.class_eval do
214
+ alias call_without_check call unless method_defined? :call_without_check
215
+ def call(env)
216
+ env['sinatra.commonlogger'] = true
217
+ call_without_check(env)
218
+ end
219
+ end
220
+ end
221
+
222
+ class NotFound < NameError #:nodoc:
223
+ def http_status; 404 end
224
+ end
225
+
226
+ # Methods available to routes, before/after filters, and views.
227
+ module Helpers
228
+ # Set or retrieve the response status code.
229
+ def status(value = nil)
230
+ response.status = value if value
231
+ response.status
232
+ end
233
+
234
+ # Set or retrieve the response body. When a block is given,
235
+ # evaluation is deferred until the body is read with #each.
236
+ def body(value = nil, &block)
237
+ if block_given?
238
+ def block.each; yield(call) end
239
+ response.body = block
240
+ elsif value
241
+ headers.delete 'Content-Length' unless request.head? || value.is_a?(Rack::File) || value.is_a?(Stream)
242
+ response.body = value
243
+ else
244
+ response.body
245
+ end
246
+ end
247
+
248
+ # Halt processing and redirect to the URI provided.
249
+ def redirect(uri, *args)
250
+ if env['HTTP_VERSION'] == 'HTTP/1.1' and env["REQUEST_METHOD"] != 'GET'
251
+ status 303
252
+ else
253
+ status 302
254
+ end
255
+
256
+ # According to RFC 2616 section 14.30, "the field value consists of a
257
+ # single absolute URI"
258
+ response['Location'] = uri(uri.to_s, settings.absolute_redirects?, settings.prefixed_redirects?)
259
+ halt(*args)
260
+ end
261
+
262
+ # Generates the absolute URI for a given path in the app.
263
+ # Takes Rack routers and reverse proxies into account.
264
+ def uri(addr = nil, absolute = true, add_script_name = true)
265
+ return addr if addr =~ /\A[A-z][A-z0-9\+\.\-]*:/
266
+ uri = [host = ""]
267
+ if absolute
268
+ host << "http#{'s' if request.secure?}://"
269
+ if request.forwarded? or request.port != (request.secure? ? 443 : 80)
270
+ host << request.host_with_port
271
+ else
272
+ host << request.host
273
+ end
274
+ end
275
+ uri << request.script_name.to_s if add_script_name
276
+ uri << (addr ? addr : request.path_info).to_s
277
+ File.join uri
278
+ end
279
+
280
+ alias url uri
281
+ alias to uri
282
+
283
+ # Halt processing and return the error status provided.
284
+ def error(code, body = nil)
285
+ code, body = 500, code.to_str if code.respond_to? :to_str
286
+ response.body = body unless body.nil?
287
+ halt code
288
+ end
289
+
290
+ # Halt processing and return a 404 Not Found.
291
+ def not_found(body = nil)
292
+ error 404, body
293
+ end
294
+
295
+ # Set multiple response headers with Hash.
296
+ def headers(hash = nil)
297
+ response.headers.merge! hash if hash
298
+ response.headers
299
+ end
300
+
301
+ # Access the underlying Rack session.
302
+ def session
303
+ request.session
304
+ end
305
+
306
+ # Access shared logger object.
307
+ def logger
308
+ request.logger
309
+ end
310
+
311
+ # Look up a media type by file extension in Rack's mime registry.
312
+ def mime_type(type)
313
+ Base.mime_type(type)
314
+ end
315
+
316
+ # Set the Content-Type of the response body given a media type or file
317
+ # extension.
318
+ def content_type(type = nil, params = {})
319
+ return response['Content-Type'] unless type
320
+ default = params.delete :default
321
+ mime_type = mime_type(type) || default
322
+ fail "Unknown media type: %p" % type if mime_type.nil?
323
+ mime_type = mime_type.dup
324
+ unless params.include? :charset or settings.add_charset.all? { |p| not p === mime_type }
325
+ params[:charset] = params.delete('charset') || settings.default_encoding
326
+ end
327
+ params.delete :charset if mime_type.include? 'charset'
328
+ unless params.empty?
329
+ mime_type << (mime_type.include?(';') ? ', ' : ';')
330
+ mime_type << params.map do |key, val|
331
+ val = val.inspect if val =~ /[";,]/
332
+ "#{key}=#{val}"
333
+ end.join(', ')
334
+ end
335
+ response['Content-Type'] = mime_type
336
+ end
337
+
338
+ # Set the Content-Disposition to "attachment" with the specified filename,
339
+ # instructing the user agents to prompt to save.
340
+ def attachment(filename = nil, disposition = 'attachment')
341
+ response['Content-Disposition'] = disposition.to_s
342
+ if filename
343
+ params = '; filename="%s"' % File.basename(filename)
344
+ response['Content-Disposition'] << params
345
+ ext = File.extname(filename)
346
+ content_type(ext) unless response['Content-Type'] or ext.empty?
347
+ end
348
+ end
349
+
350
+ # Use the contents of the file at +path+ as the response body.
351
+ def send_file(path, opts = {})
352
+ if opts[:type] or not response['Content-Type']
353
+ content_type opts[:type] || File.extname(path), :default => 'application/octet-stream'
354
+ end
355
+
356
+ disposition = opts[:disposition]
357
+ filename = opts[:filename]
358
+ disposition = 'attachment' if disposition.nil? and filename
359
+ filename = path if filename.nil?
360
+ attachment(filename, disposition) if disposition
361
+
362
+ last_modified opts[:last_modified] if opts[:last_modified]
363
+
364
+ file = Rack::File.new nil
365
+ file.path = path
366
+ result = file.serving env
367
+ result[1].each { |k,v| headers[k] ||= v }
368
+ headers['Content-Length'] = result[1]['Content-Length']
369
+ opts[:status] &&= Integer(opts[:status])
370
+ halt opts[:status] || result[0], result[2]
371
+ rescue Errno::ENOENT
372
+ not_found
373
+ end
374
+
375
+ # Class of the response body in case you use #stream.
376
+ #
377
+ # Three things really matter: The front and back block (back being the
378
+ # block generating content, front the one sending it to the client) and
379
+ # the scheduler, integrating with whatever concurrency feature the Rack
380
+ # handler is using.
381
+ #
382
+ # Scheduler has to respond to defer and schedule.
383
+ class Stream
384
+ def self.schedule(*) yield end
385
+ def self.defer(*) yield end
386
+
387
+ def initialize(scheduler = self.class, keep_open = false, &back)
388
+ @back, @scheduler, @keep_open = back.to_proc, scheduler, keep_open
389
+ @callbacks, @closed = [], false
390
+ end
391
+
392
+ def close
393
+ return if @closed
394
+ @closed = true
395
+ @scheduler.schedule { @callbacks.each { |c| c.call }}
396
+ end
397
+
398
+ def each(&front)
399
+ @front = front
400
+ @scheduler.defer do
401
+ begin
402
+ @back.call(self)
403
+ rescue Exception => e
404
+ @scheduler.schedule { raise e }
405
+ end
406
+ close unless @keep_open
407
+ end
408
+ end
409
+
410
+ def <<(data)
411
+ @scheduler.schedule { @front.call(data.to_s) }
412
+ self
413
+ end
414
+
415
+ def callback(&block)
416
+ return yield if @closed
417
+ @callbacks << block
418
+ end
419
+
420
+ alias errback callback
421
+
422
+ def closed?
423
+ @closed
424
+ end
425
+ end
426
+
427
+ # Allows to start sending data to the client even though later parts of
428
+ # the response body have not yet been generated.
429
+ #
430
+ # The close parameter specifies whether Stream#close should be called
431
+ # after the block has been executed. This is only relevant for evented
432
+ # servers like Thin or Rainbows.
433
+ def stream(keep_open = false)
434
+ scheduler = env['async.callback'] ? EventMachine : Stream
435
+ current = @params.dup
436
+ body Stream.new(scheduler, keep_open) { |out| with_params(current) { yield(out) } }
437
+ end
438
+
439
+ # Specify response freshness policy for HTTP caches (Cache-Control header).
440
+ # Any number of non-value directives (:public, :private, :no_cache,
441
+ # :no_store, :must_revalidate, :proxy_revalidate) may be passed along with
442
+ # a Hash of value directives (:max_age, :min_stale, :s_max_age).
443
+ #
444
+ # cache_control :public, :must_revalidate, :max_age => 60
445
+ # => Cache-Control: public, must-revalidate, max-age=60
446
+ #
447
+ # See RFC 2616 / 14.9 for more on standard cache control directives:
448
+ # http://tools.ietf.org/html/rfc2616#section-14.9.1
449
+ def cache_control(*values)
450
+ if values.last.kind_of?(Hash)
451
+ hash = values.pop
452
+ hash.reject! { |k,v| v == false }
453
+ hash.reject! { |k,v| values << k if v == true }
454
+ else
455
+ hash = {}
456
+ end
457
+
458
+ values.map! { |value| value.to_s.tr('_','-') }
459
+ hash.each do |key, value|
460
+ key = key.to_s.tr('_', '-')
461
+ value = value.to_i if key == "max-age"
462
+ values << "#{key}=#{value}"
463
+ end
464
+
465
+ response['Cache-Control'] = values.join(', ') if values.any?
466
+ end
467
+
468
+ # Set the Expires header and Cache-Control/max-age directive. Amount
469
+ # can be an integer number of seconds in the future or a Time object
470
+ # indicating when the response should be considered "stale". The remaining
471
+ # "values" arguments are passed to the #cache_control helper:
472
+ #
473
+ # expires 500, :public, :must_revalidate
474
+ # => Cache-Control: public, must-revalidate, max-age=60
475
+ # => Expires: Mon, 08 Jun 2009 08:50:17 GMT
476
+ #
477
+ def expires(amount, *values)
478
+ values << {} unless values.last.kind_of?(Hash)
479
+
480
+ if amount.is_a? Integer
481
+ time = Time.now + amount.to_i
482
+ max_age = amount
483
+ else
484
+ time = time_for amount
485
+ max_age = time - Time.now
486
+ end
487
+
488
+ values.last.merge!(:max_age => max_age)
489
+ cache_control(*values)
490
+
491
+ response['Expires'] = time.httpdate
492
+ end
493
+
494
+ # Set the last modified time of the resource (HTTP 'Last-Modified' header)
495
+ # and halt if conditional GET matches. The +time+ argument is a Time,
496
+ # DateTime, or other object that responds to +to_time+.
497
+ #
498
+ # When the current request includes an 'If-Modified-Since' header that is
499
+ # equal or later than the time specified, execution is immediately halted
500
+ # with a '304 Not Modified' response.
501
+ def last_modified(time)
502
+ return unless time
503
+ time = time_for time
504
+ response['Last-Modified'] = time.httpdate
505
+ return if env['HTTP_IF_NONE_MATCH']
506
+
507
+ if status == 200 and env['HTTP_IF_MODIFIED_SINCE']
508
+ # compare based on seconds since epoch
509
+ since = Time.httpdate(env['HTTP_IF_MODIFIED_SINCE']).to_i
510
+ halt 304 if since >= time.to_i
511
+ end
512
+
513
+ if (success? or status == 412) and env['HTTP_IF_UNMODIFIED_SINCE']
514
+ # compare based on seconds since epoch
515
+ since = Time.httpdate(env['HTTP_IF_UNMODIFIED_SINCE']).to_i
516
+ halt 412 if since < time.to_i
517
+ end
518
+ rescue ArgumentError
519
+ end
520
+
521
+ ETAG_KINDS = [:strong, :weak]
522
+ # Set the response entity tag (HTTP 'ETag' header) and halt if conditional
523
+ # GET matches. The +value+ argument is an identifier that uniquely
524
+ # identifies the current version of the resource. The +kind+ argument
525
+ # indicates whether the etag should be used as a :strong (default) or :weak
526
+ # cache validator.
527
+ #
528
+ # When the current request includes an 'If-None-Match' header with a
529
+ # matching etag, execution is immediately halted. If the request method is
530
+ # GET or HEAD, a '304 Not Modified' response is sent.
531
+ def etag(value, options = {})
532
+ # Before touching this code, please double check RFC 2616 14.24 and 14.26.
533
+ options = {:kind => options} unless Hash === options
534
+ kind = options[:kind] || :strong
535
+ new_resource = options.fetch(:new_resource) { request.post? }
536
+
537
+ unless ETAG_KINDS.include?(kind)
538
+ raise ArgumentError, ":strong or :weak expected"
539
+ end
540
+
541
+ value = '"%s"' % value
542
+ value = "W/#{value}" if kind == :weak
543
+ response['ETag'] = value
544
+
545
+ if success? or status == 304
546
+ if etag_matches? env['HTTP_IF_NONE_MATCH'], new_resource
547
+ halt(request.safe? ? 304 : 412)
548
+ end
549
+
550
+ if env['HTTP_IF_MATCH']
551
+ halt 412 unless etag_matches? env['HTTP_IF_MATCH'], new_resource
552
+ end
553
+ end
554
+ end
555
+
556
+ # Sugar for redirect (example: redirect back)
557
+ def back
558
+ request.referer
559
+ end
560
+
561
+ # whether or not the status is set to 1xx
562
+ def informational?
563
+ status.between? 100, 199
564
+ end
565
+
566
+ # whether or not the status is set to 2xx
567
+ def success?
568
+ status.between? 200, 299
569
+ end
570
+
571
+ # whether or not the status is set to 3xx
572
+ def redirect?
573
+ status.between? 300, 399
574
+ end
575
+
576
+ # whether or not the status is set to 4xx
577
+ def client_error?
578
+ status.between? 400, 499
579
+ end
580
+
581
+ # whether or not the status is set to 5xx
582
+ def server_error?
583
+ status.between? 500, 599
584
+ end
585
+
586
+ # whether or not the status is set to 404
587
+ def not_found?
588
+ status == 404
589
+ end
590
+
591
+ # Generates a Time object from the given value.
592
+ # Used by #expires and #last_modified.
593
+ def time_for(value)
594
+ if value.respond_to? :to_time
595
+ value.to_time
596
+ elsif value.is_a? Time
597
+ value
598
+ elsif value.respond_to? :new_offset
599
+ # DateTime#to_time does the same on 1.9
600
+ d = value.new_offset 0
601
+ t = Time.utc d.year, d.mon, d.mday, d.hour, d.min, d.sec + d.sec_fraction
602
+ t.getlocal
603
+ elsif value.respond_to? :mday
604
+ # Date#to_time does the same on 1.9
605
+ Time.local(value.year, value.mon, value.mday)
606
+ elsif value.is_a? Numeric
607
+ Time.at value
608
+ else
609
+ Time.parse value.to_s
610
+ end
611
+ rescue ArgumentError => boom
612
+ raise boom
613
+ rescue Exception
614
+ raise ArgumentError, "unable to convert #{value.inspect} to a Time object"
615
+ end
616
+
617
+ private
618
+
619
+ # Helper method checking if a ETag value list includes the current ETag.
620
+ def etag_matches?(list, new_resource = request.post?)
621
+ return !new_resource if list == '*'
622
+ list.to_s.split(/\s*,\s*/).include? response['ETag']
623
+ end
624
+
625
+ def with_params(temp_params)
626
+ original, @params = @params, temp_params
627
+ yield
628
+ ensure
629
+ @params = original if original
630
+ end
631
+ end
632
+
633
+ private
634
+
635
+ # Template rendering methods. Each method takes the name of a template
636
+ # to render as a Symbol and returns a String with the rendered output,
637
+ # as well as an optional hash with additional options.
638
+ #
639
+ # `template` is either the name or path of the template as symbol
640
+ # (Use `:'subdir/myview'` for views in subdirectories), or a string
641
+ # that will be rendered.
642
+ #
643
+ # Possible options are:
644
+ # :content_type The content type to use, same arguments as content_type.
645
+ # :layout If set to something falsy, no layout is rendered, otherwise
646
+ # the specified layout is used (Ignored for `sass` and `less`)
647
+ # :layout_engine Engine to use for rendering the layout.
648
+ # :locals A hash with local variables that should be available
649
+ # in the template
650
+ # :scope If set, template is evaluate with the binding of the given
651
+ # object rather than the application instance.
652
+ # :views Views directory to use.
653
+ module Templates
654
+ module ContentTyped
655
+ attr_accessor :content_type
656
+ end
657
+
658
+ def initialize
659
+ super
660
+ @default_layout = :layout
661
+ end
662
+
663
+ def erb(template, options = {}, locals = {}, &block)
664
+ render(:erb, template, options, locals, &block)
665
+ end
666
+
667
+ def erubis(template, options = {}, locals = {})
668
+ warn "Sinatra::Templates#erubis is deprecated and will be removed, use #erb instead.\n" \
669
+ "If you have Erubis installed, it will be used automatically."
670
+ render :erubis, template, options, locals
671
+ end
672
+
673
+ def haml(template, options = {}, locals = {}, &block)
674
+ render(:haml, template, options, locals, &block)
675
+ end
676
+
677
+ def sass(template, options = {}, locals = {})
678
+ options.merge! :layout => false, :default_content_type => :css
679
+ render :sass, template, options, locals
680
+ end
681
+
682
+ def scss(template, options = {}, locals = {})
683
+ options.merge! :layout => false, :default_content_type => :css
684
+ render :scss, template, options, locals
685
+ end
686
+
687
+ def less(template, options = {}, locals = {})
688
+ options.merge! :layout => false, :default_content_type => :css
689
+ render :less, template, options, locals
690
+ end
691
+
692
+ def stylus(template, options={}, locals={})
693
+ options.merge! :layout => false, :default_content_type => :css
694
+ render :styl, template, options, locals
695
+ end
696
+
697
+ def builder(template = nil, options = {}, locals = {}, &block)
698
+ options[:default_content_type] = :xml
699
+ render_ruby(:builder, template, options, locals, &block)
700
+ end
701
+
702
+ def liquid(template, options = {}, locals = {}, &block)
703
+ render(:liquid, template, options, locals, &block)
704
+ end
705
+
706
+ def markdown(template, options = {}, locals = {})
707
+ render :markdown, template, options, locals
708
+ end
709
+
710
+ def textile(template, options = {}, locals = {})
711
+ render :textile, template, options, locals
712
+ end
713
+
714
+ def rdoc(template, options = {}, locals = {})
715
+ render :rdoc, template, options, locals
716
+ end
717
+
718
+ def radius(template, options = {}, locals = {})
719
+ render :radius, template, options, locals
720
+ end
721
+
722
+ def markaby(template = nil, options = {}, locals = {}, &block)
723
+ render_ruby(:mab, template, options, locals, &block)
724
+ end
725
+
726
+ def coffee(template, options = {}, locals = {})
727
+ options.merge! :layout => false, :default_content_type => :js
728
+ render :coffee, template, options, locals
729
+ end
730
+
731
+ def nokogiri(template = nil, options = {}, locals = {}, &block)
732
+ options[:default_content_type] = :xml
733
+ render_ruby(:nokogiri, template, options, locals, &block)
734
+ end
735
+
736
+ def slim(template, options = {}, locals = {}, &block)
737
+ render(:slim, template, options, locals, &block)
738
+ end
739
+
740
+ def creole(template, options = {}, locals = {})
741
+ render :creole, template, options, locals
742
+ end
743
+
744
+ def wlang(template, options = {}, locals = {}, &block)
745
+ render(:wlang, template, options, locals, &block)
746
+ end
747
+
748
+ def yajl(template, options = {}, locals = {})
749
+ options[:default_content_type] = :json
750
+ render :yajl, template, options, locals
751
+ end
752
+
753
+ def rabl(template, options = {}, locals = {})
754
+ Rabl.register!
755
+ render :rabl, template, options, locals
756
+ end
757
+
758
+ # Calls the given block for every possible template file in views,
759
+ # named name.ext, where ext is registered on engine.
760
+ def find_template(views, name, engine)
761
+ yield ::File.join(views, "#{name}.#{@preferred_extension}")
762
+ Tilt.mappings.each do |ext, engines|
763
+ next unless ext != @preferred_extension and engines.include? engine
764
+ yield ::File.join(views, "#{name}.#{ext}")
765
+ end
766
+ end
767
+
768
+ private
769
+
770
+ # logic shared between builder and nokogiri
771
+ def render_ruby(engine, template, options = {}, locals = {}, &block)
772
+ options, template = template, nil if template.is_a?(Hash)
773
+ template = Proc.new { block } if template.nil?
774
+ render engine, template, options, locals
775
+ end
776
+
777
+ def render(engine, data, options = {}, locals = {}, &block)
778
+ # merge app-level options
779
+ engine_options = settings.respond_to?(engine) ? settings.send(engine) : {}
780
+ options.merge!(engine_options) { |key, v1, v2| v1 }
781
+
782
+ # extract generic options
783
+ locals = options.delete(:locals) || locals || {}
784
+ views = options.delete(:views) || settings.views || "./views"
785
+ layout = options[:layout]
786
+ layout = false if layout.nil? && options.include?(:layout)
787
+ eat_errors = layout.nil?
788
+ layout = engine_options[:layout] if layout.nil? or (layout == true && engine_options[:layout] != false)
789
+ layout = @default_layout if layout.nil? or layout == true
790
+ layout_options = options.delete(:layout_options) || {}
791
+ content_type = options.delete(:content_type) || options.delete(:default_content_type)
792
+ layout_engine = options.delete(:layout_engine) || engine
793
+ scope = options.delete(:scope) || self
794
+ options.delete(:layout)
795
+
796
+ # set some defaults
797
+ options[:outvar] ||= '@_out_buf'
798
+ options[:default_encoding] ||= settings.default_encoding
799
+
800
+ # compile and render template
801
+ begin
802
+ layout_was = @default_layout
803
+ @default_layout = false
804
+ template = compile_template(engine, data, options, views)
805
+ output = template.render(scope, locals, &block)
806
+ ensure
807
+ @default_layout = layout_was
808
+ end
809
+
810
+ # render layout
811
+ if layout
812
+ options.merge!(:views => views, :layout => false, :eat_errors => eat_errors, :scope => scope).
813
+ merge!(layout_options)
814
+ catch(:layout_missing) { return render(layout_engine, layout, options, locals) { output } }
815
+ end
816
+
817
+ output.extend(ContentTyped).content_type = content_type if content_type
818
+ output
819
+ end
820
+
821
+ def compile_template(engine, data, options, views)
822
+ eat_errors = options.delete :eat_errors
823
+ template_cache.fetch engine, data, options, views do
824
+ template = Tilt[engine]
825
+ raise "Template engine not found: #{engine}" if template.nil?
826
+
827
+ case data
828
+ when Symbol
829
+ body, path, line = settings.templates[data]
830
+ if body
831
+ body = body.call if body.respond_to?(:call)
832
+ template.new(path, line.to_i, options) { body }
833
+ else
834
+ found = false
835
+ @preferred_extension = engine.to_s
836
+ find_template(views, data, template) do |file|
837
+ path ||= file # keep the initial path rather than the last one
838
+ if found = File.exists?(file)
839
+ path = file
840
+ break
841
+ end
842
+ end
843
+ throw :layout_missing if eat_errors and not found
844
+ template.new(path, 1, options)
845
+ end
846
+ when Proc, String
847
+ body = data.is_a?(String) ? Proc.new { data } : data
848
+ path, line = settings.caller_locations.first
849
+ template.new(path, line.to_i, options, &body)
850
+ else
851
+ raise ArgumentError, "Sorry, don't know how to render #{data.inspect}."
852
+ end
853
+ end
854
+ end
855
+ end
856
+
857
+ # Base class for all Sinatra applications and middleware.
858
+ class Base
859
+ include Rack::Utils
860
+ include Helpers
861
+ include Templates
862
+
863
+ URI_INSTANCE = URI.const_defined?(:Parser) ? URI::Parser.new : URI
864
+
865
+ attr_accessor :app, :env, :request, :response, :params
866
+ attr_reader :template_cache
867
+
868
+ def initialize(app = nil)
869
+ super()
870
+ @app = app
871
+ @template_cache = Tilt::Cache.new
872
+ yield self if block_given?
873
+ end
874
+
875
+ # Rack call interface.
876
+ def call(env)
877
+ dup.call!(env)
878
+ end
879
+
880
+ def call!(env) # :nodoc:
881
+ @env = env
882
+ @request = Request.new(env)
883
+ @response = Response.new
884
+ @params = indifferent_params(@request.params)
885
+ template_cache.clear if settings.reload_templates
886
+ force_encoding(@params)
887
+
888
+ @response['Content-Type'] = nil
889
+ invoke { dispatch! }
890
+ invoke { error_block!(response.status) } unless @env['sinatra.error']
891
+
892
+ unless @response['Content-Type']
893
+ if Array === body and body[0].respond_to? :content_type
894
+ content_type body[0].content_type
895
+ else
896
+ content_type :html
897
+ end
898
+ end
899
+
900
+ @response.finish
901
+ end
902
+
903
+ # Access settings defined with Base.set.
904
+ def self.settings
905
+ self
906
+ end
907
+
908
+ # Access settings defined with Base.set.
909
+ def settings
910
+ self.class.settings
911
+ end
912
+
913
+ def options
914
+ warn "Sinatra::Base#options is deprecated and will be removed, " \
915
+ "use #settings instead."
916
+ settings
917
+ end
918
+
919
+ # Exit the current block, halts any further processing
920
+ # of the request, and returns the specified response.
921
+ def halt(*response)
922
+ response = response.first if response.length == 1
923
+ throw :halt, response
924
+ end
925
+
926
+ # Pass control to the next matching route.
927
+ # If there are no more matching routes, Sinatra will
928
+ # return a 404 response.
929
+ def pass(&block)
930
+ throw :pass, block
931
+ end
932
+
933
+ # Forward the request to the downstream app -- middleware only.
934
+ def forward
935
+ fail "downstream app not set" unless @app.respond_to? :call
936
+ status, headers, body = @app.call env
937
+ @response.status = status
938
+ @response.body = body
939
+ @response.headers.merge! headers
940
+ nil
941
+ end
942
+
943
+ private
944
+
945
+ # Run filters defined on the class and all superclasses.
946
+ def filter!(type, base = settings)
947
+ filter! type, base.superclass if base.superclass.respond_to?(:filters)
948
+ base.filters[type].each { |args| process_route(*args) }
949
+ end
950
+
951
+ # Run routes defined on the class and all superclasses.
952
+ def route!(base = settings, pass_block = nil)
953
+ if routes = base.routes[@request.request_method]
954
+ routes.each do |pattern, keys, conditions, block|
955
+ returned_pass_block = process_route(pattern, keys, conditions) do |*args|
956
+ env['sinatra.route'] = block.instance_variable_get(:@route_name)
957
+ route_eval { block[*args] }
958
+ end
959
+
960
+ # don't wipe out pass_block in superclass
961
+ pass_block = returned_pass_block if returned_pass_block
962
+ end
963
+ end
964
+
965
+ # Run routes defined in superclass.
966
+ if base.superclass.respond_to?(:routes)
967
+ return route!(base.superclass, pass_block)
968
+ end
969
+
970
+ route_eval(&pass_block) if pass_block
971
+ route_missing
972
+ end
973
+
974
+ # Run a route block and throw :halt with the result.
975
+ def route_eval
976
+ throw :halt, yield
977
+ end
978
+
979
+ # If the current request matches pattern and conditions, fill params
980
+ # with keys and call the given block.
981
+ # Revert params afterwards.
982
+ #
983
+ # Returns pass block.
984
+ def process_route(pattern, keys, conditions, block = nil, values = [])
985
+ route = @request.path_info
986
+ route = '/' if route.empty? and not settings.empty_path_info?
987
+ return unless match = pattern.match(route)
988
+ values += match.captures.map! { |v| force_encoding URI_INSTANCE.unescape(v) if v }
989
+
990
+ if values.any?
991
+ original, @params = params, params.merge('splat' => [], 'captures' => values)
992
+ keys.zip(values) { |k,v| Array === @params[k] ? @params[k] << v : @params[k] = v if v }
993
+ end
994
+
995
+ catch(:pass) do
996
+ conditions.each { |c| throw :pass if c.bind(self).call == false }
997
+ block ? block[self, values] : yield(self, values)
998
+ end
999
+ ensure
1000
+ @params = original if original
1001
+ end
1002
+
1003
+ # No matching route was found or all routes passed. The default
1004
+ # implementation is to forward the request downstream when running
1005
+ # as middleware (@app is non-nil); when no downstream app is set, raise
1006
+ # a NotFound exception. Subclasses can override this method to perform
1007
+ # custom route miss logic.
1008
+ def route_missing
1009
+ if @app
1010
+ forward
1011
+ else
1012
+ raise NotFound
1013
+ end
1014
+ end
1015
+
1016
+ # Attempt to serve static files from public directory. Throws :halt when
1017
+ # a matching file is found, returns nil otherwise.
1018
+ def static!
1019
+ return if (public_dir = settings.public_folder).nil?
1020
+ path = File.expand_path("#{public_dir}#{unescape(request.path_info)}" )
1021
+ return unless File.file?(path)
1022
+
1023
+ env['sinatra.static_file'] = path
1024
+ cache_control(*settings.static_cache_control) if settings.static_cache_control?
1025
+ send_file path, :disposition => nil
1026
+ end
1027
+
1028
+ # Enable string or symbol key access to the nested params hash.
1029
+ def indifferent_params(object)
1030
+ case object
1031
+ when Hash
1032
+ new_hash = indifferent_hash
1033
+ object.each { |key, value| new_hash[key] = indifferent_params(value) }
1034
+ new_hash
1035
+ when Array
1036
+ object.map { |item| indifferent_params(item) }
1037
+ else
1038
+ object
1039
+ end
1040
+ end
1041
+
1042
+ # Creates a Hash with indifferent access.
1043
+ def indifferent_hash
1044
+ Hash.new {|hash,key| hash[key.to_s] if Symbol === key }
1045
+ end
1046
+
1047
+ # Run the block with 'throw :halt' support and apply result to the response.
1048
+ def invoke
1049
+ res = catch(:halt) { yield }
1050
+ res = [res] if Fixnum === res or String === res
1051
+ if Array === res and Fixnum === res.first
1052
+ res = res.dup
1053
+ status(res.shift)
1054
+ body(res.pop)
1055
+ headers(*res)
1056
+ elsif res.respond_to? :each
1057
+ body res
1058
+ end
1059
+ nil # avoid double setting the same response tuple twice
1060
+ end
1061
+
1062
+ # Dispatch a request with error handling.
1063
+ def dispatch!
1064
+ invoke do
1065
+ static! if settings.static? && (request.get? || request.head?)
1066
+ filter! :before
1067
+ route!
1068
+ end
1069
+ rescue ::Exception => boom
1070
+ invoke { handle_exception!(boom) }
1071
+ ensure
1072
+ begin
1073
+ filter! :after unless env['sinatra.static_file']
1074
+ rescue ::Exception => boom
1075
+ invoke { handle_exception!(boom) } unless @env['sinatra.error']
1076
+ end
1077
+ end
1078
+
1079
+ # Error handling during requests.
1080
+ def handle_exception!(boom)
1081
+ @env['sinatra.error'] = boom
1082
+
1083
+ if boom.respond_to? :http_status
1084
+ status(boom.http_status)
1085
+ elsif settings.use_code? and boom.respond_to? :code and boom.code.between? 400, 599
1086
+ status(boom.code)
1087
+ else
1088
+ status(500)
1089
+ end
1090
+
1091
+ status(500) unless status.between? 400, 599
1092
+
1093
+ if server_error?
1094
+ dump_errors! boom if settings.dump_errors?
1095
+ raise boom if settings.show_exceptions? and settings.show_exceptions != :after_handler
1096
+ end
1097
+
1098
+ if not_found?
1099
+ headers['X-Cascade'] = 'pass' if settings.x_cascade?
1100
+ body '<h1>Not Found</h1>'
1101
+ end
1102
+
1103
+ res = error_block!(boom.class, boom) || error_block!(status, boom)
1104
+ return res if res or not server_error?
1105
+ raise boom if settings.raise_errors? or settings.show_exceptions?
1106
+ error_block! Exception, boom
1107
+ end
1108
+
1109
+ # Find an custom error block for the key(s) specified.
1110
+ def error_block!(key, *block_params)
1111
+ base = settings
1112
+ while base.respond_to?(:errors)
1113
+ next base = base.superclass unless args_array = base.errors[key]
1114
+ args_array.reverse_each do |args|
1115
+ first = args == args_array.first
1116
+ args += [block_params]
1117
+ resp = process_route(*args)
1118
+ return resp unless resp.nil? && !first
1119
+ end
1120
+ end
1121
+ return false unless key.respond_to? :superclass and key.superclass < Exception
1122
+ error_block!(key.superclass, *block_params)
1123
+ end
1124
+
1125
+ def dump_errors!(boom)
1126
+ msg = ["#{boom.class} - #{boom.message}:", *boom.backtrace].join("\n\t")
1127
+ @env['rack.errors'].puts(msg)
1128
+ end
1129
+
1130
+ class << self
1131
+ CALLERS_TO_IGNORE = [ # :nodoc:
1132
+ /\/sinatra(\/(base|main|showexceptions))?\.rb$/, # all sinatra code
1133
+ /lib\/tilt.*\.rb$/, # all tilt code
1134
+ /^\(.*\)$/, # generated code
1135
+ /rubygems\/(custom|core_ext\/kernel)_require\.rb$/, # rubygems require hacks
1136
+ /active_support/, # active_support require hacks
1137
+ /bundler(\/runtime)?\.rb/, # bundler require hacks
1138
+ /<internal:/, # internal in ruby >= 1.9.2
1139
+ /src\/kernel\/bootstrap\/[A-Z]/ # maglev kernel files
1140
+ ]
1141
+
1142
+ # contrary to what the comment said previously, rubinius never supported this
1143
+ if defined?(RUBY_IGNORE_CALLERS)
1144
+ warn "RUBY_IGNORE_CALLERS is deprecated and will no longer be supported by Sinatra 2.0"
1145
+ CALLERS_TO_IGNORE.concat(RUBY_IGNORE_CALLERS)
1146
+ end
1147
+
1148
+ attr_reader :routes, :filters, :templates, :errors
1149
+
1150
+ # Removes all routes, filters, middleware and extension hooks from the
1151
+ # current class (not routes/filters/... defined by its superclass).
1152
+ def reset!
1153
+ @conditions = []
1154
+ @routes = {}
1155
+ @filters = {:before => [], :after => []}
1156
+ @errors = {}
1157
+ @middleware = []
1158
+ @prototype = nil
1159
+ @extensions = []
1160
+
1161
+ if superclass.respond_to?(:templates)
1162
+ @templates = Hash.new { |hash,key| superclass.templates[key] }
1163
+ else
1164
+ @templates = {}
1165
+ end
1166
+ end
1167
+
1168
+ # Extension modules registered on this class and all superclasses.
1169
+ def extensions
1170
+ if superclass.respond_to?(:extensions)
1171
+ (@extensions + superclass.extensions).uniq
1172
+ else
1173
+ @extensions
1174
+ end
1175
+ end
1176
+
1177
+ # Middleware used in this class and all superclasses.
1178
+ def middleware
1179
+ if superclass.respond_to?(:middleware)
1180
+ superclass.middleware + @middleware
1181
+ else
1182
+ @middleware
1183
+ end
1184
+ end
1185
+
1186
+ # Sets an option to the given value. If the value is a proc,
1187
+ # the proc will be called every time the option is accessed.
1188
+ def set(option, value = (not_set = true), ignore_setter = false, &block)
1189
+ raise ArgumentError if block and !not_set
1190
+ value, not_set = block, false if block
1191
+
1192
+ if not_set
1193
+ raise ArgumentError unless option.respond_to?(:each)
1194
+ option.each { |k,v| set(k, v) }
1195
+ return self
1196
+ end
1197
+
1198
+ if respond_to?("#{option}=") and not ignore_setter
1199
+ return __send__("#{option}=", value)
1200
+ end
1201
+
1202
+ setter = proc { |val| set option, val, true }
1203
+ getter = proc { value }
1204
+
1205
+ case value
1206
+ when Proc
1207
+ getter = value
1208
+ when Symbol, Fixnum, FalseClass, TrueClass, NilClass
1209
+ getter = value.inspect
1210
+ when Hash
1211
+ setter = proc do |val|
1212
+ val = value.merge val if Hash === val
1213
+ set option, val, true
1214
+ end
1215
+ end
1216
+
1217
+ define_singleton("#{option}=", setter) if setter
1218
+ define_singleton(option, getter) if getter
1219
+ define_singleton("#{option}?", "!!#{option}") unless method_defined? "#{option}?"
1220
+ self
1221
+ end
1222
+
1223
+ # Same as calling `set :option, true` for each of the given options.
1224
+ def enable(*opts)
1225
+ opts.each { |key| set(key, true) }
1226
+ end
1227
+
1228
+ # Same as calling `set :option, false` for each of the given options.
1229
+ def disable(*opts)
1230
+ opts.each { |key| set(key, false) }
1231
+ end
1232
+
1233
+ # Define a custom error handler. Optionally takes either an Exception
1234
+ # class, or an HTTP status code to specify which errors should be
1235
+ # handled.
1236
+ def error(*codes, &block)
1237
+ args = compile! "ERROR", //, block
1238
+ codes = codes.map { |c| Array(c) }.flatten
1239
+ codes << Exception if codes.empty?
1240
+ codes.each { |c| (@errors[c] ||= []) << args }
1241
+ end
1242
+
1243
+ # Sugar for `error(404) { ... }`
1244
+ def not_found(&block)
1245
+ error(404, &block)
1246
+ error(Sinatra::NotFound, &block)
1247
+ end
1248
+
1249
+ # Define a named template. The block must return the template source.
1250
+ def template(name, &block)
1251
+ filename, line = caller_locations.first
1252
+ templates[name] = [block, filename, line.to_i]
1253
+ end
1254
+
1255
+ # Define the layout template. The block must return the template source.
1256
+ def layout(name = :layout, &block)
1257
+ template name, &block
1258
+ end
1259
+
1260
+ # Load embedded templates from the file; uses the caller's __FILE__
1261
+ # when no file is specified.
1262
+ def inline_templates=(file = nil)
1263
+ file = (file.nil? || file == true) ? (caller_files.first || File.expand_path($0)) : file
1264
+
1265
+ begin
1266
+ io = ::IO.respond_to?(:binread) ? ::IO.binread(file) : ::IO.read(file)
1267
+ app, data = io.gsub("\r\n", "\n").split(/^__END__$/, 2)
1268
+ rescue Errno::ENOENT
1269
+ app, data = nil
1270
+ end
1271
+
1272
+ if data
1273
+ if app and app =~ /([^\n]*\n)?#[^\n]*coding: *(\S+)/m
1274
+ encoding = $2
1275
+ else
1276
+ encoding = settings.default_encoding
1277
+ end
1278
+ lines = app.count("\n") + 1
1279
+ template = nil
1280
+ force_encoding data, encoding
1281
+ data.each_line do |line|
1282
+ lines += 1
1283
+ if line =~ /^@@\s*(.*\S)\s*$/
1284
+ template = force_encoding('', encoding)
1285
+ templates[$1.to_sym] = [template, file, lines]
1286
+ elsif template
1287
+ template << line
1288
+ end
1289
+ end
1290
+ end
1291
+ end
1292
+
1293
+ # Lookup or register a mime type in Rack's mime registry.
1294
+ def mime_type(type, value = nil)
1295
+ return type if type.nil?
1296
+ return type.to_s if type.to_s.include?('/')
1297
+ type = ".#{type}" unless type.to_s[0] == ?.
1298
+ return Rack::Mime.mime_type(type, nil) unless value
1299
+ Rack::Mime::MIME_TYPES[type] = value
1300
+ end
1301
+
1302
+ # provides all mime types matching type, including deprecated types:
1303
+ # mime_types :html # => ['text/html']
1304
+ # mime_types :js # => ['application/javascript', 'text/javascript']
1305
+ def mime_types(type)
1306
+ type = mime_type type
1307
+ type =~ /^application\/(xml|javascript)$/ ? [type, "text/#$1"] : [type]
1308
+ end
1309
+
1310
+ # Define a before filter; runs before all requests within the same
1311
+ # context as route handlers and may access/modify the request and
1312
+ # response.
1313
+ def before(path = nil, options = {}, &block)
1314
+ add_filter(:before, path, options, &block)
1315
+ end
1316
+
1317
+ # Define an after filter; runs after all requests within the same
1318
+ # context as route handlers and may access/modify the request and
1319
+ # response.
1320
+ def after(path = nil, options = {}, &block)
1321
+ add_filter(:after, path, options, &block)
1322
+ end
1323
+
1324
+ # add a filter
1325
+ def add_filter(type, path = nil, options = {}, &block)
1326
+ path, options = //, path if path.respond_to?(:each_pair)
1327
+ filters[type] << compile!(type, path || //, block, options)
1328
+ end
1329
+
1330
+ # Add a route condition. The route is considered non-matching when the
1331
+ # block returns false.
1332
+ def condition(name = "#{caller.first[/`.*'/]} condition", &block)
1333
+ @conditions << generate_method(name, &block)
1334
+ end
1335
+
1336
+ def public=(value)
1337
+ warn ":public is no longer used to avoid overloading Module#public, use :public_folder or :public_dir instead"
1338
+ set(:public_folder, value)
1339
+ end
1340
+
1341
+ def public_dir=(value)
1342
+ self.public_folder = value
1343
+ end
1344
+
1345
+ def public_dir
1346
+ public_folder
1347
+ end
1348
+
1349
+ # Defining a `GET` handler also automatically defines
1350
+ # a `HEAD` handler.
1351
+ def get(path, opts = {}, &block)
1352
+ conditions = @conditions.dup
1353
+ route('GET', path, opts, &block)
1354
+
1355
+ @conditions = conditions
1356
+ route('HEAD', path, opts, &block)
1357
+ end
1358
+
1359
+ def put(path, opts = {}, &bk) route 'PUT', path, opts, &bk end
1360
+ def post(path, opts = {}, &bk) route 'POST', path, opts, &bk end
1361
+ def delete(path, opts = {}, &bk) route 'DELETE', path, opts, &bk end
1362
+ def head(path, opts = {}, &bk) route 'HEAD', path, opts, &bk end
1363
+ def options(path, opts = {}, &bk) route 'OPTIONS', path, opts, &bk end
1364
+ def patch(path, opts = {}, &bk) route 'PATCH', path, opts, &bk end
1365
+ def link(path, opts = {}, &bk) route 'LINK', path, opts, &bk end
1366
+ def unlink(path, opts = {}, &bk) route 'UNLINK', path, opts, &bk end
1367
+
1368
+ # Makes the methods defined in the block and in the Modules given
1369
+ # in `extensions` available to the handlers and templates
1370
+ def helpers(*extensions, &block)
1371
+ class_eval(&block) if block_given?
1372
+ include(*extensions) if extensions.any?
1373
+ end
1374
+
1375
+ # Register an extension. Alternatively take a block from which an
1376
+ # extension will be created and registered on the fly.
1377
+ def register(*extensions, &block)
1378
+ extensions << Module.new(&block) if block_given?
1379
+ @extensions += extensions
1380
+ extensions.each do |extension|
1381
+ extend extension
1382
+ extension.registered(self) if extension.respond_to?(:registered)
1383
+ end
1384
+ end
1385
+
1386
+ def development?; environment == :development end
1387
+ def production?; environment == :production end
1388
+ def test?; environment == :test end
1389
+
1390
+ # Set configuration options for Sinatra and/or the app.
1391
+ # Allows scoping of settings for certain environments.
1392
+ def configure(*envs)
1393
+ yield self if envs.empty? || envs.include?(environment.to_sym)
1394
+ end
1395
+
1396
+ # Use the specified Rack middleware
1397
+ def use(middleware, *args, &block)
1398
+ @prototype = nil
1399
+ @middleware << [middleware, args, block]
1400
+ end
1401
+
1402
+ # Stop the self-hosted server if running.
1403
+ def quit!
1404
+ return unless running?
1405
+ # Use Thin's hard #stop! if available, otherwise just #stop.
1406
+ running_server.respond_to?(:stop!) ? running_server.stop! : running_server.stop
1407
+ $stderr.puts "== Sinatra has ended his set (crowd applauds)" unless handler_name =~/cgi/i
1408
+ set :running_server, nil
1409
+ set :handler_name, nil
1410
+ end
1411
+
1412
+ alias_method :stop!, :quit!
1413
+
1414
+ # Run the Sinatra app as a self-hosted server using
1415
+ # Thin, Puma, Mongrel, or WEBrick (in that order). If given a block, will call
1416
+ # with the constructed handler once we have taken the stage.
1417
+ def run!(options = {}, &block)
1418
+ return if running?
1419
+ set options
1420
+ handler = detect_rack_handler
1421
+ handler_name = handler.name.gsub(/.*::/, '')
1422
+ server_settings = settings.respond_to?(:server_settings) ? settings.server_settings : {}
1423
+ server_settings.merge!(:Port => port, :Host => bind)
1424
+
1425
+ begin
1426
+ start_server(handler, server_settings, handler_name, &block)
1427
+ rescue Errno::EADDRINUSE
1428
+ $stderr.puts "== Someone is already performing on port #{port}!"
1429
+ raise
1430
+ ensure
1431
+ quit!
1432
+ end
1433
+ end
1434
+
1435
+ alias_method :start!, :run!
1436
+
1437
+ # Check whether the self-hosted server is running or not.
1438
+ def running?
1439
+ running_server?
1440
+ end
1441
+
1442
+ # The prototype instance used to process requests.
1443
+ def prototype
1444
+ @prototype ||= new
1445
+ end
1446
+
1447
+ # Create a new instance without middleware in front of it.
1448
+ alias new! new unless method_defined? :new!
1449
+
1450
+ # Create a new instance of the class fronted by its middleware
1451
+ # pipeline. The object is guaranteed to respond to #call but may not be
1452
+ # an instance of the class new was called on.
1453
+ def new(*args, &bk)
1454
+ instance = new!(*args, &bk)
1455
+ Wrapper.new(build(instance).to_app, instance)
1456
+ end
1457
+
1458
+ # Creates a Rack::Builder instance with all the middleware set up and
1459
+ # the given +app+ as end point.
1460
+ def build(app)
1461
+ builder = Rack::Builder.new
1462
+ setup_default_middleware builder
1463
+ setup_middleware builder
1464
+ builder.run app
1465
+ builder
1466
+ end
1467
+
1468
+ def call(env)
1469
+ synchronize { prototype.call(env) }
1470
+ end
1471
+
1472
+ # Like Kernel#caller but excluding certain magic entries and without
1473
+ # line / method information; the resulting array contains filenames only.
1474
+ def caller_files
1475
+ cleaned_caller(1).flatten
1476
+ end
1477
+
1478
+ # Like caller_files, but containing Arrays rather than strings with the
1479
+ # first element being the file, and the second being the line.
1480
+ def caller_locations
1481
+ cleaned_caller 2
1482
+ end
1483
+
1484
+ private
1485
+
1486
+ # Starts the server by running the Rack Handler.
1487
+ def start_server(handler, server_settings, handler_name)
1488
+ handler.run(self, server_settings) do |server|
1489
+ unless handler_name =~ /cgi/i
1490
+ $stderr.puts "== Sinatra/#{Sinatra::VERSION} has taken the stage " +
1491
+ "on #{port} for #{environment} with backup from #{handler_name}"
1492
+ end
1493
+
1494
+ setup_traps
1495
+ set :running_server, server
1496
+ set :handler_name, handler_name
1497
+ server.threaded = settings.threaded if server.respond_to? :threaded=
1498
+
1499
+ yield server if block_given?
1500
+ end
1501
+ end
1502
+
1503
+ def setup_traps
1504
+ if traps?
1505
+ at_exit { quit! }
1506
+
1507
+ [:INT, :TERM].each do |signal|
1508
+ old_handler = trap(signal) do
1509
+ quit!
1510
+ old_handler.call if old_handler.respond_to?(:call)
1511
+ end
1512
+ end
1513
+
1514
+ set :traps, false
1515
+ end
1516
+ end
1517
+
1518
+ # Dynamically defines a method on settings.
1519
+ def define_singleton(name, content = Proc.new)
1520
+ # replace with call to singleton_class once we're 1.9 only
1521
+ (class << self; self; end).class_eval do
1522
+ undef_method(name) if method_defined? name
1523
+ String === content ? class_eval("def #{name}() #{content}; end") : define_method(name, &content)
1524
+ end
1525
+ end
1526
+
1527
+ # Condition for matching host name. Parameter might be String or Regexp.
1528
+ def host_name(pattern)
1529
+ condition { pattern === request.host }
1530
+ end
1531
+
1532
+ # Condition for matching user agent. Parameter should be Regexp.
1533
+ # Will set params[:agent].
1534
+ def user_agent(pattern)
1535
+ condition do
1536
+ if request.user_agent.to_s =~ pattern
1537
+ @params[:agent] = $~[1..-1]
1538
+ true
1539
+ else
1540
+ false
1541
+ end
1542
+ end
1543
+ end
1544
+ alias_method :agent, :user_agent
1545
+
1546
+ # Condition for matching mimetypes. Accepts file extensions.
1547
+ def provides(*types)
1548
+ types.map! { |t| mime_types(t) }
1549
+ types.flatten!
1550
+ condition do
1551
+ if type = response['Content-Type']
1552
+ types.include? type or types.include? type[/^[^;]+/]
1553
+ elsif type = request.preferred_type(types)
1554
+ params = (type.respond_to?(:params) ? type.params : {})
1555
+ content_type(type, params)
1556
+ true
1557
+ else
1558
+ false
1559
+ end
1560
+ end
1561
+ end
1562
+
1563
+ def route(verb, path, options = {}, &block)
1564
+ # Because of self.options.host
1565
+ host_name(options.delete(:host)) if options.key?(:host)
1566
+ enable :empty_path_info if path == "" and empty_path_info.nil?
1567
+ signature = compile!(verb, path, block, options)
1568
+ (@routes[verb] ||= []) << signature
1569
+ invoke_hook(:route_added, verb, path, block)
1570
+ signature
1571
+ end
1572
+
1573
+ def invoke_hook(name, *args)
1574
+ extensions.each { |e| e.send(name, *args) if e.respond_to?(name) }
1575
+ end
1576
+
1577
+ def generate_method(method_name, &block)
1578
+ define_method(method_name, &block)
1579
+ method = instance_method method_name
1580
+ remove_method method_name
1581
+ method
1582
+ end
1583
+
1584
+ def compile!(verb, path, block, options = {})
1585
+ options.each_pair { |option, args| send(option, *args) }
1586
+ method_name = "#{verb} #{path}"
1587
+ unbound_method = generate_method(method_name, &block)
1588
+ pattern, keys = compile path
1589
+ conditions, @conditions = @conditions, []
1590
+
1591
+ wrapper = block.arity != 0 ?
1592
+ proc { |a,p| unbound_method.bind(a).call(*p) } :
1593
+ proc { |a,p| unbound_method.bind(a).call }
1594
+ wrapper.instance_variable_set(:@route_name, method_name)
1595
+
1596
+ [ pattern, keys, conditions, wrapper ]
1597
+ end
1598
+
1599
+ def compile(path)
1600
+ if path.respond_to? :to_str
1601
+ keys = []
1602
+
1603
+ # We append a / at the end if there was one.
1604
+ # Reason: Splitting does not split off an empty
1605
+ # string at the end if the split separator
1606
+ # is at the end.
1607
+ #
1608
+ postfix = '/' if path =~ /\/\z/
1609
+
1610
+ # Split the path into pieces in between forward slashes.
1611
+ #
1612
+ segments = path.split('/').map! do |segment|
1613
+ ignore = []
1614
+
1615
+ # Special character handling.
1616
+ #
1617
+ pattern = segment.to_str.gsub(/[^\?\%\\\/\:\*\w]/) do |c|
1618
+ ignore << escaped(c).join if c.match(/[\.@]/)
1619
+ patt = encoded(c)
1620
+ patt.gsub(/%[\da-fA-F]{2}/) do |match|
1621
+ match.split(//).map! {|char| char =~ /[A-Z]/ ? "[#{char}#{char.tr('A-Z', 'a-z')}]" : char}.join
1622
+ end
1623
+ end
1624
+
1625
+ ignore = ignore.uniq.join
1626
+
1627
+ # Key handling.
1628
+ #
1629
+ pattern.gsub(/((:\w+)|\*)/) do |match|
1630
+ if match == "*"
1631
+ keys << 'splat'
1632
+ "(.*?)"
1633
+ else
1634
+ keys << $2[1..-1]
1635
+ ignore_pattern = safe_ignore(ignore)
1636
+
1637
+ ignore_pattern
1638
+ end
1639
+ end
1640
+ end
1641
+
1642
+ # Special case handling.
1643
+ #
1644
+ if segment = segments.pop
1645
+ if segment.match(/\[\^\\\./)
1646
+ parts = segment.rpartition(/\[\^\\\./)
1647
+ parts[1] = '[^'
1648
+ segments << parts.join
1649
+ else
1650
+ segments << segment
1651
+ end
1652
+ end
1653
+ [/\A#{segments.join('/')}#{postfix}\z/, keys]
1654
+ elsif path.respond_to?(:keys) && path.respond_to?(:match)
1655
+ [path, path.keys]
1656
+ elsif path.respond_to?(:names) && path.respond_to?(:match)
1657
+ [path, path.names]
1658
+ elsif path.respond_to? :match
1659
+ [path, []]
1660
+ else
1661
+ raise TypeError, path
1662
+ end
1663
+ end
1664
+
1665
+ def encoded(char)
1666
+ enc = URI_INSTANCE.escape(char)
1667
+ enc = "(?:#{escaped(char, enc).join('|')})" if enc == char
1668
+ enc = "(?:#{enc}|#{encoded('+')})" if char == " "
1669
+ enc
1670
+ end
1671
+
1672
+ def escaped(char, enc = URI_INSTANCE.escape(char))
1673
+ [Regexp.escape(enc), URI_INSTANCE.escape(char, /./)]
1674
+ end
1675
+
1676
+ def safe_ignore(ignore)
1677
+ unsafe_ignore = []
1678
+ ignore = ignore.gsub(/%[\da-fA-F]{2}/) do |hex|
1679
+ unsafe_ignore << hex[1..2]
1680
+ ''
1681
+ end
1682
+ unsafe_patterns = unsafe_ignore.map! do |unsafe|
1683
+ chars = unsafe.split(//).map! do |char|
1684
+ if char =~ /[A-Z]/
1685
+ char <<= char.tr('A-Z', 'a-z')
1686
+ end
1687
+ char
1688
+ end
1689
+
1690
+ "|(?:%[^#{chars[0]}].|%[#{chars[0]}][^#{chars[1]}])"
1691
+ end
1692
+ if unsafe_patterns.length > 0
1693
+ "((?:[^#{ignore}/?#%]#{unsafe_patterns.join()})+)"
1694
+ else
1695
+ "([^#{ignore}/?#]+)"
1696
+ end
1697
+ end
1698
+
1699
+ def setup_default_middleware(builder)
1700
+ builder.use ExtendedRack
1701
+ builder.use ShowExceptions if show_exceptions?
1702
+ builder.use Rack::MethodOverride if method_override?
1703
+ builder.use Rack::Head
1704
+ setup_logging builder
1705
+ setup_sessions builder
1706
+ setup_protection builder
1707
+ end
1708
+
1709
+ def setup_middleware(builder)
1710
+ middleware.each { |c,a,b| builder.use(c, *a, &b) }
1711
+ end
1712
+
1713
+ def setup_logging(builder)
1714
+ if logging?
1715
+ setup_common_logger(builder)
1716
+ setup_custom_logger(builder)
1717
+ elsif logging == false
1718
+ setup_null_logger(builder)
1719
+ end
1720
+ end
1721
+
1722
+ def setup_null_logger(builder)
1723
+ builder.use Rack::NullLogger
1724
+ end
1725
+
1726
+ def setup_common_logger(builder)
1727
+ builder.use Sinatra::CommonLogger
1728
+ end
1729
+
1730
+ def setup_custom_logger(builder)
1731
+ if logging.respond_to? :to_int
1732
+ builder.use Rack::Logger, logging
1733
+ else
1734
+ builder.use Rack::Logger
1735
+ end
1736
+ end
1737
+
1738
+ def setup_protection(builder)
1739
+ return unless protection?
1740
+ options = Hash === protection ? protection.dup : {}
1741
+ protect_session = options.fetch(:session) { sessions? }
1742
+ options[:except] = Array options[:except]
1743
+ options[:except] += [:session_hijacking, :remote_token] unless protect_session
1744
+ options[:reaction] ||= :drop_session
1745
+ builder.use Rack::Protection, options
1746
+ end
1747
+
1748
+ def setup_sessions(builder)
1749
+ return unless sessions?
1750
+ options = {}
1751
+ options[:secret] = session_secret if session_secret?
1752
+ options.merge! sessions.to_hash if sessions.respond_to? :to_hash
1753
+ builder.use Rack::Session::Cookie, options
1754
+ end
1755
+
1756
+ def detect_rack_handler
1757
+ servers = Array(server)
1758
+ servers.each do |server_name|
1759
+ begin
1760
+ return Rack::Handler.get(server_name.to_s)
1761
+ rescue LoadError, NameError
1762
+ end
1763
+ end
1764
+ fail "Server handler (#{servers.join(',')}) not found."
1765
+ end
1766
+
1767
+ def inherited(subclass)
1768
+ subclass.reset!
1769
+ subclass.set :app_file, caller_files.first unless subclass.app_file?
1770
+ super
1771
+ end
1772
+
1773
+ @@mutex = Mutex.new
1774
+ def synchronize(&block)
1775
+ if lock?
1776
+ @@mutex.synchronize(&block)
1777
+ else
1778
+ yield
1779
+ end
1780
+ end
1781
+
1782
+ # used for deprecation warnings
1783
+ def warn(message)
1784
+ super message + "\n\tfrom #{cleaned_caller.first.join(':')}"
1785
+ end
1786
+
1787
+ # Like Kernel#caller but excluding certain magic entries
1788
+ def cleaned_caller(keep = 3)
1789
+ caller(1).
1790
+ map! { |line| line.split(/:(?=\d|in )/, 3)[0,keep] }.
1791
+ reject { |file, *_| CALLERS_TO_IGNORE.any? { |pattern| file =~ pattern } }
1792
+ end
1793
+ end
1794
+
1795
+ # Fixes encoding issues by
1796
+ # * defaulting to UTF-8
1797
+ # * casting params to Encoding.default_external
1798
+ #
1799
+ # The latter might not be necessary if Rack handles it one day.
1800
+ # Keep an eye on Rack's LH #100.
1801
+ def force_encoding(*args) settings.force_encoding(*args) end
1802
+ if defined? Encoding
1803
+ def self.force_encoding(data, encoding = default_encoding)
1804
+ return if data == settings || data.is_a?(Tempfile)
1805
+ if data.respond_to? :force_encoding
1806
+ data.force_encoding(encoding).encode!
1807
+ elsif data.respond_to? :each_value
1808
+ data.each_value { |v| force_encoding(v, encoding) }
1809
+ elsif data.respond_to? :each
1810
+ data.each { |v| force_encoding(v, encoding) }
1811
+ end
1812
+ data
1813
+ end
1814
+ else
1815
+ def self.force_encoding(data, *) data end
1816
+ end
1817
+
1818
+ reset!
1819
+
1820
+ set :environment, (ENV['RACK_ENV'] || :development).to_sym
1821
+ set :raise_errors, Proc.new { test? }
1822
+ set :dump_errors, Proc.new { !test? }
1823
+ set :show_exceptions, Proc.new { development? }
1824
+ set :sessions, false
1825
+ set :logging, false
1826
+ set :protection, true
1827
+ set :method_override, false
1828
+ set :use_code, false
1829
+ set :default_encoding, "utf-8"
1830
+ set :x_cascade, true
1831
+ set :add_charset, %w[javascript xml xhtml+xml json].map { |t| "application/#{t}" }
1832
+ settings.add_charset << /^text\//
1833
+
1834
+ # explicitly generating a session secret eagerly to play nice with preforking
1835
+ begin
1836
+ require 'securerandom'
1837
+ set :session_secret, SecureRandom.hex(64)
1838
+ rescue LoadError, NotImplementedError
1839
+ # SecureRandom raises a NotImplementedError if no random device is available
1840
+ set :session_secret, "%064x" % Kernel.rand(2**256-1)
1841
+ end
1842
+
1843
+ class << self
1844
+ alias_method :methodoverride?, :method_override?
1845
+ alias_method :methodoverride=, :method_override=
1846
+ end
1847
+
1848
+ set :run, false # start server via at-exit hook?
1849
+ set :running_server, nil
1850
+ set :handler_name, nil
1851
+ set :traps, true
1852
+ set :server, %w[HTTP webrick]
1853
+ set :bind, Proc.new { development? ? 'localhost' : '0.0.0.0' }
1854
+ set :port, Integer(ENV['PORT'] && !ENV['PORT'].empty? ? ENV['PORT'] : 4567)
1855
+
1856
+ ruby_engine = defined?(RUBY_ENGINE) && RUBY_ENGINE
1857
+
1858
+ if ruby_engine == 'macruby'
1859
+ server.unshift 'control_tower'
1860
+ else
1861
+ server.unshift 'reel'
1862
+ server.unshift 'mongrel' if ruby_engine.nil?
1863
+ server.unshift 'puma' if ruby_engine != 'rbx'
1864
+ server.unshift 'thin' if ruby_engine != 'jruby'
1865
+ server.unshift 'puma' if ruby_engine == 'rbx'
1866
+ server.unshift 'trinidad' if ruby_engine == 'jruby'
1867
+ end
1868
+
1869
+ set :absolute_redirects, true
1870
+ set :prefixed_redirects, false
1871
+ set :empty_path_info, nil
1872
+
1873
+ set :app_file, nil
1874
+ set :root, Proc.new { app_file && File.expand_path(File.dirname(app_file)) }
1875
+ set :views, Proc.new { root && File.join(root, 'views') }
1876
+ set :reload_templates, Proc.new { development? }
1877
+ set :lock, false
1878
+ set :threaded, true
1879
+
1880
+ set :public_folder, Proc.new { root && File.join(root, 'public') }
1881
+ set :static, Proc.new { public_folder && File.exist?(public_folder) }
1882
+ set :static_cache_control, false
1883
+
1884
+ error ::Exception do
1885
+ response.status = 500
1886
+ content_type 'text/html'
1887
+ '<h1>Internal Server Error</h1>'
1888
+ end
1889
+
1890
+ configure :development do
1891
+ get '/__sinatra__/:image.png' do
1892
+ filename = File.dirname(__FILE__) + "/images/#{params[:image]}.png"
1893
+ content_type :png
1894
+ send_file filename
1895
+ end
1896
+
1897
+ error NotFound do
1898
+ content_type 'text/html'
1899
+
1900
+ if self.class == Sinatra::Application
1901
+ code = <<-RUBY.gsub(/^ {12}/, '')
1902
+ #{request.request_method.downcase} '#{request.path_info}' do
1903
+ "Hello World"
1904
+ end
1905
+ RUBY
1906
+ else
1907
+ code = <<-RUBY.gsub(/^ {12}/, '')
1908
+ class #{self.class}
1909
+ #{request.request_method.downcase} '#{request.path_info}' do
1910
+ "Hello World"
1911
+ end
1912
+ end
1913
+ RUBY
1914
+
1915
+ file = settings.app_file.to_s.sub(settings.root.to_s, '').sub(/^\//, '')
1916
+ code = "# in #{file}\n#{code}" unless file.empty?
1917
+ end
1918
+
1919
+ (<<-HTML).gsub(/^ {10}/, '')
1920
+ <!DOCTYPE html>
1921
+ <html>
1922
+ <head>
1923
+ <style type="text/css">
1924
+ body { text-align:center;font-family:helvetica,arial;font-size:22px;
1925
+ color:#888;margin:20px}
1926
+ #c {margin:0 auto;width:500px;text-align:left}
1927
+ </style>
1928
+ </head>
1929
+ <body>
1930
+ <h2>Sinatra doesn&rsquo;t know this ditty.</h2>
1931
+ <img src='#{uri "/__sinatra__/404.png"}'>
1932
+ <div id="c">
1933
+ Try this:
1934
+ <pre>#{code}</pre>
1935
+ </div>
1936
+ </body>
1937
+ </html>
1938
+ HTML
1939
+ end
1940
+ end
1941
+ end
1942
+
1943
+ # Execution context for classic style (top-level) applications. All
1944
+ # DSL methods executed on main are delegated to this class.
1945
+ #
1946
+ # The Application class should not be subclassed, unless you want to
1947
+ # inherit all settings, routes, handlers, and error pages from the
1948
+ # top-level. Subclassing Sinatra::Base is highly recommended for
1949
+ # modular applications.
1950
+ class Application < Base
1951
+ set :logging, Proc.new { ! test? }
1952
+ set :method_override, true
1953
+ set :run, Proc.new { ! test? }
1954
+ set :session_secret, Proc.new { super() unless development? }
1955
+ set :app_file, nil
1956
+
1957
+ def self.register(*extensions, &block) #:nodoc:
1958
+ added_methods = extensions.map {|m| m.public_instance_methods }.flatten
1959
+ Delegator.delegate(*added_methods)
1960
+ super(*extensions, &block)
1961
+ end
1962
+ end
1963
+
1964
+ # Sinatra delegation mixin. Mixing this module into an object causes all
1965
+ # methods to be delegated to the Sinatra::Application class. Used primarily
1966
+ # at the top-level.
1967
+ module Delegator #:nodoc:
1968
+ def self.delegate(*methods)
1969
+ methods.each do |method_name|
1970
+ define_method(method_name) do |*args, &block|
1971
+ return super(*args, &block) if respond_to? method_name
1972
+ Delegator.target.send(method_name, *args, &block)
1973
+ end
1974
+ private method_name
1975
+ end
1976
+ end
1977
+
1978
+ delegate :get, :patch, :put, :post, :delete, :head, :options, :link, :unlink,
1979
+ :template, :layout, :before, :after, :error, :not_found, :configure,
1980
+ :set, :mime_type, :enable, :disable, :use, :development?, :test?,
1981
+ :production?, :helpers, :settings, :register
1982
+
1983
+ class << self
1984
+ attr_accessor :target
1985
+ end
1986
+
1987
+ self.target = Application
1988
+ end
1989
+
1990
+ class Wrapper
1991
+ def initialize(stack, instance)
1992
+ @stack, @instance = stack, instance
1993
+ end
1994
+
1995
+ def settings
1996
+ @instance.settings
1997
+ end
1998
+
1999
+ def helpers
2000
+ @instance
2001
+ end
2002
+
2003
+ def call(env)
2004
+ @stack.call(env)
2005
+ end
2006
+
2007
+ def inspect
2008
+ "#<#{@instance.class} app_file=#{settings.app_file.inspect}>"
2009
+ end
2010
+ end
2011
+
2012
+ # Create a new Sinatra application. The block is evaluated in the new app's
2013
+ # class scope.
2014
+ def self.new(base = Base, &block)
2015
+ base = Class.new(base)
2016
+ base.class_eval(&block) if block_given?
2017
+ base
2018
+ end
2019
+
2020
+ # Extend the top-level DSL with the modules provided.
2021
+ def self.register(*extensions, &block)
2022
+ Delegator.target.register(*extensions, &block)
2023
+ end
2024
+
2025
+ # Include the helper modules provided in Sinatra's request context.
2026
+ def self.helpers(*extensions, &block)
2027
+ Delegator.target.helpers(*extensions, &block)
2028
+ end
2029
+
2030
+ # Use the middleware for classic applications.
2031
+ def self.use(*args, &block)
2032
+ Delegator.target.use(*args, &block)
2033
+ end
2034
+ end