brakeman 3.2.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1201) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +18 -0
  3. data/bin/brakeman +1 -1
  4. data/bundle/load.rb +14 -0
  5. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/CHANGES.txt +828 -0
  6. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/MIT-LICENSE +20 -0
  7. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/README.txt +102 -0
  8. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/Makefile +6 -0
  9. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
  10. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
  11. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
  12. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
  13. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
  14. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
  15. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
  16. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/bin/erubis +10 -0
  17. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/contrib/erubis +3468 -0
  18. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
  19. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/contrib/inline-require +179 -0
  20. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
  21. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
  22. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
  23. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
  24. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
  25. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
  26. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
  27. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
  28. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
  29. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
  30. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
  31. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
  32. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
  33. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
  34. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
  35. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
  36. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
  37. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
  38. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
  39. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
  40. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
  41. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
  42. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
  43. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
  44. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
  45. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
  46. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
  47. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
  48. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
  49. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
  50. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
  51. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
  52. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
  53. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
  54. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
  55. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
  56. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
  57. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
  58. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
  59. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
  60. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
  61. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
  62. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
  63. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
  64. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
  65. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
  66. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
  67. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
  68. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
  69. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
  70. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
  71. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
  72. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
  73. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
  74. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
  75. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
  76. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
  77. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
  78. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
  79. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
  80. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
  81. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
  82. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
  83. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
  84. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
  85. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
  86. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
  87. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
  88. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
  89. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
  90. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
  91. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
  92. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
  93. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
  94. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
  95. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
  96. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
  97. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
  98. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
  99. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
  100. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
  101. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
  102. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
  103. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
  104. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
  105. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
  106. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
  107. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
  108. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
  109. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
  110. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
  111. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
  112. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
  113. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
  114. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
  115. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
  116. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
  117. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
  118. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
  119. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
  120. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
  121. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
  122. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
  123. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/created.rid +1 -0
  124. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
  125. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
  126. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
  127. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
  128. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
  129. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
  130. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
  131. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
  132. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
  133. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
  134. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
  135. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
  136. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
  137. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
  138. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
  139. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
  140. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
  141. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
  142. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
  143. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
  144. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
  145. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
  146. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
  147. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
  148. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
  149. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
  150. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
  151. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
  152. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
  153. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
  154. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/index.html +24 -0
  155. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
  156. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc/docstyle.css +209 -0
  157. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
  158. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
  159. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
  160. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
  161. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
  162. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
  163. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
  164. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
  165. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
  166. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
  167. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
  168. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
  169. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
  170. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
  171. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
  172. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
  173. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
  174. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
  175. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis.rb +73 -0
  176. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
  177. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
  178. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
  179. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
  180. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
  181. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
  182. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
  183. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
  184. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
  185. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
  186. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
  187. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
  188. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
  189. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
  190. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
  191. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
  192. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
  193. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
  194. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
  195. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
  196. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
  197. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
  198. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
  199. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
  200. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
  201. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/setup.rb +1331 -0
  202. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
  203. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
  204. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
  205. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
  206. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
  207. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
  208. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
  209. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
  210. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
  211. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
  212. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
  213. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
  214. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
  215. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
  216. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
  217. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
  218. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
  219. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
  220. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
  221. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
  222. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
  223. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
  224. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
  225. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
  226. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
  227. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
  228. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
  229. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
  230. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
  231. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
  232. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
  233. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
  234. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
  235. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
  236. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
  237. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
  238. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
  239. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
  240. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
  241. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
  242. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
  243. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
  244. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
  245. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
  246. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
  247. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
  248. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
  249. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
  250. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
  251. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
  252. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
  253. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
  254. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
  255. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
  256. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
  257. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
  258. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
  259. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
  260. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
  261. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
  262. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
  263. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
  264. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
  265. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
  266. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
  267. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
  268. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
  269. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
  270. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
  271. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
  272. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
  273. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
  274. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
  275. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
  276. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
  277. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
  278. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
  279. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
  280. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
  281. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
  282. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
  283. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
  284. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
  285. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
  286. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
  287. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
  288. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
  289. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
  290. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
  291. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
  292. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
  293. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
  294. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
  295. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
  296. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
  297. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
  298. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
  299. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
  300. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
  301. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
  302. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
  303. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
  304. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
  305. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
  306. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
  307. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
  308. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
  309. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
  310. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
  311. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
  312. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
  313. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
  314. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
  315. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-engines.rb +425 -0
  316. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
  317. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
  318. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
  319. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-main.rb +752 -0
  320. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
  321. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test.rb +45 -0
  322. data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/testutil.rb +111 -0
  323. data/bundle/ruby/2.3.0/gems/haml-4.0.7/CHANGELOG.md +1363 -0
  324. data/bundle/ruby/2.3.0/gems/haml-4.0.7/FAQ.md +157 -0
  325. data/bundle/ruby/2.3.0/gems/haml-4.0.7/MIT-LICENSE +20 -0
  326. data/bundle/ruby/2.3.0/gems/haml-4.0.7/README.md +173 -0
  327. data/bundle/ruby/2.3.0/gems/haml-4.0.7/REFERENCE.md +1294 -0
  328. data/bundle/ruby/2.3.0/gems/haml-4.0.7/Rakefile +134 -0
  329. data/bundle/ruby/2.3.0/gems/haml-4.0.7/bin/haml +9 -0
  330. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml.rb +23 -0
  331. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/buffer.rb +345 -0
  332. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/compiler.rb +540 -0
  333. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/engine.rb +245 -0
  334. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/error.rb +61 -0
  335. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/exec.rb +329 -0
  336. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/filters.rb +404 -0
  337. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers.rb +664 -0
  338. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_extensions.rb +58 -0
  339. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb +147 -0
  340. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb +58 -0
  341. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb +29 -0
  342. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb +104 -0
  343. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/options.rb +279 -0
  344. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/parser.rb +764 -0
  345. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/railtie.rb +22 -0
  346. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/sass_rails_filter.rb +33 -0
  347. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/template.rb +32 -0
  348. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/template/options.rb +16 -0
  349. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/template/plugin.rb +41 -0
  350. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/util.rb +377 -0
  351. data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/version.rb +3 -0
  352. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/engine_test.rb +2013 -0
  353. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/erb/_av_partial_1.erb +12 -0
  354. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/erb/_av_partial_2.erb +8 -0
  355. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/erb/action_view.erb +62 -0
  356. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/erb/standard.erb +55 -0
  357. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/filters_test.rb +254 -0
  358. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.0.x +5 -0
  359. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.1.x +6 -0
  360. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.2.x +5 -0
  361. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-4.0.x +5 -0
  362. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/LICENSE +14 -0
  363. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/README.md +106 -0
  364. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/lua_haml_spec.lua +38 -0
  365. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/perl_haml_test.pl +81 -0
  366. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/ruby_haml_test.rb +23 -0
  367. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/tests.json +660 -0
  368. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/helper_test.rb +583 -0
  369. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/markaby/standard.mab +52 -0
  370. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/mocks/article.rb +6 -0
  371. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/parser_test.rb +105 -0
  372. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/content_for_layout.xhtml +12 -0
  373. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/eval_suppressed.xhtml +9 -0
  374. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/helpers.xhtml +70 -0
  375. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/helpful.xhtml +10 -0
  376. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/just_stuff.xhtml +70 -0
  377. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/list.xhtml +12 -0
  378. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/nuke_inner_whitespace.xhtml +40 -0
  379. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/nuke_outer_whitespace.xhtml +148 -0
  380. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/original_engine.xhtml +20 -0
  381. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/partial_layout.xhtml +5 -0
  382. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/partial_layout_erb.xhtml +5 -0
  383. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/partials.xhtml +21 -0
  384. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/render_layout.xhtml +3 -0
  385. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/silent_script.xhtml +74 -0
  386. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/standard.xhtml +162 -0
  387. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/tag_parsing.xhtml +23 -0
  388. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/very_basic.xhtml +5 -0
  389. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/whitespace_handling.xhtml +90 -0
  390. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/template_test.rb +354 -0
  391. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_av_partial_1.haml +9 -0
  392. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_av_partial_1_ugly.haml +9 -0
  393. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_av_partial_2.haml +5 -0
  394. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_av_partial_2_ugly.haml +5 -0
  395. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_layout.erb +3 -0
  396. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_layout_for_partial.haml +3 -0
  397. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_partial.haml +8 -0
  398. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_text_area.haml +3 -0
  399. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_text_area_helper.html.haml +4 -0
  400. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/action_view.haml +47 -0
  401. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/action_view_ugly.haml +47 -0
  402. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/breakage.haml +8 -0
  403. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/content_for_layout.haml +8 -0
  404. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/eval_suppressed.haml +11 -0
  405. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/helpers.haml +55 -0
  406. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/helpful.haml +11 -0
  407. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/just_stuff.haml +85 -0
  408. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/list.haml +12 -0
  409. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/nuke_inner_whitespace.haml +32 -0
  410. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/nuke_outer_whitespace.haml +144 -0
  411. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/original_engine.haml +17 -0
  412. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/partial_layout.haml +3 -0
  413. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/partial_layout_erb.erb +4 -0
  414. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/partialize.haml +1 -0
  415. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/partials.haml +12 -0
  416. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/render_layout.haml +2 -0
  417. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml +45 -0
  418. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/standard.haml +43 -0
  419. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/standard_ugly.haml +43 -0
  420. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/tag_parsing.haml +21 -0
  421. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/very_basic.haml +4 -0
  422. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/whitespace_handling.haml +87 -0
  423. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/test_helper.rb +81 -0
  424. data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/util_test.rb +63 -0
  425. data/bundle/ruby/2.3.0/gems/highline-1.7.8/AUTHORS +3 -0
  426. data/bundle/ruby/2.3.0/gems/highline-1.7.8/COPYING +339 -0
  427. data/bundle/ruby/2.3.0/gems/highline-1.7.8/Changelog.md +415 -0
  428. data/bundle/ruby/2.3.0/gems/highline-1.7.8/Gemfile +9 -0
  429. data/bundle/ruby/2.3.0/gems/highline-1.7.8/INSTALL +59 -0
  430. data/bundle/ruby/2.3.0/gems/highline-1.7.8/LICENSE +7 -0
  431. data/bundle/ruby/2.3.0/gems/highline-1.7.8/README.rdoc +74 -0
  432. data/bundle/ruby/2.3.0/gems/highline-1.7.8/Rakefile +30 -0
  433. data/bundle/ruby/2.3.0/gems/highline-1.7.8/TODO +6 -0
  434. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/ansi_colors.rb +38 -0
  435. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/asking_for_arrays.rb +18 -0
  436. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/basic_usage.rb +75 -0
  437. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/color_scheme.rb +32 -0
  438. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/get_character.rb +12 -0
  439. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/limit.rb +12 -0
  440. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/menus.rb +65 -0
  441. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/overwrite.rb +19 -0
  442. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/page_and_wrap.rb +322 -0
  443. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/password.rb +7 -0
  444. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/repeat_entry.rb +21 -0
  445. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/trapping_eof.rb +22 -0
  446. data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/using_readline.rb +17 -0
  447. data/bundle/ruby/2.3.0/gems/highline-1.7.8/highline.gemspec +37 -0
  448. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline.rb +1048 -0
  449. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/color_scheme.rb +134 -0
  450. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/compatibility.rb +16 -0
  451. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/import.rb +41 -0
  452. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/menu.rb +381 -0
  453. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/question.rb +480 -0
  454. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/simulate.rb +48 -0
  455. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/string_extensions.rb +111 -0
  456. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/style.rb +192 -0
  457. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/system_extensions.rb +254 -0
  458. data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/version.rb +4 -0
  459. data/bundle/ruby/2.3.0/gems/highline-1.7.8/setup.rb +1360 -0
  460. data/bundle/ruby/2.3.0/gems/highline-1.7.8/site/highline.css +65 -0
  461. data/bundle/ruby/2.3.0/gems/highline-1.7.8/site/images/logo.png +0 -0
  462. data/bundle/ruby/2.3.0/gems/highline-1.7.8/site/index.html +58 -0
  463. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/string_methods.rb +32 -0
  464. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_color_scheme.rb +96 -0
  465. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_highline.rb +1402 -0
  466. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_import.rb +52 -0
  467. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_menu.rb +439 -0
  468. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_simulator.rb +23 -0
  469. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_string_extension.rb +33 -0
  470. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_string_highline.rb +38 -0
  471. data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_style.rb +578 -0
  472. data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/History.txt +371 -0
  473. data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/Manifest.txt +8 -0
  474. data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/README.txt +87 -0
  475. data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/Rakefile +92 -0
  476. data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/bin/r2r_show +33 -0
  477. data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/lib/ruby2ruby.rb +1159 -0
  478. data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/test/test_ruby2ruby.rb +709 -0
  479. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/History.txt +882 -0
  480. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/Manifest.txt +29 -0
  481. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/README.txt +93 -0
  482. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/Rakefile +187 -0
  483. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/bin/ruby_parse +96 -0
  484. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/bin/ruby_parse_extract_error +156 -0
  485. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby18_parser.rb +5773 -0
  486. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby18_parser.y +1899 -0
  487. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby19_parser.rb +6171 -0
  488. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby19_parser.y +2109 -0
  489. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby20_parser.rb +6723 -0
  490. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby20_parser.y +2372 -0
  491. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby21_parser.rb +6764 -0
  492. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby21_parser.y +2382 -0
  493. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby22_parser.rb +6804 -0
  494. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby22_parser.y +2393 -0
  495. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby23_parser.rb +6905 -0
  496. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby23_parser.y +2425 -0
  497. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_lexer.rb +1237 -0
  498. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_lexer.rex +177 -0
  499. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_lexer.rex.rb +317 -0
  500. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_parser.rb +7 -0
  501. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_parser.yy +2506 -0
  502. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_parser_extras.rb +1460 -0
  503. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/test/test_ruby_lexer.rb +2723 -0
  504. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/test/test_ruby_parser.rb +3502 -0
  505. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/test/test_ruby_parser_extras.rb +228 -0
  506. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/CHANGES.md +149 -0
  507. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/Gemfile +11 -0
  508. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/LICENSE.txt +22 -0
  509. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/README.md +191 -0
  510. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/Rakefile +26 -0
  511. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/bin/safe_yaml +75 -0
  512. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/bundle_install_all_ruby_versions.sh +11 -0
  513. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml.rb +94 -0
  514. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/deep.rb +34 -0
  515. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/libyaml_checker.rb +36 -0
  516. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb +181 -0
  517. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb +35 -0
  518. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/hexadecimal.rb +12 -0
  519. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/sexagesimal.rb +26 -0
  520. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_handler.rb +99 -0
  521. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb +52 -0
  522. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/resolver.rb +94 -0
  523. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
  524. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_hack.rb +36 -0
  525. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
  526. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_resolver.rb +38 -0
  527. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform.rb +41 -0
  528. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_boolean.rb +21 -0
  529. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_date.rb +13 -0
  530. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_float.rb +33 -0
  531. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_integer.rb +26 -0
  532. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_nil.rb +18 -0
  533. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_symbol.rb +17 -0
  534. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/transformation_map.rb +47 -0
  535. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/version.rb +3 -0
  536. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/run_specs_all_ruby_versions.sh +38 -0
  537. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/safe_yaml.gemspec +19 -0
  538. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.2.yaml +2 -0
  539. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.3.yaml +2 -0
  540. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/issue48.txt +20 -0
  541. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/issue49.yml +0 -0
  542. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/libyaml_checker_spec.rb +69 -0
  543. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/psych_resolver_spec.rb +10 -0
  544. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/resolver_specs.rb +278 -0
  545. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/safe_yaml_spec.rb +731 -0
  546. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/spec_helper.rb +42 -0
  547. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/support/exploitable_back_door.rb +29 -0
  548. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/syck_resolver_spec.rb +10 -0
  549. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/base64_spec.rb +11 -0
  550. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_date_spec.rb +60 -0
  551. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_float_spec.rb +42 -0
  552. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_integer_spec.rb +64 -0
  553. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_symbol_spec.rb +51 -0
  554. data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/yaml_spec.rb +15 -0
  555. data/bundle/ruby/2.3.0/gems/sass-3.4.22/CODE_OF_CONDUCT.md +10 -0
  556. data/bundle/ruby/2.3.0/gems/sass-3.4.22/CONTRIBUTING.md +125 -0
  557. data/bundle/ruby/2.3.0/gems/sass-3.4.22/MIT-LICENSE +20 -0
  558. data/bundle/ruby/2.3.0/gems/sass-3.4.22/README.md +227 -0
  559. data/bundle/ruby/2.3.0/gems/sass-3.4.22/REVISION +1 -0
  560. data/bundle/ruby/2.3.0/gems/sass-3.4.22/Rakefile +432 -0
  561. data/bundle/ruby/2.3.0/gems/sass-3.4.22/VERSION +1 -0
  562. data/bundle/ruby/2.3.0/gems/sass-3.4.22/VERSION_DATE +1 -0
  563. data/bundle/ruby/2.3.0/gems/sass-3.4.22/VERSION_NAME +1 -0
  564. data/bundle/ruby/2.3.0/gems/sass-3.4.22/bin/sass +13 -0
  565. data/bundle/ruby/2.3.0/gems/sass-3.4.22/bin/sass-convert +12 -0
  566. data/bundle/ruby/2.3.0/gems/sass-3.4.22/bin/scss +13 -0
  567. data/bundle/ruby/2.3.0/gems/sass-3.4.22/extra/update_watch.rb +13 -0
  568. data/bundle/ruby/2.3.0/gems/sass-3.4.22/init.rb +18 -0
  569. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass.rb +109 -0
  570. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores.rb +15 -0
  571. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/base.rb +88 -0
  572. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/chain.rb +34 -0
  573. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/filesystem.rb +60 -0
  574. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/memory.rb +46 -0
  575. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/null.rb +25 -0
  576. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/callbacks.rb +67 -0
  577. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/css.rb +408 -0
  578. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/engine.rb +1218 -0
  579. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/environment.rb +215 -0
  580. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/error.rb +198 -0
  581. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec.rb +9 -0
  582. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec/base.rb +199 -0
  583. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec/sass_convert.rb +283 -0
  584. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec/sass_scss.rb +440 -0
  585. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/features.rb +47 -0
  586. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/importers.rb +23 -0
  587. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/importers/base.rb +182 -0
  588. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/importers/deprecated_path.rb +51 -0
  589. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/importers/filesystem.rb +219 -0
  590. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/logger.rb +12 -0
  591. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/logger/base.rb +30 -0
  592. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/logger/log_level.rb +45 -0
  593. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/media.rb +210 -0
  594. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin.rb +134 -0
  595. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/compiler.rb +582 -0
  596. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/configuration.rb +134 -0
  597. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/generic.rb +15 -0
  598. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/merb.rb +48 -0
  599. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/rack.rb +60 -0
  600. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/rails.rb +47 -0
  601. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/staleness_checker.rb +199 -0
  602. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/railtie.rb +10 -0
  603. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/repl.rb +57 -0
  604. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/root.rb +7 -0
  605. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script.rb +66 -0
  606. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/css_lexer.rb +33 -0
  607. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/css_parser.rb +33 -0
  608. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/css_variable_warning.rb +52 -0
  609. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/functions.rb +2690 -0
  610. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/lexer.rb +464 -0
  611. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/parser.rb +825 -0
  612. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree.rb +16 -0
  613. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/funcall.rb +313 -0
  614. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/interpolation.rb +223 -0
  615. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/list_literal.rb +104 -0
  616. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/literal.rb +49 -0
  617. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/map_literal.rb +64 -0
  618. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/node.rb +127 -0
  619. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/operation.rb +129 -0
  620. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/selector.rb +26 -0
  621. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/string_interpolation.rb +125 -0
  622. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/unary_operation.rb +69 -0
  623. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/variable.rb +57 -0
  624. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value.rb +11 -0
  625. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/arg_list.rb +36 -0
  626. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/base.rb +241 -0
  627. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/bool.rb +35 -0
  628. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/color.rb +698 -0
  629. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/helpers.rb +272 -0
  630. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/list.rb +113 -0
  631. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/map.rb +70 -0
  632. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/null.rb +44 -0
  633. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/number.rb +561 -0
  634. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/string.rb +145 -0
  635. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss.rb +14 -0
  636. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/css_parser.rb +56 -0
  637. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/parser.rb +1236 -0
  638. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/rx.rb +140 -0
  639. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/static_parser.rb +366 -0
  640. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector.rb +323 -0
  641. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/abstract_sequence.rb +111 -0
  642. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/comma_sequence.rb +179 -0
  643. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/pseudo.rb +266 -0
  644. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/sequence.rb +636 -0
  645. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/simple.rb +116 -0
  646. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/simple_sequence.rb +344 -0
  647. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/shared.rb +76 -0
  648. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/source/map.rb +211 -0
  649. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/source/position.rb +39 -0
  650. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/source/range.rb +41 -0
  651. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/stack.rb +120 -0
  652. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/supports.rb +225 -0
  653. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/at_root_node.rb +83 -0
  654. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/charset_node.rb +22 -0
  655. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/comment_node.rb +82 -0
  656. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/content_node.rb +9 -0
  657. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/css_import_node.rb +68 -0
  658. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/debug_node.rb +18 -0
  659. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/directive_node.rb +59 -0
  660. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/each_node.rb +24 -0
  661. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/error_node.rb +18 -0
  662. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/extend_node.rb +43 -0
  663. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/for_node.rb +36 -0
  664. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/function_node.rb +44 -0
  665. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/if_node.rb +52 -0
  666. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/import_node.rb +75 -0
  667. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/keyframe_rule_node.rb +15 -0
  668. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/media_node.rb +48 -0
  669. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/mixin_def_node.rb +38 -0
  670. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/mixin_node.rb +52 -0
  671. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/node.rb +240 -0
  672. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/prop_node.rb +170 -0
  673. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/return_node.rb +19 -0
  674. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/root_node.rb +44 -0
  675. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/rule_node.rb +146 -0
  676. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/supports_node.rb +38 -0
  677. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/trace_node.rb +33 -0
  678. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/variable_node.rb +36 -0
  679. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/base.rb +72 -0
  680. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/check_nesting.rb +173 -0
  681. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/convert.rb +349 -0
  682. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/cssize.rb +373 -0
  683. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/deep_copy.rb +107 -0
  684. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/extend.rb +70 -0
  685. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/perform.rb +563 -0
  686. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/set_options.rb +139 -0
  687. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/to_css.rb +409 -0
  688. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/warn_node.rb +18 -0
  689. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/while_node.rb +18 -0
  690. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util.rb +1350 -0
  691. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/cross_platform_random.rb +19 -0
  692. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/multibyte_string_scanner.rb +155 -0
  693. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/normalized_map.rb +129 -0
  694. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/ordered_hash.rb +192 -0
  695. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/subset_map.rb +109 -0
  696. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/test.rb +9 -0
  697. data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/version.rb +124 -0
  698. data/bundle/ruby/2.3.0/gems/sass-3.4.22/rails/init.rb +1 -0
  699. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass-spec.yml +3 -0
  700. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/cache_test.rb +131 -0
  701. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/callbacks_test.rb +61 -0
  702. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/compiler_test.rb +236 -0
  703. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/conversion_test.rb +2171 -0
  704. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/css2sass_test.rb +526 -0
  705. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/css_variable_test.rb +132 -0
  706. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/data/hsl-rgb.txt +319 -0
  707. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/encoding_test.rb +219 -0
  708. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/engine_test.rb +3441 -0
  709. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/exec_test.rb +96 -0
  710. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/extend_test.rb +1707 -0
  711. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/fixtures/test_staleness_check_across_importers.css +1 -0
  712. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/fixtures/test_staleness_check_across_importers.scss +1 -0
  713. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/functions_test.rb +1974 -0
  714. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/importer_test.rb +421 -0
  715. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/logger_test.rb +58 -0
  716. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/mock_importer.rb +49 -0
  717. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_results/more1.css +9 -0
  718. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_results/more1_with_line_comments.css +26 -0
  719. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_results/more_import.css +29 -0
  720. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_templates/_more_partial.sass +2 -0
  721. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_templates/more1.sass +23 -0
  722. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_templates/more_import.sass +11 -0
  723. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/plugin_test.rb +556 -0
  724. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/alt.css +4 -0
  725. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/basic.css +9 -0
  726. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/cached_import_option.css +3 -0
  727. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/compact.css +5 -0
  728. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/complex.css +86 -0
  729. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/compressed.css +1 -0
  730. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/expanded.css +19 -0
  731. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/filename_fn.css +3 -0
  732. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/if.css +3 -0
  733. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import.css +31 -0
  734. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import_charset.css +5 -0
  735. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import_charset_1_8.css +5 -0
  736. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import_charset_ibm866.css +5 -0
  737. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import_content.css +1 -0
  738. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/line_numbers.css +49 -0
  739. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/mixins.css +95 -0
  740. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/multiline.css +24 -0
  741. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/nested.css +22 -0
  742. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/options.css +1 -0
  743. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/parent_ref.css +13 -0
  744. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/script.css +16 -0
  745. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/scss_import.css +31 -0
  746. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/scss_importee.css +2 -0
  747. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
  748. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/subdir/subdir.css +3 -0
  749. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/units.css +11 -0
  750. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/warn.css +0 -0
  751. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/warn_imported.css +0 -0
  752. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/script_conversion_test.rb +357 -0
  753. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/script_test.rb +1422 -0
  754. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/scss/css_test.rb +1281 -0
  755. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/scss/rx_test.rb +160 -0
  756. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/scss/scss_test.rb +4157 -0
  757. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/scss/test_helper.rb +37 -0
  758. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/source_map_test.rb +1055 -0
  759. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/superselector_test.rb +210 -0
  760. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_cached_import_option_partial.scss +1 -0
  761. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_double_import_loop2.sass +1 -0
  762. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_filename_fn_import.scss +11 -0
  763. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_imported_charset_ibm866.sass +4 -0
  764. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_imported_charset_utf8.sass +4 -0
  765. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_imported_content.sass +3 -0
  766. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_partial.sass +2 -0
  767. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_same_name_different_partiality.scss +1 -0
  768. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/alt.sass +16 -0
  769. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/basic.sass +23 -0
  770. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork1.sass +2 -0
  771. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork2.sass +2 -0
  772. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork3.sass +2 -0
  773. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork4.sass +2 -0
  774. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork5.sass +3 -0
  775. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/cached_import_option.scss +3 -0
  776. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/compact.sass +17 -0
  777. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/complex.sass +305 -0
  778. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/compressed.sass +15 -0
  779. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/double_import_loop1.sass +1 -0
  780. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/expanded.sass +17 -0
  781. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/filename_fn.scss +18 -0
  782. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/if.sass +11 -0
  783. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import.sass +12 -0
  784. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import_charset.sass +9 -0
  785. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import_charset_1_8.sass +6 -0
  786. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import_charset_ibm866.sass +11 -0
  787. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import_content.sass +4 -0
  788. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/importee.less +2 -0
  789. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/importee.sass +19 -0
  790. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/line_numbers.sass +13 -0
  791. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/mixin_bork.sass +5 -0
  792. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/mixins.sass +76 -0
  793. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/multiline.sass +20 -0
  794. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested.sass +25 -0
  795. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_bork1.sass +2 -0
  796. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_bork2.sass +2 -0
  797. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_bork3.sass +2 -0
  798. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_bork4.sass +2 -0
  799. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_import.sass +2 -0
  800. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_mixin_bork.sass +6 -0
  801. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/options.sass +2 -0
  802. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/parent_ref.sass +25 -0
  803. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/same_name_different_ext.sass +2 -0
  804. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/same_name_different_ext.scss +1 -0
  805. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/same_name_different_partiality.scss +1 -0
  806. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/script.sass +101 -0
  807. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/scss_import.scss +12 -0
  808. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/scss_importee.scss +1 -0
  809. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/single_import_loop.sass +1 -0
  810. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/import_up1.scss +1 -0
  811. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/import_up2.scss +1 -0
  812. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
  813. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
  814. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/subdir.sass +6 -0
  815. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/units.sass +11 -0
  816. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/warn.sass +3 -0
  817. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/warn_imported.sass +4 -0
  818. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/test_helper.rb +8 -0
  819. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/util/multibyte_string_scanner_test.rb +147 -0
  820. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/util/normalized_map_test.rb +51 -0
  821. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/util/subset_map_test.rb +91 -0
  822. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/util_test.rb +438 -0
  823. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/value_helpers_test.rb +179 -0
  824. data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/test_helper.rb +110 -0
  825. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/CHANGELOG.md +1 -0
  826. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/CONTRIBUTING.md +38 -0
  827. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/Gemfile +20 -0
  828. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/Guardfile +8 -0
  829. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/LICENSE +20 -0
  830. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/README.md +349 -0
  831. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/Rakefile +5 -0
  832. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/Vagrantfile +96 -0
  833. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen.rb +54 -0
  834. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapter.rb +327 -0
  835. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/bsd.rb +75 -0
  836. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/darwin.rb +48 -0
  837. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/linux.rb +81 -0
  838. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/polling.rb +58 -0
  839. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/windows.rb +91 -0
  840. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/directory_record.rb +406 -0
  841. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/listener.rb +323 -0
  842. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/turnstile.rb +32 -0
  843. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/version.rb +3 -0
  844. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/listen.gemspec +28 -0
  845. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapter_spec.rb +149 -0
  846. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/bsd_spec.rb +36 -0
  847. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/darwin_spec.rb +37 -0
  848. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/linux_spec.rb +47 -0
  849. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/polling_spec.rb +68 -0
  850. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/windows_spec.rb +30 -0
  851. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/directory_record_spec.rb +1250 -0
  852. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/listener_spec.rb +258 -0
  853. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/turnstile_spec.rb +56 -0
  854. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen_spec.rb +67 -0
  855. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/spec_helper.rb +25 -0
  856. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/adapter_helper.rb +666 -0
  857. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/directory_record_helper.rb +57 -0
  858. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/fixtures_helper.rb +29 -0
  859. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/listeners_helper.rb +179 -0
  860. data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/platform_helper.rb +15 -0
  861. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/History.txt +278 -0
  862. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/Manifest.txt +13 -0
  863. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/README.txt +64 -0
  864. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/Rakefile +12 -0
  865. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/composite_sexp_processor.rb +49 -0
  866. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/pt_testcase.rb +3125 -0
  867. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/sexp.rb +338 -0
  868. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/sexp_processor.rb +695 -0
  869. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/unique.rb +15 -0
  870. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/test/test_composite_sexp_processor.rb +69 -0
  871. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/test/test_environment.rb +94 -0
  872. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/test/test_sexp.rb +356 -0
  873. data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/test/test_sexp_processor.rb +373 -0
  874. data/bundle/ruby/2.3.0/gems/slim-3.0.6/CHANGES +426 -0
  875. data/bundle/ruby/2.3.0/gems/slim-3.0.6/Gemfile +69 -0
  876. data/bundle/ruby/2.3.0/gems/slim-3.0.6/LICENSE +21 -0
  877. data/bundle/ruby/2.3.0/gems/slim-3.0.6/README.jp.md +1205 -0
  878. data/bundle/ruby/2.3.0/gems/slim-3.0.6/README.md +1205 -0
  879. data/bundle/ruby/2.3.0/gems/slim-3.0.6/Rakefile +100 -0
  880. data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/context.rb +11 -0
  881. data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/profile-parser.rb +10 -0
  882. data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/profile-render.rb +12 -0
  883. data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/run-benchmarks.rb +119 -0
  884. data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/run-diffbench.rb +21 -0
  885. data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/view.erb +23 -0
  886. data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/view.haml +18 -0
  887. data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/view.slim +17 -0
  888. data/bundle/ruby/2.3.0/gems/slim-3.0.6/bin/slimrb +6 -0
  889. data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/include.md +20 -0
  890. data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/jp/include.md +20 -0
  891. data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/jp/logic_less.md +137 -0
  892. data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/jp/smart.md +102 -0
  893. data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/jp/translator.md +28 -0
  894. data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/logic_less.md +137 -0
  895. data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/smart.md +103 -0
  896. data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/translator.md +28 -0
  897. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim.rb +14 -0
  898. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/code_attributes.rb +67 -0
  899. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/command.rb +128 -0
  900. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/controls.rb +60 -0
  901. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/do_inserter.rb +33 -0
  902. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/embedded.rb +273 -0
  903. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/end_inserter.rb +62 -0
  904. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/engine.rb +41 -0
  905. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/erb_converter.rb +14 -0
  906. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/filter.rb +30 -0
  907. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/grammar.rb +20 -0
  908. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/include.rb +57 -0
  909. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/interpolation.rb +35 -0
  910. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/logic_less.rb +5 -0
  911. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/logic_less/context.rb +127 -0
  912. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/logic_less/filter.rb +80 -0
  913. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/parser.rb +527 -0
  914. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/smart.rb +8 -0
  915. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/smart/escaper.rb +42 -0
  916. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/smart/filter.rb +96 -0
  917. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/smart/parser.rb +36 -0
  918. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/splat/builder.rb +101 -0
  919. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/splat/filter.rb +91 -0
  920. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/template.rb +19 -0
  921. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/translator.rb +118 -0
  922. data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/version.rb +5 -0
  923. data/bundle/ruby/2.3.0/gems/slim-3.0.6/slim.gemspec +24 -0
  924. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/helper.rb +211 -0
  925. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_blocks.rb +183 -0
  926. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_escaping.rb +150 -0
  927. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_evaluation.rb +180 -0
  928. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_output.rb +168 -0
  929. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_structure.rb +168 -0
  930. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_commands.rb +223 -0
  931. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_embedded_engines.rb +242 -0
  932. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_encoding.rb +28 -0
  933. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_erb_converter.rb +67 -0
  934. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_html_attributes.rb +268 -0
  935. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_html_escaping.rb +65 -0
  936. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_html_structure.rb +537 -0
  937. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_parser_errors.rb +148 -0
  938. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_pretty.rb +166 -0
  939. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_ruby_errors.rb +207 -0
  940. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_slim_template.rb +77 -0
  941. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_tabs.rb +169 -0
  942. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_text_interpolation.rb +79 -0
  943. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_thread_options.rb +18 -0
  944. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_unicode.rb +16 -0
  945. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/files/recursive.slim +1 -0
  946. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/files/slimfile.slim +3 -0
  947. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/files/subdir/test.slim +1 -0
  948. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/files/textfile +1 -0
  949. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/test_include.rb +24 -0
  950. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/literate/TESTS.md +1290 -0
  951. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/literate/helper.rb +15 -0
  952. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/literate/run.rb +92 -0
  953. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/logic_less/test_logic_less.rb +295 -0
  954. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/Rakefile +7 -0
  955. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/controllers/application_controller.rb +2 -0
  956. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/controllers/entries_controller.rb +5 -0
  957. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/controllers/slim_controller.rb +40 -0
  958. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/helpers/application_helper.rb +5 -0
  959. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/models/entry.rb +16 -0
  960. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/entries/edit.html.slim +3 -0
  961. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/layouts/application.html.slim +10 -0
  962. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/_partial.html.slim +1 -0
  963. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/content_for.html.slim +7 -0
  964. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/erb.html.erb +1 -0
  965. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/form_for.html.slim +2 -0
  966. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/helper.html.slim +4 -0
  967. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/integers.html.slim +1 -0
  968. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/no_layout.html.slim +1 -0
  969. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/normal.html.slim +1 -0
  970. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/partial.html.slim +2 -0
  971. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/splat.html.slim +2 -0
  972. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/thread_options.html.slim +1 -0
  973. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/variables.html.slim +1 -0
  974. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/xml.slim +1 -0
  975. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config.ru +4 -0
  976. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/application.rb +44 -0
  977. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/boot.rb +10 -0
  978. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/environment.rb +5 -0
  979. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/environments/test.rb +34 -0
  980. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/backtrace_silencers.rb +7 -0
  981. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/inflections.rb +10 -0
  982. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/mime_types.rb +5 -0
  983. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/secret_token.rb +7 -0
  984. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/session_store.rb +8 -0
  985. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/locales/en.yml +5 -0
  986. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/routes.rb +60 -0
  987. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/script/rails +6 -0
  988. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/test/helper.rb +31 -0
  989. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/test/test_slim.rb +90 -0
  990. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/smart/test_smart_text.rb +296 -0
  991. data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/translator/test_translator.rb +76 -0
  992. data/bundle/ruby/2.3.0/gems/temple-0.7.6/CHANGES +235 -0
  993. data/bundle/ruby/2.3.0/gems/temple-0.7.6/EXPRESSIONS.md +261 -0
  994. data/bundle/ruby/2.3.0/gems/temple-0.7.6/Gemfile +3 -0
  995. data/bundle/ruby/2.3.0/gems/temple-0.7.6/LICENSE +20 -0
  996. data/bundle/ruby/2.3.0/gems/temple-0.7.6/README.md +267 -0
  997. data/bundle/ruby/2.3.0/gems/temple-0.7.6/Rakefile +25 -0
  998. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple.rb +64 -0
  999. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/engine.rb +67 -0
  1000. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/erb/engine.rb +15 -0
  1001. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/erb/parser.rb +40 -0
  1002. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/erb/template.rb +11 -0
  1003. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/erb/trimming.rb +23 -0
  1004. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/exceptions.rb +13 -0
  1005. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filter.rb +9 -0
  1006. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/code_merger.rb +30 -0
  1007. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/control_flow.rb +42 -0
  1008. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/dynamic_inliner.rb +71 -0
  1009. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/encoding.rb +24 -0
  1010. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/eraser.rb +22 -0
  1011. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/escapable.rb +40 -0
  1012. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/multi_flattener.rb +25 -0
  1013. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/remove_bom.rb +13 -0
  1014. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/static_merger.rb +37 -0
  1015. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/validator.rb +15 -0
  1016. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generator.rb +88 -0
  1017. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/array.rb +21 -0
  1018. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/array_buffer.rb +28 -0
  1019. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/erb.rb +32 -0
  1020. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/rails_output_buffer.rb +35 -0
  1021. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/string_buffer.rb +25 -0
  1022. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/grammar.rb +57 -0
  1023. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/attribute_merger.rb +47 -0
  1024. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/attribute_remover.rb +35 -0
  1025. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/attribute_sorter.rb +21 -0
  1026. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/dispatcher.rb +31 -0
  1027. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/fast.rb +130 -0
  1028. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/filter.rb +21 -0
  1029. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/pretty.rb +103 -0
  1030. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/safe.rb +23 -0
  1031. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/map.rb +105 -0
  1032. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/dispatcher.rb +158 -0
  1033. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/engine_dsl.rb +145 -0
  1034. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/grammar_dsl.rb +170 -0
  1035. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/options.rb +87 -0
  1036. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/template.rb +28 -0
  1037. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/parser.rb +8 -0
  1038. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/templates.rb +11 -0
  1039. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/templates/rails.rb +26 -0
  1040. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/templates/tilt.rb +46 -0
  1041. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/utils.rb +90 -0
  1042. data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/version.rb +3 -0
  1043. data/bundle/ruby/2.3.0/gems/temple-0.7.6/temple.gemspec +29 -0
  1044. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_code_merger.rb +38 -0
  1045. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_control_flow.rb +90 -0
  1046. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_dynamic_inliner.rb +95 -0
  1047. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_eraser.rb +55 -0
  1048. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_escapable.rb +49 -0
  1049. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_multi_flattener.rb +33 -0
  1050. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_static_merger.rb +41 -0
  1051. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/helper.rb +30 -0
  1052. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_attribute_merger.rb +76 -0
  1053. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_attribute_remover.rb +43 -0
  1054. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_attribute_sorter.rb +48 -0
  1055. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_fast.rb +97 -0
  1056. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_pretty.rb +55 -0
  1057. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/mixins/test_dispatcher.rb +70 -0
  1058. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/mixins/test_grammar_dsl.rb +86 -0
  1059. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_engine.rb +189 -0
  1060. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_erb.rb +61 -0
  1061. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_filter.rb +29 -0
  1062. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_generator.rb +158 -0
  1063. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_grammar.rb +47 -0
  1064. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_map.rb +39 -0
  1065. data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_utils.rb +39 -0
  1066. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/Gemfile +4 -0
  1067. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/History.rdoc +48 -0
  1068. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/Manifest +27 -0
  1069. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/README.rdoc +240 -0
  1070. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/Rakefile +9 -0
  1071. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/Todo.rdoc +14 -0
  1072. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/examples/examples.rb +83 -0
  1073. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table.rb +26 -0
  1074. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/cell.rb +92 -0
  1075. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/import.rb +3 -0
  1076. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/row.rb +48 -0
  1077. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/separator.rb +14 -0
  1078. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/style.rb +62 -0
  1079. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/table.rb +226 -0
  1080. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/table_helper.rb +9 -0
  1081. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/version.rb +5 -0
  1082. data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/terminal-table.gemspec +24 -0
  1083. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/CHANGELOG.md +84 -0
  1084. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/COPYING +18 -0
  1085. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/Gemfile +64 -0
  1086. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/HACKING +16 -0
  1087. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/README.md +226 -0
  1088. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/Rakefile +105 -0
  1089. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/bin/tilt +122 -0
  1090. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/docs/TEMPLATES.md +524 -0
  1091. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/docs/common.css +14 -0
  1092. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt.rb +159 -0
  1093. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/asciidoc.rb +27 -0
  1094. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/babel.rb +15 -0
  1095. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/bluecloth.rb +24 -0
  1096. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/builder.rb +33 -0
  1097. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/coffee.rb +58 -0
  1098. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/creole.rb +25 -0
  1099. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/csv.rb +65 -0
  1100. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/erb.rb +57 -0
  1101. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/erubis.rb +43 -0
  1102. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/etanni.rb +27 -0
  1103. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/haml.rb +58 -0
  1104. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/kramdown.rb +25 -0
  1105. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/less.rb +30 -0
  1106. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/liquid.rb +38 -0
  1107. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/mapping.rb +265 -0
  1108. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/markaby.rb +45 -0
  1109. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/maruku.rb +22 -0
  1110. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/nokogiri.rb +36 -0
  1111. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/plain.rb +16 -0
  1112. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/prawn.rb +43 -0
  1113. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/radius.rb +48 -0
  1114. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/rdiscount.rb +39 -0
  1115. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/rdoc.rb +40 -0
  1116. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/redcarpet.rb +83 -0
  1117. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/redcloth.rb +23 -0
  1118. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/sass.rb +41 -0
  1119. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/string.rb +21 -0
  1120. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/template.rb +295 -0
  1121. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/wikicloth.rb +22 -0
  1122. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/yajl.rb +87 -0
  1123. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/man/index.txt +2 -0
  1124. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/man/tilt.1.ronn +59 -0
  1125. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/locals.mab +1 -0
  1126. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/markaby.mab +1 -0
  1127. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/markaby_other_static.mab +1 -0
  1128. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/render_twice.mab +1 -0
  1129. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/scope.mab +1 -0
  1130. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/yielding.mab +2 -0
  1131. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/test_helper.rb +64 -0
  1132. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_asciidoctor_test.rb +50 -0
  1133. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_babeltemplate.rb +33 -0
  1134. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_blueclothtemplate_test.rb +33 -0
  1135. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_buildertemplate_test.rb +59 -0
  1136. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_cache_test.rb +43 -0
  1137. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_coffeescripttemplate_test.rb +141 -0
  1138. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_compilesite_test.rb +51 -0
  1139. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_creoletemplate_test.rb +24 -0
  1140. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_csv_test.rb +77 -0
  1141. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_erbtemplate_test.rb +239 -0
  1142. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_erubistemplate_test.rb +151 -0
  1143. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_etannitemplate_test.rb +174 -0
  1144. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_hamltemplate_test.rb +166 -0
  1145. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_kramdown_test.rb +20 -0
  1146. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_lesstemplate_test.less +1 -0
  1147. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_lesstemplate_test.rb +42 -0
  1148. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_liquidtemplate_test.rb +78 -0
  1149. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_mapping_test.rb +229 -0
  1150. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_markaby_test.rb +88 -0
  1151. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_markdown_test.rb +177 -0
  1152. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_marukutemplate_test.rb +36 -0
  1153. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_metadata_test.rb +42 -0
  1154. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_nokogiritemplate_test.rb +87 -0
  1155. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_prawntemplate.prawn +1 -0
  1156. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_prawntemplate_test.rb +75 -0
  1157. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_radiustemplate_test.rb +75 -0
  1158. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_rdiscounttemplate_test.rb +43 -0
  1159. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_rdoctemplate_test.rb +29 -0
  1160. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_redcarpettemplate_test.rb +54 -0
  1161. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_redclothtemplate_test.rb +36 -0
  1162. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_sasstemplate_test.rb +41 -0
  1163. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_stringtemplate_test.rb +171 -0
  1164. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_template_test.rb +308 -0
  1165. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_test.rb +60 -0
  1166. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_wikiclothtemplate_test.rb +32 -0
  1167. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_yajltemplate_test.rb +101 -0
  1168. data/bundle/ruby/2.3.0/gems/tilt-2.0.2/tilt.gemspec +114 -0
  1169. data/lib/brakeman.rb +9 -1
  1170. data/lib/brakeman/call_index.rb +1 -1
  1171. data/lib/brakeman/checks/check_content_tag.rb +1 -1
  1172. data/lib/brakeman/checks/check_cross_site_scripting.rb +1 -1
  1173. data/lib/brakeman/checks/check_execute.rb +4 -0
  1174. data/lib/brakeman/checks/check_forgery_setting.rb +3 -2
  1175. data/lib/brakeman/checks/check_link_to.rb +1 -1
  1176. data/lib/brakeman/checks/check_link_to_href.rb +2 -2
  1177. data/lib/brakeman/checks/check_mass_assignment.rb +1 -1
  1178. data/lib/brakeman/checks/check_redirect.rb +6 -0
  1179. data/lib/brakeman/checks/check_secrets.rb +40 -0
  1180. data/lib/brakeman/checks/check_sql.rb +1 -1
  1181. data/lib/brakeman/processor.rb +6 -6
  1182. data/lib/brakeman/processors/alias_processor.rb +29 -3
  1183. data/lib/brakeman/processors/base_processor.rb +35 -4
  1184. data/lib/brakeman/processors/controller_alias_processor.rb +4 -4
  1185. data/lib/brakeman/processors/haml_template_processor.rb +1 -1
  1186. data/lib/brakeman/processors/lib/basic_processor.rb +18 -0
  1187. data/lib/brakeman/processors/lib/rails2_config_processor.rb +3 -2
  1188. data/lib/brakeman/processors/lib/rails2_route_processor.rb +2 -1
  1189. data/lib/brakeman/processors/lib/rails3_config_processor.rb +3 -2
  1190. data/lib/brakeman/processors/lib/rails3_route_processor.rb +2 -1
  1191. data/lib/brakeman/processors/template_alias_processor.rb +4 -4
  1192. data/lib/brakeman/processors/template_processor.rb +1 -0
  1193. data/lib/brakeman/report/report_codeclimate.rb +2 -1
  1194. data/lib/brakeman/scanner.rb +1 -1
  1195. data/lib/brakeman/tracker.rb +11 -1
  1196. data/lib/brakeman/tracker/constants.rb +101 -0
  1197. data/lib/brakeman/util.rb +4 -0
  1198. data/lib/brakeman/version.rb +1 -1
  1199. data/lib/brakeman/warning_codes.rb +1 -0
  1200. data/lib/ruby_parser/bm_sexp.rb +6 -0
  1201. metadata +1171 -162
@@ -0,0 +1,2109 @@
1
+ # -*- racc -*-
2
+
3
+ class Ruby19Parser
4
+
5
+ token kCLASS kMODULE kDEF kUNDEF kBEGIN kRESCUE kENSURE kEND kIF kUNLESS
6
+ kTHEN kELSIF kELSE kCASE kWHEN kWHILE kUNTIL kFOR kBREAK kNEXT
7
+ kREDO kRETRY kIN kDO kDO_COND kDO_BLOCK kDO_LAMBDA kRETURN kYIELD kSUPER
8
+ kSELF kNIL kTRUE kFALSE kAND kOR kNOT kIF_MOD kUNLESS_MOD kWHILE_MOD
9
+ kUNTIL_MOD kRESCUE_MOD kALIAS kDEFINED klBEGIN klEND k__LINE__
10
+ k__FILE__ k__ENCODING__ tIDENTIFIER tFID tGVAR tIVAR tCONSTANT
11
+ tLABEL tCVAR tNTH_REF tBACK_REF tSTRING_CONTENT tINTEGER tFLOAT
12
+ tREGEXP_END tUPLUS tUMINUS tUMINUS_NUM tPOW tCMP tEQ tEQQ tNEQ
13
+ tGEQ tLEQ tANDOP tOROP tMATCH tNMATCH tDOT tDOT2 tDOT3 tAREF
14
+ tASET tLSHFT tRSHFT tCOLON2 tCOLON3 tOP_ASGN tASSOC tLPAREN
15
+ tLPAREN2 tRPAREN tLPAREN_ARG tLBRACK tLBRACK2 tRBRACK tLBRACE
16
+ tLBRACE_ARG tSTAR tSTAR2 tAMPER tAMPER2 tTILDE tPERCENT tDIVIDE
17
+ tPLUS tMINUS tLT tGT tPIPE tBANG tCARET tLCURLY tRCURLY
18
+ tBACK_REF2 tSYMBEG tSTRING_BEG tXSTRING_BEG tREGEXP_BEG
19
+ tWORDS_BEG tQWORDS_BEG tSTRING_DBEG tSTRING_DVAR tSTRING_END
20
+ tSTRING tSYMBOL tNL tEH tCOLON tCOMMA tSPACE tSEMI tLAST_TOKEN
21
+ tLAMBDA tLAMBEG
22
+
23
+ prechigh
24
+ right tBANG tTILDE tUPLUS
25
+ right tPOW
26
+ right tUMINUS_NUM tUMINUS
27
+ left tSTAR2 tDIVIDE tPERCENT
28
+ left tPLUS tMINUS
29
+ left tLSHFT tRSHFT
30
+ left tAMPER2
31
+ left tPIPE tCARET
32
+ left tGT tGEQ tLT tLEQ
33
+ nonassoc tCMP tEQ tEQQ tNEQ tMATCH tNMATCH
34
+ left tANDOP
35
+ left tOROP
36
+ nonassoc tDOT2 tDOT3
37
+ right tEH tCOLON
38
+ left kRESCUE_MOD
39
+ right tEQL tOP_ASGN
40
+ nonassoc kDEFINED
41
+ right kNOT
42
+ left kOR kAND
43
+ nonassoc kIF_MOD kUNLESS_MOD kWHILE_MOD kUNTIL_MOD
44
+ nonassoc tLBRACE_ARG
45
+ nonassoc tLOWEST
46
+ preclow
47
+
48
+ rule
49
+
50
+ program: {
51
+ self.lexer.lex_state = :expr_beg
52
+ }
53
+ top_compstmt
54
+ {
55
+ result = new_compstmt val
56
+ }
57
+
58
+ top_compstmt: top_stmts opt_terms
59
+ {
60
+ result = val[0]
61
+ }
62
+
63
+ top_stmts: none
64
+ | top_stmt
65
+ | top_stmts terms top_stmt
66
+ {
67
+ result = self.block_append val[0], val[2]
68
+ }
69
+ | error top_stmt
70
+
71
+ top_stmt: stmt
72
+ | klBEGIN
73
+ {
74
+ if (self.in_def || self.in_single > 0) then
75
+ yyerror "BEGIN in method"
76
+ end
77
+ self.env.extend
78
+ }
79
+ tLCURLY top_compstmt tRCURLY
80
+ {
81
+ result = new_iter s(:preexe), nil, val[3]
82
+ }
83
+
84
+ bodystmt: compstmt opt_rescue opt_else opt_ensure
85
+ {
86
+ result = new_body val
87
+ }
88
+
89
+ compstmt: stmts opt_terms
90
+ {
91
+ result = new_compstmt val
92
+ }
93
+
94
+ stmts: none
95
+ | stmt
96
+ | stmts terms stmt
97
+ {
98
+ result = self.block_append val[0], val[2]
99
+ }
100
+ | error stmt
101
+ {
102
+ result = val[1]
103
+ }
104
+
105
+ stmt: kALIAS fitem
106
+ {
107
+ lexer.lex_state = :expr_fname
108
+ result = self.lexer.lineno
109
+ }
110
+ fitem
111
+ {
112
+ result = s(:alias, val[1], val[3]).line(val[2])
113
+ }
114
+ | kALIAS tGVAR tGVAR
115
+ {
116
+ result = s(:valias, val[1].to_sym, val[2].to_sym)
117
+ }
118
+ | kALIAS tGVAR tBACK_REF
119
+ {
120
+ result = s(:valias, val[1].to_sym, :"$#{val[2]}")
121
+ }
122
+ | kALIAS tGVAR tNTH_REF
123
+ {
124
+ yyerror "can't make alias for the number variables"
125
+ }
126
+ | kUNDEF undef_list
127
+ {
128
+ result = val[1]
129
+ }
130
+ | stmt kIF_MOD expr_value
131
+ {
132
+ result = new_if val[2], val[0], nil
133
+ }
134
+ | stmt kUNLESS_MOD expr_value
135
+ {
136
+ result = new_if val[2], nil, val[0]
137
+ }
138
+ | stmt kWHILE_MOD expr_value
139
+ {
140
+ result = new_while val[0], val[2], true
141
+ }
142
+ | stmt kUNTIL_MOD expr_value
143
+ {
144
+ result = new_until val[0], val[2], true
145
+ }
146
+ | stmt kRESCUE_MOD stmt
147
+ {
148
+ result = s(:rescue, val[0], new_resbody(s(:array), val[2]))
149
+ }
150
+ | klEND tLCURLY compstmt tRCURLY
151
+ {
152
+ if (self.in_def || self.in_single > 0) then
153
+ yyerror "END in method; use at_exit"
154
+ end
155
+ result = new_iter s(:postexe), 0, val[2]
156
+ }
157
+ | command_asgn
158
+ | mlhs tEQL command_call
159
+ {
160
+ result = new_masgn val[0], val[2], :wrap
161
+ }
162
+ | var_lhs tOP_ASGN command_call
163
+ {
164
+ result = new_op_asgn val
165
+ }
166
+ | primary_value tLBRACK2 opt_call_args rbracket tOP_ASGN command_call
167
+ {
168
+ result = s(:op_asgn1, val[0], val[2], val[4].to_sym, val[5])
169
+ }
170
+ | primary_value tDOT tIDENTIFIER tOP_ASGN command_call
171
+ {
172
+ result = s(:op_asgn, val[0], val[4], val[2].to_sym, val[3].to_sym)
173
+ }
174
+ | primary_value tDOT tCONSTANT tOP_ASGN command_call
175
+ {
176
+ result = s(:op_asgn, val[0], val[4], val[2].to_sym, val[3].to_sym)
177
+ }
178
+ | primary_value tCOLON2 tCONSTANT tOP_ASGN command_call
179
+ {
180
+ result = s(:op_asgn, val[0], val[4], val[2], val[3])
181
+ }
182
+ | primary_value tCOLON2 tIDENTIFIER tOP_ASGN command_call
183
+ {
184
+ result = s(:op_asgn, val[0], val[4], val[2], val[3])
185
+ }
186
+ | backref tOP_ASGN command_call
187
+ {
188
+ self.backref_assign_error val[0]
189
+ }
190
+ | lhs tEQL mrhs
191
+ {
192
+ result = self.node_assign val[0], s(:svalue, val[2])
193
+ }
194
+ | mlhs tEQL arg_value
195
+ {
196
+ result = new_masgn val[0], val[2], :wrap
197
+ }
198
+ | mlhs tEQL mrhs
199
+ {
200
+ result = new_masgn val[0], val[2]
201
+ }
202
+ | expr
203
+
204
+ command_asgn: lhs tEQL command_call
205
+ {
206
+ result = self.node_assign val[0], val[2]
207
+ }
208
+ | lhs tEQL command_asgn
209
+ {
210
+ result = self.node_assign val[0], val[2]
211
+ }
212
+
213
+ expr: command_call
214
+ | expr kAND expr
215
+ {
216
+ result = logop(:and, val[0], val[2])
217
+ }
218
+ | expr kOR expr
219
+ {
220
+ result = logop(:or, val[0], val[2])
221
+ }
222
+ | kNOT opt_nl expr
223
+ {
224
+ result = s(:call, val[2], :"!")
225
+ }
226
+ | tBANG command_call
227
+ {
228
+ result = s(:call, val[1], :"!")
229
+ }
230
+ | arg
231
+
232
+ expr_value: expr
233
+ {
234
+ result = value_expr(val[0])
235
+ }
236
+
237
+ command_call: command
238
+ | block_command
239
+
240
+ block_command: block_call
241
+ | block_call tDOT operation2 command_args # TODO: dot_or_colon
242
+ {
243
+ result = new_call val[0], val[2].to_sym, val[3]
244
+ }
245
+ | block_call tCOLON2 operation2 command_args
246
+ {
247
+ result = new_call val[0], val[2].to_sym, val[3]
248
+ }
249
+
250
+ cmd_brace_block: tLBRACE_ARG
251
+ {
252
+ self.env.extend(:dynamic)
253
+ result = self.lexer.lineno
254
+ }
255
+ opt_block_param
256
+ {
257
+ result = nil # self.env.dynamic.keys
258
+ }
259
+ compstmt tRCURLY
260
+ {
261
+ result = new_iter nil, val[2], val[4]
262
+ result.line = val[1]
263
+
264
+ self.env.unextend
265
+ }
266
+
267
+ command: operation command_args =tLOWEST
268
+ {
269
+ result = new_call nil, val[0].to_sym, val[1]
270
+ }
271
+ | operation command_args cmd_brace_block
272
+ {
273
+ result = new_call nil, val[0].to_sym, val[1]
274
+ if val[2] then
275
+ block_dup_check result, val[2]
276
+
277
+ result, operation = val[2], result
278
+ result.insert 1, operation
279
+ end
280
+ }
281
+ | primary_value tDOT operation2 command_args =tLOWEST
282
+ {
283
+ result = new_call val[0], val[2].to_sym, val[3]
284
+ }
285
+ | primary_value tDOT operation2 command_args cmd_brace_block
286
+ {
287
+ recv, _, msg, args, block = val
288
+ call = new_call recv, msg.to_sym, args
289
+
290
+ block_dup_check call, block
291
+
292
+ block.insert 1, call
293
+ result = block
294
+ }
295
+ | primary_value tCOLON2 operation2 command_args =tLOWEST
296
+ {
297
+ result = new_call val[0], val[2].to_sym, val[3]
298
+ }
299
+ | primary_value tCOLON2 operation2 command_args cmd_brace_block
300
+ {
301
+ recv, _, msg, args, block = val
302
+ call = new_call recv, msg.to_sym, args
303
+
304
+ block_dup_check call, block
305
+
306
+ block.insert 1, call
307
+ result = block
308
+ }
309
+ | kSUPER command_args
310
+ {
311
+ result = new_super val[1]
312
+ }
313
+ | kYIELD command_args
314
+ {
315
+ result = new_yield val[1]
316
+ }
317
+ | kRETURN call_args
318
+ {
319
+ line = val[0].last
320
+ result = s(:return, ret_args(val[1])).line(line)
321
+ }
322
+ | kBREAK call_args
323
+ {
324
+ line = val[0].last
325
+ result = s(:break, ret_args(val[1])).line(line)
326
+ }
327
+ | kNEXT call_args
328
+ {
329
+ line = val[0].last
330
+ result = s(:next, ret_args(val[1])).line(line)
331
+ }
332
+
333
+ mlhs: mlhs_basic
334
+ | tLPAREN mlhs_inner rparen
335
+ {
336
+ result = val[1]
337
+ }
338
+
339
+ mlhs_inner: mlhs_basic
340
+ | tLPAREN mlhs_inner rparen
341
+ {
342
+ result = s(:masgn, s(:array, val[1]))
343
+ }
344
+
345
+ mlhs_basic: mlhs_head
346
+ {
347
+ result = s(:masgn, val[0])
348
+ }
349
+ | mlhs_head mlhs_item
350
+ {
351
+ result = s(:masgn, val[0] << val[1].compact)
352
+ }
353
+ | mlhs_head tSTAR mlhs_node
354
+ {
355
+ result = s(:masgn, val[0] << s(:splat, val[2]))
356
+ }
357
+ | mlhs_head tSTAR mlhs_node tCOMMA mlhs_post
358
+ {
359
+ ary = list_append val[0], s(:splat, val[2])
360
+ ary.concat val[4][1..-1]
361
+ result = s(:masgn, ary)
362
+ }
363
+ | mlhs_head tSTAR
364
+ {
365
+ result = s(:masgn, val[0] << s(:splat))
366
+ }
367
+ | mlhs_head tSTAR tCOMMA mlhs_post
368
+ {
369
+ ary = list_append val[0], s(:splat)
370
+ ary.concat val[3][1..-1]
371
+ result = s(:masgn, ary)
372
+ }
373
+ | tSTAR mlhs_node
374
+ {
375
+ result = s(:masgn, s(:array, s(:splat, val[1])))
376
+ }
377
+ | tSTAR mlhs_node tCOMMA mlhs_post
378
+ {
379
+ ary = s(:array, s(:splat, val[1]))
380
+ ary.concat val[3][1..-1]
381
+ result = s(:masgn, ary)
382
+ }
383
+ | tSTAR
384
+ {
385
+ result = s(:masgn, s(:array, s(:splat)))
386
+ }
387
+ | tSTAR tCOMMA mlhs_post
388
+ {
389
+ ary = s(:array, s(:splat))
390
+ ary.concat val[2][1..-1]
391
+ result = s(:masgn, ary)
392
+ }
393
+
394
+ mlhs_item: mlhs_node
395
+ | tLPAREN mlhs_inner rparen
396
+ {
397
+ result = val[1]
398
+ }
399
+
400
+ mlhs_head: mlhs_item tCOMMA
401
+ {
402
+ result = s(:array, val[0])
403
+ }
404
+ | mlhs_head mlhs_item tCOMMA
405
+ {
406
+ result = val[0] << val[1].compact
407
+ }
408
+
409
+ mlhs_post: mlhs_item
410
+ {
411
+ result = s(:array, val[0])
412
+ }
413
+ | mlhs_post tCOMMA mlhs_item
414
+ {
415
+ result = list_append val[0], val[2]
416
+ }
417
+
418
+ mlhs_node: user_variable
419
+ {
420
+ result = self.assignable val[0]
421
+ }
422
+ | keyword_variable
423
+ {
424
+ result = self.assignable val[0]
425
+ }
426
+ | primary_value tLBRACK2 opt_call_args rbracket
427
+ {
428
+ result = self.aryset val[0], val[2]
429
+ }
430
+ | primary_value tDOT tIDENTIFIER
431
+ {
432
+ result = s(:attrasgn, val[0], :"#{val[2]}=")
433
+ }
434
+ | primary_value tCOLON2 tIDENTIFIER
435
+ {
436
+ result = s(:attrasgn, val[0], :"#{val[2]}=")
437
+ }
438
+ | primary_value tDOT tCONSTANT
439
+ {
440
+ result = s(:attrasgn, val[0], :"#{val[2]}=")
441
+ }
442
+ | primary_value tCOLON2 tCONSTANT
443
+ {
444
+ if (self.in_def || self.in_single > 0) then
445
+ yyerror "dynamic constant assignment"
446
+ end
447
+
448
+ result = s(:const, s(:colon2, val[0], val[2].to_sym), nil)
449
+ }
450
+ | tCOLON3 tCONSTANT
451
+ {
452
+ if (self.in_def || self.in_single > 0) then
453
+ yyerror "dynamic constant assignment"
454
+ end
455
+
456
+ result = s(:const, nil, s(:colon3, val[1].to_sym))
457
+ }
458
+ | backref
459
+ {
460
+ self.backref_assign_error val[0]
461
+ }
462
+
463
+ lhs: user_variable
464
+ {
465
+ result = self.assignable val[0]
466
+ }
467
+ | keyword_variable
468
+ {
469
+ result = self.assignable val[0]
470
+ }
471
+ | primary_value tLBRACK2 opt_call_args rbracket
472
+ {
473
+ result = self.aryset val[0], val[2]
474
+ }
475
+ | primary_value tDOT tIDENTIFIER
476
+ {
477
+ result = s(:attrasgn, val[0], :"#{val[2]}=")
478
+ }
479
+ | primary_value tCOLON2 tIDENTIFIER
480
+ {
481
+ result = s(:attrasgn, val[0], :"#{val[2]}=")
482
+ }
483
+ | primary_value tDOT tCONSTANT
484
+ {
485
+ result = s(:attrasgn, val[0], :"#{val[2]}=")
486
+ }
487
+ | primary_value tCOLON2 tCONSTANT
488
+ {
489
+ if (self.in_def || self.in_single > 0) then
490
+ yyerror "dynamic constant assignment"
491
+ end
492
+
493
+ result = s(:const, s(:colon2, val[0], val[2].to_sym))
494
+ }
495
+ | tCOLON3 tCONSTANT
496
+ {
497
+ if (self.in_def || self.in_single > 0) then
498
+ yyerror "dynamic constant assignment"
499
+ end
500
+
501
+ result = s(:const, s(:colon3, val[1].to_sym))
502
+ }
503
+ | backref
504
+ {
505
+ self.backref_assign_error val[0]
506
+ }
507
+
508
+ cname: tIDENTIFIER
509
+ {
510
+ yyerror "class/module name must be CONSTANT"
511
+ }
512
+ | tCONSTANT
513
+
514
+ cpath: tCOLON3 cname
515
+ {
516
+ result = s(:colon3, val[1].to_sym)
517
+ }
518
+ | cname
519
+ {
520
+ result = val[0].to_sym
521
+ }
522
+ | primary_value tCOLON2 cname
523
+ {
524
+ result = s(:colon2, val[0], val[2].to_sym)
525
+ }
526
+
527
+ fname: tIDENTIFIER | tCONSTANT | tFID
528
+ | op
529
+ {
530
+ lexer.lex_state = :expr_end
531
+ result = val[0]
532
+ }
533
+
534
+ | reswords
535
+ {
536
+ lexer.lex_state = :expr_end
537
+ result = val[0]
538
+ }
539
+
540
+ fsym: fname | symbol
541
+
542
+ fitem: fsym { result = s(:lit, val[0].to_sym) }
543
+ | dsym
544
+
545
+ undef_list: fitem
546
+ {
547
+ result = new_undef val[0]
548
+ }
549
+ |
550
+ undef_list tCOMMA
551
+ {
552
+ lexer.lex_state = :expr_fname
553
+ }
554
+ fitem
555
+ {
556
+ result = new_undef val[0], val[3]
557
+ }
558
+
559
+ op: tPIPE | tCARET | tAMPER2 | tCMP | tEQ | tEQQ
560
+ | tMATCH | tNMATCH | tGT | tGEQ | tLT | tLEQ
561
+ | tNEQ | tLSHFT | tRSHFT | tPLUS | tMINUS | tSTAR2
562
+ | tSTAR | tDIVIDE | tPERCENT | tPOW | tBANG | tTILDE
563
+ | tUPLUS | tUMINUS | tAREF | tASET | tBACK_REF2
564
+
565
+ reswords: k__LINE__ | k__FILE__ | k__ENCODING__ | klBEGIN | klEND
566
+ | kALIAS | kAND | kBEGIN | kBREAK | kCASE
567
+ | kCLASS | kDEF | kDEFINED | kDO | kELSE
568
+ | kELSIF | kEND | kENSURE | kFALSE | kFOR
569
+ | kIN | kMODULE | kNEXT | kNIL | kNOT
570
+ | kOR | kREDO | kRESCUE | kRETRY | kRETURN
571
+ | kSELF | kSUPER | kTHEN | kTRUE | kUNDEF
572
+ | kWHEN | kYIELD | kIF | kUNLESS | kWHILE
573
+ | kUNTIL
574
+
575
+ arg: lhs tEQL arg
576
+ {
577
+ result = self.node_assign val[0], val[2]
578
+ }
579
+ | lhs tEQL arg kRESCUE_MOD arg
580
+ {
581
+ result = self.node_assign val[0], s(:rescue, val[2], new_resbody(s(:array), val[4]))
582
+ }
583
+ | var_lhs tOP_ASGN arg
584
+ {
585
+ result = new_op_asgn val
586
+ }
587
+ | var_lhs tOP_ASGN arg kRESCUE_MOD arg
588
+ {
589
+ result = new_op_asgn val
590
+ result = s(:rescue, result, new_resbody(s(:array), val[4]))
591
+ }
592
+ | primary_value tLBRACK2 opt_call_args rbracket tOP_ASGN arg
593
+ {
594
+ val[2][0] = :arglist if val[2]
595
+ result = s(:op_asgn1, val[0], val[2], val[4].to_sym, val[5])
596
+ }
597
+ | primary_value tDOT tIDENTIFIER tOP_ASGN arg
598
+ {
599
+ result = s(:op_asgn2, val[0], :"#{val[2]}=", val[3].to_sym, val[4])
600
+ }
601
+ | primary_value tDOT tCONSTANT tOP_ASGN arg
602
+ {
603
+ result = s(:op_asgn2, val[0], :"#{val[2]}=", val[3].to_sym, val[4])
604
+ }
605
+ | primary_value tCOLON2 tIDENTIFIER tOP_ASGN arg
606
+ {
607
+ result = s(:op_asgn, val[0], val[4], val[2].to_sym, val[3].to_sym)
608
+ }
609
+ | primary_value tCOLON2 tCONSTANT tOP_ASGN arg
610
+ {
611
+ yyerror "constant re-assignment"
612
+ }
613
+ | tCOLON3 tCONSTANT tOP_ASGN arg
614
+ {
615
+ yyerror "constant re-assignment"
616
+ }
617
+ | backref tOP_ASGN arg
618
+ {
619
+ self.backref_assign_error val[0]
620
+ }
621
+ | arg tDOT2 arg
622
+ {
623
+ v1, v2 = val[0], val[2]
624
+ if v1.node_type == :lit and v2.node_type == :lit and Fixnum === v1.last and Fixnum === v2.last then
625
+ result = s(:lit, (v1.last)..(v2.last))
626
+ else
627
+ result = s(:dot2, v1, v2)
628
+ end
629
+ }
630
+ | arg tDOT3 arg
631
+ {
632
+ v1, v2 = val[0], val[2]
633
+ if v1.node_type == :lit and v2.node_type == :lit and Fixnum === v1.last and Fixnum === v2.last then
634
+ result = s(:lit, (v1.last)...(v2.last))
635
+ else
636
+ result = s(:dot3, v1, v2)
637
+ end
638
+ }
639
+ | arg tPLUS arg
640
+ {
641
+ result = new_call val[0], :+, argl(val[2])
642
+ }
643
+ | arg tMINUS arg
644
+ {
645
+ result = new_call val[0], :-, argl(val[2])
646
+ }
647
+ | arg tSTAR2 arg
648
+ {
649
+ result = new_call val[0], :*, argl(val[2])
650
+ }
651
+ | arg tDIVIDE arg
652
+ {
653
+ result = new_call val[0], :"/", argl(val[2])
654
+ }
655
+ | arg tPERCENT arg
656
+ {
657
+ result = new_call val[0], :"%", argl(val[2])
658
+ }
659
+ | arg tPOW arg
660
+ {
661
+ result = new_call val[0], :**, argl(val[2])
662
+ }
663
+ | tUMINUS_NUM tINTEGER tPOW arg
664
+ {
665
+ result = new_call(new_call(s(:lit, val[1]), :"**", argl(val[3])), :"-@")
666
+ }
667
+ | tUMINUS_NUM tFLOAT tPOW arg
668
+ {
669
+ result = new_call(new_call(s(:lit, val[1]), :"**", argl(val[3])), :"-@")
670
+ }
671
+ | tUPLUS arg
672
+ {
673
+ result = new_call val[1], :"+@"
674
+ }
675
+ | tUMINUS arg
676
+ {
677
+ result = new_call val[1], :"-@"
678
+ }
679
+ | arg tPIPE arg
680
+ {
681
+ result = new_call val[0], :"|", argl(val[2])
682
+ }
683
+ | arg tCARET arg
684
+ {
685
+ result = new_call val[0], :"^", argl(val[2])
686
+ }
687
+ | arg tAMPER2 arg
688
+ {
689
+ result = new_call val[0], :"&", argl(val[2])
690
+ }
691
+ | arg tCMP arg
692
+ {
693
+ result = new_call val[0], :"<=>", argl(val[2])
694
+ }
695
+ | arg tGT arg
696
+ {
697
+ result = new_call val[0], :">", argl(val[2])
698
+ }
699
+ | arg tGEQ arg
700
+ {
701
+ result = new_call val[0], :">=", argl(val[2])
702
+ }
703
+ | arg tLT arg
704
+ {
705
+ result = new_call val[0], :"<", argl(val[2])
706
+ }
707
+ | arg tLEQ arg
708
+ {
709
+ result = new_call val[0], :"<=", argl(val[2])
710
+ }
711
+ | arg tEQ arg
712
+ {
713
+ result = new_call val[0], :"==", argl(val[2])
714
+ }
715
+ | arg tEQQ arg
716
+ {
717
+ result = new_call val[0], :"===", argl(val[2])
718
+ }
719
+ | arg tNEQ arg
720
+ {
721
+ result = new_call val[0], :"!=", argl(val[2])
722
+ }
723
+ | arg tMATCH arg
724
+ {
725
+ result = self.get_match_node val[0], val[2]
726
+ }
727
+ | arg tNMATCH arg
728
+ {
729
+ result = s(:not, self.get_match_node(val[0], val[2]))
730
+ }
731
+ | tBANG arg
732
+ {
733
+ result = new_call val[1], :"!"
734
+ }
735
+ | tTILDE arg
736
+ {
737
+ val[2] = value_expr val[2]
738
+ result = new_call val[1], :"~"
739
+ }
740
+ | arg tLSHFT arg
741
+ {
742
+ val[0] = value_expr val[0]
743
+ val[2] = value_expr val[2]
744
+ result = new_call val[0], :"\<\<", argl(val[2])
745
+ }
746
+ | arg tRSHFT arg
747
+ {
748
+ val[0] = value_expr val[0]
749
+ val[2] = value_expr val[2]
750
+ result = new_call val[0], :">>", argl(val[2])
751
+ }
752
+ | arg tANDOP arg
753
+ {
754
+ result = logop(:and, val[0], val[2])
755
+ }
756
+ | arg tOROP arg
757
+ {
758
+ result = logop(:or, val[0], val[2])
759
+ }
760
+ | kDEFINED opt_nl arg
761
+ {
762
+ result = s(:defined, val[2])
763
+ }
764
+ | arg tEH arg opt_nl tCOLON arg
765
+ {
766
+ result = s(:if, val[0], val[2], val[5])
767
+ }
768
+ | primary
769
+
770
+ arg_value: arg
771
+ {
772
+ result = value_expr(val[0])
773
+ }
774
+
775
+ aref_args: none
776
+ | args trailer
777
+ {
778
+ result = val[0]
779
+ }
780
+ | args tCOMMA assocs trailer
781
+ {
782
+ result = val[0] << s(:hash, *val[2].values)
783
+ }
784
+ | assocs trailer
785
+ {
786
+ result = s(:array, s(:hash, *val[0].values))
787
+ }
788
+
789
+ paren_args: tLPAREN2 opt_call_args rparen
790
+ {
791
+ result = val[1]
792
+ }
793
+
794
+ opt_paren_args: none
795
+ | paren_args
796
+
797
+ opt_call_args: none
798
+ {
799
+ result = val[0]
800
+ }
801
+ | call_args
802
+ {
803
+ result = val[0]
804
+ }
805
+ | args tCOMMA
806
+ {
807
+ result = val[0]
808
+ }
809
+ | args tCOMMA assocs tCOMMA
810
+ {
811
+ result = val[0] << s(:hash, *val[2][1..-1]) # TODO: self.args
812
+ }
813
+ | assocs tCOMMA
814
+ {
815
+ result = s(:hash, *val[0].values)
816
+ }
817
+
818
+ call_args: command
819
+ {
820
+ warning "parenthesize argument(s) for future version"
821
+ result = s(:array, val[0])
822
+ }
823
+ | args opt_block_arg
824
+ {
825
+ result = self.arg_blk_pass val[0], val[1]
826
+ }
827
+ | assocs opt_block_arg
828
+ {
829
+ result = s(:array, s(:hash, *val[0].values))
830
+ result = self.arg_blk_pass result, val[1]
831
+ }
832
+ | args tCOMMA assocs opt_block_arg
833
+ {
834
+ result = val[0] << s(:hash, *val[2].values)
835
+ result = self.arg_blk_pass result, val[3]
836
+ }
837
+ | block_arg
838
+
839
+ command_args: {
840
+ result = lexer.cmdarg.stack.dup # TODO: smell?
841
+ lexer.cmdarg.push true
842
+ }
843
+ call_args
844
+ {
845
+ lexer.cmdarg.stack.replace val[0]
846
+ result = val[1]
847
+ }
848
+
849
+ block_arg: tAMPER arg_value
850
+ {
851
+ result = s(:block_pass, val[1])
852
+ }
853
+
854
+ opt_block_arg: tCOMMA block_arg
855
+ {
856
+ result = val[1]
857
+ }
858
+ | none
859
+
860
+ args: arg_value
861
+ {
862
+ result = s(:array, val[0])
863
+ }
864
+ | tSTAR arg_value
865
+ {
866
+ result = s(:array, s(:splat, val[1]))
867
+ }
868
+ | args tCOMMA arg_value
869
+ {
870
+ result = self.list_append val[0], val[2]
871
+ }
872
+ | args tCOMMA tSTAR arg_value
873
+ {
874
+ result = self.list_append val[0], s(:splat, val[3])
875
+ }
876
+
877
+ mrhs: args tCOMMA arg_value
878
+ {
879
+ result = val[0] << val[2]
880
+ }
881
+ | args tCOMMA tSTAR arg_value
882
+ {
883
+ result = self.arg_concat val[0], val[3]
884
+ }
885
+ | tSTAR arg_value
886
+ {
887
+ result = s(:splat, val[1])
888
+ }
889
+
890
+ primary: literal
891
+ | strings
892
+ | xstring
893
+ | regexp
894
+ | words
895
+ | qwords
896
+ | var_ref
897
+ | backref
898
+ | tFID
899
+ {
900
+ result = new_call nil, val[0].to_sym
901
+ }
902
+ | kBEGIN
903
+ {
904
+ result = self.lexer.lineno
905
+ }
906
+ bodystmt kEND
907
+ {
908
+ unless val[2] then
909
+ result = s(:nil)
910
+ else
911
+ result = s(:begin, val[2])
912
+ end
913
+
914
+ result.line = val[1]
915
+ }
916
+ | tLPAREN_ARG expr
917
+ {
918
+ lexer.lex_state = :expr_endarg
919
+ }
920
+ rparen
921
+ {
922
+ warning "(...) interpreted as grouped expression"
923
+ result = val[1]
924
+ }
925
+ | tLPAREN compstmt tRPAREN
926
+ {
927
+ result = val[1] || s(:nil)
928
+ result.paren = true
929
+ }
930
+ | primary_value tCOLON2 tCONSTANT
931
+ {
932
+ result = s(:colon2, val[0], val[2].to_sym)
933
+ }
934
+ | tCOLON3 tCONSTANT
935
+ {
936
+ result = s(:colon3, val[1].to_sym)
937
+ }
938
+ | tLBRACK aref_args tRBRACK
939
+ {
940
+ result = val[1] || s(:array)
941
+ }
942
+ | tLBRACE assoc_list tRCURLY
943
+ {
944
+ result = s(:hash, *val[1].values)
945
+ }
946
+ | kRETURN
947
+ {
948
+ result = s(:return)
949
+ }
950
+ | kYIELD tLPAREN2 call_args rparen
951
+ {
952
+ result = new_yield val[2]
953
+ }
954
+ | kYIELD tLPAREN2 rparen
955
+ {
956
+ result = new_yield
957
+ }
958
+ | kYIELD
959
+ {
960
+ result = new_yield
961
+ }
962
+ | kDEFINED opt_nl tLPAREN2 expr rparen
963
+ {
964
+ result = s(:defined, val[3])
965
+ }
966
+ | kNOT tLPAREN2 expr rparen
967
+ {
968
+ result = s(:call, val[2], :"!")
969
+ }
970
+ | kNOT tLPAREN2 rparen
971
+ {
972
+ raise "no3\non#{val.inspect}"
973
+ }
974
+ | operation brace_block
975
+ {
976
+ oper, iter = val[0], val[1]
977
+ call = new_call nil, oper.to_sym
978
+ iter.insert 1, call
979
+ result = iter
980
+ call.line = iter.line
981
+ }
982
+ | method_call
983
+ | method_call brace_block
984
+ {
985
+ call, iter = val[0], val[1]
986
+ block_dup_check call, iter
987
+ iter.insert 1, call # FIX
988
+ result = iter
989
+ }
990
+ | tLAMBDA lambda
991
+ {
992
+ result = val[1] # TODO: fix lineno
993
+ }
994
+ | kIF expr_value then compstmt if_tail kEND
995
+ {
996
+ result = new_if val[1], val[3], val[4]
997
+ }
998
+ | kUNLESS expr_value then compstmt opt_else kEND
999
+ {
1000
+ result = new_if val[1], val[4], val[3]
1001
+ }
1002
+ | kWHILE
1003
+ {
1004
+ lexer.cond.push true
1005
+ }
1006
+ expr_value do
1007
+ {
1008
+ lexer.cond.pop
1009
+ }
1010
+ compstmt kEND
1011
+ {
1012
+ result = new_while val[5], val[2], true
1013
+ }
1014
+ | kUNTIL
1015
+ {
1016
+ lexer.cond.push true
1017
+ }
1018
+ expr_value do
1019
+ {
1020
+ lexer.cond.pop
1021
+ }
1022
+ compstmt kEND
1023
+ {
1024
+ result = new_until val[5], val[2], true
1025
+ }
1026
+ | kCASE expr_value opt_terms case_body kEND
1027
+ {
1028
+ (_, line), expr, _, body, _ = val
1029
+ result = new_case expr, body, line
1030
+ }
1031
+ | kCASE opt_terms case_body kEND
1032
+ {
1033
+ (_, line), _, body, _ = val
1034
+ result = new_case nil, body, line
1035
+ }
1036
+ | kFOR for_var kIN
1037
+ {
1038
+ lexer.cond.push true
1039
+ }
1040
+ expr_value do
1041
+ {
1042
+ lexer.cond.pop
1043
+ }
1044
+ compstmt kEND
1045
+ {
1046
+ result = new_for val[4], val[1], val[7]
1047
+ }
1048
+ | kCLASS
1049
+ {
1050
+ result = self.lexer.lineno
1051
+ }
1052
+ cpath superclass
1053
+ {
1054
+ self.comments.push self.lexer.comments
1055
+ if (self.in_def || self.in_single > 0) then
1056
+ yyerror "class definition in method body"
1057
+ end
1058
+ self.env.extend
1059
+ }
1060
+ bodystmt kEND
1061
+ {
1062
+ result = new_class val
1063
+ self.env.unextend
1064
+ self.lexer.comments # we don't care about comments in the body
1065
+ }
1066
+ | kCLASS tLSHFT
1067
+ {
1068
+ result = self.lexer.lineno
1069
+ }
1070
+ expr
1071
+ {
1072
+ result = self.in_def
1073
+ self.in_def = false
1074
+ }
1075
+ term
1076
+ {
1077
+ result = self.in_single
1078
+ self.in_single = 0
1079
+ self.env.extend
1080
+ }
1081
+ bodystmt kEND
1082
+ {
1083
+ result = new_sclass val
1084
+ self.env.unextend
1085
+ self.lexer.comments # we don't care about comments in the body
1086
+ }
1087
+ | kMODULE
1088
+ {
1089
+ result = self.lexer.lineno
1090
+ }
1091
+ cpath
1092
+ {
1093
+ self.comments.push self.lexer.comments
1094
+ yyerror "module definition in method body" if
1095
+ self.in_def or self.in_single > 0
1096
+
1097
+ self.env.extend
1098
+ }
1099
+ bodystmt kEND
1100
+ {
1101
+ result = new_module val
1102
+ self.env.unextend
1103
+ self.lexer.comments # we don't care about comments in the body
1104
+ }
1105
+ | kDEF fname
1106
+ {
1107
+ result = [self.in_def, self.lexer.cmdarg.stack.dup]
1108
+
1109
+ self.comments.push self.lexer.comments
1110
+ self.in_def = true
1111
+ self.env.extend
1112
+ lexer.cmdarg.stack.replace [false]
1113
+ }
1114
+ f_arglist bodystmt kEND
1115
+ {
1116
+ in_def, cmdarg = val[2]
1117
+
1118
+ result = new_defn val
1119
+
1120
+ lexer.cmdarg.stack.replace cmdarg
1121
+ self.env.unextend
1122
+ self.in_def = in_def
1123
+ self.lexer.comments # we don't care about comments in the body
1124
+ }
1125
+ | kDEF singleton dot_or_colon
1126
+ {
1127
+ self.comments.push self.lexer.comments
1128
+ lexer.lex_state = :expr_fname
1129
+ }
1130
+ fname
1131
+ {
1132
+ self.in_single += 1
1133
+ self.env.extend
1134
+ lexer.lex_state = :expr_end # force for args
1135
+ result = lexer.lineno
1136
+ }
1137
+ f_arglist bodystmt kEND
1138
+ {
1139
+ result = new_defs val
1140
+ result[3].line val[5]
1141
+
1142
+ self.env.unextend
1143
+ self.in_single -= 1
1144
+ self.lexer.comments # we don't care about comments in the body
1145
+ }
1146
+ | kBREAK
1147
+ {
1148
+ result = s(:break)
1149
+ }
1150
+ | kNEXT
1151
+ {
1152
+ result = s(:next)
1153
+ }
1154
+ | kREDO
1155
+ {
1156
+ result = s(:redo)
1157
+ }
1158
+ | kRETRY
1159
+ {
1160
+ result = s(:retry)
1161
+ }
1162
+
1163
+ primary_value: primary
1164
+ {
1165
+ result = value_expr(val[0])
1166
+ }
1167
+
1168
+ # These are really stupid
1169
+ k_begin: kBEGIN
1170
+ k_if: kIF
1171
+ k_unless: kUNLESS
1172
+ k_while: kWHILE
1173
+ k_until: kUNTIL
1174
+ k_case: kCASE
1175
+ k_for: kFOR
1176
+ k_class: kCLASS
1177
+ k_module: kMODULE
1178
+ k_def: kDEF
1179
+ k_end: kEND
1180
+
1181
+ then: term
1182
+ | kTHEN
1183
+ | term kTHEN
1184
+
1185
+ do: term
1186
+ | kDO_COND
1187
+
1188
+ if_tail: opt_else
1189
+ | kELSIF expr_value then compstmt if_tail
1190
+ {
1191
+ result = s(:if, val[1], val[3], val[4])
1192
+ }
1193
+
1194
+ opt_else: none
1195
+ | kELSE compstmt
1196
+ {
1197
+ result = val[1]
1198
+ }
1199
+
1200
+ for_var: lhs
1201
+ | mlhs
1202
+ {
1203
+ val[0].delete_at 1 if val[0][1].nil? # HACK
1204
+ }
1205
+
1206
+ f_marg: f_norm_arg
1207
+ | tLPAREN f_margs rparen
1208
+ {
1209
+ result = val[1]
1210
+ }
1211
+
1212
+ f_marg_list: f_marg
1213
+ {
1214
+ result = s(:array, val[0])
1215
+ }
1216
+ | f_marg_list tCOMMA f_marg
1217
+ {
1218
+ result = list_append val[0], val[2]
1219
+ }
1220
+
1221
+ f_margs: f_marg_list
1222
+ {
1223
+ args, = val
1224
+
1225
+ result = block_var args
1226
+ }
1227
+ | f_marg_list tCOMMA tSTAR f_norm_arg
1228
+ {
1229
+ args, _, _, splat = val
1230
+
1231
+ result = block_var args, "*#{splat}".to_sym
1232
+ }
1233
+ | f_marg_list tCOMMA tSTAR f_norm_arg tCOMMA f_marg_list
1234
+ {
1235
+ args, _, _, splat, _, args2 = val
1236
+
1237
+ result = block_var args, "*#{splat}".to_sym, args2
1238
+ }
1239
+ | f_marg_list tCOMMA tSTAR
1240
+ {
1241
+ args, _, _ = val
1242
+
1243
+ result = block_var args, :*
1244
+ }
1245
+ | f_marg_list tCOMMA tSTAR tCOMMA f_marg_list
1246
+ {
1247
+ args, _, _, _, args2 = val
1248
+
1249
+ result = block_var args, :*, args2
1250
+ }
1251
+ | tSTAR f_norm_arg
1252
+ {
1253
+ _, splat = val
1254
+
1255
+ result = block_var :"*#{splat}"
1256
+ }
1257
+ | tSTAR f_norm_arg tCOMMA f_marg_list
1258
+ {
1259
+ _, splat, _, args = val
1260
+
1261
+ result = block_var :"*#{splat}", args
1262
+ }
1263
+ | tSTAR
1264
+ {
1265
+ result = block_var :*
1266
+ }
1267
+ | tSTAR tCOMMA f_marg_list
1268
+ {
1269
+ _, _, args = val
1270
+
1271
+ result = block_var :*, args
1272
+ }
1273
+
1274
+ block_param: f_arg tCOMMA f_block_optarg tCOMMA f_rest_arg opt_f_block_arg
1275
+ {
1276
+ result = args val
1277
+ }
1278
+ | f_arg tCOMMA f_block_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_f_block_arg
1279
+ {
1280
+ result = args val
1281
+ }
1282
+ | f_arg tCOMMA f_block_optarg opt_f_block_arg
1283
+ {
1284
+ result = args val
1285
+ }
1286
+ | f_arg tCOMMA f_block_optarg tCOMMA f_arg opt_f_block_arg
1287
+ {
1288
+ result = args val
1289
+ }
1290
+ | f_arg tCOMMA f_rest_arg opt_f_block_arg
1291
+ {
1292
+ result = args val
1293
+ }
1294
+ | f_arg tCOMMA
1295
+ {
1296
+ result = args val
1297
+ }
1298
+ | f_arg tCOMMA f_rest_arg tCOMMA f_arg opt_f_block_arg
1299
+ {
1300
+ result = args val
1301
+ }
1302
+ | f_arg opt_f_block_arg
1303
+ {
1304
+ result = args val
1305
+ }
1306
+ | f_block_optarg tCOMMA f_rest_arg opt_f_block_arg
1307
+ {
1308
+ result = args val
1309
+ }
1310
+ | f_block_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_f_block_arg
1311
+ {
1312
+ result = args val
1313
+ }
1314
+ | f_block_optarg opt_f_block_arg
1315
+ {
1316
+ result = args val
1317
+ }
1318
+ | f_block_optarg tCOMMA f_arg opt_f_block_arg
1319
+ {
1320
+ result = args val
1321
+ }
1322
+ | f_rest_arg opt_f_block_arg
1323
+ {
1324
+ result = args val
1325
+ }
1326
+ | f_rest_arg tCOMMA f_arg opt_f_block_arg
1327
+ {
1328
+ result = args val
1329
+ }
1330
+ | f_block_arg
1331
+ {
1332
+ result = args val
1333
+ }
1334
+
1335
+ opt_block_param: none { result = 0 }
1336
+ | block_param_def
1337
+
1338
+ block_param_def: tPIPE opt_bv_decl tPIPE
1339
+ {
1340
+ result = args val
1341
+ }
1342
+ | tOROP
1343
+ {
1344
+ result = s(:args)
1345
+ self.lexer.command_start = true
1346
+ }
1347
+ | tPIPE block_param opt_bv_decl tPIPE
1348
+ {
1349
+ result = args val
1350
+ }
1351
+
1352
+ opt_bv_decl: none
1353
+ | tSEMI bv_decls
1354
+ {
1355
+ result = val[1]
1356
+ }
1357
+
1358
+ bv_decls: bvar
1359
+ {
1360
+ result = args val
1361
+ }
1362
+ | bv_decls tCOMMA bvar
1363
+ {
1364
+ result = args val
1365
+ }
1366
+
1367
+ bvar: tIDENTIFIER
1368
+ {
1369
+ result = s(:shadow, val[0].to_sym)
1370
+ }
1371
+ | f_bad_arg
1372
+
1373
+ lambda: {
1374
+ # TODO: dyna_push ? hrm
1375
+ result = lexer.lpar_beg
1376
+ lexer.paren_nest += 1
1377
+ lexer.lpar_beg = lexer.paren_nest
1378
+ }
1379
+ f_larglist lambda_body
1380
+ {
1381
+ lpar, args, body = val
1382
+ lexer.lpar_beg = lpar
1383
+
1384
+ call = new_call nil, :lambda
1385
+ result = new_iter call, args, body
1386
+ }
1387
+
1388
+ f_larglist: tLPAREN2 f_args opt_bv_decl rparen
1389
+ {
1390
+ result = args val
1391
+ }
1392
+ | f_args
1393
+ {
1394
+ result = val[0]
1395
+ result = 0 if result == s(:args)
1396
+ }
1397
+
1398
+ lambda_body: tLAMBEG compstmt tRCURLY
1399
+ {
1400
+ result = val[1]
1401
+ }
1402
+ | kDO_LAMBDA compstmt kEND
1403
+ {
1404
+ result = val[1]
1405
+ }
1406
+
1407
+ do_block: kDO_BLOCK
1408
+ {
1409
+ self.env.extend :dynamic
1410
+ result = self.lexer.lineno
1411
+ }
1412
+ opt_block_param
1413
+ {
1414
+ result = nil # self.env.dynamic.keys
1415
+ }
1416
+ compstmt kEND
1417
+ {
1418
+ args = val[2]
1419
+ body = val[4]
1420
+ result = new_iter nil, args, body
1421
+ result.line = val[1]
1422
+
1423
+ self.env.unextend
1424
+ }
1425
+
1426
+ block_call: command do_block
1427
+ {
1428
+ # TODO:
1429
+ # if (nd_type($1) == NODE_YIELD) {
1430
+ # compile_error(PARSER_ARG "block given to yield");
1431
+
1432
+ syntax_error "Both block arg and actual block given." if
1433
+ val[0].block_pass?
1434
+
1435
+ val = invert_block_call val if inverted? val
1436
+
1437
+ result = val[1]
1438
+ result.insert 1, val[0]
1439
+ }
1440
+ | block_call tDOT operation2 opt_paren_args
1441
+ {
1442
+ result = new_call val[0], val[2].to_sym, val[3]
1443
+ }
1444
+ | block_call tCOLON2 operation2 opt_paren_args
1445
+ {
1446
+ result = new_call val[0], val[2].to_sym, val[3]
1447
+ }
1448
+
1449
+ method_call: operation
1450
+ {
1451
+ result = self.lexer.lineno
1452
+ }
1453
+ paren_args
1454
+ {
1455
+ result = new_call nil, val[0].to_sym, val[2]
1456
+ }
1457
+ | primary_value tDOT operation2 opt_paren_args
1458
+ {
1459
+ result = new_call val[0], val[2].to_sym, val[3]
1460
+ }
1461
+ | primary_value tCOLON2 operation2 paren_args
1462
+ {
1463
+ result = new_call val[0], val[2].to_sym, val[3]
1464
+ }
1465
+ | primary_value tCOLON2 operation3
1466
+ {
1467
+ result = new_call val[0], val[2].to_sym
1468
+ }
1469
+ | primary_value tDOT paren_args
1470
+ {
1471
+ result = new_call val[0], :call, val[2]
1472
+ }
1473
+ | primary_value tCOLON2 paren_args
1474
+ {
1475
+ result = new_call val[0], :call, val[2]
1476
+ }
1477
+ | kSUPER paren_args
1478
+ {
1479
+ result = new_super val[1]
1480
+ }
1481
+ | kSUPER
1482
+ {
1483
+ result = s(:zsuper)
1484
+ }
1485
+ | primary_value tLBRACK2 opt_call_args rbracket
1486
+ {
1487
+ result = new_aref val
1488
+ }
1489
+
1490
+ brace_block: tLCURLY
1491
+ {
1492
+ self.env.extend :dynamic
1493
+ result = self.lexer.lineno
1494
+ }
1495
+ opt_block_param
1496
+ {
1497
+ result = nil # self.env.dynamic.keys
1498
+ }
1499
+ compstmt tRCURLY
1500
+ {
1501
+ _, line, args, _, body, _ = val
1502
+
1503
+ result = new_iter nil, args, body
1504
+ result.line = line
1505
+
1506
+ self.env.unextend
1507
+ }
1508
+ | kDO
1509
+ {
1510
+ self.env.extend :dynamic
1511
+ result = self.lexer.lineno
1512
+ }
1513
+ opt_block_param
1514
+ {
1515
+ result = nil # self.env.dynamic.keys
1516
+ }
1517
+ compstmt kEND
1518
+ {
1519
+ _, line, args, _, body, _ = val
1520
+
1521
+ result = new_iter nil, args, body
1522
+ result.line = line
1523
+
1524
+ self.env.unextend
1525
+ }
1526
+
1527
+ case_body: kWHEN
1528
+ {
1529
+ result = self.lexer.lineno
1530
+ }
1531
+ args then compstmt cases
1532
+ {
1533
+ result = new_when(val[2], val[4])
1534
+ result.line = val[1]
1535
+ result << val[5] if val[5]
1536
+ }
1537
+
1538
+ cases: opt_else | case_body
1539
+
1540
+ opt_rescue: kRESCUE exc_list exc_var then compstmt opt_rescue
1541
+ {
1542
+ _, klasses, var, _, body, rest = val
1543
+
1544
+ klasses ||= s(:array)
1545
+ klasses << node_assign(var, s(:gvar, :"$!")) if var
1546
+
1547
+ result = new_resbody(klasses, body)
1548
+ result << rest if rest # UGH, rewritten above
1549
+ }
1550
+ |
1551
+ {
1552
+ result = nil
1553
+ }
1554
+
1555
+ exc_list: arg_value
1556
+ {
1557
+ result = s(:array, val[0])
1558
+ }
1559
+ | mrhs
1560
+ | none
1561
+
1562
+ exc_var: tASSOC lhs
1563
+ {
1564
+ result = val[1]
1565
+ }
1566
+ | none
1567
+
1568
+ opt_ensure: kENSURE compstmt
1569
+ {
1570
+ _, body = val
1571
+
1572
+ result = body || s(:nil)
1573
+ }
1574
+ | none
1575
+
1576
+ literal: numeric { result = s(:lit, val[0]) }
1577
+ | symbol { result = s(:lit, val[0]) }
1578
+ | dsym
1579
+
1580
+ strings: string
1581
+ {
1582
+ val[0] = s(:dstr, val[0].value) if val[0][0] == :evstr
1583
+ result = val[0]
1584
+ }
1585
+
1586
+ string: string1
1587
+ | string string1
1588
+ {
1589
+ result = self.literal_concat val[0], val[1]
1590
+ }
1591
+
1592
+ string1: tSTRING_BEG string_contents tSTRING_END
1593
+ {
1594
+ result = val[1]
1595
+ }
1596
+ | tSTRING
1597
+ {
1598
+ result = new_string val
1599
+ }
1600
+
1601
+ xstring: tXSTRING_BEG xstring_contents tSTRING_END
1602
+ {
1603
+ result = new_xstring val[1]
1604
+ }
1605
+
1606
+ regexp: tREGEXP_BEG regexp_contents tREGEXP_END
1607
+ {
1608
+ result = new_regexp val
1609
+ }
1610
+
1611
+ words: tWORDS_BEG tSPACE tSTRING_END
1612
+ {
1613
+ result = s(:array)
1614
+ }
1615
+ | tWORDS_BEG word_list tSTRING_END
1616
+ {
1617
+ result = val[1]
1618
+ }
1619
+
1620
+ word_list: none
1621
+ {
1622
+ result = s(:array)
1623
+ }
1624
+ | word_list word tSPACE
1625
+ {
1626
+ word = val[1][0] == :evstr ? s(:dstr, "", val[1]) : val[1]
1627
+ result = val[0] << word
1628
+ }
1629
+
1630
+ word: string_content
1631
+ | word string_content
1632
+ {
1633
+ result = self.literal_concat val[0], val[1]
1634
+ }
1635
+
1636
+ qwords: tQWORDS_BEG tSPACE tSTRING_END
1637
+ {
1638
+ result = s(:array)
1639
+ }
1640
+ | tQWORDS_BEG qword_list tSTRING_END
1641
+ {
1642
+ result = val[1]
1643
+ }
1644
+
1645
+ qword_list: none
1646
+ {
1647
+ result = s(:array)
1648
+ }
1649
+ | qword_list tSTRING_CONTENT tSPACE
1650
+ {
1651
+ result = val[0] << s(:str, val[1])
1652
+ }
1653
+
1654
+ string_contents: none
1655
+ {
1656
+ result = s(:str, "")
1657
+ }
1658
+ | string_contents string_content
1659
+ {
1660
+ result = literal_concat(val[0], val[1])
1661
+ }
1662
+
1663
+ xstring_contents: none
1664
+ {
1665
+ result = nil
1666
+ }
1667
+ | xstring_contents string_content
1668
+ {
1669
+ result = literal_concat(val[0], val[1])
1670
+ }
1671
+
1672
+ regexp_contents: none
1673
+ {
1674
+ result = nil
1675
+ }
1676
+ | regexp_contents string_content
1677
+ {
1678
+ result = literal_concat(val[0], val[1])
1679
+ }
1680
+
1681
+ string_content: tSTRING_CONTENT
1682
+ {
1683
+ result = new_string val
1684
+ }
1685
+ | tSTRING_DVAR
1686
+ {
1687
+ result = lexer.lex_strterm
1688
+
1689
+ lexer.lex_strterm = nil
1690
+ lexer.lex_state = :expr_beg
1691
+ }
1692
+ string_dvar
1693
+ {
1694
+ lexer.lex_strterm = val[1]
1695
+ result = s(:evstr, val[2])
1696
+ }
1697
+ | tSTRING_DBEG
1698
+ {
1699
+ result = [lexer.lex_strterm,
1700
+ lexer.brace_nest,
1701
+ lexer.string_nest, # TODO: remove
1702
+ lexer.cond.store,
1703
+ lexer.cmdarg.store]
1704
+
1705
+ lexer.lex_strterm = nil
1706
+ lexer.brace_nest = 0
1707
+ lexer.string_nest = 0
1708
+
1709
+ lexer.lex_state = :expr_beg
1710
+ }
1711
+ compstmt tRCURLY
1712
+ {
1713
+ _, memo, stmt, _ = val
1714
+
1715
+ lex_strterm, brace_nest, string_nest, oldcond, oldcmdarg = memo
1716
+
1717
+ lexer.lex_strterm = lex_strterm
1718
+ lexer.brace_nest = brace_nest
1719
+ lexer.string_nest = string_nest
1720
+
1721
+ lexer.cond.restore oldcond
1722
+ lexer.cmdarg.restore oldcmdarg
1723
+
1724
+ case stmt
1725
+ when Sexp then
1726
+ case stmt[0]
1727
+ when :str, :dstr, :evstr then
1728
+ result = stmt
1729
+ else
1730
+ result = s(:evstr, stmt)
1731
+ end
1732
+ when nil then
1733
+ result = s(:evstr)
1734
+ else
1735
+ raise "unknown string body: #{stmt.inspect}"
1736
+ end
1737
+ }
1738
+
1739
+ string_dvar: tGVAR { result = s(:gvar, val[0].to_sym) }
1740
+ | tIVAR { result = s(:ivar, val[0].to_sym) }
1741
+ | tCVAR { result = s(:cvar, val[0].to_sym) }
1742
+ | backref
1743
+
1744
+ symbol: tSYMBEG sym
1745
+ {
1746
+ lexer.lex_state = :expr_end
1747
+ result = val[1].to_sym
1748
+ }
1749
+ | tSYMBOL
1750
+ {
1751
+ result = val[0].to_sym
1752
+ }
1753
+
1754
+ sym: fname | tIVAR | tGVAR | tCVAR
1755
+
1756
+ dsym: tSYMBEG xstring_contents tSTRING_END
1757
+ {
1758
+ lexer.lex_state = :expr_end
1759
+ result = val[1]
1760
+
1761
+ result ||= s(:str, "")
1762
+
1763
+ case result[0]
1764
+ when :dstr then
1765
+ result[0] = :dsym
1766
+ when :str then
1767
+ result = s(:lit, result.last.intern)
1768
+ else
1769
+ result = s(:dsym, "", result)
1770
+ end
1771
+ }
1772
+
1773
+ numeric: tINTEGER
1774
+ | tFLOAT
1775
+ | tUMINUS_NUM tINTEGER =tLOWEST
1776
+ {
1777
+ result = -val[1] # TODO: pt_testcase
1778
+ }
1779
+ | tUMINUS_NUM tFLOAT =tLOWEST
1780
+ {
1781
+ result = -val[1] # TODO: pt_testcase
1782
+ }
1783
+
1784
+ user_variable: tIDENTIFIER
1785
+ | tIVAR
1786
+ | tGVAR
1787
+ | tCONSTANT
1788
+ | tCVAR
1789
+
1790
+ keyword_variable: kNIL { result = s(:nil) }
1791
+ | kSELF { result = s(:self) }
1792
+ | kTRUE { result = s(:true) }
1793
+ | kFALSE { result = s(:false) }
1794
+ | k__FILE__ { result = s(:str, self.file) }
1795
+ | k__LINE__ { result = s(:lit, lexer.lineno) }
1796
+ | k__ENCODING__
1797
+ {
1798
+ result =
1799
+ if defined? Encoding then
1800
+ s(:colon2, s(:const, :Encoding), :UTF_8)
1801
+ else
1802
+ s(:str, "Unsupported!")
1803
+ end
1804
+ }
1805
+
1806
+ var_ref: user_variable
1807
+ {
1808
+ var = val[0]
1809
+ result = Sexp === var ? var : self.gettable(var)
1810
+ }
1811
+ | keyword_variable
1812
+ {
1813
+ var = val[0]
1814
+ result = Sexp === var ? var : self.gettable(var)
1815
+ }
1816
+
1817
+ var_lhs: user_variable
1818
+ {
1819
+ result = self.assignable val[0]
1820
+ }
1821
+ | keyword_variable
1822
+ {
1823
+ result = self.assignable val[0]
1824
+ }
1825
+
1826
+ backref: tNTH_REF { result = s(:nth_ref, val[0]) }
1827
+ | tBACK_REF { result = s(:back_ref, val[0]) }
1828
+
1829
+ superclass: term
1830
+ {
1831
+ result = nil
1832
+ }
1833
+ | tLT
1834
+ {
1835
+ lexer.lex_state = :expr_beg
1836
+ }
1837
+ expr_value term
1838
+ {
1839
+ result = val[2]
1840
+ }
1841
+ | error term
1842
+ {
1843
+ yyerrok
1844
+ result = nil
1845
+ }
1846
+
1847
+ f_arglist: tLPAREN2 f_args rparen
1848
+ {
1849
+ result = val[1]
1850
+ lexer.lex_state = :expr_beg
1851
+ self.lexer.command_start = true
1852
+ }
1853
+ | f_args term
1854
+ {
1855
+ result = val[0]
1856
+ }
1857
+
1858
+ f_args: f_arg tCOMMA f_optarg tCOMMA f_rest_arg opt_f_block_arg
1859
+ {
1860
+ result = args val
1861
+ }
1862
+ | f_arg tCOMMA f_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_f_block_arg
1863
+ {
1864
+ result = args val
1865
+ }
1866
+ | f_arg tCOMMA f_optarg opt_f_block_arg
1867
+ {
1868
+ result = args val
1869
+ }
1870
+ | f_arg tCOMMA f_optarg tCOMMA f_arg opt_f_block_arg
1871
+ {
1872
+ result = args val
1873
+ }
1874
+ | f_arg tCOMMA f_rest_arg opt_f_block_arg
1875
+ {
1876
+ result = args val
1877
+ }
1878
+ | f_arg tCOMMA f_rest_arg tCOMMA f_arg opt_f_block_arg
1879
+ {
1880
+ result = args val
1881
+ }
1882
+ | f_arg opt_f_block_arg
1883
+ {
1884
+ result = args val
1885
+ }
1886
+ | f_optarg tCOMMA f_rest_arg opt_f_block_arg
1887
+ {
1888
+ result = args val
1889
+ }
1890
+ | f_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_f_block_arg
1891
+ {
1892
+ result = args val
1893
+ }
1894
+ | f_optarg opt_f_block_arg
1895
+ {
1896
+ result = args val
1897
+ }
1898
+ | f_optarg tCOMMA f_arg opt_f_block_arg
1899
+ {
1900
+ result = args val
1901
+ }
1902
+ | f_rest_arg opt_f_block_arg
1903
+ {
1904
+ result = args val
1905
+ }
1906
+ | f_rest_arg tCOMMA f_arg opt_f_block_arg
1907
+ {
1908
+ result = args val
1909
+ }
1910
+ | f_block_arg
1911
+ {
1912
+ result = args val
1913
+ }
1914
+ |
1915
+ {
1916
+ result = args val
1917
+ }
1918
+
1919
+ f_bad_arg: tCONSTANT
1920
+ {
1921
+ yyerror "formal argument cannot be a constant"
1922
+ }
1923
+ | tIVAR
1924
+ {
1925
+ yyerror "formal argument cannot be an instance variable"
1926
+ }
1927
+ | tGVAR
1928
+ {
1929
+ yyerror "formal argument cannot be a global variable"
1930
+ }
1931
+ | tCVAR
1932
+ {
1933
+ yyerror "formal argument cannot be a class variable"
1934
+ }
1935
+
1936
+ f_norm_arg: f_bad_arg
1937
+ | tIDENTIFIER
1938
+ {
1939
+ identifier = val[0].to_sym
1940
+ self.env[identifier] = :lvar
1941
+
1942
+ result = identifier
1943
+ }
1944
+
1945
+ f_arg_item: f_norm_arg
1946
+ | tLPAREN f_margs rparen
1947
+ {
1948
+ result = val[1]
1949
+ }
1950
+
1951
+ f_arg: f_arg_item
1952
+ {
1953
+ case val[0]
1954
+ when Symbol then
1955
+ result = s(:args)
1956
+ result << val[0]
1957
+ when Sexp then
1958
+ result = val[0]
1959
+ else
1960
+ raise "Unknown f_arg type: #{val.inspect}"
1961
+ end
1962
+ }
1963
+ | f_arg tCOMMA f_arg_item
1964
+ {
1965
+ list, _, item = val
1966
+
1967
+ if list.sexp_type == :args then
1968
+ result = list
1969
+ else
1970
+ result = s(:args, list)
1971
+ end
1972
+
1973
+ result << item
1974
+ }
1975
+
1976
+ f_opt: tIDENTIFIER tEQL arg_value
1977
+ {
1978
+ result = self.assignable val[0], val[2]
1979
+ # TODO: detect duplicate names
1980
+ }
1981
+
1982
+ f_block_opt: tIDENTIFIER tEQL primary_value
1983
+ {
1984
+ result = self.assignable val[0], val[2]
1985
+ }
1986
+
1987
+ f_block_optarg: f_block_opt
1988
+ {
1989
+ result = s(:block, val[0])
1990
+ }
1991
+ | f_block_optarg tCOMMA f_block_opt
1992
+ {
1993
+ result = val[0]
1994
+ result << val[2]
1995
+ }
1996
+
1997
+ f_optarg: f_opt
1998
+ {
1999
+ result = s(:block, val[0])
2000
+ }
2001
+ | f_optarg tCOMMA f_opt
2002
+ {
2003
+ result = self.block_append val[0], val[2]
2004
+ }
2005
+
2006
+ restarg_mark: tSTAR2 | tSTAR
2007
+
2008
+ f_rest_arg: restarg_mark tIDENTIFIER
2009
+ {
2010
+ # TODO: differs from parse.y - needs tests
2011
+ name = val[1].to_sym
2012
+ self.assignable name
2013
+ result = :"*#{name}"
2014
+ }
2015
+ | restarg_mark
2016
+ {
2017
+ name = :"*"
2018
+ self.env[name] = :lvar
2019
+ result = name
2020
+ }
2021
+
2022
+ blkarg_mark: tAMPER2 | tAMPER
2023
+
2024
+ f_block_arg: blkarg_mark tIDENTIFIER
2025
+ {
2026
+ identifier = val[1].to_sym
2027
+
2028
+ self.env[identifier] = :lvar
2029
+ result = "&#{identifier}".to_sym
2030
+ }
2031
+
2032
+ opt_f_block_arg: tCOMMA f_block_arg
2033
+ {
2034
+ result = val[1]
2035
+ }
2036
+ |
2037
+ {
2038
+ result = nil
2039
+ }
2040
+
2041
+ singleton: var_ref
2042
+ | tLPAREN2
2043
+ {
2044
+ lexer.lex_state = :expr_beg
2045
+ }
2046
+ expr rparen
2047
+ {
2048
+ result = val[2]
2049
+ yyerror "Can't define single method for literals." if
2050
+ result[0] == :lit
2051
+ }
2052
+
2053
+ assoc_list: none # [!nil]
2054
+ {
2055
+ result = s(:array)
2056
+ }
2057
+ | assocs trailer # [!nil]
2058
+ {
2059
+ result = val[0]
2060
+ }
2061
+
2062
+ assocs: assoc
2063
+ | assocs tCOMMA assoc
2064
+ {
2065
+ list = val[0].dup
2066
+ more = val[2][1..-1]
2067
+ list.push(*more) unless more.empty?
2068
+ result = list
2069
+ }
2070
+
2071
+ assoc: arg_value tASSOC arg_value
2072
+ {
2073
+ result = s(:array, val[0], val[2])
2074
+ }
2075
+ | tLABEL arg_value
2076
+ {
2077
+ label, _ = val[0] # TODO: fix lineno?
2078
+ result = s(:array, s(:lit, label.to_sym), val[1])
2079
+ }
2080
+
2081
+ operation: tIDENTIFIER | tCONSTANT | tFID
2082
+ operation2: tIDENTIFIER | tCONSTANT | tFID | op
2083
+ operation3: tIDENTIFIER | tFID | op
2084
+ dot_or_colon: tDOT | tCOLON2
2085
+ opt_terms: | terms
2086
+ opt_nl: | tNL
2087
+ rparen: opt_nl tRPAREN
2088
+ rbracket: opt_nl tRBRACK
2089
+ trailer: | tNL | tCOMMA
2090
+
2091
+ term: tSEMI { yyerrok }
2092
+ | tNL
2093
+
2094
+ terms: term
2095
+ | terms tSEMI { yyerrok }
2096
+
2097
+ none: { result = nil }
2098
+ end
2099
+
2100
+ ---- inner
2101
+
2102
+ require "ruby_lexer"
2103
+ require "ruby_parser_extras"
2104
+
2105
+ # :stopdoc:
2106
+
2107
+ # Local Variables: **
2108
+ # racc-token-length-max:14 **
2109
+ # End: **