torquebox-console 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1373) hide show
  1. data/README.md +10 -7
  2. data/bin/tbconsole +31 -20
  3. data/config/torquebox_init.rb +3 -0
  4. data/dependencies.rb +15 -0
  5. data/lib/torquebox/console/client.rb +2 -2
  6. data/lib/torquebox/console/version.rb +1 -1
  7. data/stomplets/torque_box_console.rb +3 -9
  8. data/vendor/bundle/jruby/1.9/bin/catstomp +23 -0
  9. data/vendor/bundle/jruby/1.9/bin/coderay +23 -0
  10. data/vendor/bundle/jruby/1.9/bin/haml +23 -0
  11. data/vendor/bundle/jruby/1.9/bin/html2haml +23 -0
  12. data/vendor/bundle/jruby/1.9/bin/pry +23 -0
  13. data/vendor/bundle/jruby/1.9/bin/rackup +23 -0
  14. data/vendor/bundle/jruby/1.9/bin/rake +23 -0
  15. data/vendor/bundle/jruby/1.9/bin/rake2thor +23 -0
  16. data/vendor/bundle/jruby/1.9/bin/stompcat +23 -0
  17. data/vendor/bundle/jruby/1.9/bin/thor +23 -0
  18. data/vendor/bundle/jruby/1.9/bin/tilt +23 -0
  19. data/vendor/bundle/jruby/1.9/cache/coderay-1.0.9.gem +0 -0
  20. data/vendor/bundle/jruby/1.9/cache/haml-3.1.8.gem +0 -0
  21. data/vendor/bundle/jruby/1.9/cache/method_source-0.8.1.gem +0 -0
  22. data/vendor/bundle/jruby/1.9/cache/pry-0.9.12-java.gem +0 -0
  23. data/vendor/bundle/jruby/1.9/cache/rack-1.5.2.gem +0 -0
  24. data/vendor/bundle/jruby/1.9/cache/rack-protection-1.4.0.gem +0 -0
  25. data/vendor/bundle/jruby/1.9/cache/rake-10.0.3.gem +0 -0
  26. data/vendor/bundle/jruby/1.9/cache/sinatra-1.3.5.gem +0 -0
  27. data/vendor/bundle/jruby/1.9/cache/slop-3.4.3.gem +0 -0
  28. data/vendor/bundle/jruby/1.9/cache/spoon-0.0.1.gem +0 -0
  29. data/vendor/bundle/jruby/1.9/cache/stomp-1.2.8.gem +0 -0
  30. data/vendor/bundle/jruby/1.9/cache/thor-0.17.0.gem +0 -0
  31. data/vendor/bundle/jruby/1.9/cache/tilt-1.3.4.gem +0 -0
  32. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/README_INDEX.rdoc +123 -0
  33. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/Rakefile +35 -0
  34. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/bin/coderay +215 -0
  35. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/duo.rb +81 -0
  36. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoder.rb +201 -0
  37. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/_map.rb +17 -0
  38. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/comment_filter.rb +25 -0
  39. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/count.rb +39 -0
  40. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/debug.rb +61 -0
  41. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/div.rb +23 -0
  42. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/filter.rb +58 -0
  43. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/html/css.rb +65 -0
  44. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/html/numbering.rb +103 -0
  45. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/html/output.rb +166 -0
  46. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/html.rb +327 -0
  47. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/json.rb +83 -0
  48. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/lines_of_code.rb +45 -0
  49. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/null.rb +18 -0
  50. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/page.rb +24 -0
  51. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/span.rb +23 -0
  52. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/statistic.rb +96 -0
  53. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/terminal.rb +179 -0
  54. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/text.rb +46 -0
  55. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/token_kind_filter.rb +111 -0
  56. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/xml.rb +72 -0
  57. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/encoders/yaml.rb +50 -0
  58. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/for_redcloth.rb +95 -0
  59. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb +143 -0
  60. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/helpers/gzip.rb +41 -0
  61. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/helpers/plugin.rb +283 -0
  62. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/helpers/word_list.rb +72 -0
  63. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanner.rb +323 -0
  64. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/_map.rb +24 -0
  65. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/c.rb +189 -0
  66. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/clojure.rb +217 -0
  67. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/cpp.rb +215 -0
  68. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/css.rb +199 -0
  69. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/debug.rb +65 -0
  70. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/delphi.rb +144 -0
  71. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/diff.rb +199 -0
  72. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/erb.rb +81 -0
  73. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/groovy.rb +255 -0
  74. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/haml.rb +168 -0
  75. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/html.rb +253 -0
  76. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/java/builtin_types.rb +421 -0
  77. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/java.rb +174 -0
  78. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/java_script.rb +213 -0
  79. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/json.rb +95 -0
  80. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/php.rb +509 -0
  81. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/python.rb +287 -0
  82. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/raydebug.rb +66 -0
  83. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/ruby/patterns.rb +175 -0
  84. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/ruby/string_state.rb +71 -0
  85. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/ruby.rb +470 -0
  86. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/sql.rb +174 -0
  87. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/text.rb +26 -0
  88. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/xml.rb +17 -0
  89. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/scanners/yaml.rb +140 -0
  90. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/style.rb +23 -0
  91. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/styles/_map.rb +7 -0
  92. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/styles/alpha.rb +142 -0
  93. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/token_kinds.rb +90 -0
  94. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/tokens.rb +215 -0
  95. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/tokens_proxy.rb +55 -0
  96. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay/version.rb +3 -0
  97. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/lib/coderay.rb +285 -0
  98. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/test/functional/basic.rb +320 -0
  99. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/test/functional/examples.rb +129 -0
  100. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/test/functional/for_redcloth.rb +84 -0
  101. data/vendor/bundle/jruby/1.9/gems/coderay-1.0.9/test/functional/suite.rb +15 -0
  102. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/CONTRIBUTING +3 -0
  103. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/MIT-LICENSE +20 -0
  104. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/README.md +133 -0
  105. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/REVISION +1 -0
  106. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/Rakefile +419 -0
  107. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/VERSION +1 -0
  108. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/VERSION_NAME +1 -0
  109. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/bin/haml +9 -0
  110. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/bin/html2haml +7 -0
  111. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/extra/update_watch.rb +13 -0
  112. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/init.rb +18 -0
  113. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/buffer.rb +301 -0
  114. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/compiler.rb +453 -0
  115. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/engine.rb +312 -0
  116. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/error.rb +22 -0
  117. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/exec.rb +362 -0
  118. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/filters.rb +385 -0
  119. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/helpers/action_view_extensions.rb +57 -0
  120. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/helpers/action_view_mods.rb +260 -0
  121. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/helpers/rails_323_textarea_fix.rb +41 -0
  122. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/helpers/xss_mods.rb +165 -0
  123. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/helpers.rb +608 -0
  124. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/html/erb.rb +141 -0
  125. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/html.rb +412 -0
  126. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/parser.rb +711 -0
  127. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/railtie.rb +19 -0
  128. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/root.rb +7 -0
  129. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/shared.rb +78 -0
  130. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/template/options.rb +16 -0
  131. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/template/patch.rb +58 -0
  132. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/template/plugin.rb +123 -0
  133. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/template.rb +99 -0
  134. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/util.rb +842 -0
  135. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml/version.rb +109 -0
  136. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/haml.rb +47 -0
  137. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/sass/plugin.rb +10 -0
  138. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/sass/rails2_shim.rb +9 -0
  139. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/sass/rails3_shim.rb +16 -0
  140. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/lib/sass.rb +8 -0
  141. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/rails/init.rb +1 -0
  142. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/benchmark.rb +91 -0
  143. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.0.x +8 -0
  144. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.0.x.lock +38 -0
  145. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.1.x +8 -0
  146. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.1.x.lock +38 -0
  147. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.2.x +8 -0
  148. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.2.x.lock +38 -0
  149. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.3.x +8 -0
  150. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-2.3.x.lock +40 -0
  151. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.0.x +8 -0
  152. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.0.x.lock +85 -0
  153. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.1.x +8 -0
  154. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.1.x.lock +97 -0
  155. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.2.x +8 -0
  156. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-3.2.x.lock +95 -0
  157. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-xss-2.3.x +9 -0
  158. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/gemfiles/Gemfile.rails-xss-2.3.x.lock +42 -0
  159. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/engine_test.rb +1950 -0
  160. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/erb/_av_partial_1.erb +12 -0
  161. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/erb/_av_partial_2.erb +8 -0
  162. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/erb/action_view.erb +62 -0
  163. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/erb/standard.erb +55 -0
  164. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/helper_test.rb +467 -0
  165. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/html2haml/erb_tests.rb +440 -0
  166. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/html2haml_test.rb +336 -0
  167. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/markaby/standard.mab +52 -0
  168. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/mocks/article.rb +6 -0
  169. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/content_for_layout.xhtml +12 -0
  170. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/eval_suppressed.xhtml +9 -0
  171. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/filters.xhtml +62 -0
  172. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/helpers.xhtml +70 -0
  173. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/helpful.xhtml +10 -0
  174. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/just_stuff.xhtml +70 -0
  175. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/list.xhtml +12 -0
  176. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/nuke_inner_whitespace.xhtml +40 -0
  177. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/nuke_outer_whitespace.xhtml +148 -0
  178. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/original_engine.xhtml +20 -0
  179. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/partial_layout.xhtml +5 -0
  180. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/partials.xhtml +21 -0
  181. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/render_layout.xhtml +3 -0
  182. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/silent_script.xhtml +74 -0
  183. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/standard.xhtml +162 -0
  184. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/tag_parsing.xhtml +23 -0
  185. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/very_basic.xhtml +5 -0
  186. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/results/whitespace_handling.xhtml +85 -0
  187. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/spec/README.md +97 -0
  188. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/spec/lua_haml_spec.lua +30 -0
  189. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/spec/ruby_haml_test.rb +19 -0
  190. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/spec/tests.json +534 -0
  191. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/spec_test.rb +44 -0
  192. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/template_test.rb +443 -0
  193. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/_av_partial_1.haml +9 -0
  194. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/_av_partial_1_ugly.haml +9 -0
  195. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/_av_partial_2.haml +5 -0
  196. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/_av_partial_2_ugly.haml +5 -0
  197. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/_layout.erb +3 -0
  198. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/_layout_for_partial.haml +3 -0
  199. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/_partial.haml +8 -0
  200. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/_text_area.haml +3 -0
  201. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/action_view.haml +47 -0
  202. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/action_view_ugly.haml +47 -0
  203. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/breakage.haml +8 -0
  204. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/content_for_layout.haml +8 -0
  205. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/eval_suppressed.haml +11 -0
  206. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/filters.haml +66 -0
  207. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/helpers.haml +55 -0
  208. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/helpful.haml +11 -0
  209. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/just_stuff.haml +85 -0
  210. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/list.haml +12 -0
  211. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/nuke_inner_whitespace.haml +32 -0
  212. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/nuke_outer_whitespace.haml +144 -0
  213. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/original_engine.haml +17 -0
  214. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/partial_layout.haml +10 -0
  215. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/partialize.haml +1 -0
  216. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/partials.haml +12 -0
  217. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/render_layout.haml +2 -0
  218. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/silent_script.haml +40 -0
  219. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/standard.haml +43 -0
  220. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/standard_ugly.haml +43 -0
  221. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/tag_parsing.haml +21 -0
  222. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/very_basic.haml +4 -0
  223. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/templates/whitespace_handling.haml +87 -0
  224. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/haml/util_test.rb +300 -0
  225. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/linked_rails.rb +42 -0
  226. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/test/test_helper.rb +75 -0
  227. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/CONTRIBUTING +3 -0
  228. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/MIT-LICENSE +20 -0
  229. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/README.md +201 -0
  230. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/Rakefile +339 -0
  231. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/TODO +39 -0
  232. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/VERSION +1 -0
  233. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/VERSION_NAME +1 -0
  234. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/bin/sass +8 -0
  235. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/bin/sass-convert +7 -0
  236. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/bin/scss +8 -0
  237. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/doc-src/FAQ.md +35 -0
  238. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/doc-src/INDENTED_SYNTAX.md +210 -0
  239. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/doc-src/SASS_CHANGELOG.md +2327 -0
  240. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/doc-src/SASS_REFERENCE.md +1965 -0
  241. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/doc-src/SCSS_FOR_SASS_USERS.md +155 -0
  242. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/ext/extconf.rb +10 -0
  243. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/extra/update_watch.rb +13 -0
  244. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/init.rb +18 -0
  245. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/base.rb +86 -0
  246. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/chain.rb +33 -0
  247. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/filesystem.rb +60 -0
  248. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/memory.rb +47 -0
  249. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores/null.rb +25 -0
  250. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/cache_stores.rb +15 -0
  251. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/callbacks.rb +66 -0
  252. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/css.rb +295 -0
  253. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/engine.rb +878 -0
  254. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/environment.rb +166 -0
  255. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/error.rb +201 -0
  256. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/exec.rb +672 -0
  257. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/importers/base.rb +139 -0
  258. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/importers/filesystem.rb +149 -0
  259. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/importers.rb +22 -0
  260. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/less.rb +382 -0
  261. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/logger/base.rb +32 -0
  262. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/logger/log_level.rb +49 -0
  263. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/logger.rb +15 -0
  264. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/compiler.rb +383 -0
  265. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/configuration.rb +123 -0
  266. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/generic.rb +15 -0
  267. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/merb.rb +48 -0
  268. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/rack.rb +60 -0
  269. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/rails.rb +47 -0
  270. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/plugin/staleness_checker.rb +173 -0
  271. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/plugin.rb +132 -0
  272. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/railtie.rb +9 -0
  273. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/repl.rb +58 -0
  274. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/root.rb +7 -0
  275. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/bool.rb +18 -0
  276. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/color.rb +480 -0
  277. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/css_lexer.rb +29 -0
  278. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/css_parser.rb +31 -0
  279. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/funcall.rb +175 -0
  280. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/functions.rb +1386 -0
  281. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/interpolation.rb +79 -0
  282. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/lexer.rb +339 -0
  283. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/list.rb +83 -0
  284. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/literal.rb +250 -0
  285. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/node.rb +99 -0
  286. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/number.rb +452 -0
  287. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/operation.rb +99 -0
  288. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/parser.rb +474 -0
  289. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/string.rb +51 -0
  290. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/string_interpolation.rb +103 -0
  291. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/unary_operation.rb +64 -0
  292. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script/variable.rb +59 -0
  293. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/script.rb +40 -0
  294. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/scss/css_parser.rb +46 -0
  295. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/scss/parser.rb +960 -0
  296. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/scss/rx.rb +128 -0
  297. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/scss/sass_parser.rb +11 -0
  298. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/scss/script_lexer.rb +15 -0
  299. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/scss/script_parser.rb +25 -0
  300. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/scss/static_parser.rb +40 -0
  301. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/scss.rb +17 -0
  302. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/selector/abstract_sequence.rb +62 -0
  303. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/selector/comma_sequence.rb +81 -0
  304. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/selector/sequence.rb +233 -0
  305. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/selector/simple.rb +113 -0
  306. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/selector/simple_sequence.rb +134 -0
  307. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/selector.rb +361 -0
  308. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/shared.rb +78 -0
  309. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/charset_node.rb +22 -0
  310. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/comment_node.rb +90 -0
  311. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/debug_node.rb +18 -0
  312. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/directive_node.rb +23 -0
  313. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/each_node.rb +24 -0
  314. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/extend_node.rb +29 -0
  315. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/for_node.rb +36 -0
  316. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/function_node.rb +27 -0
  317. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/if_node.rb +52 -0
  318. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/import_node.rb +68 -0
  319. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/media_node.rb +32 -0
  320. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/mixin_def_node.rb +27 -0
  321. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/mixin_node.rb +32 -0
  322. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/node.rb +201 -0
  323. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/prop_node.rb +148 -0
  324. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/return_node.rb +18 -0
  325. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/root_node.rb +28 -0
  326. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/rule_node.rb +136 -0
  327. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/variable_node.rb +30 -0
  328. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/base.rb +75 -0
  329. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/check_nesting.rb +133 -0
  330. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/convert.rb +260 -0
  331. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/cssize.rb +175 -0
  332. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/deep_copy.rb +87 -0
  333. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/perform.rb +332 -0
  334. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/set_options.rb +97 -0
  335. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/visitors/to_css.rb +210 -0
  336. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/warn_node.rb +18 -0
  337. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/tree/while_node.rb +18 -0
  338. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/util/subset_map.rb +101 -0
  339. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/util.rb +721 -0
  340. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass/version.rb +112 -0
  341. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/lib/sass.rb +73 -0
  342. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/rails/init.rb +1 -0
  343. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/sass.gemspec +33 -0
  344. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/Gemfile +4 -0
  345. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/Gemfile.lock +19 -0
  346. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/cache_test.rb +89 -0
  347. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/callbacks_test.rb +61 -0
  348. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/conversion_test.rb +1199 -0
  349. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/css2sass_test.rb +373 -0
  350. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/data/hsl-rgb.txt +319 -0
  351. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/engine_test.rb +2567 -0
  352. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/extend_test.rb +1348 -0
  353. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/fixtures/test_staleness_check_across_importers.css +1 -0
  354. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/fixtures/test_staleness_check_across_importers.scss +1 -0
  355. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/functions_test.rb +1038 -0
  356. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/importer_test.rb +192 -0
  357. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/less_conversion_test.rb +653 -0
  358. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/logger_test.rb +58 -0
  359. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/mock_importer.rb +49 -0
  360. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/more_results/more1.css +9 -0
  361. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/more_results/more1_with_line_comments.css +26 -0
  362. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/more_results/more_import.css +29 -0
  363. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/more_templates/_more_partial.sass +2 -0
  364. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/more_templates/more1.sass +23 -0
  365. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/more_templates/more_import.sass +11 -0
  366. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/plugin_test.rb +472 -0
  367. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/alt.css +4 -0
  368. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/basic.css +9 -0
  369. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/compact.css +5 -0
  370. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/complex.css +86 -0
  371. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/compressed.css +1 -0
  372. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/expanded.css +19 -0
  373. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/if.css +3 -0
  374. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/import.css +31 -0
  375. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/import_charset.css +4 -0
  376. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/import_charset_1_8.css +4 -0
  377. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/import_charset_ibm866.css +4 -0
  378. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/line_numbers.css +49 -0
  379. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/mixins.css +95 -0
  380. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/multiline.css +24 -0
  381. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/nested.css +22 -0
  382. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/options.css +1 -0
  383. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/parent_ref.css +13 -0
  384. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/script.css +16 -0
  385. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/scss_import.css +31 -0
  386. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/scss_importee.css +2 -0
  387. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
  388. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/subdir/subdir.css +3 -0
  389. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/units.css +11 -0
  390. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/warn.css +0 -0
  391. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/results/warn_imported.css +0 -0
  392. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/script_conversion_test.rb +285 -0
  393. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/script_test.rb +514 -0
  394. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/scss/css_test.rb +922 -0
  395. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/scss/rx_test.rb +156 -0
  396. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/scss/scss_test.rb +1273 -0
  397. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/scss/test_helper.rb +37 -0
  398. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/_imported_charset_ibm866.sass +4 -0
  399. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/_imported_charset_utf8.sass +4 -0
  400. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/_partial.sass +2 -0
  401. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/alt.sass +16 -0
  402. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/basic.sass +23 -0
  403. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork1.sass +2 -0
  404. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork2.sass +2 -0
  405. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork3.sass +2 -0
  406. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork4.sass +2 -0
  407. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/bork5.sass +3 -0
  408. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/compact.sass +17 -0
  409. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/complex.sass +305 -0
  410. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/compressed.sass +15 -0
  411. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/expanded.sass +17 -0
  412. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/if.sass +11 -0
  413. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/import.sass +12 -0
  414. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/import_charset.sass +7 -0
  415. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/import_charset_1_8.sass +4 -0
  416. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/import_charset_ibm866.sass +9 -0
  417. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/importee.less +2 -0
  418. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/importee.sass +19 -0
  419. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/line_numbers.sass +13 -0
  420. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/mixin_bork.sass +5 -0
  421. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/mixins.sass +76 -0
  422. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/multiline.sass +20 -0
  423. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested.sass +25 -0
  424. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork1.sass +2 -0
  425. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork2.sass +2 -0
  426. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork3.sass +2 -0
  427. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork4.sass +2 -0
  428. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_bork5.sass +2 -0
  429. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_import.sass +2 -0
  430. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/nested_mixin_bork.sass +6 -0
  431. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/options.sass +2 -0
  432. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/parent_ref.sass +25 -0
  433. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/script.sass +101 -0
  434. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/scss_import.scss +11 -0
  435. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/scss_importee.scss +1 -0
  436. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
  437. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
  438. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/subdir/subdir.sass +6 -0
  439. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/units.sass +11 -0
  440. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/warn.sass +3 -0
  441. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/templates/warn_imported.sass +4 -0
  442. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/test_helper.rb +8 -0
  443. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/util/subset_map_test.rb +91 -0
  444. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/sass/util_test.rb +266 -0
  445. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/test/test_helper.rb +69 -0
  446. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/Gemfile +3 -0
  447. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/LICENSE +20 -0
  448. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/README.markdown +83 -0
  449. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/Rakefile +11 -0
  450. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/example.rb +12 -0
  451. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/fssm.gemspec +24 -0
  452. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/fsevents.rb +36 -0
  453. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/inotify.rb +26 -0
  454. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/polling.rb +25 -0
  455. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/rbfsevent.rb +42 -0
  456. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/backends/rubycocoa/fsevents.rb +131 -0
  457. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/monitor.rb +36 -0
  458. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/path.rb +94 -0
  459. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/pathname.rb +36 -0
  460. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/state/directory.rb +75 -0
  461. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/state/file.rb +24 -0
  462. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/support.rb +92 -0
  463. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/tree.rb +176 -0
  464. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm/version.rb +3 -0
  465. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/lib/fssm.rb +37 -0
  466. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-cache.rb +40 -0
  467. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-fssm-pathname.html +1231 -0
  468. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-pathname-rubinius.rb +35 -0
  469. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-pathname.rb +68 -0
  470. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof-plain-pathname.html +988 -0
  471. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/profile/prof.html +2379 -0
  472. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/count_down_latch.rb +151 -0
  473. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/monitor_spec.rb +202 -0
  474. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/path_spec.rb +96 -0
  475. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/duck/quack.txt +0 -0
  476. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/file.css +0 -0
  477. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/file.rb +0 -0
  478. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/file.yml +0 -0
  479. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/root/moo/cow.txt +0 -0
  480. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/vendor/fssm/spec/spec_helper.rb +14 -0
  481. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/yard/callbacks.rb +29 -0
  482. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/yard/default/fulldoc/html/css/common.sass +26 -0
  483. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/yard/default/layout/html/footer.erb +12 -0
  484. data/vendor/bundle/jruby/1.9/gems/haml-3.1.8/vendor/sass/yard/inherited_hash.rb +41 -0
  485. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/Gemfile +2 -0
  486. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/LICENSE +25 -0
  487. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/README.markdown +91 -0
  488. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/Rakefile +79 -0
  489. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/lib/method_source/code_helpers.rb +139 -0
  490. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/lib/method_source/source_location.rb +138 -0
  491. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/lib/method_source/version.rb +3 -0
  492. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/lib/method_source.rb +141 -0
  493. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/method_source.gemspec +33 -0
  494. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/test/test.rb +138 -0
  495. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/test/test_code_helpers.rb +41 -0
  496. data/vendor/bundle/jruby/1.9/gems/method_source-0.8.1/test/test_helper.rb +98 -0
  497. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/CHANGELOG +526 -0
  498. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/CONTRIBUTORS +55 -0
  499. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/Gemfile +9 -0
  500. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/Guardfile +62 -0
  501. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/LICENSE +25 -0
  502. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/README.markdown +400 -0
  503. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/Rakefile +140 -0
  504. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/TODO +117 -0
  505. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/bin/pry +16 -0
  506. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/cli.rb +202 -0
  507. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/code/code_range.rb +70 -0
  508. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/code/loc.rb +92 -0
  509. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/code.rb +385 -0
  510. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/code_object.rb +153 -0
  511. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/command.rb +689 -0
  512. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/command_set.rb +400 -0
  513. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/amend_line.rb +99 -0
  514. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/bang.rb +20 -0
  515. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/bang_pry.rb +17 -0
  516. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/cat/abstract_formatter.rb +27 -0
  517. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/cat/exception_formatter.rb +78 -0
  518. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/cat/file_formatter.rb +84 -0
  519. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
  520. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/cat.rb +53 -0
  521. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/cd.rb +30 -0
  522. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/code_collector.rb +165 -0
  523. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/disable_pry.rb +27 -0
  524. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/disabled_commands.rb +2 -0
  525. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/easter_eggs.rb +112 -0
  526. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/edit/exception_patcher.rb +25 -0
  527. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/edit/file_and_line_locator.rb +38 -0
  528. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/edit/method_patcher.rb +122 -0
  529. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/edit.rb +207 -0
  530. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/exit.rb +42 -0
  531. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/exit_all.rb +29 -0
  532. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/exit_program.rb +24 -0
  533. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/find_method.rb +199 -0
  534. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/fix_indent.rb +19 -0
  535. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/gem_cd.rb +26 -0
  536. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/gem_install.rb +29 -0
  537. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/gem_list.rb +33 -0
  538. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/gem_open.rb +29 -0
  539. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/gist.rb +102 -0
  540. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/help.rb +164 -0
  541. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/hist.rb +161 -0
  542. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/import_set.rb +22 -0
  543. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/install_command.rb +51 -0
  544. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/jump_to.rb +29 -0
  545. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/ls.rb +338 -0
  546. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/nesting.rb +25 -0
  547. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/play.rb +69 -0
  548. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/pry_backtrace.rb +26 -0
  549. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/pry_version.rb +17 -0
  550. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/raise_up.rb +32 -0
  551. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/reload_code.rb +46 -0
  552. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/reset.rb +18 -0
  553. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/ri.rb +56 -0
  554. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/save_file.rb +61 -0
  555. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/shell_command.rb +43 -0
  556. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/shell_mode.rb +27 -0
  557. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/show_doc.rb +78 -0
  558. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/show_info.rb +200 -0
  559. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/show_input.rb +17 -0
  560. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/show_source.rb +38 -0
  561. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/simple_prompt.rb +22 -0
  562. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/stat.rb +40 -0
  563. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/switch_to.rb +23 -0
  564. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/toggle_color.rb +20 -0
  565. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/whereami.rb +182 -0
  566. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands/wtf.rb +57 -0
  567. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/commands.rb +6 -0
  568. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/completion.rb +304 -0
  569. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/config.rb +244 -0
  570. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/core_extensions.rb +121 -0
  571. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/custom_completions.rb +6 -0
  572. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/editor.rb +129 -0
  573. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/helpers/base_helpers.rb +200 -0
  574. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/helpers/command_helpers.rb +154 -0
  575. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/helpers/documentation_helpers.rb +76 -0
  576. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/helpers/options_helpers.rb +27 -0
  577. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/helpers/table.rb +109 -0
  578. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/helpers/text.rb +108 -0
  579. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/helpers.rb +5 -0
  580. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/history.rb +122 -0
  581. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/history_array.rb +116 -0
  582. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/hooks.rb +250 -0
  583. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/indent.rb +406 -0
  584. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/method/disowned.rb +53 -0
  585. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/method/weird_method_locator.rb +186 -0
  586. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/method.rb +551 -0
  587. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/module_candidate.rb +146 -0
  588. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/pager.rb +90 -0
  589. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/plugins.rb +103 -0
  590. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/pry_class.rb +469 -0
  591. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/pry_instance.rb +763 -0
  592. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/rbx_method.rb +13 -0
  593. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/rbx_path.rb +22 -0
  594. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/repl_file_loader.rb +80 -0
  595. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/rubygem.rb +74 -0
  596. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/terminal.rb +78 -0
  597. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/test/helper.rb +185 -0
  598. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/version.rb +3 -0
  599. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry/wrapped_module.rb +383 -0
  600. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/lib/pry.rb +271 -0
  601. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/man/pry.1 +195 -0
  602. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/man/pry.1.html +204 -0
  603. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/man/pry.1.ronn +141 -0
  604. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/pry.gemspec +30 -0
  605. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/Procfile +3 -0
  606. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/cli_spec.rb +78 -0
  607. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/code_object_spec.rb +277 -0
  608. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/code_spec.rb +219 -0
  609. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/command_helpers_spec.rb +29 -0
  610. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/command_integration_spec.rb +644 -0
  611. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/command_set_spec.rb +627 -0
  612. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/command_spec.rb +821 -0
  613. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/amend_line_spec.rb +247 -0
  614. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/bang_spec.rb +19 -0
  615. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/cat_spec.rb +164 -0
  616. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/cd_spec.rb +250 -0
  617. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/disable_pry_spec.rb +25 -0
  618. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/edit_spec.rb +727 -0
  619. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/exit_all_spec.rb +34 -0
  620. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/exit_program_spec.rb +19 -0
  621. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/exit_spec.rb +34 -0
  622. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/find_method_spec.rb +70 -0
  623. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/gem_list_spec.rb +26 -0
  624. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/gist_spec.rb +79 -0
  625. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/help_spec.rb +56 -0
  626. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/hist_spec.rb +181 -0
  627. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/jump_to_spec.rb +15 -0
  628. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/ls_spec.rb +181 -0
  629. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/play_spec.rb +140 -0
  630. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/raise_up_spec.rb +56 -0
  631. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/save_file_spec.rb +177 -0
  632. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/show_doc_spec.rb +510 -0
  633. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/show_input_spec.rb +17 -0
  634. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/show_source_spec.rb +782 -0
  635. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/commands/whereami_spec.rb +203 -0
  636. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/completion_spec.rb +239 -0
  637. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/control_d_handler_spec.rb +58 -0
  638. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/documentation_helper_spec.rb +73 -0
  639. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/editor_spec.rb +79 -0
  640. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/exception_whitelist_spec.rb +21 -0
  641. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/fixtures/candidate_helper1.rb +11 -0
  642. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/fixtures/candidate_helper2.rb +8 -0
  643. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/fixtures/example.erb +5 -0
  644. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/fixtures/example_nesting.rb +33 -0
  645. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/fixtures/show_source_doc_examples.rb +15 -0
  646. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/fixtures/testrc +2 -0
  647. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/fixtures/testrcbad +2 -0
  648. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/fixtures/whereami_helper.rb +6 -0
  649. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/helper.rb +34 -0
  650. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/helpers/bacon.rb +86 -0
  651. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/helpers/mock_pry.rb +43 -0
  652. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/helpers/table_spec.rb +105 -0
  653. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/history_array_spec.rb +67 -0
  654. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/hooks_spec.rb +522 -0
  655. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/indent_spec.rb +301 -0
  656. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/input_stack_spec.rb +90 -0
  657. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/method_spec.rb +482 -0
  658. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/prompt_spec.rb +60 -0
  659. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/pry_defaults_spec.rb +419 -0
  660. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/pry_history_spec.rb +99 -0
  661. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/pry_output_spec.rb +95 -0
  662. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/pry_spec.rb +504 -0
  663. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/run_command_spec.rb +25 -0
  664. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/sticky_locals_spec.rb +157 -0
  665. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/syntax_checking_spec.rb +81 -0
  666. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/spec/wrapped_module_spec.rb +261 -0
  667. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/wiki/Customizing-pry.md +397 -0
  668. data/vendor/bundle/jruby/1.9/gems/pry-0.9.12-java/wiki/Home.md +4 -0
  669. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/COPYING +18 -0
  670. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/KNOWN-ISSUES +30 -0
  671. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/README.rdoc +624 -0
  672. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/Rakefile +125 -0
  673. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/SPEC +237 -0
  674. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/bin/rackup +4 -0
  675. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/contrib/rack.png +0 -0
  676. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/contrib/rack.svg +150 -0
  677. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/contrib/rack_logo.svg +111 -0
  678. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/contrib/rdoc.css +412 -0
  679. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/example/lobster.ru +4 -0
  680. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/example/protectedlobster.rb +14 -0
  681. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/example/protectedlobster.ru +8 -0
  682. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/auth/abstract/handler.rb +37 -0
  683. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/auth/abstract/request.rb +43 -0
  684. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/auth/basic.rb +58 -0
  685. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/auth/digest/md5.rb +129 -0
  686. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/auth/digest/nonce.rb +51 -0
  687. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/auth/digest/params.rb +53 -0
  688. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/auth/digest/request.rb +41 -0
  689. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/backports/uri/common_18.rb +56 -0
  690. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/backports/uri/common_192.rb +52 -0
  691. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/backports/uri/common_193.rb +29 -0
  692. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/body_proxy.rb +39 -0
  693. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/builder.rb +149 -0
  694. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/cascade.rb +52 -0
  695. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/chunked.rb +58 -0
  696. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/commonlogger.rb +64 -0
  697. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/conditionalget.rb +67 -0
  698. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/config.rb +20 -0
  699. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/content_length.rb +33 -0
  700. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/content_type.rb +29 -0
  701. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/deflater.rb +116 -0
  702. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/directory.rb +161 -0
  703. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/etag.rb +64 -0
  704. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/file.rb +138 -0
  705. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/cgi.rb +61 -0
  706. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/evented_mongrel.rb +8 -0
  707. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/fastcgi.rb +98 -0
  708. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/lsws.rb +61 -0
  709. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/mongrel.rb +100 -0
  710. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/scgi.rb +67 -0
  711. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
  712. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/thin.rb +27 -0
  713. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler/webrick.rb +81 -0
  714. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/handler.rb +107 -0
  715. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/head.rb +22 -0
  716. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/lint.rb +699 -0
  717. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/lobster.rb +65 -0
  718. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/lock.rb +26 -0
  719. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/logger.rb +18 -0
  720. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/methodoverride.rb +31 -0
  721. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/mime.rb +677 -0
  722. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/mock.rb +190 -0
  723. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/multipart/generator.rb +93 -0
  724. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/multipart/parser.rb +176 -0
  725. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/multipart/uploaded_file.rb +34 -0
  726. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/multipart.rb +34 -0
  727. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/nulllogger.rb +18 -0
  728. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/recursive.rb +61 -0
  729. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/reloader.rb +109 -0
  730. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/request.rb +380 -0
  731. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/response.rb +155 -0
  732. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/rewindable_input.rb +104 -0
  733. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/runtime.rb +27 -0
  734. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/sendfile.rb +155 -0
  735. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/server.rb +362 -0
  736. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/session/abstract/id.rb +398 -0
  737. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/session/cookie.rb +178 -0
  738. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/session/memcache.rb +93 -0
  739. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/session/pool.rb +79 -0
  740. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/showexceptions.rb +378 -0
  741. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/showstatus.rb +113 -0
  742. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/static.rb +153 -0
  743. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/urlmap.rb +76 -0
  744. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/utils/okjson.rb +599 -0
  745. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack/utils.rb +628 -0
  746. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/lib/rack.rb +87 -0
  747. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/rack.gemspec +33 -0
  748. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/builder/anything.rb +5 -0
  749. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/builder/comment.ru +4 -0
  750. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/builder/end.ru +5 -0
  751. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/builder/line.ru +1 -0
  752. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/builder/options.ru +2 -0
  753. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/assets/folder/test.js +1 -0
  754. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/assets/fonts/font.eot +1 -0
  755. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/assets/images/image.png +1 -0
  756. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/assets/index.html +1 -0
  757. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/assets/javascripts/app.js +1 -0
  758. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/assets/stylesheets/app.css +1 -0
  759. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/lighttpd.conf +26 -0
  760. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/rackup_stub.rb +6 -0
  761. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/sample_rackup.ru +5 -0
  762. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/test +9 -0
  763. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/test+directory/test+file +1 -0
  764. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/test.fcgi +8 -0
  765. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/cgi/test.ru +5 -0
  766. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/gemloader.rb +10 -0
  767. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/bad_robots +259 -0
  768. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/binary +0 -0
  769. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/content_type_and_no_filename +6 -0
  770. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/empty +10 -0
  771. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/fail_16384_nofile +814 -0
  772. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/file1.txt +1 -0
  773. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/filename_and_modification_param +7 -0
  774. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes +6 -0
  775. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  776. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/filename_with_percent_escaped_quotes +6 -0
  777. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages +6 -0
  778. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages2 +6 -0
  779. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/filename_with_unescaped_percentages3 +6 -0
  780. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/filename_with_unescaped_quotes +6 -0
  781. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/ie +6 -0
  782. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/mixed_files +21 -0
  783. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/nested +10 -0
  784. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/none +9 -0
  785. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/semicolon +6 -0
  786. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/text +15 -0
  787. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/multipart/webkit +32 -0
  788. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/rackup/config.ru +31 -0
  789. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  790. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_auth_basic.rb +81 -0
  791. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_auth_digest.rb +259 -0
  792. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_body_proxy.rb +69 -0
  793. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_builder.rb +214 -0
  794. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_cascade.rb +61 -0
  795. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_cgi.rb +102 -0
  796. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_chunked.rb +85 -0
  797. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_commonlogger.rb +57 -0
  798. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_conditionalget.rb +102 -0
  799. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_config.rb +22 -0
  800. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_content_length.rb +83 -0
  801. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_content_type.rb +45 -0
  802. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_deflater.rb +204 -0
  803. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_directory.rb +88 -0
  804. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_etag.rb +98 -0
  805. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_fastcgi.rb +107 -0
  806. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_file.rb +213 -0
  807. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_handler.rb +59 -0
  808. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_head.rb +43 -0
  809. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_lint.rb +522 -0
  810. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_lobster.rb +58 -0
  811. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_lock.rb +164 -0
  812. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_logger.rb +23 -0
  813. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_methodoverride.rb +75 -0
  814. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_mime.rb +51 -0
  815. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_mock.rb +269 -0
  816. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_mongrel.rb +182 -0
  817. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_multipart.rb +445 -0
  818. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_nulllogger.rb +20 -0
  819. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_recursive.rb +72 -0
  820. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_request.rb +1078 -0
  821. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_response.rb +313 -0
  822. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_rewindable_input.rb +118 -0
  823. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_runtime.rb +49 -0
  824. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_sendfile.rb +130 -0
  825. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_server.rb +143 -0
  826. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_session_abstract_id.rb +53 -0
  827. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_session_cookie.rb +367 -0
  828. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_session_memcache.rb +321 -0
  829. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_session_pool.rb +209 -0
  830. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_showexceptions.rb +92 -0
  831. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_showstatus.rb +84 -0
  832. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_static.rb +145 -0
  833. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_thin.rb +91 -0
  834. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_urlmap.rb +213 -0
  835. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_utils.rb +573 -0
  836. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/spec_webrick.rb +143 -0
  837. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/static/another/index.html +1 -0
  838. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/static/index.html +1 -0
  839. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/testrequest.rb +78 -0
  840. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  841. data/vendor/bundle/jruby/1.9/gems/rack-1.5.2/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  842. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/License +20 -0
  843. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/README.md +82 -0
  844. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/Rakefile +48 -0
  845. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/authenticity_token.rb +24 -0
  846. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/base.rb +107 -0
  847. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/escaped_params.rb +87 -0
  848. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/form_token.rb +23 -0
  849. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/frame_options.rb +37 -0
  850. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/http_origin.rb +32 -0
  851. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/ip_spoofing.rb +23 -0
  852. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/json_csrf.rb +35 -0
  853. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/path_traversal.rb +36 -0
  854. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/remote_referrer.rb +20 -0
  855. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/remote_token.rb +22 -0
  856. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/session_hijacking.rb +36 -0
  857. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/version.rb +16 -0
  858. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/xss_header.rb +25 -0
  859. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection.rb +40 -0
  860. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack-protection.rb +1 -0
  861. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/rack-protection.gemspec +92 -0
  862. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/authenticity_token_spec.rb +33 -0
  863. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/escaped_params_spec.rb +44 -0
  864. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/form_token_spec.rb +33 -0
  865. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/frame_options_spec.rb +39 -0
  866. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/http_origin_spec.rb +38 -0
  867. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/ip_spoofing_spec.rb +35 -0
  868. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/json_csrf_spec.rb +44 -0
  869. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/path_traversal_spec.rb +28 -0
  870. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/protection_spec.rb +37 -0
  871. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/remote_referrer_spec.rb +31 -0
  872. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/remote_token_spec.rb +42 -0
  873. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/session_hijacking_spec.rb +54 -0
  874. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/spec_helper.rb +163 -0
  875. data/vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/spec/xss_header_spec.rb +56 -0
  876. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/CHANGES +526 -0
  877. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/MIT-LICENSE +21 -0
  878. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/README.rdoc +187 -0
  879. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/Rakefile +374 -0
  880. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/TODO +21 -0
  881. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/bin/rake +33 -0
  882. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/command_line_usage.rdoc +152 -0
  883. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/example/Rakefile1 +38 -0
  884. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/example/Rakefile2 +35 -0
  885. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/example/a.c +6 -0
  886. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/example/b.c +6 -0
  887. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/example/main.c +11 -0
  888. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/glossary.rdoc +51 -0
  889. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/jamis.rb +591 -0
  890. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/proto_rake.rdoc +127 -0
  891. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/rake.1.gz +0 -0
  892. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/rakefile.rdoc +557 -0
  893. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/rational.rdoc +151 -0
  894. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.4.14.rdoc +23 -0
  895. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.4.15.rdoc +35 -0
  896. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.5.0.rdoc +53 -0
  897. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.5.3.rdoc +78 -0
  898. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.5.4.rdoc +46 -0
  899. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.6.0.rdoc +141 -0
  900. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.7.0.rdoc +119 -0
  901. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.7.1.rdoc +59 -0
  902. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.7.2.rdoc +121 -0
  903. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.7.3.rdoc +47 -0
  904. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.8.0.rdoc +114 -0
  905. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.8.2.rdoc +165 -0
  906. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.8.3.rdoc +112 -0
  907. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.8.4.rdoc +147 -0
  908. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.8.5.rdoc +53 -0
  909. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.8.6.rdoc +55 -0
  910. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.8.7.rdoc +55 -0
  911. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.9.0.rdoc +112 -0
  912. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.9.1.rdoc +52 -0
  913. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  914. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.rdoc +49 -0
  915. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.9.3.rdoc +102 -0
  916. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.9.4.rdoc +110 -0
  917. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.9.5.rdoc +114 -0
  918. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-0.9.6.rdoc +127 -0
  919. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-10.0.0.rdoc +178 -0
  920. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-10.0.1.rdoc +187 -0
  921. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-10.0.2.rdoc +191 -0
  922. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/doc/release_notes/rake-10.0.3.rdoc +191 -0
  923. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/install.rb +90 -0
  924. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/alt_system.rb +109 -0
  925. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/application.rb +669 -0
  926. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/backtrace.rb +18 -0
  927. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/clean.rb +32 -0
  928. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/cloneable.rb +16 -0
  929. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/contrib/compositepublisher.rb +21 -0
  930. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/contrib/ftptools.rb +151 -0
  931. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/contrib/publisher.rb +73 -0
  932. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/contrib/rubyforgepublisher.rb +16 -0
  933. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/contrib/sshpublisher.rb +50 -0
  934. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/contrib/sys.rb +1 -0
  935. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/default_loader.rb +10 -0
  936. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/dsl_definition.rb +156 -0
  937. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/early_time.rb +18 -0
  938. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/ext/core.rb +27 -0
  939. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/ext/module.rb +0 -0
  940. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/ext/string.rb +168 -0
  941. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/ext/time.rb +15 -0
  942. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/file_creation_task.rb +24 -0
  943. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/file_list.rb +410 -0
  944. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/file_task.rb +47 -0
  945. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/file_utils.rb +114 -0
  946. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/file_utils_ext.rb +146 -0
  947. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/gempackagetask.rb +1 -0
  948. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/invocation_chain.rb +51 -0
  949. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/invocation_exception_mixin.rb +16 -0
  950. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/loaders/makefile.rb +40 -0
  951. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/multi_task.rb +13 -0
  952. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/name_space.rb +25 -0
  953. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/packagetask.rb +185 -0
  954. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/pathmap.rb +1 -0
  955. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/phony.rb +15 -0
  956. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/private_reader.rb +20 -0
  957. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/promise.rb +99 -0
  958. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/pseudo_status.rb +24 -0
  959. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/rake_module.rb +37 -0
  960. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/rake_test_loader.rb +22 -0
  961. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/rdoctask.rb +1 -0
  962. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/ruby182_test_unit_fix.rb +25 -0
  963. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
  964. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/runtest.rb +22 -0
  965. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/task.rb +350 -0
  966. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/task_argument_error.rb +7 -0
  967. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/task_arguments.rb +78 -0
  968. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/task_manager.rb +296 -0
  969. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/tasklib.rb +22 -0
  970. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/testtask.rb +198 -0
  971. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/thread_history_display.rb +48 -0
  972. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/thread_pool.rb +155 -0
  973. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/trace_output.rb +19 -0
  974. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/version.rb +13 -0
  975. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake/win32.rb +55 -0
  976. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/lib/rake.rb +71 -0
  977. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/file_creation.rb +34 -0
  978. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/helper.rb +562 -0
  979. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_private_reader.rb +42 -0
  980. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake.rb +40 -0
  981. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_application.rb +515 -0
  982. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_application_options.rb +443 -0
  983. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_backtrace.rb +89 -0
  984. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_clean.rb +14 -0
  985. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_definitions.rb +80 -0
  986. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_directory_task.rb +57 -0
  987. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_dsl.rb +40 -0
  988. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_early_time.rb +31 -0
  989. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_extension.rb +59 -0
  990. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_file_creation_task.rb +56 -0
  991. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_file_list.rb +628 -0
  992. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_file_list_path_map.rb +8 -0
  993. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_file_task.rb +122 -0
  994. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_file_utils.rb +305 -0
  995. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_ftp_file.rb +59 -0
  996. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_functional.rb +496 -0
  997. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_invocation_chain.rb +52 -0
  998. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_makefile_loader.rb +44 -0
  999. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_multi_task.rb +59 -0
  1000. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_name_space.rb +43 -0
  1001. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_package_task.rb +79 -0
  1002. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_path_map.rb +157 -0
  1003. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_path_map_explode.rb +34 -0
  1004. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_path_map_partial.rb +18 -0
  1005. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_pseudo_status.rb +21 -0
  1006. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_rake_test_loader.rb +21 -0
  1007. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_reduce_compat.rb +30 -0
  1008. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_require.rb +40 -0
  1009. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_rules.rb +327 -0
  1010. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_task.rb +316 -0
  1011. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_task_argument_parsing.rb +103 -0
  1012. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_task_arguments.rb +88 -0
  1013. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_task_lib.rb +9 -0
  1014. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_task_manager.rb +157 -0
  1015. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_task_manager_argument_resolution.rb +19 -0
  1016. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_task_with_arguments.rb +171 -0
  1017. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_test_task.rb +120 -0
  1018. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_thread_pool.rb +123 -0
  1019. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_top_level_functions.rb +71 -0
  1020. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_rake_win32.rb +72 -0
  1021. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_thread_history_display.rb +91 -0
  1022. data/vendor/bundle/jruby/1.9/gems/rake-10.0.3/test/test_trace_output.rb +43 -0
  1023. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/AUTHORS +61 -0
  1024. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/CHANGES +1063 -0
  1025. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/Gemfile +82 -0
  1026. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/LICENSE +22 -0
  1027. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.de.rdoc +2097 -0
  1028. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.es.rdoc +2078 -0
  1029. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.fr.rdoc +2036 -0
  1030. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.hu.rdoc +607 -0
  1031. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.jp.rdoc +1043 -0
  1032. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.ko.rdoc +1926 -0
  1033. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.pt-br.rdoc +647 -0
  1034. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.pt-pt.rdoc +646 -0
  1035. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.rdoc +2017 -0
  1036. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.ru.rdoc +1785 -0
  1037. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/README.zh.rdoc +1816 -0
  1038. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/Rakefile +183 -0
  1039. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/examples/chat.rb +61 -0
  1040. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/examples/simple.rb +3 -0
  1041. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/examples/stream.ru +26 -0
  1042. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/lib/sinatra/base.rb +1728 -0
  1043. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/lib/sinatra/images/404.png +0 -0
  1044. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/lib/sinatra/images/500.png +0 -0
  1045. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/lib/sinatra/main.rb +28 -0
  1046. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/lib/sinatra/showexceptions.rb +340 -0
  1047. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/lib/sinatra/version.rb +3 -0
  1048. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/lib/sinatra.rb +4 -0
  1049. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/sinatra.gemspec +18 -0
  1050. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/base_test.rb +160 -0
  1051. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/builder_test.rb +95 -0
  1052. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/coffee_test.rb +92 -0
  1053. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/contest.rb +98 -0
  1054. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/creole_test.rb +65 -0
  1055. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/delegator_test.rb +162 -0
  1056. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/encoding_test.rb +20 -0
  1057. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/erb_test.rb +104 -0
  1058. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/extensions_test.rb +100 -0
  1059. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/filter_test.rb +428 -0
  1060. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/haml_test.rb +101 -0
  1061. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/helper.rb +123 -0
  1062. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/helpers_test.rb +1783 -0
  1063. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/integration/app.rb +62 -0
  1064. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/integration_helper.rb +214 -0
  1065. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/integration_test.rb +85 -0
  1066. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/less_test.rb +67 -0
  1067. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/liquid_test.rb +59 -0
  1068. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/mapped_error_test.rb +259 -0
  1069. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/markaby_test.rb +80 -0
  1070. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/markdown_test.rb +82 -0
  1071. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/middleware_test.rb +68 -0
  1072. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/nokogiri_test.rb +69 -0
  1073. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/public/favicon.ico +0 -0
  1074. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/rack_test.rb +45 -0
  1075. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/radius_test.rb +59 -0
  1076. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/rdoc_test.rb +66 -0
  1077. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/readme_test.rb +136 -0
  1078. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/request_test.rb +45 -0
  1079. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/response_test.rb +66 -0
  1080. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/result_test.rb +98 -0
  1081. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/route_added_hook_test.rb +59 -0
  1082. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/routing_test.rb +1126 -0
  1083. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/sass_test.rb +116 -0
  1084. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/scss_test.rb +89 -0
  1085. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/server_test.rb +48 -0
  1086. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/settings_test.rb +538 -0
  1087. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/sinatra_test.rb +17 -0
  1088. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/slim_test.rb +88 -0
  1089. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/static_test.rb +178 -0
  1090. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/streaming_test.rb +140 -0
  1091. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/templates_test.rb +298 -0
  1092. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/textile_test.rb +65 -0
  1093. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/a/in_a.str +1 -0
  1094. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/ascii.erb +2 -0
  1095. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/b/in_b.str +1 -0
  1096. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/calc.html.erb +1 -0
  1097. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/error.builder +3 -0
  1098. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/error.erb +3 -0
  1099. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/error.haml +3 -0
  1100. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/error.sass +2 -0
  1101. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/explicitly_nested.str +1 -0
  1102. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/foo/hello.test +1 -0
  1103. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.builder +1 -0
  1104. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.coffee +1 -0
  1105. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.creole +1 -0
  1106. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.erb +1 -0
  1107. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.haml +1 -0
  1108. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.less +5 -0
  1109. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.liquid +1 -0
  1110. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.mab +1 -0
  1111. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.md +1 -0
  1112. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.nokogiri +1 -0
  1113. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.radius +1 -0
  1114. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.rdoc +1 -0
  1115. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.sass +2 -0
  1116. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.scss +3 -0
  1117. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.slim +1 -0
  1118. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.str +1 -0
  1119. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.test +1 -0
  1120. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/hello.textile +1 -0
  1121. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.builder +3 -0
  1122. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.erb +2 -0
  1123. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.haml +2 -0
  1124. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.liquid +2 -0
  1125. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.mab +2 -0
  1126. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.nokogiri +3 -0
  1127. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.radius +2 -0
  1128. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.slim +3 -0
  1129. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.str +2 -0
  1130. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/layout2.test +1 -0
  1131. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/nested.str +1 -0
  1132. data/vendor/bundle/jruby/1.9/gems/sinatra-1.3.5/test/views/utf8.erb +2 -0
  1133. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/CHANGES.md +278 -0
  1134. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/Gemfile +3 -0
  1135. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/LICENSE +20 -0
  1136. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/README.md +182 -0
  1137. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/Rakefile +29 -0
  1138. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/lib/slop/commands.rb +196 -0
  1139. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/lib/slop/option.rb +208 -0
  1140. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/lib/slop.rb +679 -0
  1141. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/slop.gemspec +16 -0
  1142. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/test/commands_test.rb +26 -0
  1143. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/test/helper.rb +15 -0
  1144. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/test/option_test.rb +134 -0
  1145. data/vendor/bundle/jruby/1.9/gems/slop-3.4.3/test/slop_test.rb +460 -0
  1146. data/vendor/bundle/jruby/1.9/gems/spoon-0.0.1/lib/spoon.rb +49 -0
  1147. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/CHANGELOG.rdoc +196 -0
  1148. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/LICENSE +202 -0
  1149. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/README.rdoc +132 -0
  1150. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/Rakefile +80 -0
  1151. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/bin/catstomp +74 -0
  1152. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/bin/stompcat +75 -0
  1153. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/client11_ex1.rb +89 -0
  1154. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/client11_putget1.rb +71 -0
  1155. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/conn11_ex1.rb +112 -0
  1156. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/conn11_ex2.rb +87 -0
  1157. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/conn11_hb1.rb +57 -0
  1158. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/consumer.rb +34 -0
  1159. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/get11conn_ex1.rb +117 -0
  1160. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/get11conn_ex2.rb +77 -0
  1161. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/logexamp.rb +81 -0
  1162. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/logexamp_ssl.rb +81 -0
  1163. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/publisher.rb +30 -0
  1164. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/put11conn_ex1.rb +56 -0
  1165. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/putget11_rh1.rb +93 -0
  1166. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/slogger.rb +222 -0
  1167. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_uc1.rb +46 -0
  1168. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_uc1_ciphers.rb +46 -0
  1169. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_uc2.rb +48 -0
  1170. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_uc2_ciphers.rb +47 -0
  1171. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_uc3.rb +50 -0
  1172. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_uc3_ciphers.rb +47 -0
  1173. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_uc4.rb +50 -0
  1174. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_uc4_ciphers.rb +48 -0
  1175. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/ssl_ucx_default_ciphers.rb +41 -0
  1176. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/stomp11_common.rb +48 -0
  1177. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/topic_consumer.rb +32 -0
  1178. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/examples/topic_publisher.rb +29 -0
  1179. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/client/utils.rb +116 -0
  1180. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/connection/heartbeats.rb +175 -0
  1181. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/connection/netio.rb +360 -0
  1182. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/connection/utf8.rb +294 -0
  1183. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/connection/utils.rb +239 -0
  1184. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/client.rb +350 -0
  1185. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/codec.rb +44 -0
  1186. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/connection.rb +452 -0
  1187. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/constants.rb +114 -0
  1188. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/errors.rb +195 -0
  1189. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/ext/hash.rb +31 -0
  1190. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/message.rb +117 -0
  1191. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/sslparams.rb +84 -0
  1192. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp/version.rb +12 -0
  1193. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/lib/stomp.rb +39 -0
  1194. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/spec/client_shared_examples.rb +71 -0
  1195. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/spec/client_spec.rb +329 -0
  1196. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/spec/connection_spec.rb +431 -0
  1197. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/spec/message_spec.rb +58 -0
  1198. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/spec/spec_helper.rb +8 -0
  1199. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/stomp.gemspec +151 -0
  1200. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/test/test_client.rb +531 -0
  1201. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/test/test_codec.rb +119 -0
  1202. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/test/test_connection.rb +517 -0
  1203. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/test/test_connection1p.rb +396 -0
  1204. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/test/test_helper.rb +168 -0
  1205. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/test/test_message.rb +173 -0
  1206. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/test/test_ssl.rb +81 -0
  1207. data/vendor/bundle/jruby/1.9/gems/stomp-1.2.8/test/tlogger.rb +80 -0
  1208. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/CHANGELOG.rdoc +142 -0
  1209. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/Gemfile +19 -0
  1210. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/LICENSE.md +20 -0
  1211. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/README.md +28 -0
  1212. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/Thorfile +30 -0
  1213. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/bin/rake2thor +86 -0
  1214. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/bin/thor +6 -0
  1215. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/actions/create_file.rb +105 -0
  1216. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/actions/create_link.rb +57 -0
  1217. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/actions/directory.rb +117 -0
  1218. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/actions/empty_directory.rb +153 -0
  1219. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/actions/file_manipulation.rb +314 -0
  1220. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/actions/inject_into_file.rb +109 -0
  1221. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/actions.rb +318 -0
  1222. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/base.rb +654 -0
  1223. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/core_ext/file_binary_read.rb +9 -0
  1224. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/core_ext/hash_with_indifferent_access.rb +80 -0
  1225. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/core_ext/ordered_hash.rb +100 -0
  1226. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/error.rb +35 -0
  1227. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/group.rb +285 -0
  1228. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/invocation.rb +170 -0
  1229. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/parser/argument.rb +74 -0
  1230. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/parser/arguments.rb +171 -0
  1231. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/parser/option.rb +121 -0
  1232. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/parser/options.rb +216 -0
  1233. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/parser.rb +4 -0
  1234. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/rake_compat.rb +72 -0
  1235. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/runner.rb +321 -0
  1236. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/shell/basic.rb +389 -0
  1237. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/shell/color.rb +144 -0
  1238. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/shell/html.rb +123 -0
  1239. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/shell.rb +88 -0
  1240. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/task.rb +132 -0
  1241. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/util.rb +266 -0
  1242. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor/version.rb +3 -0
  1243. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/lib/thor.rb +448 -0
  1244. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/actions/create_file_spec.rb +170 -0
  1245. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/actions/create_link_spec.rb +81 -0
  1246. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/actions/directory_spec.rb +156 -0
  1247. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/actions/empty_directory_spec.rb +130 -0
  1248. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/actions/file_manipulation_spec.rb +382 -0
  1249. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/actions/inject_into_file_spec.rb +135 -0
  1250. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/actions_spec.rb +331 -0
  1251. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/base_spec.rb +279 -0
  1252. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/core_ext/hash_with_indifferent_access_spec.rb +48 -0
  1253. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/core_ext/ordered_hash_spec.rb +115 -0
  1254. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/exit_condition_spec.rb +19 -0
  1255. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/application.rb +2 -0
  1256. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/app{1}/README +3 -0
  1257. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/bundle/execute.rb +6 -0
  1258. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/bundle/main.thor +1 -0
  1259. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/doc/%file_name%.rb.tt +1 -0
  1260. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/doc/COMMENTER +11 -0
  1261. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/doc/README +3 -0
  1262. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/doc/block_helper.rb +3 -0
  1263. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/doc/config.rb +1 -0
  1264. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/doc/config.yaml.tt +1 -0
  1265. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/enum.thor +10 -0
  1266. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/group.thor +114 -0
  1267. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/invoke.thor +112 -0
  1268. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/path with spaces +0 -0
  1269. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/preserve/script.sh +3 -0
  1270. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/script.thor +195 -0
  1271. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/fixtures/task.thor +10 -0
  1272. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/group_spec.rb +216 -0
  1273. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/invocation_spec.rb +100 -0
  1274. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/parser/argument_spec.rb +53 -0
  1275. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/parser/arguments_spec.rb +66 -0
  1276. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/parser/option_spec.rb +202 -0
  1277. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/parser/options_spec.rb +395 -0
  1278. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/rake_compat_spec.rb +72 -0
  1279. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/register_spec.rb +197 -0
  1280. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/runner_spec.rb +241 -0
  1281. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/shell/basic_spec.rb +312 -0
  1282. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/shell/color_spec.rb +81 -0
  1283. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/shell/html_spec.rb +32 -0
  1284. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/shell_spec.rb +47 -0
  1285. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/spec_helper.rb +63 -0
  1286. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/task_spec.rb +80 -0
  1287. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/thor_spec.rb +488 -0
  1288. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/spec/util_spec.rb +196 -0
  1289. data/vendor/bundle/jruby/1.9/gems/thor-0.17.0/thor.gemspec +20 -0
  1290. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/COPYING +18 -0
  1291. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/Gemfile +32 -0
  1292. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/HACKING +16 -0
  1293. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/README.md +211 -0
  1294. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/Rakefile +104 -0
  1295. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/TEMPLATES.md +516 -0
  1296. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/bin/tilt +112 -0
  1297. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/asciidoc.rb +34 -0
  1298. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/builder.rb +40 -0
  1299. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/coffee.rb +54 -0
  1300. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/css.rb +80 -0
  1301. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/csv.rb +71 -0
  1302. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/erb.rb +110 -0
  1303. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/etanni.rb +27 -0
  1304. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/haml.rb +64 -0
  1305. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/liquid.rb +45 -0
  1306. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/markaby.rb +52 -0
  1307. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/markdown.rb +214 -0
  1308. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/nokogiri.rb +43 -0
  1309. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/plain.rb +20 -0
  1310. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/radius.rb +55 -0
  1311. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/rdoc.rb +47 -0
  1312. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/string.rb +21 -0
  1313. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/template.rb +246 -0
  1314. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/textile.rb +30 -0
  1315. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/wiki.rb +58 -0
  1316. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt/yajl.rb +94 -0
  1317. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/lib/tilt.rb +204 -0
  1318. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/contest.rb +68 -0
  1319. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/markaby/locals.mab +1 -0
  1320. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/markaby/markaby.mab +1 -0
  1321. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/markaby/markaby_other_static.mab +1 -0
  1322. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/markaby/render_twice.mab +1 -0
  1323. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/markaby/scope.mab +1 -0
  1324. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/markaby/yielding.mab +2 -0
  1325. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_asciidoctor_test.rb +44 -0
  1326. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_blueclothtemplate_test.rb +45 -0
  1327. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_buildertemplate_test.rb +59 -0
  1328. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_cache_test.rb +32 -0
  1329. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_coffeescripttemplate_test.rb +114 -0
  1330. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_compilesite_test.rb +51 -0
  1331. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_creoletemplate_test.rb +28 -0
  1332. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_csv_test.rb +73 -0
  1333. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_erbtemplate_test.rb +239 -0
  1334. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_erubistemplate_test.rb +151 -0
  1335. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_etannitemplate_test.rb +173 -0
  1336. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_fallback_test.rb +122 -0
  1337. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_hamltemplate_test.rb +144 -0
  1338. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_kramdown_test.rb +42 -0
  1339. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_lesstemplate_test.less +1 -0
  1340. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_lesstemplate_test.rb +42 -0
  1341. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_liquidtemplate_test.rb +78 -0
  1342. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_markaby_test.rb +88 -0
  1343. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_markdown_test.rb +172 -0
  1344. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_marukutemplate_test.rb +48 -0
  1345. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_nokogiritemplate_test.rb +87 -0
  1346. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_radiustemplate_test.rb +75 -0
  1347. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_rdiscounttemplate_test.rb +55 -0
  1348. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_rdoctemplate_test.rb +31 -0
  1349. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_redcarpettemplate_test.rb +71 -0
  1350. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_redclothtemplate_test.rb +36 -0
  1351. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_sasstemplate_test.rb +41 -0
  1352. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_stringtemplate_test.rb +170 -0
  1353. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_template_test.rb +167 -0
  1354. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_test.rb +65 -0
  1355. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_wikiclothtemplate_test.rb +32 -0
  1356. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/test/tilt_yajltemplate_test.rb +101 -0
  1357. data/vendor/bundle/jruby/1.9/gems/tilt-1.3.4/tilt.gemspec +119 -0
  1358. data/vendor/bundle/jruby/1.9/specifications/coderay-1.0.9.gemspec +32 -0
  1359. data/vendor/bundle/jruby/1.9/specifications/haml-3.1.8.gemspec +34 -0
  1360. data/vendor/bundle/jruby/1.9/specifications/method_source-0.8.1.gemspec +31 -0
  1361. data/vendor/bundle/jruby/1.9/specifications/pry-0.9.12-java.gemspec +58 -0
  1362. data/vendor/bundle/jruby/1.9/specifications/rack-1.5.2.gemspec +36 -0
  1363. data/vendor/bundle/jruby/1.9/specifications/rack-protection-1.4.0.gemspec +34 -0
  1364. data/vendor/bundle/jruby/1.9/specifications/rake-10.0.3.gemspec +34 -0
  1365. data/vendor/bundle/jruby/1.9/specifications/sinatra-1.3.5.gemspec +37 -0
  1366. data/vendor/bundle/jruby/1.9/specifications/slop-3.4.3.gemspec +32 -0
  1367. data/vendor/bundle/jruby/1.9/specifications/spoon-0.0.1.gemspec +23 -0
  1368. data/vendor/bundle/jruby/1.9/specifications/stomp-1.2.8.gemspec +31 -0
  1369. data/vendor/bundle/jruby/1.9/specifications/thor-0.17.0.gemspec +30 -0
  1370. data/vendor/bundle/jruby/1.9/specifications/tilt-1.3.4.gemspec +98 -0
  1371. metadata +1636 -127
  1372. data/Gemfile +0 -12
  1373. data/Rakefile +0 -29
@@ -0,0 +1,19 @@
1
+ if Haml::Util.ap_geq_3? && !Haml::Util.ap_geq?("3.0.0.beta4")
2
+ raise <<ERROR
3
+ Haml no longer supports Rails 3 versions before beta 4.
4
+ Please upgrade to Rails 3.0.0.beta4 or later.
5
+ ERROR
6
+ end
7
+
8
+ # Rails 3.0.0.beta.2+
9
+ if defined?(ActiveSupport) && Haml::Util.has?(:public_method, ActiveSupport, :on_load)
10
+ require 'haml/template/options'
11
+ autoload(:Sass, 'sass/rails3_shim')
12
+ ActiveSupport.on_load(:before_initialize) do
13
+ # resolve autoload if it looks like they're using Sass without options
14
+ Sass if File.exist?(File.join(Rails.root, 'public/stylesheets/sass'))
15
+ ActiveSupport.on_load(:action_view) do
16
+ Haml.init_rails(binding)
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,7 @@
1
+ module Haml
2
+ # The root directory of the Haml source tree.
3
+ # This may be overridden by the package manager
4
+ # if the lib directory is separated from the main source tree.
5
+ # @api public
6
+ ROOT_DIR = File.expand_path(File.join(__FILE__, "../../.."))
7
+ end
@@ -0,0 +1,78 @@
1
+ require 'strscan'
2
+
3
+ module Haml
4
+ # This module contains functionality that's shared between Haml and Sass.
5
+ module Shared
6
+ extend self
7
+
8
+ # Scans through a string looking for the interoplation-opening `#{`
9
+ # and, when it's found, yields the scanner to the calling code
10
+ # so it can handle it properly.
11
+ #
12
+ # The scanner will have any backslashes immediately in front of the `#{`
13
+ # as the second capture group (`scan[2]`),
14
+ # and the text prior to that as the first (`scan[1]`).
15
+ #
16
+ # @yieldparam scan [StringScanner] The scanner scanning through the string
17
+ # @return [String] The text remaining in the scanner after all `#{`s have been processed
18
+ def handle_interpolation(str)
19
+ scan = StringScanner.new(str)
20
+ yield scan while scan.scan(/(.*?)(\\*)\#\{/)
21
+ scan.rest
22
+ end
23
+
24
+ # Moves a scanner through a balanced pair of characters.
25
+ # For example:
26
+ #
27
+ # Foo (Bar (Baz bang) bop) (Bang (bop bip))
28
+ # ^ ^
29
+ # from to
30
+ #
31
+ # @param scanner [StringScanner] The string scanner to move
32
+ # @param start [Character] The character opening the balanced pair.
33
+ # A `Fixnum` in 1.8, a `String` in 1.9
34
+ # @param finish [Character] The character closing the balanced pair.
35
+ # A `Fixnum` in 1.8, a `String` in 1.9
36
+ # @param count [Fixnum] The number of opening characters matched
37
+ # before calling this method
38
+ # @return [(String, String)] The string matched within the balanced pair
39
+ # and the rest of the string.
40
+ # `["Foo (Bar (Baz bang) bop)", " (Bang (bop bip))"]` in the example above.
41
+ def balance(scanner, start, finish, count = 0)
42
+ str = ''
43
+ scanner = StringScanner.new(scanner) unless scanner.is_a? StringScanner
44
+ regexp = Regexp.new("(.*?)[\\#{start.chr}\\#{finish.chr}]", Regexp::MULTILINE)
45
+ while scanner.scan(regexp)
46
+ str << scanner.matched
47
+ count += 1 if scanner.matched[-1] == start
48
+ count -= 1 if scanner.matched[-1] == finish
49
+ return [str.strip, scanner.rest] if count == 0
50
+ end
51
+ end
52
+
53
+ # Formats a string for use in error messages about indentation.
54
+ #
55
+ # @param indentation [String] The string used for indentation
56
+ # @param was [Boolean] Whether or not to add `"was"` or `"were"`
57
+ # (depending on how many characters were in `indentation`)
58
+ # @return [String] The name of the indentation (e.g. `"12 spaces"`, `"1 tab"`)
59
+ def human_indentation(indentation, was = false)
60
+ if !indentation.include?(?\t)
61
+ noun = 'space'
62
+ elsif !indentation.include?(?\s)
63
+ noun = 'tab'
64
+ else
65
+ return indentation.inspect + (was ? ' was' : '')
66
+ end
67
+
68
+ singular = indentation.length == 1
69
+ if was
70
+ was = singular ? ' was' : ' were'
71
+ else
72
+ was = ''
73
+ end
74
+
75
+ "#{indentation.length} #{noun}#{'s' unless singular}#{was}"
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,16 @@
1
+ # We keep options in its own self-contained file
2
+ # so that we can load it independently in Rails 3,
3
+ # where the full template stuff is lazy-loaded.
4
+
5
+ module Haml
6
+ module Template
7
+ extend self
8
+
9
+ @options = {}
10
+ # The options hash for Haml when used within Rails.
11
+ # See {file:HAML_REFERENCE.md#haml_options the Haml options documentation}.
12
+ #
13
+ # @return [{Symbol => Object}]
14
+ attr_accessor :options
15
+ end
16
+ end
@@ -0,0 +1,58 @@
1
+ # This file makes Haml work with Rails
2
+ # by monkeypatching the core template-compilation methods.
3
+ # This is necessary for versions <= 2.0.1 because the template handler API
4
+ # wasn't sufficiently powerful to deal with caching and so forth.
5
+
6
+ # This module refers to the ActionView module that's part of Ruby on Rails.
7
+ # Haml can be used as an alternate templating engine for it,
8
+ # and includes several modifications to make it more Haml-friendly.
9
+ # The documentation can be found
10
+ # here[http://rubyonrails.org/api/classes/ActionView/Base.html].
11
+ module ActionView
12
+ class Base
13
+ def delegate_template_exists_with_haml(template_path)
14
+ template_exists?(template_path, :haml) && [:haml]
15
+ end
16
+ alias_method :delegate_template_exists_without_haml, :delegate_template_exists?
17
+ alias_method :delegate_template_exists?, :delegate_template_exists_with_haml
18
+
19
+ def compile_template_with_haml(extension, template, file_name, local_assigns)
20
+ return compile_haml(template, file_name, local_assigns) if extension.to_s == "haml"
21
+ compile_template_without_haml(extension, template, file_name, local_assigns)
22
+ end
23
+ alias_method :compile_template_without_haml, :compile_template
24
+ alias_method :compile_template, :compile_template_with_haml
25
+
26
+ def compile_haml(template, file_name, local_assigns)
27
+ render_symbol = assign_method_name(:haml, template, file_name)
28
+ locals = local_assigns.keys
29
+
30
+ @@template_args[render_symbol] ||= {}
31
+ locals_keys = @@template_args[render_symbol].keys | locals
32
+ @@template_args[render_symbol] = Haml::Util.to_hash(locals_keys.map {|k| [k, true]})
33
+
34
+ options = Haml::Template.options.dup
35
+ options[:filename] = file_name || 'compiled-template'
36
+
37
+ begin
38
+ Haml::Engine.new(template, options).def_method(CompiledTemplates, render_symbol, *locals_keys)
39
+ rescue Exception => e
40
+ if logger
41
+ logger.debug "ERROR: compiling #{render_symbol} RAISED #{e}"
42
+ logger.debug "Backtrace: #{e.backtrace.join("\n")}"
43
+ end
44
+
45
+ base_path = if defined?(extract_base_path_from)
46
+ # Rails 2.0.x
47
+ extract_base_path_from(file_name) || view_paths.first
48
+ else
49
+ # Rails <=1.2.6
50
+ @base_path
51
+ end
52
+ raise ActionView::TemplateError.new(base_path, file_name || template, @assigns, template, e)
53
+ end
54
+
55
+ @@compile_time[render_symbol] = Time.now
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,123 @@
1
+ # This file makes Haml work with Rails
2
+ # using the > 2.0.1 template handler API.
3
+
4
+ module Haml
5
+ # In Rails 3.1+, template handlers don't inherit from anything. In <= 3.0, they do.
6
+ # To avoid messy logic figuring this out, we just inherit from whatever the ERB handler does.
7
+ class Plugin < Haml::Util.av_template_class(:Handlers)::ERB.superclass
8
+ if ((defined?(ActionView::TemplateHandlers) &&
9
+ defined?(ActionView::TemplateHandlers::Compilable)) ||
10
+ (defined?(ActionView::Template) &&
11
+ defined?(ActionView::Template::Handlers) &&
12
+ defined?(ActionView::Template::Handlers::Compilable))) &&
13
+ # In Rails 3.1+, we don't need to include Compilable.
14
+ Haml::Util.av_template_class(:Handlers)::ERB.include?(
15
+ Haml::Util.av_template_class(:Handlers)::Compilable)
16
+ include Haml::Util.av_template_class(:Handlers)::Compilable
17
+ end
18
+
19
+ def handles_encoding?; true; end
20
+
21
+ def compile(template)
22
+ options = Haml::Template.options.dup
23
+
24
+ # template is a template object in Rails >=2.1.0,
25
+ # a source string previously
26
+ if template.respond_to? :source
27
+ # Template has a generic identifier in Rails >=3.0.0
28
+ options[:filename] = template.respond_to?(:identifier) ? template.identifier : template.filename
29
+ source = template.source
30
+ else
31
+ source = template
32
+ end
33
+
34
+ Haml::Engine.new(source, options).send(:precompiled_with_ambles, [])
35
+ end
36
+
37
+ # In Rails 3.1+, #call takes the place of #compile
38
+ def self.call(template)
39
+ new.compile(template)
40
+ end
41
+
42
+ def cache_fragment(block, name = {}, options = nil)
43
+ @view.fragment_for(block, name, options) do
44
+ eval("_hamlout.buffer", block.binding)
45
+ end
46
+ end
47
+ end
48
+
49
+ # Rails 3.0 prints a deprecation warning when block helpers
50
+ # return strings that go unused.
51
+ # We want to print the same deprecation warning,
52
+ # so we have to compile in a method call to check for it.
53
+ #
54
+ # I don't like having this in the compilation pipeline,
55
+ # and I'd like to get rid of it once Rails 3.1 is well-established.
56
+ if defined?(ActionView::OutputBuffer) &&
57
+ Haml::Util.has?(:instance_method, ActionView::OutputBuffer, :append_if_string=)
58
+ module Compiler
59
+ def compile_silent_script_with_haml_block_deprecation(&block)
60
+ unless block && !@node.value[:keyword] &&
61
+ @node.value[:text] =~ ActionView::Template::Handlers::Erubis::BLOCK_EXPR
62
+ return compile_silent_script_without_haml_block_deprecation(&block)
63
+ end
64
+
65
+ @node.value[:text] = "_hamlout.append_if_string= #{@node.value[:text]}"
66
+ compile_silent_script_without_haml_block_deprecation(&block)
67
+ end
68
+ alias_method :compile_silent_script_without_haml_block_deprecation, :compile_silent_script
69
+ alias_method :compile_silent_script, :compile_silent_script_with_haml_block_deprecation
70
+ end
71
+
72
+ class Buffer
73
+ def append_if_string=(value)
74
+ if value.is_a?(String) && !value.is_a?(ActionView::NonConcattingString)
75
+ ActiveSupport::Deprecation.warn("- style block helpers are deprecated. Please use =", caller)
76
+ buffer << value
77
+ end
78
+ end
79
+ end
80
+ end
81
+ end
82
+
83
+ if defined? ActionView::Template and ActionView::Template.respond_to? :register_template_handler
84
+ ActionView::Template
85
+ else
86
+ ActionView::Base
87
+ end.register_template_handler(:haml, Haml::Plugin)
88
+
89
+ # In Rails 2.0.2, ActionView::TemplateError took arguments
90
+ # that we can't fill in from the Haml::Plugin context.
91
+ # Thus, we've got to monkeypatch ActionView::Base to catch the error.
92
+ if defined?(ActionView::TemplateError) &&
93
+ ActionView::TemplateError.instance_method(:initialize).arity == 5
94
+ class ActionView::Base
95
+ def compile_template(handler, template, file_name, local_assigns)
96
+ render_symbol = assign_method_name(handler, template, file_name)
97
+
98
+ # Move begin up two lines so it captures compilation exceptions.
99
+ begin
100
+ render_source = create_template_source(handler, template, render_symbol, local_assigns.keys)
101
+ line_offset = @@template_args[render_symbol].size + handler.line_offset
102
+
103
+ file_name = 'compiled-template' if file_name.blank?
104
+ CompiledTemplates.module_eval(render_source, file_name, -line_offset)
105
+ rescue Exception => e # errors from template code
106
+ if logger
107
+ logger.debug "ERROR: compiling #{render_symbol} RAISED #{e}"
108
+ logger.debug "Function body: #{render_source}"
109
+ logger.debug "Backtrace: #{e.backtrace.join("\n")}"
110
+ end
111
+
112
+ # There's no way to tell Haml about the filename,
113
+ # so we've got to insert it ourselves.
114
+ e.backtrace[0].gsub!('(haml)', file_name) if e.is_a?(Haml::Error)
115
+
116
+ raise ActionView::TemplateError.new(extract_base_path_from(file_name) || view_paths.first, file_name || template, @assigns, template, e)
117
+ end
118
+
119
+ @@compile_time[render_symbol] = Time.now
120
+ # logger.debug "Compiled template #{file_name || template}\n ==> #{render_symbol}" if logger
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,99 @@
1
+ require 'haml/template/options'
2
+ require 'haml/engine'
3
+ require 'haml/helpers/action_view_mods'
4
+ require 'haml/helpers/action_view_extensions'
5
+
6
+ if defined?(ActionPack::VERSION::STRING) &&
7
+ ActionPack::VERSION::STRING == "2.3.6"
8
+ raise "Haml does not support Rails 2.3.6. Please upgrade to 2.3.7 or later."
9
+ end
10
+
11
+ module Haml
12
+ # The class that keeps track of the global options for Haml within Rails.
13
+ module Template
14
+ # Enables integration with the Rails 2.2.5+ XSS protection,
15
+ # if it's available and enabled.
16
+ #
17
+ # @return [Boolean] Whether the XSS integration was enabled.
18
+ def try_enabling_xss_integration
19
+ return false unless (ActionView::Base.respond_to?(:xss_safe?) && ActionView::Base.xss_safe?) ||
20
+ # We check for ActiveSupport#on_load here because if we're loading Haml that way, it means:
21
+ # A) we're in Rails 3 so XSS support is always on, and
22
+ # B) we might be in Rails 3 beta 3 where the load order is broken and xss_safe? is undefined
23
+ (defined?(ActiveSupport) && Haml::Util.has?(:public_method, ActiveSupport, :on_load))
24
+
25
+ Haml::Template.options[:escape_html] = true
26
+
27
+ Haml::Util.module_eval {def rails_xss_safe?; true; end}
28
+
29
+ require 'haml/helpers/xss_mods'
30
+ Haml::Helpers.send(:include, Haml::Helpers::XssMods)
31
+
32
+ Haml::Compiler.module_eval do
33
+ def precompiled_method_return_value_with_haml_xss
34
+ "::Haml::Util.html_safe(#{precompiled_method_return_value_without_haml_xss})"
35
+ end
36
+ alias_method :precompiled_method_return_value_without_haml_xss, :precompiled_method_return_value
37
+ alias_method :precompiled_method_return_value, :precompiled_method_return_value_with_haml_xss
38
+ end
39
+
40
+ true
41
+ end
42
+ end
43
+ end
44
+
45
+ unless Haml::Util.rails_env == "development"
46
+ Haml::Template.options[:ugly] ||= true
47
+ end
48
+
49
+ if Haml::Util.ap_geq_3?
50
+ Haml::Template.options[:format] ||= :html5
51
+ end
52
+
53
+ # Decide how we want to load Haml into Rails.
54
+ # Patching was necessary for versions <= 2.0.1,
55
+ # but we can make it a normal handler for higher versions.
56
+ if defined?(ActionView::TemplateHandler) ||
57
+ (defined?(ActionView::Template) && defined?(ActionView::Template::Handler)) ||
58
+ # Rails >= 3.2.0 uses Handlers instead of Handler
59
+ (defined?(ActionView::Template) && defined?(ActionView::Template::Handlers))
60
+ require 'haml/template/plugin'
61
+ else
62
+ require 'haml/template/patch'
63
+ end
64
+
65
+ # Enable XSS integration. Use Rails' after_initialize method
66
+ # so that integration will be checked after the rails_xss plugin is loaded
67
+ # (for Rails 2.3.* where it's not enabled by default).
68
+ #
69
+ # If we're running under Rails 3, though, we don't want to use after_intialize,
70
+ # since Haml loading has already been deferred via ActiveSupport.on_load.
71
+ if defined?(Rails.configuration.after_initialize) &&
72
+ !(defined?(ActiveSupport) && Haml::Util.has?(:public_method, ActiveSupport, :on_load))
73
+ Rails.configuration.after_initialize {Haml::Template.try_enabling_xss_integration}
74
+ else
75
+ Haml::Template.try_enabling_xss_integration
76
+ end
77
+
78
+ if Haml::Util.rails_root
79
+ # Update init.rb to the current version
80
+ # if it's out of date.
81
+ #
82
+ # We can probably remove this as of v1.9,
83
+ # because the new init file is sufficiently flexible
84
+ # to not need updating.
85
+ rails_init_file = File.join(Haml::Util.rails_root, 'vendor', 'plugins', 'haml', 'init.rb')
86
+ haml_init_file = Haml::Util.scope('init.rb')
87
+ begin
88
+ if File.exists?(rails_init_file)
89
+ require 'fileutils'
90
+ FileUtils.cp(haml_init_file, rails_init_file) unless FileUtils.cmp(rails_init_file, haml_init_file)
91
+ end
92
+ rescue SystemCallError
93
+ Haml::Util.haml_warn <<END
94
+ HAML WARNING:
95
+ #{rails_init_file} is out of date and couldn't be automatically updated.
96
+ Please run `haml --rails #{File.expand_path(Haml::Util.rails_root)}' to update it.
97
+ END
98
+ end
99
+ end
@@ -0,0 +1,842 @@
1
+ require 'erb'
2
+ require 'set'
3
+ require 'enumerator'
4
+ require 'stringio'
5
+ require 'strscan'
6
+ require 'rbconfig'
7
+
8
+ require 'haml/root'
9
+
10
+ module Haml
11
+ # A module containing various useful functions.
12
+ module Util
13
+ extend self
14
+
15
+ # An array of ints representing the Ruby version number.
16
+ # @api public
17
+ RUBY_VERSION = ::RUBY_VERSION.split(".").map {|s| s.to_i}
18
+
19
+ # The Ruby engine we're running under. Defaults to `"ruby"`
20
+ # if the top-level constant is undefined.
21
+ # @api public
22
+ RUBY_ENGINE = defined?(::RUBY_ENGINE) ? ::RUBY_ENGINE : "ruby"
23
+
24
+ # Returns the path of a file relative to the Haml root directory.
25
+ #
26
+ # @param file [String] The filename relative to the Haml root
27
+ # @return [String] The filename relative to the the working directory
28
+ def scope(file)
29
+ File.join(Haml::ROOT_DIR, file)
30
+ end
31
+
32
+ # Converts an array of `[key, value]` pairs to a hash.
33
+ #
34
+ # @example
35
+ # to_hash([[:foo, "bar"], [:baz, "bang"]])
36
+ # #=> {:foo => "bar", :baz => "bang"}
37
+ # @param arr [Array<(Object, Object)>] An array of pairs
38
+ # @return [Hash] A hash
39
+ def to_hash(arr)
40
+ Hash[arr.compact]
41
+ end
42
+
43
+ # Maps the keys in a hash according to a block.
44
+ #
45
+ # @example
46
+ # map_keys({:foo => "bar", :baz => "bang"}) {|k| k.to_s}
47
+ # #=> {"foo" => "bar", "baz" => "bang"}
48
+ # @param hash [Hash] The hash to map
49
+ # @yield [key] A block in which the keys are transformed
50
+ # @yieldparam key [Object] The key that should be mapped
51
+ # @yieldreturn [Object] The new value for the key
52
+ # @return [Hash] The mapped hash
53
+ # @see #map_vals
54
+ # @see #map_hash
55
+ def map_keys(hash)
56
+ to_hash(hash.map {|k, v| [yield(k), v]})
57
+ end
58
+
59
+ # Maps the values in a hash according to a block.
60
+ #
61
+ # @example
62
+ # map_values({:foo => "bar", :baz => "bang"}) {|v| v.to_sym}
63
+ # #=> {:foo => :bar, :baz => :bang}
64
+ # @param hash [Hash] The hash to map
65
+ # @yield [value] A block in which the values are transformed
66
+ # @yieldparam value [Object] The value that should be mapped
67
+ # @yieldreturn [Object] The new value for the value
68
+ # @return [Hash] The mapped hash
69
+ # @see #map_keys
70
+ # @see #map_hash
71
+ def map_vals(hash)
72
+ to_hash(hash.map {|k, v| [k, yield(v)]})
73
+ end
74
+
75
+ # Maps the key-value pairs of a hash according to a block.
76
+ #
77
+ # @example
78
+ # map_hash({:foo => "bar", :baz => "bang"}) {|k, v| [k.to_s, v.to_sym]}
79
+ # #=> {"foo" => :bar, "baz" => :bang}
80
+ # @param hash [Hash] The hash to map
81
+ # @yield [key, value] A block in which the key-value pairs are transformed
82
+ # @yieldparam [key] The hash key
83
+ # @yieldparam [value] The hash value
84
+ # @yieldreturn [(Object, Object)] The new value for the `[key, value]` pair
85
+ # @return [Hash] The mapped hash
86
+ # @see #map_keys
87
+ # @see #map_vals
88
+ def map_hash(hash, &block)
89
+ to_hash(hash.map(&block))
90
+ end
91
+
92
+ # Computes the powerset of the given array.
93
+ # This is the set of all subsets of the array.
94
+ #
95
+ # @example
96
+ # powerset([1, 2, 3]) #=>
97
+ # Set[Set[], Set[1], Set[2], Set[3], Set[1, 2], Set[2, 3], Set[1, 3], Set[1, 2, 3]]
98
+ # @param arr [Enumerable]
99
+ # @return [Set<Set>] The subsets of `arr`
100
+ def powerset(arr)
101
+ arr.inject([Set.new].to_set) do |powerset, el|
102
+ new_powerset = Set.new
103
+ powerset.each do |subset|
104
+ new_powerset << subset
105
+ new_powerset << subset + [el]
106
+ end
107
+ new_powerset
108
+ end
109
+ end
110
+
111
+ # Restricts a number to falling within a given range.
112
+ # Returns the number if it falls within the range,
113
+ # or the closest value in the range if it doesn't.
114
+ #
115
+ # @param value [Numeric]
116
+ # @param range [Range<Numeric>]
117
+ # @return [Numeric]
118
+ def restrict(value, range)
119
+ [[value, range.first].max, range.last].min
120
+ end
121
+
122
+ # Concatenates all strings that are adjacent in an array,
123
+ # while leaving other elements as they are.
124
+ #
125
+ # @example
126
+ # merge_adjacent_strings([1, "foo", "bar", 2, "baz"])
127
+ # #=> [1, "foobar", 2, "baz"]
128
+ # @param arr [Array]
129
+ # @return [Array] The enumerable with strings merged
130
+ def merge_adjacent_strings(arr)
131
+ # Optimize for the common case of one element
132
+ return arr if arr.size < 2
133
+ arr.inject([]) do |a, e|
134
+ if e.is_a?(String)
135
+ if a.last.is_a?(String)
136
+ a.last << e
137
+ else
138
+ a << e.dup
139
+ end
140
+ else
141
+ a << e
142
+ end
143
+ a
144
+ end
145
+ end
146
+
147
+ # Intersperses a value in an enumerable, as would be done with `Array#join`
148
+ # but without concatenating the array together afterwards.
149
+ #
150
+ # @param enum [Enumerable]
151
+ # @param val
152
+ # @return [Array]
153
+ def intersperse(enum, val)
154
+ enum.inject([]) {|a, e| a << e << val}[0...-1]
155
+ end
156
+
157
+ # Substitutes a sub-array of one array with another sub-array.
158
+ #
159
+ # @param ary [Array] The array in which to make the substitution
160
+ # @param from [Array] The sequence of elements to replace with `to`
161
+ # @param to [Array] The sequence of elements to replace `from` with
162
+ def substitute(ary, from, to)
163
+ res = ary.dup
164
+ i = 0
165
+ while i < res.size
166
+ if res[i...i+from.size] == from
167
+ res[i...i+from.size] = to
168
+ end
169
+ i += 1
170
+ end
171
+ res
172
+ end
173
+
174
+ # Destructively strips whitespace from the beginning and end
175
+ # of the first and last elements, respectively,
176
+ # in the array (if those elements are strings).
177
+ #
178
+ # @param arr [Array]
179
+ # @return [Array] `arr`
180
+ def strip_string_array(arr)
181
+ arr.first.lstrip! if arr.first.is_a?(String)
182
+ arr.last.rstrip! if arr.last.is_a?(String)
183
+ arr
184
+ end
185
+
186
+ # Return an array of all possible paths through the given arrays.
187
+ #
188
+ # @param arrs [Array<Array>]
189
+ # @return [Array<Arrays>]
190
+ #
191
+ # @example
192
+ # paths([[1, 2], [3, 4], [5]]) #=>
193
+ # # [[1, 3, 5],
194
+ # # [2, 3, 5],
195
+ # # [1, 4, 5],
196
+ # # [2, 4, 5]]
197
+ def paths(arrs)
198
+ arrs.inject([[]]) do |paths, arr|
199
+ flatten(arr.map {|e| paths.map {|path| path + [e]}}, 1)
200
+ end
201
+ end
202
+
203
+ # Computes a single longest common subsequence for `x` and `y`.
204
+ # If there are more than one longest common subsequences,
205
+ # the one returned is that which starts first in `x`.
206
+ #
207
+ # @param x [Array]
208
+ # @param y [Array]
209
+ # @yield [a, b] An optional block to use in place of a check for equality
210
+ # between elements of `x` and `y`.
211
+ # @yieldreturn [Object, nil] If the two values register as equal,
212
+ # this will return the value to use in the LCS array.
213
+ # @return [Array] The LCS
214
+ def lcs(x, y, &block)
215
+ x = [nil, *x]
216
+ y = [nil, *y]
217
+ block ||= proc {|a, b| a == b && a}
218
+ lcs_backtrace(lcs_table(x, y, &block), x, y, x.size-1, y.size-1, &block)
219
+ end
220
+
221
+ # Returns information about the caller of the previous method.
222
+ #
223
+ # @param entry [String] An entry in the `#caller` list, or a similarly formatted string
224
+ # @return [[String, Fixnum, (String, nil)]] An array containing the filename, line, and method name of the caller.
225
+ # The method name may be nil
226
+ def caller_info(entry = caller[1])
227
+ info = entry.scan(/^(.*?):(-?.*?)(?::.*`(.+)')?$/).first
228
+ info[1] = info[1].to_i
229
+ # This is added by Rubinius to designate a block, but we don't care about it.
230
+ info[2].sub!(/ \{\}\Z/, '') if info[2]
231
+ info
232
+ end
233
+
234
+ # Returns whether one version string represents a more recent version than another.
235
+ #
236
+ # @param v1 [String] A version string.
237
+ # @param v2 [String] Another version string.
238
+ # @return [Boolean]
239
+ def version_gt(v1, v2)
240
+ # Construct an array to make sure the shorter version is padded with nil
241
+ Array.new([v1.length, v2.length].max).zip(v1.split("."), v2.split(".")) do |_, p1, p2|
242
+ p1 ||= "0"
243
+ p2 ||= "0"
244
+ release1 = p1 =~ /^[0-9]+$/
245
+ release2 = p2 =~ /^[0-9]+$/
246
+ if release1 && release2
247
+ # Integer comparison if both are full releases
248
+ p1, p2 = p1.to_i, p2.to_i
249
+ next if p1 == p2
250
+ return p1 > p2
251
+ elsif !release1 && !release2
252
+ # String comparison if both are prereleases
253
+ next if p1 == p2
254
+ return p1 > p2
255
+ else
256
+ # If only one is a release, that one is newer
257
+ return release1
258
+ end
259
+ end
260
+ end
261
+
262
+ # Returns whether one version string represents the same or a more
263
+ # recent version than another.
264
+ #
265
+ # @param v1 [String] A version string.
266
+ # @param v2 [String] Another version string.
267
+ # @return [Boolean]
268
+ def version_geq(v1, v2)
269
+ version_gt(v1, v2) || !version_gt(v2, v1)
270
+ end
271
+
272
+ # A wrapper for `Marshal.dump` that calls `#_before_dump` on the object
273
+ # before dumping it, `#_after_dump` afterwards.
274
+ # It also calls `#_around_dump` and passes it a block in which the object is dumped.
275
+ #
276
+ # If any of these methods are undefined, they are not called.
277
+ #
278
+ # @param obj [Object] The object to dump.
279
+ # @return [String] The dumped data.
280
+ def dump(obj)
281
+ obj._before_dump if obj.respond_to?(:_before_dump)
282
+ return Marshal.dump(obj) unless obj.respond_to?(:_around_dump)
283
+ res = nil
284
+ obj._around_dump {res = Marshal.dump(obj)}
285
+ res
286
+ ensure
287
+ obj._after_dump if obj.respond_to?(:_after_dump)
288
+ end
289
+
290
+ # A wrapper for `Marshal.load` that calls `#_after_load` on the object
291
+ # after loading it, if it's defined.
292
+ #
293
+ # @param data [String] The data to load.
294
+ # @return [Object] The loaded object.
295
+ def load(data)
296
+ obj = Marshal.load(data)
297
+ obj._after_load if obj.respond_to?(:_after_load)
298
+ obj
299
+ end
300
+
301
+ # Throws a NotImplementedError for an abstract method.
302
+ #
303
+ # @param obj [Object] `self`
304
+ # @raise [NotImplementedError]
305
+ def abstract(obj)
306
+ raise NotImplementedError.new("#{obj.class} must implement ##{caller_info[2]}")
307
+ end
308
+
309
+ # Silence all output to STDERR within a block.
310
+ #
311
+ # @yield A block in which no output will be printed to STDERR
312
+ def silence_warnings
313
+ the_real_stderr, $stderr = $stderr, StringIO.new
314
+ yield
315
+ ensure
316
+ $stderr = the_real_stderr
317
+ end
318
+
319
+ @@silence_warnings = false
320
+ # Silences all Haml warnings within a block.
321
+ #
322
+ # @yield A block in which no Haml warnings will be printed
323
+ def silence_haml_warnings
324
+ old_silence_warnings = @@silence_warnings
325
+ @@silence_warnings = true
326
+ yield
327
+ ensure
328
+ @@silence_warnings = old_silence_warnings
329
+ end
330
+
331
+ # The same as `Kernel#warn`, but is silenced by \{#silence\_haml\_warnings}.
332
+ #
333
+ # @param msg [String]
334
+ def haml_warn(msg)
335
+ return if @@silence_warnings
336
+ warn(msg)
337
+ end
338
+
339
+ # Try loading Sass. If the `sass` gem isn't installed,
340
+ # print a warning and load from the vendored gem.
341
+ #
342
+ # @return [Boolean] True if Sass was successfully loaded from the `sass` gem,
343
+ # false otherwise.
344
+ def try_sass
345
+ return true if defined?(::SASS_BEGUN_TO_LOAD)
346
+ begin
347
+ require 'sass/version'
348
+ loaded = Sass.respond_to?(:version) && Sass.version[:major] &&
349
+ Sass.version[:minor] && ((Sass.version[:major] > 3 && Sass.version[:minor] > 1) ||
350
+ ((Sass.version[:major] == 3 && Sass.version[:minor] >= 1) &&
351
+ (Sass.version[:prerelease] || Sass.version[:name] != "Bleeding Edge")))
352
+ rescue LoadError => e
353
+ loaded = false
354
+ end
355
+
356
+ unless loaded
357
+ haml_warn(<<WARNING)
358
+ Sass is in the process of being separated from Haml,
359
+ and will no longer be bundled at all in Haml 3.2.0.
360
+ Please install the 'sass' gem if you want to use Sass.
361
+ WARNING
362
+ $".delete('sass/version')
363
+ $LOAD_PATH.unshift(scope("vendor/sass/lib"))
364
+ end
365
+ loaded
366
+ end
367
+
368
+ ## Cross Rails Version Compatibility
369
+
370
+ # Returns the root of the Rails application,
371
+ # if this is running in a Rails context.
372
+ # Returns `nil` if no such root is defined.
373
+ #
374
+ # @return [String, nil]
375
+ def rails_root
376
+ if defined?(::Rails.root)
377
+ return ::Rails.root.to_s if ::Rails.root
378
+ raise "ERROR: Rails.root is nil!"
379
+ end
380
+ return RAILS_ROOT.to_s if defined?(RAILS_ROOT)
381
+ return nil
382
+ end
383
+
384
+ # Returns the environment of the Rails application,
385
+ # if this is running in a Rails context.
386
+ # Returns `nil` if no such environment is defined.
387
+ #
388
+ # @return [String, nil]
389
+ def rails_env
390
+ return ::Rails.env.to_s if defined?(::Rails.env)
391
+ return RAILS_ENV.to_s if defined?(RAILS_ENV)
392
+ return nil
393
+ end
394
+
395
+ # Returns whether this environment is using ActionPack
396
+ # version 3.0.0 or greater.
397
+ #
398
+ # @return [Boolean]
399
+ def ap_geq_3?
400
+ ap_geq?("3.0.0.beta1")
401
+ end
402
+
403
+ # Returns whether this environment is using ActionPack
404
+ # of a version greater than or equal to that specified.
405
+ #
406
+ # @param version [String] The string version number to check against.
407
+ # Should be greater than or equal to Rails 3,
408
+ # because otherwise ActionPack::VERSION isn't autoloaded
409
+ # @return [Boolean]
410
+ def ap_geq?(version)
411
+ # The ActionPack module is always loaded automatically in Rails >= 3
412
+ return false unless defined?(ActionPack) && defined?(ActionPack::VERSION) &&
413
+ defined?(ActionPack::VERSION::STRING)
414
+
415
+ version_geq(ActionPack::VERSION::STRING, version)
416
+ end
417
+
418
+ # Returns an ActionView::Template* class.
419
+ # In pre-3.0 versions of Rails, most of these classes
420
+ # were of the form `ActionView::TemplateFoo`,
421
+ # while afterwards they were of the form `ActionView;:Template::Foo`.
422
+ #
423
+ # @param name [#to_s] The name of the class to get.
424
+ # For example, `:Error` will return `ActionView::TemplateError`
425
+ # or `ActionView::Template::Error`.
426
+ def av_template_class(name)
427
+ return ActionView.const_get("Template#{name}") if ActionView.const_defined?("Template#{name}")
428
+ return ActionView::Template.const_get(name.to_s)
429
+ end
430
+
431
+ ## Rails XSS Safety
432
+
433
+ # Whether or not ActionView's XSS protection is available and enabled,
434
+ # as is the default for Rails 3.0+, and optional for version 2.3.5+.
435
+ # Overridden in haml/template.rb if this is the case.
436
+ #
437
+ # @return [Boolean]
438
+ def rails_xss_safe?
439
+ false
440
+ end
441
+
442
+ # Returns the given text, marked as being HTML-safe.
443
+ # With older versions of the Rails XSS-safety mechanism,
444
+ # this destructively modifies the HTML-safety of `text`.
445
+ #
446
+ # @param text [String, nil]
447
+ # @return [String, nil] `text`, marked as HTML-safe
448
+ def html_safe(text)
449
+ return unless text
450
+ return text.html_safe if defined?(ActiveSupport::SafeBuffer)
451
+ text.html_safe!
452
+ end
453
+
454
+ # Assert that a given object (usually a String) is HTML safe
455
+ # according to Rails' XSS handling, if it's loaded.
456
+ #
457
+ # @param text [Object]
458
+ def assert_html_safe!(text)
459
+ return unless rails_xss_safe? && text && !text.to_s.html_safe?
460
+ raise Haml::Error.new("Expected #{text.inspect} to be HTML-safe.")
461
+ end
462
+
463
+ # The class for the Rails SafeBuffer XSS protection class.
464
+ # This varies depending on Rails version.
465
+ #
466
+ # @return [Class]
467
+ def rails_safe_buffer_class
468
+ # It's important that we check ActiveSupport first,
469
+ # because in Rails 2.3.6 ActionView::SafeBuffer exists
470
+ # but is a deprecated proxy object.
471
+ return ActiveSupport::SafeBuffer if defined?(ActiveSupport::SafeBuffer)
472
+ return ActionView::SafeBuffer
473
+ end
474
+
475
+ ## Cross-OS Compatibility
476
+
477
+ # Whether or not this is running on Windows.
478
+ #
479
+ # @return [Boolean]
480
+ def windows?
481
+ RbConfig::CONFIG['host_os'] =~ /mswin|windows|mingw/i
482
+ end
483
+
484
+ # Whether or not this is running on IronRuby.
485
+ #
486
+ # @return [Boolean]
487
+ def ironruby?
488
+ RUBY_ENGINE == "ironruby"
489
+ end
490
+
491
+ ## Cross-Ruby-Version Compatibility
492
+
493
+ # Whether or not this is running under Ruby 1.8 or lower.
494
+ #
495
+ # Note that IronRuby counts as Ruby 1.8,
496
+ # because it doesn't support the Ruby 1.9 encoding API.
497
+ #
498
+ # @return [Boolean]
499
+ def ruby1_8?
500
+ # IronRuby says its version is 1.9, but doesn't support any of the encoding APIs.
501
+ # We have to fall back to 1.8 behavior.
502
+ ironruby? || (Haml::Util::RUBY_VERSION[0] == 1 && Haml::Util::RUBY_VERSION[1] < 9)
503
+ end
504
+
505
+ # Whether or not this is running under Ruby 1.8.6 or lower.
506
+ # Note that lower versions are not officially supported.
507
+ #
508
+ # @return [Boolean]
509
+ def ruby1_8_6?
510
+ ruby1_8? && Haml::Util::RUBY_VERSION[2] < 7
511
+ end
512
+
513
+ # Checks that the encoding of a string is valid in Ruby 1.9
514
+ # and cleans up potential encoding gotchas like the UTF-8 BOM.
515
+ # If it's not, yields an error string describing the invalid character
516
+ # and the line on which it occurrs.
517
+ #
518
+ # @param str [String] The string of which to check the encoding
519
+ # @yield [msg] A block in which an encoding error can be raised.
520
+ # Only yields if there is an encoding error
521
+ # @yieldparam msg [String] The error message to be raised
522
+ # @return [String] `str`, potentially with encoding gotchas like BOMs removed
523
+ def check_encoding(str)
524
+ if ruby1_8?
525
+ return str.gsub(/\A\xEF\xBB\xBF/, '') # Get rid of the UTF-8 BOM
526
+ elsif str.valid_encoding?
527
+ # Get rid of the Unicode BOM if possible
528
+ if str.encoding.name =~ /^UTF-(8|16|32)(BE|LE)?$/
529
+ return str.gsub(Regexp.new("\\A\uFEFF".encode(str.encoding.name)), '')
530
+ else
531
+ return str
532
+ end
533
+ end
534
+
535
+ encoding = str.encoding
536
+ newlines = Regexp.new("\r\n|\r|\n".encode(encoding).force_encoding("binary"))
537
+ str.force_encoding("binary").split(newlines).each_with_index do |line, i|
538
+ begin
539
+ line.encode(encoding)
540
+ rescue Encoding::UndefinedConversionError => e
541
+ yield <<MSG.rstrip, i + 1
542
+ Invalid #{encoding.name} character #{e.error_char.dump}
543
+ MSG
544
+ end
545
+ end
546
+ return str
547
+ end
548
+
549
+ # Like {\#check\_encoding}, but also checks for a Ruby-style `-# coding:` comment
550
+ # at the beginning of the template and uses that encoding if it exists.
551
+ #
552
+ # The Haml encoding rules are simple.
553
+ # If a `-# coding:` comment exists,
554
+ # we assume that that's the original encoding of the document.
555
+ # Otherwise, we use whatever encoding Ruby has.
556
+ #
557
+ # Haml uses the same rules for parsing coding comments as Ruby.
558
+ # This means that it can understand Emacs-style comments
559
+ # (e.g. `-*- encoding: "utf-8" -*-`),
560
+ # and also that it cannot understand non-ASCII-compatible encodings
561
+ # such as `UTF-16` and `UTF-32`.
562
+ #
563
+ # @param str [String] The Haml template of which to check the encoding
564
+ # @yield [msg] A block in which an encoding error can be raised.
565
+ # Only yields if there is an encoding error
566
+ # @yieldparam msg [String] The error message to be raised
567
+ # @return [String] The original string encoded properly
568
+ # @raise [ArgumentError] if the document declares an unknown encoding
569
+ def check_haml_encoding(str, &block)
570
+ return check_encoding(str, &block) if ruby1_8?
571
+ str = str.dup if str.frozen?
572
+
573
+ bom, encoding = parse_haml_magic_comment(str)
574
+ if encoding; str.force_encoding(encoding)
575
+ elsif bom; str.force_encoding("UTF-8")
576
+ end
577
+
578
+ return check_encoding(str, &block)
579
+ end
580
+
581
+ unless ruby1_8?
582
+ # @private
583
+ def _enc(string, encoding)
584
+ string.encode(encoding).force_encoding("BINARY")
585
+ end
586
+
587
+ # We could automatically add in any non-ASCII-compatible encodings here,
588
+ # but there's not really a good way to do that
589
+ # without manually checking that each encoding
590
+ # encodes all ASCII characters properly,
591
+ # which takes long enough to affect the startup time of the CLI.
592
+ ENCODINGS_TO_CHECK = %w[UTF-8 UTF-16BE UTF-16LE UTF-32BE UTF-32LE]
593
+
594
+ CHARSET_REGEXPS = Hash.new do |h, e|
595
+ h[e] =
596
+ begin
597
+ # /\A(?:\uFEFF)?@charset "(.*?)"|\A(\uFEFF)/
598
+ Regexp.new(/\A(?:#{_enc("\uFEFF", e)})?#{
599
+ _enc('@charset "', e)}(.*?)#{_enc('"', e)}|\A(#{
600
+ _enc("\uFEFF", e)})/)
601
+ rescue
602
+ # /\A@charset "(.*?)"/
603
+ Regexp.new(/\A#{_enc('@charset "', e)}(.*?)#{_enc('"', e)}/)
604
+ end
605
+ end
606
+ end
607
+
608
+ # Checks to see if a class has a given method.
609
+ # For example:
610
+ #
611
+ # Haml::Util.has?(:public_instance_method, String, :gsub) #=> true
612
+ #
613
+ # Method collections like `Class#instance_methods`
614
+ # return strings in Ruby 1.8 and symbols in Ruby 1.9 and on,
615
+ # so this handles checking for them in a compatible way.
616
+ #
617
+ # @param attr [#to_s] The (singular) name of the method-collection method
618
+ # (e.g. `:instance_methods`, `:private_methods`)
619
+ # @param klass [Module] The class to check the methods of which to check
620
+ # @param method [String, Symbol] The name of the method do check for
621
+ # @return [Boolean] Whether or not the given collection has the given method
622
+ def has?(attr, klass, method)
623
+ klass.send("#{attr}s").include?(ruby1_8? ? method.to_s : method.to_sym)
624
+ end
625
+
626
+ # A version of `Enumerable#enum_with_index` that works in Ruby 1.8 and 1.9.
627
+ #
628
+ # @param enum [Enumerable] The enumerable to get the enumerator for
629
+ # @return [Enumerator] The with-index enumerator
630
+ def enum_with_index(enum)
631
+ ruby1_8? ? enum.enum_with_index : enum.each_with_index
632
+ end
633
+
634
+ # A version of `Enumerable#enum_cons` that works in Ruby 1.8 and 1.9.
635
+ #
636
+ # @param enum [Enumerable] The enumerable to get the enumerator for
637
+ # @param n [Fixnum] The size of each cons
638
+ # @return [Enumerator] The consed enumerator
639
+ def enum_cons(enum, n)
640
+ ruby1_8? ? enum.enum_cons(n) : enum.each_cons(n)
641
+ end
642
+
643
+ # A version of `Enumerable#enum_slice` that works in Ruby 1.8 and 1.9.
644
+ #
645
+ # @param enum [Enumerable] The enumerable to get the enumerator for
646
+ # @param n [Fixnum] The size of each slice
647
+ # @return [Enumerator] The consed enumerator
648
+ def enum_slice(enum, n)
649
+ ruby1_8? ? enum.enum_slice(n) : enum.each_slice(n)
650
+ end
651
+
652
+ # Returns the ASCII code of the given character.
653
+ #
654
+ # @param c [String] All characters but the first are ignored.
655
+ # @return [Fixnum] The ASCII code of `c`.
656
+ def ord(c)
657
+ ruby1_8? ? c[0] : c.ord
658
+ end
659
+
660
+ # Flattens the first `n` nested arrays in a cross-version manner.
661
+ #
662
+ # @param arr [Array] The array to flatten
663
+ # @param n [Fixnum] The number of levels to flatten
664
+ # @return [Array] The flattened array
665
+ def flatten(arr, n)
666
+ return arr.flatten(n) unless ruby1_8_6?
667
+ return arr if n == 0
668
+ arr.inject([]) {|res, e| e.is_a?(Array) ? res.concat(flatten(e, n - 1)) : res << e}
669
+ end
670
+
671
+ # Returns the hash code for a set in a cross-version manner.
672
+ # Aggravatingly, this is order-dependent in Ruby 1.8.6.
673
+ #
674
+ # @param set [Set]
675
+ # @return [Fixnum] The order-independent hashcode of `set`
676
+ def set_hash(set)
677
+ return set.hash unless ruby1_8_6?
678
+ set.map {|e| e.hash}.uniq.sort.hash
679
+ end
680
+
681
+ # Tests the hash-equality of two sets in a cross-version manner.
682
+ # Aggravatingly, this is order-dependent in Ruby 1.8.6.
683
+ #
684
+ # @param set1 [Set]
685
+ # @param set2 [Set]
686
+ # @return [Boolean] Whether or not the sets are hashcode equal
687
+ def set_eql?(set1, set2)
688
+ return set1.eql?(set2) unless ruby1_8_6?
689
+ set1.to_a.uniq.sort_by {|e| e.hash}.eql?(set2.to_a.uniq.sort_by {|e| e.hash})
690
+ end
691
+
692
+ # Like `Object#inspect`, but preserves non-ASCII characters rather than escaping them under Ruby 1.9.2.
693
+ # This is necessary so that the precompiled Haml template can be `#encode`d into `@options[:encoding]`
694
+ # before being evaluated.
695
+ #
696
+ # @param obj {Object}
697
+ # @return {String}
698
+ def inspect_obj(obj)
699
+ return obj.inspect unless version_geq(::RUBY_VERSION, "1.9.2")
700
+ return ':' + inspect_obj(obj.to_s) if obj.is_a?(Symbol)
701
+ return obj.inspect unless obj.is_a?(String)
702
+ '"' + obj.gsub(/[\x00-\x7F]+/) {|s| s.inspect[1...-1]} + '"'
703
+ end
704
+
705
+ ## Static Method Stuff
706
+
707
+ # The context in which the ERB for \{#def\_static\_method} will be run.
708
+ class StaticConditionalContext
709
+ # @param set [#include?] The set of variables that are defined for this context.
710
+ def initialize(set)
711
+ @set = set
712
+ end
713
+
714
+ # Checks whether or not a variable is defined for this context.
715
+ #
716
+ # @param name [Symbol] The name of the variable
717
+ # @return [Boolean]
718
+ def method_missing(name, *args, &block)
719
+ super unless args.empty? && block.nil?
720
+ @set.include?(name)
721
+ end
722
+ end
723
+
724
+ # This is used for methods in {Haml::Buffer} that need to be very fast,
725
+ # and take a lot of boolean parameters
726
+ # that are known at compile-time.
727
+ # Instead of passing the parameters in normally,
728
+ # a separate method is defined for every possible combination of those parameters;
729
+ # these are then called using \{#static\_method\_name}.
730
+ #
731
+ # To define a static method, an ERB template for the method is provided.
732
+ # All conditionals based on the static parameters
733
+ # are done as embedded Ruby within this template.
734
+ # For example:
735
+ #
736
+ # def_static_method(Foo, :my_static_method, [:foo, :bar], :baz, :bang, <<RUBY)
737
+ # <% if baz && bang %>
738
+ # return foo + bar
739
+ # <% elsif baz || bang %>
740
+ # return foo - bar
741
+ # <% else %>
742
+ # return 17
743
+ # <% end %>
744
+ # RUBY
745
+ #
746
+ # \{#static\_method\_name} can be used to call static methods.
747
+ #
748
+ # @overload def_static_method(klass, name, args, *vars, erb)
749
+ # @param klass [Module] The class on which to define the static method
750
+ # @param name [#to_s] The (base) name of the static method
751
+ # @param args [Array<Symbol>] The names of the arguments to the defined methods
752
+ # (**not** to the ERB template)
753
+ # @param vars [Array<Symbol>] The names of the static boolean variables
754
+ # to be made available to the ERB template
755
+ # @param erb [String] The template for the method code
756
+ def def_static_method(klass, name, args, *vars)
757
+ erb = vars.pop
758
+ info = caller_info
759
+ powerset(vars).each do |set|
760
+ context = StaticConditionalContext.new(set).instance_eval {binding}
761
+ klass.class_eval(<<METHOD, info[0], info[1])
762
+ def #{static_method_name(name, *vars.map {|v| set.include?(v)})}(#{args.join(', ')})
763
+ #{ERB.new(erb).result(context)}
764
+ end
765
+ METHOD
766
+ end
767
+ end
768
+
769
+ # Computes the name for a method defined via \{#def\_static\_method}.
770
+ #
771
+ # @param name [String] The base name of the static method
772
+ # @param vars [Array<Boolean>] The static variable assignment
773
+ # @return [String] The real name of the static method
774
+ def static_method_name(name, *vars)
775
+ "#{name}_#{vars.map {|v| !!v}.join('_')}"
776
+ end
777
+
778
+ private
779
+
780
+ # Calculates the memoization table for the Least Common Subsequence algorithm.
781
+ # Algorithm from [Wikipedia](http://en.wikipedia.org/wiki/Longest_common_subsequence_problem#Computing_the_length_of_the_LCS)
782
+ def lcs_table(x, y)
783
+ c = Array.new(x.size) {[]}
784
+ x.size.times {|i| c[i][0] = 0}
785
+ y.size.times {|j| c[0][j] = 0}
786
+ (1...x.size).each do |i|
787
+ (1...y.size).each do |j|
788
+ c[i][j] =
789
+ if yield x[i], y[j]
790
+ c[i-1][j-1] + 1
791
+ else
792
+ [c[i][j-1], c[i-1][j]].max
793
+ end
794
+ end
795
+ end
796
+ return c
797
+ end
798
+
799
+ # Computes a single longest common subsequence for arrays x and y.
800
+ # Algorithm from [Wikipedia](http://en.wikipedia.org/wiki/Longest_common_subsequence_problem#Reading_out_an_LCS)
801
+ def lcs_backtrace(c, x, y, i, j, &block)
802
+ return [] if i == 0 || j == 0
803
+ if v = yield(x[i], y[j])
804
+ return lcs_backtrace(c, x, y, i-1, j-1, &block) << v
805
+ end
806
+
807
+ return lcs_backtrace(c, x, y, i, j-1, &block) if c[i][j-1] > c[i-1][j]
808
+ return lcs_backtrace(c, x, y, i-1, j, &block)
809
+ end
810
+
811
+ # Parses a magic comment at the beginning of a Haml file.
812
+ # The parsing rules are basically the same as Ruby's.
813
+ #
814
+ # @return [(Boolean, String or nil)]
815
+ # Whether the document begins with a UTF-8 BOM,
816
+ # and the declared encoding of the document (or nil if none is declared)
817
+ def parse_haml_magic_comment(str)
818
+ scanner = StringScanner.new(str.dup.force_encoding("BINARY"))
819
+ bom = scanner.scan(/\xEF\xBB\xBF/n)
820
+ return bom unless scanner.scan(/-\s*#\s*/n)
821
+ if coding = try_parse_haml_emacs_magic_comment(scanner)
822
+ return bom, coding
823
+ end
824
+
825
+ return bom unless scanner.scan(/.*?coding[=:]\s*([\w-]+)/in)
826
+ return bom, scanner[1]
827
+ end
828
+
829
+ def try_parse_haml_emacs_magic_comment(scanner)
830
+ pos = scanner.pos
831
+ return unless scanner.scan(/.*?-\*-\s*/n)
832
+ # From Ruby's parse.y
833
+ return unless scanner.scan(/([^\s'":;]+)\s*:\s*("(?:\\.|[^"])*"|[^"\s;]+?)[\s;]*-\*-/n)
834
+ name, val = scanner[1], scanner[2]
835
+ return unless name =~ /(en)?coding/in
836
+ val = $1 if val =~ /^"(.*)"$/n
837
+ return val
838
+ ensure
839
+ scanner.pos = pos
840
+ end
841
+ end
842
+ end