brakeman 4.3.1 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1580) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +294 -107
  3. data/README.md +49 -13
  4. data/bin/brakeman +2 -0
  5. data/bundle/load.rb +14 -14
  6. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/CHANGES.txt +0 -0
  7. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/MIT-LICENSE +0 -0
  8. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/README.txt +0 -0
  9. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/erubis +0 -0
  10. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/erubis-run.rb +0 -0
  11. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/inline-require +0 -0
  12. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis.rb +0 -0
  13. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/context.rb +0 -0
  14. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/converter.rb +0 -0
  15. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine.rb +0 -0
  16. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +0 -0
  17. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +0 -0
  18. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +0 -0
  19. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +0 -0
  20. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +0 -0
  21. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +0 -0
  22. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +0 -0
  23. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +0 -0
  24. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +0 -0
  25. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +0 -0
  26. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/enhancer.rb +0 -0
  27. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/error.rb +0 -0
  28. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/evaluator.rb +0 -0
  29. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/generator.rb +0 -0
  30. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helper.rb +0 -0
  31. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +0 -0
  32. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +0 -0
  33. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/local-setting.rb +0 -0
  34. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/main.rb +0 -0
  35. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +0 -0
  36. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/tiny.rb +0 -0
  37. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/util.rb +0 -0
  38. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/setup.rb +0 -0
  39. data/bundle/ruby/2.7.0/gems/haml-5.2.1/CHANGELOG.md +1497 -0
  40. data/bundle/ruby/2.7.0/gems/haml-5.2.1/FAQ.md +147 -0
  41. data/bundle/ruby/2.7.0/gems/haml-5.2.1/Gemfile +16 -0
  42. data/bundle/ruby/2.7.0/gems/haml-5.2.1/MIT-LICENSE +20 -0
  43. data/bundle/ruby/2.7.0/gems/haml-5.2.1/README.md +210 -0
  44. data/bundle/ruby/2.7.0/gems/haml-5.2.1/REFERENCE.md +1373 -0
  45. data/bundle/ruby/2.7.0/gems/haml-5.2.1/TODO +24 -0
  46. data/bundle/ruby/2.7.0/gems/haml-5.2.1/haml.gemspec +45 -0
  47. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml.rb +25 -0
  48. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_builder.rb +164 -0
  49. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_compiler.rb +235 -0
  50. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_parser.rb +150 -0
  51. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/buffer.rb +238 -0
  52. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/compiler.rb +330 -0
  53. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/engine.rb +238 -0
  54. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/error.rb +65 -0
  55. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/escapable.rb +77 -0
  56. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/exec.rb +347 -0
  57. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/filters.rb +399 -0
  58. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/generator.rb +42 -0
  59. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers.rb +709 -0
  60. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/action_view_extensions.rb +60 -0
  61. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/action_view_mods.rb +132 -0
  62. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/action_view_xss_mods.rb +60 -0
  63. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/safe_erubi_template.rb +20 -0
  64. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/safe_erubis_template.rb +33 -0
  65. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/xss_mods.rb +114 -0
  66. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/options.rb +273 -0
  67. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/parser.rb +856 -0
  68. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/plugin.rb +37 -0
  69. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/railtie.rb +48 -0
  70. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/sass_rails_filter.rb +47 -0
  71. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/template.rb +39 -0
  72. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/template/options.rb +27 -0
  73. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/temple_engine.rb +123 -0
  74. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/temple_line_counter.rb +30 -0
  75. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/util.rb +258 -0
  76. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/version.rb +5 -0
  77. data/bundle/ruby/2.7.0/gems/haml-5.2.1/yard/default/fulldoc/html/css/common.sass +15 -0
  78. data/bundle/ruby/2.7.0/gems/haml-5.2.1/yard/default/layout/html/footer.erb +12 -0
  79. data/bundle/ruby/{2.5.0/gems/highline-1.7.10 → 2.7.0/gems/highline-2.0.3}/AUTHORS +0 -0
  80. data/bundle/ruby/{2.5.0/gems/highline-1.7.10 → 2.7.0/gems/highline-2.0.3}/COPYING +0 -0
  81. data/bundle/ruby/2.7.0/gems/highline-2.0.3/Changelog.md +620 -0
  82. data/bundle/ruby/2.7.0/gems/highline-2.0.3/Gemfile +22 -0
  83. data/bundle/ruby/{2.5.0/gems/highline-1.7.10 → 2.7.0/gems/highline-2.0.3}/LICENSE +0 -0
  84. data/bundle/ruby/2.7.0/gems/highline-2.0.3/README.md +202 -0
  85. data/bundle/ruby/{2.5.0/gems/highline-1.7.10 → 2.7.0/gems/highline-2.0.3}/TODO +0 -0
  86. data/bundle/ruby/2.7.0/gems/highline-2.0.3/appveyor.yml +37 -0
  87. data/bundle/ruby/2.7.0/gems/highline-2.0.3/highline.gemspec +35 -0
  88. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline.rb +650 -0
  89. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/builtin_styles.rb +129 -0
  90. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/color_scheme.rb +151 -0
  91. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/compatibility.rb +23 -0
  92. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/custom_errors.rb +57 -0
  93. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/import.rb +48 -0
  94. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/io_console_compatible.rb +37 -0
  95. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/list.rb +177 -0
  96. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/list_renderer.rb +261 -0
  97. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/menu.rb +576 -0
  98. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/menu/item.rb +32 -0
  99. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/paginator.rb +52 -0
  100. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/question.rb +630 -0
  101. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/question/answer_converter.rb +103 -0
  102. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/question_asker.rb +150 -0
  103. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/simulate.rb +59 -0
  104. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/statement.rb +88 -0
  105. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/string.rb +36 -0
  106. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/string_extensions.rb +130 -0
  107. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/style.rb +325 -0
  108. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/template_renderer.rb +62 -0
  109. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal.rb +190 -0
  110. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal/io_console.rb +36 -0
  111. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal/ncurses.rb +38 -0
  112. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal/unix_stty.rb +51 -0
  113. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/version.rb +6 -0
  114. data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/wrapper.rb +53 -0
  115. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/Gemfile +6 -0
  116. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/LICENSE.txt +22 -0
  117. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/NEWS.md +141 -0
  118. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/README.md +60 -0
  119. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/attlistdecl.rb +63 -0
  120. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/attribute.rb +205 -0
  121. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/cdata.rb +68 -0
  122. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/child.rb +97 -0
  123. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/comment.rb +80 -0
  124. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/doctype.rb +287 -0
  125. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/document.rb +291 -0
  126. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/attlistdecl.rb +11 -0
  127. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/dtd.rb +47 -0
  128. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/elementdecl.rb +18 -0
  129. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/entitydecl.rb +57 -0
  130. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/notationdecl.rb +40 -0
  131. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/element.rb +1269 -0
  132. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/encoding.rb +51 -0
  133. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/entity.rb +171 -0
  134. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/default.rb +116 -0
  135. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/pretty.rb +142 -0
  136. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/transitive.rb +58 -0
  137. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/functions.rb +447 -0
  138. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/instruction.rb +79 -0
  139. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/light/node.rb +196 -0
  140. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/namespace.rb +59 -0
  141. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/node.rb +76 -0
  142. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/output.rb +30 -0
  143. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parent.rb +166 -0
  144. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parseexception.rb +52 -0
  145. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/baseparser.rb +594 -0
  146. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/lightparser.rb +59 -0
  147. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/pullparser.rb +197 -0
  148. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/sax2parser.rb +273 -0
  149. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/streamparser.rb +61 -0
  150. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/treeparser.rb +101 -0
  151. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/ultralightparser.rb +57 -0
  152. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/xpathparser.rb +675 -0
  153. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/quickpath.rb +266 -0
  154. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/rexml.rb +32 -0
  155. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/sax2listener.rb +98 -0
  156. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/security.rb +28 -0
  157. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/source.rb +298 -0
  158. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/streamlistener.rb +93 -0
  159. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/text.rb +424 -0
  160. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/undefinednamespaceexception.rb +9 -0
  161. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/relaxng.rb +539 -0
  162. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/validation.rb +144 -0
  163. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/validationexception.rb +10 -0
  164. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xmldecl.rb +130 -0
  165. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xmltokens.rb +85 -0
  166. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xpath.rb +81 -0
  167. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xpath_parser.rb +968 -0
  168. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/rexml.gemspec +84 -0
  169. data/bundle/ruby/2.7.0/gems/ruby2ruby-2.4.4/History.rdoc +435 -0
  170. data/bundle/ruby/{2.5.0/gems/ruby2ruby-2.4.1 → 2.7.0/gems/ruby2ruby-2.4.4}/Manifest.txt +0 -0
  171. data/bundle/ruby/{2.5.0/gems/ruby2ruby-2.4.1 → 2.7.0/gems/ruby2ruby-2.4.4}/README.rdoc +0 -0
  172. data/bundle/ruby/2.7.0/gems/ruby2ruby-2.4.4/lib/ruby2ruby.rb +1309 -0
  173. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/History.rdoc +1162 -0
  174. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/Manifest.txt +39 -0
  175. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/README.rdoc +109 -0
  176. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/compare/normalize.rb +213 -0
  177. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/debugging.md +57 -0
  178. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/rp_extensions.rb +74 -0
  179. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.11.0 → 2.7.0/gems/ruby_parser-3.15.1}/lib/rp_stringscanner.rb +0 -0
  180. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby20_parser.rb +7062 -0
  181. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby20_parser.y +2605 -0
  182. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby21_parser.rb +7140 -0
  183. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby21_parser.y +2624 -0
  184. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby22_parser.rb +7160 -0
  185. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby22_parser.y +2633 -0
  186. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby23_parser.rb +7175 -0
  187. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby23_parser.y +2635 -0
  188. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby24_parser.rb +7204 -0
  189. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby24_parser.y +2643 -0
  190. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby25_parser.rb +7204 -0
  191. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby25_parser.y +2643 -0
  192. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby26_parser.rb +7224 -0
  193. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby26_parser.y +2657 -0
  194. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby27_parser.rb +7224 -0
  195. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby27_parser.y +2657 -0
  196. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_lexer.rb +1473 -0
  197. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_lexer.rex +178 -0
  198. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_lexer.rex.rb +363 -0
  199. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_parser.rb +94 -0
  200. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_parser.yy +2764 -0
  201. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_parser_extras.rb +1631 -0
  202. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/tools/munge.rb +222 -0
  203. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/tools/ripper.rb +39 -0
  204. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/History.rdoc +6 -0
  205. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/Manifest.txt +19 -0
  206. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/README.rdoc +54 -0
  207. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy.rb +5 -0
  208. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.rb +5794 -0
  209. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.y +1909 -0
  210. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.rb +6186 -0
  211. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.y +2117 -0
  212. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rb +1412 -0
  213. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex +179 -0
  214. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex.rb +323 -0
  215. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb +30 -0
  216. data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser_extras.rb +1388 -0
  217. data/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/CHANGES.md +154 -0
  218. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/Gemfile +0 -0
  219. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/LICENSE.txt +0 -0
  220. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/README.md +0 -0
  221. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/bundle_install_all_ruby_versions.sh +0 -0
  222. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml.rb +0 -0
  223. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/deep.rb +0 -0
  224. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/libyaml_checker.rb +0 -0
  225. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/load.rb +0 -0
  226. data/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +37 -0
  227. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/parse/hexadecimal.rb +0 -0
  228. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/parse/sexagesimal.rb +0 -0
  229. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/psych_handler.rb +0 -0
  230. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/psych_resolver.rb +0 -0
  231. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/resolver.rb +0 -0
  232. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -0
  233. data/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +39 -0
  234. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/syck_hack.rb +0 -0
  235. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/syck_node_monkeypatch.rb +0 -0
  236. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/syck_resolver.rb +0 -0
  237. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/transform.rb +0 -0
  238. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/transform/to_boolean.rb +0 -0
  239. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/transform/to_date.rb +0 -0
  240. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/transform/to_float.rb +0 -0
  241. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/transform/to_integer.rb +0 -0
  242. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/transform/to_nil.rb +0 -0
  243. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/transform/to_symbol.rb +0 -0
  244. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/lib/safe_yaml/transform/transformation_map.rb +0 -0
  245. data/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +3 -0
  246. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/run_specs_all_ruby_versions.sh +0 -0
  247. data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/safe_yaml.gemspec +0 -0
  248. data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/History.rdoc +427 -0
  249. data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/Manifest.txt +15 -0
  250. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.11.0 → 2.7.0/gems/sexp_processor-4.15.2}/README.rdoc +0 -0
  251. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.11.0 → 2.7.0/gems/sexp_processor-4.15.2}/lib/composite_sexp_processor.rb +0 -0
  252. data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/pt_testcase.rb +3128 -0
  253. data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/sexp.rb +381 -0
  254. data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/sexp_matcher.rb +1100 -0
  255. data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/sexp_processor.rb +754 -0
  256. data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/strict_sexp.rb +126 -0
  257. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.11.0 → 2.7.0/gems/sexp_processor-4.15.2}/lib/unique.rb +0 -0
  258. data/bundle/ruby/2.7.0/gems/slim-4.1.0/CHANGES +460 -0
  259. data/bundle/ruby/2.7.0/gems/slim-4.1.0/Gemfile +70 -0
  260. data/bundle/ruby/2.7.0/gems/slim-4.1.0/LICENSE +21 -0
  261. data/bundle/ruby/2.7.0/gems/slim-4.1.0/README.jp.md +1289 -0
  262. data/bundle/ruby/2.7.0/gems/slim-4.1.0/README.md +1290 -0
  263. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim.rb +0 -0
  264. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/code_attributes.rb +0 -0
  265. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/command.rb +128 -0
  266. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/controls.rb +0 -0
  267. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/do_inserter.rb +0 -0
  268. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/embedded.rb +248 -0
  269. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/end_inserter.rb +0 -0
  270. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/engine.rb +39 -0
  271. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/erb_converter.rb +0 -0
  272. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/filter.rb +30 -0
  273. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/grammar.rb +23 -0
  274. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/include.rb +0 -0
  275. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/interpolation.rb +0 -0
  276. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/logic_less.rb +0 -0
  277. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/logic_less/context.rb +127 -0
  278. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/logic_less/filter.rb +0 -0
  279. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/parser.rb +548 -0
  280. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/smart.rb +0 -0
  281. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/smart/escaper.rb +0 -0
  282. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/smart/filter.rb +0 -0
  283. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/smart/parser.rb +34 -0
  284. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/splat/builder.rb +107 -0
  285. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/splat/filter.rb +0 -0
  286. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/template.rb +0 -0
  287. data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim/translator.rb +0 -0
  288. data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/version.rb +5 -0
  289. data/bundle/ruby/2.7.0/gems/slim-4.1.0/slim.gemspec +24 -0
  290. data/bundle/ruby/2.7.0/gems/temple-0.8.2/CHANGES +260 -0
  291. data/bundle/ruby/2.7.0/gems/temple-0.8.2/EXPRESSIONS.md +262 -0
  292. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/Gemfile +0 -0
  293. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/LICENSE +0 -0
  294. data/bundle/ruby/2.7.0/gems/temple-0.8.2/README.md +267 -0
  295. data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple.rb +67 -0
  296. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/engine.rb +0 -0
  297. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/erb/engine.rb +0 -0
  298. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/erb/parser.rb +0 -0
  299. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/erb/template.rb +0 -0
  300. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/erb/trimming.rb +0 -0
  301. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/exceptions.rb +0 -0
  302. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filter.rb +0 -0
  303. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/code_merger.rb +0 -0
  304. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/control_flow.rb +0 -0
  305. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/dynamic_inliner.rb +0 -0
  306. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/encoding.rb +0 -0
  307. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/eraser.rb +0 -0
  308. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/escapable.rb +0 -0
  309. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/multi_flattener.rb +0 -0
  310. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/remove_bom.rb +0 -0
  311. data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/filters/static_analyzer.rb +30 -0
  312. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/static_merger.rb +0 -0
  313. data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/filters/string_splitter.rb +130 -0
  314. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/validator.rb +0 -0
  315. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/generator.rb +0 -0
  316. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/array.rb +0 -0
  317. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/array_buffer.rb +0 -0
  318. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/erb.rb +0 -0
  319. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/rails_output_buffer.rb +0 -0
  320. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/string_buffer.rb +0 -0
  321. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/grammar.rb +0 -0
  322. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/attribute_merger.rb +0 -0
  323. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/attribute_remover.rb +0 -0
  324. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/attribute_sorter.rb +0 -0
  325. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/dispatcher.rb +0 -0
  326. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/fast.rb +0 -0
  327. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/filter.rb +0 -0
  328. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/pretty.rb +0 -0
  329. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/safe.rb +0 -0
  330. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/map.rb +0 -0
  331. data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/mixins/dispatcher.rb +161 -0
  332. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/engine_dsl.rb +0 -0
  333. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/grammar_dsl.rb +0 -0
  334. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/options.rb +0 -0
  335. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/template.rb +0 -0
  336. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/parser.rb +0 -0
  337. data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/static_analyzer.rb +77 -0
  338. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/templates.rb +0 -0
  339. data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/templates/rails.rb +26 -0
  340. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/templates/tilt.rb +0 -0
  341. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/lib/temple/utils.rb +0 -0
  342. data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/version.rb +3 -0
  343. data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/temple.gemspec +0 -0
  344. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Gemfile +0 -0
  345. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/History.rdoc +0 -0
  346. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/LICENSE.txt +0 -0
  347. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Manifest +0 -0
  348. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/README.rdoc +0 -0
  349. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Todo.rdoc +0 -0
  350. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table.rb +0 -0
  351. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb +0 -0
  352. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/import.rb +0 -0
  353. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/row.rb +0 -0
  354. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb +0 -0
  355. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/style.rb +0 -0
  356. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/table.rb +0 -0
  357. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb +0 -0
  358. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/version.rb +0 -0
  359. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/terminal-table.gemspec +0 -0
  360. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/COPYING +0 -0
  361. data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt.rb +166 -0
  362. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/asciidoc.rb +0 -0
  363. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/babel.rb +0 -0
  364. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/bluecloth.rb +0 -0
  365. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/builder.rb +0 -0
  366. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/coffee.rb +0 -0
  367. data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/commonmarker.rb +78 -0
  368. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/creole.rb +0 -0
  369. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/csv.rb +0 -0
  370. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/dummy.rb +0 -0
  371. data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/erb.rb +63 -0
  372. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/erubi.rb +0 -0
  373. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/erubis.rb +0 -0
  374. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/etanni.rb +0 -0
  375. data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/haml.rb +86 -0
  376. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/kramdown.rb +0 -0
  377. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/less.rb +0 -0
  378. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/liquid.rb +0 -0
  379. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/livescript.rb +0 -0
  380. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/mapping.rb +0 -0
  381. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/markaby.rb +0 -0
  382. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/maruku.rb +0 -0
  383. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/nokogiri.rb +0 -0
  384. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/pandoc.rb +0 -0
  385. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/plain.rb +0 -0
  386. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/prawn.rb +0 -0
  387. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/radius.rb +0 -0
  388. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/rdiscount.rb +0 -0
  389. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/rdoc.rb +0 -0
  390. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/redcarpet.rb +0 -0
  391. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/redcloth.rb +0 -0
  392. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/rst-pandoc.rb +0 -0
  393. data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/sass.rb +52 -0
  394. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/sigil.rb +0 -0
  395. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/string.rb +0 -0
  396. data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/template.rb +297 -0
  397. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/typescript.rb +0 -0
  398. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/wikicloth.rb +0 -0
  399. data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/yajl.rb +0 -0
  400. data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/CHANGELOG.md +133 -0
  401. data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/MIT-LICENSE.txt +22 -0
  402. data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/README.md +124 -0
  403. data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/data/display_width.marshal.gz +0 -0
  404. data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width.rb +51 -0
  405. data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/constants.rb +8 -0
  406. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.4.0 → 2.7.0/gems/unicode-display_width-1.7.0}/lib/unicode/display_width/index.rb +0 -0
  407. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.4.0 → 2.7.0/gems/unicode-display_width-1.7.0}/lib/unicode/display_width/no_string_ext.rb +0 -0
  408. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.4.0 → 2.7.0/gems/unicode-display_width-1.7.0}/lib/unicode/display_width/string_ext.rb +0 -0
  409. data/lib/brakeman.rb +42 -3
  410. data/lib/brakeman/app_tree.rb +81 -22
  411. data/lib/brakeman/call_index.rb +61 -19
  412. data/lib/brakeman/checks.rb +23 -15
  413. data/lib/brakeman/checks/base_check.rb +93 -82
  414. data/lib/brakeman/checks/check_basic_auth.rb +2 -0
  415. data/lib/brakeman/checks/check_basic_auth_timing_attack.rb +1 -1
  416. data/lib/brakeman/checks/check_content_tag.rb +16 -5
  417. data/lib/brakeman/checks/check_cookie_serialization.rb +22 -0
  418. data/lib/brakeman/checks/check_create_with.rb +1 -1
  419. data/lib/brakeman/checks/check_cross_site_scripting.rb +18 -13
  420. data/lib/brakeman/checks/check_csrf_token_forgery_cve.rb +28 -0
  421. data/lib/brakeman/checks/check_default_routes.rb +8 -3
  422. data/lib/brakeman/checks/check_deserialize.rb +71 -2
  423. data/lib/brakeman/checks/check_detailed_exceptions.rb +1 -1
  424. data/lib/brakeman/checks/check_digest_dos.rb +4 -4
  425. data/lib/brakeman/checks/check_dynamic_finders.rb +1 -1
  426. data/lib/brakeman/checks/check_escape_function.rb +1 -1
  427. data/lib/brakeman/checks/check_evaluation.rb +0 -1
  428. data/lib/brakeman/checks/check_execute.rb +89 -9
  429. data/lib/brakeman/checks/check_file_access.rb +19 -3
  430. data/lib/brakeman/checks/check_file_disclosure.rb +1 -1
  431. data/lib/brakeman/checks/check_filter_skipping.rb +1 -1
  432. data/lib/brakeman/checks/check_force_ssl.rb +27 -0
  433. data/lib/brakeman/checks/check_forgery_setting.rb +3 -3
  434. data/lib/brakeman/checks/check_header_dos.rb +5 -5
  435. data/lib/brakeman/checks/check_i18n_xss.rb +5 -5
  436. data/lib/brakeman/checks/check_jruby_xml.rb +3 -3
  437. data/lib/brakeman/checks/check_json_encoding.rb +3 -3
  438. data/lib/brakeman/checks/check_json_entity_escape.rb +38 -0
  439. data/lib/brakeman/checks/check_json_parsing.rb +15 -13
  440. data/lib/brakeman/checks/check_link_to.rb +4 -4
  441. data/lib/brakeman/checks/check_link_to_href.rb +9 -6
  442. data/lib/brakeman/checks/check_mail_to.rb +4 -4
  443. data/lib/brakeman/checks/check_mass_assignment.rb +34 -4
  444. data/lib/brakeman/checks/check_mime_type_dos.rb +3 -3
  445. data/lib/brakeman/checks/check_model_attr_accessible.rb +2 -2
  446. data/lib/brakeman/checks/check_model_attributes.rb +16 -54
  447. data/lib/brakeman/checks/check_model_serialize.rb +2 -2
  448. data/lib/brakeman/checks/check_nested_attributes.rb +3 -3
  449. data/lib/brakeman/checks/check_nested_attributes_bypass.rb +5 -5
  450. data/lib/brakeman/checks/check_number_to_currency.rb +4 -4
  451. data/lib/brakeman/checks/check_page_caching_cve.rb +37 -0
  452. data/lib/brakeman/checks/check_permit_attributes.rb +1 -1
  453. data/lib/brakeman/checks/check_quote_table_name.rb +2 -2
  454. data/lib/brakeman/checks/check_regex_dos.rb +2 -2
  455. data/lib/brakeman/checks/check_render.rb +2 -2
  456. data/lib/brakeman/checks/check_render_dos.rb +1 -1
  457. data/lib/brakeman/checks/check_render_inline.rb +1 -1
  458. data/lib/brakeman/checks/check_response_splitting.rb +1 -1
  459. data/lib/brakeman/checks/check_reverse_tabnabbing.rb +58 -0
  460. data/lib/brakeman/checks/check_route_dos.rb +1 -1
  461. data/lib/brakeman/checks/check_safe_buffer_manipulation.rb +1 -1
  462. data/lib/brakeman/checks/check_sanitize_methods.rb +4 -4
  463. data/lib/brakeman/checks/check_secrets.rb +2 -2
  464. data/lib/brakeman/checks/check_select_tag.rb +1 -1
  465. data/lib/brakeman/checks/check_select_vulnerability.rb +1 -1
  466. data/lib/brakeman/checks/check_send.rb +0 -1
  467. data/lib/brakeman/checks/check_session_manipulation.rb +1 -2
  468. data/lib/brakeman/checks/check_session_settings.rb +16 -13
  469. data/lib/brakeman/checks/check_simple_format.rb +7 -2
  470. data/lib/brakeman/checks/check_single_quotes.rb +14 -10
  471. data/lib/brakeman/checks/check_skip_before_filter.rb +5 -5
  472. data/lib/brakeman/checks/check_sprockets_path_traversal.rb +39 -0
  473. data/lib/brakeman/checks/check_sql.rb +47 -49
  474. data/lib/brakeman/checks/check_sql_cves.rb +2 -2
  475. data/lib/brakeman/checks/check_strip_tags.rb +10 -8
  476. data/lib/brakeman/checks/check_symbol_dos.rb +1 -1
  477. data/lib/brakeman/checks/check_symbol_dos_cve.rb +1 -1
  478. data/lib/brakeman/checks/check_template_injection.rb +32 -0
  479. data/lib/brakeman/checks/check_translate_bug.rb +7 -7
  480. data/lib/brakeman/checks/check_unsafe_reflection.rb +1 -1
  481. data/lib/brakeman/checks/check_unsafe_reflection_methods.rb +68 -0
  482. data/lib/brakeman/checks/check_unscoped_find.rb +1 -1
  483. data/lib/brakeman/checks/check_validation_regex.rb +2 -2
  484. data/lib/brakeman/checks/check_verb_confusion.rb +75 -0
  485. data/lib/brakeman/checks/check_weak_hash.rb +18 -19
  486. data/lib/brakeman/checks/check_xml_dos.rb +3 -3
  487. data/lib/brakeman/checks/check_yaml_parsing.rb +11 -19
  488. data/lib/brakeman/commandline.rb +25 -1
  489. data/lib/brakeman/differ.rb +16 -33
  490. data/lib/brakeman/file_parser.rb +25 -21
  491. data/lib/brakeman/file_path.rb +85 -0
  492. data/lib/brakeman/format/style.css +8 -0
  493. data/lib/brakeman/messages.rb +220 -0
  494. data/lib/brakeman/options.rb +45 -1
  495. data/lib/brakeman/parsers/haml_embedded.rb +44 -0
  496. data/lib/brakeman/parsers/slim_embedded.rb +44 -0
  497. data/lib/brakeman/parsers/template_parser.rb +11 -12
  498. data/lib/brakeman/processor.rb +5 -6
  499. data/lib/brakeman/processors/alias_processor.rb +78 -14
  500. data/lib/brakeman/processors/base_processor.rb +10 -7
  501. data/lib/brakeman/processors/config_processor.rb +4 -1
  502. data/lib/brakeman/processors/controller_alias_processor.rb +10 -7
  503. data/lib/brakeman/processors/controller_processor.rb +10 -14
  504. data/lib/brakeman/processors/gem_processor.rb +38 -2
  505. data/lib/brakeman/processors/haml_template_processor.rb +99 -123
  506. data/lib/brakeman/processors/lib/call_conversion_helper.rb +11 -5
  507. data/lib/brakeman/processors/lib/file_type_detector.rb +64 -0
  508. data/lib/brakeman/processors/lib/find_all_calls.rb +57 -18
  509. data/lib/brakeman/processors/lib/find_call.rb +3 -64
  510. data/lib/brakeman/processors/lib/module_helper.rb +8 -8
  511. data/lib/brakeman/processors/lib/processor_helper.rb +3 -3
  512. data/lib/brakeman/processors/lib/rails2_config_processor.rb +4 -4
  513. data/lib/brakeman/processors/lib/rails2_route_processor.rb +2 -2
  514. data/lib/brakeman/processors/lib/rails3_config_processor.rb +19 -19
  515. data/lib/brakeman/processors/lib/rails3_route_processor.rb +2 -4
  516. data/lib/brakeman/processors/lib/rails4_config_processor.rb +18 -0
  517. data/lib/brakeman/processors/lib/render_helper.rb +10 -3
  518. data/lib/brakeman/processors/lib/render_path.rb +32 -0
  519. data/lib/brakeman/processors/library_processor.rb +6 -6
  520. data/lib/brakeman/processors/model_processor.rb +4 -5
  521. data/lib/brakeman/processors/output_processor.rb +6 -1
  522. data/lib/brakeman/processors/slim_template_processor.rb +16 -0
  523. data/lib/brakeman/processors/template_alias_processor.rb +36 -4
  524. data/lib/brakeman/processors/template_processor.rb +14 -10
  525. data/lib/brakeman/report.rb +22 -4
  526. data/lib/brakeman/report/ignore/config.rb +12 -5
  527. data/lib/brakeman/report/ignore/interactive.rb +2 -2
  528. data/lib/brakeman/report/pager.rb +1 -0
  529. data/lib/brakeman/report/report_base.rb +64 -165
  530. data/lib/brakeman/report/report_codeclimate.rb +3 -3
  531. data/lib/brakeman/report/report_csv.rb +38 -44
  532. data/lib/brakeman/report/report_hash.rb +1 -1
  533. data/lib/brakeman/report/report_html.rb +36 -33
  534. data/lib/brakeman/report/report_json.rb +1 -3
  535. data/lib/brakeman/report/report_junit.rb +104 -0
  536. data/lib/brakeman/report/report_markdown.rb +13 -7
  537. data/lib/brakeman/report/report_sarif.rb +114 -0
  538. data/lib/brakeman/report/report_sonar.rb +38 -0
  539. data/lib/brakeman/report/report_table.rb +173 -0
  540. data/lib/brakeman/report/report_tabs.rb +4 -2
  541. data/lib/brakeman/report/report_text.rb +59 -23
  542. data/lib/brakeman/rescanner.rb +18 -15
  543. data/lib/brakeman/scanner.rb +74 -35
  544. data/lib/brakeman/tracker.rb +44 -8
  545. data/lib/brakeman/tracker/collection.rb +4 -3
  546. data/lib/brakeman/tracker/config.rb +119 -47
  547. data/lib/brakeman/tracker/constants.rb +10 -8
  548. data/lib/brakeman/tracker/controller.rb +1 -1
  549. data/lib/brakeman/util.rb +45 -168
  550. data/lib/brakeman/version.rb +1 -1
  551. data/lib/brakeman/warning.rb +46 -19
  552. data/lib/brakeman/warning_codes.rb +14 -0
  553. data/lib/ruby_parser/bm_sexp.rb +16 -11
  554. data/lib/ruby_parser/bm_sexp_processor.rb +1 -0
  555. metadata +437 -1218
  556. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/Makefile +0 -6
  557. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/bench.rb +0 -313
  558. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/bench_context.yaml +0 -141
  559. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/_footer.html +0 -4
  560. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/_header.html +0 -52
  561. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +0 -29
  562. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +0 -29
  563. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +0 -29
  564. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/bin/erubis +0 -10
  565. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/ActionView.html +0 -105
  566. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +0 -209
  567. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/ERB.html +0 -101
  568. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis.html +0 -362
  569. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +0 -175
  570. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +0 -120
  571. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +0 -174
  572. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +0 -120
  573. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +0 -112
  574. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +0 -327
  575. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +0 -130
  576. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +0 -215
  577. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +0 -120
  578. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +0 -386
  579. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +0 -113
  580. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +0 -344
  581. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +0 -283
  582. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +0 -382
  583. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +0 -150
  584. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +0 -120
  585. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +0 -126
  586. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +0 -126
  587. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +0 -126
  588. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +0 -126
  589. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +0 -305
  590. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +0 -126
  591. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +0 -126
  592. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +0 -175
  593. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +0 -120
  594. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +0 -117
  595. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +0 -132
  596. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +0 -165
  597. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +0 -120
  598. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +0 -120
  599. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +0 -120
  600. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +0 -120
  601. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +0 -120
  602. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +0 -120
  603. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +0 -127
  604. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +0 -120
  605. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +0 -126
  606. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +0 -212
  607. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +0 -131
  608. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +0 -416
  609. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +0 -267
  610. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +0 -120
  611. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +0 -116
  612. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +0 -787
  613. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +0 -349
  614. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +0 -213
  615. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +0 -305
  616. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +0 -120
  617. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +0 -359
  618. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +0 -386
  619. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +0 -341
  620. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +0 -249
  621. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +0 -120
  622. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +0 -159
  623. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +0 -120
  624. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +0 -119
  625. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +0 -163
  626. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +0 -439
  627. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +0 -163
  628. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +0 -125
  629. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +0 -266
  630. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +0 -166
  631. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +0 -166
  632. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +0 -166
  633. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +0 -166
  634. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +0 -122
  635. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +0 -166
  636. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +0 -166
  637. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +0 -155
  638. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +0 -166
  639. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +0 -293
  640. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +0 -163
  641. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +0 -120
  642. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +0 -344
  643. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +0 -350
  644. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +0 -210
  645. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +0 -120
  646. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +0 -183
  647. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +0 -212
  648. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +0 -212
  649. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +0 -120
  650. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +0 -244
  651. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +0 -120
  652. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +0 -121
  653. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +0 -227
  654. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +0 -328
  655. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +0 -382
  656. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +0 -120
  657. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +0 -191
  658. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +0 -173
  659. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +0 -120
  660. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +0 -121
  661. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +0 -174
  662. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +0 -120
  663. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +0 -120
  664. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +0 -298
  665. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +0 -130
  666. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +0 -255
  667. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Kernel.html +0 -155
  668. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/created.rid +0 -1
  669. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/README_txt.html +0 -247
  670. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +0 -107
  671. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +0 -114
  672. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +0 -115
  673. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +0 -115
  674. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +0 -115
  675. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +0 -115
  676. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +0 -115
  677. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +0 -115
  678. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +0 -115
  679. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +0 -115
  680. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +0 -115
  681. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +0 -114
  682. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +0 -117
  683. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +0 -107
  684. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +0 -107
  685. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +0 -115
  686. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +0 -114
  687. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +0 -107
  688. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +0 -107
  689. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +0 -116
  690. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +0 -107
  691. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +0 -129
  692. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +0 -114
  693. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +0 -107
  694. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +0 -107
  695. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +0 -118
  696. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/fr_class_index.html +0 -129
  697. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/fr_file_index.html +0 -53
  698. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/fr_method_index.html +0 -265
  699. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/index.html +0 -24
  700. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/rdoc-style.css +0 -208
  701. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc/docstyle.css +0 -209
  702. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc/users-guide.html +0 -3551
  703. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/Makefile +0 -58
  704. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ec +0 -42
  705. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ecpp +0 -33
  706. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ejava +0 -45
  707. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ejs +0 -16
  708. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.eperl +0 -16
  709. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ephp +0 -17
  710. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.eruby +0 -15
  711. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.escheme +0 -26
  712. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/Makefile +0 -54
  713. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ec +0 -42
  714. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejava +0 -45
  715. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs +0 -16
  716. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.eperl +0 -16
  717. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ephp +0 -17
  718. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.eruby +0 -15
  719. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.escheme +0 -26
  720. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/assert-text-equal.rb +0 -44
  721. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +0 -55
  722. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/array_example.result +0 -9
  723. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +0 -9
  724. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +0 -4
  725. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +0 -6
  726. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +0 -10
  727. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +0 -17
  728. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/context.rb +0 -6
  729. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/context.yaml +0 -8
  730. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +0 -14
  731. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/def_method.result +0 -3
  732. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +0 -9
  733. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ec +0 -27
  734. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +0 -30
  735. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs +0 -20
  736. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.eperl +0 -18
  737. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ephp +0 -18
  738. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.eruby +0 -6
  739. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.escheme +0 -28
  740. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +0 -6
  741. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example1.rb +0 -17
  742. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example1.result +0 -16
  743. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example10.rb +0 -4
  744. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example10.result +0 -17
  745. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +0 -14
  746. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +0 -17
  747. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11.php +0 -20
  748. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11.result +0 -23
  749. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +0 -21
  750. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +0 -10
  751. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +0 -16
  752. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +0 -16
  753. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +0 -15
  754. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +0 -9
  755. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +0 -7
  756. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2.rb +0 -10
  757. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2.result +0 -27
  758. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +0 -10
  759. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +0 -10
  760. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +0 -6
  761. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example3.rb +0 -10
  762. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example31.result +0 -22
  763. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example32.result +0 -4
  764. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +0 -8
  765. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +0 -3
  766. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example4.rb +0 -11
  767. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example4.result +0 -10
  768. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +0 -5
  769. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +0 -6
  770. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example5.rb +0 -16
  771. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example5.result +0 -7
  772. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example6.rb +0 -12
  773. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example6.result +0 -7
  774. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +0 -8
  775. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example71.result +0 -13
  776. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example72.result +0 -13
  777. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +0 -6
  778. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +0 -7
  779. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +0 -7
  780. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +0 -3
  781. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example9.rb +0 -8
  782. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example9.result +0 -9
  783. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example91.result +0 -5
  784. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example92.result +0 -4
  785. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_c.result +0 -32
  786. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_java.result +0 -56
  787. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_js.result +0 -22
  788. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +0 -20
  789. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_php.result +0 -19
  790. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +0 -30
  791. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +0 -29
  792. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +0 -8
  793. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +0 -18
  794. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +0 -11
  795. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +0 -38
  796. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +0 -15
  797. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +0 -9
  798. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +0 -8
  799. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +0 -10
  800. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +0 -11
  801. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +0 -13
  802. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +0 -9
  803. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +0 -8
  804. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +0 -6
  805. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +0 -8
  806. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +0 -6
  807. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +0 -14
  808. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +0 -20
  809. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +0 -15
  810. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +0 -9
  811. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +0 -11
  812. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +0 -14
  813. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +0 -19
  814. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +0 -20
  815. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +0 -16
  816. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +0 -6
  817. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +0 -9
  818. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +0 -9
  819. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +0 -6
  820. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +0 -9
  821. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +0 -4
  822. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +0 -3
  823. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +0 -8
  824. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +0 -8
  825. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +0 -9
  826. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/stderr.log +0 -3
  827. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +0 -9
  828. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +0 -9
  829. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +0 -4
  830. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +0 -3
  831. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +0 -4
  832. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +0 -4
  833. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-engines.rb +0 -425
  834. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-enhancers.rb +0 -646
  835. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-erubis.rb +0 -887
  836. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-index-cgi.rb +0 -191
  837. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-main.rb +0 -752
  838. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-users-guide.rb +0 -73
  839. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test.rb +0 -45
  840. data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/testutil.rb +0 -111
  841. data/bundle/ruby/2.5.0/gems/haml-4.0.7/CHANGELOG.md +0 -1363
  842. data/bundle/ruby/2.5.0/gems/haml-4.0.7/FAQ.md +0 -157
  843. data/bundle/ruby/2.5.0/gems/haml-4.0.7/MIT-LICENSE +0 -20
  844. data/bundle/ruby/2.5.0/gems/haml-4.0.7/README.md +0 -173
  845. data/bundle/ruby/2.5.0/gems/haml-4.0.7/REFERENCE.md +0 -1294
  846. data/bundle/ruby/2.5.0/gems/haml-4.0.7/Rakefile +0 -134
  847. data/bundle/ruby/2.5.0/gems/haml-4.0.7/bin/haml +0 -9
  848. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml.rb +0 -23
  849. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/buffer.rb +0 -345
  850. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/compiler.rb +0 -540
  851. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/engine.rb +0 -245
  852. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/error.rb +0 -61
  853. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/exec.rb +0 -329
  854. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/filters.rb +0 -404
  855. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers.rb +0 -664
  856. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/action_view_extensions.rb +0 -58
  857. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb +0 -147
  858. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb +0 -58
  859. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb +0 -29
  860. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb +0 -104
  861. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/options.rb +0 -279
  862. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/parser.rb +0 -764
  863. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/railtie.rb +0 -22
  864. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/sass_rails_filter.rb +0 -33
  865. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/template.rb +0 -32
  866. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/template/options.rb +0 -16
  867. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/template/plugin.rb +0 -41
  868. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/util.rb +0 -377
  869. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/version.rb +0 -3
  870. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/engine_test.rb +0 -2013
  871. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/erb/_av_partial_1.erb +0 -12
  872. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/erb/_av_partial_2.erb +0 -8
  873. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/erb/action_view.erb +0 -62
  874. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/erb/standard.erb +0 -55
  875. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/filters_test.rb +0 -254
  876. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.0.x +0 -5
  877. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.1.x +0 -6
  878. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.2.x +0 -5
  879. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-4.0.x +0 -5
  880. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/LICENSE +0 -14
  881. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/README.md +0 -106
  882. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/lua_haml_spec.lua +0 -38
  883. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/perl_haml_test.pl +0 -81
  884. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/ruby_haml_test.rb +0 -23
  885. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/tests.json +0 -660
  886. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/helper_test.rb +0 -583
  887. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/markaby/standard.mab +0 -52
  888. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/mocks/article.rb +0 -6
  889. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/parser_test.rb +0 -105
  890. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/content_for_layout.xhtml +0 -12
  891. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/eval_suppressed.xhtml +0 -9
  892. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/helpers.xhtml +0 -70
  893. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/helpful.xhtml +0 -10
  894. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/just_stuff.xhtml +0 -70
  895. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/list.xhtml +0 -12
  896. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/nuke_inner_whitespace.xhtml +0 -40
  897. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/nuke_outer_whitespace.xhtml +0 -148
  898. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/original_engine.xhtml +0 -20
  899. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/partial_layout.xhtml +0 -5
  900. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/partial_layout_erb.xhtml +0 -5
  901. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/partials.xhtml +0 -21
  902. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/render_layout.xhtml +0 -3
  903. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/silent_script.xhtml +0 -74
  904. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/standard.xhtml +0 -162
  905. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/tag_parsing.xhtml +0 -23
  906. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/very_basic.xhtml +0 -5
  907. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/whitespace_handling.xhtml +0 -90
  908. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/template_test.rb +0 -354
  909. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_av_partial_1.haml +0 -9
  910. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_av_partial_1_ugly.haml +0 -9
  911. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_av_partial_2.haml +0 -5
  912. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_av_partial_2_ugly.haml +0 -5
  913. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_layout.erb +0 -3
  914. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_layout_for_partial.haml +0 -3
  915. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_partial.haml +0 -8
  916. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_text_area.haml +0 -3
  917. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_text_area_helper.html.haml +0 -4
  918. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/action_view.haml +0 -47
  919. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/action_view_ugly.haml +0 -47
  920. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/breakage.haml +0 -8
  921. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/content_for_layout.haml +0 -8
  922. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/eval_suppressed.haml +0 -11
  923. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/helpers.haml +0 -55
  924. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/helpful.haml +0 -11
  925. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/just_stuff.haml +0 -85
  926. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/list.haml +0 -12
  927. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/nuke_inner_whitespace.haml +0 -32
  928. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/nuke_outer_whitespace.haml +0 -144
  929. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/original_engine.haml +0 -17
  930. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/partial_layout.haml +0 -3
  931. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/partial_layout_erb.erb +0 -4
  932. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/partialize.haml +0 -1
  933. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/partials.haml +0 -12
  934. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/render_layout.haml +0 -2
  935. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/silent_script.haml +0 -45
  936. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/standard.haml +0 -43
  937. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/standard_ugly.haml +0 -43
  938. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/tag_parsing.haml +0 -21
  939. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/very_basic.haml +0 -4
  940. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/whitespace_handling.haml +0 -87
  941. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/test_helper.rb +0 -81
  942. data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/util_test.rb +0 -63
  943. data/bundle/ruby/2.5.0/gems/highline-1.7.10/Changelog.md +0 -421
  944. data/bundle/ruby/2.5.0/gems/highline-1.7.10/Gemfile +0 -11
  945. data/bundle/ruby/2.5.0/gems/highline-1.7.10/INSTALL +0 -59
  946. data/bundle/ruby/2.5.0/gems/highline-1.7.10/README.rdoc +0 -74
  947. data/bundle/ruby/2.5.0/gems/highline-1.7.10/Rakefile +0 -30
  948. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/ansi_colors.rb +0 -38
  949. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/asking_for_arrays.rb +0 -18
  950. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/basic_usage.rb +0 -75
  951. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/color_scheme.rb +0 -32
  952. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/get_character.rb +0 -12
  953. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/limit.rb +0 -12
  954. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/menus.rb +0 -65
  955. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/overwrite.rb +0 -19
  956. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/page_and_wrap.rb +0 -322
  957. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/password.rb +0 -7
  958. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/repeat_entry.rb +0 -21
  959. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/trapping_eof.rb +0 -22
  960. data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/using_readline.rb +0 -17
  961. data/bundle/ruby/2.5.0/gems/highline-1.7.10/highline.gemspec +0 -37
  962. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline.rb +0 -1048
  963. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/color_scheme.rb +0 -134
  964. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/compatibility.rb +0 -16
  965. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/import.rb +0 -41
  966. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/menu.rb +0 -381
  967. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/question.rb +0 -480
  968. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/simulate.rb +0 -48
  969. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/string_extensions.rb +0 -111
  970. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/style.rb +0 -192
  971. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/system_extensions.rb +0 -254
  972. data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/version.rb +0 -4
  973. data/bundle/ruby/2.5.0/gems/highline-1.7.10/setup.rb +0 -1360
  974. data/bundle/ruby/2.5.0/gems/highline-1.7.10/site/highline.css +0 -65
  975. data/bundle/ruby/2.5.0/gems/highline-1.7.10/site/images/logo.png +0 -0
  976. data/bundle/ruby/2.5.0/gems/highline-1.7.10/site/index.html +0 -58
  977. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/string_methods.rb +0 -32
  978. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_color_scheme.rb +0 -96
  979. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_highline.rb +0 -1402
  980. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_import.rb +0 -52
  981. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_menu.rb +0 -439
  982. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_simulator.rb +0 -33
  983. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_string_extension.rb +0 -33
  984. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_string_highline.rb +0 -38
  985. data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_style.rb +0 -578
  986. data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/History.rdoc +0 -413
  987. data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/Rakefile +0 -93
  988. data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/bin/r2r_show +0 -33
  989. data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/lib/ruby2ruby.rb +0 -1301
  990. data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/test/test_ruby2ruby.rb +0 -847
  991. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/History.rdoc +0 -974
  992. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/Manifest.txt +0 -36
  993. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/README.rdoc +0 -109
  994. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/Rakefile +0 -247
  995. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/bin/ruby_parse +0 -96
  996. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/bin/ruby_parse_extract_error +0 -156
  997. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/compare/normalize.rb +0 -146
  998. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/rp_extensions.rb +0 -81
  999. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby18_parser.rb +0 -5793
  1000. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby18_parser.y +0 -1908
  1001. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby19_parser.rb +0 -6185
  1002. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby19_parser.y +0 -2116
  1003. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby20_parser.rb +0 -6687
  1004. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby20_parser.y +0 -2345
  1005. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby21_parser.rb +0 -6767
  1006. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby21_parser.y +0 -2362
  1007. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby22_parser.rb +0 -6803
  1008. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby22_parser.y +0 -2376
  1009. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby23_parser.rb +0 -6818
  1010. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby23_parser.y +0 -2378
  1011. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby24_parser.rb +0 -6818
  1012. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby24_parser.y +0 -2378
  1013. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby25_parser.rb +0 -6818
  1014. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby25_parser.y +0 -2378
  1015. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_lexer.rb +0 -1346
  1016. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_lexer.rex +0 -177
  1017. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_lexer.rex.rb +0 -323
  1018. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.rb +0 -88
  1019. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.yy +0 -2477
  1020. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser_extras.rb +0 -1377
  1021. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/test/test_ruby_lexer.rb +0 -2899
  1022. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/test/test_ruby_parser.rb +0 -3805
  1023. data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/test/test_ruby_parser_extras.rb +0 -226
  1024. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/CHANGES.md +0 -149
  1025. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/Rakefile +0 -26
  1026. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/bin/safe_yaml +0 -75
  1027. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb +0 -35
  1028. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/lib/safe_yaml/version.rb +0 -3
  1029. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.2.yaml +0 -2
  1030. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.3.yaml +0 -2
  1031. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/issue48.txt +0 -20
  1032. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/issue49.yml +0 -0
  1033. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/libyaml_checker_spec.rb +0 -69
  1034. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/psych_resolver_spec.rb +0 -10
  1035. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/resolver_specs.rb +0 -278
  1036. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/safe_yaml_spec.rb +0 -731
  1037. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/spec_helper.rb +0 -42
  1038. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/support/exploitable_back_door.rb +0 -29
  1039. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/syck_resolver_spec.rb +0 -10
  1040. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/base64_spec.rb +0 -11
  1041. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/to_date_spec.rb +0 -60
  1042. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/to_float_spec.rb +0 -42
  1043. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/to_integer_spec.rb +0 -64
  1044. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/to_symbol_spec.rb +0 -51
  1045. data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/yaml_spec.rb +0 -15
  1046. data/bundle/ruby/2.5.0/gems/sass-3.4.25/CODE_OF_CONDUCT.md +0 -10
  1047. data/bundle/ruby/2.5.0/gems/sass-3.4.25/CONTRIBUTING.md +0 -148
  1048. data/bundle/ruby/2.5.0/gems/sass-3.4.25/MIT-LICENSE +0 -20
  1049. data/bundle/ruby/2.5.0/gems/sass-3.4.25/README.md +0 -227
  1050. data/bundle/ruby/2.5.0/gems/sass-3.4.25/REVISION +0 -1
  1051. data/bundle/ruby/2.5.0/gems/sass-3.4.25/Rakefile +0 -453
  1052. data/bundle/ruby/2.5.0/gems/sass-3.4.25/VERSION +0 -1
  1053. data/bundle/ruby/2.5.0/gems/sass-3.4.25/VERSION_DATE +0 -1
  1054. data/bundle/ruby/2.5.0/gems/sass-3.4.25/VERSION_NAME +0 -1
  1055. data/bundle/ruby/2.5.0/gems/sass-3.4.25/bin/sass +0 -13
  1056. data/bundle/ruby/2.5.0/gems/sass-3.4.25/bin/sass-convert +0 -12
  1057. data/bundle/ruby/2.5.0/gems/sass-3.4.25/bin/scss +0 -13
  1058. data/bundle/ruby/2.5.0/gems/sass-3.4.25/extra/sass-spec-ref.sh +0 -32
  1059. data/bundle/ruby/2.5.0/gems/sass-3.4.25/extra/update_watch.rb +0 -13
  1060. data/bundle/ruby/2.5.0/gems/sass-3.4.25/init.rb +0 -18
  1061. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass.rb +0 -109
  1062. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores.rb +0 -15
  1063. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/base.rb +0 -88
  1064. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/chain.rb +0 -34
  1065. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/filesystem.rb +0 -60
  1066. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/memory.rb +0 -46
  1067. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/null.rb +0 -25
  1068. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/callbacks.rb +0 -67
  1069. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/css.rb +0 -408
  1070. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/deprecation.rb +0 -55
  1071. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/engine.rb +0 -1226
  1072. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/environment.rb +0 -215
  1073. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/error.rb +0 -198
  1074. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/exec.rb +0 -9
  1075. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/exec/base.rb +0 -199
  1076. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/exec/sass_convert.rb +0 -283
  1077. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/exec/sass_scss.rb +0 -440
  1078. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/features.rb +0 -47
  1079. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/importers.rb +0 -23
  1080. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/importers/base.rb +0 -182
  1081. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/importers/deprecated_path.rb +0 -51
  1082. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/importers/filesystem.rb +0 -219
  1083. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/logger.rb +0 -17
  1084. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/logger/base.rb +0 -36
  1085. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/logger/delayed.rb +0 -50
  1086. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/logger/log_level.rb +0 -45
  1087. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/media.rb +0 -210
  1088. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin.rb +0 -134
  1089. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb +0 -582
  1090. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/configuration.rb +0 -134
  1091. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/generic.rb +0 -15
  1092. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/merb.rb +0 -48
  1093. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/rack.rb +0 -60
  1094. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/rails.rb +0 -47
  1095. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb +0 -199
  1096. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/railtie.rb +0 -10
  1097. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/repl.rb +0 -57
  1098. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/root.rb +0 -7
  1099. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script.rb +0 -66
  1100. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/css_lexer.rb +0 -33
  1101. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/css_parser.rb +0 -33
  1102. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/css_variable_warning.rb +0 -52
  1103. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/functions.rb +0 -2693
  1104. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/lexer.rb +0 -464
  1105. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/parser.rb +0 -832
  1106. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree.rb +0 -16
  1107. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/funcall.rb +0 -313
  1108. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/interpolation.rb +0 -223
  1109. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/list_literal.rb +0 -104
  1110. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/literal.rb +0 -49
  1111. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/map_literal.rb +0 -64
  1112. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/node.rb +0 -127
  1113. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/operation.rb +0 -156
  1114. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/selector.rb +0 -26
  1115. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/string_interpolation.rb +0 -125
  1116. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/unary_operation.rb +0 -69
  1117. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/variable.rb +0 -57
  1118. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value.rb +0 -11
  1119. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/arg_list.rb +0 -36
  1120. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/base.rb +0 -241
  1121. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/bool.rb +0 -35
  1122. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/color.rb +0 -698
  1123. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/helpers.rb +0 -272
  1124. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/list.rb +0 -113
  1125. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/map.rb +0 -70
  1126. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/null.rb +0 -44
  1127. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/number.rb +0 -563
  1128. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/string.rb +0 -138
  1129. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss.rb +0 -14
  1130. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss/css_parser.rb +0 -56
  1131. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss/parser.rb +0 -1254
  1132. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss/rx.rb +0 -140
  1133. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss/static_parser.rb +0 -373
  1134. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector.rb +0 -323
  1135. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/abstract_sequence.rb +0 -111
  1136. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/comma_sequence.rb +0 -191
  1137. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/pseudo.rb +0 -266
  1138. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/sequence.rb +0 -636
  1139. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/simple.rb +0 -117
  1140. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/simple_sequence.rb +0 -344
  1141. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/shared.rb +0 -76
  1142. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/source/map.rb +0 -213
  1143. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/source/position.rb +0 -39
  1144. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/source/range.rb +0 -41
  1145. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/stack.rb +0 -120
  1146. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/supports.rb +0 -225
  1147. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/at_root_node.rb +0 -83
  1148. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/charset_node.rb +0 -22
  1149. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/comment_node.rb +0 -82
  1150. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/content_node.rb +0 -9
  1151. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/css_import_node.rb +0 -68
  1152. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/debug_node.rb +0 -18
  1153. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/directive_node.rb +0 -59
  1154. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/each_node.rb +0 -24
  1155. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/error_node.rb +0 -18
  1156. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/extend_node.rb +0 -43
  1157. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/for_node.rb +0 -36
  1158. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/function_node.rb +0 -44
  1159. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/if_node.rb +0 -52
  1160. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/import_node.rb +0 -75
  1161. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/keyframe_rule_node.rb +0 -15
  1162. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/media_node.rb +0 -48
  1163. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/mixin_def_node.rb +0 -38
  1164. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/mixin_node.rb +0 -52
  1165. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/node.rb +0 -240
  1166. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/prop_node.rb +0 -170
  1167. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/return_node.rb +0 -19
  1168. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/root_node.rb +0 -44
  1169. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/rule_node.rb +0 -155
  1170. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/supports_node.rb +0 -38
  1171. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/trace_node.rb +0 -33
  1172. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/variable_node.rb +0 -36
  1173. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/base.rb +0 -72
  1174. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/check_nesting.rb +0 -173
  1175. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/convert.rb +0 -351
  1176. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/cssize.rb +0 -373
  1177. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/deep_copy.rb +0 -107
  1178. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/extend.rb +0 -70
  1179. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/perform.rb +0 -564
  1180. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/set_options.rb +0 -139
  1181. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/to_css.rb +0 -409
  1182. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/warn_node.rb +0 -18
  1183. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/while_node.rb +0 -18
  1184. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util.rb +0 -1375
  1185. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/cross_platform_random.rb +0 -19
  1186. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/multibyte_string_scanner.rb +0 -155
  1187. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/normalized_map.rb +0 -129
  1188. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/ordered_hash.rb +0 -192
  1189. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/subset_map.rb +0 -109
  1190. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/test.rb +0 -9
  1191. data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/version.rb +0 -124
  1192. data/bundle/ruby/2.5.0/gems/sass-3.4.25/rails/init.rb +0 -1
  1193. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass-spec.yml +0 -3
  1194. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/cache_test.rb +0 -131
  1195. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/callbacks_test.rb +0 -61
  1196. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/compiler_test.rb +0 -236
  1197. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/conversion_test.rb +0 -2188
  1198. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/css2sass_test.rb +0 -526
  1199. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/css_variable_test.rb +0 -132
  1200. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/data/hsl-rgb.txt +0 -319
  1201. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/encoding_test.rb +0 -219
  1202. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/engine_test.rb +0 -3447
  1203. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/exec_test.rb +0 -96
  1204. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/extend_test.rb +0 -1733
  1205. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/fixtures/test_staleness_check_across_importers.css +0 -1
  1206. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/fixtures/test_staleness_check_across_importers.scss +0 -1
  1207. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/functions_test.rb +0 -1977
  1208. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/importer_test.rb +0 -421
  1209. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/logger_test.rb +0 -58
  1210. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/mock_importer.rb +0 -49
  1211. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_results/more1.css +0 -9
  1212. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_results/more1_with_line_comments.css +0 -26
  1213. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_results/more_import.css +0 -29
  1214. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_templates/_more_partial.sass +0 -2
  1215. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_templates/more1.sass +0 -23
  1216. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_templates/more_import.sass +0 -11
  1217. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/plugin_test.rb +0 -556
  1218. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/alt.css +0 -4
  1219. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/basic.css +0 -9
  1220. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/cached_import_option.css +0 -3
  1221. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/compact.css +0 -5
  1222. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/complex.css +0 -86
  1223. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/compressed.css +0 -1
  1224. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/expanded.css +0 -19
  1225. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/filename_fn.css +0 -3
  1226. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/if.css +0 -3
  1227. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import.css +0 -31
  1228. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import_charset.css +0 -5
  1229. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import_charset_1_8.css +0 -5
  1230. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import_charset_ibm866.css +0 -5
  1231. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import_content.css +0 -1
  1232. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/line_numbers.css +0 -49
  1233. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/mixins.css +0 -95
  1234. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/multiline.css +0 -24
  1235. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/nested.css +0 -22
  1236. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/options.css +0 -1
  1237. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/parent_ref.css +0 -13
  1238. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/script.css +0 -16
  1239. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/scss_import.css +0 -31
  1240. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/scss_importee.css +0 -2
  1241. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/subdir/nested_subdir/nested_subdir.css +0 -1
  1242. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/subdir/subdir.css +0 -3
  1243. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/units.css +0 -11
  1244. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/warn.css +0 -0
  1245. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/warn_imported.css +0 -0
  1246. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/script_conversion_test.rb +0 -357
  1247. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/script_test.rb +0 -1431
  1248. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/scss/css_test.rb +0 -1281
  1249. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/scss/rx_test.rb +0 -160
  1250. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/scss/scss_test.rb +0 -4205
  1251. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/scss/test_helper.rb +0 -37
  1252. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/source_map_test.rb +0 -1055
  1253. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/superselector_test.rb +0 -210
  1254. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_cached_import_option_partial.scss +0 -1
  1255. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_double_import_loop2.sass +0 -1
  1256. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_filename_fn_import.scss +0 -11
  1257. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_imported_charset_ibm866.sass +0 -4
  1258. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_imported_charset_utf8.sass +0 -4
  1259. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_imported_content.sass +0 -3
  1260. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_partial.sass +0 -2
  1261. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_same_name_different_partiality.scss +0 -1
  1262. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/alt.sass +0 -16
  1263. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/basic.sass +0 -23
  1264. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork1.sass +0 -2
  1265. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork2.sass +0 -2
  1266. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork3.sass +0 -2
  1267. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork4.sass +0 -2
  1268. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork5.sass +0 -3
  1269. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/cached_import_option.scss +0 -3
  1270. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/compact.sass +0 -17
  1271. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/complex.sass +0 -305
  1272. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/compressed.sass +0 -15
  1273. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/double_import_loop1.sass +0 -1
  1274. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/expanded.sass +0 -17
  1275. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/filename_fn.scss +0 -18
  1276. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/if.sass +0 -11
  1277. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import.sass +0 -12
  1278. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import_charset.sass +0 -9
  1279. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import_charset_1_8.sass +0 -6
  1280. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import_charset_ibm866.sass +0 -11
  1281. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import_content.sass +0 -4
  1282. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/importee.less +0 -2
  1283. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/importee.sass +0 -19
  1284. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/line_numbers.sass +0 -13
  1285. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/mixin_bork.sass +0 -5
  1286. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/mixins.sass +0 -76
  1287. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/multiline.sass +0 -20
  1288. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested.sass +0 -25
  1289. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_bork1.sass +0 -2
  1290. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_bork2.sass +0 -2
  1291. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_bork3.sass +0 -2
  1292. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_bork4.sass +0 -2
  1293. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_import.sass +0 -2
  1294. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_mixin_bork.sass +0 -6
  1295. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/options.sass +0 -2
  1296. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/parent_ref.sass +0 -25
  1297. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/same_name_different_ext.sass +0 -2
  1298. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/same_name_different_ext.scss +0 -1
  1299. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/same_name_different_partiality.scss +0 -1
  1300. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/script.sass +0 -101
  1301. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/scss_import.scss +0 -12
  1302. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/scss_importee.scss +0 -1
  1303. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/single_import_loop.sass +0 -1
  1304. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/import_up1.scss +0 -1
  1305. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/import_up2.scss +0 -1
  1306. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +0 -2
  1307. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +0 -3
  1308. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/subdir.sass +0 -6
  1309. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/units.sass +0 -11
  1310. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/warn.sass +0 -3
  1311. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/warn_imported.sass +0 -4
  1312. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/test_helper.rb +0 -8
  1313. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/util/multibyte_string_scanner_test.rb +0 -155
  1314. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/util/normalized_map_test.rb +0 -51
  1315. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/util/subset_map_test.rb +0 -91
  1316. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/util_test.rb +0 -438
  1317. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/value_helpers_test.rb +0 -179
  1318. data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/test_helper.rb +0 -110
  1319. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/CHANGELOG.md +0 -1
  1320. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/CONTRIBUTING.md +0 -38
  1321. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/Gemfile +0 -20
  1322. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/Guardfile +0 -8
  1323. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/LICENSE +0 -20
  1324. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/README.md +0 -349
  1325. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/Rakefile +0 -5
  1326. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/Vagrantfile +0 -96
  1327. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen.rb +0 -54
  1328. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapter.rb +0 -327
  1329. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/bsd.rb +0 -75
  1330. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/darwin.rb +0 -48
  1331. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/linux.rb +0 -81
  1332. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/polling.rb +0 -58
  1333. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/windows.rb +0 -91
  1334. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/directory_record.rb +0 -406
  1335. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/listener.rb +0 -323
  1336. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/turnstile.rb +0 -32
  1337. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/version.rb +0 -3
  1338. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/listen.gemspec +0 -28
  1339. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapter_spec.rb +0 -149
  1340. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/bsd_spec.rb +0 -36
  1341. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/darwin_spec.rb +0 -37
  1342. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/linux_spec.rb +0 -47
  1343. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/polling_spec.rb +0 -68
  1344. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/windows_spec.rb +0 -30
  1345. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/directory_record_spec.rb +0 -1250
  1346. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/listener_spec.rb +0 -258
  1347. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/turnstile_spec.rb +0 -56
  1348. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen_spec.rb +0 -67
  1349. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/spec_helper.rb +0 -25
  1350. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/adapter_helper.rb +0 -666
  1351. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/directory_record_helper.rb +0 -57
  1352. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/fixtures_helper.rb +0 -29
  1353. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/listeners_helper.rb +0 -179
  1354. data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/platform_helper.rb +0 -15
  1355. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/History.rdoc +0 -360
  1356. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/Manifest.txt +0 -14
  1357. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/Rakefile +0 -17
  1358. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/lib/pt_testcase.rb +0 -3130
  1359. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/lib/sexp.rb +0 -1420
  1360. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/lib/sexp_processor.rb +0 -754
  1361. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/lib/strict_sexp.rb +0 -126
  1362. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/test/test_composite_sexp_processor.rb +0 -66
  1363. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/test/test_environment.rb +0 -94
  1364. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/test/test_sexp.rb +0 -1643
  1365. data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/test/test_sexp_processor.rb +0 -399
  1366. data/bundle/ruby/2.5.0/gems/slim-3.0.7/CHANGES +0 -431
  1367. data/bundle/ruby/2.5.0/gems/slim-3.0.7/Gemfile +0 -69
  1368. data/bundle/ruby/2.5.0/gems/slim-3.0.7/LICENSE +0 -21
  1369. data/bundle/ruby/2.5.0/gems/slim-3.0.7/README.jp.md +0 -1230
  1370. data/bundle/ruby/2.5.0/gems/slim-3.0.7/README.md +0 -1230
  1371. data/bundle/ruby/2.5.0/gems/slim-3.0.7/Rakefile +0 -100
  1372. data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/context.rb +0 -11
  1373. data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/profile-parser.rb +0 -10
  1374. data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/profile-render.rb +0 -12
  1375. data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/run-benchmarks.rb +0 -126
  1376. data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/run-diffbench.rb +0 -21
  1377. data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/view.erb +0 -23
  1378. data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/view.haml +0 -18
  1379. data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/view.slim +0 -17
  1380. data/bundle/ruby/2.5.0/gems/slim-3.0.7/bin/slimrb +0 -6
  1381. data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/include.md +0 -20
  1382. data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/jp/include.md +0 -20
  1383. data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/jp/logic_less.md +0 -137
  1384. data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/jp/smart.md +0 -102
  1385. data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/jp/translator.md +0 -28
  1386. data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/logic_less.md +0 -137
  1387. data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/smart.md +0 -103
  1388. data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/translator.md +0 -28
  1389. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/command.rb +0 -128
  1390. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/embedded.rb +0 -273
  1391. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/engine.rb +0 -39
  1392. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/filter.rb +0 -30
  1393. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/grammar.rb +0 -20
  1394. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/logic_less/context.rb +0 -127
  1395. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/parser.rb +0 -537
  1396. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/smart/parser.rb +0 -36
  1397. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/splat/builder.rb +0 -101
  1398. data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/version.rb +0 -5
  1399. data/bundle/ruby/2.5.0/gems/slim-3.0.7/slim.gemspec +0 -24
  1400. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/helper.rb +0 -211
  1401. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_blocks.rb +0 -183
  1402. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_escaping.rb +0 -150
  1403. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_evaluation.rb +0 -180
  1404. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_output.rb +0 -168
  1405. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_structure.rb +0 -186
  1406. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_commands.rb +0 -223
  1407. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_embedded_engines.rb +0 -242
  1408. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_encoding.rb +0 -28
  1409. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_erb_converter.rb +0 -67
  1410. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_html_attributes.rb +0 -268
  1411. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_html_escaping.rb +0 -65
  1412. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_html_structure.rb +0 -553
  1413. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_parser_errors.rb +0 -148
  1414. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_pretty.rb +0 -166
  1415. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_ruby_errors.rb +0 -207
  1416. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_slim_template.rb +0 -77
  1417. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_tabs.rb +0 -169
  1418. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_text_interpolation.rb +0 -79
  1419. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_thread_options.rb +0 -18
  1420. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_unicode.rb +0 -16
  1421. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/files/recursive.slim +0 -1
  1422. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/files/slimfile.slim +0 -3
  1423. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/files/subdir/test.slim +0 -1
  1424. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/files/textfile +0 -1
  1425. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/test_include.rb +0 -24
  1426. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/TESTS.md +0 -1290
  1427. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/helper.rb +0 -15
  1428. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/run.rb +0 -92
  1429. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/logic_less/test_logic_less.rb +0 -295
  1430. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/Rakefile +0 -7
  1431. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/controllers/application_controller.rb +0 -2
  1432. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/controllers/entries_controller.rb +0 -5
  1433. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/controllers/slim_controller.rb +0 -40
  1434. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/helpers/application_helper.rb +0 -5
  1435. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/models/entry.rb +0 -16
  1436. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/entries/edit.html.slim +0 -3
  1437. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/layouts/application.html.slim +0 -10
  1438. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/_partial.html.slim +0 -1
  1439. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/content_for.html.slim +0 -7
  1440. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/erb.html.erb +0 -1
  1441. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/form_for.html.slim +0 -2
  1442. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/helper.html.slim +0 -4
  1443. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/integers.html.slim +0 -1
  1444. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/no_layout.html.slim +0 -1
  1445. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/normal.html.slim +0 -1
  1446. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/partial.html.slim +0 -2
  1447. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/splat.html.slim +0 -2
  1448. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/thread_options.html.slim +0 -1
  1449. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/variables.html.slim +0 -1
  1450. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/xml.slim +0 -1
  1451. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config.ru +0 -4
  1452. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/application.rb +0 -44
  1453. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/boot.rb +0 -10
  1454. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/environment.rb +0 -5
  1455. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/environments/test.rb +0 -34
  1456. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/backtrace_silencers.rb +0 -7
  1457. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/inflections.rb +0 -10
  1458. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/mime_types.rb +0 -5
  1459. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/secret_token.rb +0 -7
  1460. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/session_store.rb +0 -8
  1461. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/locales/en.yml +0 -5
  1462. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/routes.rb +0 -60
  1463. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/script/rails +0 -6
  1464. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/test/helper.rb +0 -31
  1465. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/test/test_slim.rb +0 -90
  1466. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/smart/test_smart_text.rb +0 -296
  1467. data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/translator/test_translator.rb +0 -76
  1468. data/bundle/ruby/2.5.0/gems/temple-0.7.7/CHANGES +0 -240
  1469. data/bundle/ruby/2.5.0/gems/temple-0.7.7/EXPRESSIONS.md +0 -261
  1470. data/bundle/ruby/2.5.0/gems/temple-0.7.7/README.md +0 -267
  1471. data/bundle/ruby/2.5.0/gems/temple-0.7.7/Rakefile +0 -25
  1472. data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple.rb +0 -66
  1473. data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/filters/static_analyzer.rb +0 -87
  1474. data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/filters/string_splitter.rb +0 -130
  1475. data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/mixins/dispatcher.rb +0 -160
  1476. data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/templates/rails.rb +0 -26
  1477. data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/version.rb +0 -3
  1478. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_code_merger.rb +0 -38
  1479. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_control_flow.rb +0 -90
  1480. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_dynamic_inliner.rb +0 -95
  1481. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_eraser.rb +0 -55
  1482. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_escapable.rb +0 -49
  1483. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_multi_flattener.rb +0 -33
  1484. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_static_analyzer.rb +0 -23
  1485. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_static_merger.rb +0 -41
  1486. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_string_splitter.rb +0 -18
  1487. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/helper.rb +0 -30
  1488. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_attribute_merger.rb +0 -76
  1489. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_attribute_remover.rb +0 -43
  1490. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_attribute_sorter.rb +0 -48
  1491. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_fast.rb +0 -97
  1492. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_pretty.rb +0 -55
  1493. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/mixins/test_dispatcher.rb +0 -70
  1494. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/mixins/test_grammar_dsl.rb +0 -86
  1495. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_engine.rb +0 -189
  1496. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_erb.rb +0 -61
  1497. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_filter.rb +0 -29
  1498. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_generator.rb +0 -158
  1499. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_grammar.rb +0 -47
  1500. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_map.rb +0 -39
  1501. data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_utils.rb +0 -39
  1502. data/bundle/ruby/2.5.0/gems/terminal-table-1.8.0/Rakefile +0 -15
  1503. data/bundle/ruby/2.5.0/gems/terminal-table-1.8.0/examples/examples.rb +0 -83
  1504. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/CHANGELOG.md +0 -127
  1505. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/Gemfile +0 -65
  1506. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/HACKING +0 -16
  1507. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/README.md +0 -233
  1508. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/Rakefile +0 -106
  1509. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/bin/tilt +0 -122
  1510. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/docs/TEMPLATES.md +0 -555
  1511. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/docs/common.css +0 -14
  1512. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt.rb +0 -166
  1513. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/commonmarker.rb +0 -21
  1514. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/erb.rb +0 -57
  1515. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/haml.rb +0 -86
  1516. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/sass.rb +0 -41
  1517. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/template.rb +0 -302
  1518. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/man/index.txt +0 -2
  1519. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/man/tilt.1.ronn +0 -59
  1520. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/locals.mab +0 -1
  1521. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/markaby.mab +0 -1
  1522. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/markaby_other_static.mab +0 -1
  1523. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/render_twice.mab +0 -1
  1524. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/scope.mab +0 -1
  1525. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/yielding.mab +0 -2
  1526. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/mytemplate.rb +0 -2
  1527. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/test_helper.rb +0 -64
  1528. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_asciidoctor_test.rb +0 -50
  1529. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_babeltemplate.rb +0 -33
  1530. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_blueclothtemplate_test.rb +0 -33
  1531. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_buildertemplate_test.rb +0 -72
  1532. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_cache_test.rb +0 -43
  1533. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_coffeescripttemplate_test.rb +0 -141
  1534. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_commonmarkertemplate_test.rb +0 -20
  1535. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_compilesite_test.rb +0 -51
  1536. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_creoletemplate_test.rb +0 -24
  1537. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_csv_test.rb +0 -77
  1538. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_erbtemplate_test.rb +0 -239
  1539. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_erubistemplate_test.rb +0 -151
  1540. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_erubitemplate_test.rb +0 -158
  1541. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_etannitemplate_test.rb +0 -174
  1542. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_hamltemplate_test.rb +0 -166
  1543. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_kramdown_test.rb +0 -20
  1544. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_lesstemplate_test.less +0 -1
  1545. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_lesstemplate_test.rb +0 -42
  1546. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_liquidtemplate_test.rb +0 -87
  1547. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_livescripttemplate_test.rb +0 -37
  1548. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_mapping_test.rb +0 -232
  1549. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_markaby_test.rb +0 -88
  1550. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_markdown_test.rb +0 -186
  1551. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_marukutemplate_test.rb +0 -36
  1552. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_metadata_test.rb +0 -42
  1553. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_nokogiritemplate_test.rb +0 -87
  1554. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_pandoctemplate_test.rb +0 -67
  1555. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_prawntemplate.prawn +0 -1
  1556. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_prawntemplate_test.rb +0 -75
  1557. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_radiustemplate_test.rb +0 -75
  1558. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_rdiscounttemplate_test.rb +0 -43
  1559. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_rdoctemplate_test.rb +0 -29
  1560. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_redcarpettemplate_test.rb +0 -54
  1561. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_redclothtemplate_test.rb +0 -36
  1562. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_rstpandoctemplate_test.rb +0 -32
  1563. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_sasstemplate_test.rb +0 -41
  1564. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_sigil_test.rb +0 -41
  1565. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_stringtemplate_test.rb +0 -171
  1566. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_template_test.rb +0 -314
  1567. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_test.rb +0 -60
  1568. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_typescript_test.rb +0 -38
  1569. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_wikiclothtemplate_test.rb +0 -32
  1570. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_yajltemplate_test.rb +0 -101
  1571. data/bundle/ruby/2.5.0/gems/tilt-2.0.8/tilt.gemspec +0 -130
  1572. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/CHANGELOG.md +0 -113
  1573. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/MIT-LICENSE.txt +0 -22
  1574. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/README.md +0 -124
  1575. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/Rakefile +0 -64
  1576. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/data/display_width.marshal.gz +0 -0
  1577. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width.rb +0 -51
  1578. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width/constants.rb +0 -8
  1579. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/spec/display_width_spec.rb +0 -156
  1580. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/unicode-display_width.gemspec +0 -18
@@ -1,160 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # -*- coding: utf-8 -*-
3
- require File.dirname(__FILE__) + '/../../test_helper'
4
- require 'sass/engine'
5
-
6
- class ScssRxTest < MiniTest::Test
7
- include Sass::SCSS::RX
8
-
9
- def test_identifiers
10
- assert_match IDENT, "foo"
11
- assert_match IDENT, "\xC3\xBFoo" # Initial char can be nonascii
12
- assert_match IDENT, "\\123abcoo" # Initial char can be unicode escape
13
- assert_match IDENT, "\\f oo" # Unicode escapes can be followed by whitespace
14
- assert_match IDENT, "\\fa\too"
15
- assert_match IDENT, "\\ff2\roo"
16
- assert_match IDENT, "\\f13a\foo"
17
- assert_match IDENT, "\\f13abcoo"
18
- assert_match IDENT, "\\ oo" # Initial char can be a plain escape as well
19
- assert_match IDENT, "\\~oo"
20
- assert_match IDENT, "\\\\oo"
21
- assert_match IDENT, "\\{oo"
22
- assert_match IDENT, "\\\xC3\xBFoo"
23
- assert_match IDENT, "-foo" # Can put a - before anything
24
- assert_match IDENT, "-\xC3\xBFoo"
25
- assert_match IDENT, "-\\f oo"
26
- assert_match IDENT, "_foo" # Can put a _ before anything
27
- assert_match IDENT, "_\xC3\xBFoo"
28
- assert_match IDENT, "_\\f oo"
29
- assert_match IDENT, "--foo" # "Custom" identifier
30
-
31
- assert_match IDENT, "foo-bar"
32
- assert_match IDENT, "f012-23"
33
- assert_match IDENT, "foo_-_bar"
34
- assert_match IDENT, "f012_23"
35
-
36
- # http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/escapes-003.xht
37
- assert_match IDENT, "c\\lass"
38
- # http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/escapes-004.xht
39
- assert_match IDENT, "c\\00006Cas\\000073"
40
- # http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/ident-001.xht
41
- assert_match IDENT, "IdE6n-3t0_6"
42
- # http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/ident-006.xht
43
- assert_match IDENT, "\\6000ident"
44
- # http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/ident-007.xht
45
- assert_match IDENT, "iden\\6000t\\6000"
46
- # http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/ident-013.xht
47
- assert_match IDENT, "\\-ident"
48
- end
49
-
50
- def test_underscores_in_identifiers
51
- assert_match IDENT, "foo_bar"
52
- assert_match IDENT, "_\xC3\xBFfoo"
53
- assert_match IDENT, "__foo"
54
- assert_match IDENT, "_1foo"
55
- assert_match IDENT, "-_foo"
56
- assert_match IDENT, "_-foo"
57
- end
58
-
59
- def test_invalid_identifiers
60
- assert_no_match IDENT, ""
61
- assert_no_match IDENT, "1foo"
62
- assert_no_match IDENT, "-1foo"
63
- assert_no_match IDENT, "foo bar"
64
- assert_no_match IDENT, "foo~bar"
65
-
66
- # http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/escapes-008.xht
67
- assert_no_match IDENT, "c\\06C ass"
68
- assert_no_match IDENT, "back\\67\n round"
69
- end
70
-
71
- def test_double_quote_strings
72
- assert_match STRING, '"foo bar"'
73
- assert_match STRING, '"foo\\\nbar"'
74
- assert_match STRING, "\"\\\"\""
75
- assert_match STRING, '"\t !#$%&(-~()*+,-./0123456789~"'
76
- end
77
-
78
- def test_single_quote_strings
79
- assert_match STRING, "'foo bar'"
80
- assert_match STRING, "'foo\\\nbar'"
81
- assert_match STRING, "'\\''"
82
- assert_match STRING, "'\t !#\$%&(-~()*+,-./0123456789~'"
83
- end
84
-
85
- def test_invalid_strings
86
- assert_no_match STRING, "\"foo\nbar\""
87
- assert_no_match STRING, "\"foo\"bar\""
88
- assert_no_match STRING, "'foo\nbar'"
89
- assert_no_match STRING, "'foo'bar'"
90
- end
91
-
92
- def test_uri
93
- assert_match URI, 'url("foo bar)")'
94
- assert_match URI, "url('foo bar)')"
95
- assert_match URI, 'url( "foo bar)" )'
96
- assert_match URI, "url(#\\%&**+,-./0123456789~)"
97
- end
98
-
99
- def test_invalid_uri
100
- assert_no_match URI, 'url(foo)bar)'
101
- end
102
-
103
- def test_unicode_range
104
- assert_match UNICODERANGE, 'U+00-Ff'
105
- assert_match UNICODERANGE, 'u+980-9FF'
106
- assert_match UNICODERANGE, 'U+9aF??'
107
- assert_match UNICODERANGE, 'U+??'
108
- end
109
-
110
- def test_escape_empty_ident
111
- assert_equal "", Sass::SCSS::RX.escape_ident("")
112
- end
113
-
114
- def test_escape_just_prefix_ident
115
- assert_equal "\\-", Sass::SCSS::RX.escape_ident("-")
116
- assert_equal "\\_", Sass::SCSS::RX.escape_ident("_")
117
- end
118
-
119
- def test_escape_plain_ident
120
- assert_equal "foo", Sass::SCSS::RX.escape_ident("foo")
121
- assert_equal "foo-1bar", Sass::SCSS::RX.escape_ident("foo-1bar")
122
- assert_equal "-foo-bar", Sass::SCSS::RX.escape_ident("-foo-bar")
123
- assert_equal "f2oo_bar", Sass::SCSS::RX.escape_ident("f2oo_bar")
124
- assert_equal "_foo_bar", Sass::SCSS::RX.escape_ident("_foo_bar")
125
- end
126
-
127
- def test_escape_initial_funky_ident
128
- assert_equal "\\000035foo", Sass::SCSS::RX.escape_ident("5foo")
129
- assert_equal "-\\000035foo", Sass::SCSS::RX.escape_ident("-5foo")
130
- assert_equal "_\\000035foo", Sass::SCSS::RX.escape_ident("_5foo")
131
-
132
- assert_equal "\\&foo", Sass::SCSS::RX.escape_ident("&foo")
133
- assert_equal "-\\&foo", Sass::SCSS::RX.escape_ident("-&foo")
134
-
135
- assert_equal "-\\ foo", Sass::SCSS::RX.escape_ident("- foo")
136
- end
137
-
138
- def test_escape_mid_funky_ident
139
- assert_equal "foo\\&bar", Sass::SCSS::RX.escape_ident("foo&bar")
140
- assert_equal "foo\\ \\ bar", Sass::SCSS::RX.escape_ident("foo bar")
141
- assert_equal "foo\\00007fbar", Sass::SCSS::RX.escape_ident("foo\177bar")
142
- end
143
-
144
- def test_no_static_hyphenated_units
145
- assert_no_match STATIC_VALUE, "20px-20px"
146
- end
147
-
148
- private
149
-
150
- def assert_match(rx, str)
151
- refute_nil(match = rx.match(str))
152
- assert_equal str.size, match[0].size
153
- end
154
-
155
- def assert_no_match(rx, str)
156
- match = rx.match(str)
157
- refute_equal str.size, match && match[0].size
158
- end
159
-
160
- end
@@ -1,4205 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # -*- coding: utf-8 -*-
3
- require File.dirname(__FILE__) + '/test_helper'
4
-
5
- class ScssTest < MiniTest::Test
6
- include ScssTestHelper
7
-
8
- ## One-Line Comments
9
-
10
- def test_one_line_comments
11
- assert_equal <<CSS, render(<<SCSS)
12
- .foo {
13
- baz: bang; }
14
- CSS
15
- .foo {// bar: baz;}
16
- baz: bang; //}
17
- }
18
- SCSS
19
- assert_equal <<CSS, render(<<SCSS)
20
- .foo bar[val="//"] {
21
- baz: bang; }
22
- CSS
23
- .foo bar[val="//"] {
24
- baz: bang; //}
25
- }
26
- SCSS
27
- end
28
-
29
- ## Script
30
-
31
- def test_variables
32
- assert_equal <<CSS, render(<<SCSS)
33
- blat {
34
- a: foo; }
35
- CSS
36
- $var: foo;
37
-
38
- blat {a: $var}
39
- SCSS
40
-
41
- assert_equal <<CSS, render(<<SCSS)
42
- foo {
43
- a: 2;
44
- b: 6; }
45
- CSS
46
- foo {
47
- $var: 2;
48
- $another-var: 4;
49
- a: $var;
50
- b: $var + $another-var;}
51
- SCSS
52
- end
53
-
54
- def test_unicode_variables
55
- assert_equal <<CSS, render(<<SCSS)
56
- blat {
57
- a: foo; }
58
- CSS
59
- $vär: foo;
60
-
61
- blat {a: $vär}
62
- SCSS
63
- end
64
-
65
- def test_guard_assign
66
- assert_equal <<CSS, render(<<SCSS)
67
- foo {
68
- a: 1; }
69
- CSS
70
- $var: 1;
71
- $var: 2 !default;
72
-
73
- foo {a: $var}
74
- SCSS
75
-
76
- assert_equal <<CSS, render(<<SCSS)
77
- foo {
78
- a: 2; }
79
- CSS
80
- $var: 2 !default;
81
-
82
- foo {a: $var}
83
- SCSS
84
- end
85
-
86
- def test_sass_script
87
- assert_equal <<CSS, render(<<SCSS)
88
- foo {
89
- a: 3;
90
- b: -1;
91
- c: foobar;
92
- d: 12px; }
93
- CSS
94
- foo {
95
- a: 1 + 2;
96
- b: 1 - 2;
97
- c: foo + bar;
98
- d: floor(12.3px); }
99
- SCSS
100
- end
101
-
102
- def test_debug_directive
103
- assert_warning "test_debug_directive_inline.scss:2 DEBUG: hello world!" do
104
- assert_equal <<CSS, render(<<SCSS)
105
- foo {
106
- a: b; }
107
-
108
- bar {
109
- c: d; }
110
- CSS
111
- foo {a: b}
112
- @debug "hello world!";
113
- bar {c: d}
114
- SCSS
115
- end
116
- end
117
-
118
- def test_error_directive
119
- assert_raise_message(Sass::SyntaxError, "hello world!") {render(<<SCSS)}
120
- foo {a: b}
121
- @error "hello world!";
122
- bar {c: d}
123
- SCSS
124
- end
125
-
126
- def test_warn_directive
127
- expected_warning = <<EXPECTATION
128
- WARNING: this is a warning
129
- on line 2 of test_warn_directive_inline.scss
130
-
131
- WARNING: this is a mixin
132
- on line 1 of test_warn_directive_inline.scss, in `foo'
133
- from line 3 of test_warn_directive_inline.scss
134
- EXPECTATION
135
- assert_warning expected_warning do
136
- assert_equal <<CSS, render(<<SCSS)
137
- bar {
138
- c: d; }
139
- CSS
140
- @mixin foo { @warn "this is a mixin";}
141
- @warn "this is a warning";
142
- bar {c: d; @include foo;}
143
- SCSS
144
- end
145
- end
146
-
147
- def test_for_directive
148
- assert_equal <<CSS, render(<<SCSS)
149
- .foo {
150
- a: 1;
151
- a: 2;
152
- a: 3;
153
- a: 4; }
154
- CSS
155
- .foo {
156
- @for $var from 1 to 5 {a: $var;}
157
- }
158
- SCSS
159
-
160
- assert_equal <<CSS, render(<<SCSS)
161
- .foo {
162
- a: 1;
163
- a: 2;
164
- a: 3;
165
- a: 4;
166
- a: 5; }
167
- CSS
168
- .foo {
169
- @for $var from 1 through 5 {a: $var;}
170
- }
171
- SCSS
172
- end
173
-
174
- def test_for_directive_with_same_start_and_end
175
- assert_equal <<CSS, render(<<SCSS)
176
- CSS
177
- .foo {
178
- @for $var from 1 to 1 {a: $var;}
179
- }
180
- SCSS
181
-
182
- assert_equal <<CSS, render(<<SCSS)
183
- .foo {
184
- a: 1; }
185
- CSS
186
- .foo {
187
- @for $var from 1 through 1 {a: $var;}
188
- }
189
- SCSS
190
- end
191
-
192
- def test_decrementing_estfor_directive
193
- assert_equal <<CSS, render(<<SCSS)
194
- .foo {
195
- a: 5;
196
- a: 4;
197
- a: 3;
198
- a: 2;
199
- a: 1; }
200
- CSS
201
- .foo {
202
- @for $var from 5 through 1 {a: $var;}
203
- }
204
- SCSS
205
-
206
- assert_equal <<CSS, render(<<SCSS)
207
- .foo {
208
- a: 5;
209
- a: 4;
210
- a: 3;
211
- a: 2; }
212
- CSS
213
- .foo {
214
- @for $var from 5 to 1 {a: $var;}
215
- }
216
- SCSS
217
- end
218
-
219
- def test_if_directive
220
- assert_equal <<CSS, render(<<SCSS)
221
- foo {
222
- a: b; }
223
- CSS
224
- @if "foo" == "foo" {foo {a: b}}
225
- @if "foo" != "foo" {bar {a: b}}
226
- SCSS
227
-
228
- assert_equal <<CSS, render(<<SCSS)
229
- bar {
230
- a: b; }
231
- CSS
232
- @if "foo" != "foo" {foo {a: b}}
233
- @else if "foo" == "foo" {bar {a: b}}
234
- @else if true {baz {a: b}}
235
- SCSS
236
-
237
- assert_equal <<CSS, render(<<SCSS)
238
- bar {
239
- a: b; }
240
- CSS
241
- @if "foo" != "foo" {foo {a: b}}
242
- @else {bar {a: b}}
243
- SCSS
244
- end
245
-
246
- def test_comment_after_if_directive
247
- assert_equal <<CSS, render(<<SCSS)
248
- foo {
249
- a: b;
250
- /* This is a comment */
251
- c: d; }
252
- CSS
253
- foo {
254
- @if true {a: b}
255
- /* This is a comment */
256
- c: d }
257
- SCSS
258
- assert_equal <<CSS, render(<<SCSS)
259
- foo {
260
- a: b;
261
- /* This is a comment */
262
- c: d; }
263
- CSS
264
- foo {
265
- @if true {a: b}
266
- @else {x: y}
267
- /* This is a comment */
268
- c: d }
269
- SCSS
270
- end
271
-
272
- def test_while_directive
273
- assert_equal <<CSS, render(<<SCSS)
274
- .foo {
275
- a: 1;
276
- a: 2;
277
- a: 3;
278
- a: 4; }
279
- CSS
280
- $i: 1;
281
-
282
- .foo {
283
- @while $i != 5 {
284
- a: $i;
285
- $i: $i + 1 !global;
286
- }
287
- }
288
- SCSS
289
- end
290
-
291
- def test_each_directive
292
- assert_equal <<CSS, render(<<SCSS)
293
- a {
294
- b: 1px;
295
- b: 2px;
296
- b: 3px;
297
- b: 4px; }
298
-
299
- c {
300
- d: foo;
301
- d: bar;
302
- d: baz;
303
- d: bang; }
304
- CSS
305
- a {
306
- @each $number in 1px 2px 3px 4px {
307
- b: $number;
308
- }
309
- }
310
- c {
311
- @each $str in foo, bar, baz, bang {
312
- d: $str;
313
- }
314
- }
315
- SCSS
316
- end
317
-
318
- def test_destructuring_each_directive
319
- assert_equal <<CSS, render(<<SCSS)
320
- a {
321
- foo: 1px;
322
- bar: 2px;
323
- baz: 3px; }
324
-
325
- c {
326
- foo: "Value is bar";
327
- bar: "Value is baz";
328
- bang: "Value is "; }
329
- CSS
330
- a {
331
- @each $name, $number in (foo: 1px, bar: 2px, baz: 3px) {
332
- \#{$name}: $number;
333
- }
334
- }
335
- c {
336
- @each $key, $value in (foo bar) (bar, baz) bang {
337
- \#{$key}: "Value is \#{$value}";
338
- }
339
- }
340
- SCSS
341
- end
342
-
343
- def test_css_import_directive
344
- assert_equal "@import url(foo.css);\n", render('@import "foo.css";')
345
- assert_equal "@import url(foo.css);\n", render("@import 'foo.css';")
346
- assert_equal "@import url(\"foo.css\");\n", render('@import url("foo.css");')
347
- assert_equal "@import url(\"foo.css\");\n", render('@import url("foo.css");')
348
- assert_equal "@import url(foo.css);\n", render('@import url(foo.css);')
349
- end
350
-
351
- def test_css_string_import_directive_with_media
352
- assert_parses '@import "foo.css" screen;'
353
- assert_parses '@import "foo.css" screen, print;'
354
- assert_parses '@import "foo.css" screen, print and (foo: 0);'
355
- assert_parses '@import "foo.css" screen, only print, screen and (foo: 0);'
356
- end
357
-
358
- def test_css_url_import_directive_with_media
359
- assert_parses '@import url("foo.css") screen;'
360
- assert_parses '@import url("foo.css") screen, print;'
361
- assert_parses '@import url("foo.css") screen, print and (foo: 0);'
362
- assert_parses '@import url("foo.css") screen, only print, screen and (foo: 0);'
363
- end
364
-
365
- def test_media_import
366
- assert_equal("@import \"./fonts.sass\" all;\n", render("@import \"./fonts.sass\" all;"))
367
- end
368
-
369
- def test_dynamic_media_import
370
- assert_equal(<<CSS, render(<<SCSS))
371
- @import "foo" print and (-webkit-min-device-pixel-ratio-foo: 25);
372
- CSS
373
- $media: print;
374
- $key: -webkit-min-device-pixel-ratio;
375
- $value: 20;
376
- @import "foo" \#{$media} and ($key + "-foo": $value + 5);
377
- SCSS
378
- end
379
-
380
- def test_http_import
381
- assert_equal("@import \"http://fonts.googleapis.com/css?family=Droid+Sans\";\n",
382
- render("@import \"http://fonts.googleapis.com/css?family=Droid+Sans\";"))
383
- end
384
-
385
- def test_protocol_relative_import
386
- assert_equal("@import \"//fonts.googleapis.com/css?family=Droid+Sans\";\n",
387
- render("@import \"//fonts.googleapis.com/css?family=Droid+Sans\";"))
388
- end
389
-
390
- def test_import_with_interpolation
391
- assert_equal <<CSS, render(<<SCSS)
392
- @import url("http://fonts.googleapis.com/css?family=Droid+Sans");
393
- CSS
394
- $family: unquote("Droid+Sans");
395
- @import url("http://fonts.googleapis.com/css?family=\#{$family}");
396
- SCSS
397
- end
398
-
399
- def test_url_import
400
- assert_equal("@import url(fonts.sass);\n", render("@import url(fonts.sass);"))
401
- end
402
-
403
- def test_css_import_doesnt_move_through_comments
404
- assert_equal <<CSS, render(<<SCSS)
405
- /* Comment 1 */
406
- @import url("foo.css");
407
- /* Comment 2 */
408
- @import url("bar.css");
409
- CSS
410
- /* Comment 1 */
411
- @import url("foo.css");
412
-
413
- /* Comment 2 */
414
- @import url("bar.css");
415
- SCSS
416
- end
417
-
418
- def test_css_import_movement_stops_at_comments
419
- assert_equal <<CSS, render(<<SCSS)
420
- /* Comment 1 */
421
- @import url("foo.css");
422
- /* Comment 2 */
423
- @import url("bar.css");
424
- .foo {
425
- a: b; }
426
-
427
- /* Comment 3 */
428
- CSS
429
- /* Comment 1 */
430
- @import url("foo.css");
431
-
432
- /* Comment 2 */
433
-
434
- .foo {a: b}
435
-
436
- /* Comment 3 */
437
- @import url("bar.css");
438
- SCSS
439
- end
440
-
441
- def test_block_comment_in_script
442
- assert_equal <<CSS, render(<<SCSS)
443
- foo {
444
- a: 1bar; }
445
- CSS
446
- foo {a: 1 + /* flang */ bar}
447
- SCSS
448
- end
449
-
450
- def test_line_comment_in_script
451
- assert_equal <<CSS, render(<<SCSS)
452
- foo {
453
- a: 1blang; }
454
- CSS
455
- foo {a: 1 + // flang }
456
- blang }
457
- SCSS
458
- end
459
-
460
- def test_static_hyphenated_unit
461
- assert_equal <<CSS, render(<<SCSS)
462
- foo {
463
- a: 0px; }
464
- CSS
465
- foo {a: 10px-10px }
466
- SCSS
467
- end
468
-
469
- ## Nested Rules
470
-
471
- def test_nested_rules
472
- assert_equal <<CSS, render(<<SCSS)
473
- foo bar {
474
- a: b; }
475
- CSS
476
- foo {bar {a: b}}
477
- SCSS
478
- assert_equal <<CSS, render(<<SCSS)
479
- foo bar {
480
- a: b; }
481
- foo baz {
482
- b: c; }
483
- CSS
484
- foo {
485
- bar {a: b}
486
- baz {b: c}}
487
- SCSS
488
- assert_equal <<CSS, render(<<SCSS)
489
- foo bar baz {
490
- a: b; }
491
- foo bang bip {
492
- a: b; }
493
- CSS
494
- foo {
495
- bar {baz {a: b}}
496
- bang {bip {a: b}}}
497
- SCSS
498
- end
499
-
500
- def test_nested_rules_with_declarations
501
- assert_equal <<CSS, render(<<SCSS)
502
- foo {
503
- a: b; }
504
- foo bar {
505
- c: d; }
506
- CSS
507
- foo {
508
- a: b;
509
- bar {c: d}}
510
- SCSS
511
- assert_equal <<CSS, render(<<SCSS)
512
- foo {
513
- a: b; }
514
- foo bar {
515
- c: d; }
516
- CSS
517
- foo {
518
- bar {c: d}
519
- a: b}
520
- SCSS
521
- assert_equal <<CSS, render(<<SCSS)
522
- foo {
523
- ump: nump;
524
- grump: clump; }
525
- foo bar {
526
- blat: bang;
527
- habit: rabbit; }
528
- foo bar baz {
529
- a: b; }
530
- foo bar bip {
531
- c: d; }
532
- foo bibble bap {
533
- e: f; }
534
- CSS
535
- foo {
536
- ump: nump;
537
- grump: clump;
538
- bar {
539
- blat: bang;
540
- habit: rabbit;
541
- baz {a: b}
542
- bip {c: d}}
543
- bibble {
544
- bap {e: f}}}
545
- SCSS
546
- end
547
-
548
- def test_nested_rules_with_fancy_selectors
549
- assert_equal <<CSS, render(<<SCSS)
550
- foo .bar {
551
- a: b; }
552
- foo :baz {
553
- c: d; }
554
- foo bang:bop {
555
- e: f; }
556
- foo ::qux {
557
- g: h; }
558
- foo zap::fblthp {
559
- i: j; }
560
- CSS
561
- foo {
562
- .bar {a: b}
563
- :baz {c: d}
564
- bang:bop {e: f}
565
- ::qux {g: h}
566
- zap::fblthp {i: j}}
567
- SCSS
568
- end
569
-
570
- def test_almost_ambiguous_nested_rules_and_declarations
571
- assert_equal <<CSS, render(<<SCSS)
572
- foo {
573
- bar: baz bang bop biddle woo look at all these elems; }
574
- foo bar:baz:bang:bop:biddle:woo:look:at:all:these:pseudoclasses {
575
- a: b; }
576
- foo bar:baz bang bop biddle woo look at all these elems {
577
- a: b; }
578
- CSS
579
- foo {
580
- bar:baz:bang:bop:biddle:woo:look:at:all:these:pseudoclasses {a: b};
581
- bar:baz bang bop biddle woo look at all these elems {a: b};
582
- bar:baz bang bop biddle woo look at all these elems; }
583
- SCSS
584
- end
585
-
586
- def test_newlines_in_selectors
587
- assert_equal <<CSS, render(<<SCSS)
588
- foo
589
- bar {
590
- a: b; }
591
- CSS
592
- foo
593
- bar {a: b}
594
- SCSS
595
-
596
- assert_equal <<CSS, render(<<SCSS)
597
- foo baz,
598
- foo bang,
599
- bar baz,
600
- bar bang {
601
- a: b; }
602
- CSS
603
- foo,
604
- bar {
605
- baz,
606
- bang {a: b}}
607
- SCSS
608
-
609
- assert_equal <<CSS, render(<<SCSS)
610
- foo
611
- bar baz
612
- bang {
613
- a: b; }
614
- foo
615
- bar bip bop {
616
- c: d; }
617
- CSS
618
- foo
619
- bar {
620
- baz
621
- bang {a: b}
622
-
623
- bip bop {c: d}}
624
- SCSS
625
-
626
- assert_equal <<CSS, render(<<SCSS)
627
- foo bang, foo bip
628
- bop, bar
629
- baz bang, bar
630
- baz bip
631
- bop {
632
- a: b; }
633
- CSS
634
- foo, bar
635
- baz {
636
- bang, bip
637
- bop {a: b}}
638
- SCSS
639
- end
640
-
641
- def test_trailing_comma_in_selector
642
- assert_equal <<CSS, render(<<SCSS)
643
- #foo #bar,
644
- #baz #boom {
645
- a: b; }
646
-
647
- #bip #bop {
648
- c: d; }
649
- CSS
650
- #foo #bar,,
651
- ,#baz #boom, {a: b}
652
-
653
- #bip #bop, ,, {c: d}
654
- SCSS
655
- end
656
-
657
- def test_parent_selectors
658
- assert_equal <<CSS, render(<<SCSS)
659
- foo:hover {
660
- a: b; }
661
- bar foo.baz {
662
- c: d; }
663
- CSS
664
- foo {
665
- &:hover {a: b}
666
- bar &.baz {c: d}}
667
- SCSS
668
- end
669
-
670
- def test_parent_selector_with_subject
671
- silence_warnings {assert_equal <<CSS, render(<<SCSS)}
672
- bar foo.baz! .bip {
673
- a: b; }
674
-
675
- bar foo bar.baz! .bip {
676
- c: d; }
677
- CSS
678
- foo {
679
- bar &.baz! .bip {a: b}}
680
-
681
- foo bar {
682
- bar &.baz! .bip {c: d}}
683
- SCSS
684
- end
685
-
686
- def test_parent_selector_with_suffix
687
- assert_equal <<CSS, render(<<SCSS)
688
- .foo-bar {
689
- a: b; }
690
- .foo_bar {
691
- c: d; }
692
- .foobar {
693
- e: f; }
694
- .foo123 {
695
- e: f; }
696
-
697
- :hover-suffix {
698
- g: h; }
699
- CSS
700
- .foo {
701
- &-bar {a: b}
702
- &_bar {c: d}
703
- &bar {e: f}
704
- &123 {e: f}
705
- }
706
-
707
- :hover {
708
- &-suffix {g: h}
709
- }
710
- SCSS
711
- end
712
-
713
- def test_unknown_directive_bubbling
714
- assert_equal(<<CSS, render(<<SCSS, :style => :nested))
715
- @fblthp {
716
- .foo .bar {
717
- a: b; } }
718
- CSS
719
- .foo {
720
- @fblthp {
721
- .bar {a: b}
722
- }
723
- }
724
- SCSS
725
- end
726
-
727
- def test_keyframe_bubbling
728
- assert_equal(<<CSS, render(<<SCSS, :style => :nested))
729
- @keyframes spin {
730
- 0% {
731
- transform: rotate(0deg); } }
732
- @-webkit-keyframes spin {
733
- 0% {
734
- transform: rotate(0deg); } }
735
- CSS
736
- .foo {
737
- @keyframes spin {
738
- 0% {transform: rotate(0deg)}
739
- }
740
- @-webkit-keyframes spin {
741
- 0% {transform: rotate(0deg)}
742
- }
743
- }
744
- SCSS
745
- end
746
-
747
- ## Namespace Properties
748
-
749
- def test_namespace_properties
750
- assert_equal <<CSS, render(<<SCSS)
751
- foo {
752
- bar: baz;
753
- bang-bip: 1px;
754
- bang-bop: bar; }
755
- CSS
756
- foo {
757
- bar: baz;
758
- bang: {
759
- bip: 1px;
760
- bop: bar;}}
761
- SCSS
762
- end
763
-
764
- def test_several_namespace_properties
765
- assert_equal <<CSS, render(<<SCSS)
766
- foo {
767
- bar: baz;
768
- bang-bip: 1px;
769
- bang-bop: bar;
770
- buzz-fram: "foo";
771
- buzz-frum: moo; }
772
- CSS
773
- foo {
774
- bar: baz;
775
- bang: {
776
- bip: 1px;
777
- bop: bar;}
778
- buzz: {
779
- fram: "foo";
780
- frum: moo;
781
- }
782
- }
783
- SCSS
784
- end
785
-
786
- def test_nested_namespace_properties
787
- assert_equal <<CSS, render(<<SCSS)
788
- foo {
789
- bar: baz;
790
- bang-bip: 1px;
791
- bang-bop: bar;
792
- bang-blat-baf: bort; }
793
- CSS
794
- foo {
795
- bar: baz;
796
- bang: {
797
- bip: 1px;
798
- bop: bar;
799
- blat:{baf:bort}}}
800
- SCSS
801
- end
802
-
803
- def test_namespace_properties_with_value
804
- assert_equal <<CSS, render(<<SCSS)
805
- foo {
806
- bar: baz;
807
- bar-bip: bop;
808
- bar-bing: bop; }
809
- CSS
810
- foo {
811
- bar: baz {
812
- bip: bop;
813
- bing: bop; }}
814
- SCSS
815
- end
816
-
817
- def test_namespace_properties_with_script_value
818
- assert_equal <<CSS, render(<<SCSS)
819
- foo {
820
- bar: bazbang;
821
- bar-bip: bop;
822
- bar-bing: bop; }
823
- CSS
824
- foo {
825
- bar: baz + bang {
826
- bip: bop;
827
- bing: bop; }}
828
- SCSS
829
- end
830
-
831
- def test_no_namespace_properties_without_space
832
- assert_equal <<CSS, render(<<SCSS)
833
- foo bar:baz {
834
- bip: bop; }
835
- CSS
836
- foo {
837
- bar:baz {
838
- bip: bop }}
839
- SCSS
840
- end
841
-
842
- def test_no_namespace_properties_without_space_even_when_its_unambiguous
843
- render(<<SCSS)
844
- foo {
845
- bar:baz calc(1 + 2) {
846
- bip: bop }}
847
- SCSS
848
- assert(false, "Expected syntax error")
849
- rescue Sass::SyntaxError => e
850
- assert_equal 'Invalid CSS after "bar:baz calc": expected selector, was "(1 + 2)"', e.message
851
- assert_equal 2, e.sass_line
852
- end
853
-
854
- def test_namespace_properties_without_space_allowed_for_non_identifier
855
- assert_equal <<CSS, render(<<SCSS)
856
- foo {
857
- bar: 1px;
858
- bar-bip: bop; }
859
- CSS
860
- foo {
861
- bar:1px {
862
- bip: bop }}
863
- SCSS
864
- end
865
-
866
- ## Mixins
867
-
868
- def test_basic_mixins
869
- assert_equal <<CSS, render(<<SCSS)
870
- .foo {
871
- a: b; }
872
- CSS
873
- @mixin foo {
874
- .foo {a: b}}
875
-
876
- @include foo;
877
- SCSS
878
-
879
- assert_equal <<CSS, render(<<SCSS)
880
- bar {
881
- c: d; }
882
- bar .foo {
883
- a: b; }
884
- CSS
885
- @mixin foo {
886
- .foo {a: b}}
887
-
888
- bar {
889
- @include foo;
890
- c: d; }
891
- SCSS
892
-
893
- assert_equal <<CSS, render(<<SCSS)
894
- bar {
895
- a: b;
896
- c: d; }
897
- CSS
898
- @mixin foo {a: b}
899
-
900
- bar {
901
- @include foo;
902
- c: d; }
903
- SCSS
904
- end
905
-
906
- def test_mixins_with_empty_args
907
- assert_equal <<CSS, render(<<SCSS)
908
- .foo {
909
- a: b; }
910
- CSS
911
- @mixin foo() {a: b}
912
-
913
- .foo {@include foo();}
914
- SCSS
915
-
916
- assert_equal <<CSS, render(<<SCSS)
917
- .foo {
918
- a: b; }
919
- CSS
920
- @mixin foo() {a: b}
921
-
922
- .foo {@include foo;}
923
- SCSS
924
-
925
- assert_equal <<CSS, render(<<SCSS)
926
- .foo {
927
- a: b; }
928
- CSS
929
- @mixin foo {a: b}
930
-
931
- .foo {@include foo();}
932
- SCSS
933
- end
934
-
935
- def test_mixins_with_args
936
- assert_equal <<CSS, render(<<SCSS)
937
- .foo {
938
- a: bar; }
939
- CSS
940
- @mixin foo($a) {a: $a}
941
-
942
- .foo {@include foo(bar)}
943
- SCSS
944
-
945
- assert_equal <<CSS, render(<<SCSS)
946
- .foo {
947
- a: bar;
948
- b: 12px; }
949
- CSS
950
- @mixin foo($a, $b) {
951
- a: $a;
952
- b: $b; }
953
-
954
- .foo {@include foo(bar, 12px)}
955
- SCSS
956
- end
957
-
958
- def test_keyframes_rules_in_content
959
- assert_equal <<CSS, render(<<SCSS)
960
- @keyframes identifier {
961
- 0% {
962
- top: 0;
963
- left: 0; }
964
- 30% {
965
- top: 50px; }
966
- 68%, 72% {
967
- left: 50px; }
968
- 100% {
969
- top: 100px;
970
- left: 100%; } }
971
- CSS
972
- @mixin keyframes {
973
- @keyframes identifier { @content }
974
- }
975
-
976
- @include keyframes {
977
- 0% {top: 0; left: 0}
978
- \#{"30%"} {top: 50px}
979
- 68%, 72% {left: 50px}
980
- 100% {top: 100px; left: 100%}
981
- }
982
- SCSS
983
- end
984
-
985
- ## Functions
986
-
987
- def test_basic_function
988
- assert_equal(<<CSS, render(<<SASS))
989
- bar {
990
- a: 3; }
991
- CSS
992
- @function foo() {
993
- @return 1 + 2;
994
- }
995
-
996
- bar {
997
- a: foo();
998
- }
999
- SASS
1000
- end
1001
-
1002
- def test_function_args
1003
- assert_equal(<<CSS, render(<<SASS))
1004
- bar {
1005
- a: 3; }
1006
- CSS
1007
- @function plus($var1, $var2) {
1008
- @return $var1 + $var2;
1009
- }
1010
-
1011
- bar {
1012
- a: plus(1, 2);
1013
- }
1014
- SASS
1015
- end
1016
-
1017
- def test_disallowed_function_names
1018
- Sass::Deprecation.allow_double_warnings do
1019
- assert_warning(<<WARNING) {render(<<SCSS)}
1020
- DEPRECATION WARNING on line 1 of test_disallowed_function_names_inline.scss:
1021
- Naming a function "calc" is disallowed and will be an error in future versions of Sass.
1022
- This name conflicts with an existing CSS function with special parse rules.
1023
- WARNING
1024
- @function calc() {}
1025
- SCSS
1026
-
1027
- assert_warning(<<WARNING) {render(<<SCSS)}
1028
- DEPRECATION WARNING on line 1 of test_disallowed_function_names_inline.scss:
1029
- Naming a function "-my-calc" is disallowed and will be an error in future versions of Sass.
1030
- This name conflicts with an existing CSS function with special parse rules.
1031
- WARNING
1032
- @function -my-calc() {}
1033
- SCSS
1034
-
1035
- assert_warning(<<WARNING) {render(<<SCSS)}
1036
- DEPRECATION WARNING on line 1 of test_disallowed_function_names_inline.scss:
1037
- Naming a function "element" is disallowed and will be an error in future versions of Sass.
1038
- This name conflicts with an existing CSS function with special parse rules.
1039
- WARNING
1040
- @function element() {}
1041
- SCSS
1042
-
1043
- assert_warning(<<WARNING) {render(<<SCSS)}
1044
- DEPRECATION WARNING on line 1 of test_disallowed_function_names_inline.scss:
1045
- Naming a function "-my-element" is disallowed and will be an error in future versions of Sass.
1046
- This name conflicts with an existing CSS function with special parse rules.
1047
- WARNING
1048
- @function -my-element() {}
1049
- SCSS
1050
-
1051
- assert_warning(<<WARNING) {render(<<SCSS)}
1052
- DEPRECATION WARNING on line 1 of test_disallowed_function_names_inline.scss:
1053
- Naming a function "expression" is disallowed and will be an error in future versions of Sass.
1054
- This name conflicts with an existing CSS function with special parse rules.
1055
- WARNING
1056
- @function expression() {}
1057
- SCSS
1058
-
1059
- assert_warning(<<WARNING) {render(<<SCSS)}
1060
- DEPRECATION WARNING on line 1 of test_disallowed_function_names_inline.scss:
1061
- Naming a function "url" is disallowed and will be an error in future versions of Sass.
1062
- This name conflicts with an existing CSS function with special parse rules.
1063
- WARNING
1064
- @function url() {}
1065
- SCSS
1066
- end
1067
- end
1068
-
1069
- def test_allowed_function_names
1070
- assert_no_warning {assert_equal(<<CSS, render(<<SCSS))}
1071
- .a {
1072
- b: c; }
1073
- CSS
1074
- @function -my-expression() {@return c}
1075
-
1076
- .a {b: -my-expression()}
1077
- SCSS
1078
-
1079
- assert_no_warning {assert_equal(<<CSS, render(<<SCSS))}
1080
- .a {
1081
- b: c; }
1082
- CSS
1083
- @function -my-url() {@return c}
1084
-
1085
- .a {b: -my-url()}
1086
- SCSS
1087
- end
1088
-
1089
- ## Var Args
1090
-
1091
- def test_mixin_var_args
1092
- assert_equal <<CSS, render(<<SCSS)
1093
- .foo {
1094
- a: 1;
1095
- b: 2, 3, 4; }
1096
- CSS
1097
- @mixin foo($a, $b...) {
1098
- a: $a;
1099
- b: $b;
1100
- }
1101
-
1102
- .foo {@include foo(1, 2, 3, 4)}
1103
- SCSS
1104
- end
1105
-
1106
- def test_mixin_empty_var_args
1107
- assert_equal <<CSS, render(<<SCSS)
1108
- .foo {
1109
- a: 1;
1110
- b: 0; }
1111
- CSS
1112
- @mixin foo($a, $b...) {
1113
- a: $a;
1114
- b: length($b);
1115
- }
1116
-
1117
- .foo {@include foo(1)}
1118
- SCSS
1119
- end
1120
-
1121
- def test_mixin_var_args_act_like_list
1122
- assert_equal <<CSS, render(<<SCSS)
1123
- .foo {
1124
- a: 3;
1125
- b: 3; }
1126
- CSS
1127
- @mixin foo($a, $b...) {
1128
- a: length($b);
1129
- b: nth($b, 2);
1130
- }
1131
-
1132
- .foo {@include foo(1, 2, 3, 4)}
1133
- SCSS
1134
- end
1135
-
1136
- def test_mixin_splat_args
1137
- assert_equal <<CSS, render(<<SCSS)
1138
- .foo {
1139
- a: 1;
1140
- b: 2;
1141
- c: 3;
1142
- d: 4; }
1143
- CSS
1144
- @mixin foo($a, $b, $c, $d) {
1145
- a: $a;
1146
- b: $b;
1147
- c: $c;
1148
- d: $d;
1149
- }
1150
-
1151
- $list: 2, 3, 4;
1152
- .foo {@include foo(1, $list...)}
1153
- SCSS
1154
- end
1155
-
1156
- def test_mixin_splat_expression
1157
- assert_equal <<CSS, render(<<SCSS)
1158
- .foo {
1159
- a: 1;
1160
- b: 2;
1161
- c: 3;
1162
- d: 4; }
1163
- CSS
1164
- @mixin foo($a, $b, $c, $d) {
1165
- a: $a;
1166
- b: $b;
1167
- c: $c;
1168
- d: $d;
1169
- }
1170
-
1171
- .foo {@include foo(1, (2, 3, 4)...)}
1172
- SCSS
1173
- end
1174
-
1175
- def test_mixin_splat_args_with_var_args
1176
- assert_equal <<CSS, render(<<SCSS)
1177
- .foo {
1178
- a: 1;
1179
- b: 2, 3, 4; }
1180
- CSS
1181
- @mixin foo($a, $b...) {
1182
- a: $a;
1183
- b: $b;
1184
- }
1185
-
1186
- $list: 2, 3, 4;
1187
- .foo {@include foo(1, $list...)}
1188
- SCSS
1189
- end
1190
-
1191
- def test_mixin_splat_args_with_var_args_and_normal_args
1192
- assert_equal <<CSS, render(<<SCSS)
1193
- .foo {
1194
- a: 1;
1195
- b: 2;
1196
- c: 3, 4; }
1197
- CSS
1198
- @mixin foo($a, $b, $c...) {
1199
- a: $a;
1200
- b: $b;
1201
- c: $c;
1202
- }
1203
-
1204
- $list: 2, 3, 4;
1205
- .foo {@include foo(1, $list...)}
1206
- SCSS
1207
- end
1208
-
1209
- def test_mixin_splat_args_with_var_args_preserves_separator
1210
- assert_equal <<CSS, render(<<SCSS)
1211
- .foo {
1212
- a: 1;
1213
- b: 2 3 4 5; }
1214
- CSS
1215
- @mixin foo($a, $b...) {
1216
- a: $a;
1217
- b: $b;
1218
- }
1219
-
1220
- $list: 3 4 5;
1221
- .foo {@include foo(1, 2, $list...)}
1222
- SCSS
1223
- end
1224
-
1225
- def test_mixin_var_and_splat_args_pass_through_keywords
1226
- assert_equal <<CSS, render(<<SCSS)
1227
- .foo {
1228
- a: 3;
1229
- b: 1;
1230
- c: 2; }
1231
- CSS
1232
- @mixin foo($a...) {
1233
- @include bar($a...);
1234
- }
1235
-
1236
- @mixin bar($b, $c, $a) {
1237
- a: $a;
1238
- b: $b;
1239
- c: $c;
1240
- }
1241
-
1242
- .foo {@include foo(1, $c: 2, $a: 3)}
1243
- SCSS
1244
- end
1245
-
1246
- def test_mixin_var_keyword_args
1247
- assert_equal <<CSS, render(<<SCSS)
1248
- .foo {
1249
- a: 1;
1250
- b: 2;
1251
- c: 3; }
1252
- CSS
1253
- @mixin foo($args...) {
1254
- a: map-get(keywords($args), a);
1255
- b: map-get(keywords($args), b);
1256
- c: map-get(keywords($args), c);
1257
- }
1258
-
1259
- .foo {@include foo($a: 1, $b: 2, $c: 3)}
1260
- SCSS
1261
- end
1262
-
1263
- def test_mixin_empty_var_keyword_args
1264
- assert_equal <<CSS, render(<<SCSS)
1265
- .foo {
1266
- length: 0; }
1267
- CSS
1268
- @mixin foo($args...) {
1269
- length: length(keywords($args));
1270
- }
1271
-
1272
- .foo {@include foo}
1273
- SCSS
1274
- end
1275
-
1276
- def test_mixin_map_splat
1277
- assert_equal <<CSS, render(<<SCSS)
1278
- .foo {
1279
- a: 1;
1280
- b: 2;
1281
- c: 3; }
1282
- CSS
1283
- @mixin foo($a, $b, $c) {
1284
- a: $a;
1285
- b: $b;
1286
- c: $c;
1287
- }
1288
-
1289
- .foo {
1290
- $map: (a: 1, b: 2, c: 3);
1291
- @include foo($map...);
1292
- }
1293
- SCSS
1294
- end
1295
-
1296
- def test_mixin_map_and_list_splat
1297
- assert_equal <<CSS, render(<<SCSS)
1298
- .foo {
1299
- a: x;
1300
- b: y;
1301
- c: z;
1302
- d: 1;
1303
- e: 2;
1304
- f: 3; }
1305
- CSS
1306
- @mixin foo($a, $b, $c, $d, $e, $f) {
1307
- a: $a;
1308
- b: $b;
1309
- c: $c;
1310
- d: $d;
1311
- e: $e;
1312
- f: $f;
1313
- }
1314
-
1315
- .foo {
1316
- $list: x y z;
1317
- $map: (d: 1, e: 2, f: 3);
1318
- @include foo($list..., $map...);
1319
- }
1320
- SCSS
1321
- end
1322
-
1323
- def test_mixin_map_splat_takes_precedence_over_pass_through
1324
- assert_equal <<CSS, render(<<SCSS)
1325
- .foo {
1326
- a: 1;
1327
- b: 2;
1328
- c: z; }
1329
- CSS
1330
- @mixin foo($args...) {
1331
- $map: (c: z);
1332
- @include bar($args..., $map...);
1333
- }
1334
-
1335
- @mixin bar($a, $b, $c) {
1336
- a: $a;
1337
- b: $b;
1338
- c: $c;
1339
- }
1340
-
1341
- .foo {
1342
- @include foo(1, $b: 2, $c: 3);
1343
- }
1344
- SCSS
1345
- end
1346
-
1347
- def test_mixin_list_of_pairs_splat_treated_as_list
1348
- assert_equal <<CSS, render(<<SCSS)
1349
- .foo {
1350
- a: a 1;
1351
- b: b 2;
1352
- c: c 3; }
1353
- CSS
1354
- @mixin foo($a, $b, $c) {
1355
- a: $a;
1356
- b: $b;
1357
- c: $c;
1358
- }
1359
-
1360
- .foo {
1361
- @include foo((a 1, b 2, c 3)...);
1362
- }
1363
- SCSS
1364
- end
1365
-
1366
- def test_mixin_splat_after_keyword_args
1367
- assert_equal <<CSS, render(<<SCSS)
1368
- .foo {
1369
- a: 1;
1370
- b: 2;
1371
- c: 3; }
1372
- CSS
1373
- @mixin foo($a, $b, $c) {
1374
- a: 1;
1375
- b: 2;
1376
- c: 3;
1377
- }
1378
-
1379
- .foo {
1380
- @include foo(1, $c: 3, 2...);
1381
- }
1382
- SCSS
1383
- end
1384
-
1385
- def test_mixin_keyword_args_after_splat
1386
- assert_equal <<CSS, render(<<SCSS)
1387
- .foo {
1388
- a: 1;
1389
- b: 2;
1390
- c: 3; }
1391
- CSS
1392
- @mixin foo($a, $b, $c) {
1393
- a: 1;
1394
- b: 2;
1395
- c: 3;
1396
- }
1397
-
1398
- .foo {
1399
- @include foo(1, 2..., $c: 3);
1400
- }
1401
- SCSS
1402
- end
1403
-
1404
- def test_mixin_keyword_splat_after_keyword_args
1405
- assert_equal <<CSS, render(<<SCSS)
1406
- .foo {
1407
- a: 1;
1408
- b: 2;
1409
- c: 3; }
1410
- CSS
1411
- @mixin foo($a, $b, $c) {
1412
- a: 1;
1413
- b: 2;
1414
- c: 3;
1415
- }
1416
-
1417
- .foo {
1418
- @include foo(1, $b: 2, (c: 3)...);
1419
- }
1420
- SCSS
1421
- end
1422
-
1423
- def test_mixin_triple_keyword_splat_merge
1424
- assert_equal <<CSS, render(<<SCSS)
1425
- .foo {
1426
- foo: 1;
1427
- bar: 2;
1428
- kwarg: 3;
1429
- a: 3;
1430
- b: 2;
1431
- c: 3; }
1432
- CSS
1433
- @mixin foo($foo, $bar, $kwarg, $a, $b, $c) {
1434
- foo: $foo;
1435
- bar: $bar;
1436
- kwarg: $kwarg;
1437
- a: $a;
1438
- b: $b;
1439
- c: $c;
1440
- }
1441
-
1442
- @mixin bar($args...) {
1443
- @include foo($args..., $bar: 2, $a: 2, $b: 2, (kwarg: 3, a: 3, c: 3)...);
1444
- }
1445
-
1446
- .foo {
1447
- @include bar($foo: 1, $a: 1, $b: 1, $c: 1);
1448
- }
1449
- SCSS
1450
- end
1451
-
1452
- def test_mixin_map_splat_converts_hyphens_and_underscores_for_real_args
1453
- assert_equal <<CSS, render(<<SCSS)
1454
- .foo {
1455
- a: 1;
1456
- b: 2;
1457
- c: 3;
1458
- d: 4; }
1459
- CSS
1460
- @mixin foo($a-1, $b-2, $c_3, $d_4) {
1461
- a: $a-1;
1462
- b: $b-2;
1463
- c: $c_3;
1464
- d: $d_4;
1465
- }
1466
-
1467
- .foo {
1468
- $map: (a-1: 1, b_2: 2, c-3: 3, d_4: 4);
1469
- @include foo($map...);
1470
- }
1471
- SCSS
1472
- end
1473
-
1474
- def test_mixin_map_splat_doesnt_convert_hyphens_and_underscores_for_var_args
1475
- assert_equal <<CSS, render(<<SCSS)
1476
- .foo {
1477
- a-1: 1;
1478
- b_2: 2;
1479
- c-3: 3;
1480
- d_4: 4; }
1481
- CSS
1482
- @mixin foo($args...) {
1483
- @each $key, $value in keywords($args) {
1484
- \#{$key}: $value;
1485
- }
1486
- }
1487
-
1488
- .foo {
1489
- $map: (a-1: 1, b_2: 2, c-3: 3, d_4: 4);
1490
- @include foo($map...);
1491
- }
1492
- SCSS
1493
- end
1494
-
1495
- def test_mixin_conflicting_splat_after_keyword_args
1496
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
1497
- Mixin foo was passed argument $b both by position and by name.
1498
- MESSAGE
1499
- @mixin foo($a, $b, $c) {
1500
- a: 1;
1501
- b: 2;
1502
- c: 3;
1503
- }
1504
-
1505
- .foo {
1506
- @include foo(1, $b: 2, 3...);
1507
- }
1508
- SCSS
1509
- end
1510
-
1511
- def test_mixin_keyword_splat_must_have_string_keys
1512
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render <<SCSS}
1513
- Variable keyword argument map must have string keys.
1514
- 12 is not a string in (12: 1).
1515
- MESSAGE
1516
- @mixin foo($a) {
1517
- a: $a;
1518
- }
1519
-
1520
- .foo {@include foo((12: 1)...)}
1521
- SCSS
1522
- end
1523
-
1524
- def test_mixin_positional_arg_after_splat
1525
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
1526
- Only keyword arguments may follow variable arguments (...).
1527
- MESSAGE
1528
- @mixin foo($a, $b, $c) {
1529
- a: 1;
1530
- b: 2;
1531
- c: 3;
1532
- }
1533
-
1534
- .foo {
1535
- @include foo(1, 2..., 3);
1536
- }
1537
- SCSS
1538
- end
1539
-
1540
- def test_mixin_var_args_with_keyword
1541
- assert_raise_message(Sass::SyntaxError, "Positional arguments must come before keyword arguments.") {render <<SCSS}
1542
- @mixin foo($a, $b...) {
1543
- a: $a;
1544
- b: $b;
1545
- }
1546
-
1547
- .foo {@include foo($a: 1, 2, 3, 4)}
1548
- SCSS
1549
- end
1550
-
1551
- def test_mixin_keyword_for_var_arg
1552
- assert_raise_message(Sass::SyntaxError, "Argument $b of mixin foo cannot be used as a named argument.") {render <<SCSS}
1553
- @mixin foo($a, $b...) {
1554
- a: $a;
1555
- b: $b;
1556
- }
1557
-
1558
- .foo {@include foo(1, $b: 2 3 4)}
1559
- SCSS
1560
- end
1561
-
1562
- def test_mixin_keyword_for_unknown_arg_with_var_args
1563
- assert_raise_message(Sass::SyntaxError, "Mixin foo doesn't have an argument named $c.") {render <<SCSS}
1564
- @mixin foo($a, $b...) {
1565
- a: $a;
1566
- b: $b;
1567
- }
1568
-
1569
- .foo {@include foo(1, $c: 2 3 4)}
1570
- SCSS
1571
- end
1572
-
1573
- def test_mixin_map_splat_before_list_splat
1574
- assert_raise_message(Sass::SyntaxError, "Variable keyword arguments must be a map (was (2 3)).") {render <<SCSS}
1575
- @mixin foo($a, $b, $c) {
1576
- a: $a;
1577
- b: $b;
1578
- c: $c;
1579
- }
1580
-
1581
- .foo {
1582
- @include foo((a: 1)..., (2 3)...);
1583
- }
1584
- SCSS
1585
- end
1586
-
1587
- def test_mixin_map_splat_with_unknown_keyword
1588
- assert_raise_message(Sass::SyntaxError, "Mixin foo doesn't have an argument named $c.") {render <<SCSS}
1589
- @mixin foo($a, $b) {
1590
- a: $a;
1591
- b: $b;
1592
- }
1593
-
1594
- .foo {
1595
- @include foo(1, 2, (c: 1)...);
1596
- }
1597
- SCSS
1598
- end
1599
-
1600
- def test_mixin_map_splat_with_wrong_type
1601
- assert_raise_message(Sass::SyntaxError, "Variable keyword arguments must be a map (was 12).") {render <<SCSS}
1602
- @mixin foo($a, $b) {
1603
- a: $a;
1604
- b: $b;
1605
- }
1606
-
1607
- .foo {
1608
- @include foo((1, 2)..., 12...);
1609
- }
1610
- SCSS
1611
- end
1612
-
1613
- def test_mixin_splat_too_many_args
1614
- assert_warning(<<WARNING) {render <<SCSS}
1615
- WARNING: Mixin foo takes 2 arguments but 4 were passed.
1616
- on line 2 of #{filename_for_test(:scss)}
1617
- This will be an error in future versions of Sass.
1618
- WARNING
1619
- @mixin foo($a, $b) {}
1620
- @include foo((1, 2, 3, 4)...);
1621
- SCSS
1622
- end
1623
-
1624
- def test_function_var_args
1625
- assert_equal <<CSS, render(<<SCSS)
1626
- .foo {
1627
- val: "a: 1, b: 2, 3, 4"; }
1628
- CSS
1629
- @function foo($a, $b...) {
1630
- @return "a: \#{$a}, b: \#{$b}";
1631
- }
1632
-
1633
- .foo {val: foo(1, 2, 3, 4)}
1634
- SCSS
1635
- end
1636
-
1637
- def test_function_empty_var_args
1638
- assert_equal <<CSS, render(<<SCSS)
1639
- .foo {
1640
- val: "a: 1, b: 0"; }
1641
- CSS
1642
- @function foo($a, $b...) {
1643
- @return "a: \#{$a}, b: \#{length($b)}";
1644
- }
1645
-
1646
- .foo {val: foo(1)}
1647
- SCSS
1648
- end
1649
-
1650
- def test_function_var_args_act_like_list
1651
- assert_equal <<CSS, render(<<SCSS)
1652
- .foo {
1653
- val: "a: 3, b: 3"; }
1654
- CSS
1655
- @function foo($a, $b...) {
1656
- @return "a: \#{length($b)}, b: \#{nth($b, 2)}";
1657
- }
1658
-
1659
- .foo {val: foo(1, 2, 3, 4)}
1660
- SCSS
1661
- end
1662
-
1663
- def test_function_splat_args
1664
- assert_equal <<CSS, render(<<SCSS)
1665
- .foo {
1666
- val: "a: 1, b: 2, c: 3, d: 4"; }
1667
- CSS
1668
- @function foo($a, $b, $c, $d) {
1669
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}, d: \#{$d}";
1670
- }
1671
-
1672
- $list: 2, 3, 4;
1673
- .foo {val: foo(1, $list...)}
1674
- SCSS
1675
- end
1676
-
1677
- def test_function_splat_expression
1678
- assert_equal <<CSS, render(<<SCSS)
1679
- .foo {
1680
- val: "a: 1, b: 2, c: 3, d: 4"; }
1681
- CSS
1682
- @function foo($a, $b, $c, $d) {
1683
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}, d: \#{$d}";
1684
- }
1685
-
1686
- .foo {val: foo(1, (2, 3, 4)...)}
1687
- SCSS
1688
- end
1689
-
1690
- def test_function_splat_args_with_var_args
1691
- assert_equal <<CSS, render(<<SCSS)
1692
- .foo {
1693
- val: "a: 1, b: 2, 3, 4"; }
1694
- CSS
1695
- @function foo($a, $b...) {
1696
- @return "a: \#{$a}, b: \#{$b}";
1697
- }
1698
-
1699
- $list: 2, 3, 4;
1700
- .foo {val: foo(1, $list...)}
1701
- SCSS
1702
- end
1703
-
1704
- def test_function_splat_args_with_var_args_and_normal_args
1705
- assert_equal <<CSS, render(<<SCSS)
1706
- .foo {
1707
- val: "a: 1, b: 2, c: 3, 4"; }
1708
- CSS
1709
- @function foo($a, $b, $c...) {
1710
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1711
- }
1712
-
1713
- $list: 2, 3, 4;
1714
- .foo {val: foo(1, $list...)}
1715
- SCSS
1716
- end
1717
-
1718
- def test_function_splat_args_with_var_args_preserves_separator
1719
- assert_equal <<CSS, render(<<SCSS)
1720
- .foo {
1721
- val: "a: 1, b: 2 3 4 5"; }
1722
- CSS
1723
- @function foo($a, $b...) {
1724
- @return "a: \#{$a}, b: \#{$b}";
1725
- }
1726
-
1727
- $list: 3 4 5;
1728
- .foo {val: foo(1, 2, $list...)}
1729
- SCSS
1730
- end
1731
-
1732
- def test_function_var_and_splat_args_pass_through_keywords
1733
- assert_equal <<CSS, render(<<SCSS)
1734
- .foo {
1735
- val: "a: 3, b: 1, c: 2"; }
1736
- CSS
1737
- @function foo($a...) {
1738
- @return bar($a...);
1739
- }
1740
-
1741
- @function bar($b, $c, $a) {
1742
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1743
- }
1744
-
1745
- .foo {val: foo(1, $c: 2, $a: 3)}
1746
- SCSS
1747
- end
1748
-
1749
- def test_function_var_keyword_args
1750
- assert_equal <<CSS, render(<<SCSS)
1751
- .foo {
1752
- val: "a: 1, b: 2, c: 3"; }
1753
- CSS
1754
- @function foo($args...) {
1755
- @return "a: \#{map-get(keywords($args), a)}, " +
1756
- "b: \#{map-get(keywords($args), b)}, " +
1757
- "c: \#{map-get(keywords($args), c)}";
1758
- }
1759
-
1760
- .foo {val: foo($a: 1, $b: 2, $c: 3)}
1761
- SCSS
1762
- end
1763
-
1764
- def test_function_empty_var_keyword_args
1765
- assert_equal <<CSS, render(<<SCSS)
1766
- .foo {
1767
- length: 0; }
1768
- CSS
1769
- @function foo($args...) {
1770
- @return length(keywords($args));
1771
- }
1772
-
1773
- .foo {length: foo()}
1774
- SCSS
1775
- end
1776
-
1777
- def test_function_map_splat
1778
- assert_equal <<CSS, render(<<SCSS)
1779
- .foo {
1780
- val: "a: 1, b: 2, c: 3"; }
1781
- CSS
1782
- @function foo($a, $b, $c) {
1783
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1784
- }
1785
-
1786
- .foo {
1787
- $map: (a: 1, b: 2, c: 3);
1788
- val: foo($map...);
1789
- }
1790
- SCSS
1791
- end
1792
-
1793
- def test_function_map_and_list_splat
1794
- assert_equal <<CSS, render(<<SCSS)
1795
- .foo {
1796
- val: "a: x, b: y, c: z, d: 1, e: 2, f: 3"; }
1797
- CSS
1798
- @function foo($a, $b, $c, $d, $e, $f) {
1799
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}, d: \#{$d}, e: \#{$e}, f: \#{$f}";
1800
- }
1801
-
1802
- .foo {
1803
- $list: x y z;
1804
- $map: (d: 1, e: 2, f: 3);
1805
- val: foo($list..., $map...);
1806
- }
1807
- SCSS
1808
- end
1809
-
1810
- def test_function_map_splat_takes_precedence_over_pass_through
1811
- assert_equal <<CSS, render(<<SCSS)
1812
- .foo {
1813
- val: "a: 1, b: 2, c: z"; }
1814
- CSS
1815
- @function foo($args...) {
1816
- $map: (c: z);
1817
- @return bar($args..., $map...);
1818
- }
1819
-
1820
- @function bar($a, $b, $c) {
1821
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1822
- }
1823
-
1824
- .foo {
1825
- val: foo(1, $b: 2, $c: 3);
1826
- }
1827
- SCSS
1828
- end
1829
-
1830
- def test_ruby_function_map_splat_takes_precedence_over_pass_through
1831
- assert_equal <<CSS, render(<<SCSS)
1832
- .foo {
1833
- val: 1 2 3 z; }
1834
- CSS
1835
- @function foo($args...) {
1836
- $map: (val: z);
1837
- @return append($args..., $map...);
1838
- }
1839
-
1840
- .foo {
1841
- val: foo(1 2 3, $val: 4)
1842
- }
1843
- SCSS
1844
- end
1845
-
1846
- def test_function_list_of_pairs_splat_treated_as_list
1847
- assert_equal <<CSS, render(<<SCSS)
1848
- .foo {
1849
- val: "a: a 1, b: b 2, c: c 3"; }
1850
- CSS
1851
- @function foo($a, $b, $c) {
1852
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1853
- }
1854
-
1855
- .foo {
1856
- val: foo((a 1, b 2, c 3)...);
1857
- }
1858
- SCSS
1859
- end
1860
-
1861
- def test_function_splat_after_keyword_args
1862
- assert_equal <<CSS, render(<<SCSS)
1863
- .foo {
1864
- val: "a: 1, b: 2, c: 3"; }
1865
- CSS
1866
- @function foo($a, $b, $c) {
1867
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1868
- }
1869
-
1870
- .foo {
1871
- val: foo(1, $c: 3, 2...);
1872
- }
1873
- SCSS
1874
- end
1875
-
1876
- def test_function_keyword_args_after_splat
1877
- assert_equal <<CSS, render(<<SCSS)
1878
- .foo {
1879
- val: "a: 1, b: 2, c: 3"; }
1880
- CSS
1881
- @function foo($a, $b, $c) {
1882
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1883
- }
1884
-
1885
- .foo {
1886
- val: foo(1, 2..., $c: 3);
1887
- }
1888
- SCSS
1889
- end
1890
-
1891
- def test_function_keyword_splat_after_keyword_args
1892
- assert_equal <<CSS, render(<<SCSS)
1893
- .foo {
1894
- val: "a: 1, b: 2, c: 3"; }
1895
- CSS
1896
- @function foo($a, $b, $c) {
1897
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1898
- }
1899
-
1900
- .foo {
1901
- val: foo(1, $b: 2, (c: 3)...);
1902
- }
1903
- SCSS
1904
- end
1905
-
1906
- def test_function_triple_keyword_splat_merge
1907
- assert_equal <<CSS, render(<<SCSS)
1908
- .foo {
1909
- val: "foo: 1, bar: 2, kwarg: 3, a: 3, b: 2, c: 3"; }
1910
- CSS
1911
- @function foo($foo, $bar, $kwarg, $a, $b, $c) {
1912
- @return "foo: \#{$foo}, bar: \#{$bar}, kwarg: \#{$kwarg}, a: \#{$a}, b: \#{$b}, c: \#{$c}";
1913
- }
1914
-
1915
- @function bar($args...) {
1916
- @return foo($args..., $bar: 2, $a: 2, $b: 2, (kwarg: 3, a: 3, c: 3)...);
1917
- }
1918
-
1919
- .foo {
1920
- val: bar($foo: 1, $a: 1, $b: 1, $c: 1);
1921
- }
1922
- SCSS
1923
- end
1924
-
1925
- def test_function_conflicting_splat_after_keyword_args
1926
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
1927
- Function foo was passed argument $b both by position and by name.
1928
- MESSAGE
1929
- @function foo($a, $b, $c) {
1930
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1931
- }
1932
-
1933
- .foo {
1934
- val: foo(1, $b: 2, 3...);
1935
- }
1936
- SCSS
1937
- end
1938
-
1939
- def test_function_positional_arg_after_splat
1940
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
1941
- Only keyword arguments may follow variable arguments (...).
1942
- MESSAGE
1943
- @function foo($a, $b, $c) {
1944
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
1945
- }
1946
-
1947
- .foo {
1948
- val: foo(1, 2..., 3);
1949
- }
1950
- SCSS
1951
- end
1952
-
1953
- def test_function_var_args_with_keyword
1954
- assert_raise_message(Sass::SyntaxError, "Positional arguments must come before keyword arguments.") {render <<SCSS}
1955
- @function foo($a, $b...) {
1956
- @return "a: \#{$a}, b: \#{$b}";
1957
- }
1958
-
1959
- .foo {val: foo($a: 1, 2, 3, 4)}
1960
- SCSS
1961
- end
1962
-
1963
- def test_function_keyword_for_var_arg
1964
- assert_raise_message(Sass::SyntaxError, "Argument $b of function foo cannot be used as a named argument.") {render <<SCSS}
1965
- @function foo($a, $b...) {
1966
- @return "a: \#{$a}, b: \#{$b}";
1967
- }
1968
-
1969
- .foo {val: foo(1, $b: 2 3 4)}
1970
- SCSS
1971
- end
1972
-
1973
- def test_function_keyword_for_unknown_arg_with_var_args
1974
- assert_raise_message(Sass::SyntaxError, "Function foo doesn't have an argument named $c.") {render <<SCSS}
1975
- @function foo($a, $b...) {
1976
- @return "a: \#{$a}, b: \#{length($b)}";
1977
- }
1978
-
1979
- .foo {val: foo(1, $c: 2 3 4)}
1980
- SCSS
1981
- end
1982
-
1983
- def test_function_var_args_passed_to_native
1984
- assert_equal <<CSS, render(<<SCSS)
1985
- .foo {
1986
- val: #102035; }
1987
- CSS
1988
- @function foo($args...) {
1989
- @return adjust-color($args...);
1990
- }
1991
-
1992
- .foo {val: foo(#102030, $blue: 5)}
1993
- SCSS
1994
- end
1995
-
1996
- def test_function_map_splat_before_list_splat
1997
- assert_raise_message(Sass::SyntaxError, "Variable keyword arguments must be a map (was (2 3)).") {render <<SCSS}
1998
- @function foo($a, $b, $c) {
1999
- @return "a: \#{$a}, b: \#{$b}, c: \#{$c}";
2000
- }
2001
-
2002
- .foo {
2003
- val: foo((a: 1)..., (2 3)...);
2004
- }
2005
- SCSS
2006
- end
2007
-
2008
- def test_function_map_splat_with_unknown_keyword
2009
- assert_raise_message(Sass::SyntaxError, "Function foo doesn't have an argument named $c.") {render <<SCSS}
2010
- @function foo($a, $b) {
2011
- @return "a: \#{$a}, b: \#{$b}";
2012
- }
2013
-
2014
- .foo {
2015
- val: foo(1, 2, (c: 1)...);
2016
- }
2017
- SCSS
2018
- end
2019
-
2020
- def test_function_map_splat_with_wrong_type
2021
- assert_raise_message(Sass::SyntaxError, "Variable keyword arguments must be a map (was 12).") {render <<SCSS}
2022
- @function foo($a, $b) {
2023
- @return "a: \#{$a}, b: \#{$b}";
2024
- }
2025
-
2026
- .foo {
2027
- val: foo((1, 2)..., 12...);
2028
- }
2029
- SCSS
2030
- end
2031
-
2032
- def test_function_keyword_splat_must_have_string_keys
2033
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render <<SCSS}
2034
- Variable keyword argument map must have string keys.
2035
- 12 is not a string in (12: 1).
2036
- MESSAGE
2037
- @function foo($a) {
2038
- @return $a;
2039
- }
2040
-
2041
- .foo {val: foo((12: 1)...)}
2042
- SCSS
2043
- end
2044
-
2045
- def test_function_splat_too_many_args
2046
- assert_warning(<<WARNING) {render <<SCSS}
2047
- WARNING: Function foo takes 2 arguments but 4 were passed.
2048
- on line 2 of #{filename_for_test(:scss)}
2049
- This will be an error in future versions of Sass.
2050
- WARNING
2051
- @function foo($a, $b) {@return null}
2052
- $var: foo((1, 2, 3, 4)...);
2053
- SCSS
2054
- end
2055
-
2056
- ## Interpolation
2057
-
2058
- def test_basic_selector_interpolation
2059
- assert_equal <<CSS, render(<<SCSS)
2060
- foo ab baz {
2061
- a: b; }
2062
- CSS
2063
- foo \#{'a' + 'b'} baz {a: b}
2064
- SCSS
2065
- assert_equal <<CSS, render(<<SCSS)
2066
- foo.bar baz {
2067
- a: b; }
2068
- CSS
2069
- foo\#{".bar"} baz {a: b}
2070
- SCSS
2071
- assert_equal <<CSS, render(<<SCSS)
2072
- foo.bar baz {
2073
- a: b; }
2074
- CSS
2075
- \#{"foo"}.bar baz {a: b}
2076
- SCSS
2077
- end
2078
-
2079
- def test_selector_only_interpolation
2080
- assert_equal <<CSS, render(<<SCSS)
2081
- foo bar {
2082
- a: b; }
2083
- CSS
2084
- \#{"foo" + " bar"} {a: b}
2085
- SCSS
2086
- end
2087
-
2088
- def test_selector_interpolation_before_element_name
2089
- assert_equal <<CSS, render(<<SCSS)
2090
- foo barbaz {
2091
- a: b; }
2092
- CSS
2093
- \#{"foo" + " bar"}baz {a: b}
2094
- SCSS
2095
- end
2096
-
2097
- def test_selector_interpolation_in_string
2098
- assert_equal <<CSS, render(<<SCSS)
2099
- foo[val="bar foo bar baz"] {
2100
- a: b; }
2101
- CSS
2102
- foo[val="bar \#{"foo" + " bar"} baz"] {a: b}
2103
- SCSS
2104
- end
2105
-
2106
- def test_selector_interpolation_in_pseudoclass
2107
- assert_equal <<CSS, render(<<SCSS)
2108
- foo:nth-child(5n) {
2109
- a: b; }
2110
- CSS
2111
- foo:nth-child(\#{5 + "n"}) {a: b}
2112
- SCSS
2113
- end
2114
-
2115
- def test_selector_interpolation_at_class_begininng
2116
- assert_equal <<CSS, render(<<SCSS)
2117
- .zzz {
2118
- a: b; }
2119
- CSS
2120
- $zzz: zzz;
2121
- .\#{$zzz} { a: b; }
2122
- SCSS
2123
- end
2124
-
2125
- def test_selector_interpolation_at_id_begininng
2126
- assert_equal <<CSS, render(<<SCSS)
2127
- #zzz {
2128
- a: b; }
2129
- CSS
2130
- $zzz: zzz;
2131
- #\#{$zzz} { a: b; }
2132
- SCSS
2133
- end
2134
-
2135
- def test_selector_interpolation_at_pseudo_begininng
2136
- assert_equal <<CSS, render(<<SCSS)
2137
- :zzz::zzz {
2138
- a: b; }
2139
- CSS
2140
- $zzz: zzz;
2141
- :\#{$zzz}::\#{$zzz} { a: b; }
2142
- SCSS
2143
- end
2144
-
2145
- def test_selector_interpolation_at_attr_beginning
2146
- assert_equal <<CSS, render(<<SCSS)
2147
- [zzz=foo] {
2148
- a: b; }
2149
- CSS
2150
- $zzz: zzz;
2151
- [\#{$zzz}=foo] { a: b; }
2152
- SCSS
2153
- end
2154
-
2155
- def test_selector_interpolation_at_attr_end
2156
- assert_equal <<CSS, render(<<SCSS)
2157
- [foo=zzz] {
2158
- a: b; }
2159
- CSS
2160
- $zzz: zzz;
2161
- [foo=\#{$zzz}] { a: b; }
2162
- SCSS
2163
- end
2164
-
2165
- def test_selector_interpolation_at_dashes
2166
- assert_equal <<CSS, render(<<SCSS)
2167
- div {
2168
- -foo-a-b-foo: foo; }
2169
- CSS
2170
- $a : a;
2171
- $b : b;
2172
- div { -foo-\#{$a}-\#{$b}-foo: foo }
2173
- SCSS
2174
- end
2175
-
2176
- def test_selector_interpolation_in_reference_combinator
2177
- silence_warnings {assert_equal <<CSS, render(<<SCSS)}
2178
- .foo /a/ .bar /b|c/ .baz {
2179
- a: b; }
2180
- CSS
2181
- $a: a;
2182
- $b: b;
2183
- $c: c;
2184
- .foo /\#{$a}/ .bar /\#{$b}|\#{$c}/ .baz {a: b}
2185
- SCSS
2186
- end
2187
-
2188
- def test_parent_selector_with_parent_and_subject
2189
- silence_warnings {assert_equal <<CSS, render(<<SCSS)}
2190
- bar foo.baz! .bip {
2191
- c: d; }
2192
- CSS
2193
- $subject: "!";
2194
- foo {
2195
- bar &.baz\#{$subject} .bip {c: d}}
2196
- SCSS
2197
- end
2198
-
2199
- def test_basic_prop_name_interpolation
2200
- assert_equal <<CSS, render(<<SCSS)
2201
- foo {
2202
- barbazbang: blip; }
2203
- CSS
2204
- foo {bar\#{"baz" + "bang"}: blip}
2205
- SCSS
2206
- assert_equal <<CSS, render(<<SCSS)
2207
- foo {
2208
- bar3: blip; }
2209
- CSS
2210
- foo {bar\#{1 + 2}: blip}
2211
- SCSS
2212
- end
2213
-
2214
- def test_prop_name_only_interpolation
2215
- assert_equal <<CSS, render(<<SCSS)
2216
- foo {
2217
- bazbang: blip; }
2218
- CSS
2219
- foo {\#{"baz" + "bang"}: blip}
2220
- SCSS
2221
- end
2222
-
2223
- def test_directive_interpolation
2224
- assert_equal <<CSS, render(<<SCSS)
2225
- @foo bar12 qux {
2226
- a: b; }
2227
- CSS
2228
- $baz: 12;
2229
- @foo bar\#{$baz} qux {a: b}
2230
- SCSS
2231
- end
2232
-
2233
- def test_media_interpolation
2234
- assert_equal <<CSS, render(<<SCSS)
2235
- @media bar12 {
2236
- a: b; }
2237
- CSS
2238
- $baz: 12;
2239
- @media bar\#{$baz} {a: b}
2240
- SCSS
2241
- end
2242
-
2243
- def test_script_in_media
2244
- assert_equal <<CSS, render(<<SCSS)
2245
- @media screen and (-webkit-min-device-pixel-ratio: 20), only print {
2246
- a: b; }
2247
- CSS
2248
- $media1: screen;
2249
- $media2: print;
2250
- $var: -webkit-min-device-pixel-ratio;
2251
- $val: 20;
2252
- @media \#{$media1} and ($var: $val), only \#{$media2} {a: b}
2253
- SCSS
2254
-
2255
- assert_equal <<CSS, render(<<SCSS)
2256
- @media screen and (-webkit-min-device-pixel-ratio: 13) {
2257
- a: b; }
2258
- CSS
2259
- $vals: 1 2 3;
2260
- @media screen and (-webkit-min-device-pixel-ratio: 5 + 6 + nth($vals, 2)) {a: b}
2261
- SCSS
2262
- end
2263
-
2264
- def test_media_interpolation_with_reparse
2265
- assert_equal <<CSS, render(<<SCSS)
2266
- @media screen and (max-width: 300px) {
2267
- a: b; }
2268
- @media screen and (max-width: 300px) {
2269
- a: b; }
2270
- @media screen and (max-width: 300px) {
2271
- a: b; }
2272
- @media screen and (max-width: 300px), print and (max-width: 300px) {
2273
- a: b; }
2274
- CSS
2275
- $constraint: "(max-width: 300px)";
2276
- $fragment: "nd \#{$constraint}";
2277
- $comma: "een, pri";
2278
- @media screen and \#{$constraint} {a: b}
2279
- @media screen {
2280
- @media \#{$constraint} {a: b}
2281
- }
2282
- @media screen a\#{$fragment} {a: b}
2283
- @media scr\#{$comma}nt {
2284
- @media \#{$constraint} {a: b}
2285
- }
2286
- SCSS
2287
- end
2288
-
2289
- def test_moz_document_interpolation
2290
- assert_equal <<CSS, render(<<SCSS)
2291
- @-moz-document url(http://sass-lang.com/),
2292
- url-prefix(http://sass-lang.com/docs),
2293
- domain(sass-lang.com),
2294
- domain("sass-lang.com") {
2295
- .foo {
2296
- a: b; } }
2297
- CSS
2298
- $domain: "sass-lang.com";
2299
- @-moz-document url(http://\#{$domain}/),
2300
- url-prefix(http://\#{$domain}/docs),
2301
- domain(\#{$domain}),
2302
- \#{domain($domain)} {
2303
- .foo {a: b}
2304
- }
2305
- SCSS
2306
- end
2307
-
2308
- def test_supports_with_expressions
2309
- assert_equal <<CSS, render(<<SCSS)
2310
- @supports ((feature1: val) and (feature2: val)) or (not (feature23: val4)) {
2311
- foo {
2312
- a: b; } }
2313
- CSS
2314
- $query: "(feature1: val)";
2315
- $feature: feature2;
2316
- $val: val;
2317
- @supports (\#{$query} and ($feature: $val)) or (not ($feature + 3: $val + 4)) {
2318
- foo {a: b}
2319
- }
2320
- SCSS
2321
- end
2322
-
2323
- def test_supports_bubbling
2324
- assert_equal <<CSS, render(<<SCSS)
2325
- @supports (foo: bar) {
2326
- a {
2327
- b: c; }
2328
- @supports (baz: bang) {
2329
- a {
2330
- d: e; } } }
2331
- CSS
2332
- a {
2333
- @supports (foo: bar) {
2334
- b: c;
2335
- @supports (baz: bang) {
2336
- d: e;
2337
- }
2338
- }
2339
- }
2340
- SCSS
2341
- end
2342
-
2343
- def test_random_directive_interpolation
2344
- assert_equal <<CSS, render(<<SCSS)
2345
- @foo url(http://sass-lang.com/),
2346
- domain("sass-lang.com"),
2347
- "foobarbaz",
2348
- foobarbaz {
2349
- .foo {
2350
- a: b; } }
2351
- CSS
2352
- $domain: "sass-lang.com";
2353
- @foo url(http://\#{$domain}/),
2354
- \#{domain($domain)},
2355
- "foo\#{'ba' + 'r'}baz",
2356
- foo\#{'ba' + 'r'}baz {
2357
- .foo {a: b}
2358
- }
2359
- SCSS
2360
- end
2361
-
2362
- def test_color_interpolation_warning_in_selector
2363
- assert_warning(<<WARNING) {assert_equal <<CSS, render(<<SCSS)}
2364
- WARNING on line 1, column 4 of #{filename_for_test(:scss)}:
2365
- You probably don't mean to use the color value `blue' in interpolation here.
2366
- It may end up represented as #0000ff, which will likely produce invalid CSS.
2367
- Always quote color names when using them as strings (for example, "blue").
2368
- If you really want to use the color value here, use `"" + blue'.
2369
- WARNING
2370
- fooblue {
2371
- a: b; }
2372
- CSS
2373
- foo\#{blue} {a: b}
2374
- SCSS
2375
- end
2376
-
2377
- def test_color_interpolation_warning_in_directive
2378
- assert_warning(<<WARNING) {assert_equal <<CSS, render(<<SCSS)}
2379
- WARNING on line 1, column 12 of #{filename_for_test(:scss)}:
2380
- You probably don't mean to use the color value `blue' in interpolation here.
2381
- It may end up represented as #0000ff, which will likely produce invalid CSS.
2382
- Always quote color names when using them as strings (for example, "blue").
2383
- If you really want to use the color value here, use `"" + blue'.
2384
- WARNING
2385
- @fblthp fooblue {
2386
- a: b; }
2387
- CSS
2388
- @fblthp foo\#{blue} {a: b}
2389
- SCSS
2390
- end
2391
-
2392
- def test_color_interpolation_warning_in_property_name
2393
- assert_warning(<<WARNING) {assert_equal <<CSS, render(<<SCSS)}
2394
- WARNING on line 1, column 8 of #{filename_for_test(:scss)}:
2395
- You probably don't mean to use the color value `blue' in interpolation here.
2396
- It may end up represented as #0000ff, which will likely produce invalid CSS.
2397
- Always quote color names when using them as strings (for example, "blue").
2398
- If you really want to use the color value here, use `"" + blue'.
2399
- WARNING
2400
- foo {
2401
- a-blue: b; }
2402
- CSS
2403
- foo {a-\#{blue}: b}
2404
- SCSS
2405
- end
2406
-
2407
- def test_no_color_interpolation_warning_in_property_value
2408
- assert_no_warning {assert_equal <<CSS, render(<<SCSS)}
2409
- foo {
2410
- a: b-blue; }
2411
- CSS
2412
- foo {a: b-\#{blue}}
2413
- SCSS
2414
- end
2415
-
2416
- def test_no_color_interpolation_warning_for_nameless_color
2417
- assert_no_warning {assert_equal <<CSS, render(<<SCSS)}
2418
- foo-#abcdef {
2419
- a: b; }
2420
- CSS
2421
- foo-\#{#abcdef} {a: b}
2422
- SCSS
2423
- end
2424
-
2425
- def test_nested_mixin_def
2426
- assert_equal <<CSS, render(<<SCSS)
2427
- foo {
2428
- a: b; }
2429
- CSS
2430
- foo {
2431
- @mixin bar {a: b}
2432
- @include bar; }
2433
- SCSS
2434
- end
2435
-
2436
- def test_nested_mixin_shadow
2437
- assert_equal <<CSS, render(<<SCSS)
2438
- foo {
2439
- c: d; }
2440
-
2441
- baz {
2442
- a: b; }
2443
- CSS
2444
- @mixin bar {a: b}
2445
-
2446
- foo {
2447
- @mixin bar {c: d}
2448
- @include bar;
2449
- }
2450
-
2451
- baz {@include bar}
2452
- SCSS
2453
- end
2454
-
2455
- def test_nested_function_def
2456
- assert_equal <<CSS, render(<<SCSS)
2457
- foo {
2458
- a: 1; }
2459
-
2460
- bar {
2461
- b: foo(); }
2462
- CSS
2463
- foo {
2464
- @function foo() {@return 1}
2465
- a: foo(); }
2466
-
2467
- bar {b: foo()}
2468
- SCSS
2469
- end
2470
-
2471
- def test_nested_function_shadow
2472
- assert_equal <<CSS, render(<<SCSS)
2473
- foo {
2474
- a: 2; }
2475
-
2476
- baz {
2477
- b: 1; }
2478
- CSS
2479
- @function foo() {@return 1}
2480
-
2481
- foo {
2482
- @function foo() {@return 2}
2483
- a: foo();
2484
- }
2485
-
2486
- baz {b: foo()}
2487
- SCSS
2488
- end
2489
-
2490
- ## @at-root
2491
-
2492
- def test_simple_at_root
2493
- assert_equal <<CSS, render(<<SCSS)
2494
- .bar {
2495
- a: b; }
2496
- CSS
2497
- .foo {
2498
- @at-root {
2499
- .bar {a: b}
2500
- }
2501
- }
2502
- SCSS
2503
- end
2504
-
2505
- def test_at_root_with_selector
2506
- assert_equal <<CSS, render(<<SCSS)
2507
- .bar {
2508
- a: b; }
2509
- CSS
2510
- .foo {
2511
- @at-root .bar {a: b}
2512
- }
2513
- SCSS
2514
- end
2515
-
2516
- def test_at_root_in_mixin
2517
- assert_equal <<CSS, render(<<SCSS)
2518
- .bar {
2519
- a: b; }
2520
- CSS
2521
- @mixin bar {
2522
- @at-root .bar {a: b}
2523
- }
2524
-
2525
- .foo {
2526
- @include bar;
2527
- }
2528
- SCSS
2529
- end
2530
-
2531
- def test_at_root_in_media
2532
- assert_equal <<CSS, render(<<SCSS)
2533
- @media screen {
2534
- .bar {
2535
- a: b; } }
2536
- CSS
2537
- @media screen {
2538
- .foo {
2539
- @at-root .bar {a: b}
2540
- }
2541
- }
2542
- SCSS
2543
- end
2544
-
2545
- def test_at_root_in_bubbled_media
2546
- assert_equal <<CSS, render(<<SCSS)
2547
- @media screen {
2548
- .bar {
2549
- a: b; } }
2550
- CSS
2551
- .foo {
2552
- @media screen {
2553
- @at-root .bar {a: b}
2554
- }
2555
- }
2556
- SCSS
2557
- end
2558
-
2559
- def test_at_root_in_unknown_directive
2560
- assert_equal <<CSS, render(<<SCSS)
2561
- @fblthp {
2562
- .bar {
2563
- a: b; } }
2564
- CSS
2565
- @fblthp {
2566
- .foo {
2567
- @at-root .bar {a: b}
2568
- }
2569
- }
2570
- SCSS
2571
- end
2572
-
2573
- def test_comments_in_at_root
2574
- assert_equal <<CSS, render(<<SCSS)
2575
- /* foo */
2576
- .bar {
2577
- a: b; }
2578
-
2579
- /* baz */
2580
- CSS
2581
- .foo {
2582
- @at-root {
2583
- /* foo */
2584
- .bar {a: b}
2585
- /* baz */
2586
- }
2587
- }
2588
- SCSS
2589
- end
2590
-
2591
- def test_comments_in_at_root_in_media
2592
- assert_equal <<CSS, render(<<SCSS)
2593
- @media screen {
2594
- /* foo */
2595
- .bar {
2596
- a: b; }
2597
-
2598
- /* baz */ }
2599
- CSS
2600
- @media screen {
2601
- .foo {
2602
- @at-root {
2603
- /* foo */
2604
- .bar {a: b}
2605
- /* baz */
2606
- }
2607
- }
2608
- }
2609
- SCSS
2610
- end
2611
-
2612
- def test_comments_in_at_root_in_unknown_directive
2613
- assert_equal <<CSS, render(<<SCSS)
2614
- @fblthp {
2615
- /* foo */
2616
- .bar {
2617
- a: b; }
2618
-
2619
- /* baz */ }
2620
- CSS
2621
- @fblthp {
2622
- .foo {
2623
- @at-root {
2624
- /* foo */
2625
- .bar {a: b}
2626
- /* baz */
2627
- }
2628
- }
2629
- }
2630
- SCSS
2631
- end
2632
-
2633
- def test_media_directive_in_at_root
2634
- assert_equal <<CSS, render(<<SCSS)
2635
- @media screen {
2636
- .bar {
2637
- a: b; } }
2638
- CSS
2639
- .foo {
2640
- @at-root {
2641
- @media screen {.bar {a: b}}
2642
- }
2643
- }
2644
- SCSS
2645
- end
2646
-
2647
- def test_bubbled_media_directive_in_at_root
2648
- assert_equal <<CSS, render(<<SCSS)
2649
- @media screen {
2650
- .bar .baz {
2651
- a: b; } }
2652
- CSS
2653
- .foo {
2654
- @at-root {
2655
- .bar {
2656
- @media screen {.baz {a: b}}
2657
- }
2658
- }
2659
- }
2660
- SCSS
2661
- end
2662
-
2663
- def test_unknown_directive_in_at_root
2664
- assert_equal <<CSS, render(<<SCSS)
2665
- @fblthp {
2666
- .bar {
2667
- a: b; } }
2668
- CSS
2669
- .foo {
2670
- @at-root {
2671
- @fblthp {.bar {a: b}}
2672
- }
2673
- }
2674
- SCSS
2675
- end
2676
-
2677
- def test_at_root_in_at_root
2678
- assert_equal <<CSS, render(<<SCSS)
2679
- .bar {
2680
- a: b; }
2681
- CSS
2682
- .foo {
2683
- @at-root {
2684
- @at-root .bar {a: b}
2685
- }
2686
- }
2687
- SCSS
2688
- end
2689
-
2690
- def test_at_root_with_parent_ref
2691
- assert_equal <<CSS, render(<<SCSS)
2692
- .foo {
2693
- a: b; }
2694
- CSS
2695
- .foo {
2696
- @at-root & {
2697
- a: b;
2698
- }
2699
- }
2700
- SCSS
2701
- end
2702
-
2703
- def test_multi_level_at_root_with_parent_ref
2704
- assert_equal <<CSS, render(<<SCSS)
2705
- .foo .bar {
2706
- a: b; }
2707
- CSS
2708
- .foo {
2709
- @at-root & {
2710
- .bar {
2711
- @at-root & {
2712
- a: b;
2713
- }
2714
- }
2715
- }
2716
- }
2717
- SCSS
2718
- end
2719
-
2720
- def test_multi_level_at_root_with_inner_parent_ref
2721
- assert_equal <<CSS, render(<<SCSS)
2722
- .bar {
2723
- a: b; }
2724
- CSS
2725
- .foo {
2726
- @at-root .bar {
2727
- @at-root & {
2728
- a: b;
2729
- }
2730
- }
2731
- }
2732
- SCSS
2733
- end
2734
-
2735
- def test_at_root_beneath_comma_selector
2736
- assert_equal(<<CSS, render(<<SCSS))
2737
- .baz {
2738
- a: b; }
2739
- CSS
2740
- .foo, .bar {
2741
- @at-root .baz {
2742
- a: b;
2743
- }
2744
- }
2745
- SCSS
2746
- end
2747
-
2748
- def test_at_root_with_parent_ref_and_class
2749
- assert_equal(<<CSS, render(<<SCSS))
2750
- .foo.bar {
2751
- a: b; }
2752
- CSS
2753
- .foo {
2754
- @at-root &.bar {
2755
- a: b;
2756
- }
2757
- }
2758
- SCSS
2759
- end
2760
-
2761
- def test_at_root_beneath_comma_selector_with_parent_ref
2762
- assert_equal(<<CSS, render(<<SCSS))
2763
- .foo.baz, .bar.baz {
2764
- a: b; }
2765
- CSS
2766
- .foo, .bar {
2767
- @at-root &.baz {
2768
- a: b;
2769
- }
2770
- }
2771
- SCSS
2772
- end
2773
-
2774
- ## @at-root (...)
2775
-
2776
- def test_at_root_without_media
2777
- assert_equal <<CSS, render(<<SCSS)
2778
- .foo .bar {
2779
- a: b; }
2780
- CSS
2781
- .foo {
2782
- @media screen {
2783
- @at-root (without: media) {
2784
- .bar {
2785
- a: b;
2786
- }
2787
- }
2788
- }
2789
- }
2790
- SCSS
2791
- end
2792
-
2793
- def test_at_root_without_supports
2794
- assert_equal <<CSS, render(<<SCSS)
2795
- .foo .bar {
2796
- a: b; }
2797
- CSS
2798
- .foo {
2799
- @supports (foo: bar) {
2800
- @at-root (without: supports) {
2801
- .bar {
2802
- a: b;
2803
- }
2804
- }
2805
- }
2806
- }
2807
- SCSS
2808
- end
2809
-
2810
- def test_at_root_without_rule
2811
- assert_equal <<CSS, render(<<SCSS)
2812
- @media screen {
2813
- .bar {
2814
- a: b; } }
2815
- CSS
2816
- .foo {
2817
- @media screen {
2818
- @at-root (without: rule) {
2819
- .bar {
2820
- a: b;
2821
- }
2822
- }
2823
- }
2824
- }
2825
- SCSS
2826
- end
2827
-
2828
- def test_at_root_without_unknown_directive
2829
- assert_equal <<CSS, render(<<SCSS)
2830
- @fblthp {}
2831
- .foo .bar {
2832
- a: b; }
2833
- CSS
2834
- .foo {
2835
- @fblthp {
2836
- @at-root (without: fblthp) {
2837
- .bar {
2838
- a: b;
2839
- }
2840
- }
2841
- }
2842
- }
2843
- SCSS
2844
- end
2845
-
2846
- def test_at_root_without_multiple
2847
- assert_equal <<CSS, render(<<SCSS)
2848
- @supports (foo: bar) {
2849
- .bar {
2850
- a: b; } }
2851
- CSS
2852
- .foo {
2853
- @media screen {
2854
- @supports (foo: bar) {
2855
- @at-root (without: media rule) {
2856
- .bar {
2857
- a: b;
2858
- }
2859
- }
2860
- }
2861
- }
2862
- }
2863
- SCSS
2864
- end
2865
-
2866
- def test_at_root_without_all
2867
- assert_equal <<CSS, render(<<SCSS)
2868
- @supports (foo: bar) {
2869
- @fblthp {} }
2870
- .bar {
2871
- a: b; }
2872
- CSS
2873
- .foo {
2874
- @supports (foo: bar) {
2875
- @fblthp {
2876
- @at-root (without: all) {
2877
- .bar {
2878
- a: b;
2879
- }
2880
- }
2881
- }
2882
- }
2883
- }
2884
- SCSS
2885
- end
2886
-
2887
- def test_at_root_with_media
2888
- assert_equal <<CSS, render(<<SCSS)
2889
- @media screen {
2890
- @fblthp {}
2891
- .bar {
2892
- a: b; } }
2893
- CSS
2894
- .foo {
2895
- @media screen {
2896
- @fblthp {
2897
- @supports (foo: bar) {
2898
- @at-root (with: media) {
2899
- .bar {
2900
- a: b;
2901
- }
2902
- }
2903
- }
2904
- }
2905
- }
2906
- }
2907
- SCSS
2908
- end
2909
-
2910
- def test_at_root_with_rule
2911
- assert_equal <<CSS, render(<<SCSS)
2912
- @media screen {
2913
- @fblthp {} }
2914
- .foo .bar {
2915
- a: b; }
2916
- CSS
2917
- .foo {
2918
- @media screen {
2919
- @fblthp {
2920
- @supports (foo: bar) {
2921
- @at-root (with: rule) {
2922
- .bar {
2923
- a: b;
2924
- }
2925
- }
2926
- }
2927
- }
2928
- }
2929
- }
2930
- SCSS
2931
- end
2932
-
2933
- def test_at_root_with_supports
2934
- assert_equal <<CSS, render(<<SCSS)
2935
- @media screen {
2936
- @fblthp {} }
2937
- @supports (foo: bar) {
2938
- .bar {
2939
- a: b; } }
2940
- CSS
2941
- .foo {
2942
- @media screen {
2943
- @fblthp {
2944
- @supports (foo: bar) {
2945
- @at-root (with: supports) {
2946
- .bar {
2947
- a: b;
2948
- }
2949
- }
2950
- }
2951
- }
2952
- }
2953
- }
2954
- SCSS
2955
- end
2956
-
2957
- def test_at_root_with_unknown_directive
2958
- assert_equal <<CSS, render(<<SCSS)
2959
- @media screen {
2960
- @fblthp {} }
2961
- @fblthp {
2962
- .bar {
2963
- a: b; } }
2964
- CSS
2965
- .foo {
2966
- @media screen {
2967
- @fblthp {
2968
- @supports (foo: bar) {
2969
- @at-root (with: fblthp) {
2970
- .bar {
2971
- a: b;
2972
- }
2973
- }
2974
- }
2975
- }
2976
- }
2977
- }
2978
- SCSS
2979
- end
2980
-
2981
- def test_at_root_with_multiple
2982
- assert_equal <<CSS, render(<<SCSS)
2983
- @media screen {
2984
- @fblthp {}
2985
- .foo .bar {
2986
- a: b; } }
2987
- CSS
2988
- .foo {
2989
- @media screen {
2990
- @fblthp {
2991
- @supports (foo: bar) {
2992
- @at-root (with: media rule) {
2993
- .bar {
2994
- a: b;
2995
- }
2996
- }
2997
- }
2998
- }
2999
- }
3000
- }
3001
- SCSS
3002
- end
3003
-
3004
- def test_at_root_with_all
3005
- assert_equal <<CSS, render(<<SCSS)
3006
- @media screen {
3007
- @fblthp {
3008
- @supports (foo: bar) {
3009
- .foo .bar {
3010
- a: b; } } } }
3011
- CSS
3012
- .foo {
3013
- @media screen {
3014
- @fblthp {
3015
- @supports (foo: bar) {
3016
- @at-root (with: all) {
3017
- .bar {
3018
- a: b;
3019
- }
3020
- }
3021
- }
3022
- }
3023
- }
3024
- }
3025
- SCSS
3026
- end
3027
-
3028
- def test_at_root_dynamic_values
3029
- assert_equal <<CSS, render(<<SCSS)
3030
- @media screen {
3031
- .bar {
3032
- a: b; } }
3033
- CSS
3034
- $key: with;
3035
- $value: media;
3036
- .foo {
3037
- @media screen {
3038
- @at-root ($key: $value) {
3039
- .bar {
3040
- a: b;
3041
- }
3042
- }
3043
- }
3044
- }
3045
- SCSS
3046
- end
3047
-
3048
- def test_at_root_interpolated_query
3049
- assert_equal <<CSS, render(<<SCSS)
3050
- @media screen {
3051
- .bar {
3052
- a: b; } }
3053
- CSS
3054
- .foo {
3055
- @media screen {
3056
- @at-root (\#{"with: media"}) {
3057
- .bar {
3058
- a: b;
3059
- }
3060
- }
3061
- }
3062
- }
3063
- SCSS
3064
- end
3065
-
3066
- def test_at_root_plus_extend
3067
- assert_equal <<CSS, render(<<SCSS)
3068
- .foo .bar {
3069
- a: b; }
3070
- CSS
3071
- %base {
3072
- a: b;
3073
- }
3074
-
3075
- .foo {
3076
- @media screen {
3077
- @at-root (without: media) {
3078
- .bar {
3079
- @extend %base;
3080
- }
3081
- }
3082
- }
3083
- }
3084
- SCSS
3085
- end
3086
-
3087
- def test_at_root_without_keyframes_in_keyframe_rule
3088
- assert_equal <<CSS, render(<<SCSS)
3089
- .foo {
3090
- a: b; }
3091
- CSS
3092
- @keyframes identifier {
3093
- 0% {
3094
- @at-root (without: keyframes) {
3095
- .foo {a: b}
3096
- }
3097
- }
3098
- }
3099
- SCSS
3100
- end
3101
-
3102
- def test_at_root_without_rule_in_keyframe_rule
3103
- assert_equal <<CSS, render(<<SCSS)
3104
- @keyframes identifier {
3105
- 0% {
3106
- a: b; } }
3107
- CSS
3108
- @keyframes identifier {
3109
- 0% {
3110
- @at-root (without: rule) {a: b}
3111
- }
3112
- }
3113
- SCSS
3114
- end
3115
-
3116
- ## Selector Script
3117
-
3118
- def test_selector_script
3119
- assert_equal(<<CSS, render(<<SCSS))
3120
- .foo .bar {
3121
- content: ".foo .bar"; }
3122
- CSS
3123
- .foo .bar {
3124
- content: "\#{&}";
3125
- }
3126
- SCSS
3127
- end
3128
-
3129
- def test_nested_selector_script
3130
- assert_equal(<<CSS, render(<<SCSS))
3131
- .foo .bar {
3132
- content: ".foo .bar"; }
3133
- CSS
3134
- .foo {
3135
- .bar {
3136
- content: "\#{&}";
3137
- }
3138
- }
3139
- SCSS
3140
- end
3141
-
3142
- def test_nested_selector_script_with_outer_comma_selector
3143
- assert_equal(<<CSS, render(<<SCSS))
3144
- .foo .baz, .bar .baz {
3145
- content: ".foo .baz, .bar .baz"; }
3146
- CSS
3147
- .foo, .bar {
3148
- .baz {
3149
- content: "\#{&}";
3150
- }
3151
- }
3152
- SCSS
3153
- end
3154
-
3155
- def test_nested_selector_script_with_inner_comma_selector
3156
- assert_equal(<<CSS, render(<<SCSS))
3157
- .foo .bar, .foo .baz {
3158
- content: ".foo .bar, .foo .baz"; }
3159
- CSS
3160
- .foo {
3161
- .bar, .baz {
3162
- content: "\#{&}";
3163
- }
3164
- }
3165
- SCSS
3166
- end
3167
-
3168
- def test_selector_script_through_mixin
3169
- assert_equal(<<CSS, render(<<SCSS))
3170
- .foo {
3171
- content: ".foo"; }
3172
- CSS
3173
- @mixin mixin {
3174
- content: "\#{&}";
3175
- }
3176
-
3177
- .foo {
3178
- @include mixin;
3179
- }
3180
- SCSS
3181
- end
3182
-
3183
- def test_selector_script_through_content
3184
- assert_equal(<<CSS, render(<<SCSS))
3185
- .foo {
3186
- content: ".foo"; }
3187
- CSS
3188
- @mixin mixin {
3189
- @content;
3190
- }
3191
-
3192
- .foo {
3193
- @include mixin {
3194
- content: "\#{&}";
3195
- }
3196
- }
3197
- SCSS
3198
- end
3199
-
3200
- def test_selector_script_through_function
3201
- assert_equal(<<CSS, render(<<SCSS))
3202
- .foo {
3203
- content: ".foo"; }
3204
- CSS
3205
- @function fn() {
3206
- @return "\#{&}";
3207
- }
3208
-
3209
- .foo {
3210
- content: fn();
3211
- }
3212
- SCSS
3213
- end
3214
-
3215
- def test_selector_script_through_media
3216
- assert_equal(<<CSS, render(<<SCSS))
3217
- .foo {
3218
- content: "outer"; }
3219
- @media screen {
3220
- .foo .bar {
3221
- content: ".foo .bar"; } }
3222
- CSS
3223
- .foo {
3224
- content: "outer";
3225
- @media screen {
3226
- .bar {
3227
- content: "\#{&}";
3228
- }
3229
- }
3230
- }
3231
- SCSS
3232
- end
3233
-
3234
- def test_selector_script_save_and_reuse
3235
- assert_equal(<<CSS, render(<<SCSS))
3236
- .bar {
3237
- content: ".foo"; }
3238
- CSS
3239
- $var: null;
3240
- .foo {
3241
- $var: & !global;
3242
- }
3243
-
3244
- .bar {
3245
- content: "\#{$var}";
3246
- }
3247
- SCSS
3248
- end
3249
-
3250
- def test_selector_script_with_at_root
3251
- assert_equal(<<CSS, render(<<SCSS))
3252
- .foo-bar {
3253
- a: b; }
3254
- CSS
3255
- .foo {
3256
- @at-root \#{&}-bar {
3257
- a: b;
3258
- }
3259
- }
3260
- SCSS
3261
- end
3262
-
3263
- def test_multi_level_at_root_with_inner_selector_script
3264
- assert_equal <<CSS, render(<<SCSS)
3265
- .bar {
3266
- a: b; }
3267
- CSS
3268
- .foo {
3269
- @at-root .bar {
3270
- @at-root \#{&} {
3271
- a: b;
3272
- }
3273
- }
3274
- }
3275
- SCSS
3276
- end
3277
-
3278
- def test_at_root_with_at_root_through_mixin
3279
- assert_equal(<<CSS, render(<<SCSS))
3280
- .bar-baz {
3281
- a: b; }
3282
- CSS
3283
- @mixin foo {
3284
- .bar {
3285
- @at-root \#{&}-baz {
3286
- a: b;
3287
- }
3288
- }
3289
- }
3290
-
3291
- @include foo;
3292
- SCSS
3293
- end
3294
-
3295
- # See https://github.com/sass/sass/issues/1294
3296
- def test_extend_top_leveled_by_at_root
3297
- render(<<SCSS)
3298
- .span-10 {
3299
- @at-root (without: all) {
3300
- @extend %column;
3301
- }
3302
- }
3303
- SCSS
3304
-
3305
- assert(false, "Expected syntax error")
3306
- rescue Sass::SyntaxError => e
3307
- assert_equal "Extend directives may only be used within rules.", e.message
3308
- assert_equal 3, e.sass_line
3309
- end
3310
-
3311
- def test_at_root_doesnt_always_break_blocks
3312
- assert_equal <<CSS, render(<<SCSS)
3313
- .foo {
3314
- a: b; }
3315
-
3316
- @media screen {
3317
- .foo {
3318
- c: d; }
3319
- .bar {
3320
- e: f; } }
3321
- CSS
3322
- %base {
3323
- a: b;
3324
- }
3325
-
3326
- @media screen {
3327
- .foo {
3328
- c: d;
3329
- @at-root (without: media) {
3330
- @extend %base;
3331
- }
3332
- }
3333
-
3334
- .bar {e: f}
3335
- }
3336
- SCSS
3337
- end
3338
-
3339
- ## Errors
3340
-
3341
- def test_keyframes_rule_outside_of_keyframes
3342
- render <<SCSS
3343
- 0% {
3344
- top: 0; }
3345
- SCSS
3346
- assert(false, "Expected syntax error")
3347
- rescue Sass::SyntaxError => e
3348
- assert_equal 'Invalid CSS after "": expected selector, was "0%"', e.message
3349
- assert_equal 1, e.sass_line
3350
- end
3351
-
3352
- def test_selector_rule_in_keyframes
3353
- render <<SCSS
3354
- @keyframes identifier {
3355
- .foo {
3356
- top: 0; } }
3357
- SCSS
3358
- assert(false, "Expected syntax error")
3359
- rescue Sass::SyntaxError => e
3360
- assert_equal 'Invalid CSS after "": expected keyframes selector (e.g. 10%), was ".foo"', e.message
3361
- assert_equal 2, e.sass_line
3362
- end
3363
-
3364
- def test_nested_mixin_def_is_scoped
3365
- render <<SCSS
3366
- foo {
3367
- @mixin bar {a: b}}
3368
- bar {@include bar}
3369
- SCSS
3370
- assert(false, "Expected syntax error")
3371
- rescue Sass::SyntaxError => e
3372
- assert_equal "Undefined mixin 'bar'.", e.message
3373
- assert_equal 3, e.sass_line
3374
- end
3375
-
3376
- def test_rules_beneath_properties
3377
- render <<SCSS
3378
- foo {
3379
- bar: {
3380
- baz {
3381
- bang: bop }}}
3382
- SCSS
3383
- assert(false, "Expected syntax error")
3384
- rescue Sass::SyntaxError => e
3385
- assert_equal 'Illegal nesting: Only properties may be nested beneath properties.', e.message
3386
- assert_equal 3, e.sass_line
3387
- end
3388
-
3389
- def test_uses_property_exception_with_star_hack
3390
- render <<SCSS
3391
- foo {
3392
- *bar:baz [fail]; }
3393
- SCSS
3394
- assert(false, "Expected syntax error")
3395
- rescue Sass::SyntaxError => e
3396
- assert_equal 'Invalid CSS after " *bar:baz ": expected ";", was "[fail]; }"', e.message
3397
- assert_equal 2, e.sass_line
3398
- end
3399
-
3400
- def test_uses_property_exception_with_colon_hack
3401
- render <<SCSS
3402
- foo {
3403
- :bar:baz [fail]; }
3404
- SCSS
3405
- assert(false, "Expected syntax error")
3406
- rescue Sass::SyntaxError => e
3407
- assert_equal 'Invalid CSS after " :bar:baz ": expected ";", was "[fail]; }"', e.message
3408
- assert_equal 2, e.sass_line
3409
- end
3410
-
3411
- def test_uses_rule_exception_with_dot_hack
3412
- render <<SCSS
3413
- foo {
3414
- .bar:baz <fail>; }
3415
- SCSS
3416
- assert(false, "Expected syntax error")
3417
- rescue Sass::SyntaxError => e
3418
- assert_equal 'Invalid CSS after " .bar:baz <fail>": expected expression (e.g. 1px, bold), was "; }"', e.message
3419
- assert_equal 2, e.sass_line
3420
- end
3421
-
3422
- def test_uses_property_exception_with_space_after_name
3423
- render <<SCSS
3424
- foo {
3425
- bar: baz [fail]; }
3426
- SCSS
3427
- assert(false, "Expected syntax error")
3428
- rescue Sass::SyntaxError => e
3429
- assert_equal 'Invalid CSS after " bar: baz ": expected ";", was "[fail]; }"', e.message
3430
- assert_equal 2, e.sass_line
3431
- end
3432
-
3433
- def test_uses_property_exception_with_non_identifier_after_name
3434
- render <<SCSS
3435
- foo {
3436
- bar:1px [fail]; }
3437
- SCSS
3438
- assert(false, "Expected syntax error")
3439
- rescue Sass::SyntaxError => e
3440
- assert_equal 'Invalid CSS after " bar:1px ": expected ";", was "[fail]; }"', e.message
3441
- assert_equal 2, e.sass_line
3442
- end
3443
-
3444
- def test_uses_property_exception_when_followed_by_open_bracket
3445
- render <<SCSS
3446
- foo {
3447
- bar:{baz: .fail} }
3448
- SCSS
3449
- assert(false, "Expected syntax error")
3450
- rescue Sass::SyntaxError => e
3451
- assert_equal 'Invalid CSS after " bar:{baz: ": expected expression (e.g. 1px, bold), was ".fail} }"', e.message
3452
- assert_equal 2, e.sass_line
3453
- end
3454
-
3455
- def test_script_error
3456
- render <<SCSS
3457
- foo {
3458
- bar: "baz" * * }
3459
- SCSS
3460
- assert(false, "Expected syntax error")
3461
- rescue Sass::SyntaxError => e
3462
- assert_equal 'Invalid CSS after " bar: "baz" * ": expected expression (e.g. 1px, bold), was "* }"', e.message
3463
- assert_equal 2, e.sass_line
3464
- end
3465
-
3466
- def test_multiline_script_syntax_error
3467
- render <<SCSS
3468
- foo {
3469
- bar:
3470
- "baz" * * }
3471
- SCSS
3472
- assert(false, "Expected syntax error")
3473
- rescue Sass::SyntaxError => e
3474
- assert_equal 'Invalid CSS after " "baz" * ": expected expression (e.g. 1px, bold), was "* }"', e.message
3475
- assert_equal 3, e.sass_line
3476
- end
3477
-
3478
- def test_multiline_script_runtime_error
3479
- render <<SCSS
3480
- foo {
3481
- bar: "baz" +
3482
- "bar" +
3483
- $bang }
3484
- SCSS
3485
- assert(false, "Expected syntax error")
3486
- rescue Sass::SyntaxError => e
3487
- assert_equal "Undefined variable: \"$bang\".", e.message
3488
- assert_equal 4, e.sass_line
3489
- end
3490
-
3491
- def test_post_multiline_script_runtime_error
3492
- render <<SCSS
3493
- foo {
3494
- bar: "baz" +
3495
- "bar" +
3496
- "baz";
3497
- bip: $bop; }
3498
- SCSS
3499
- assert(false, "Expected syntax error")
3500
- rescue Sass::SyntaxError => e
3501
- assert_equal "Undefined variable: \"$bop\".", e.message
3502
- assert_equal 5, e.sass_line
3503
- end
3504
-
3505
- def test_multiline_property_runtime_error
3506
- render <<SCSS
3507
- foo {
3508
- bar: baz
3509
- bar
3510
- \#{$bang} }
3511
- SCSS
3512
- assert(false, "Expected syntax error")
3513
- rescue Sass::SyntaxError => e
3514
- assert_equal "Undefined variable: \"$bang\".", e.message
3515
- assert_equal 4, e.sass_line
3516
- end
3517
-
3518
- def test_post_resolution_selector_error
3519
- render "\n\nfoo \#{\") bar\"} {a: b}"
3520
- assert(false, "Expected syntax error")
3521
- rescue Sass::SyntaxError => e
3522
- assert_equal 'Invalid CSS after "foo ": expected selector, was ") bar"', e.message
3523
- assert_equal 3, e.sass_line
3524
- end
3525
-
3526
- def test_parent_in_mid_selector_error
3527
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render <<SCSS}
3528
- Invalid CSS after ".foo": expected "{", was "&.bar"
3529
-
3530
- "&.bar" may only be used at the beginning of a compound selector.
3531
- MESSAGE
3532
- flim {
3533
- .foo&.bar {a: b}
3534
- }
3535
- SCSS
3536
- end
3537
-
3538
- def test_parent_after_selector_error
3539
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render <<SCSS}
3540
- Invalid CSS after ".foo.bar": expected "{", was "&"
3541
-
3542
- "&" may only be used at the beginning of a compound selector.
3543
- MESSAGE
3544
- flim {
3545
- .foo.bar& {a: b}
3546
- }
3547
- SCSS
3548
- end
3549
-
3550
- def test_double_parent_selector_error
3551
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render <<SCSS}
3552
- Invalid CSS after "&": expected "{", was "&"
3553
-
3554
- "&" may only be used at the beginning of a compound selector.
3555
- MESSAGE
3556
- flim {
3557
- && {a: b}
3558
- }
3559
- SCSS
3560
- end
3561
-
3562
- def test_no_lonely_else
3563
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render <<SCSS}
3564
- Invalid CSS: @else must come after @if
3565
- MESSAGE
3566
- @else {foo: bar}
3567
- SCSS
3568
- end
3569
-
3570
- def test_failed_parent_selector_with_suffix
3571
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
3572
- Invalid parent selector for "&-bar": "*"
3573
- MESSAGE
3574
- * {
3575
- &-bar {a: b}
3576
- }
3577
- SCSS
3578
-
3579
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
3580
- Invalid parent selector for "&-bar": "[foo=bar]"
3581
- MESSAGE
3582
- [foo=bar] {
3583
- &-bar {a: b}
3584
- }
3585
- SCSS
3586
-
3587
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
3588
- Invalid parent selector for "&-bar": "::nth-child(2n+1)"
3589
- MESSAGE
3590
- ::nth-child(2n+1) {
3591
- &-bar {a: b}
3592
- }
3593
- SCSS
3594
-
3595
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
3596
- Invalid parent selector for "&-bar": ":not(.foo)"
3597
- MESSAGE
3598
- :not(.foo) {
3599
- &-bar {a: b}
3600
- }
3601
- SCSS
3602
-
3603
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
3604
- Invalid parent selector for "&-bar": ".foo +"
3605
- MESSAGE
3606
- .foo + {
3607
- &-bar {a: b}
3608
- }
3609
- SCSS
3610
- end
3611
-
3612
- def test_empty_media_query_error
3613
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render(<<SCSS)}
3614
- Invalid CSS after "": expected media query list, was ""
3615
- MESSAGE
3616
- @media \#{""} {
3617
- foo {a: b}
3618
- }
3619
- SCSS
3620
- end
3621
-
3622
- def test_newline_in_property_value
3623
- assert_equal(<<CSS, render(<<SCSS))
3624
- .foo {
3625
- bar: "bazbang"; }
3626
- CSS
3627
- .foo {
3628
- $var: "baz\\
3629
- bang";
3630
- bar: $var;
3631
- }
3632
- SCSS
3633
- end
3634
-
3635
- def test_raw_newline_warning
3636
- assert_warning(<<MESSAGE.rstrip) {assert_equal(<<CSS, render(<<SCSS))}
3637
- DEPRECATION WARNING on line 2, column 9 of #{filename_for_test :scss}:
3638
- Unescaped multiline strings are deprecated and will be removed in a future version of Sass.
3639
- To include a newline in a string, use "\\a" or "\\a " as in CSS.
3640
- MESSAGE
3641
- .foo {
3642
- bar: "baz\\a bang"; }
3643
- CSS
3644
- .foo {
3645
- $var: "baz
3646
- bang";
3647
- bar: $var;
3648
- }
3649
- SCSS
3650
- end
3651
-
3652
- # Regression
3653
-
3654
- # Regression test for #2031.
3655
- def test_no_interpolation_warning_in_nested_selector
3656
- assert_no_warning {assert_equal(<<CSS, render(<<SCSS))}
3657
- z a:b(n+1) {
3658
- x: y; }
3659
- CSS
3660
- z {
3661
- a:b(n+\#{1}) {
3662
- x: y;
3663
- }
3664
- }
3665
- SCSS
3666
- end
3667
-
3668
- # Ensures that the fix for #2031 doesn't hide legitimate warnings.
3669
- def test_interpolation_warning_in_selector_like_property
3670
- assert_warning(<<WARNING) {assert_equal(<<CSS, render(<<SCSS))}
3671
- DEPRECATION WARNING on line 2 of #{filename_for_test :scss}:
3672
- \#{} interpolation near operators will be simplified in a future version of Sass.
3673
- To preserve the current behavior, use quotes:
3674
-
3675
- unquote("n+1")
3676
-
3677
- You can use the sass-convert command to automatically fix most cases.
3678
- WARNING
3679
- z {
3680
- a: b(n+1); }
3681
- CSS
3682
- z {
3683
- a:b(n+\#{1});
3684
- }
3685
- SCSS
3686
- end
3687
-
3688
- def test_escape_in_selector
3689
- assert_equal(<<CSS, render(".\\!foo {a: b}"))
3690
- .\\!foo {
3691
- a: b; }
3692
- CSS
3693
- end
3694
-
3695
- def test_for_directive_with_float_bounds
3696
- assert_equal(<<CSS, render(<<SCSS))
3697
- .a {
3698
- b: 0;
3699
- b: 1;
3700
- b: 2;
3701
- b: 3;
3702
- b: 4;
3703
- b: 5; }
3704
- CSS
3705
- .a {
3706
- @for $i from 0.0 through 5.0 {b: $i}
3707
- }
3708
- SCSS
3709
-
3710
- assert_raise_message(Sass::SyntaxError, "0.5 is not an integer.") {render(<<SCSS)}
3711
- .a {
3712
- @for $i from 0.5 through 5.0 {b: $i}
3713
- }
3714
- SCSS
3715
-
3716
- assert_raise_message(Sass::SyntaxError, "5.5 is not an integer.") {render(<<SCSS)}
3717
- .a {
3718
- @for $i from 0.0 through 5.5 {b: $i}
3719
- }
3720
- SCSS
3721
- end
3722
-
3723
- def test_parent_selector_in_function_pseudo_selector
3724
- assert_equal <<CSS, render(<<SCSS)
3725
- .bar:not(.foo) {
3726
- a: b; }
3727
-
3728
- .qux:nth-child(2n of .baz .bang) {
3729
- c: d; }
3730
- CSS
3731
- .foo {
3732
- .bar:not(&) {a: b}
3733
- }
3734
-
3735
- .baz .bang {
3736
- .qux:nth-child(2n of &) {c: d}
3737
- }
3738
- SCSS
3739
- end
3740
-
3741
- def test_parent_selector_in_and_out_of_function_pseudo_selector
3742
- # Regression test for https://github.com/sass/sass/issues/1464#issuecomment-70352288
3743
- assert_equal(<<CSS, render(<<SCSS))
3744
- .a:not(.a-b) {
3745
- x: y; }
3746
- CSS
3747
- .a {
3748
- &:not(&-b) {
3749
- x: y;
3750
- }
3751
- }
3752
- SCSS
3753
-
3754
- assert_equal(<<CSS, render(<<SCSS))
3755
- .a:nth-child(2n of .a-b) {
3756
- x: y; }
3757
- CSS
3758
- .a {
3759
- &:nth-child(2n of &-b) {
3760
- x: y;
3761
- }
3762
- }
3763
- SCSS
3764
- end
3765
-
3766
- def test_attribute_selector_in_selector_pseudoclass
3767
- # Even though this is plain CSS, it only failed when given to the SCSS
3768
- # parser.
3769
- assert_equal(<<CSS, render(<<SCSS))
3770
- [href^='http://'] {
3771
- color: red; }
3772
- CSS
3773
- [href^='http://'] {
3774
- color: red;
3775
- }
3776
- SCSS
3777
- end
3778
-
3779
- def test_top_level_unknown_directive_in_at_root
3780
- assert_equal(<<CSS, render(<<SCSS))
3781
- @fblthp {
3782
- a: b; }
3783
- CSS
3784
- @at-root {
3785
- @fblthp {a: b}
3786
- }
3787
- SCSS
3788
- end
3789
-
3790
- def test_parent_ref_with_newline
3791
- assert_equal(<<CSS, render(<<SCSS))
3792
- a.c
3793
- , b.c {
3794
- x: y; }
3795
- CSS
3796
- a
3797
- , b {&.c {x: y}}
3798
- SCSS
3799
- end
3800
-
3801
- def test_parent_ref_in_nested_at_root
3802
- assert_equal(<<CSS, render(<<SCSS))
3803
- #test {
3804
- border: 0; }
3805
- #test:hover {
3806
- display: none; }
3807
- CSS
3808
- a {
3809
- @at-root #test {
3810
- border: 0;
3811
- &:hover{
3812
- display: none;
3813
- }
3814
- }
3815
- }
3816
- SCSS
3817
- end
3818
-
3819
- def test_loud_comment_in_compressed_mode
3820
- assert_equal(<<CSS, render(<<SCSS))
3821
- /*! foo */
3822
- CSS
3823
- /*! foo */
3824
- SCSS
3825
- end
3826
-
3827
- def test_parsing_decimals_followed_by_comments_doesnt_take_forever
3828
- assert_equal(<<CSS, render(<<SCSS))
3829
- .foo {
3830
- padding: 4.21053% 4.21053% 5.63158%; }
3831
- CSS
3832
- .foo {
3833
- padding: 4.21052631578947% 4.21052631578947% 5.631578947368421% /**/
3834
- }
3835
- SCSS
3836
- end
3837
-
3838
- def test_parsing_many_numbers_doesnt_take_forever
3839
- values = ["80% 90%"] * 1000
3840
- assert_equal(<<CSS, render(<<SCSS))
3841
- .foo {
3842
- padding: #{values.join(', ')}; }
3843
- CSS
3844
- .foo {
3845
- padding: #{values.join(', ')};
3846
- }
3847
- SCSS
3848
- end
3849
-
3850
- def test_import_comments_in_imports
3851
- assert_equal(<<CSS, render(<<SCSS))
3852
- @import url(foo.css);
3853
- @import url(bar.css);
3854
- @import url(baz.css);
3855
- CSS
3856
- @import "foo.css", // this is a comment
3857
- "bar.css", /* this is another comment */
3858
- "baz.css"; // this is a third comment
3859
- SCSS
3860
- end
3861
-
3862
- def test_reference_combinator_with_parent_ref
3863
- silence_warnings {assert_equal <<CSS, render(<<SCSS)}
3864
- a /foo/ b {
3865
- c: d; }
3866
- CSS
3867
- a {& /foo/ b {c: d}}
3868
- SCSS
3869
- end
3870
-
3871
- def test_reference_combinator_warning
3872
- assert_warning(<<WARNING) {assert_equal <<CSS, render(<<SCSS)}
3873
- DEPRECATION WARNING on line 1, column 8 of test_reference_combinator_warning_inline.scss:
3874
- The reference combinator /foo/ is deprecated and will be removed in a future release.
3875
- WARNING
3876
- a /foo/ b {
3877
- c: d; }
3878
- CSS
3879
- a {& /foo/ b {c: d}}
3880
- SCSS
3881
- end
3882
-
3883
- def test_newline_selector_rendered_multiple_times
3884
- assert_equal <<CSS, render(<<SCSS)
3885
- form input,
3886
- form select {
3887
- color: white; }
3888
-
3889
- form input,
3890
- form select {
3891
- color: white; }
3892
- CSS
3893
- @for $i from 1 through 2 {
3894
- form {
3895
- input,
3896
- select {
3897
- color: white;
3898
- }
3899
- }
3900
- }
3901
- SCSS
3902
- end
3903
-
3904
- def test_prop_name_interpolation_after_hyphen
3905
- assert_equal <<CSS, render(<<SCSS)
3906
- a {
3907
- -foo-bar: b; }
3908
- CSS
3909
- a { -\#{"foo"}-bar: b; }
3910
- SCSS
3911
- end
3912
-
3913
- def test_star_plus_and_parent
3914
- assert_equal <<CSS, render(<<SCSS)
3915
- * + html foo {
3916
- a: b; }
3917
- CSS
3918
- foo {*+html & {a: b}}
3919
- SCSS
3920
- end
3921
-
3922
- def test_weird_added_space
3923
- assert_equal <<CSS, render(<<SCSS)
3924
- foo {
3925
- bar: -moz-bip; }
3926
- CSS
3927
- $value : bip;
3928
-
3929
- foo {
3930
- bar: -moz-\#{$value};
3931
- }
3932
- SCSS
3933
- end
3934
-
3935
- def test_interpolation_with_bracket_on_next_line
3936
- assert_equal <<CSS, render(<<SCSS)
3937
- a.foo b {
3938
- color: red; }
3939
- CSS
3940
- a.\#{"foo"} b
3941
- {color: red}
3942
- SCSS
3943
- end
3944
-
3945
- def test_extra_comma_in_mixin_arglist_error
3946
- assert_raise_message(Sass::SyntaxError, <<MESSAGE.rstrip) {render <<SCSS}
3947
- Invalid CSS after "...clude foo(bar, ": expected mixin argument, was ");"
3948
- MESSAGE
3949
- @mixin foo($a1, $a2) {
3950
- baz: $a1 $a2;
3951
- }
3952
-
3953
- .bar {
3954
- @include foo(bar, );
3955
- }
3956
- SCSS
3957
- end
3958
-
3959
- def test_interpolation
3960
- assert_equal <<CSS, render(<<SCSS)
3961
- ul li#foo a span.label {
3962
- foo: bar; }
3963
- CSS
3964
- $bar : "#foo";
3965
- ul li\#{$bar} a span.label { foo: bar; }
3966
- SCSS
3967
- end
3968
-
3969
- def test_mixin_with_keyword_args
3970
- assert_equal <<CSS, render(<<SCSS)
3971
- .mixed {
3972
- required: foo;
3973
- arg1: default-val1;
3974
- arg2: non-default-val2; }
3975
- CSS
3976
- @mixin a-mixin($required, $arg1: default-val1, $arg2: default-val2) {
3977
- required: $required;
3978
- arg1: $arg1;
3979
- arg2: $arg2;
3980
- }
3981
- .mixed { @include a-mixin(foo, $arg2: non-default-val2); }
3982
- SCSS
3983
- end
3984
-
3985
- def test_keyword_arg_scope
3986
- assert_equal <<CSS, render(<<SCSS)
3987
- .mixed {
3988
- arg1: default;
3989
- arg2: non-default; }
3990
- CSS
3991
- $arg1: default;
3992
- $arg2: default;
3993
- @mixin a-mixin($arg1: $arg1, $arg2: $arg2) {
3994
- arg1: $arg1;
3995
- arg2: $arg2;
3996
- }
3997
- .mixed { @include a-mixin($arg2: non-default); }
3998
- SCSS
3999
- end
4000
-
4001
- def test_passing_required_args_as_a_keyword_arg
4002
- assert_equal <<CSS, render(<<SCSS)
4003
- .mixed {
4004
- required: foo;
4005
- arg1: default-val1;
4006
- arg2: default-val2; }
4007
- CSS
4008
- @mixin a-mixin($required, $arg1: default-val1, $arg2: default-val2) {
4009
- required: $required;
4010
- arg1: $arg1;
4011
- arg2: $arg2; }
4012
- .mixed { @include a-mixin($required: foo); }
4013
- SCSS
4014
- end
4015
-
4016
- def test_passing_all_as_keyword_args_in_opposite_order
4017
- assert_equal <<CSS, render(<<SCSS)
4018
- .mixed {
4019
- required: foo;
4020
- arg1: non-default-val1;
4021
- arg2: non-default-val2; }
4022
- CSS
4023
- @mixin a-mixin($required, $arg1: default-val1, $arg2: default-val2) {
4024
- required: $required;
4025
- arg1: $arg1;
4026
- arg2: $arg2; }
4027
- .mixed { @include a-mixin($arg2: non-default-val2, $arg1: non-default-val1, $required: foo); }
4028
- SCSS
4029
- end
4030
-
4031
- def test_keyword_args_in_functions
4032
- assert_equal <<CSS, render(<<SCSS)
4033
- .keyed {
4034
- color: rgba(170, 119, 204, 0.4); }
4035
- CSS
4036
- .keyed { color: rgba($color: #a7c, $alpha: 0.4) }
4037
- SCSS
4038
- end
4039
-
4040
- def test_unknown_keyword_arg_raises_error
4041
- assert_raise_message(Sass::SyntaxError, "Mixin a doesn't have an argument named $c.") {render <<SCSS}
4042
- @mixin a($b: 1) { a: $b; }
4043
- div { @include a(1, $c: 3); }
4044
- SCSS
4045
- end
4046
-
4047
-
4048
- def test_newlines_removed_from_selectors_when_compressed
4049
- assert_equal <<CSS, render(<<SCSS, :style => :compressed)
4050
- z a,z b{display:block}
4051
- CSS
4052
- a
4053
- , b {
4054
- z & {
4055
- display: block;
4056
- }
4057
- }
4058
- SCSS
4059
- end
4060
-
4061
- def test_if_error_line
4062
- assert_raise_line(2) {render(<<SCSS)}
4063
- @if true {foo: bar}
4064
- }
4065
- SCSS
4066
- end
4067
-
4068
- def test_multiline_var
4069
- assert_equal <<CSS, render(<<SCSS)
4070
- foo {
4071
- a: 3;
4072
- b: false;
4073
- c: a b c; }
4074
- CSS
4075
- foo {
4076
- $var1: 1 +
4077
- 2;
4078
- $var2: true and
4079
- false;
4080
- $var3: a b
4081
- c;
4082
- a: $var1;
4083
- b: $var2;
4084
- c: $var3; }
4085
- SCSS
4086
- end
4087
-
4088
- def test_mixin_content
4089
- assert_equal <<CSS, render(<<SASS)
4090
- .parent {
4091
- background-color: red;
4092
- border-color: red; }
4093
- .parent .child {
4094
- background-color: yellow;
4095
- color: blue;
4096
- border-color: yellow; }
4097
- CSS
4098
- $color: blue;
4099
- @mixin context($class, $color: red) {
4100
- .\#{$class} {
4101
- background-color: $color;
4102
- @content;
4103
- border-color: $color;
4104
- }
4105
- }
4106
- @include context(parent) {
4107
- @include context(child, $color: yellow) {
4108
- color: $color;
4109
- }
4110
- }
4111
- SASS
4112
- end
4113
-
4114
- def test_empty_content
4115
- assert_equal <<CSS, render(<<SCSS)
4116
- a {
4117
- b: c; }
4118
- CSS
4119
- @mixin foo { @content }
4120
- a { b: c; @include foo {} }
4121
- SCSS
4122
- end
4123
-
4124
- def test_options_passed_to_script
4125
- assert_equal <<CSS, render(<<SCSS, :style => :compressed)
4126
- foo{color:#000}
4127
- CSS
4128
- foo {color: darken(black, 10%)}
4129
- SCSS
4130
- end
4131
-
4132
- # ref: https://github.com/nex3/sass/issues/104
4133
- def test_no_buffer_overflow
4134
- template = render <<SCSS
4135
- .aaa {
4136
- background-color: white;
4137
- }
4138
- .aaa .aaa .aaa {
4139
- background-color: black;
4140
- }
4141
- .bbb {
4142
- @extend .aaa;
4143
- }
4144
- .xxx {
4145
- @extend .bbb;
4146
- }
4147
- .yyy {
4148
- @extend .bbb;
4149
- }
4150
- .zzz {
4151
- @extend .bbb;
4152
- }
4153
- SCSS
4154
- Sass::SCSS::Parser.new(template, "test.scss", nil).parse
4155
- end
4156
-
4157
- def test_extend_in_media_in_rule
4158
- assert_equal(<<CSS, render(<<SCSS))
4159
- @media screen {
4160
- .foo {
4161
- a: b; } }
4162
- CSS
4163
- .foo {
4164
- @media screen {
4165
- @extend %bar;
4166
- }
4167
- }
4168
-
4169
- @media screen {
4170
- %bar {
4171
- a: b;
4172
- }
4173
- }
4174
- SCSS
4175
- end
4176
-
4177
- def test_import_with_supports_clause_interp
4178
- assert_equal(<<CSS, render(<<'SASS', :style => :compressed))
4179
- @import url("fallback-layout.css") supports(not (display: flex))
4180
- CSS
4181
- $display-type: flex;
4182
- @import url("fallback-layout.css") supports(not (display: #{$display-type}));
4183
- SASS
4184
- end
4185
-
4186
- def test_import_with_supports_clause
4187
- assert_equal(<<CSS, render(<<SASS, :style => :compressed))
4188
- @import url("fallback-layout.css") supports(not (display: flex));.foo{bar:baz}
4189
- CSS
4190
- @import url("fallback-layout.css") supports(not (display: flex));
4191
- .foo { bar: baz; }
4192
- SASS
4193
- end
4194
-
4195
- def test_crlf
4196
- # Attempt to reproduce https://github.com/sass/sass/issues/1985
4197
- assert_equal(<<CSS, render(<<SCSS))
4198
- p {
4199
- margin: 0; }
4200
- CSS
4201
- p {\r\n margin: 0;\r\n}
4202
- SCSS
4203
- end
4204
-
4205
- end