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,219 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # -*- coding: utf-8 -*-
3
- require File.dirname(__FILE__) + '/../test_helper'
4
- require File.dirname(__FILE__) + '/test_helper'
5
- require 'sass/util/test'
6
-
7
- class EncodingTest < MiniTest::Test
8
- include Sass::Util::Test
9
-
10
- def test_encoding_error
11
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
12
-
13
- render("foo\nbar\nb\xFEaz".force_encoding("utf-8"))
14
- assert(false, "Expected exception")
15
- rescue Sass::SyntaxError => e
16
- assert_equal(3, e.sass_line)
17
- assert_equal('Invalid UTF-8 character "\xFE"', e.message)
18
- end
19
-
20
- def test_ascii_incompatible_encoding_error
21
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
22
-
23
- template = "foo\nbar\nb_z".encode("utf-16le")
24
- template[9] = "\xFE".force_encoding("utf-16le")
25
- render(template)
26
- assert(false, "Expected exception")
27
- rescue Sass::SyntaxError => e
28
- assert_equal(3, e.sass_line)
29
- assert_equal('Invalid UTF-16LE character "\xFE"', e.message)
30
- end
31
-
32
- def test_prefers_charset_to_ruby_encoding
33
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
34
-
35
- assert_renders_encoded(<<CSS, <<SASS.encode("IBM866").force_encoding("UTF-8"))
36
- @charset "UTF-8";
37
- fЖЖ {
38
- a: b; }
39
- CSS
40
- @charset "ibm866"
41
- fЖЖ
42
- a: b
43
- SASS
44
- end
45
-
46
- def test_uses_ruby_encoding_without_charset
47
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
48
-
49
- assert_renders_encoded(<<CSS, <<SASS.encode("IBM866"))
50
- @charset "UTF-8";
51
- тАЬ {
52
- a: b; }
53
- CSS
54
- тАЬ
55
- a: b
56
- SASS
57
- end
58
-
59
- def test_multibyte_charset_without_bom_declared_as_binary
60
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
61
-
62
- engine = Sass::Engine.new(<<SASS.encode("UTF-16LE").force_encoding("BINARY"))
63
- @charset "utf-16le"
64
- fóó
65
- a: b
66
- SASS
67
- # Since multibyte encodings' @charset declarations aren't
68
- # ASCII-compatible, we have to interpret the files as UTF-8 which will
69
- # inevitably fail.
70
- assert_raise_message(Sass::SyntaxError, "Invalid UTF-8 character \"\\xF3\"") {engine.render}
71
- end
72
-
73
- def test_multibyte_charset_without_bom_declared_as_utf_8
74
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
75
-
76
- engine = Sass::Engine.new(<<SASS.encode("UTF-16LE").force_encoding("UTF-8"))
77
- @charset "utf-16le"
78
- fóó
79
- a: b
80
- SASS
81
- # Since multibyte encodings' @charset declarations aren't
82
- # ASCII-compatible, we have to interpret the files as UTF-8 which will
83
- # inevitably fail.
84
- assert_raise_message(Sass::SyntaxError, "Invalid UTF-8 character \"\\xF3\"") {engine.render}
85
- end
86
-
87
- def test_utf_16le_with_bom
88
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
89
-
90
- assert_renders_encoded(<<CSS, <<SASS.encode("UTF-16LE").force_encoding("BINARY"))
91
- @charset "UTF-8";
92
- fóó {
93
- a: b; }
94
- CSS
95
- \uFEFFfóó
96
- a: b
97
- SASS
98
- end
99
-
100
- def test_utf_16be_with_bom
101
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
102
-
103
- assert_renders_encoded(<<CSS, <<SASS.encode("UTF-16BE").force_encoding("BINARY"))
104
- @charset "UTF-8";
105
- fóó {
106
- a: b; }
107
- CSS
108
- \uFEFFfóó
109
- a: b
110
- SASS
111
- end
112
-
113
- def test_utf_8_with_bom
114
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
115
-
116
- assert_renders_encoded(<<CSS, <<SASS.force_encoding("BINARY"))
117
- @charset "UTF-8";
118
- fóó {
119
- a: b; }
120
- CSS
121
- \uFEFFfóó
122
- a: b
123
- SASS
124
- end
125
-
126
- def test_charset_with_multibyte_encoding
127
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
128
-
129
- engine = Sass::Engine.new(<<SASS)
130
- @charset "utf-32be"
131
- fóó
132
- a: b
133
- SASS
134
- # The charset declaration is just false here, so we should get an
135
- # encoding error.
136
- assert_raise_message(Sass::SyntaxError, "Invalid UTF-32BE character \"\\xC3\"") {engine.render}
137
- end
138
-
139
- def test_charset_with_special_case_encoding
140
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
141
-
142
- # For some reason, a file with an ASCII-compatible UTF-16 charset
143
- # declaration is specced to be parsed as UTF-8.
144
- assert_renders_encoded(<<CSS, <<SASS.force_encoding("BINARY"))
145
- @charset "UTF-8";
146
- fóó {
147
- a: b; }
148
- CSS
149
- @charset "utf-16"
150
- fóó
151
- a: b
152
- SASS
153
- end
154
-
155
- def test_compressed_output_uses_bom
156
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
157
-
158
- assert_equal("\uFEFFfóó{a:b}\n", render(<<SASS, :style => :compressed))
159
- fóó
160
- a: b
161
- SASS
162
- end
163
-
164
- def test_newline_normalization
165
- assert_equal("/* foo\nbar\nbaz\nbang\nqux */\n",
166
- render("/* foo\nbar\r\nbaz\fbang\rqux */", :syntax => :scss))
167
- end
168
-
169
- def test_null_normalization
170
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
171
-
172
- assert_equal(<<CSS, render("/* foo\x00bar\x00baz */", :syntax => :scss))
173
- #{"@charset \"UTF-8\";\n" unless Sass::Util.ruby1_8?
174
- }/* foo�bar�baz */
175
- CSS
176
- end
177
-
178
- # Regression
179
-
180
- def test_multibyte_prop_name
181
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
182
-
183
- assert_equal(<<CSS, render(<<SASS))
184
- @charset "UTF-8";
185
- #bar {
186
- cölor: blue; }
187
- CSS
188
- #bar
189
- cölor: blue
190
- SASS
191
- end
192
-
193
- def test_multibyte_and_interpolation
194
- return skip "Can't be run on Ruby 1.8." if Sass::Util.ruby1_8?
195
-
196
- assert_equal(<<CSS, render(<<SCSS, :syntax => :scss))
197
- #bar {
198
- background: a 0%; }
199
- CSS
200
- #bar {
201
- // 
202
- background: \#{a} 0%;
203
- }
204
- SCSS
205
- end
206
-
207
- private
208
-
209
- def assert_renders_encoded(css, sass)
210
- result = render(sass)
211
- assert_equal css.encoding, result.encoding
212
- assert_equal css, result
213
- end
214
-
215
- def render(sass, options = {})
216
- munge_filename options
217
- Sass::Engine.new(sass, options).render
218
- end
219
- end
@@ -1,3447 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # -*- coding: utf-8 -*-
3
- require File.dirname(__FILE__) + '/../test_helper'
4
- require File.dirname(__FILE__) + '/test_helper'
5
- require 'sass/engine'
6
- require 'stringio'
7
- require 'mock_importer'
8
- require 'pathname'
9
-
10
- module Sass::Script::Functions::UserFunctions
11
- def option(name)
12
- Sass::Script::Value::String.new(@options[name.value.to_sym].to_s)
13
- end
14
-
15
- def set_a_variable(name, value)
16
- environment.set_var(name.value, value)
17
- return Sass::Script::Value::Null.new
18
- end
19
-
20
- def set_a_global_variable(name, value)
21
- environment.set_global_var(name.value, value)
22
- return Sass::Script::Value::Null.new
23
- end
24
-
25
- def get_a_variable(name)
26
- environment.var(name.value) || Sass::Script::Value::String.new("undefined")
27
- end
28
- end
29
-
30
- module Sass::Script::Functions
31
- include Sass::Script::Functions::UserFunctions
32
- end
33
-
34
- class SassEngineTest < MiniTest::Test
35
- FAKE_FILE_NAME = __FILE__.gsub(/rb$/,"sass")
36
- # A map of erroneous Sass documents to the error messages they should produce.
37
- # The error messages may be arrays;
38
- # if so, the second element should be the line number that should be reported for the error.
39
- # If this isn't provided, the tests will assume the line number should be the last line of the document.
40
- EXCEPTION_MAP = {
41
- "$a: 1 + " => 'Invalid CSS after "1 +": expected expression (e.g. 1px, bold), was ""',
42
- "$a: 1 + 2 +" => 'Invalid CSS after "1 + 2 +": expected expression (e.g. 1px, bold), was ""',
43
- "$a: 1 + 2 + %" => 'Invalid CSS after "1 + 2 + ": expected expression (e.g. 1px, bold), was "%"',
44
- "$a: foo(\"bar\"" => 'Invalid CSS after "foo("bar"": expected ")", was ""',
45
- "$a: 1 }" => 'Invalid CSS after "1 ": expected expression (e.g. 1px, bold), was "}"',
46
- "$a: 1 }foo\"" => 'Invalid CSS after "1 ": expected expression (e.g. 1px, bold), was "}foo""',
47
- ":" => 'Invalid property: ":".',
48
- ": a" => 'Invalid property: ": a".',
49
- "a\n :b" => <<MSG,
50
- Invalid property: ":b" (no value).
51
- If ":b" should be a selector, use "\\:b" instead.
52
- MSG
53
- "a\n b:" => 'Invalid property: "b:" (no value).',
54
- "a\n :b: c" => 'Invalid property: ":b: c".',
55
- "a\n :b:c d" => 'Invalid property: ":b:c d".',
56
- "a\n :b c;" => 'Invalid CSS after "c": expected expression (e.g. 1px, bold), was ";"',
57
- "a\n b: c;" => 'Invalid CSS after "c": expected expression (e.g. 1px, bold), was ";"',
58
- ".foo ^bar\n a: b" => ['Invalid CSS after ".foo ": expected selector, was "^bar"', 1],
59
- "a\n @extend .foo ^bar" => 'Invalid CSS after ".foo ": expected selector, was "^bar"',
60
- "a\n @extend .foo .bar" => "Can't extend .foo .bar: can't extend nested selectors",
61
- "a\n @extend >" => "Can't extend >: invalid selector",
62
- "a\n @extend &.foo" => "Can't extend &.foo: can't extend parent selectors",
63
- "a: b" => 'Properties are only allowed within rules, directives, mixin includes, or other properties.',
64
- ":a b" => 'Properties are only allowed within rules, directives, mixin includes, or other properties.',
65
- "$" => 'Invalid variable: "$".',
66
- "$a" => 'Invalid variable: "$a".',
67
- "$ a" => 'Invalid variable: "$ a".',
68
- "$a b" => 'Invalid variable: "$a b".',
69
- "$a: 1b + 2c" => "Incompatible units: 'c' and 'b'.",
70
- "$a: 1b < 2c" => "Incompatible units: 'c' and 'b'.",
71
- "$a: 1b > 2c" => "Incompatible units: 'c' and 'b'.",
72
- "$a: 1b <= 2c" => "Incompatible units: 'c' and 'b'.",
73
- "$a: 1b >= 2c" => "Incompatible units: 'c' and 'b'.",
74
- "a\n b: 1b * 2c" => "2b*c isn't a valid CSS value.",
75
- "a\n b: 1b % 2c" => "Incompatible units: 'c' and 'b'.",
76
- "$a: 2px + #ccc" => "Cannot add a number with units (2px) to a color (#ccc).",
77
- "$a: #ccc + 2px" => "Cannot add a number with units (2px) to a color (#ccc).",
78
- "& a\n :b c" => ["Base-level rules cannot contain the parent-selector-referencing character '&'.", 1],
79
- "a\n :b\n c" => "Illegal nesting: Only properties may be nested beneath properties.",
80
- "$a: b\n :c d\n" => "Illegal nesting: Nothing may be nested beneath variable declarations.",
81
- "@import templates/basic\n foo" => "Illegal nesting: Nothing may be nested beneath import directives.",
82
- "foo\n @import foo.css" => "CSS import directives may only be used at the root of a document.",
83
- "@if true\n @import foo" => "Import directives may not be used within control directives or mixins.",
84
- "@if true\n .foo\n @import foo" => "Import directives may not be used within control directives or mixins.",
85
- "@mixin foo\n @import foo" => "Import directives may not be used within control directives or mixins.",
86
- "@mixin foo\n .foo\n @import foo" => "Import directives may not be used within control directives or mixins.",
87
- "@import foo;" => "Invalid @import: expected end of line, was \";\".",
88
- '$foo: "bar" "baz" !' => %Q{Invalid CSS after ""bar" "baz" ": expected expression (e.g. 1px, bold), was "!"},
89
- '$foo: "bar" "baz" $' => %Q{Invalid CSS after ""bar" "baz" ": expected expression (e.g. 1px, bold), was "$"}, #'
90
- "=foo\n :color red\n.bar\n +bang" => "Undefined mixin 'bang'.",
91
- "=foo\n :color red\n.bar\n +bang_bop" => "Undefined mixin 'bang_bop'.",
92
- "=foo\n :color red\n.bar\n +bang-bop" => "Undefined mixin 'bang-bop'.",
93
- ".foo\n =foo\n :color red\n.bar\n +foo" => "Undefined mixin 'foo'.",
94
- " a\n b: c" => ["Indenting at the beginning of the document is illegal.", 1],
95
- " \n \n\t\n a\n b: c" => ["Indenting at the beginning of the document is illegal.", 4],
96
- "a\n b: c\n b: c" => ["Inconsistent indentation: 1 space was used for indentation, but the rest of the document was indented using 2 spaces.", 3],
97
- "a\n b: c\na\n b: c" => ["Inconsistent indentation: 1 space was used for indentation, but the rest of the document was indented using 2 spaces.", 4],
98
- "a\n\t\tb: c\n\tb: c" => ["Inconsistent indentation: 1 tab was used for indentation, but the rest of the document was indented using 2 tabs.", 3],
99
- "a\n b: c\n b: c" => ["Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.", 3],
100
- "a\n b: c\n a\n d: e" => ["Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.", 4],
101
- "a\n b: c\na\n d: e" => ["The line was indented 2 levels deeper than the previous line.", 4],
102
- "a\n b: c\n a\n d: e" => ["The line was indented 3 levels deeper than the previous line.", 4],
103
- "a\n \tb: c" => ["Indentation can't use both tabs and spaces.", 2],
104
- "=a(" => 'Invalid CSS after "(": expected variable (e.g. $foo), was ""',
105
- "=a(b)" => 'Invalid CSS after "(": expected variable (e.g. $foo), was "b)"',
106
- "=a(,)" => 'Invalid CSS after "(": expected variable (e.g. $foo), was ",)"',
107
- "=a($)" => 'Invalid CSS after "(": expected variable (e.g. $foo), was "$)"',
108
- "=a($foo bar)" => 'Invalid CSS after "($foo ": expected ")", was "bar)"',
109
- "=foo\n bar: baz\n+foo" => ["Properties are only allowed within rules, directives, mixin includes, or other properties.", 2],
110
- "a-\#{$b\n c: d" => ['Invalid CSS after "a-#{$b": expected "}", was ""', 1],
111
- "=a($b: 1, $c)" => "Required argument $c must come before any optional arguments.",
112
- "=a($b: 1)\n a: $b\ndiv\n +a(1,2)" => "Mixin a takes 1 argument but 2 were passed.",
113
- "=a($b: 1)\n a: $b\ndiv\n +a(1,$c: 3)" => "Mixin a doesn't have an argument named $c.",
114
- "=a($b)\n a: $b\ndiv\n +a" => "Mixin a is missing argument $b.",
115
- "@function foo()\n 1 + 2" => "Functions can only contain variable declarations and control directives.",
116
- "@function foo()\n foo: bar" => "Functions can only contain variable declarations and control directives.",
117
- "@function foo()\n foo: bar\n @return 3" => ["Functions can only contain variable declarations and control directives.", 2],
118
- "@function foo\n @return 1" => ['Invalid CSS after "": expected "(", was ""', 1],
119
- "@function foo(\n @return 1" => ['Invalid CSS after "(": expected variable (e.g. $foo), was ""', 1],
120
- "@function foo(b)\n @return 1" => ['Invalid CSS after "(": expected variable (e.g. $foo), was "b)"', 1],
121
- "@function foo(,)\n @return 1" => ['Invalid CSS after "(": expected variable (e.g. $foo), was ",)"', 1],
122
- "@function foo($)\n @return 1" => ['Invalid CSS after "(": expected variable (e.g. $foo), was "$)"', 1],
123
- "@function foo()\n @return" => 'Invalid @return: expected expression.',
124
- "@function foo()\n @return 1\n $var: val" => 'Illegal nesting: Nothing may be nested beneath return directives.',
125
- "@function foo($a)\n @return 1\na\n b: foo()" => 'Function foo is missing argument $a.',
126
- "@function foo()\n @return 1\na\n b: foo(2)" => 'Function foo takes 0 arguments but 1 was passed.',
127
- "@function foo()\n @return 1\na\n b: foo($a: 1)" => "Function foo doesn't have an argument named $a.",
128
- "@function foo()\n @return 1\na\n b: foo($a: 1, $b: 2)" => "Function foo doesn't have the following arguments: $a, $b.",
129
- "@return 1" => '@return may only be used within a function.',
130
- "@if true\n @return 1" => '@return may only be used within a function.',
131
- "@mixin foo\n @return 1\n@include foo" => ['@return may only be used within a function.', 2],
132
- "@else\n a\n b: c" => ["@else must come after @if.", 1],
133
- "@if false\n@else foo" => "Invalid else directive '@else foo': expected 'if <expr>'.",
134
- "@if false\n@else if " => "Invalid else directive '@else if': expected 'if <expr>'.",
135
- "a\n $b: 12\nc\n d: $b" => 'Undefined variable: "$b".',
136
- "=foo\n $b: 12\nc\n +foo\n d: $b" => 'Undefined variable: "$b".',
137
- "c\n d: $b-foo" => 'Undefined variable: "$b-foo".',
138
- "c\n d: $b_foo" => 'Undefined variable: "$b_foo".',
139
- '@for $a from "foo" to 1' => '"foo" is not an integer.',
140
- '@for $a from 1 to "2"' => '"2" is not an integer.',
141
- '@for $a from 1 to "foo"' => '"foo" is not an integer.',
142
- '@for $a from 1 to 1.232323' => '1.23232 is not an integer.',
143
- '@for $a from 1px to 3em' => "Incompatible units: 'em' and 'px'.",
144
- '@if' => "Invalid if directive '@if': expected expression.",
145
- '@while' => "Invalid while directive '@while': expected expression.",
146
- '@debug' => "Invalid debug directive '@debug': expected expression.",
147
- %Q{@debug "a message"\n "nested message"} => "Illegal nesting: Nothing may be nested beneath debug directives.",
148
- '@error' => "Invalid error directive '@error': expected expression.",
149
- %Q{@error "a message"\n "nested message"} => "Illegal nesting: Nothing may be nested beneath error directives.",
150
- '@warn' => "Invalid warn directive '@warn': expected expression.",
151
- %Q{@warn "a message"\n "nested message"} => "Illegal nesting: Nothing may be nested beneath warn directives.",
152
- "/* foo\n bar\n baz" => "Inconsistent indentation: previous line was indented by 4 spaces, but this line was indented by 2 spaces.",
153
- '+foo(1 + 1: 2)' => 'Invalid CSS after "(1 + 1": expected comma, was ": 2)"',
154
- '+foo($var: )' => 'Invalid CSS after "($var: ": expected mixin argument, was ")"',
155
- '+foo($var: a, $var: b)' => 'Keyword argument "$var" passed more than once',
156
- '+foo($var-var: a, $var_var: b)' => 'Keyword argument "$var_var" passed more than once',
157
- '+foo($var_var: a, $var-var: b)' => 'Keyword argument "$var-var" passed more than once',
158
- "a\n b: foo(1 + 1: 2)" => 'Invalid CSS after "foo(1 + 1": expected comma, was ": 2)"',
159
- "a\n b: foo($var: )" => 'Invalid CSS after "foo($var: ": expected function argument, was ")"',
160
- "a\n b: foo($var: a, $var: b)" => 'Keyword argument "$var" passed more than once',
161
- "a\n b: foo($var-var: a, $var_var: b)" => 'Keyword argument "$var_var" passed more than once',
162
- "a\n b: foo($var_var: a, $var-var: b)" => 'Keyword argument "$var-var" passed more than once',
163
- "@if foo\n @extend .bar" => ["Extend directives may only be used within rules.", 2],
164
- "$var: true\n@while $var\n @extend .bar\n $var: false" => ["Extend directives may only be used within rules.", 3],
165
- "@for $i from 0 to 1\n @extend .bar" => ["Extend directives may only be used within rules.", 2],
166
- "@mixin foo\n @extend .bar\n@include foo" => ["Extend directives may only be used within rules.", 2],
167
- "foo %\n a: b" => ['Invalid CSS after "foo %": expected placeholder name, was ""', 1],
168
- "=foo\n @content error" => "Invalid content directive. Trailing characters found: \"error\".",
169
- "=foo\n @content\n b: c" => "Illegal nesting: Nothing may be nested beneath @content directives.",
170
- "@content" => '@content may only be used within a mixin.',
171
- "=simple\n .simple\n color: red\n+simple\n color: blue" => ['Mixin "simple" does not accept a content block.', 4],
172
- "@import \"foo\" // bar" => "Invalid CSS after \"\"foo\" \": expected media query list, was \"// bar\"",
173
- "@at-root\n a: b" => "Properties are only allowed within rules, directives, mixin includes, or other properties.",
174
-
175
- # Regression tests
176
- "a\n b:\n c\n d" => ["Illegal nesting: Only properties may be nested beneath properties.", 3],
177
- "& foo\n bar: baz\n blat: bang" => ["Base-level rules cannot contain the parent-selector-referencing character '&'.", 1],
178
- "a\n b: c\n& foo\n bar: baz\n blat: bang" => ["Base-level rules cannot contain the parent-selector-referencing character '&'.", 3],
179
- "@" => "Invalid directive: '@'.",
180
- "$r: 20em * #ccc" => ["Cannot multiply a number with units (20em) to a color (#ccc).", 1],
181
- "$r: #ccc / 1em" => ["Cannot divide a number with units (1em) to a color (#ccc).", 1],
182
- }
183
-
184
- def teardown
185
- clean_up_sassc
186
- end
187
-
188
- def test_basic_render
189
- renders_correctly "basic", { :style => :compact }
190
- end
191
-
192
- def test_empty_render
193
- assert_equal "", render("")
194
- end
195
-
196
- def test_multiple_calls_to_render
197
- sass = Sass::Engine.new("a\n b: c")
198
- assert_equal sass.render, sass.render
199
- end
200
-
201
- def test_alternate_styles
202
- renders_correctly "expanded", { :style => :expanded }
203
- renders_correctly "compact", { :style => :compact }
204
- renders_correctly "nested", { :style => :nested }
205
- renders_correctly "compressed", { :style => :compressed }
206
- end
207
-
208
- def test_compile
209
- assert_equal "div { hello: world; }\n", Sass.compile("$who: world\ndiv\n hello: $who", :syntax => :sass, :style => :compact)
210
- assert_equal "div { hello: world; }\n", Sass.compile("$who: world; div { hello: $who }", :style => :compact)
211
- end
212
-
213
- def test_compile_file
214
- FileUtils.mkdir_p(absolutize("tmp"))
215
- open(absolutize("tmp/test_compile_file.sass"), "w") {|f| f.write("$who: world\ndiv\n hello: $who")}
216
- open(absolutize("tmp/test_compile_file.scss"), "w") {|f| f.write("$who: world; div { hello: $who }")}
217
- assert_equal "div { hello: world; }\n", Sass.compile_file(absolutize("tmp/test_compile_file.sass"), :style => :compact)
218
- assert_equal "div { hello: world; }\n", Sass.compile_file(absolutize("tmp/test_compile_file.scss"), :style => :compact)
219
- ensure
220
- FileUtils.rm_rf(absolutize("tmp"))
221
- end
222
-
223
- def test_compile_file_to_css_file
224
- FileUtils.mkdir_p(absolutize("tmp"))
225
- open(absolutize("tmp/test_compile_file.sass"), "w") {|f| f.write("$who: world\ndiv\n hello: $who")}
226
- open(absolutize("tmp/test_compile_file.scss"), "w") {|f| f.write("$who: world; div { hello: $who }")}
227
- Sass.compile_file(absolutize("tmp/test_compile_file.sass"), absolutize("tmp/test_compile_file_sass.css"), :style => :compact)
228
- Sass.compile_file(absolutize("tmp/test_compile_file.scss"), absolutize("tmp/test_compile_file_scss.css"), :style => :compact)
229
- assert_equal "div { hello: world; }\n", File.read(absolutize("tmp/test_compile_file_sass.css"))
230
- assert_equal "div { hello: world; }\n", File.read(absolutize("tmp/test_compile_file_scss.css"))
231
- ensure
232
- FileUtils.rm_rf(absolutize("tmp"))
233
- end
234
-
235
- def test_flexible_tabulation
236
- assert_equal("p {\n a: b; }\n p q {\n c: d; }\n",
237
- render("p\n a: b\n q\n c: d\n"))
238
- assert_equal("p {\n a: b; }\n p q {\n c: d; }\n",
239
- render("p\n\ta: b\n\tq\n\t\tc: d\n"))
240
- end
241
-
242
- def test_import_same_name_different_ext
243
- assert_raise_message Sass::SyntaxError, <<ERROR do
244
- It's not clear which file to import for '@import "same_name_different_ext"'.
245
- Candidates:
246
- same_name_different_ext.sass
247
- same_name_different_ext.scss
248
- Please delete or rename all but one of these files.
249
- ERROR
250
- options = {:load_paths => [File.dirname(__FILE__) + '/templates/']}
251
- munge_filename options
252
- Sass::Engine.new("@import 'same_name_different_ext'", options).render
253
- end
254
- end
255
-
256
- def test_import_same_name_different_partiality
257
- assert_raise_message Sass::SyntaxError, <<ERROR do
258
- It's not clear which file to import for '@import "same_name_different_partiality"'.
259
- Candidates:
260
- _same_name_different_partiality.scss
261
- same_name_different_partiality.scss
262
- Please delete or rename all but one of these files.
263
- ERROR
264
- options = {:load_paths => [File.dirname(__FILE__) + '/templates/']}
265
- munge_filename options
266
- Sass::Engine.new("@import 'same_name_different_partiality'", options).render
267
- end
268
- end
269
-
270
- EXCEPTION_MAP.each do |key, value|
271
- define_method("test_exception (#{key.inspect})") do
272
- line = 10
273
- begin
274
- silence_warnings {Sass::Engine.new(key, :filename => FAKE_FILE_NAME, :line => line).render}
275
- rescue Sass::SyntaxError => err
276
- value = [value] unless value.is_a?(Array)
277
-
278
- assert_equal(value.first.rstrip, err.message, "Line: #{key}")
279
- assert_equal(FAKE_FILE_NAME, err.sass_filename)
280
- assert_equal((value[1] || key.split("\n").length) + line - 1, err.sass_line, "Line: #{key}")
281
- assert_match(/#{Regexp.escape(FAKE_FILE_NAME)}:[0-9]+/, err.backtrace[0], "Line: #{key}")
282
- else
283
- assert(false, "Exception not raised for\n#{key}")
284
- end
285
- end
286
- end
287
-
288
- def test_exception_line
289
- to_render = <<SASS
290
- rule
291
- prop: val
292
- // comment!
293
-
294
- broken:
295
- SASS
296
- begin
297
- Sass::Engine.new(to_render).render
298
- rescue Sass::SyntaxError => err
299
- assert_equal(5, err.sass_line)
300
- else
301
- assert(false, "Exception not raised for '#{to_render}'!")
302
- end
303
- end
304
-
305
- def test_exception_location
306
- to_render = <<SASS
307
- rule
308
- prop: val
309
- // comment!
310
-
311
- broken:
312
- SASS
313
- begin
314
- Sass::Engine.new(to_render, :filename => FAKE_FILE_NAME, :line => (__LINE__-7)).render
315
- rescue Sass::SyntaxError => err
316
- assert_equal(FAKE_FILE_NAME, err.sass_filename)
317
- assert_equal((__LINE__-6), err.sass_line)
318
- else
319
- assert(false, "Exception not raised for '#{to_render}'!")
320
- end
321
- end
322
-
323
- def test_imported_exception
324
- [1, 2, 3, 4].each do |i|
325
- begin
326
- Sass::Engine.new("@import bork#{i}", :load_paths => [File.dirname(__FILE__) + '/templates/']).render
327
- rescue Sass::SyntaxError => err
328
- assert_equal(2, err.sass_line)
329
- assert_match(/(\/|^)bork#{i}\.sass$/, err.sass_filename)
330
-
331
- assert_hash_has(err.sass_backtrace.first,
332
- :filename => err.sass_filename, :line => err.sass_line)
333
-
334
- assert_nil(err.sass_backtrace[1][:filename])
335
- assert_equal(1, err.sass_backtrace[1][:line])
336
-
337
- assert_match(/(\/|^)bork#{i}\.sass:2$/, err.backtrace.first)
338
- assert_equal("(sass):1", err.backtrace[1])
339
- else
340
- assert(false, "Exception not raised for imported template: bork#{i}")
341
- end
342
- end
343
- end
344
-
345
- def test_double_imported_exception
346
- [1, 2, 3, 4].each do |i|
347
- begin
348
- Sass::Engine.new("@import nested_bork#{i}", :load_paths => [File.dirname(__FILE__) + '/templates/']).render
349
- rescue Sass::SyntaxError => err
350
- assert_equal(2, err.sass_line)
351
- assert_match(/(\/|^)bork#{i}\.sass$/, err.sass_filename)
352
-
353
- assert_hash_has(err.sass_backtrace.first,
354
- :filename => err.sass_filename, :line => err.sass_line)
355
-
356
- assert_match(/(\/|^)nested_bork#{i}\.sass$/, err.sass_backtrace[1][:filename])
357
- assert_equal(2, err.sass_backtrace[1][:line])
358
-
359
- assert_nil(err.sass_backtrace[2][:filename])
360
- assert_equal(1, err.sass_backtrace[2][:line])
361
-
362
- assert_match(/(\/|^)bork#{i}\.sass:2$/, err.backtrace.first)
363
- assert_match(/(\/|^)nested_bork#{i}\.sass:2$/, err.backtrace[1])
364
- assert_equal("(sass):1", err.backtrace[2])
365
- else
366
- assert(false, "Exception not raised for imported template: bork#{i}")
367
- end
368
- end
369
- end
370
-
371
- def test_selector_tracing
372
- actual_css = render(<<-SCSS, :syntax => :scss, :trace_selectors => true)
373
- @mixin mixed {
374
- .mixed { color: red; }
375
- }
376
- .context {
377
- @include mixed;
378
- }
379
- SCSS
380
- assert_equal(<<CSS,actual_css)
381
- /* on line 2 of test_selector_tracing_inline.scss, in `mixed'
382
- from line 5 of test_selector_tracing_inline.scss */
383
- .context .mixed {
384
- color: red; }
385
- CSS
386
- end
387
-
388
- def test_mixin_exception
389
- render(<<SASS)
390
- =error-mixin($a)
391
- color: $a * 1em * 1px
392
-
393
- =outer-mixin($a)
394
- +error-mixin($a)
395
-
396
- .error
397
- +outer-mixin(12)
398
- SASS
399
- assert(false, "Exception not raised")
400
- rescue Sass::SyntaxError => err
401
- assert_equal(2, err.sass_line)
402
- assert_equal(filename_for_test, err.sass_filename)
403
- assert_equal("error-mixin", err.sass_mixin)
404
-
405
- assert_hash_has(err.sass_backtrace.first, :line => err.sass_line,
406
- :filename => err.sass_filename, :mixin => err.sass_mixin)
407
- assert_hash_has(err.sass_backtrace[1], :line => 5,
408
- :filename => filename_for_test, :mixin => "outer-mixin")
409
- assert_hash_has(err.sass_backtrace[2], :line => 8,
410
- :filename => filename_for_test, :mixin => nil)
411
-
412
- assert_equal("#{filename_for_test}:2:in `error-mixin'", err.backtrace.first)
413
- assert_equal("#{filename_for_test}:5:in `outer-mixin'", err.backtrace[1])
414
- assert_equal("#{filename_for_test}:8", err.backtrace[2])
415
- end
416
-
417
- def test_mixin_callsite_exception
418
- render(<<SASS)
419
- =one-arg-mixin($a)
420
- color: $a
421
-
422
- =outer-mixin($a)
423
- +one-arg-mixin($a, 12)
424
-
425
- .error
426
- +outer-mixin(12)
427
- SASS
428
- assert(false, "Exception not raised")
429
- rescue Sass::SyntaxError => err
430
- assert_hash_has(err.sass_backtrace.first, :line => 5,
431
- :filename => filename_for_test, :mixin => "one-arg-mixin")
432
- assert_hash_has(err.sass_backtrace[1], :line => 5,
433
- :filename => filename_for_test, :mixin => "outer-mixin")
434
- assert_hash_has(err.sass_backtrace[2], :line => 8,
435
- :filename => filename_for_test, :mixin => nil)
436
- end
437
-
438
- def test_mixin_exception_cssize
439
- render(<<SASS)
440
- =parent-ref-mixin
441
- & foo
442
- a: b
443
-
444
- =outer-mixin
445
- +parent-ref-mixin
446
-
447
- +outer-mixin
448
- SASS
449
- assert(false, "Exception not raised")
450
- rescue Sass::SyntaxError => err
451
- assert_hash_has(err.sass_backtrace.first, :line => 2,
452
- :filename => filename_for_test, :mixin => "parent-ref-mixin")
453
- assert_hash_has(err.sass_backtrace[1], :line => 6,
454
- :filename => filename_for_test, :mixin => "outer-mixin")
455
- assert_hash_has(err.sass_backtrace[2], :line => 8,
456
- :filename => filename_for_test, :mixin => nil)
457
- end
458
-
459
- def test_mixin_and_import_exception
460
- Sass::Engine.new("@import nested_mixin_bork", :load_paths => [File.dirname(__FILE__) + '/templates/']).render
461
- assert(false, "Exception not raised")
462
- rescue Sass::SyntaxError => err
463
- assert_match(/(\/|^)nested_mixin_bork\.sass$/, err.sass_backtrace.first[:filename])
464
- assert_hash_has(err.sass_backtrace.first, :mixin => "error-mixin", :line => 4)
465
-
466
- assert_match(/(\/|^)mixin_bork\.sass$/, err.sass_backtrace[1][:filename])
467
- assert_hash_has(err.sass_backtrace[1], :mixin => "outer-mixin", :line => 2)
468
-
469
- assert_match(/(\/|^)mixin_bork\.sass$/, err.sass_backtrace[2][:filename])
470
- assert_hash_has(err.sass_backtrace[2], :mixin => nil, :line => 5)
471
-
472
- assert_match(/(\/|^)nested_mixin_bork\.sass$/, err.sass_backtrace[3][:filename])
473
- assert_hash_has(err.sass_backtrace[3], :mixin => nil, :line => 6)
474
-
475
- assert_hash_has(err.sass_backtrace[4], :filename => nil, :mixin => nil, :line => 1)
476
- end
477
-
478
- def test_recursive_mixin
479
- assert_equal <<CSS, render(<<SASS)
480
- .foo .bar .baz {
481
- color: blue; }
482
- .foo .bar .qux {
483
- color: red; }
484
- .foo .zap {
485
- color: green; }
486
- CSS
487
- @mixin map-to-rule($map-or-color)
488
- @if type-of($map-or-color) == map
489
- @each $key, $value in $map-or-color
490
- .\#{$key}
491
- @include map-to-rule($value)
492
- @else
493
- color: $map-or-color
494
-
495
- @include map-to-rule((foo: (bar: (baz: blue, qux: red), zap: green)))
496
- SASS
497
- end
498
-
499
- def test_double_import_loop_exception
500
- importer = MockImporter.new
501
- importer.add_import("foo", "@import 'bar'")
502
- importer.add_import("bar", "@import 'foo'")
503
-
504
- engine = Sass::Engine.new('@import "foo"', :filename => filename_for_test,
505
- :load_paths => [importer], :importer => importer)
506
-
507
- assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) {engine.render}
508
- An @import loop has been found:
509
- #{filename_for_test} imports foo
510
- foo imports bar
511
- bar imports foo
512
- ERR
513
- end
514
-
515
- def test_deep_import_loop_exception
516
- importer = MockImporter.new
517
- importer.add_import("foo", "@import 'bar'")
518
- importer.add_import("bar", "@import 'baz'")
519
- importer.add_import("baz", "@import 'foo'")
520
-
521
- engine = Sass::Engine.new('@import "foo"', :filename => filename_for_test,
522
- :load_paths => [importer], :importer => importer)
523
-
524
- assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) {engine.render}
525
- An @import loop has been found:
526
- #{filename_for_test} imports foo
527
- foo imports bar
528
- bar imports baz
529
- baz imports foo
530
- ERR
531
- end
532
-
533
- def test_exception_css_with_offset
534
- opts = {:full_exception => true, :line => 362}
535
- render(("a\n b: c\n" * 10) + "d\n e:\n" + ("f\n g: h\n" * 10), opts)
536
- rescue Sass::SyntaxError => e
537
- assert_equal(<<CSS, Sass::SyntaxError.exception_to_css(e, opts[:line]).split("\n")[0..15].join("\n"))
538
- /*
539
- Error: Invalid property: "e:" (no value).
540
- on line 383 of test_exception_css_with_offset_inline.sass
541
-
542
- 378: a
543
- 379: b: c
544
- 380: a
545
- 381: b: c
546
- 382: d
547
- 383: e:
548
- 384: f
549
- 385: g: h
550
- 386: f
551
- 387: g: h
552
- 388: f
553
- CSS
554
- else
555
- assert(false, "Exception not raised for test_exception_css_with_offset")
556
- end
557
-
558
- def test_exception_css_with_mixins
559
- render(<<SASS, :full_exception => true)
560
- =error-mixin($a)
561
- color: $a * 1em * 1px
562
-
563
- =outer-mixin($a)
564
- +error-mixin($a)
565
-
566
- .error
567
- +outer-mixin(12)
568
- SASS
569
- rescue Sass::SyntaxError => e
570
- assert_equal(<<CSS, Sass::SyntaxError.exception_to_css(e).split("\n")[0..13].join("\n"))
571
- /*
572
- Error: 12em*px isn't a valid CSS value.
573
- on line 2 of test_exception_css_with_mixins_inline.sass, in `error-mixin'
574
- from line 5 of test_exception_css_with_mixins_inline.sass, in `outer-mixin'
575
- from line 8 of test_exception_css_with_mixins_inline.sass
576
-
577
- 1: =error-mixin($a)
578
- 2: color: $a * 1em * 1px
579
- 3:
580
- 4: =outer-mixin($a)
581
- 5: +error-mixin($a)
582
- 6:
583
- 7: .error
584
- CSS
585
- else
586
- assert(false, "Exception not raised")
587
- end
588
-
589
- def test_cssize_exception_css
590
- render(<<SASS, :full_exception => true)
591
- .filler
592
- stuff: "stuff!"
593
-
594
- a: b
595
-
596
- .more.filler
597
- a: b
598
- SASS
599
- rescue Sass::SyntaxError => e
600
- assert_equal(<<CSS, Sass::SyntaxError.exception_to_css(e).split("\n")[0..11].join("\n"))
601
- /*
602
- Error: Properties are only allowed within rules, directives, mixin includes, or other properties.
603
- on line 4 of test_cssize_exception_css_inline.sass
604
-
605
- 1: .filler
606
- 2: stuff: "stuff!"
607
- 3:
608
- 4: a: b
609
- 5:
610
- 6: .more.filler
611
- 7: a: b
612
- CSS
613
- else
614
- assert(false, "Exception not raised")
615
- end
616
-
617
- def test_css_import
618
- assert_equal("@import url(./fonts.css);\n", render("@import \"./fonts.css\""))
619
- end
620
-
621
- def test_http_import
622
- assert_equal("@import \"http://fonts.googleapis.com/css?family=Droid+Sans\";\n",
623
- render("@import \"http://fonts.googleapis.com/css?family=Droid+Sans\""))
624
- end
625
-
626
- def test_protocol_relative_import
627
- assert_equal("@import \"//fonts.googleapis.com/css?family=Droid+Sans\";\n",
628
- render("@import \"//fonts.googleapis.com/css?family=Droid+Sans\""))
629
- end
630
-
631
- def test_import_with_interpolation
632
- assert_equal(<<CSS, render(<<SASS))
633
- @import url("http://fonts.googleapis.com/css?family=Droid+Sans");
634
- CSS
635
- $family: unquote("Droid+Sans")
636
- @import url("http://fonts.googleapis.com/css?family=\#{$family}")
637
- SASS
638
- end
639
-
640
- def test_import_with_dynamic_media_query
641
- assert_equal(<<CSS, render(<<SASS))
642
- @import "foo" print and (-webkit-min-device-pixel-ratio-foo: 25);
643
- CSS
644
- $media: print
645
- $key: -webkit-min-device-pixel-ratio
646
- $value: 20
647
- @import "foo" \#{$media} and ($key + "-foo": $value + 5)
648
- SASS
649
- end
650
-
651
- def test_url_import
652
- assert_equal("@import url(fonts.sass);\n", render("@import url(fonts.sass)"))
653
- end
654
-
655
- def test_sass_import
656
- sassc_file = sassc_path("importee")
657
- assert !File.exist?(sassc_file)
658
- renders_correctly "import", { :style => :compact, :load_paths => [File.dirname(__FILE__) + "/templates"] }
659
- assert File.exist?(sassc_file)
660
- end
661
-
662
- def test_sass_pathname_import
663
- sassc_file = sassc_path("importee")
664
- assert !File.exist?(sassc_file)
665
- renders_correctly("import",
666
- :style => :compact,
667
- :load_paths => [Pathname.new(File.dirname(__FILE__) + "/templates")])
668
- assert File.exist?(sassc_file)
669
- end
670
-
671
- def test_import_from_global_load_paths
672
- importer = MockImporter.new
673
- importer.add_import("imported", "div{color:red}")
674
- Sass.load_paths << importer
675
-
676
- assert_equal "div {\n color: red; }\n", Sass::Engine.new('@import "imported"', :importer => importer).render
677
- ensure
678
- Sass.load_paths.clear
679
- end
680
-
681
- def test_nonexistent_import
682
- assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) do
683
- File to import not found or unreadable: nonexistent.sass.
684
- ERR
685
- render("@import nonexistent.sass")
686
- end
687
- end
688
-
689
- def test_nonexistent_extensionless_import
690
- assert_raise_message(Sass::SyntaxError, <<ERR.rstrip) do
691
- File to import not found or unreadable: nonexistent.
692
- ERR
693
- render("@import nonexistent")
694
- end
695
- end
696
-
697
- def test_no_cache
698
- assert !File.exist?(sassc_path("importee"))
699
- renders_correctly("import", {
700
- :style => :compact, :cache => false,
701
- :load_paths => [File.dirname(__FILE__) + "/templates"],
702
- })
703
- assert !File.exist?(sassc_path("importee"))
704
- end
705
-
706
- def test_import_in_rule
707
- assert_equal(<<CSS, render(<<SASS, :load_paths => [File.dirname(__FILE__) + '/templates/']))
708
- .foo #foo {
709
- background-color: #baf; }
710
-
711
- .bar {
712
- a: b; }
713
- .bar #foo {
714
- background-color: #baf; }
715
- CSS
716
- .foo
717
- @import partial
718
-
719
- .bar
720
- a: b
721
- @import partial
722
- SASS
723
- end
724
-
725
- def test_units
726
- renders_correctly "units"
727
- end
728
-
729
- def test_default_function
730
- assert_equal(<<CSS, render(<<SASS))
731
- foo {
732
- bar: url("foo.png"); }
733
- CSS
734
- foo
735
- bar: url("foo.png")
736
- SASS
737
- assert_equal("foo {\n bar: url(); }\n", render("foo\n bar: url()\n"));
738
- end
739
-
740
- def test_string_minus
741
- assert_equal("foo {\n bar: baz-boom-bat; }\n", render(%Q{foo\n bar: baz-boom-bat}))
742
- assert_equal("foo {\n bar: -baz-boom; }\n", render(%Q{foo\n bar: -baz-boom}))
743
- end
744
-
745
- def test_string_div
746
- assert_equal("foo {\n bar: baz/boom/bat; }\n", render(%Q{foo\n bar: baz/boom/bat}))
747
- assert_equal("foo {\n bar: /baz/boom; }\n", render(%Q{foo\n bar: /baz/boom}))
748
- end
749
-
750
- def test_basic_multiline_selector
751
- assert_equal("#foo #bar,\n#baz #boom {\n foo: bar; }\n",
752
- render("#foo #bar,\n#baz #boom\n foo: bar"))
753
- assert_equal("#foo #bar,\n#foo #baz {\n foo: bar; }\n",
754
- render("#foo\n #bar,\n #baz\n foo: bar"))
755
- assert_equal("#foo,\n#bar {\n foo: bar; }\n #foo #baz,\n #bar #baz {\n foo: bar; }\n",
756
- render("#foo,\n#bar\n foo: bar\n #baz\n foo: bar"))
757
- assert_equal("#foo #bar, #baz #boom { foo: bar; }\n",
758
- render("#foo #bar,\n#baz #boom\n foo: bar", :style => :compact))
759
-
760
- assert_equal("#foo #bar,#baz #boom{foo:bar}\n",
761
- render("#foo #bar,\n#baz #boom\n foo: bar", :style => :compressed))
762
-
763
- assert_equal("#foo #bar,\n#baz #boom {\n foo: bar; }\n",
764
- render("#foo #bar,,\n,#baz #boom,\n foo: bar"))
765
-
766
- assert_equal("#bip #bop {\n foo: bar; }\n",
767
- render("#bip #bop,, ,\n foo: bar"))
768
- end
769
-
770
- def test_complex_multiline_selector
771
- renders_correctly "multiline"
772
- end
773
-
774
- def test_colon_only
775
- begin
776
- render("a\n b: c", :property_syntax => :old)
777
- rescue Sass::SyntaxError => e
778
- assert_equal("Illegal property syntax: can't use new syntax when :property_syntax => :old is set.",
779
- e.message)
780
- assert_equal(2, e.sass_line)
781
- else
782
- assert(false, "SyntaxError not raised for :property_syntax => :old")
783
- end
784
-
785
- begin
786
- silence_warnings {render("a\n :b c", :property_syntax => :new)}
787
- assert_equal(2, e.sass_line)
788
- rescue Sass::SyntaxError => e
789
- assert_equal("Illegal property syntax: can't use old syntax when :property_syntax => :new is set.",
790
- e.message)
791
- else
792
- assert(false, "SyntaxError not raised for :property_syntax => :new")
793
- end
794
- end
795
-
796
- def test_pseudo_elements
797
- assert_equal(<<CSS, render(<<SASS))
798
- ::first-line {
799
- size: 10em; }
800
- CSS
801
- ::first-line
802
- size: 10em
803
- SASS
804
- end
805
-
806
- def test_directive
807
- assert_equal("@a b;\n", render("@a b"))
808
-
809
- assert_equal("@a {\n b: c; }\n", render("@a\n b: c"))
810
- assert_equal("@a { b: c; }\n", render("@a\n b: c", :style => :compact))
811
- assert_equal("@a {\n b: c;\n}\n", render("@a\n b: c", :style => :expanded))
812
- assert_equal("@a{b:c}\n", render("@a\n b: c", :style => :compressed))
813
-
814
- assert_equal("@a {\n b: c;\n d: e; }\n",
815
- render("@a\n b: c\n d: e"))
816
- assert_equal("@a { b: c; d: e; }\n",
817
- render("@a\n b: c\n d: e", :style => :compact))
818
- assert_equal("@a {\n b: c;\n d: e;\n}\n",
819
- render("@a\n b: c\n d: e", :style => :expanded))
820
- assert_equal("@a{b:c;d:e}\n",
821
- render("@a\n b: c\n d: e", :style => :compressed))
822
-
823
- assert_equal("@a {\n #b {\n c: d; } }\n",
824
- render("@a\n #b\n c: d"))
825
- assert_equal("@a { #b { c: d; } }\n",
826
- render("@a\n #b\n c: d", :style => :compact))
827
- assert_equal("@a {\n #b {\n c: d;\n }\n}\n",
828
- render("@a\n #b\n c: d", :style => :expanded))
829
- assert_equal("@a{#b{c:d}}\n",
830
- render("@a\n #b\n c: d", :style => :compressed))
831
-
832
- assert_equal("@a {\n #b {\n a: b; }\n #b #c {\n d: e; } }\n",
833
- render("@a\n #b\n a: b\n #c\n d: e"))
834
- assert_equal("@a { #b { a: b; }\n #b #c { d: e; } }\n",
835
- render("@a\n #b\n a: b\n #c\n d: e", :style => :compact))
836
- assert_equal("@a {\n #b {\n a: b;\n }\n #b #c {\n d: e;\n }\n}\n",
837
- render("@a\n #b\n a: b\n #c\n d: e", :style => :expanded))
838
- assert_equal("@a{#b{a:b}#b #c{d:e}}\n",
839
- render("@a\n #b\n a: b\n #c\n d: e", :style => :compressed))
840
-
841
- assert_equal("@a {\n #foo,\n #bar {\n b: c; } }\n",
842
- render("@a\n #foo, \n #bar\n b: c"))
843
- assert_equal("@a { #foo, #bar { b: c; } }\n",
844
- render("@a\n #foo, \n #bar\n b: c", :style => :compact))
845
- assert_equal("@a {\n #foo,\n #bar {\n b: c;\n }\n}\n",
846
- render("@a\n #foo, \n #bar\n b: c", :style => :expanded))
847
- assert_equal("@a{#foo,#bar{b:c}}\n",
848
- render("@a\n #foo, \n #bar\n b: c", :style => :compressed))
849
-
850
- to_render = <<END
851
- @a
852
- b: c
853
- #d
854
- e: f
855
- g: h
856
- END
857
- rendered = <<END
858
- @a { b: c;
859
- #d { e: f; }
860
- g: h; }
861
- END
862
- assert_equal(rendered, render(to_render, :style => :compact))
863
-
864
- assert_equal("@a{b:c;#d{e:f}g:h}\n", render(to_render, :style => :compressed))
865
- end
866
-
867
- def test_property_hacks
868
- assert_equal(<<CSS, render(<<SASS))
869
- foo {
870
- _name: val;
871
- *name: val;
872
- #name: val;
873
- .name: val;
874
- name/**/: val;
875
- name/*\\**/: val;
876
- name: val; }
877
- CSS
878
- foo
879
- _name: val
880
- *name: val
881
- #name: val
882
- .name: val
883
- name/**/: val
884
- name/*\\**/: val
885
- name: val
886
- SASS
887
- end
888
-
889
- def test_properties_with_space_after_colon
890
- assert_equal <<CSS, render(<<SASS)
891
- foo {
892
- bar: baz;
893
- bizz: bap; }
894
- CSS
895
- foo
896
- bar : baz
897
- bizz : bap
898
- SASS
899
- end
900
-
901
- def test_line_annotations
902
- assert_equal(<<CSS, render(<<SASS, :line_comments => true, :style => :compact))
903
- /* line 2, test_line_annotations_inline.sass */
904
- foo bar { foo: bar; }
905
- /* line 5, test_line_annotations_inline.sass */
906
- foo baz { blip: blop; }
907
-
908
- /* line 9, test_line_annotations_inline.sass */
909
- floodle { flop: blop; }
910
-
911
- /* line 18, test_line_annotations_inline.sass */
912
- bup { mix: on; }
913
- /* line 15, test_line_annotations_inline.sass */
914
- bup mixin { moop: mup; }
915
-
916
- /* line 22, test_line_annotations_inline.sass */
917
- bip hop, skip hop { a: b; }
918
- CSS
919
- foo
920
- bar
921
- foo: bar
922
-
923
- baz
924
- blip: blop
925
-
926
-
927
- floodle
928
-
929
- flop: blop
930
-
931
- =mxn
932
- mix: on
933
- mixin
934
- moop: mup
935
-
936
- bup
937
- +mxn
938
-
939
- bip, skip
940
- hop
941
- a: b
942
- SASS
943
- end
944
-
945
- def test_line_annotations_with_filename
946
- renders_correctly "line_numbers", :line_comments => true, :load_paths => [File.dirname(__FILE__) + "/templates"]
947
- end
948
-
949
- def test_debug_info
950
- esc_file_name = Sass::SCSS::RX.escape_ident(Sass::Util.scope("test_debug_info_inline.sass"))
951
-
952
- assert_equal(<<CSS, render(<<SASS, :debug_info => true, :style => :compact))
953
- @media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\000032}}
954
- foo bar { foo: bar; }
955
- @media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\000035}}
956
- foo baz { blip: blop; }
957
-
958
- @media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\000039}}
959
- floodle { flop: blop; }
960
-
961
- @media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\0000318}}
962
- bup { mix: on; }
963
- @media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\0000315}}
964
- bup mixin { moop: mup; }
965
-
966
- @media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\0000322}}
967
- bip hop, skip hop { a: b; }
968
- CSS
969
- foo
970
- bar
971
- foo: bar
972
-
973
- baz
974
- blip: blop
975
-
976
-
977
- floodle
978
-
979
- flop: blop
980
-
981
- =mxn
982
- mix: on
983
- mixin
984
- moop: mup
985
-
986
- bup
987
- +mxn
988
-
989
- bip, skip
990
- hop
991
- a: b
992
- SASS
993
- end
994
-
995
- def test_debug_info_without_filename
996
- assert_equal(<<CSS, Sass::Engine.new(<<SASS, :debug_info => true).render)
997
- @media -sass-debug-info{filename{}line{font-family:\\000031}}
998
- foo {
999
- a: b; }
1000
- CSS
1001
- foo
1002
- a: b
1003
- SASS
1004
- end
1005
-
1006
- def test_debug_info_with_compressed
1007
- assert_equal(<<CSS, render(<<SASS, :debug_info => true, :style => :compressed))
1008
- foo{a:b}
1009
- CSS
1010
- foo
1011
- a: b
1012
- SASS
1013
- end
1014
-
1015
- def test_debug_info_with_line_annotations
1016
- esc_file_name = Sass::SCSS::RX.escape_ident(Sass::Util.scope("test_debug_info_with_line_annotations_inline.sass"))
1017
-
1018
- assert_equal(<<CSS, render(<<SASS, :debug_info => true, :line_comments => true))
1019
- @media -sass-debug-info{filename{font-family:file\\:\\/\\/#{esc_file_name}}line{font-family:\\000031}}
1020
- foo {
1021
- a: b; }
1022
- CSS
1023
- foo
1024
- a: b
1025
- SASS
1026
- end
1027
-
1028
- def test_debug_info_in_keyframes
1029
- assert_equal(<<CSS, render(<<SASS, :debug_info => true))
1030
- @-webkit-keyframes warm {
1031
- from {
1032
- color: black; }
1033
- to {
1034
- color: red; } }
1035
- CSS
1036
- @-webkit-keyframes warm
1037
- from
1038
- color: black
1039
- to
1040
- color: red
1041
- SASS
1042
- end
1043
-
1044
- def test_empty_first_line
1045
- assert_equal("#a {\n b: c; }\n", render("#a\n\n b: c"))
1046
- end
1047
-
1048
- def test_escaped_rule
1049
- assert_equal(":focus {\n a: b; }\n", render("\\:focus\n a: b"))
1050
- assert_equal("a {\n b: c; }\n a :focus {\n d: e; }\n", render("\\a\n b: c\n \\:focus\n d: e"))
1051
- end
1052
-
1053
- def test_cr_newline
1054
- assert_equal("foo {\n a: b;\n c: d;\n e: f; }\n", render("foo\r a: b\r\n c: d\n\r e: f"))
1055
- end
1056
-
1057
- def test_property_with_content_and_nested_props
1058
- assert_equal(<<CSS, render(<<SASS))
1059
- foo {
1060
- a: b;
1061
- a-c: d;
1062
- a-c-e: f; }
1063
- CSS
1064
- foo
1065
- a: b
1066
- c: d
1067
- e: f
1068
- SASS
1069
-
1070
- assert_equal(<<CSS, render(<<SASS))
1071
- foo {
1072
- a: b;
1073
- a-c-e: f; }
1074
- CSS
1075
- foo
1076
- a: b
1077
- c:
1078
- e: f
1079
- SASS
1080
- end
1081
-
1082
- def test_guarded_assign
1083
- assert_equal("foo {\n a: b; }\n", render(%Q{$foo: b\n$foo: c !default\nfoo\n a: $foo}))
1084
- assert_equal("foo {\n a: b; }\n", render(%Q{$foo: b !default\nfoo\n a: $foo}))
1085
- assert_equal("foo {\n a: b; }\n", render(%Q{$foo: null\n$foo: b !default\nfoo\n a: $foo}))
1086
- end
1087
-
1088
- def test_mixins
1089
- renders_correctly "mixins", { :style => :expanded }
1090
- end
1091
-
1092
- def test_directive_style_mixins
1093
- assert_equal <<CSS, render(<<SASS)
1094
- bar {
1095
- prop: baz; }
1096
- CSS
1097
- @mixin foo($arg)
1098
- prop: $arg
1099
-
1100
- bar
1101
- @include foo(baz)
1102
- SASS
1103
- end
1104
-
1105
- def test_mixins_dont_interfere_with_sibling_combinator
1106
- assert_equal("foo + bar {\n a: b; }\nfoo + baz {\n c: d; }\n",
1107
- render("foo\n +\n bar\n a: b\n baz\n c: d"))
1108
- end
1109
-
1110
- def test_mixin_args
1111
- assert_equal("blat {\n baz: hi; }\n", render(<<SASS))
1112
- =foo($bar)
1113
- baz: $bar
1114
- blat
1115
- +foo(hi)
1116
- SASS
1117
- assert_equal("blat {\n baz: 3; }\n", render(<<SASS))
1118
- =foo($a, $b)
1119
- baz: $a + $b
1120
- blat
1121
- +foo(1, 2)
1122
- SASS
1123
- assert_equal("blat {\n baz: 4;\n baz: 3;\n baz: 5;\n bang: 3; }\n", render(<<SASS))
1124
- =foo($c: (6 + 4) / 2)
1125
- baz: $c
1126
- $c: 3
1127
- blat
1128
- +foo($c + 1)
1129
- +foo(($c + 3)/2)
1130
- +foo
1131
- bang: $c
1132
- SASS
1133
- end
1134
-
1135
- def test_default_values_for_mixin_arguments
1136
- assert_equal(<<CSS, render(<<SASS))
1137
- white {
1138
- color: #FFF; }
1139
-
1140
- black {
1141
- color: #000; }
1142
- CSS
1143
- =foo($a: #FFF)
1144
- color: $a
1145
- white
1146
- +foo
1147
- black
1148
- +foo(#000)
1149
- SASS
1150
- assert_equal(<<CSS, render(<<SASS))
1151
- one {
1152
- color: #fff;
1153
- padding: 1px;
1154
- margin: 4px; }
1155
-
1156
- two {
1157
- color: #fff;
1158
- padding: 2px;
1159
- margin: 5px; }
1160
-
1161
- three {
1162
- color: #fff;
1163
- padding: 2px;
1164
- margin: 3px; }
1165
- CSS
1166
- $a: 5px
1167
- =foo($a, $b: 1px, $c: 3px + $b)
1168
- color: $a
1169
- padding: $b
1170
- margin: $c
1171
- one
1172
- +foo(#fff)
1173
- two
1174
- +foo(#fff, 2px)
1175
- three
1176
- +foo(#fff, 2px, 3px)
1177
- SASS
1178
- assert_equal(<<CSS, render(<<SASS))
1179
- one {
1180
- color: #fff;
1181
- padding: 1px;
1182
- margin: 4px; }
1183
-
1184
- two {
1185
- color: #fff;
1186
- padding: 2px;
1187
- margin: 5px; }
1188
-
1189
- three {
1190
- color: #fff;
1191
- padding: 2px;
1192
- margin: 3px; }
1193
- CSS
1194
- $a: 5px
1195
- =foo($a, $b: 1px, $c: null)
1196
- $c: 3px + $b !default
1197
- color: $a
1198
- padding: $b
1199
- margin: $c
1200
- one
1201
- +foo(#fff)
1202
- two
1203
- +foo(#fff, 2px)
1204
- three
1205
- +foo(#fff, 2px, 3px)
1206
- SASS
1207
- end
1208
-
1209
- def test_hyphen_underscore_insensitive_mixins
1210
- assert_equal(<<CSS, render(<<SASS))
1211
- a {
1212
- b: 12;
1213
- c: foo; }
1214
- CSS
1215
- =mixin-hyphen
1216
- b: 12
1217
-
1218
- =mixin_under
1219
- c: foo
1220
-
1221
- a
1222
- +mixin_hyphen
1223
- +mixin-under
1224
- SASS
1225
- end
1226
-
1227
- def test_css_identifier_mixin
1228
- assert_equal(<<CSS, render(<<SASS))
1229
- a {
1230
- foo: 12; }
1231
- CSS
1232
- =\\{foo\\(12\\)($a)
1233
- foo: $a
1234
-
1235
- a
1236
- +\\{foo\\(12\\)(12)
1237
- SASS
1238
- end
1239
-
1240
- def test_basic_function
1241
- assert_equal(<<CSS, render(<<SASS))
1242
- bar {
1243
- a: 3; }
1244
- CSS
1245
- @function foo()
1246
- @return 1 + 2
1247
-
1248
- bar
1249
- a: foo()
1250
- SASS
1251
- end
1252
-
1253
- def test_function_args
1254
- assert_equal(<<CSS, render(<<SASS))
1255
- bar {
1256
- a: 3; }
1257
- CSS
1258
- @function plus($var1, $var2)
1259
- @return $var1 + $var2
1260
-
1261
- bar
1262
- a: plus(1, 2)
1263
- SASS
1264
- end
1265
-
1266
- def test_function_arg_default
1267
- assert_equal(<<CSS, render(<<SASS))
1268
- bar {
1269
- a: 3; }
1270
- CSS
1271
- @function plus($var1, $var2: 2)
1272
- @return $var1 + $var2
1273
-
1274
- bar
1275
- a: plus(1)
1276
- SASS
1277
- end
1278
-
1279
- def test_function_arg_keyword
1280
- assert_equal(<<CSS, render(<<SASS))
1281
- bar {
1282
- a: 1bar; }
1283
- CSS
1284
- @function plus($var1: 1, $var2: 2)
1285
- @return $var1 + $var2
1286
-
1287
- bar
1288
- a: plus($var2: bar)
1289
- SASS
1290
- end
1291
-
1292
- def test_function_with_missing_argument
1293
- render(<<SASS)
1294
- @function plus($var1, $var2)
1295
- @return $var1 + $var2
1296
-
1297
- bar
1298
- a: plus($var2: bar)
1299
- SASS
1300
- flunk("Expected exception")
1301
- rescue Sass::SyntaxError => e
1302
- assert_equal("Function plus is missing argument $var1.", e.message)
1303
- end
1304
-
1305
- def test_function_with_extra_argument
1306
- render(<<SASS)
1307
- @function plus($var1, $var2)
1308
- @return $var1 + $var2
1309
-
1310
- bar
1311
- a: plus($var1: foo, $var2: bar, $var3: baz)
1312
- SASS
1313
- flunk("Expected exception")
1314
- rescue Sass::SyntaxError => e
1315
- assert_equal("Function plus doesn't have an argument named $var3.", e.message)
1316
- end
1317
-
1318
- def test_function_with_positional_and_keyword_argument
1319
- render(<<SASS)
1320
- @function plus($var1, $var2)
1321
- @return $var1 + $var2
1322
-
1323
- bar
1324
- a: plus(foo, bar, $var2: baz)
1325
- SASS
1326
- flunk("Expected exception")
1327
- rescue Sass::SyntaxError => e
1328
- assert_equal("Function plus was passed argument $var2 both by position and by name.", e.message)
1329
- end
1330
-
1331
- def test_function_with_keyword_before_positional_argument
1332
- render(<<SASS)
1333
- @function plus($var1, $var2)
1334
- @return $var1 + $var2
1335
-
1336
- bar
1337
- a: plus($var2: foo, bar)
1338
- SASS
1339
- flunk("Expected exception")
1340
- rescue Sass::SyntaxError => e
1341
- assert_equal("Positional arguments must come before keyword arguments.", e.message)
1342
- end
1343
-
1344
- def test_function_with_if
1345
- assert_equal(<<CSS, render(<<SASS))
1346
- bar {
1347
- a: foo;
1348
- b: bar; }
1349
- CSS
1350
- @function my-if($cond, $val1, $val2)
1351
- @if $cond
1352
- @return $val1
1353
- @else
1354
- @return $val2
1355
-
1356
- bar
1357
- a: my-if(true, foo, bar)
1358
- b: my-if(false, foo, bar)
1359
- SASS
1360
- end
1361
-
1362
- def test_function_with_var
1363
- assert_equal(<<CSS, render(<<SASS))
1364
- bar {
1365
- a: 1; }
1366
- CSS
1367
- @function foo($val1, $val2)
1368
- $intermediate: $val1 + $val2
1369
- @return $intermediate/3
1370
-
1371
- bar
1372
- a: foo(1, 2)
1373
- SASS
1374
- end
1375
-
1376
- def test_user_defined_function_variable_scope
1377
- render(<<SASS)
1378
- bar
1379
- -no-op: set-a-variable(variable, 5)
1380
- a: $variable
1381
- SASS
1382
- flunk("Exception not raised for test_user_defined_function_variable_scope")
1383
- rescue Sass::SyntaxError => e
1384
- assert_equal('Undefined variable: "$variable".', e.message)
1385
- end
1386
-
1387
- def test_user_defined_function_can_change_global_variable
1388
- assert_equal(<<CSS, render(<<SASS))
1389
- bar {
1390
- a: 5; }
1391
- CSS
1392
- $variable: 0
1393
- bar
1394
- $local: 10
1395
- -no-op: set-a-global-variable(variable, 5)
1396
- a: $variable
1397
- SASS
1398
- end
1399
-
1400
- def test_user_defined_function_cannot_read_local_variable
1401
- assert_equal(<<CSS, render(<<SASS))
1402
- bar {
1403
- global: 0;
1404
- local: undefined; }
1405
- CSS
1406
- $global: 0
1407
- bar
1408
- $local: 10
1409
- global: get-a-variable(global)
1410
- local: get-a-variable(local)
1411
- SASS
1412
- end
1413
-
1414
- def test_control_directive_in_nested_property
1415
- assert_equal(<<CSS, render(<<SASS))
1416
- foo {
1417
- a-b: c; }
1418
- CSS
1419
- foo
1420
- a:
1421
- @if true
1422
- b: c
1423
- SASS
1424
- end
1425
-
1426
- def test_interpolation
1427
- assert_equal("a-1 {\n b-2-3: c-3; }\n", render(<<SASS))
1428
- $a: 1
1429
- $b: 2
1430
- $c: 3
1431
- a-\#{$a}
1432
- b-\#{$b}-\#{$c}: c-\#{$a + $b}
1433
- SASS
1434
- end
1435
-
1436
- def test_complex_property_interpolation
1437
- assert_equal(<<CSS, render(<<SASS))
1438
- a-1 {
1439
- b-2 3-fizzap18: c-3; }
1440
- CSS
1441
- $a: 1
1442
- $b: 2
1443
- $c: 3
1444
- a-\#{$a}
1445
- b-\#{$b $c}-\#{fizzap + ($c + 15)}: c-\#{$a + $b}
1446
- SASS
1447
- end
1448
-
1449
- def test_if_directive
1450
- assert_equal("a {\n b: 1; }\n", render(<<SASS))
1451
- $var: true
1452
- a
1453
- @if $var
1454
- b: 1
1455
- @if not $var
1456
- b: 2
1457
- SASS
1458
-
1459
- assert_equal("a {\n b: 2; }\n", render(<<SASS))
1460
- $var: null
1461
- a
1462
- @if $var
1463
- b: 1
1464
- @if not $var
1465
- b: 2
1466
- SASS
1467
- end
1468
-
1469
- def test_for
1470
- assert_equal(<<CSS, render(<<SASS))
1471
- a-0 {
1472
- two-i: 0; }
1473
-
1474
- a-1 {
1475
- two-i: 2; }
1476
-
1477
- a-2 {
1478
- two-i: 4; }
1479
-
1480
- a-3 {
1481
- two-i: 6; }
1482
-
1483
- b-1 {
1484
- j-1: 0; }
1485
-
1486
- b-2 {
1487
- j-1: 1; }
1488
-
1489
- b-3 {
1490
- j-1: 2; }
1491
-
1492
- b-4 {
1493
- j-1: 3; }
1494
- CSS
1495
- $a: 3
1496
- @for $i from 0 to $a + 1
1497
- a-\#{$i}
1498
- two-i: 2 * $i
1499
-
1500
- @for $j from 1 through 4
1501
- b-\#{$j}
1502
- j-1: $j - 1
1503
- SASS
1504
- end
1505
-
1506
- def test_while
1507
- assert_equal(<<CSS, render(<<SASS))
1508
- a-5 {
1509
- blooble: gloop; }
1510
-
1511
- a-4 {
1512
- blooble: gloop; }
1513
-
1514
- a-3 {
1515
- blooble: gloop; }
1516
-
1517
- a-2 {
1518
- blooble: gloop; }
1519
-
1520
- a-1 {
1521
- blooble: gloop; }
1522
- CSS
1523
- $a: 5
1524
- @while $a != 0
1525
- a-\#{$a}
1526
- blooble: gloop
1527
- $a: $a - 1 !global
1528
- SASS
1529
- end
1530
-
1531
- def test_else
1532
- assert_equal(<<CSS, render(<<SASS))
1533
- a {
1534
- t1: t;
1535
- t2: t;
1536
- t3: t;
1537
- t4: t; }
1538
- CSS
1539
- a
1540
- @if true
1541
- t1: t
1542
- @else
1543
- f1: f
1544
-
1545
- @if false
1546
- f2: f
1547
- @else
1548
- t2: t
1549
-
1550
- @if false
1551
- f3: f1
1552
- @else if 1 + 1 == 3
1553
- f3: f2
1554
- @else
1555
- t3: t
1556
-
1557
- @if false
1558
- f4: f1
1559
- @else if 1 + 1 == 2
1560
- t4: t
1561
- @else
1562
- f4: f2
1563
-
1564
- @if false
1565
- f5: f1
1566
- @else if false
1567
- f5: f2
1568
- SASS
1569
- end
1570
-
1571
- def test_each
1572
- assert_equal(<<CSS, render(<<SASS))
1573
- a {
1574
- b: 1px;
1575
- b: 2px;
1576
- b: 3px;
1577
- b: 4px;
1578
- c: foo;
1579
- c: bar;
1580
- c: baz;
1581
- c: bang;
1582
- d: blue; }
1583
- CSS
1584
- a
1585
- @each $number in 1px 2px 3px 4px
1586
- b: $number
1587
- @each $str in foo, bar, baz, bang
1588
- c: $str
1589
- @each $single in blue
1590
- d: $single
1591
- SASS
1592
- end
1593
-
1594
- def test_destructuring_each
1595
- assert_equal <<CSS, render(<<SCSS)
1596
- a {
1597
- foo: 1px;
1598
- bar: 2px;
1599
- baz: 3px; }
1600
-
1601
- c {
1602
- foo: "Value is bar";
1603
- bar: "Value is baz";
1604
- bang: "Value is "; }
1605
- CSS
1606
- a
1607
- @each $name, $number in (foo: 1px, bar: 2px, baz: 3px)
1608
- \#{$name}: $number
1609
- c
1610
- @each $key, $value in (foo bar) (bar, baz) bang
1611
- \#{$key}: "Value is \#{$value}"
1612
- SCSS
1613
- end
1614
-
1615
- def test_variable_reassignment
1616
- assert_equal(<<CSS, render(<<SASS))
1617
- a {
1618
- b: 1;
1619
- c: 2; }
1620
- CSS
1621
- a
1622
- $a: 1
1623
- b: $a
1624
- $a: 2
1625
- c: $a
1626
- SASS
1627
- end
1628
-
1629
- def test_hyphen_underscore_insensitive_variables
1630
- assert_equal(<<CSS, render(<<SASS))
1631
- d {
1632
- e: 13;
1633
- f: foobar; }
1634
- CSS
1635
- $var-hyphen: 12
1636
- $var_under: foo
1637
-
1638
- $var_hyphen: 1 + $var_hyphen
1639
- $var-under: $var-under + bar
1640
-
1641
- d
1642
- e: $var-hyphen
1643
- f: $var_under
1644
- SASS
1645
- end
1646
-
1647
- def test_css_identifier_variable
1648
- assert_equal(<<CSS, render(<<SASS))
1649
- a {
1650
- b: 12; }
1651
- CSS
1652
- $\\{foo\\(12\\): 12
1653
-
1654
- a
1655
- b: $\\{foo\\(12\\)
1656
- SASS
1657
- end
1658
-
1659
- def test_important
1660
- assert_equal(<<CSS, render(<<SASS))
1661
- a {
1662
- b: 12px !important; }
1663
- CSS
1664
- $foo: 12px
1665
- a
1666
- b: $foo !important
1667
- SASS
1668
- end
1669
-
1670
- def test_argument_error
1671
- assert_raises(Sass::SyntaxError) { render("a\n b: hsl(1)") }
1672
- end
1673
-
1674
- def test_comments_at_the_top_of_a_document
1675
- render(<<SASS)
1676
- //
1677
- This is a comment that
1678
- continues to the second line.
1679
- foo
1680
- bar: baz
1681
- SASS
1682
- end
1683
-
1684
- def test_loud_comments_containing_a_comment_close
1685
- actual_css = render(<<SASS)
1686
- /*
1687
- This is a comment that
1688
- continues to the second line. */
1689
- foo
1690
- bar: baz
1691
- SASS
1692
- assert_equal(<<CSS, actual_css)
1693
- /* This is a comment that
1694
- * continues to the second line. */
1695
- foo {
1696
- bar: baz; }
1697
- CSS
1698
- end
1699
-
1700
- def test_loud_comments_with_starred_lines
1701
- assert_equal(<<CSS, render(<<SASS))
1702
- /* This is a comment that
1703
- * continues to the second line.
1704
- * And even to the third! */
1705
- CSS
1706
- /* This is a comment that
1707
- * continues to the second line.
1708
- * And even to the third!
1709
- SASS
1710
- end
1711
-
1712
- def test_loud_comments_with_no_space_after_starred_lines
1713
- assert_equal(<<CSS, render(<<SASS))
1714
- /*bip bop
1715
- *beep boop
1716
- *bap blimp */
1717
- CSS
1718
- /*bip bop
1719
- *beep boop
1720
- *bap blimp
1721
- SASS
1722
- end
1723
-
1724
- def test_comment_indentation_at_beginning_of_doc
1725
- assert_equal <<CSS, render(<<SASS)
1726
- /* foo
1727
- * bar
1728
- * baz */
1729
- foo {
1730
- a: b; }
1731
- CSS
1732
- /* foo
1733
- bar
1734
- baz
1735
- foo
1736
- a: b
1737
- SASS
1738
- end
1739
-
1740
- def test_unusual_comment_indentation
1741
- assert_equal <<CSS, render(<<SASS)
1742
- foo {
1743
- /* foo
1744
- * bar
1745
- * baz */ }
1746
- CSS
1747
- foo
1748
- /* foo
1749
- bar
1750
- baz
1751
- SASS
1752
- end
1753
-
1754
- def test_loud_comment_with_close
1755
- assert_equal <<CSS, render(<<SASS)
1756
- foo {
1757
- /* foo
1758
- * bar */ }
1759
- CSS
1760
- foo
1761
- /* foo
1762
- bar */
1763
- SASS
1764
- end
1765
-
1766
- def test_loud_comment_with_separate_line_close
1767
- assert_equal <<CSS, render(<<SASS)
1768
- foo {
1769
- /* foo
1770
- * bar
1771
- */ }
1772
- CSS
1773
- foo
1774
- /* foo
1775
- * bar
1776
- */
1777
- SASS
1778
- end
1779
-
1780
- def test_loud_comment_in_compressed_mode
1781
- assert_equal <<CSS, render(<<SASS, :style => :compressed)
1782
- foo{color:blue;/*! foo
1783
- * bar
1784
- */}
1785
- CSS
1786
- foo
1787
- color: blue
1788
- /*! foo
1789
- * bar
1790
- */
1791
- SASS
1792
- end
1793
-
1794
- def test_loud_comment_is_evaluated
1795
- assert_equal <<CSS, render(<<SASS)
1796
- /*! Hue: 327.21649deg */
1797
- CSS
1798
- /*! Hue: \#{hue(#f836a0)}
1799
- SASS
1800
- end
1801
-
1802
- def test_attribute_selector_with_spaces
1803
- assert_equal(<<CSS, render(<<SASS))
1804
- a b[foo=bar] {
1805
- c: d; }
1806
- CSS
1807
- a
1808
- b[foo = bar]
1809
- c: d
1810
- SASS
1811
- end
1812
-
1813
- def test_quoted_colon
1814
- assert_equal(<<CSS, render(<<SASS))
1815
- a b[foo="bar: baz"] {
1816
- c: d; }
1817
- CSS
1818
- a
1819
- b[foo="bar: baz"]
1820
- c: d
1821
- SASS
1822
- end
1823
-
1824
- def test_quoted_comma
1825
- assert_equal(<<CSS, render(<<SASS))
1826
- a b[foo="bar, baz"] {
1827
- c: d; }
1828
- CSS
1829
- a
1830
- b[foo="bar, baz"]
1831
- c: d
1832
- SASS
1833
- end
1834
-
1835
- def test_quoted_ampersand
1836
- assert_equal(<<CSS, render(<<SASS))
1837
- a b[foo="bar & baz"] {
1838
- c: d; }
1839
- CSS
1840
- a
1841
- b[foo="bar & baz"]
1842
- c: d
1843
- SASS
1844
- end
1845
-
1846
- def test_empty_selector_warning
1847
- assert_warning(<<END) {render("foo bar")}
1848
- WARNING on line 1 of test_empty_selector_warning_inline.sass:
1849
- This selector doesn't have any properties and will not be rendered.
1850
- END
1851
- end
1852
-
1853
- def test_nonprinting_empty_property
1854
- assert_equal(<<CSS, render(<<SASS))
1855
- a {
1856
- c: "";
1857
- e: f; }
1858
- CSS
1859
- $null-value: null
1860
- $empty-string: ''
1861
- $empty-list: (null)
1862
- a
1863
- b: $null-value
1864
- c: $empty-string
1865
- d: $empty-list
1866
- e: f
1867
-
1868
- g
1869
- h: null
1870
- SASS
1871
- end
1872
-
1873
- def test_root_level_pseudo_class_with_new_properties
1874
- assert_equal(<<CSS, render(<<SASS, :property_syntax => :new))
1875
- :focus {
1876
- outline: 0; }
1877
- CSS
1878
- :focus
1879
- outline: 0
1880
- SASS
1881
- end
1882
-
1883
- def test_pseudo_class_with_new_properties
1884
- assert_equal(<<CSS, render(<<SASS, :property_syntax => :new))
1885
- p :focus {
1886
- outline: 0; }
1887
- CSS
1888
- p
1889
- :focus
1890
- outline: 0
1891
- SASS
1892
- end
1893
-
1894
- def test_nil_option
1895
- assert_equal(<<CSS, render(<<SASS, :format => nil))
1896
- foo {
1897
- a: b; }
1898
- CSS
1899
- foo
1900
- a: b
1901
- SASS
1902
- end
1903
-
1904
- def test_interpolation_in_raw_functions
1905
- assert_equal(<<CSS, render(<<SASS))
1906
- foo {
1907
- filter: progid:Microsoft.foo.bar.Baz(flip=foobar, bang=#00ff00cc); }
1908
- CSS
1909
- foo
1910
- filter: progid:Microsoft.foo.bar.Baz(flip=\#{foo + bar}, bang=#00ff00cc)
1911
- SASS
1912
- end
1913
-
1914
- # SassScript string behavior
1915
-
1916
- def test_plus_preserves_quotedness
1917
- assert_equal(<<CSS, render(<<SASS))
1918
- foo {
1919
- a: "foo1";
1920
- b: "1foo";
1921
- c: foo1;
1922
- d: 1foo;
1923
- e: "foobar";
1924
- f: foobar; }
1925
- CSS
1926
- foo
1927
- a: "foo" + 1
1928
- b: 1 + "foo"
1929
- c: foo + 1
1930
- d: 1 + foo
1931
- e: "foo" + bar
1932
- f: foo + "bar"
1933
- SASS
1934
- end
1935
-
1936
- def test_colon_properties_preserve_quotedness
1937
- assert_equal(<<CSS, render(<<SASS))
1938
- foo {
1939
- a: "foo";
1940
- b: bar;
1941
- c: "foo" bar;
1942
- d: foo, "bar"; }
1943
- CSS
1944
- foo
1945
- a: "foo"
1946
- b: bar
1947
- c: "foo" bar
1948
- d: foo, "bar"
1949
- SASS
1950
- end
1951
-
1952
- def test_colon_variables_preserve_quotedness
1953
- assert_equal(<<CSS, render(<<SASS))
1954
- foo {
1955
- a: "foo";
1956
- b: bar; }
1957
- CSS
1958
- $a: "foo"
1959
- $b: bar
1960
-
1961
- foo
1962
- a: $a
1963
- b: $b
1964
- SASS
1965
- end
1966
-
1967
- def test_colon_args_preserve_quotedness
1968
- assert_equal(<<CSS, render(<<SASS))
1969
- foo {
1970
- a: "foo";
1971
- b: bar;
1972
- c: "foo" bar;
1973
- d: foo, "bar"; }
1974
- CSS
1975
- =foo($a: "foo", $b: bar, $c: "foo" bar, $d: (foo, "bar"))
1976
- foo
1977
- a: $a
1978
- b: $b
1979
- c: $c
1980
- d: $d
1981
-
1982
- +foo
1983
- SASS
1984
- end
1985
-
1986
- def test_interpolation_unquotes_strings
1987
- assert_equal(<<CSS, render(<<SASS))
1988
- .foo-bar {
1989
- a: b; }
1990
- CSS
1991
- .foo-\#{"bar"}
1992
- a: b
1993
- SASS
1994
-
1995
- assert_equal(<<CSS, render(<<SASS))
1996
- .foo {
1997
- a: b c; }
1998
- CSS
1999
- .foo
2000
- a: b \#{"c"}
2001
- SASS
2002
- end
2003
-
2004
- def test_interpolation_unquotes_strings_in_vars
2005
- assert_equal(<<CSS, render(<<SASS))
2006
- .foo-bar {
2007
- a: b; }
2008
- CSS
2009
- $var: "bar"
2010
-
2011
- .foo-\#{$var}
2012
- a: b
2013
- SASS
2014
- end
2015
-
2016
- def test_interpolation_deep_unquotes_strings
2017
- assert_equal(<<CSS, render(<<SASS))
2018
- .foo {
2019
- a: bar baz; }
2020
- CSS
2021
- .foo
2022
- a: \#{"bar" "baz"}
2023
- SASS
2024
- end
2025
-
2026
- def test_warn_directive
2027
- expected_warning = <<EXPECTATION
2028
- WARNING: this is a warning
2029
- on line 4 of test_warn_directive_inline.sass
2030
-
2031
- WARNING: this is a mixin warning
2032
- on line 2 of test_warn_directive_inline.sass, in `foo'
2033
- from line 7 of test_warn_directive_inline.sass
2034
- EXPECTATION
2035
- assert_warning expected_warning do
2036
- assert_equal <<CSS, render(<<SASS)
2037
- bar {
2038
- c: d; }
2039
- CSS
2040
- =foo
2041
- @warn "this is a mixin warning"
2042
-
2043
- @warn "this is a warning"
2044
- bar
2045
- c: d
2046
- +foo
2047
- SASS
2048
- end
2049
- end
2050
-
2051
- def test_warn_directive_when_quiet
2052
- assert_warning "" do
2053
- assert_equal <<CSS, render(<<SASS, :quiet => true)
2054
- CSS
2055
- @warn "this is a warning"
2056
- SASS
2057
- end
2058
- end
2059
-
2060
- def test_warn_with_imports
2061
- prefix = Sass::Util.cleanpath(File.dirname(__FILE__)).to_s
2062
- expected_warning = <<WARN
2063
- WARNING: In the main file
2064
- on line 1 of #{prefix}/templates/warn.sass
2065
-
2066
- WARNING: Imported
2067
- on line 1 of #{prefix}/templates/warn_imported.sass
2068
- from line 2 of #{prefix}/templates/warn.sass
2069
-
2070
- WARNING: In an imported mixin
2071
- on line 4 of #{prefix}/templates/warn_imported.sass, in `emits-a-warning'
2072
- from line 3 of #{prefix}/templates/warn.sass
2073
- WARN
2074
- assert_warning expected_warning do
2075
- renders_correctly "warn", :style => :compact, :load_paths => ["#{prefix}/templates"]
2076
- end
2077
- end
2078
-
2079
- def test_media_bubbling
2080
- assert_equal <<CSS, render(<<SASS)
2081
- .foo {
2082
- a: b; }
2083
- @media bar {
2084
- .foo {
2085
- c: d; } }
2086
- .foo .baz {
2087
- e: f; }
2088
- @media bip {
2089
- .foo .baz {
2090
- g: h; } }
2091
-
2092
- .other {
2093
- i: j; }
2094
- CSS
2095
- .foo
2096
- a: b
2097
- @media bar
2098
- c: d
2099
- .baz
2100
- e: f
2101
- @media bip
2102
- g: h
2103
-
2104
- .other
2105
- i: j
2106
- SASS
2107
-
2108
- assert_equal <<CSS, render(<<SASS, :style => :compact)
2109
- .foo { a: b; }
2110
- @media bar { .foo { c: d; } }
2111
- .foo .baz { e: f; }
2112
- @media bip { .foo .baz { g: h; } }
2113
-
2114
- .other { i: j; }
2115
- CSS
2116
- .foo
2117
- a: b
2118
- @media bar
2119
- c: d
2120
- .baz
2121
- e: f
2122
- @media bip
2123
- g: h
2124
-
2125
- .other
2126
- i: j
2127
- SASS
2128
-
2129
- assert_equal <<CSS, render(<<SASS, :style => :expanded)
2130
- .foo {
2131
- a: b;
2132
- }
2133
- @media bar {
2134
- .foo {
2135
- c: d;
2136
- }
2137
- }
2138
- .foo .baz {
2139
- e: f;
2140
- }
2141
- @media bip {
2142
- .foo .baz {
2143
- g: h;
2144
- }
2145
- }
2146
-
2147
- .other {
2148
- i: j;
2149
- }
2150
- CSS
2151
- .foo
2152
- a: b
2153
- @media bar
2154
- c: d
2155
- .baz
2156
- e: f
2157
- @media bip
2158
- g: h
2159
-
2160
- .other
2161
- i: j
2162
- SASS
2163
- end
2164
-
2165
- def test_double_media_bubbling
2166
- assert_equal <<CSS, render(<<SASS)
2167
- @media bar and (a: b) {
2168
- .foo {
2169
- c: d; } }
2170
- CSS
2171
- @media bar
2172
- @media (a: b)
2173
- .foo
2174
- c: d
2175
- SASS
2176
-
2177
- assert_equal <<CSS, render(<<SASS)
2178
- @media bar {
2179
- .foo {
2180
- a: b; } }
2181
- @media bar and (a: b) {
2182
- .foo {
2183
- c: d; } }
2184
- CSS
2185
- .foo
2186
- @media bar
2187
- a: b
2188
- @media (a: b)
2189
- c: d
2190
- SASS
2191
- end
2192
-
2193
- def test_double_media_bubbling_with_commas
2194
- assert_equal <<CSS, render(<<SASS)
2195
- @media (a: b) and (e: f), (c: d) and (e: f), (a: b) and (g: h), (c: d) and (g: h) {
2196
- .foo {
2197
- c: d; } }
2198
- CSS
2199
- @media (a: b), (c: d)
2200
- @media (e: f), (g: h)
2201
- .foo
2202
- c: d
2203
- SASS
2204
- end
2205
-
2206
- def test_double_media_bubbling_with_surrounding_rules
2207
- assert_equal <<CSS, render(<<SASS)
2208
- @media (min-width: 0) {
2209
- a {
2210
- a: a; }
2211
-
2212
- b {
2213
- before: b;
2214
- after: b; } }
2215
- @media (min-width: 0) and (max-width: 5000px) {
2216
- b {
2217
- x: x; } }
2218
-
2219
- @media (min-width: 0) {
2220
- c {
2221
- c: c; } }
2222
- CSS
2223
- @media (min-width: 0)
2224
- a
2225
- a: a
2226
- b
2227
- before: b
2228
- @media (max-width: 5000px)
2229
- x: x
2230
- after: b
2231
- c
2232
- c: c
2233
- SASS
2234
- end
2235
-
2236
- def test_rule_media_rule_bubbling
2237
- assert_equal <<CSS, render(<<SASS)
2238
- @media bar {
2239
- .foo {
2240
- a: b;
2241
- e: f; }
2242
- .foo .baz {
2243
- c: d; } }
2244
- CSS
2245
- .foo
2246
- @media bar
2247
- a: b
2248
- .baz
2249
- c: d
2250
- e: f
2251
- SASS
2252
- end
2253
-
2254
- def test_nested_media_around_properties
2255
- assert_equal <<CSS, render(<<SASS)
2256
- .outside {
2257
- color: red;
2258
- background: blue; }
2259
- @media print {
2260
- .outside {
2261
- color: black; } }
2262
- @media print and (a: b) {
2263
- .outside .inside {
2264
- border: 1px solid black; } }
2265
-
2266
- .outside .middle {
2267
- display: block; }
2268
- CSS
2269
- .outside
2270
- color: red
2271
- @media print
2272
- color: black
2273
- .inside
2274
- @media (a: b)
2275
- border: 1px solid black
2276
- background: blue
2277
- .middle
2278
- display: block
2279
- SASS
2280
- end
2281
-
2282
- def test_media_with_parent_references
2283
- sass_str = <<SASS
2284
- .outside
2285
- @media print
2286
- &.inside
2287
- border: 1px solid black
2288
- SASS
2289
- css_str = <<CSS
2290
- @media print {
2291
- .outside.inside {
2292
- border: 1px solid black; } }
2293
- CSS
2294
- assert_equal css_str, render(sass_str)
2295
- end
2296
-
2297
- def test_eliminated_media_bubbling
2298
- assert_equal <<CSS, render(<<SASS)
2299
- @media screen {
2300
- a: b; }
2301
- CSS
2302
- @media screen
2303
- a: b
2304
- @media print
2305
- c: d
2306
- SASS
2307
-
2308
- assert_equal <<CSS, render(<<SASS)
2309
- @media not print {
2310
- a: b; }
2311
- CSS
2312
- @media not print
2313
- a: b
2314
- @media print
2315
- c: d
2316
- SASS
2317
-
2318
- assert_equal <<CSS, render(<<SASS)
2319
- @media not print {
2320
- a: b; }
2321
- CSS
2322
- @media not print
2323
- a: b
2324
- @media not screen
2325
- c: d
2326
- SASS
2327
- end
2328
-
2329
- def test_non_eliminated_media_bubbling
2330
- assert_equal <<CSS, render(<<SASS)
2331
- @media screen {
2332
- a: b; }
2333
- @media screen and (a: b) {
2334
- c: d; }
2335
- CSS
2336
- @media screen
2337
- a: b
2338
- @media screen and (a: b)
2339
- c: d
2340
- SASS
2341
-
2342
- assert_equal <<CSS, render(<<SASS)
2343
- @media not print {
2344
- a: b; }
2345
- @media screen {
2346
- c: d; }
2347
- CSS
2348
- @media not print
2349
- a: b
2350
- @media screen
2351
- c: d
2352
- SASS
2353
-
2354
- assert_equal <<CSS, render(<<SASS)
2355
- @media only screen {
2356
- a: b; }
2357
- @media only screen and (a: b) {
2358
- c: d; }
2359
- CSS
2360
- @media only screen
2361
- a: b
2362
- @media screen and (a: b)
2363
- c: d
2364
- SASS
2365
- end
2366
-
2367
- def test_directive_interpolation
2368
- assert_equal <<CSS, render(<<SASS)
2369
- @foo bar12 qux {
2370
- a: b; }
2371
- CSS
2372
- $baz: 12
2373
- @foo bar\#{$baz} qux
2374
- a: b
2375
- SASS
2376
- end
2377
-
2378
- def test_media_interpolation
2379
- assert_equal <<CSS, render(<<SASS)
2380
- @media bar12 {
2381
- a: b; }
2382
- CSS
2383
- $baz: 12
2384
- @media bar\#{$baz}
2385
- a: b
2386
- SASS
2387
- end
2388
-
2389
- def test_variables_in_media
2390
- assert_equal <<CSS, render(<<SASS)
2391
- @media screen and (-webkit-min-device-pixel-ratio-foo: 25), only print {
2392
- a: b; }
2393
- CSS
2394
- $media1: screen
2395
- $media2: print
2396
- $var: -webkit-min-device-pixel-ratio
2397
- $val: 20
2398
- @media \#{$media1} and ($var + "-foo": $val + 5), only \#{$media2}
2399
- a: b
2400
- SASS
2401
- end
2402
-
2403
- def test_at_root
2404
- assert_equal <<CSS, render(<<SASS)
2405
- .bar {
2406
- a: b; }
2407
- CSS
2408
- .foo
2409
- @at-root
2410
- .bar
2411
- a: b
2412
- SASS
2413
- end
2414
-
2415
- def test_at_root_with_selector
2416
- assert_equal <<CSS, render(<<SASS)
2417
- .bar {
2418
- a: b; }
2419
- CSS
2420
- .foo
2421
- @at-root .bar
2422
- a: b
2423
- SASS
2424
- end
2425
-
2426
- def test_at_root_with_query
2427
- assert_equal <<CSS, render(<<SASS)
2428
- .foo .bar {
2429
- a: b; }
2430
- CSS
2431
- .foo
2432
- @media screen
2433
- @at-root (without: media)
2434
- .bar
2435
- a: b
2436
- SASS
2437
- end
2438
-
2439
- def test_variable_assignment_with_global
2440
- assert_no_warning {assert_equal(<<CSS, render(<<SASS))}
2441
- .foo {
2442
- a: x; }
2443
-
2444
- .bar {
2445
- b: x; }
2446
- CSS
2447
- $var: 1
2448
-
2449
- .foo
2450
- $var: x !global
2451
- a: $var
2452
-
2453
- .bar
2454
- b: $var
2455
- SASS
2456
- end
2457
-
2458
- # Regression tests
2459
-
2460
- def test_interpolation_in_multiline_selector
2461
- assert_equal(<<CSS, render(<<SASS))
2462
- .foo,
2463
- .bar {
2464
- a: b; }
2465
- CSS
2466
- .foo,
2467
- \#{".bar"}
2468
- a: b
2469
- SASS
2470
- end
2471
-
2472
- def test_list_separator_with_arg_list
2473
- assert_equal(<<CSS, render(<<SASS))
2474
- .test {
2475
- separator: comma; }
2476
- CSS
2477
- @mixin arglist-test($args...)
2478
- separator: list-separator($args)
2479
-
2480
- .test
2481
- @include arglist-test(this, is, comma, separated)
2482
- SASS
2483
- end
2484
-
2485
- def test_parent_mixin_in_content_nested
2486
- assert_equal(<<CSS, render(<<SASS))
2487
- a {
2488
- b: c; }
2489
- CSS
2490
- =foo
2491
- @content
2492
-
2493
- =bar
2494
- +foo
2495
- +foo
2496
- a
2497
- b: c
2498
-
2499
- +bar
2500
- SASS
2501
- end
2502
-
2503
- def test_supports_bubbles
2504
- assert_equal <<CSS, render(<<SASS)
2505
- parent {
2506
- background: orange; }
2507
- @supports (perspective: 10px) or (-moz-perspective: 10px) {
2508
- parent child {
2509
- background: blue; } }
2510
- CSS
2511
- parent
2512
- background: orange
2513
- @supports (perspective: 10px) or (-moz-perspective: 10px)
2514
- child
2515
- background: blue
2516
- SASS
2517
- end
2518
-
2519
- def test_line_numbers_with_dos_line_endings
2520
- assert_equal <<CSS, render(<<SASS, :line_comments => true)
2521
- /* line 5, test_line_numbers_with_dos_line_endings_inline.sass */
2522
- .foo {
2523
- a: b; }
2524
- CSS
2525
- \r
2526
- \r
2527
- \r
2528
- \r
2529
- .foo
2530
- a: b
2531
- SASS
2532
- end
2533
-
2534
- def test_variable_in_media_in_mixin
2535
- assert_equal <<CSS, render(<<SASS)
2536
- @media screen and (min-width: 10px) {
2537
- body {
2538
- background: red; } }
2539
- @media screen and (min-width: 20px) {
2540
- body {
2541
- background: blue; } }
2542
- CSS
2543
- @mixin respond-to($width)
2544
- @media screen and (min-width: $width)
2545
- @content
2546
-
2547
- body
2548
- @include respond-to(10px)
2549
- background: red
2550
- @include respond-to(20px)
2551
- background: blue
2552
- SASS
2553
- end
2554
-
2555
- def test_interpolated_comment_in_mixin
2556
- assert_equal <<CSS, render(<<SASS)
2557
- /*! color: red */
2558
- .foo {
2559
- color: red; }
2560
-
2561
- /*! color: blue */
2562
- .foo {
2563
- color: blue; }
2564
-
2565
- /*! color: green */
2566
- .foo {
2567
- color: green; }
2568
- CSS
2569
- =foo($var)
2570
- /*! color: \#{$var}
2571
- .foo
2572
- color: $var
2573
-
2574
- +foo(red)
2575
- +foo(blue)
2576
- +foo(green)
2577
- SASS
2578
- end
2579
-
2580
- def test_parens_in_mixins
2581
- assert_equal(<<CSS, render(<<SASS))
2582
- .foo {
2583
- color: #01ff7f;
2584
- background-color: #000102; }
2585
- CSS
2586
- =foo($c1, $c2: rgb(0, 1, 2))
2587
- color: $c1
2588
- background-color: $c2
2589
-
2590
- .foo
2591
- +foo(rgb(1,255,127))
2592
- SASS
2593
- end
2594
-
2595
- def test_comment_beneath_prop
2596
- assert_equal(<<RESULT, render(<<SOURCE))
2597
- .box {
2598
- border-style: solid; }
2599
- RESULT
2600
- .box
2601
- border:
2602
- //color: black
2603
- style: solid
2604
- SOURCE
2605
-
2606
- assert_equal(<<RESULT, render(<<SOURCE))
2607
- .box {
2608
- /* color: black */
2609
- border-style: solid; }
2610
- RESULT
2611
- .box
2612
- border:
2613
- /* color: black
2614
- style: solid
2615
- SOURCE
2616
-
2617
- assert_equal(<<RESULT, render(<<SOURCE, :style => :compressed))
2618
- .box{border-style:solid}
2619
- RESULT
2620
- .box
2621
- border:
2622
- /*color: black
2623
- style: solid
2624
- SOURCE
2625
- end
2626
-
2627
- def test_compressed_comment_beneath_directive
2628
- assert_equal(<<RESULT, render(<<SOURCE, :style => :compressed))
2629
- @foo{a:b}
2630
- RESULT
2631
- @foo
2632
- a: b
2633
- /*b: c
2634
- SOURCE
2635
- end
2636
-
2637
- def test_comment_with_crazy_indentation
2638
- assert_equal(<<CSS, render(<<SASS))
2639
- /* This is a loud comment:
2640
- * Where the indentation is wonky. */
2641
- .comment {
2642
- width: 1px; }
2643
- CSS
2644
- /*
2645
- This is a loud comment:
2646
- Where the indentation is wonky.
2647
- //
2648
- This is a silent comment:
2649
- Where the indentation is wonky.
2650
- .comment
2651
- width: 1px
2652
- SASS
2653
- end
2654
-
2655
- def test_plus_with_space
2656
- assert_equal(<<CSS, render(<<SASS))
2657
- a + b {
2658
- color: green; }
2659
- CSS
2660
- a
2661
- + b
2662
- color: green
2663
- SASS
2664
- end
2665
-
2666
- def test_empty_line_comment
2667
- assert_equal(<<CSS, render(<<SASS))
2668
- /* Foo
2669
- *
2670
- * Bar */
2671
- CSS
2672
- /*
2673
- Foo
2674
-
2675
- Bar
2676
- SASS
2677
- end
2678
-
2679
- def test_empty_comment
2680
- assert_equal(<<CSS, render(<<SASS))
2681
- /* */
2682
- a {
2683
- /* */
2684
- b: c; }
2685
- CSS
2686
- /*
2687
- a
2688
- /*
2689
- b: c
2690
- SASS
2691
- end
2692
-
2693
- def test_options_available_in_environment
2694
- assert_equal(<<CSS, render(<<SASS))
2695
- a {
2696
- b: nested; }
2697
- CSS
2698
- a
2699
- b: option("style")
2700
- SASS
2701
- end
2702
-
2703
- def test_mixin_no_arg_error
2704
- assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "($bar,": expected variable (e.g. $foo), was ")"') do
2705
- render(<<SASS)
2706
- =foo($bar,)
2707
- bip: bap
2708
- SASS
2709
- end
2710
- end
2711
-
2712
- def test_import_with_commas_in_url
2713
- assert_equal <<CSS, render(<<SASS)
2714
- @import url(foo.css?bar,baz);
2715
- CSS
2716
- @import url(foo.css?bar,baz)
2717
- SASS
2718
- end
2719
-
2720
- def test_silent_comment_in_prop_val_after_important
2721
- assert_equal(<<CSS, render(<<SASS))
2722
- .advanced {
2723
- display: none !important; }
2724
- CSS
2725
- .advanced
2726
- display: none !important // yeah, yeah. it's not really a style anyway.
2727
- SASS
2728
- end
2729
-
2730
- def test_mixin_with_keyword_args
2731
- assert_equal <<CSS, render(<<SASS)
2732
- .mixed {
2733
- required: foo;
2734
- arg1: default-val1;
2735
- arg2: non-default-val2; }
2736
- CSS
2737
- =a-mixin($required, $arg1: default-val1, $arg2: default-val2)
2738
- required: $required
2739
- arg1: $arg1
2740
- arg2: $arg2
2741
- .mixed
2742
- +a-mixin(foo, $arg2: non-default-val2)
2743
- SASS
2744
- end
2745
-
2746
- def test_mixin_with_keyword_arg_variable_value
2747
- assert_equal <<CSS, render(<<SASS)
2748
- .mixed {
2749
- required: foo;
2750
- arg1: default-val1;
2751
- arg2: a-value; }
2752
- CSS
2753
- =a-mixin($required, $arg1: default-val1, $arg2: default-val2)
2754
- required: $required
2755
- arg1: $arg1
2756
- arg2: $arg2
2757
- .mixed
2758
- $a-value: a-value
2759
- +a-mixin(foo, $arg2: $a-value)
2760
- SASS
2761
- end
2762
-
2763
- def test_mixin_keyword_args_handle_variable_underscore_dash_equivalence
2764
- assert_equal <<CSS, render(<<SASS)
2765
- .mixed {
2766
- required: foo;
2767
- arg1: non-default-val1;
2768
- arg2: non-default-val2; }
2769
- CSS
2770
- =a-mixin($required, $arg-1: default-val1, $arg_2: default-val2)
2771
- required: $required
2772
- arg1: $arg_1
2773
- arg2: $arg-2
2774
- .mixed
2775
- +a-mixin(foo, $arg-2: non-default-val2, $arg_1: non-default-val1)
2776
- SASS
2777
- end
2778
-
2779
- def test_passing_required_args_as_a_keyword_arg
2780
- assert_equal <<CSS, render(<<SASS)
2781
- .mixed {
2782
- required: foo;
2783
- arg1: default-val1;
2784
- arg2: default-val2; }
2785
- CSS
2786
- =a-mixin($required, $arg1: default-val1, $arg2: default-val2)
2787
- required: $required
2788
- arg1: $arg1
2789
- arg2: $arg2
2790
- .mixed
2791
- +a-mixin($required: foo)
2792
- SASS
2793
- end
2794
-
2795
- def test_passing_all_as_keyword_args_in_opposite_order
2796
- assert_equal <<CSS, render(<<SASS)
2797
- .mixed {
2798
- required: foo;
2799
- arg1: non-default-val1;
2800
- arg2: non-default-val2; }
2801
- CSS
2802
- =a-mixin($required, $arg1: default-val1, $arg2: default-val2)
2803
- required: $required
2804
- arg1: $arg1
2805
- arg2: $arg2
2806
- .mixed
2807
- +a-mixin($arg2: non-default-val2, $arg1: non-default-val1, $required: foo)
2808
- SASS
2809
- end
2810
-
2811
- def test_function_output_with_comma
2812
- assert_equal <<CSS, render(<<SASS)
2813
- foo {
2814
- a: b(c), d(e); }
2815
- CSS
2816
- foo
2817
- a: b(c), d(e)
2818
- SASS
2819
- end
2820
-
2821
- def test_interpolation_with_comma
2822
- assert_equal <<CSS, render(<<SASS)
2823
- foo {
2824
- a: foo, bar; }
2825
- CSS
2826
- $foo: foo
2827
- foo
2828
- a: \#{$foo}, bar
2829
- SASS
2830
- end
2831
-
2832
- def test_string_interpolation_with_comma
2833
- assert_equal <<CSS, render(<<SASS)
2834
- foo {
2835
- a: "bip foo bap", bar; }
2836
- CSS
2837
- $foo: foo
2838
- foo
2839
- a: "bip \#{$foo} bap", bar
2840
- SASS
2841
- end
2842
-
2843
- def test_unknown_directive
2844
- assert_equal <<CSS, render(<<SASS)
2845
- @baz {
2846
- c: d; }
2847
- CSS
2848
- @baz
2849
- c: d
2850
- SASS
2851
- end
2852
-
2853
- def test_loud_comment_interpolations_can_be_escaped
2854
- assert_equal <<CSS, render(<<SASS)
2855
- /* \#{foo} */
2856
- CSS
2857
- /* \\\#{foo}
2858
- SASS
2859
- assert_equal <<CSS, render(<<SASS)
2860
- /*! \#{foo} */
2861
- CSS
2862
- /*! \\\#{foo}
2863
- SASS
2864
- end
2865
-
2866
- def test_selector_compression
2867
- assert_equal <<CSS, render(<<SASS, :style => :compressed)
2868
- a>b,c+d,:-moz-any(e,f,g){h:i}
2869
- CSS
2870
- a > b, c + d, :-moz-any(e, f, g)
2871
- h: i
2872
- SASS
2873
- end
2874
-
2875
- def test_comment_like_selector
2876
- assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "/": expected identifier, was " foo"') {render(<<SASS)}
2877
- / foo
2878
- a: b
2879
- SASS
2880
- end
2881
-
2882
- def test_nested_empty_directive
2883
- assert_equal <<CSS, render(<<SASS)
2884
- @media screen {
2885
- .foo {
2886
- a: b; }
2887
-
2888
- @unknown-directive; }
2889
- CSS
2890
- @media screen
2891
- .foo
2892
- a: b
2893
-
2894
- @unknown-directive
2895
- SASS
2896
- end
2897
-
2898
- def test_original_filename_set
2899
- importer = MockImporter.new
2900
- importer.add_import("imported", "div{color:red}")
2901
-
2902
- original_filename = filename_for_test
2903
- engine = Sass::Engine.new('@import "imported"; div{color:blue}',
2904
- :filename => original_filename, :load_paths => [importer], :syntax => :scss, :importer => importer)
2905
- engine.render
2906
-
2907
- assert_equal original_filename, engine.options[:original_filename]
2908
- assert_equal original_filename, importer.engine("imported").options[:original_filename]
2909
- end
2910
-
2911
- def test_changing_precision
2912
- old_precision = Sass::Script::Value::Number.precision
2913
- begin
2914
- Sass::Script::Value::Number.precision = 8
2915
- assert_equal <<CSS, render(<<SASS)
2916
- div {
2917
- maximum: 1.00000001;
2918
- too-much: 1; }
2919
- CSS
2920
- div
2921
- maximum : 1.00000001
2922
- too-much: 1.000000001
2923
- SASS
2924
- ensure
2925
- Sass::Script::Value::Number.precision = old_precision
2926
- end
2927
- end
2928
-
2929
- def test_content
2930
- assert_equal <<CSS, render(<<SASS)
2931
- .children {
2932
- background-color: red;
2933
- color: blue;
2934
- border-color: red; }
2935
- CSS
2936
- $color: blue
2937
- =context($class, $color: red)
2938
- .\#{$class}
2939
- background-color: $color
2940
- @content
2941
- border-color: $color
2942
- +context(children)
2943
- color: $color
2944
- SASS
2945
- end
2946
-
2947
- def test_selector_in_content
2948
- assert_equal <<CSS, render(<<SASS)
2949
- .parent {
2950
- background-color: red;
2951
- border-color: red; }
2952
- .parent .children {
2953
- color: blue; }
2954
- CSS
2955
- $color: blue
2956
- =context($class, $color: red)
2957
- .\#{$class}
2958
- background-color: $color
2959
- @content
2960
- border-color: $color
2961
- +context(parent)
2962
- .children
2963
- color: $color
2964
- SASS
2965
- end
2966
-
2967
- def test_using_parent_mixin_in_content
2968
- assert_equal <<CSS, render(<<SASS)
2969
- .parent {
2970
- before-color: red;
2971
- after-color: red; }
2972
- .parent .sibling {
2973
- before-color: yellow;
2974
- after-color: yellow; }
2975
- .parent .sibling .child {
2976
- before-color: green;
2977
- color: blue;
2978
- after-color: green; }
2979
- CSS
2980
- $color: blue
2981
- =context($class, $color: red)
2982
- .\#{$class}
2983
- before-color: $color
2984
- @content
2985
- after-color: $color
2986
- +context(parent)
2987
- +context(sibling, $color: yellow)
2988
- +context(child, $color: green)
2989
- color: $color
2990
- SASS
2991
- end
2992
-
2993
- def test_content_more_than_once
2994
- assert_equal <<CSS, render(<<SASS)
2995
- .once {
2996
- color: blue; }
2997
-
2998
- .twice {
2999
- color: blue; }
3000
- CSS
3001
- $color: blue
3002
- =context($class, $color: red)
3003
- .once
3004
- @content
3005
- .twice
3006
- @content
3007
- +context(parent)
3008
- color: $color
3009
- SASS
3010
- end
3011
-
3012
- def test_content_with_variable
3013
- assert_equal <<CSS, render(<<SASS)
3014
- .foo {
3015
- a: 1px; }
3016
- CSS
3017
- =foo
3018
- .foo
3019
- @content
3020
- +foo
3021
- $a: 1px
3022
- a: $a
3023
- SASS
3024
- end
3025
-
3026
- def test_nested_content_blocks
3027
- assert_equal <<CSS, render(<<SASS)
3028
- .foo {
3029
- a: foo; }
3030
- .foo .bar {
3031
- a: bar; }
3032
- .foo .bar .baz {
3033
- a: baz; }
3034
- .foo .bar .baz .outside {
3035
- a: outside;
3036
- color: red; }
3037
- CSS
3038
- $a: outside
3039
- =baz($a: baz)
3040
- .baz
3041
- a: $a
3042
- @content
3043
- =bar($a: bar)
3044
- .bar
3045
- a: $a
3046
- +baz
3047
- @content
3048
- =foo($a: foo)
3049
- .foo
3050
- a: $a
3051
- +bar
3052
- @content
3053
- +foo
3054
- .outside
3055
- a: $a
3056
- color: red
3057
- SASS
3058
- end
3059
-
3060
- def test_content_not_seen_through_mixin
3061
- assert_equal <<CSS, render(<<SASS)
3062
- a foo {
3063
- mixin: foo;
3064
- a: b; }
3065
- a foo bar {
3066
- mixin: bar; }
3067
- CSS
3068
- =foo
3069
- foo
3070
- mixin: foo
3071
- @content
3072
- +bar
3073
- =bar
3074
- bar
3075
- mixin: bar
3076
- @content
3077
- a
3078
- +foo
3079
- a: b
3080
- SASS
3081
- end
3082
-
3083
- def test_content_backtrace_for_perform
3084
- render(<<SASS)
3085
- =foo
3086
- @content
3087
-
3088
- a
3089
- +foo
3090
- b: 1em + 2px
3091
- SASS
3092
- assert(false, "Expected exception")
3093
- rescue Sass::SyntaxError => e
3094
- assert_equal([
3095
- {:mixin => '@content', :line => 6, :filename => 'test_content_backtrace_for_perform_inline.sass'},
3096
- {:mixin => 'foo', :line => 2, :filename => 'test_content_backtrace_for_perform_inline.sass'},
3097
- {:line => 5, :filename => 'test_content_backtrace_for_perform_inline.sass'},
3098
- ], e.sass_backtrace)
3099
- end
3100
-
3101
- def test_content_backtrace_for_cssize
3102
- render(<<SASS)
3103
- =foo
3104
- @content
3105
-
3106
- a
3107
- +foo
3108
- @extend foo bar baz
3109
- SASS
3110
- assert(false, "Expected exception")
3111
- rescue Sass::SyntaxError => e
3112
- assert_equal([
3113
- {:mixin => '@content', :line => 6, :filename => 'test_content_backtrace_for_cssize_inline.sass'},
3114
- {:mixin => 'foo', :line => 2, :filename => 'test_content_backtrace_for_cssize_inline.sass'},
3115
- {:line => 5, :filename => 'test_content_backtrace_for_cssize_inline.sass'},
3116
- ], e.sass_backtrace)
3117
- end
3118
-
3119
- def test_mixin_with_args_and_varargs_passed_no_var_args
3120
- assert_equal <<CSS, render(<<SASS, :syntax => :scss)
3121
- .foo {
3122
- a: 1;
3123
- b: 2;
3124
- c: 3; }
3125
- CSS
3126
- @mixin three-or-more-args($a, $b, $c, $rest...) {
3127
- a: $a;
3128
- b: $b;
3129
- c: $c;
3130
- }
3131
-
3132
- .foo {
3133
- @include three-or-more-args($a: 1, $b: 2, $c: 3);
3134
- }
3135
- SASS
3136
-
3137
- end
3138
-
3139
- def test_debug_inspects_sass_objects
3140
- assert_warning(<<END) {render("@debug (a: 1, b: 2)")}
3141
- test_debug_inspects_sass_objects_inline.sass:1 DEBUG: (a: 1, b: 2)
3142
- END
3143
- assert_warning(<<END) {render("$map: (a: 1, b: 2); @debug $map", :syntax => :scss)}
3144
- test_debug_inspects_sass_objects_inline.scss:1 DEBUG: (a: 1, b: 2)
3145
- END
3146
- end
3147
-
3148
- def test_error_throws_sass_objects
3149
- assert_raise_message(Sass::SyntaxError, "(a: 1, b: 2)") {render("@error (a: 1, b: 2)")}
3150
- assert_raise_message(Sass::SyntaxError, "(a: 1, b: 2)") do
3151
- render("$map: (a: 1, b: 2); @error $map", :syntax => :scss)
3152
- end
3153
- end
3154
-
3155
- def test_default_arg_before_splat
3156
- assert_equal <<CSS, render(<<SASS, :syntax => :scss)
3157
- .foo-positional {
3158
- a: 1;
3159
- b: 2;
3160
- positional-arguments: 3, 4;
3161
- keyword-arguments: (); }
3162
-
3163
- .foo-keywords {
3164
- a: true;
3165
- positional-arguments: ();
3166
- keyword-arguments: (c: c, d: d); }
3167
- CSS
3168
- @mixin foo($a: true, $b: null, $arguments...) {
3169
- a: $a;
3170
- b: $b;
3171
- positional-arguments: inspect($arguments);
3172
- keyword-arguments: inspect(keywords($arguments));
3173
- }
3174
- .foo-positional {
3175
- @include foo(1, 2, 3, 4);
3176
- }
3177
- .foo-keywords {
3178
- @include foo($c: c, $d: d);
3179
- }
3180
- SASS
3181
- end
3182
-
3183
- def test_keyframes
3184
- assert_equal <<CSS, render(<<SASS)
3185
- @keyframes identifier {
3186
- 0% {
3187
- top: 0;
3188
- left: 0; }
3189
- 30% {
3190
- top: 50px; }
3191
- 68%, 72% {
3192
- left: 50px; }
3193
- 100% {
3194
- top: 100px;
3195
- left: 100%; } }
3196
- CSS
3197
- @keyframes identifier
3198
- 0%
3199
- top: 0
3200
- left: 0
3201
- \#{"30%"}
3202
- top: 50px
3203
- 68%, 72%
3204
- left: 50px
3205
- 100%
3206
- top: 100px
3207
- left: 100%
3208
- SASS
3209
- end
3210
-
3211
- def test_prefixed_keyframes
3212
- assert_equal <<CSS, render(<<SASS)
3213
- @-moz-keyframes identifier {
3214
- 0% {
3215
- top: 0;
3216
- left: 0; }
3217
- 30% {
3218
- top: 50px; }
3219
- 68%, 72% {
3220
- left: 50px; }
3221
- 100% {
3222
- top: 100px;
3223
- left: 100%; } }
3224
- CSS
3225
- @-moz-keyframes identifier
3226
- 0%
3227
- top: 0
3228
- left: 0
3229
- \#{"30%"}
3230
- top: 50px
3231
- 68%, 72%
3232
- left: 50px
3233
- 100%
3234
- top: 100px
3235
- left: 100%
3236
- SASS
3237
- end
3238
-
3239
- def test_uppercase_keyframes
3240
- assert_equal <<CSS, render(<<SASS)
3241
- @KEYFRAMES identifier {
3242
- 0% {
3243
- top: 0;
3244
- left: 0; }
3245
- 30% {
3246
- top: 50px; }
3247
- 68%, 72% {
3248
- left: 50px; }
3249
- 100% {
3250
- top: 100px;
3251
- left: 100%; } }
3252
- CSS
3253
- @KEYFRAMES identifier
3254
- 0%
3255
- top: 0
3256
- left: 0
3257
- \#{"30%"}
3258
- top: 50px
3259
- 68%, 72%
3260
- left: 50px
3261
- 100%
3262
- top: 100px
3263
- left: 100%
3264
- SASS
3265
- end
3266
-
3267
- def test_compressed_unknown_directive
3268
- assert_equal(<<CSS, render(<<SASS, :style => :compressed))
3269
- x{@foo;a:b;@bar}
3270
- CSS
3271
- x
3272
- @foo
3273
- a: b
3274
- @bar
3275
- SASS
3276
- end
3277
-
3278
- def test_compressed_unknown_directive_in_directive
3279
- assert_equal(<<CSS, render(<<SASS, :style => :compressed))
3280
- @x{@foo;a:b;@bar}
3281
- CSS
3282
- @x
3283
- @foo
3284
- a: b
3285
- @bar
3286
- SASS
3287
- end
3288
-
3289
- def test_compressed_unknown_directive_with_children_in_directive
3290
- assert_equal(<<CSS, render(<<SASS, :style => :compressed))
3291
- @x{@foo{a:b}c:d;@bar{e:f}}
3292
- CSS
3293
- @x
3294
- @foo
3295
- a: b
3296
- c: d
3297
- @bar
3298
- e: f
3299
- SASS
3300
- end
3301
-
3302
- def test_compressed_rule_in_directive
3303
- assert_equal(<<CSS, render(<<SASS, :style => :compressed))
3304
- @x{foo{a:b}c:d;bar{e:f}}
3305
- CSS
3306
- @x
3307
- foo
3308
- a: b
3309
- c: d
3310
- bar
3311
- e: f
3312
- SASS
3313
- end
3314
-
3315
- def test_import_two_css_files_issue_1806
3316
- assert_equal(<<CSS, render(<<SASS, :syntax => :scss, :style => :compressed))
3317
- @import url(\"foo.css\");@import url(\"bar.css\");@import url(\"baz.css\")
3318
- CSS
3319
- @import url("foo.css");
3320
- @import url("bar.css");
3321
- @import url("baz.css");
3322
- SASS
3323
- end
3324
-
3325
- def test_numeric_formatting_of_integers
3326
- assert_equal(<<CSS, render(<<SASS, :syntax => :scss, :style => :compressed))
3327
- a{near:3.00001;plus:3;minus:3;negative:-3}
3328
- CSS
3329
- a {
3330
- near: (3 + 0.00001);
3331
- plus: (3 + 0.0000001);
3332
- minus: (3 - 0.0000001);
3333
- negative: (-3 + 0.0000001);
3334
- }
3335
- SASS
3336
- end
3337
-
3338
- def test_escaped_semicolons_are_not_compressed
3339
- assert_equal(<<'CSS', render(<<'SASS', :syntax => :scss, :style => :compressed))
3340
- div{color:#f00000\9\0\;}
3341
- CSS
3342
- div {
3343
- color: #f00000\9\0\;
3344
- }
3345
- SASS
3346
- end
3347
-
3348
- def test_compressed_output_of_nth_selectors
3349
- assert_equal(<<CSS, render(<<SASS, :syntax => :scss, :style => :compressed))
3350
- :nth-of-type(2n-1),:nth-child(2n-1),:nth(2n-1),:nth-of-type(2n-1),:nth-of-type(2n-1){color:red}:nth-of-type(2n+1),:nth-child(2n+1),:nth(2n+1),:nth-of-type(2n+1),:nth-of-type(2n+1){color:red}
3351
- CSS
3352
- :nth-of-type(2n-1), :nth-child(2n- 1), :nth(2n -1), :nth-of-type(2n - 1), :nth-of-type( 2n - 1 ) {
3353
- color: red }
3354
- :nth-of-type(2n+1), :nth-child(2n+ 1), :nth(2n +1), :nth-of-type(2n + 1), :nth-of-type( 2n + 1 ) {
3355
- color: red }
3356
- SASS
3357
- end
3358
-
3359
- def test_descendant_selectors_with_leading_dash
3360
- assert_equal(<<CSS, render(<<SASS, :syntax => :scss, :style => :compressed))
3361
- a -b{color:red}
3362
- CSS
3363
- a -b {
3364
- color: red }
3365
- SASS
3366
- end
3367
-
3368
- def test_import_with_supports_clause_interp
3369
- assert_equal(<<CSS, render(<<'SASS', :style => :compressed))
3370
- @import url("fallback-layout.css") supports(not (display: flex))
3371
- CSS
3372
- $display-type: flex
3373
- @import url("fallback-layout.css") supports(not (display: #{$display-type}))
3374
- SASS
3375
- end
3376
-
3377
- def test_import_with_supports_clause
3378
- assert_equal(<<CSS, render(<<SASS, :style => :compressed))
3379
- @import url("fallback-layout.css") supports(not (display: flex))
3380
- CSS
3381
- @import url("fallback-layout.css") supports(not (display: flex))
3382
- SASS
3383
- end
3384
-
3385
- def test_compressed_commas_in_attribute_selectors
3386
- assert_equal(<<CSS, render(<<SASS, :style => :compressed))
3387
- .classname[a="1, 2, 3"],.another[b="4, 5, 6"]{color:red}
3388
- CSS
3389
- .classname[a="1, 2, 3"], .another[b="4, 5, 6"]
3390
- color: red
3391
- SASS
3392
- end
3393
-
3394
- private
3395
-
3396
- def assert_hash_has(hash, expected)
3397
- expected.each do |k, v|
3398
- if v.nil?
3399
- assert_nil(hash[k])
3400
- else
3401
- assert_equal(v, hash[k])
3402
- end
3403
- end
3404
- end
3405
-
3406
- def assert_renders_encoded(css, sass)
3407
- result = render(sass)
3408
- assert_equal css.encoding, result.encoding
3409
- assert_equal css, result
3410
- end
3411
-
3412
- def render(sass, options = {})
3413
- munge_filename options
3414
- options[:importer] ||= MockImporter.new
3415
- Sass::Engine.new(sass, options).render
3416
- end
3417
-
3418
- def renders_correctly(name, options={})
3419
- sass_file = load_file(name, "sass")
3420
- css_file = load_file(name, "css")
3421
- options[:filename] ||= filename(name, "sass")
3422
- options[:syntax] ||= :sass
3423
- options[:css_filename] ||= filename(name, "css")
3424
- css_result = Sass::Engine.new(sass_file, options).render
3425
- assert_equal css_file, css_result
3426
- end
3427
-
3428
- def load_file(name, type = "sass")
3429
- @result = ''
3430
- File.new(filename(name, type)).each_line { |l| @result += l }
3431
- @result
3432
- end
3433
-
3434
- def filename(name, type)
3435
- path = File.dirname(__FILE__) + "/#{type == 'sass' ? 'templates' : 'results'}/#{name}.#{type}"
3436
- Sass::Util.cleanpath(path).to_s
3437
- end
3438
-
3439
- def sassc_path(template)
3440
- sassc_path = File.join(File.dirname(__FILE__) + "/templates/#{template}.sass")
3441
- engine = Sass::Engine.new("", :filename => sassc_path,
3442
- :importer => Sass::Importers::Filesystem.new("."))
3443
- key = engine.send(:sassc_key)
3444
- File.join(engine.options[:cache_location], key)
3445
- end
3446
- end
3447
-