brakeman 4.3.1 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +294 -107
- data/README.md +49 -13
- data/bin/brakeman +2 -0
- data/bundle/load.rb +14 -14
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/CHANGES.txt +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/MIT-LICENSE +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/README.txt +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/erubis +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/erubis-run.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/inline-require +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/context.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/converter.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/enhancer.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/error.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/evaluator.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/generator.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helper.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/local-setting.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/main.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/tiny.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/util.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/setup.rb +0 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/CHANGELOG.md +1497 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/FAQ.md +147 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/Gemfile +16 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/MIT-LICENSE +20 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/README.md +210 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/REFERENCE.md +1373 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/TODO +24 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/haml.gemspec +45 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml.rb +25 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_builder.rb +164 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_compiler.rb +235 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_parser.rb +150 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/buffer.rb +238 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/compiler.rb +330 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/engine.rb +238 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/error.rb +65 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/escapable.rb +77 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/exec.rb +347 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/filters.rb +399 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/generator.rb +42 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers.rb +709 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/action_view_extensions.rb +60 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/action_view_mods.rb +132 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/action_view_xss_mods.rb +60 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/safe_erubi_template.rb +20 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/safe_erubis_template.rb +33 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/xss_mods.rb +114 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/options.rb +273 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/parser.rb +856 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/plugin.rb +37 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/railtie.rb +48 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/sass_rails_filter.rb +47 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/template.rb +39 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/template/options.rb +27 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/temple_engine.rb +123 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/temple_line_counter.rb +30 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/util.rb +258 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/version.rb +5 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/yard/default/fulldoc/html/css/common.sass +15 -0
- data/bundle/ruby/2.7.0/gems/haml-5.2.1/yard/default/layout/html/footer.erb +12 -0
- data/bundle/ruby/{2.5.0/gems/highline-1.7.10 → 2.7.0/gems/highline-2.0.3}/AUTHORS +0 -0
- data/bundle/ruby/{2.5.0/gems/highline-1.7.10 → 2.7.0/gems/highline-2.0.3}/COPYING +0 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/Changelog.md +620 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/Gemfile +22 -0
- data/bundle/ruby/{2.5.0/gems/highline-1.7.10 → 2.7.0/gems/highline-2.0.3}/LICENSE +0 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/README.md +202 -0
- data/bundle/ruby/{2.5.0/gems/highline-1.7.10 → 2.7.0/gems/highline-2.0.3}/TODO +0 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/appveyor.yml +37 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/highline.gemspec +35 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline.rb +650 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/builtin_styles.rb +129 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/color_scheme.rb +151 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/compatibility.rb +23 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/custom_errors.rb +57 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/import.rb +48 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/io_console_compatible.rb +37 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/list.rb +177 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/list_renderer.rb +261 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/menu.rb +576 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/menu/item.rb +32 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/paginator.rb +52 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/question.rb +630 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/question/answer_converter.rb +103 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/question_asker.rb +150 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/simulate.rb +59 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/statement.rb +88 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/string.rb +36 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/string_extensions.rb +130 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/style.rb +325 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/template_renderer.rb +62 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal.rb +190 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal/io_console.rb +36 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal/ncurses.rb +38 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal/unix_stty.rb +51 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/version.rb +6 -0
- data/bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/wrapper.rb +53 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/Gemfile +6 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/LICENSE.txt +22 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/NEWS.md +141 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/README.md +60 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/attlistdecl.rb +63 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/attribute.rb +205 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/cdata.rb +68 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/child.rb +97 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/comment.rb +80 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/doctype.rb +287 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/document.rb +291 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/attlistdecl.rb +11 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/dtd.rb +47 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/elementdecl.rb +18 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/entitydecl.rb +57 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/notationdecl.rb +40 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/element.rb +1269 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/encoding.rb +51 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/entity.rb +171 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/default.rb +116 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/pretty.rb +142 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/transitive.rb +58 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/functions.rb +447 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/instruction.rb +79 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/light/node.rb +196 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/namespace.rb +59 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/node.rb +76 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/output.rb +30 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parent.rb +166 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parseexception.rb +52 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/baseparser.rb +594 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/lightparser.rb +59 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/pullparser.rb +197 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/sax2parser.rb +273 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/streamparser.rb +61 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/treeparser.rb +101 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/ultralightparser.rb +57 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/xpathparser.rb +675 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/quickpath.rb +266 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/rexml.rb +32 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/sax2listener.rb +98 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/security.rb +28 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/source.rb +298 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/streamlistener.rb +93 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/text.rb +424 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/undefinednamespaceexception.rb +9 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/relaxng.rb +539 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/validation.rb +144 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/validationexception.rb +10 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xmldecl.rb +130 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xmltokens.rb +85 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xpath.rb +81 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xpath_parser.rb +968 -0
- data/bundle/ruby/2.7.0/gems/rexml-3.2.4/rexml.gemspec +84 -0
- data/bundle/ruby/2.7.0/gems/ruby2ruby-2.4.4/History.rdoc +435 -0
- data/bundle/ruby/{2.5.0/gems/ruby2ruby-2.4.1 → 2.7.0/gems/ruby2ruby-2.4.4}/Manifest.txt +0 -0
- data/bundle/ruby/{2.5.0/gems/ruby2ruby-2.4.1 → 2.7.0/gems/ruby2ruby-2.4.4}/README.rdoc +0 -0
- data/bundle/ruby/2.7.0/gems/ruby2ruby-2.4.4/lib/ruby2ruby.rb +1309 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/History.rdoc +1162 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/Manifest.txt +39 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/README.rdoc +109 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/compare/normalize.rb +213 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/debugging.md +57 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/rp_extensions.rb +74 -0
- 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
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby20_parser.rb +7062 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby20_parser.y +2605 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby21_parser.rb +7140 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby21_parser.y +2624 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby22_parser.rb +7160 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby22_parser.y +2633 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby23_parser.rb +7175 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby23_parser.y +2635 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby24_parser.rb +7204 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby24_parser.y +2643 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby25_parser.rb +7204 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby25_parser.y +2643 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby26_parser.rb +7224 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby26_parser.y +2657 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby27_parser.rb +7224 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby27_parser.y +2657 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_lexer.rb +1473 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_lexer.rex +178 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_lexer.rex.rb +363 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_parser.rb +94 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_parser.yy +2764 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/lib/ruby_parser_extras.rb +1631 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/tools/munge.rb +222 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.1/tools/ripper.rb +39 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/History.rdoc +6 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/Manifest.txt +19 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/README.rdoc +54 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy.rb +5 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.rb +5794 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.y +1909 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.rb +6186 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.y +2117 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rb +1412 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex +179 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex.rb +323 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb +30 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser_extras.rb +1388 -0
- data/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/CHANGES.md +154 -0
- data/bundle/ruby/{2.5.0/gems/safe_yaml-1.0.4 → 2.7.0/gems/safe_yaml-1.0.5}/Gemfile +0 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +37 -0
- 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
- 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
- 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
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +39 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +3 -0
- 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
- 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
- data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/History.rdoc +427 -0
- data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/Manifest.txt +15 -0
- 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
- 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
- data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/pt_testcase.rb +3128 -0
- data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/sexp.rb +381 -0
- data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/sexp_matcher.rb +1100 -0
- data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/sexp_processor.rb +754 -0
- data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.2/lib/strict_sexp.rb +126 -0
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/CHANGES +460 -0
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/Gemfile +70 -0
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/LICENSE +21 -0
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/README.jp.md +1289 -0
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/README.md +1290 -0
- data/bundle/ruby/{2.5.0/gems/slim-3.0.7 → 2.7.0/gems/slim-4.1.0}/lib/slim.rb +0 -0
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/command.rb +128 -0
- 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
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/embedded.rb +248 -0
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/engine.rb +39 -0
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/filter.rb +30 -0
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/grammar.rb +23 -0
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/logic_less/context.rb +127 -0
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/parser.rb +548 -0
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/smart/parser.rb +34 -0
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/splat/builder.rb +107 -0
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/lib/slim/version.rb +5 -0
- data/bundle/ruby/2.7.0/gems/slim-4.1.0/slim.gemspec +24 -0
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/CHANGES +260 -0
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/EXPRESSIONS.md +262 -0
- data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/Gemfile +0 -0
- data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/LICENSE +0 -0
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/README.md +267 -0
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple.rb +67 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/filters/static_analyzer.rb +30 -0
- 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
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/filters/string_splitter.rb +130 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/mixins/dispatcher.rb +161 -0
- 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
- 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
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/static_analyzer.rb +77 -0
- 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
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/templates/rails.rb +26 -0
- 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
- 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
- data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/version.rb +3 -0
- data/bundle/ruby/{2.5.0/gems/temple-0.7.7 → 2.7.0/gems/temple-0.8.2}/temple.gemspec +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Gemfile +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/History.rdoc +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/LICENSE.txt +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Manifest +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/README.rdoc +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Todo.rdoc +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/import.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/row.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/style.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/table.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/version.rb +0 -0
- data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/terminal-table.gemspec +0 -0
- data/bundle/ruby/{2.5.0/gems/tilt-2.0.8 → 2.7.0/gems/tilt-2.0.10}/COPYING +0 -0
- data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt.rb +166 -0
- 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
- 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
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/commonmarker.rb +78 -0
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/erb.rb +63 -0
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/haml.rb +86 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/sass.rb +52 -0
- 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
- 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
- data/bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/template.rb +297 -0
- 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
- 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
- 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
- data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/CHANGELOG.md +133 -0
- data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/MIT-LICENSE.txt +22 -0
- data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/README.md +124 -0
- data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/data/display_width.marshal.gz +0 -0
- data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width.rb +51 -0
- data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/constants.rb +8 -0
- 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
- 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
- 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
- data/lib/brakeman.rb +42 -3
- data/lib/brakeman/app_tree.rb +81 -22
- data/lib/brakeman/call_index.rb +61 -19
- data/lib/brakeman/checks.rb +23 -15
- data/lib/brakeman/checks/base_check.rb +93 -82
- data/lib/brakeman/checks/check_basic_auth.rb +2 -0
- data/lib/brakeman/checks/check_basic_auth_timing_attack.rb +1 -1
- data/lib/brakeman/checks/check_content_tag.rb +16 -5
- data/lib/brakeman/checks/check_cookie_serialization.rb +22 -0
- data/lib/brakeman/checks/check_create_with.rb +1 -1
- data/lib/brakeman/checks/check_cross_site_scripting.rb +18 -13
- data/lib/brakeman/checks/check_csrf_token_forgery_cve.rb +28 -0
- data/lib/brakeman/checks/check_default_routes.rb +8 -3
- data/lib/brakeman/checks/check_deserialize.rb +71 -2
- data/lib/brakeman/checks/check_detailed_exceptions.rb +1 -1
- data/lib/brakeman/checks/check_digest_dos.rb +4 -4
- data/lib/brakeman/checks/check_dynamic_finders.rb +1 -1
- data/lib/brakeman/checks/check_escape_function.rb +1 -1
- data/lib/brakeman/checks/check_evaluation.rb +0 -1
- data/lib/brakeman/checks/check_execute.rb +89 -9
- data/lib/brakeman/checks/check_file_access.rb +19 -3
- data/lib/brakeman/checks/check_file_disclosure.rb +1 -1
- data/lib/brakeman/checks/check_filter_skipping.rb +1 -1
- data/lib/brakeman/checks/check_force_ssl.rb +27 -0
- data/lib/brakeman/checks/check_forgery_setting.rb +3 -3
- data/lib/brakeman/checks/check_header_dos.rb +5 -5
- data/lib/brakeman/checks/check_i18n_xss.rb +5 -5
- data/lib/brakeman/checks/check_jruby_xml.rb +3 -3
- data/lib/brakeman/checks/check_json_encoding.rb +3 -3
- data/lib/brakeman/checks/check_json_entity_escape.rb +38 -0
- data/lib/brakeman/checks/check_json_parsing.rb +15 -13
- data/lib/brakeman/checks/check_link_to.rb +4 -4
- data/lib/brakeman/checks/check_link_to_href.rb +9 -6
- data/lib/brakeman/checks/check_mail_to.rb +4 -4
- data/lib/brakeman/checks/check_mass_assignment.rb +34 -4
- data/lib/brakeman/checks/check_mime_type_dos.rb +3 -3
- data/lib/brakeman/checks/check_model_attr_accessible.rb +2 -2
- data/lib/brakeman/checks/check_model_attributes.rb +16 -54
- data/lib/brakeman/checks/check_model_serialize.rb +2 -2
- data/lib/brakeman/checks/check_nested_attributes.rb +3 -3
- data/lib/brakeman/checks/check_nested_attributes_bypass.rb +5 -5
- data/lib/brakeman/checks/check_number_to_currency.rb +4 -4
- data/lib/brakeman/checks/check_page_caching_cve.rb +37 -0
- data/lib/brakeman/checks/check_permit_attributes.rb +1 -1
- data/lib/brakeman/checks/check_quote_table_name.rb +2 -2
- data/lib/brakeman/checks/check_regex_dos.rb +2 -2
- data/lib/brakeman/checks/check_render.rb +2 -2
- data/lib/brakeman/checks/check_render_dos.rb +1 -1
- data/lib/brakeman/checks/check_render_inline.rb +1 -1
- data/lib/brakeman/checks/check_response_splitting.rb +1 -1
- data/lib/brakeman/checks/check_reverse_tabnabbing.rb +58 -0
- data/lib/brakeman/checks/check_route_dos.rb +1 -1
- data/lib/brakeman/checks/check_safe_buffer_manipulation.rb +1 -1
- data/lib/brakeman/checks/check_sanitize_methods.rb +4 -4
- data/lib/brakeman/checks/check_secrets.rb +2 -2
- data/lib/brakeman/checks/check_select_tag.rb +1 -1
- data/lib/brakeman/checks/check_select_vulnerability.rb +1 -1
- data/lib/brakeman/checks/check_send.rb +0 -1
- data/lib/brakeman/checks/check_session_manipulation.rb +1 -2
- data/lib/brakeman/checks/check_session_settings.rb +16 -13
- data/lib/brakeman/checks/check_simple_format.rb +7 -2
- data/lib/brakeman/checks/check_single_quotes.rb +14 -10
- data/lib/brakeman/checks/check_skip_before_filter.rb +5 -5
- data/lib/brakeman/checks/check_sprockets_path_traversal.rb +39 -0
- data/lib/brakeman/checks/check_sql.rb +47 -49
- data/lib/brakeman/checks/check_sql_cves.rb +2 -2
- data/lib/brakeman/checks/check_strip_tags.rb +10 -8
- data/lib/brakeman/checks/check_symbol_dos.rb +1 -1
- data/lib/brakeman/checks/check_symbol_dos_cve.rb +1 -1
- data/lib/brakeman/checks/check_template_injection.rb +32 -0
- data/lib/brakeman/checks/check_translate_bug.rb +7 -7
- data/lib/brakeman/checks/check_unsafe_reflection.rb +1 -1
- data/lib/brakeman/checks/check_unsafe_reflection_methods.rb +68 -0
- data/lib/brakeman/checks/check_unscoped_find.rb +1 -1
- data/lib/brakeman/checks/check_validation_regex.rb +2 -2
- data/lib/brakeman/checks/check_verb_confusion.rb +75 -0
- data/lib/brakeman/checks/check_weak_hash.rb +18 -19
- data/lib/brakeman/checks/check_xml_dos.rb +3 -3
- data/lib/brakeman/checks/check_yaml_parsing.rb +11 -19
- data/lib/brakeman/commandline.rb +25 -1
- data/lib/brakeman/differ.rb +16 -33
- data/lib/brakeman/file_parser.rb +25 -21
- data/lib/brakeman/file_path.rb +85 -0
- data/lib/brakeman/format/style.css +8 -0
- data/lib/brakeman/messages.rb +220 -0
- data/lib/brakeman/options.rb +45 -1
- data/lib/brakeman/parsers/haml_embedded.rb +44 -0
- data/lib/brakeman/parsers/slim_embedded.rb +44 -0
- data/lib/brakeman/parsers/template_parser.rb +11 -12
- data/lib/brakeman/processor.rb +5 -6
- data/lib/brakeman/processors/alias_processor.rb +78 -14
- data/lib/brakeman/processors/base_processor.rb +10 -7
- data/lib/brakeman/processors/config_processor.rb +4 -1
- data/lib/brakeman/processors/controller_alias_processor.rb +10 -7
- data/lib/brakeman/processors/controller_processor.rb +10 -14
- data/lib/brakeman/processors/gem_processor.rb +38 -2
- data/lib/brakeman/processors/haml_template_processor.rb +99 -123
- data/lib/brakeman/processors/lib/call_conversion_helper.rb +11 -5
- data/lib/brakeman/processors/lib/file_type_detector.rb +64 -0
- data/lib/brakeman/processors/lib/find_all_calls.rb +57 -18
- data/lib/brakeman/processors/lib/find_call.rb +3 -64
- data/lib/brakeman/processors/lib/module_helper.rb +8 -8
- data/lib/brakeman/processors/lib/processor_helper.rb +3 -3
- data/lib/brakeman/processors/lib/rails2_config_processor.rb +4 -4
- data/lib/brakeman/processors/lib/rails2_route_processor.rb +2 -2
- data/lib/brakeman/processors/lib/rails3_config_processor.rb +19 -19
- data/lib/brakeman/processors/lib/rails3_route_processor.rb +2 -4
- data/lib/brakeman/processors/lib/rails4_config_processor.rb +18 -0
- data/lib/brakeman/processors/lib/render_helper.rb +10 -3
- data/lib/brakeman/processors/lib/render_path.rb +32 -0
- data/lib/brakeman/processors/library_processor.rb +6 -6
- data/lib/brakeman/processors/model_processor.rb +4 -5
- data/lib/brakeman/processors/output_processor.rb +6 -1
- data/lib/brakeman/processors/slim_template_processor.rb +16 -0
- data/lib/brakeman/processors/template_alias_processor.rb +36 -4
- data/lib/brakeman/processors/template_processor.rb +14 -10
- data/lib/brakeman/report.rb +22 -4
- data/lib/brakeman/report/ignore/config.rb +12 -5
- data/lib/brakeman/report/ignore/interactive.rb +2 -2
- data/lib/brakeman/report/pager.rb +1 -0
- data/lib/brakeman/report/report_base.rb +64 -165
- data/lib/brakeman/report/report_codeclimate.rb +3 -3
- data/lib/brakeman/report/report_csv.rb +38 -44
- data/lib/brakeman/report/report_hash.rb +1 -1
- data/lib/brakeman/report/report_html.rb +36 -33
- data/lib/brakeman/report/report_json.rb +1 -3
- data/lib/brakeman/report/report_junit.rb +104 -0
- data/lib/brakeman/report/report_markdown.rb +13 -7
- data/lib/brakeman/report/report_sarif.rb +114 -0
- data/lib/brakeman/report/report_sonar.rb +38 -0
- data/lib/brakeman/report/report_table.rb +173 -0
- data/lib/brakeman/report/report_tabs.rb +4 -2
- data/lib/brakeman/report/report_text.rb +59 -23
- data/lib/brakeman/rescanner.rb +18 -15
- data/lib/brakeman/scanner.rb +74 -35
- data/lib/brakeman/tracker.rb +44 -8
- data/lib/brakeman/tracker/collection.rb +4 -3
- data/lib/brakeman/tracker/config.rb +119 -47
- data/lib/brakeman/tracker/constants.rb +10 -8
- data/lib/brakeman/tracker/controller.rb +1 -1
- data/lib/brakeman/util.rb +45 -168
- data/lib/brakeman/version.rb +1 -1
- data/lib/brakeman/warning.rb +46 -19
- data/lib/brakeman/warning_codes.rb +14 -0
- data/lib/ruby_parser/bm_sexp.rb +16 -11
- data/lib/ruby_parser/bm_sexp_processor.rb +1 -0
- metadata +437 -1218
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/Makefile +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/bench.rb +0 -313
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/bench_context.yaml +0 -141
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/_footer.html +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/_header.html +0 -52
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +0 -29
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +0 -29
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +0 -29
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/bin/erubis +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/ActionView.html +0 -105
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +0 -209
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/ERB.html +0 -101
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis.html +0 -362
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +0 -175
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +0 -174
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +0 -112
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +0 -327
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +0 -130
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +0 -215
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +0 -386
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +0 -113
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +0 -344
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +0 -283
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +0 -382
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +0 -150
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +0 -126
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +0 -126
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +0 -126
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +0 -126
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +0 -305
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +0 -126
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +0 -126
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +0 -175
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +0 -117
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +0 -132
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +0 -165
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +0 -127
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +0 -126
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +0 -212
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +0 -131
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +0 -416
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +0 -267
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +0 -116
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +0 -787
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +0 -349
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +0 -213
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +0 -305
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +0 -359
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +0 -386
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +0 -341
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +0 -249
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +0 -159
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +0 -119
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +0 -163
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +0 -439
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +0 -163
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +0 -125
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +0 -266
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +0 -166
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +0 -166
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +0 -166
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +0 -166
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +0 -122
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +0 -166
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +0 -166
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +0 -155
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +0 -166
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +0 -293
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +0 -163
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +0 -344
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +0 -350
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +0 -210
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +0 -183
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +0 -212
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +0 -212
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +0 -244
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +0 -121
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +0 -227
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +0 -328
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +0 -382
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +0 -191
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +0 -173
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +0 -121
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +0 -174
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +0 -120
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +0 -298
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +0 -130
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +0 -255
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/classes/Kernel.html +0 -155
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/created.rid +0 -1
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/README_txt.html +0 -247
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +0 -107
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +0 -114
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +0 -114
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +0 -117
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +0 -107
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +0 -107
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +0 -115
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +0 -114
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +0 -107
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +0 -107
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +0 -116
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +0 -107
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +0 -129
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +0 -114
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +0 -107
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +0 -107
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +0 -118
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/fr_class_index.html +0 -129
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/fr_file_index.html +0 -53
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/fr_method_index.html +0 -265
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/index.html +0 -24
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc-api/rdoc-style.css +0 -208
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc/docstyle.css +0 -209
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/doc/users-guide.html +0 -3551
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/Makefile +0 -58
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ec +0 -42
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ecpp +0 -33
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ejava +0 -45
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ejs +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.eperl +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.ephp +0 -17
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.eruby +0 -15
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/basic/example.escheme +0 -26
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/Makefile +0 -54
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ec +0 -42
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejava +0 -45
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ejs +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.eperl +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.ephp +0 -17
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.eruby +0 -15
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/examples/pi/example.escheme +0 -26
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/assert-text-equal.rb +0 -44
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +0 -55
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/array_example.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +0 -17
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/context.rb +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/context.yaml +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +0 -14
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/def_method.result +0 -3
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ec +0 -27
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +0 -30
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs +0 -20
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.eperl +0 -18
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.ephp +0 -18
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.eruby +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example.escheme +0 -28
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example1.rb +0 -17
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example1.result +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example10.rb +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example10.result +0 -17
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +0 -14
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +0 -17
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11.php +0 -20
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11.result +0 -23
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +0 -21
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +0 -15
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +0 -7
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2.rb +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2.result +0 -27
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example3.rb +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example31.result +0 -22
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example32.result +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +0 -3
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example4.rb +0 -11
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example4.result +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +0 -5
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example5.rb +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example5.result +0 -7
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example6.rb +0 -12
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example6.result +0 -7
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example71.result +0 -13
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example72.result +0 -13
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +0 -7
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +0 -7
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +0 -3
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example9.rb +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example9.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example91.result +0 -5
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example92.result +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_c.result +0 -32
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_java.result +0 -56
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_js.result +0 -22
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +0 -20
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_php.result +0 -19
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +0 -30
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +0 -29
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +0 -18
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +0 -11
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +0 -38
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +0 -15
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +0 -10
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +0 -11
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +0 -13
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +0 -14
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +0 -20
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +0 -15
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +0 -11
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +0 -14
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +0 -19
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +0 -20
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +0 -16
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +0 -6
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +0 -3
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +0 -8
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/stderr.log +0 -3
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +0 -9
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +0 -3
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +0 -4
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-engines.rb +0 -425
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-enhancers.rb +0 -646
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-erubis.rb +0 -887
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-index-cgi.rb +0 -191
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-main.rb +0 -752
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test-users-guide.rb +0 -73
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/test.rb +0 -45
- data/bundle/ruby/2.5.0/gems/erubis-2.7.0/test/testutil.rb +0 -111
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/CHANGELOG.md +0 -1363
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/FAQ.md +0 -157
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/MIT-LICENSE +0 -20
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/README.md +0 -173
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/REFERENCE.md +0 -1294
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/Rakefile +0 -134
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/bin/haml +0 -9
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml.rb +0 -23
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/buffer.rb +0 -345
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/compiler.rb +0 -540
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/engine.rb +0 -245
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/error.rb +0 -61
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/exec.rb +0 -329
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/filters.rb +0 -404
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers.rb +0 -664
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/action_view_extensions.rb +0 -58
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb +0 -147
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb +0 -58
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb +0 -29
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb +0 -104
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/options.rb +0 -279
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/parser.rb +0 -764
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/railtie.rb +0 -22
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/sass_rails_filter.rb +0 -33
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/template.rb +0 -32
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/template/options.rb +0 -16
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/template/plugin.rb +0 -41
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/util.rb +0 -377
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/version.rb +0 -3
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/engine_test.rb +0 -2013
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/erb/_av_partial_1.erb +0 -12
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/erb/_av_partial_2.erb +0 -8
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/erb/action_view.erb +0 -62
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/erb/standard.erb +0 -55
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/filters_test.rb +0 -254
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.0.x +0 -5
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.1.x +0 -6
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.2.x +0 -5
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-4.0.x +0 -5
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/LICENSE +0 -14
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/README.md +0 -106
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/lua_haml_spec.lua +0 -38
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/perl_haml_test.pl +0 -81
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/ruby_haml_test.rb +0 -23
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/haml-spec/tests.json +0 -660
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/helper_test.rb +0 -583
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/markaby/standard.mab +0 -52
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/mocks/article.rb +0 -6
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/parser_test.rb +0 -105
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/content_for_layout.xhtml +0 -12
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/eval_suppressed.xhtml +0 -9
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/helpers.xhtml +0 -70
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/helpful.xhtml +0 -10
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/just_stuff.xhtml +0 -70
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/list.xhtml +0 -12
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/nuke_inner_whitespace.xhtml +0 -40
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/nuke_outer_whitespace.xhtml +0 -148
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/original_engine.xhtml +0 -20
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/partial_layout.xhtml +0 -5
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/partial_layout_erb.xhtml +0 -5
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/partials.xhtml +0 -21
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/render_layout.xhtml +0 -3
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/silent_script.xhtml +0 -74
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/standard.xhtml +0 -162
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/tag_parsing.xhtml +0 -23
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/very_basic.xhtml +0 -5
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/results/whitespace_handling.xhtml +0 -90
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/template_test.rb +0 -354
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_av_partial_1.haml +0 -9
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_av_partial_1_ugly.haml +0 -9
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_av_partial_2.haml +0 -5
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_av_partial_2_ugly.haml +0 -5
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_layout.erb +0 -3
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_layout_for_partial.haml +0 -3
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_partial.haml +0 -8
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_text_area.haml +0 -3
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/_text_area_helper.html.haml +0 -4
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/action_view.haml +0 -47
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/action_view_ugly.haml +0 -47
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/breakage.haml +0 -8
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/content_for_layout.haml +0 -8
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/eval_suppressed.haml +0 -11
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/helpers.haml +0 -55
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/helpful.haml +0 -11
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/just_stuff.haml +0 -85
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/list.haml +0 -12
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/nuke_inner_whitespace.haml +0 -32
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/nuke_outer_whitespace.haml +0 -144
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/original_engine.haml +0 -17
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/partial_layout.haml +0 -3
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/partial_layout_erb.erb +0 -4
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/partialize.haml +0 -1
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/partials.haml +0 -12
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/render_layout.haml +0 -2
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/silent_script.haml +0 -45
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/standard.haml +0 -43
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/standard_ugly.haml +0 -43
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/tag_parsing.haml +0 -21
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/very_basic.haml +0 -4
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/templates/whitespace_handling.haml +0 -87
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/test_helper.rb +0 -81
- data/bundle/ruby/2.5.0/gems/haml-4.0.7/test/util_test.rb +0 -63
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/Changelog.md +0 -421
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/Gemfile +0 -11
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/INSTALL +0 -59
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/README.rdoc +0 -74
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/Rakefile +0 -30
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/ansi_colors.rb +0 -38
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/asking_for_arrays.rb +0 -18
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/basic_usage.rb +0 -75
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/color_scheme.rb +0 -32
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/get_character.rb +0 -12
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/limit.rb +0 -12
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/menus.rb +0 -65
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/overwrite.rb +0 -19
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/page_and_wrap.rb +0 -322
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/password.rb +0 -7
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/repeat_entry.rb +0 -21
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/trapping_eof.rb +0 -22
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/examples/using_readline.rb +0 -17
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/highline.gemspec +0 -37
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline.rb +0 -1048
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/color_scheme.rb +0 -134
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/compatibility.rb +0 -16
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/import.rb +0 -41
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/menu.rb +0 -381
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/question.rb +0 -480
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/simulate.rb +0 -48
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/string_extensions.rb +0 -111
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/style.rb +0 -192
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/system_extensions.rb +0 -254
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/lib/highline/version.rb +0 -4
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/setup.rb +0 -1360
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/site/highline.css +0 -65
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/site/images/logo.png +0 -0
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/site/index.html +0 -58
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/string_methods.rb +0 -32
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_color_scheme.rb +0 -96
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_highline.rb +0 -1402
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_import.rb +0 -52
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_menu.rb +0 -439
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_simulator.rb +0 -33
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_string_extension.rb +0 -33
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_string_highline.rb +0 -38
- data/bundle/ruby/2.5.0/gems/highline-1.7.10/test/tc_style.rb +0 -578
- data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/History.rdoc +0 -413
- data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/Rakefile +0 -93
- data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/bin/r2r_show +0 -33
- data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/lib/ruby2ruby.rb +0 -1301
- data/bundle/ruby/2.5.0/gems/ruby2ruby-2.4.1/test/test_ruby2ruby.rb +0 -847
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/History.rdoc +0 -974
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/Manifest.txt +0 -36
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/README.rdoc +0 -109
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/Rakefile +0 -247
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/bin/ruby_parse +0 -96
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/bin/ruby_parse_extract_error +0 -156
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/compare/normalize.rb +0 -146
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/rp_extensions.rb +0 -81
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby18_parser.rb +0 -5793
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby18_parser.y +0 -1908
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby19_parser.rb +0 -6185
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby19_parser.y +0 -2116
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby20_parser.rb +0 -6687
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby20_parser.y +0 -2345
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby21_parser.rb +0 -6767
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby21_parser.y +0 -2362
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby22_parser.rb +0 -6803
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby22_parser.y +0 -2376
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby23_parser.rb +0 -6818
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby23_parser.y +0 -2378
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby24_parser.rb +0 -6818
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby24_parser.y +0 -2378
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby25_parser.rb +0 -6818
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby25_parser.y +0 -2378
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_lexer.rb +0 -1346
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_lexer.rex +0 -177
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_lexer.rex.rb +0 -323
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.rb +0 -88
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.yy +0 -2477
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser_extras.rb +0 -1377
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/test/test_ruby_lexer.rb +0 -2899
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/test/test_ruby_parser.rb +0 -3805
- data/bundle/ruby/2.5.0/gems/ruby_parser-3.11.0/test/test_ruby_parser_extras.rb +0 -226
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/CHANGES.md +0 -149
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/Rakefile +0 -26
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/bin/safe_yaml +0 -75
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb +0 -35
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/lib/safe_yaml/version.rb +0 -3
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.2.yaml +0 -2
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.3.yaml +0 -2
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/issue48.txt +0 -20
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/issue49.yml +0 -0
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/libyaml_checker_spec.rb +0 -69
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/psych_resolver_spec.rb +0 -10
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/resolver_specs.rb +0 -278
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/safe_yaml_spec.rb +0 -731
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/spec_helper.rb +0 -42
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/support/exploitable_back_door.rb +0 -29
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/syck_resolver_spec.rb +0 -10
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/base64_spec.rb +0 -11
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/to_date_spec.rb +0 -60
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/to_float_spec.rb +0 -42
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/to_integer_spec.rb +0 -64
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/transform/to_symbol_spec.rb +0 -51
- data/bundle/ruby/2.5.0/gems/safe_yaml-1.0.4/spec/yaml_spec.rb +0 -15
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/CODE_OF_CONDUCT.md +0 -10
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/CONTRIBUTING.md +0 -148
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/MIT-LICENSE +0 -20
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/README.md +0 -227
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/REVISION +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/Rakefile +0 -453
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/VERSION +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/VERSION_DATE +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/VERSION_NAME +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/bin/sass +0 -13
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/bin/sass-convert +0 -12
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/bin/scss +0 -13
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/extra/sass-spec-ref.sh +0 -32
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/extra/update_watch.rb +0 -13
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/init.rb +0 -18
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass.rb +0 -109
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores.rb +0 -15
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/base.rb +0 -88
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/chain.rb +0 -34
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/filesystem.rb +0 -60
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/memory.rb +0 -46
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/null.rb +0 -25
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/callbacks.rb +0 -67
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/css.rb +0 -408
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/deprecation.rb +0 -55
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/engine.rb +0 -1226
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/environment.rb +0 -215
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/error.rb +0 -198
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/exec.rb +0 -9
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/exec/base.rb +0 -199
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/exec/sass_convert.rb +0 -283
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/exec/sass_scss.rb +0 -440
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/features.rb +0 -47
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/importers.rb +0 -23
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/importers/base.rb +0 -182
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/importers/deprecated_path.rb +0 -51
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/importers/filesystem.rb +0 -219
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/logger.rb +0 -17
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/logger/base.rb +0 -36
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/logger/delayed.rb +0 -50
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/logger/log_level.rb +0 -45
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/media.rb +0 -210
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin.rb +0 -134
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/compiler.rb +0 -582
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/configuration.rb +0 -134
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/generic.rb +0 -15
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/merb.rb +0 -48
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/rack.rb +0 -60
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/rails.rb +0 -47
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/plugin/staleness_checker.rb +0 -199
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/railtie.rb +0 -10
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/repl.rb +0 -57
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/root.rb +0 -7
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script.rb +0 -66
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/css_lexer.rb +0 -33
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/css_parser.rb +0 -33
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/css_variable_warning.rb +0 -52
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/functions.rb +0 -2693
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/lexer.rb +0 -464
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/parser.rb +0 -832
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree.rb +0 -16
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/funcall.rb +0 -313
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/interpolation.rb +0 -223
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/list_literal.rb +0 -104
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/literal.rb +0 -49
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/map_literal.rb +0 -64
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/node.rb +0 -127
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/operation.rb +0 -156
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/selector.rb +0 -26
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/string_interpolation.rb +0 -125
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/unary_operation.rb +0 -69
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/tree/variable.rb +0 -57
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value.rb +0 -11
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/arg_list.rb +0 -36
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/base.rb +0 -241
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/bool.rb +0 -35
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/color.rb +0 -698
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/helpers.rb +0 -272
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/list.rb +0 -113
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/map.rb +0 -70
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/null.rb +0 -44
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/number.rb +0 -563
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/script/value/string.rb +0 -138
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss.rb +0 -14
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss/css_parser.rb +0 -56
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss/parser.rb +0 -1254
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss/rx.rb +0 -140
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/scss/static_parser.rb +0 -373
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector.rb +0 -323
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/abstract_sequence.rb +0 -111
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/comma_sequence.rb +0 -191
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/pseudo.rb +0 -266
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/sequence.rb +0 -636
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/simple.rb +0 -117
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/selector/simple_sequence.rb +0 -344
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/shared.rb +0 -76
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/source/map.rb +0 -213
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/source/position.rb +0 -39
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/source/range.rb +0 -41
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/stack.rb +0 -120
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/supports.rb +0 -225
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/at_root_node.rb +0 -83
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/charset_node.rb +0 -22
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/comment_node.rb +0 -82
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/content_node.rb +0 -9
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/css_import_node.rb +0 -68
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/debug_node.rb +0 -18
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/directive_node.rb +0 -59
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/each_node.rb +0 -24
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/error_node.rb +0 -18
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/extend_node.rb +0 -43
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/for_node.rb +0 -36
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/function_node.rb +0 -44
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/if_node.rb +0 -52
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/import_node.rb +0 -75
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/keyframe_rule_node.rb +0 -15
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/media_node.rb +0 -48
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/mixin_def_node.rb +0 -38
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/mixin_node.rb +0 -52
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/node.rb +0 -240
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/prop_node.rb +0 -170
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/return_node.rb +0 -19
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/root_node.rb +0 -44
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/rule_node.rb +0 -155
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/supports_node.rb +0 -38
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/trace_node.rb +0 -33
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/variable_node.rb +0 -36
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/base.rb +0 -72
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/check_nesting.rb +0 -173
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/convert.rb +0 -351
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/cssize.rb +0 -373
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/deep_copy.rb +0 -107
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/extend.rb +0 -70
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/perform.rb +0 -564
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/set_options.rb +0 -139
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/visitors/to_css.rb +0 -409
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/warn_node.rb +0 -18
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/tree/while_node.rb +0 -18
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util.rb +0 -1375
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/cross_platform_random.rb +0 -19
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/multibyte_string_scanner.rb +0 -155
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/normalized_map.rb +0 -129
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/ordered_hash.rb +0 -192
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/subset_map.rb +0 -109
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/util/test.rb +0 -9
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/version.rb +0 -124
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/rails/init.rb +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass-spec.yml +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/cache_test.rb +0 -131
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/callbacks_test.rb +0 -61
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/compiler_test.rb +0 -236
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/conversion_test.rb +0 -2188
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/css2sass_test.rb +0 -526
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/css_variable_test.rb +0 -132
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/data/hsl-rgb.txt +0 -319
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/encoding_test.rb +0 -219
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/engine_test.rb +0 -3447
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/exec_test.rb +0 -96
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/extend_test.rb +0 -1733
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/fixtures/test_staleness_check_across_importers.css +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/fixtures/test_staleness_check_across_importers.scss +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/functions_test.rb +0 -1977
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/importer_test.rb +0 -421
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/logger_test.rb +0 -58
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/mock_importer.rb +0 -49
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_results/more1.css +0 -9
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_results/more1_with_line_comments.css +0 -26
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_results/more_import.css +0 -29
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_templates/_more_partial.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_templates/more1.sass +0 -23
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/more_templates/more_import.sass +0 -11
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/plugin_test.rb +0 -556
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/alt.css +0 -4
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/basic.css +0 -9
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/cached_import_option.css +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/compact.css +0 -5
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/complex.css +0 -86
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/compressed.css +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/expanded.css +0 -19
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/filename_fn.css +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/if.css +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import.css +0 -31
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import_charset.css +0 -5
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import_charset_1_8.css +0 -5
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import_charset_ibm866.css +0 -5
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/import_content.css +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/line_numbers.css +0 -49
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/mixins.css +0 -95
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/multiline.css +0 -24
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/nested.css +0 -22
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/options.css +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/parent_ref.css +0 -13
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/script.css +0 -16
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/scss_import.css +0 -31
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/scss_importee.css +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/subdir/nested_subdir/nested_subdir.css +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/subdir/subdir.css +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/units.css +0 -11
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/warn.css +0 -0
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/warn_imported.css +0 -0
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/script_conversion_test.rb +0 -357
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/script_test.rb +0 -1431
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/scss/css_test.rb +0 -1281
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/scss/rx_test.rb +0 -160
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/scss/scss_test.rb +0 -4205
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/scss/test_helper.rb +0 -37
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/source_map_test.rb +0 -1055
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/superselector_test.rb +0 -210
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_cached_import_option_partial.scss +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_double_import_loop2.sass +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_filename_fn_import.scss +0 -11
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_imported_charset_ibm866.sass +0 -4
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_imported_charset_utf8.sass +0 -4
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_imported_content.sass +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_partial.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/_same_name_different_partiality.scss +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/alt.sass +0 -16
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/basic.sass +0 -23
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork1.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork2.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork3.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork4.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/bork5.sass +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/cached_import_option.scss +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/compact.sass +0 -17
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/complex.sass +0 -305
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/compressed.sass +0 -15
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/double_import_loop1.sass +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/expanded.sass +0 -17
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/filename_fn.scss +0 -18
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/if.sass +0 -11
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import.sass +0 -12
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import_charset.sass +0 -9
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import_charset_1_8.sass +0 -6
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import_charset_ibm866.sass +0 -11
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/import_content.sass +0 -4
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/importee.less +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/importee.sass +0 -19
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/line_numbers.sass +0 -13
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/mixin_bork.sass +0 -5
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/mixins.sass +0 -76
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/multiline.sass +0 -20
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested.sass +0 -25
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_bork1.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_bork2.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_bork3.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_bork4.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_import.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/nested_mixin_bork.sass +0 -6
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/options.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/parent_ref.sass +0 -25
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/same_name_different_ext.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/same_name_different_ext.scss +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/same_name_different_partiality.scss +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/script.sass +0 -101
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/scss_import.scss +0 -12
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/scss_importee.scss +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/single_import_loop.sass +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/import_up1.scss +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/import_up2.scss +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +0 -2
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/subdir/subdir.sass +0 -6
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/units.sass +0 -11
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/warn.sass +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/templates/warn_imported.sass +0 -4
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/test_helper.rb +0 -8
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/util/multibyte_string_scanner_test.rb +0 -155
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/util/normalized_map_test.rb +0 -51
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/util/subset_map_test.rb +0 -91
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/util_test.rb +0 -438
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/value_helpers_test.rb +0 -179
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/test_helper.rb +0 -110
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/CHANGELOG.md +0 -1
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/CONTRIBUTING.md +0 -38
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/Gemfile +0 -20
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/Guardfile +0 -8
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/LICENSE +0 -20
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/README.md +0 -349
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/Rakefile +0 -5
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/Vagrantfile +0 -96
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen.rb +0 -54
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapter.rb +0 -327
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/bsd.rb +0 -75
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/darwin.rb +0 -48
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/linux.rb +0 -81
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/polling.rb +0 -58
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/adapters/windows.rb +0 -91
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/directory_record.rb +0 -406
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/listener.rb +0 -323
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/turnstile.rb +0 -32
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/lib/listen/version.rb +0 -3
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/listen.gemspec +0 -28
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapter_spec.rb +0 -149
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/bsd_spec.rb +0 -36
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/darwin_spec.rb +0 -37
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/linux_spec.rb +0 -47
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/polling_spec.rb +0 -68
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/adapters/windows_spec.rb +0 -30
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/directory_record_spec.rb +0 -1250
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/listener_spec.rb +0 -258
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen/turnstile_spec.rb +0 -56
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/listen_spec.rb +0 -67
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/spec_helper.rb +0 -25
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/adapter_helper.rb +0 -666
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/directory_record_helper.rb +0 -57
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/fixtures_helper.rb +0 -29
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/listeners_helper.rb +0 -179
- data/bundle/ruby/2.5.0/gems/sass-3.4.25/vendor/listen/spec/support/platform_helper.rb +0 -15
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/History.rdoc +0 -360
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/Manifest.txt +0 -14
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/Rakefile +0 -17
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/lib/pt_testcase.rb +0 -3130
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/lib/sexp.rb +0 -1420
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/lib/sexp_processor.rb +0 -754
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/lib/strict_sexp.rb +0 -126
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/test/test_composite_sexp_processor.rb +0 -66
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/test/test_environment.rb +0 -94
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/test/test_sexp.rb +0 -1643
- data/bundle/ruby/2.5.0/gems/sexp_processor-4.11.0/test/test_sexp_processor.rb +0 -399
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/CHANGES +0 -431
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/Gemfile +0 -69
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/LICENSE +0 -21
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/README.jp.md +0 -1230
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/README.md +0 -1230
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/Rakefile +0 -100
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/context.rb +0 -11
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/profile-parser.rb +0 -10
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/profile-render.rb +0 -12
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/run-benchmarks.rb +0 -126
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/run-diffbench.rb +0 -21
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/view.erb +0 -23
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/view.haml +0 -18
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/benchmarks/view.slim +0 -17
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/bin/slimrb +0 -6
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/include.md +0 -20
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/jp/include.md +0 -20
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/jp/logic_less.md +0 -137
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/jp/smart.md +0 -102
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/jp/translator.md +0 -28
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/logic_less.md +0 -137
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/smart.md +0 -103
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/doc/translator.md +0 -28
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/command.rb +0 -128
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/embedded.rb +0 -273
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/engine.rb +0 -39
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/filter.rb +0 -30
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/grammar.rb +0 -20
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/logic_less/context.rb +0 -127
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/parser.rb +0 -537
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/smart/parser.rb +0 -36
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/splat/builder.rb +0 -101
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/lib/slim/version.rb +0 -5
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/slim.gemspec +0 -24
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/helper.rb +0 -211
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_blocks.rb +0 -183
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_escaping.rb +0 -150
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_evaluation.rb +0 -180
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_output.rb +0 -168
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_code_structure.rb +0 -186
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_commands.rb +0 -223
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_embedded_engines.rb +0 -242
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_encoding.rb +0 -28
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_erb_converter.rb +0 -67
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_html_attributes.rb +0 -268
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_html_escaping.rb +0 -65
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_html_structure.rb +0 -553
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_parser_errors.rb +0 -148
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_pretty.rb +0 -166
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_ruby_errors.rb +0 -207
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_slim_template.rb +0 -77
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_tabs.rb +0 -169
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_text_interpolation.rb +0 -79
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_thread_options.rb +0 -18
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/core/test_unicode.rb +0 -16
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/files/recursive.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/files/slimfile.slim +0 -3
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/files/subdir/test.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/files/textfile +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/include/test_include.rb +0 -24
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/TESTS.md +0 -1290
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/helper.rb +0 -15
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/run.rb +0 -92
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/logic_less/test_logic_less.rb +0 -295
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/Rakefile +0 -7
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/controllers/application_controller.rb +0 -2
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/controllers/entries_controller.rb +0 -5
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/controllers/slim_controller.rb +0 -40
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/helpers/application_helper.rb +0 -5
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/models/entry.rb +0 -16
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/entries/edit.html.slim +0 -3
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/layouts/application.html.slim +0 -10
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/_partial.html.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/content_for.html.slim +0 -7
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/erb.html.erb +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/form_for.html.slim +0 -2
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/helper.html.slim +0 -4
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/integers.html.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/no_layout.html.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/normal.html.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/partial.html.slim +0 -2
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/splat.html.slim +0 -2
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/thread_options.html.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/variables.html.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/app/views/slim/xml.slim +0 -1
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config.ru +0 -4
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/application.rb +0 -44
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/boot.rb +0 -10
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/environment.rb +0 -5
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/environments/test.rb +0 -34
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/backtrace_silencers.rb +0 -7
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/inflections.rb +0 -10
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/mime_types.rb +0 -5
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/secret_token.rb +0 -7
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/initializers/session_store.rb +0 -8
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/locales/en.yml +0 -5
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/config/routes.rb +0 -60
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/script/rails +0 -6
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/test/helper.rb +0 -31
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/rails/test/test_slim.rb +0 -90
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/smart/test_smart_text.rb +0 -296
- data/bundle/ruby/2.5.0/gems/slim-3.0.7/test/translator/test_translator.rb +0 -76
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/CHANGES +0 -240
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/EXPRESSIONS.md +0 -261
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/README.md +0 -267
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/Rakefile +0 -25
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple.rb +0 -66
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/filters/static_analyzer.rb +0 -87
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/filters/string_splitter.rb +0 -130
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/mixins/dispatcher.rb +0 -160
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/templates/rails.rb +0 -26
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/lib/temple/version.rb +0 -3
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_code_merger.rb +0 -38
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_control_flow.rb +0 -90
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_dynamic_inliner.rb +0 -95
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_eraser.rb +0 -55
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_escapable.rb +0 -49
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_multi_flattener.rb +0 -33
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_static_analyzer.rb +0 -23
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_static_merger.rb +0 -41
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/filters/test_string_splitter.rb +0 -18
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/helper.rb +0 -30
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_attribute_merger.rb +0 -76
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_attribute_remover.rb +0 -43
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_attribute_sorter.rb +0 -48
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_fast.rb +0 -97
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/html/test_pretty.rb +0 -55
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/mixins/test_dispatcher.rb +0 -70
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/mixins/test_grammar_dsl.rb +0 -86
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_engine.rb +0 -189
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_erb.rb +0 -61
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_filter.rb +0 -29
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_generator.rb +0 -158
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_grammar.rb +0 -47
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_map.rb +0 -39
- data/bundle/ruby/2.5.0/gems/temple-0.7.7/test/test_utils.rb +0 -39
- data/bundle/ruby/2.5.0/gems/terminal-table-1.8.0/Rakefile +0 -15
- data/bundle/ruby/2.5.0/gems/terminal-table-1.8.0/examples/examples.rb +0 -83
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/CHANGELOG.md +0 -127
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/Gemfile +0 -65
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/HACKING +0 -16
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/README.md +0 -233
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/Rakefile +0 -106
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/bin/tilt +0 -122
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/docs/TEMPLATES.md +0 -555
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/docs/common.css +0 -14
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt.rb +0 -166
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/commonmarker.rb +0 -21
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/erb.rb +0 -57
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/haml.rb +0 -86
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/sass.rb +0 -41
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/lib/tilt/template.rb +0 -302
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/man/index.txt +0 -2
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/man/tilt.1.ronn +0 -59
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/locals.mab +0 -1
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/markaby.mab +0 -1
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/markaby_other_static.mab +0 -1
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/render_twice.mab +0 -1
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/scope.mab +0 -1
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/markaby/yielding.mab +0 -2
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/mytemplate.rb +0 -2
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/test_helper.rb +0 -64
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_asciidoctor_test.rb +0 -50
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_babeltemplate.rb +0 -33
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_blueclothtemplate_test.rb +0 -33
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_buildertemplate_test.rb +0 -72
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_cache_test.rb +0 -43
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_coffeescripttemplate_test.rb +0 -141
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_commonmarkertemplate_test.rb +0 -20
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_compilesite_test.rb +0 -51
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_creoletemplate_test.rb +0 -24
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_csv_test.rb +0 -77
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_erbtemplate_test.rb +0 -239
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_erubistemplate_test.rb +0 -151
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_erubitemplate_test.rb +0 -158
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_etannitemplate_test.rb +0 -174
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_hamltemplate_test.rb +0 -166
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_kramdown_test.rb +0 -20
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_lesstemplate_test.less +0 -1
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_lesstemplate_test.rb +0 -42
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_liquidtemplate_test.rb +0 -87
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_livescripttemplate_test.rb +0 -37
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_mapping_test.rb +0 -232
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_markaby_test.rb +0 -88
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_markdown_test.rb +0 -186
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_marukutemplate_test.rb +0 -36
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_metadata_test.rb +0 -42
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_nokogiritemplate_test.rb +0 -87
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_pandoctemplate_test.rb +0 -67
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_prawntemplate.prawn +0 -1
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_prawntemplate_test.rb +0 -75
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_radiustemplate_test.rb +0 -75
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_rdiscounttemplate_test.rb +0 -43
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_rdoctemplate_test.rb +0 -29
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_redcarpettemplate_test.rb +0 -54
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_redclothtemplate_test.rb +0 -36
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_rstpandoctemplate_test.rb +0 -32
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_sasstemplate_test.rb +0 -41
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_sigil_test.rb +0 -41
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_stringtemplate_test.rb +0 -171
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_template_test.rb +0 -314
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_test.rb +0 -60
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_typescript_test.rb +0 -38
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_wikiclothtemplate_test.rb +0 -32
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/test/tilt_yajltemplate_test.rb +0 -101
- data/bundle/ruby/2.5.0/gems/tilt-2.0.8/tilt.gemspec +0 -130
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/CHANGELOG.md +0 -113
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/MIT-LICENSE.txt +0 -22
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/README.md +0 -124
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/Rakefile +0 -64
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/data/display_width.marshal.gz +0 -0
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width.rb +0 -51
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width/constants.rb +0 -8
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/spec/display_width_spec.rb +0 -156
- data/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/unicode-display_width.gemspec +0 -18
data/bundle/ruby/2.5.0/gems/sass-3.4.25/test/sass/results/subdir/nested_subdir/nested_subdir.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
#pi { width: 314px; }
|
File without changes
|
File without changes
|
@@ -1,357 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# -*- coding: utf-8 -*-
|
3
|
-
require File.dirname(__FILE__) + '/../test_helper'
|
4
|
-
require 'sass/engine'
|
5
|
-
|
6
|
-
class SassScriptConversionTest < MiniTest::Test
|
7
|
-
def test_bool
|
8
|
-
assert_renders "true"
|
9
|
-
assert_renders "false"
|
10
|
-
end
|
11
|
-
|
12
|
-
def test_color
|
13
|
-
assert_renders "#abcdef"
|
14
|
-
assert_renders "blue"
|
15
|
-
assert_renders "rgba(0, 1, 2, 0.2)"
|
16
|
-
assert_renders "#abc"
|
17
|
-
assert_renders "#0000ff"
|
18
|
-
end
|
19
|
-
|
20
|
-
def test_number
|
21
|
-
assert_renders "10"
|
22
|
-
assert_renders "10.35"
|
23
|
-
assert_renders "12px"
|
24
|
-
assert_renders "12.45px"
|
25
|
-
|
26
|
-
assert_equal "12.34568", render("12.345678901")
|
27
|
-
end
|
28
|
-
|
29
|
-
def test_string
|
30
|
-
assert_renders '"foo"'
|
31
|
-
assert_renders '"bar baz"'
|
32
|
-
assert_equal '"baz bang"', render("'baz bang'")
|
33
|
-
end
|
34
|
-
|
35
|
-
def test_string_quotes
|
36
|
-
assert_equal "'quote\"quote'", render('"quote\\"quote"')
|
37
|
-
assert_equal '"quote\'quote"', render("'quote\\'quote'")
|
38
|
-
assert_renders '"quote\'quote\\"quote"'
|
39
|
-
assert_equal '"quote\'quote\\"quote"', render("'quote\\'quote\"quote'")
|
40
|
-
end
|
41
|
-
|
42
|
-
def test_string_escapes
|
43
|
-
assert_renders '"foo\\\\bar"'
|
44
|
-
end
|
45
|
-
|
46
|
-
def test_funcall
|
47
|
-
assert_renders "foo(true, blue)"
|
48
|
-
assert_renders "hsla(20deg, 30%, 50%, 0.3)"
|
49
|
-
assert_renders "blam()"
|
50
|
-
|
51
|
-
assert_renders "-\xC3\xBFoo(12px)"
|
52
|
-
assert_renders "-foo(12px)"
|
53
|
-
end
|
54
|
-
|
55
|
-
def test_funcall_with_keyword_args
|
56
|
-
assert_renders "foo(arg1, arg2, $karg1: val, $karg2: val2)"
|
57
|
-
assert_renders "foo($karg1: val, $karg2: val2)"
|
58
|
-
end
|
59
|
-
|
60
|
-
def test_funcall_with_hyphen_conversion_keyword_arg
|
61
|
-
assert_renders "foo($a-b_c: val)"
|
62
|
-
end
|
63
|
-
|
64
|
-
def test_url
|
65
|
-
assert_renders "url(foo.gif)"
|
66
|
-
assert_renders "url($var)"
|
67
|
-
assert_renders "url(\#{$var}/flip.gif)"
|
68
|
-
end
|
69
|
-
|
70
|
-
def test_variable
|
71
|
-
assert_renders "$foo-bar"
|
72
|
-
assert_renders "$flaznicate"
|
73
|
-
end
|
74
|
-
|
75
|
-
def test_null
|
76
|
-
assert_renders "null"
|
77
|
-
end
|
78
|
-
|
79
|
-
def test_space_list
|
80
|
-
assert_renders "foo bar baz"
|
81
|
-
assert_renders "foo (bar baz) bip"
|
82
|
-
assert_renders "foo (bar, baz) bip"
|
83
|
-
end
|
84
|
-
|
85
|
-
def test_comma_list
|
86
|
-
assert_renders "foo, bar, baz"
|
87
|
-
assert_renders "foo, (bar, baz), bip"
|
88
|
-
assert_renders "foo, bar baz, bip"
|
89
|
-
end
|
90
|
-
|
91
|
-
def test_space_list_adds_parens_for_clarity
|
92
|
-
assert_renders "(1 + 1) (2 / 4) (3 * 5)"
|
93
|
-
end
|
94
|
-
|
95
|
-
def test_comma_list_doesnt_add_parens
|
96
|
-
assert_renders "1 + 1, 2 / 4, 3 * 5"
|
97
|
-
end
|
98
|
-
|
99
|
-
def test_empty_list
|
100
|
-
assert_renders "()"
|
101
|
-
end
|
102
|
-
|
103
|
-
def test_list_in_args
|
104
|
-
assert_renders "foo((a, b, c))"
|
105
|
-
assert_renders "foo($arg: (a, b, c))"
|
106
|
-
assert_renders "foo(a, b, (a, b, c)...)"
|
107
|
-
end
|
108
|
-
|
109
|
-
def test_singleton_list
|
110
|
-
assert_renders "(1,)"
|
111
|
-
assert_renders "(1 2 3,)"
|
112
|
-
assert_renders "((1, 2, 3),)"
|
113
|
-
end
|
114
|
-
|
115
|
-
def test_map
|
116
|
-
assert_renders "(foo: bar)"
|
117
|
-
assert_renders "(foo: bar, baz: bip)"
|
118
|
-
assert_renders "(foo: bar, baz: (bip: bap))"
|
119
|
-
end
|
120
|
-
|
121
|
-
def test_map_in_list
|
122
|
-
assert_renders "(foo: bar) baz"
|
123
|
-
assert_renders "(foo: bar), (baz: bip)"
|
124
|
-
end
|
125
|
-
|
126
|
-
def test_list_in_map
|
127
|
-
assert_renders "(foo: bar baz)"
|
128
|
-
assert_renders "(foo: (bar, baz), bip: bop)"
|
129
|
-
end
|
130
|
-
|
131
|
-
def test_selector
|
132
|
-
assert_renders "&"
|
133
|
-
end
|
134
|
-
|
135
|
-
def self.test_precedence(outer, inner)
|
136
|
-
op_outer = Sass::Script::Lexer::OPERATORS_REVERSE[outer]
|
137
|
-
op_inner = Sass::Script::Lexer::OPERATORS_REVERSE[inner]
|
138
|
-
class_eval <<RUBY
|
139
|
-
def test_precedence_#{outer}_#{inner}
|
140
|
-
assert_renders "$foo #{op_outer} $bar #{op_inner} $baz"
|
141
|
-
assert_renders "$foo #{op_inner} $bar #{op_outer} $baz"
|
142
|
-
|
143
|
-
assert_renders "($foo #{op_outer} $bar) #{op_inner} $baz"
|
144
|
-
assert_renders "$foo #{op_inner} ($bar #{op_outer} $baz)"
|
145
|
-
|
146
|
-
assert_equal "$foo #{op_outer} $bar #{op_inner} $baz",
|
147
|
-
render("$foo #{op_outer} ($bar #{op_inner} $baz)")
|
148
|
-
assert_equal "$foo #{op_inner} $bar #{op_outer} $baz",
|
149
|
-
render("($foo #{op_inner} $bar) #{op_outer} $baz")
|
150
|
-
end
|
151
|
-
RUBY
|
152
|
-
end
|
153
|
-
|
154
|
-
def self.assert_associative(op_name, sibling_name)
|
155
|
-
op = separator_for(op_name)
|
156
|
-
sibling = separator_for(sibling_name)
|
157
|
-
class_eval <<RUBY
|
158
|
-
def test_associative_#{op_name}_#{sibling_name}
|
159
|
-
assert_renders "$foo#{op}$bar#{op}$baz"
|
160
|
-
|
161
|
-
assert_equal "$foo#{op}$bar#{op}$baz",
|
162
|
-
render("$foo#{op}($bar#{op}$baz)")
|
163
|
-
assert_equal "$foo#{op}$bar#{op}$baz",
|
164
|
-
render("($foo#{op}$bar)#{op}$baz")
|
165
|
-
|
166
|
-
assert_equal "$foo#{op}$bar#{sibling}$baz",
|
167
|
-
render("$foo#{op}($bar#{sibling}$baz)")
|
168
|
-
assert_equal "$foo#{sibling}$bar#{op}$baz",
|
169
|
-
render("($foo#{sibling}$bar)#{op}$baz")
|
170
|
-
end
|
171
|
-
RUBY
|
172
|
-
end
|
173
|
-
|
174
|
-
def self.separator_for(op_name)
|
175
|
-
case op_name
|
176
|
-
when :comma; ", "
|
177
|
-
when :space; " "
|
178
|
-
else; " #{Sass::Script::Lexer::OPERATORS_REVERSE[op_name]} "
|
179
|
-
end
|
180
|
-
end
|
181
|
-
|
182
|
-
def self.assert_non_associative(op_name, sibling_name)
|
183
|
-
op = Sass::Script::Lexer::OPERATORS_REVERSE[op_name]
|
184
|
-
sibling = Sass::Script::Lexer::OPERATORS_REVERSE[sibling_name]
|
185
|
-
class_eval <<RUBY
|
186
|
-
def test_non_associative_#{op_name}_#{sibling_name}
|
187
|
-
assert_renders "$foo #{op} $bar #{op} $baz"
|
188
|
-
|
189
|
-
assert_renders "$foo #{op} ($bar #{op} $baz)"
|
190
|
-
assert_equal "$foo #{op} $bar #{op} $baz",
|
191
|
-
render("($foo #{op} $bar) #{op} $baz")
|
192
|
-
|
193
|
-
assert_renders "$foo #{op} ($bar #{sibling} $baz)"
|
194
|
-
assert_equal "$foo #{sibling} $bar #{op} $baz",
|
195
|
-
render("($foo #{sibling} $bar) #{op} $baz")
|
196
|
-
end
|
197
|
-
RUBY
|
198
|
-
end
|
199
|
-
|
200
|
-
test_precedence :or, :and
|
201
|
-
test_precedence :and, :eq
|
202
|
-
test_precedence :and, :neq
|
203
|
-
test_precedence :eq, :gt
|
204
|
-
test_precedence :eq, :gte
|
205
|
-
test_precedence :eq, :lt
|
206
|
-
test_precedence :eq, :lte
|
207
|
-
test_precedence :gt, :plus
|
208
|
-
test_precedence :gt, :minus
|
209
|
-
test_precedence :plus, :times
|
210
|
-
test_precedence :plus, :div
|
211
|
-
test_precedence :plus, :mod
|
212
|
-
|
213
|
-
assert_associative :plus, :minus
|
214
|
-
assert_associative :times, :div
|
215
|
-
assert_associative :times, :mod
|
216
|
-
|
217
|
-
assert_non_associative :minus, :plus
|
218
|
-
assert_non_associative :div, :times
|
219
|
-
assert_non_associative :mod, :times
|
220
|
-
assert_non_associative :gt, :gte
|
221
|
-
assert_non_associative :gte, :lt
|
222
|
-
assert_non_associative :lt, :lte
|
223
|
-
assert_non_associative :lte, :gt
|
224
|
-
|
225
|
-
def test_comma_precedence
|
226
|
-
assert_renders "$foo, $bar, $baz"
|
227
|
-
|
228
|
-
assert_renders "$foo ($bar, $baz)"
|
229
|
-
assert_renders "($foo, $bar) $baz"
|
230
|
-
|
231
|
-
assert_equal "$foo, $bar $baz", render("$foo, ($bar $baz)")
|
232
|
-
assert_equal "$foo $bar, $baz", render("($foo $bar), $baz")
|
233
|
-
|
234
|
-
assert_equal "$foo, ($bar, $baz)", render("$foo, ($bar, $baz)")
|
235
|
-
assert_equal "($foo, $bar), $baz", render("($foo, $bar), $baz")
|
236
|
-
end
|
237
|
-
|
238
|
-
def test_space_precedence
|
239
|
-
assert_renders "$foo $bar $baz"
|
240
|
-
|
241
|
-
assert_renders "$foo or ($bar $baz)"
|
242
|
-
assert_renders "($foo $bar) or $baz"
|
243
|
-
|
244
|
-
assert_renders "$foo ($bar or $baz)"
|
245
|
-
assert_renders "($foo or $bar) $baz"
|
246
|
-
|
247
|
-
assert_equal "$foo ($bar $baz)", render("$foo ($bar $baz)")
|
248
|
-
assert_equal "($foo $bar) $baz", render("($foo $bar) $baz")
|
249
|
-
end
|
250
|
-
|
251
|
-
def test_unary_op
|
252
|
-
assert_renders "-12px"
|
253
|
-
assert_renders '/"foo"'
|
254
|
-
assert_renders 'not true'
|
255
|
-
|
256
|
-
assert_renders "-(foo(12px))"
|
257
|
-
assert_renders "-(-foo(12px))"
|
258
|
-
assert_renders "-(_foo(12px))"
|
259
|
-
assert_renders "-(\xC3\xBFoo(12px))"
|
260
|
-
assert_renders "-(blue)"
|
261
|
-
|
262
|
-
assert_equal 'not true or false', render('(not true) or false')
|
263
|
-
assert_equal 'not (true or false)', render('not (true or false)')
|
264
|
-
end
|
265
|
-
|
266
|
-
def test_interpolation
|
267
|
-
assert_equal 'unquote("#{$foo}#{$bar}#{$baz}")', render("$foo\#{$bar}$baz")
|
268
|
-
assert_equal 'unquote("#{$foo}#{$bar} #{$baz}")', render("$foo\#{$bar} $baz")
|
269
|
-
assert_equal 'unquote("#{$foo} #{$bar}#{$baz}")', render("$foo \#{$bar}$baz")
|
270
|
-
assert_renders "$foo \#{$bar} $baz"
|
271
|
-
assert_renders "$foo \#{$bar}\#{$bang} $baz"
|
272
|
-
assert_renders "$foo \#{$bar} \#{$bang} $baz"
|
273
|
-
assert_equal 'unquote("#{$bar}#{$baz}")', render("\#{$bar}$baz")
|
274
|
-
assert_equal 'unquote("#{$foo}#{$bar}")', render("$foo\#{$bar}")
|
275
|
-
assert_renders "\#{$bar}"
|
276
|
-
end
|
277
|
-
|
278
|
-
def test_interpolation_in_function
|
279
|
-
assert_renders 'flabnabbit(#{1 + "foo"})'
|
280
|
-
assert_equal 'flabnabbit(unquote("#{$foo} #{1 + "foo"}#{$baz}"))',
|
281
|
-
render('flabnabbit($foo #{1 + "foo"}$baz)')
|
282
|
-
assert_renders 'flabnabbit($foo #{1 + "foo"}#{2 + "bar"} $baz)'
|
283
|
-
end
|
284
|
-
|
285
|
-
def test_interpolation_in_string_function
|
286
|
-
assert_renders 'calc(#{1 + "foo"})'
|
287
|
-
assert_renders 'calc(foo#{1 + "foo"}baz)'
|
288
|
-
end
|
289
|
-
|
290
|
-
def test_interpolation_near_operators
|
291
|
-
assert_renders '#{1 + 2} , #{3 + 4}'
|
292
|
-
assert_renders '#{1 + 2}, #{3 + 4}'
|
293
|
-
assert_renders '#{1 + 2} ,#{3 + 4}'
|
294
|
-
assert_renders '#{1 + 2},#{3 + 4}'
|
295
|
-
assert_renders '#{1 + 2}, #{3 + 4}, #{5 + 6}'
|
296
|
-
assert_renders '3, #{3 + 4}, 11'
|
297
|
-
|
298
|
-
assert_renders '3 / #{3 + 4}'
|
299
|
-
assert_renders '3 /#{3 + 4}'
|
300
|
-
assert_renders '3/ #{3 + 4}'
|
301
|
-
assert_renders '3/#{3 + 4}'
|
302
|
-
|
303
|
-
assert_equal 'unquote("#{1 + 2} * 7")', render('#{1 + 2} * 7')
|
304
|
-
assert_equal 'unquote("#{1 + 2}* 7")', render('#{1 + 2}* 7')
|
305
|
-
assert_equal 'unquote("#{1 + 2} *7")', render('#{1 + 2} *7')
|
306
|
-
assert_equal 'unquote("#{1 + 2}*7")', render('#{1 + 2}*7')
|
307
|
-
|
308
|
-
assert_renders '-#{1 + 2}'
|
309
|
-
assert_equal 'unquote("- #{1 + 2}")', render('- #{1 + 2}')
|
310
|
-
|
311
|
-
assert_equal 'unquote("5 + #{1 + 2} * #{3 + 4}")', render('5 + #{1 + 2} * #{3 + 4}')
|
312
|
-
assert_equal 'unquote("5 +#{1 + 2} * #{3 + 4}")', render('5 +#{1 + 2} * #{3 + 4}')
|
313
|
-
assert_equal 'unquote("5+#{1 + 2} * #{3 + 4}")', render('5+#{1 + 2} * #{3 + 4}')
|
314
|
-
assert_equal 'unquote("#{1 + 2} * #{3 + 4} + 5")', render('#{1 + 2} * #{3 + 4} + 5')
|
315
|
-
assert_equal 'unquote("#{1 + 2} * #{3 + 4}+ 5")', render('#{1 + 2} * #{3 + 4}+ 5')
|
316
|
-
assert_equal 'unquote("#{1 + 2} * #{3 + 4}+5")', render('#{1 + 2} * #{3 + 4}+5')
|
317
|
-
|
318
|
-
assert_equal '5 / unquote("#{1 + 2} + #{3 + 4}")', render('5 / (#{1 + 2} + #{3 + 4})')
|
319
|
-
assert_equal '5 / unquote("#{1 + 2} + #{3 + 4}")', render('5 /(#{1 + 2} + #{3 + 4})')
|
320
|
-
assert_equal '5 / unquote("#{1 + 2} + #{3 + 4}")', render('5 /( #{1 + 2} + #{3 + 4} )')
|
321
|
-
assert_equal 'unquote("#{1 + 2} + #{3 + 4}") / 5', render('(#{1 + 2} + #{3 + 4}) / 5')
|
322
|
-
assert_equal 'unquote("#{1 + 2} + #{3 + 4}") / 5', render('(#{1 + 2} + #{3 + 4})/ 5')
|
323
|
-
assert_equal 'unquote("#{1 + 2} + #{3 + 4}") / 5', render('( #{1 + 2} + #{3 + 4} )/ 5')
|
324
|
-
|
325
|
-
assert_equal 'unquote("#{1 + 2} + #{2 + 3}")', render('#{1 + 2} + 2 + 3')
|
326
|
-
assert_equal 'unquote("#{1 + 2} +#{2 + 3}")', render('#{1 + 2} +2 + 3')
|
327
|
-
end
|
328
|
-
|
329
|
-
def test_string_interpolation
|
330
|
-
assert_renders '"foo#{$bar}baz"'
|
331
|
-
assert_renders '"foo #{$bar}baz"'
|
332
|
-
assert_renders '"foo#{$bar} baz"'
|
333
|
-
assert_renders '"foo #{$bar} baz"'
|
334
|
-
assert_renders '"foo #{$bar}#{$bang} baz"'
|
335
|
-
assert_renders '"foo #{$bar} #{$bang} baz"'
|
336
|
-
assert_renders '"#{$bar}baz"'
|
337
|
-
assert_renders '"foo#{$bar}"'
|
338
|
-
assert_renders '"#{$bar}"'
|
339
|
-
|
340
|
-
assert_renders "'\"\#{\"bar\"}\"'"
|
341
|
-
assert_renders '"\#{bar}"'
|
342
|
-
|
343
|
-
assert_equal '"foo#{$bar}baz"', render("'foo\#{$bar}baz'")
|
344
|
-
end
|
345
|
-
|
346
|
-
private
|
347
|
-
|
348
|
-
def assert_renders(script, options = {})
|
349
|
-
assert_equal(script, render(script, options))
|
350
|
-
end
|
351
|
-
|
352
|
-
def render(script, options = {})
|
353
|
-
munge_filename(options)
|
354
|
-
node = Sass::Script.parse(script, 1, 0, options.merge(:_convert => true))
|
355
|
-
node.to_sass
|
356
|
-
end
|
357
|
-
end
|
@@ -1,1431 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# -*- coding: utf-8 -*-
|
3
|
-
require File.dirname(__FILE__) + '/../test_helper'
|
4
|
-
require 'sass/engine'
|
5
|
-
|
6
|
-
module Sass::Script::Functions::UserFunctions
|
7
|
-
def assert_options(val)
|
8
|
-
val.options[:foo]
|
9
|
-
Sass::Script::Value::String.new("Options defined!")
|
10
|
-
end
|
11
|
-
|
12
|
-
def arg_error
|
13
|
-
assert_options
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
module Sass::Script::Functions
|
18
|
-
include Sass::Script::Functions::UserFunctions
|
19
|
-
end
|
20
|
-
|
21
|
-
class SassScriptTest < MiniTest::Test
|
22
|
-
include Sass::Script
|
23
|
-
|
24
|
-
def test_color_clamps_input
|
25
|
-
assert_equal 0, Sass::Script::Value::Color.new([1, 2, -1]).blue
|
26
|
-
assert_equal 255, Sass::Script::Value::Color.new([256, 2, 3]).red
|
27
|
-
end
|
28
|
-
|
29
|
-
def test_color_clamps_rgba_input
|
30
|
-
assert_equal 1, Sass::Script::Value::Color.new([1, 2, 3, 1.1]).alpha
|
31
|
-
assert_equal 0, Sass::Script::Value::Color.new([1, 2, 3, -0.1]).alpha
|
32
|
-
end
|
33
|
-
|
34
|
-
def test_color_from_hex
|
35
|
-
assert_equal Sass::Script::Value::Color.new([0,0,0]), Sass::Script::Value::Color.from_hex('000000')
|
36
|
-
assert_equal Sass::Script::Value::Color.new([0,0,0]), Sass::Script::Value::Color.from_hex('#000000')
|
37
|
-
end
|
38
|
-
|
39
|
-
def test_string_escapes
|
40
|
-
assert_equal "'", resolve("\"'\"")
|
41
|
-
assert_equal '"', resolve("\"\\\"\"")
|
42
|
-
assert_equal "\\", resolve("\"\\\\\"")
|
43
|
-
assert_equal "☃", resolve("\"\\2603\"")
|
44
|
-
assert_equal "☃f", resolve("\"\\2603 f\"")
|
45
|
-
assert_equal "☃x", resolve("\"\\2603x\"")
|
46
|
-
assert_equal "\\2603", resolve("\"\\\\2603\"")
|
47
|
-
assert_equal "\#{foo}", resolve("\"\\\#{foo}\"")
|
48
|
-
|
49
|
-
# U+FFFD is the replacement character, "�".
|
50
|
-
assert_equal [0xFFFD].pack("U"), resolve("\"\\0\"")
|
51
|
-
assert_equal [0xFFFD].pack("U"), resolve("\"\\FFFFFF\"")
|
52
|
-
assert_equal [0xFFFD].pack("U"), resolve("\"\\D800\"")
|
53
|
-
assert_equal [0xD7FF].pack("U"), resolve("\"\\D7FF\"")
|
54
|
-
assert_equal [0xFFFD].pack("U"), resolve("\"\\DFFF\"")
|
55
|
-
assert_equal [0xE000].pack("U"), resolve("\"\\E000\"")
|
56
|
-
end
|
57
|
-
|
58
|
-
def test_string_escapes_are_resolved_before_operators
|
59
|
-
assert_equal "true", resolve('"abc" == "\61\62\63"')
|
60
|
-
end
|
61
|
-
|
62
|
-
def test_string_quote
|
63
|
-
assert_equal '"foo"', resolve_quoted('"foo"')
|
64
|
-
assert_equal "'f\"oo'", resolve_quoted('"f\"oo"')
|
65
|
-
assert_equal "\"f'oo\"", resolve_quoted("'f\\'oo'")
|
66
|
-
assert_equal "\"f'o\\\"o\"", resolve_quoted("'f\\'o\"o'")
|
67
|
-
assert_equal '"foo bar"', resolve_quoted('"foo\20 bar"')
|
68
|
-
assert_equal '"foo\a bar"', resolve_quoted('"foo\a bar"')
|
69
|
-
assert_equal '"x\ay"', resolve_quoted('"x\a y"')
|
70
|
-
assert_equal '"\a "', resolve_quoted('"\a\20"')
|
71
|
-
assert_equal '"\a abcdef"', resolve_quoted('"\a abcdef"')
|
72
|
-
assert_equal '"☃abcdef"', resolve_quoted('"\2603 abcdef"')
|
73
|
-
assert_equal '"\\\\"', resolve_quoted('"\\\\"')
|
74
|
-
assert_equal '"foobar"', resolve_quoted("\"foo\\\nbar\"")
|
75
|
-
assert_equal '"#{foo}"', resolve_quoted("\"\\\#{foo}\"")
|
76
|
-
end
|
77
|
-
|
78
|
-
def test_color_names
|
79
|
-
assert_equal "white", resolve("white")
|
80
|
-
assert_equal "#ffffff", resolve("#ffffff")
|
81
|
-
silence_warnings {assert_equal "#fffffe", resolve("white - #000001")}
|
82
|
-
assert_equal "transparent", resolve("transparent")
|
83
|
-
assert_equal "transparent", resolve("rgba(0, 0, 0, 0)")
|
84
|
-
end
|
85
|
-
|
86
|
-
def test_rgba_color_literals
|
87
|
-
assert_equal Sass::Script::Value::Color.new([1, 2, 3, 0.75]), eval("rgba(1, 2, 3, 0.75)")
|
88
|
-
assert_equal "rgba(1, 2, 3, 0.75)", resolve("rgba(1, 2, 3, 0.75)")
|
89
|
-
|
90
|
-
assert_equal Sass::Script::Value::Color.new([1, 2, 3, 0]), eval("rgba(1, 2, 3, 0)")
|
91
|
-
assert_equal "rgba(1, 2, 3, 0)", resolve("rgba(1, 2, 3, 0)")
|
92
|
-
|
93
|
-
assert_equal Sass::Script::Value::Color.new([1, 2, 3]), eval("rgba(1, 2, 3, 1)")
|
94
|
-
assert_equal Sass::Script::Value::Color.new([1, 2, 3, 1]), eval("rgba(1, 2, 3, 1)")
|
95
|
-
assert_equal "#010203", resolve("rgba(1, 2, 3, 1)")
|
96
|
-
assert_equal "white", resolve("rgba(255, 255, 255, 1)")
|
97
|
-
end
|
98
|
-
|
99
|
-
def test_rgba_color_math
|
100
|
-
silence_warnings {assert_equal "rgba(50, 50, 100, 0.35)", resolve("rgba(1, 1, 2, 0.35) * rgba(50, 50, 50, 0.35)")}
|
101
|
-
silence_warnings {assert_equal "rgba(52, 52, 52, 0.25)", resolve("rgba(2, 2, 2, 0.25) + rgba(50, 50, 50, 0.25)")}
|
102
|
-
|
103
|
-
assert_raise_message(Sass::SyntaxError, "Alpha channels must be equal: rgba(1, 2, 3, 0.15) + rgba(50, 50, 50, 0.75)") do
|
104
|
-
silence_warnings {resolve("rgba(1, 2, 3, 0.15) + rgba(50, 50, 50, 0.75)")}
|
105
|
-
end
|
106
|
-
assert_raise_message(Sass::SyntaxError, "Alpha channels must be equal: #123456 * rgba(50, 50, 50, 0.75)") do
|
107
|
-
silence_warnings {resolve("#123456 * rgba(50, 50, 50, 0.75)")}
|
108
|
-
end
|
109
|
-
assert_raise_message(Sass::SyntaxError, "Alpha channels must be equal: rgba(50, 50, 50, 0.75) / #123456") do
|
110
|
-
silence_warnings {resolve("rgba(50, 50, 50, 0.75) / #123456")}
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
def test_rgba_number_math
|
115
|
-
silence_warnings {assert_equal "rgba(49, 49, 49, 0.75)", resolve("rgba(50, 50, 50, 0.75) - 1")}
|
116
|
-
silence_warnings {assert_equal "rgba(100, 100, 100, 0.75)", resolve("rgba(50, 50, 50, 0.75) * 2")}
|
117
|
-
end
|
118
|
-
|
119
|
-
def test_rgba_rounding
|
120
|
-
assert_equal "rgba(10, 1, 0, 0.12346)", resolve("rgba(10.0, 1.23456789, 0.0, 0.1234567)")
|
121
|
-
end
|
122
|
-
|
123
|
-
def test_rgb_calc
|
124
|
-
assert_equal "rgb(calc(255 - 5), 0, 0)", resolve("rgb(calc(255 - 5), 0, 0)")
|
125
|
-
end
|
126
|
-
|
127
|
-
def test_rgba_calc
|
128
|
-
assert_equal "rgba(calc(255 - 5), 0, 0, 0.1)",
|
129
|
-
resolve("rgba(calc(255 - 5), 0, 0, 0.1)")
|
130
|
-
assert_equal "rgba(127, 0, 0, calc(0.1 + 0.5))",
|
131
|
-
resolve("rgba(127, 0, 0, calc(0.1 + 0.5))")
|
132
|
-
end
|
133
|
-
|
134
|
-
def test_rgba_shorthand_calc
|
135
|
-
assert_equal "rgba(255, 0, 0, calc(0.1 + 0.5))",
|
136
|
-
resolve("rgba(red, calc(0.1 + 0.5))")
|
137
|
-
end
|
138
|
-
|
139
|
-
def test_hsl_calc
|
140
|
-
assert_equal "hsl(calc(360 * 5 / 6), 50%, 50%)", resolve("hsl(calc(360 * 5 / 6), 50%, 50%)")
|
141
|
-
end
|
142
|
-
|
143
|
-
def test_hsla_calc
|
144
|
-
assert_equal "hsla(calc(360 * 5 / 6), 50%, 50%, 0.1)",
|
145
|
-
resolve("hsla(calc(360 * 5 / 6), 50%, 50%, 0.1)")
|
146
|
-
assert_equal "hsla(270, 50%, 50%, calc(0.1 + 0.1))",
|
147
|
-
resolve("hsla(270, 50%, 50%, calc(0.1 + 0.1))")
|
148
|
-
end
|
149
|
-
|
150
|
-
def test_compressed_colors
|
151
|
-
assert_equal "#123456", resolve("#123456", :style => :compressed)
|
152
|
-
assert_equal "rgba(1,2,3,0.5)", resolve("rgba(1, 2, 3, 0.5)", :style => :compressed)
|
153
|
-
assert_equal "#123", resolve("#112233", :style => :compressed)
|
154
|
-
assert_equal "#000", resolve("black", :style => :compressed)
|
155
|
-
assert_equal "red", resolve("#f00", :style => :compressed)
|
156
|
-
assert_equal "blue", resolve("blue", :style => :compressed)
|
157
|
-
assert_equal "navy", resolve("#000080", :style => :compressed)
|
158
|
-
assert_equal "navy #fff", resolve("#000080 white", :style => :compressed)
|
159
|
-
assert_equal "This color is #fff", resolve('"This color is #{ white }"', :style => :compressed)
|
160
|
-
assert_equal "transparent", resolve("rgba(0, 0, 0, 0)", :style => :compressed)
|
161
|
-
end
|
162
|
-
|
163
|
-
def test_compressed_comma
|
164
|
-
# assert_equal "foo,bar,baz", resolve("foo, bar, baz", :style => :compressed)
|
165
|
-
# assert_equal "foo,#baf,baz", resolve("foo, #baf, baz", :style => :compressed)
|
166
|
-
assert_equal "foo,#baf,red", resolve("foo, #baf, #f00", :style => :compressed)
|
167
|
-
end
|
168
|
-
|
169
|
-
def test_implicit_strings
|
170
|
-
assert_equal Sass::Script::Value::String.new("foo"), eval("foo")
|
171
|
-
assert_equal Sass::Script::Value::String.new("foo/bar"), eval("foo/bar")
|
172
|
-
end
|
173
|
-
|
174
|
-
def test_basic_interpolation
|
175
|
-
assert_equal "foo3bar", resolve("foo\#{1 + 2}bar")
|
176
|
-
assert_equal "foo3 bar", resolve("foo\#{1 + 2} bar")
|
177
|
-
assert_equal "foo 3bar", resolve("foo \#{1 + 2}bar")
|
178
|
-
assert_equal "foo 3 bar", resolve("foo \#{1 + 2} bar")
|
179
|
-
assert_equal "foo 35 bar", resolve("foo \#{1 + 2}\#{2 + 3} bar")
|
180
|
-
assert_equal "foo 3 5 bar", resolve("foo \#{1 + 2} \#{2 + 3} bar")
|
181
|
-
assert_equal "3bar", resolve("\#{1 + 2}bar")
|
182
|
-
assert_equal "foo3", resolve("foo\#{1 + 2}")
|
183
|
-
assert_equal "3", resolve("\#{1 + 2}")
|
184
|
-
end
|
185
|
-
|
186
|
-
def test_interpolation_in_function
|
187
|
-
assert_equal 'flabnabbit(1foo)', resolve('flabnabbit(#{1 + "foo"})')
|
188
|
-
assert_equal 'flabnabbit(foo 1foobaz)', resolve('flabnabbit(foo #{1 + "foo"}baz)')
|
189
|
-
assert_equal('flabnabbit(foo 1foo2bar baz)',
|
190
|
-
resolve('flabnabbit(foo #{1 + "foo"}#{2 + "bar"} baz)'))
|
191
|
-
end
|
192
|
-
|
193
|
-
def test_interpolation_near_operators
|
194
|
-
silence_warnings do
|
195
|
-
assert_equal '3 , 7', resolve('#{1 + 2} , #{3 + 4}')
|
196
|
-
assert_equal '3, 7', resolve('#{1 + 2}, #{3 + 4}')
|
197
|
-
assert_equal '3 ,7', resolve('#{1 + 2} ,#{3 + 4}')
|
198
|
-
assert_equal '3,7', resolve('#{1 + 2},#{3 + 4}')
|
199
|
-
assert_equal '3, 7, 11', resolve('#{1 + 2}, #{3 + 4}, #{5 + 6}')
|
200
|
-
assert_equal '3, 7, 11', resolve('3, #{3 + 4}, 11')
|
201
|
-
assert_equal '3, 7, 11', resolve('3, 7, #{5 + 6}')
|
202
|
-
|
203
|
-
assert_equal '3 / 7', resolve('3 / #{3 + 4}')
|
204
|
-
assert_equal '3 /7', resolve('3 /#{3 + 4}')
|
205
|
-
assert_equal '3/ 7', resolve('3/ #{3 + 4}')
|
206
|
-
assert_equal '3/7', resolve('3/#{3 + 4}')
|
207
|
-
|
208
|
-
assert_equal '3 * 7', resolve('#{1 + 2} * 7')
|
209
|
-
assert_equal '3* 7', resolve('#{1 + 2}* 7')
|
210
|
-
assert_equal '3 *7', resolve('#{1 + 2} *7')
|
211
|
-
assert_equal '3*7', resolve('#{1 + 2}*7')
|
212
|
-
|
213
|
-
assert_equal '-3', resolve('-#{1 + 2}')
|
214
|
-
assert_equal '- 3', resolve('- #{1 + 2}')
|
215
|
-
|
216
|
-
assert_equal '5 + 3 * 7', resolve('5 + #{1 + 2} * #{3 + 4}')
|
217
|
-
assert_equal '5 +3 * 7', resolve('5 +#{1 + 2} * #{3 + 4}')
|
218
|
-
assert_equal '5+3 * 7', resolve('5+#{1 + 2} * #{3 + 4}')
|
219
|
-
assert_equal '3 * 7 + 5', resolve('#{1 + 2} * #{3 + 4} + 5')
|
220
|
-
assert_equal '3 * 7+ 5', resolve('#{1 + 2} * #{3 + 4}+ 5')
|
221
|
-
assert_equal '3 * 7+5', resolve('#{1 + 2} * #{3 + 4}+5')
|
222
|
-
|
223
|
-
assert_equal '5/3 + 7', resolve('5 / (#{1 + 2} + #{3 + 4})')
|
224
|
-
assert_equal '5/3 + 7', resolve('5 /(#{1 + 2} + #{3 + 4})')
|
225
|
-
assert_equal '5/3 + 7', resolve('5 /( #{1 + 2} + #{3 + 4} )')
|
226
|
-
assert_equal '3 + 7/5', resolve('(#{1 + 2} + #{3 + 4}) / 5')
|
227
|
-
assert_equal '3 + 7/5', resolve('(#{1 + 2} + #{3 + 4})/ 5')
|
228
|
-
assert_equal '3 + 7/5', resolve('( #{1 + 2} + #{3 + 4} )/ 5')
|
229
|
-
|
230
|
-
assert_equal '3 + 5', resolve('#{1 + 2} + 2 + 3')
|
231
|
-
assert_equal '3 +5', resolve('#{1 + 2} +2 + 3')
|
232
|
-
end
|
233
|
-
end
|
234
|
-
|
235
|
-
def test_string_interpolation
|
236
|
-
assert_equal "foo bar, baz bang", resolve('"foo #{"bar"}, #{"baz"} bang"')
|
237
|
-
assert_equal "foo bar baz bang", resolve('"foo #{"#{"ba" + "r"} baz"} bang"')
|
238
|
-
assert_equal 'foo #{bar baz} bang', resolve('"foo \#{#{"ba" + "r"} baz} bang"')
|
239
|
-
assert_equal 'foo #{baz bang', resolve('"foo #{"\#{" + "baz"} bang"')
|
240
|
-
assert_equal "foo2bar", resolve('\'foo#{1 + 1}bar\'')
|
241
|
-
assert_equal "foo2bar", resolve('"foo#{1 + 1}bar"')
|
242
|
-
assert_equal "foo1bar5baz4bang", resolve('\'foo#{1 + "bar#{2 + 3}baz" + 4}bang\'')
|
243
|
-
end
|
244
|
-
|
245
|
-
def test_interpolation_in_interpolation
|
246
|
-
assert_equal 'foo', resolve('#{#{foo}}')
|
247
|
-
assert_equal 'foo', resolve('"#{#{foo}}"')
|
248
|
-
assert_equal 'foo', resolve('#{"#{foo}"}')
|
249
|
-
assert_equal 'foo', resolve('"#{"#{foo}"}"')
|
250
|
-
end
|
251
|
-
|
252
|
-
def test_interpolation_with_newline
|
253
|
-
assert_equal "\nbang", resolve('"#{"\a "}bang"')
|
254
|
-
assert_equal "\n\nbang", resolve('"#{"\a "}\a bang"')
|
255
|
-
end
|
256
|
-
|
257
|
-
def test_rule_interpolation
|
258
|
-
assert_equal(<<CSS, render(<<SASS))
|
259
|
-
foo bar baz bang {
|
260
|
-
a: b; }
|
261
|
-
CSS
|
262
|
-
foo \#{"\#{"ba" + "r"} baz"} bang
|
263
|
-
a: b
|
264
|
-
SASS
|
265
|
-
assert_equal(<<CSS, render(<<SASS))
|
266
|
-
foo [bar="\#{bar baz}"] bang {
|
267
|
-
a: b; }
|
268
|
-
CSS
|
269
|
-
foo [bar="\\\#{\#{"ba" + "r"} baz}"] bang
|
270
|
-
a: b
|
271
|
-
SASS
|
272
|
-
assert_equal(<<CSS, render(<<SASS))
|
273
|
-
foo [bar="\#{baz"] bang {
|
274
|
-
a: b; }
|
275
|
-
CSS
|
276
|
-
foo [bar="\#{"\\\#{" + "baz"}"] bang
|
277
|
-
a: b
|
278
|
-
SASS
|
279
|
-
end
|
280
|
-
|
281
|
-
def test_inaccessible_functions
|
282
|
-
assert_equal "send(to_s)", resolve("send(to_s)", :line => 2)
|
283
|
-
assert_equal "public_instance_methods()", resolve("public_instance_methods()")
|
284
|
-
end
|
285
|
-
|
286
|
-
def test_adding_functions_directly_to_functions_module
|
287
|
-
assert !Functions.callable?('nonexistant')
|
288
|
-
Functions.class_eval { def nonexistant; end }
|
289
|
-
assert Functions.callable?('nonexistant')
|
290
|
-
Functions.send :remove_method, :nonexistant
|
291
|
-
end
|
292
|
-
|
293
|
-
def test_default_functions
|
294
|
-
assert_equal "url(12)", resolve("url(12)")
|
295
|
-
assert_equal 'blam("foo")', resolve('blam("foo")')
|
296
|
-
end
|
297
|
-
|
298
|
-
def test_function_results_have_options
|
299
|
-
assert_equal "Options defined!", resolve("assert_options(abs(1))")
|
300
|
-
assert_equal "Options defined!", resolve("assert_options(round(1.2))")
|
301
|
-
end
|
302
|
-
|
303
|
-
def test_funcall_requires_no_whitespace_before_lparen
|
304
|
-
assert_equal "no-repeat 15px", resolve("no-repeat (7px + 8px)")
|
305
|
-
assert_equal "no-repeat(15px)", resolve("no-repeat(7px + 8px)")
|
306
|
-
end
|
307
|
-
|
308
|
-
def test_dynamic_url
|
309
|
-
assert_equal "url(foo-bar)", resolve("url($foo)", {}, env('foo' => Sass::Script::Value::String.new("foo-bar")))
|
310
|
-
assert_equal "url(foo-bar baz)", resolve("url($foo $bar)", {}, env('foo' => Sass::Script::Value::String.new("foo-bar"), 'bar' => Sass::Script::Value::String.new("baz")))
|
311
|
-
assert_equal "url(foo baz)", resolve("url(foo $bar)", {}, env('bar' => Sass::Script::Value::String.new("baz")))
|
312
|
-
assert_equal "url(foo bar)", resolve("url(foo bar)")
|
313
|
-
end
|
314
|
-
|
315
|
-
def test_url_with_interpolation
|
316
|
-
assert_equal "url(http://sass-lang.com/images/foo-bar)", resolve("url(http://sass-lang.com/images/\#{foo-bar})")
|
317
|
-
assert_equal 'url("http://sass-lang.com/images/foo-bar")', resolve("url('http://sass-lang.com/images/\#{foo-bar}')")
|
318
|
-
assert_equal 'url("http://sass-lang.com/images/foo-bar")', resolve('url("http://sass-lang.com/images/#{foo-bar}")')
|
319
|
-
assert_unquoted "url(http://sass-lang.com/images/\#{foo-bar})"
|
320
|
-
end
|
321
|
-
|
322
|
-
def test_hyphenated_variables
|
323
|
-
assert_equal("a-b", resolve("$a-b", {}, env("a-b" => Sass::Script::Value::String.new("a-b"))))
|
324
|
-
end
|
325
|
-
|
326
|
-
def test_ruby_equality
|
327
|
-
assert_equal eval('"foo"'), eval('"foo"')
|
328
|
-
assert_equal eval('1'), eval('1.0')
|
329
|
-
assert_equal eval('1 2 3.0'), eval('1 2 3')
|
330
|
-
assert_equal eval('1, 2, 3.0'), eval('1, 2, 3')
|
331
|
-
assert_equal eval('(1 2), (3, 4), (5 6)'), eval('(1 2), (3, 4), (5 6)')
|
332
|
-
refute_equal eval('1, 2, 3'), eval('1 2 3')
|
333
|
-
refute_equal eval('1'), eval('"1"')
|
334
|
-
end
|
335
|
-
|
336
|
-
def test_booleans
|
337
|
-
assert_equal "true", resolve("true")
|
338
|
-
assert_equal "false", resolve("false")
|
339
|
-
end
|
340
|
-
|
341
|
-
def test_null
|
342
|
-
assert_equal "", resolve("null")
|
343
|
-
end
|
344
|
-
|
345
|
-
def test_boolean_ops
|
346
|
-
assert_equal "true", resolve("true and true")
|
347
|
-
assert_equal "true", resolve("false or true")
|
348
|
-
assert_equal "true", resolve("true or false")
|
349
|
-
assert_equal "true", resolve("true or true")
|
350
|
-
assert_equal "false", resolve("false or false")
|
351
|
-
assert_equal "false", resolve("false and true")
|
352
|
-
assert_equal "false", resolve("true and false")
|
353
|
-
assert_equal "false", resolve("false and false")
|
354
|
-
|
355
|
-
assert_equal "true", resolve("not false")
|
356
|
-
assert_equal "false", resolve("not true")
|
357
|
-
assert_equal "true", resolve("not not true")
|
358
|
-
|
359
|
-
assert_equal "1", resolve("false or 1")
|
360
|
-
assert_equal "false", resolve("false and 1")
|
361
|
-
assert_equal "2", resolve("2 or 3")
|
362
|
-
assert_equal "3", resolve("2 and 3")
|
363
|
-
|
364
|
-
assert_equal "true", resolve("null or true")
|
365
|
-
assert_equal "true", resolve("true or null")
|
366
|
-
assert_equal "", resolve("null or null")
|
367
|
-
assert_equal "", resolve("null and true")
|
368
|
-
assert_equal "", resolve("true and null")
|
369
|
-
assert_equal "", resolve("null and null")
|
370
|
-
|
371
|
-
assert_equal "true", resolve("not null")
|
372
|
-
|
373
|
-
assert_equal "1", resolve("null or 1")
|
374
|
-
assert_equal "", resolve("null and 1")
|
375
|
-
end
|
376
|
-
|
377
|
-
def test_arithmetic_ops
|
378
|
-
assert_equal "2", resolve("1 + 1")
|
379
|
-
assert_equal "0", resolve("1 - 1")
|
380
|
-
assert_equal "8", resolve("2 * 4")
|
381
|
-
assert_equal "0.5", resolve("(2 / 4)")
|
382
|
-
assert_equal "2", resolve("(4 / 2)")
|
383
|
-
|
384
|
-
assert_equal "-1", resolve("-1")
|
385
|
-
end
|
386
|
-
|
387
|
-
def test_subtraction_vs_minus_vs_identifier
|
388
|
-
assert_equal "0.25em", resolve("1em-.75")
|
389
|
-
assert_equal "0.25em", resolve("1em-0.75")
|
390
|
-
assert_equal "1em -0.75", resolve("1em -.75")
|
391
|
-
assert_equal "1em -0.75", resolve("1em -0.75")
|
392
|
-
assert_equal "1em- 0.75", resolve("1em- .75")
|
393
|
-
assert_equal "1em- 0.75", resolve("1em- 0.75")
|
394
|
-
assert_equal "0.25em", resolve("1em - .75")
|
395
|
-
assert_equal "0.25em", resolve("1em - 0.75")
|
396
|
-
end
|
397
|
-
|
398
|
-
def test_string_ops
|
399
|
-
assert_equal '"foo" "bar"', resolve('"foo" "bar"')
|
400
|
-
assert_equal "true 1", resolve('true 1')
|
401
|
-
assert_equal '"foo", "bar"', resolve("'foo' , 'bar'")
|
402
|
-
assert_equal "true, 1", resolve('true , 1')
|
403
|
-
assert_equal "foobar", resolve('"foo" + "bar"')
|
404
|
-
assert_equal "\nfoo\nxyz", resolve('"\a foo" + "\axyz"')
|
405
|
-
assert_equal "true1", resolve('true + 1')
|
406
|
-
assert_equal '"foo"-"bar"', resolve("'foo' - 'bar'")
|
407
|
-
assert_equal "true-1", resolve('true - 1')
|
408
|
-
assert_equal '"foo"/"bar"', resolve('"foo" / "bar"')
|
409
|
-
assert_equal "true/1", resolve('true / 1')
|
410
|
-
|
411
|
-
assert_equal '-"bar"', resolve("- 'bar'")
|
412
|
-
assert_equal "-true", resolve('- true')
|
413
|
-
assert_equal '/"bar"', resolve('/ "bar"')
|
414
|
-
assert_equal "/true", resolve('/ true')
|
415
|
-
end
|
416
|
-
|
417
|
-
def test_relational_ops
|
418
|
-
assert_equal "false", resolve("1 > 2")
|
419
|
-
assert_equal "false", resolve("2 > 2")
|
420
|
-
assert_equal "true", resolve("3 > 2")
|
421
|
-
assert_equal "false", resolve("1 >= 2")
|
422
|
-
assert_equal "true", resolve("2 >= 2")
|
423
|
-
assert_equal "true", resolve("3 >= 2")
|
424
|
-
assert_equal "true", resolve("1 < 2")
|
425
|
-
assert_equal "false", resolve("2 < 2")
|
426
|
-
assert_equal "false", resolve("3 < 2")
|
427
|
-
assert_equal "true", resolve("1 <= 2")
|
428
|
-
assert_equal "true", resolve("2 <= 2")
|
429
|
-
assert_equal "false", resolve("3 <= 2")
|
430
|
-
end
|
431
|
-
|
432
|
-
def test_null_ops
|
433
|
-
assert_raise_message(Sass::SyntaxError,
|
434
|
-
'Invalid null operation: "null plus 1".') {eval("null + 1")}
|
435
|
-
assert_raise_message(Sass::SyntaxError,
|
436
|
-
'Invalid null operation: "null minus 1".') {eval("null - 1")}
|
437
|
-
assert_raise_message(Sass::SyntaxError,
|
438
|
-
'Invalid null operation: "null times 1".') {eval("null * 1")}
|
439
|
-
assert_raise_message(Sass::SyntaxError,
|
440
|
-
'Invalid null operation: "null div 1".') {eval("null / 1")}
|
441
|
-
assert_raise_message(Sass::SyntaxError,
|
442
|
-
'Invalid null operation: "null mod 1".') {eval("null % 1")}
|
443
|
-
assert_raise_message(Sass::SyntaxError,
|
444
|
-
'Invalid null operation: "1 plus null".') {eval("1 + null")}
|
445
|
-
assert_raise_message(Sass::SyntaxError,
|
446
|
-
'Invalid null operation: "1 minus null".') {eval("1 - null")}
|
447
|
-
assert_raise_message(Sass::SyntaxError,
|
448
|
-
'Invalid null operation: "1 times null".') {eval("1 * null")}
|
449
|
-
assert_raise_message(Sass::SyntaxError,
|
450
|
-
'Invalid null operation: "1 div null".') {eval("1 / null")}
|
451
|
-
assert_raise_message(Sass::SyntaxError,
|
452
|
-
'Invalid null operation: "1 mod null".') {eval("1 % null")}
|
453
|
-
assert_raise_message(Sass::SyntaxError,
|
454
|
-
'Invalid null operation: "1 gt null".') {eval("1 > null")}
|
455
|
-
assert_raise_message(Sass::SyntaxError,
|
456
|
-
'Invalid null operation: "null lt 1".') {eval("null < 1")}
|
457
|
-
assert_raise_message(Sass::SyntaxError,
|
458
|
-
'Invalid null operation: "null plus null".') {eval("null + null")}
|
459
|
-
assert_raise_message(Sass::SyntaxError,
|
460
|
-
'Invalid null operation: ""foo" plus null".') {eval("foo + null")}
|
461
|
-
end
|
462
|
-
|
463
|
-
def test_equals
|
464
|
-
assert_equal("true", resolve('"foo" == $foo', {},
|
465
|
-
env("foo" => Sass::Script::Value::String.new("foo"))))
|
466
|
-
assert_equal "true", resolve("1 == 1.0")
|
467
|
-
assert_equal "true", resolve("false != true")
|
468
|
-
assert_equal "false", resolve("1em == 1px")
|
469
|
-
assert_equal "false", resolve("12 != 12")
|
470
|
-
assert_equal "true", resolve("(foo bar baz) == (foo bar baz)")
|
471
|
-
assert_equal "true", resolve("(foo, bar, baz) == (foo, bar, baz)")
|
472
|
-
assert_equal "true", resolve('((1 2), (3, 4), (5 6)) == ((1 2), (3, 4), (5 6))')
|
473
|
-
assert_equal "true", resolve('((1 2), (3 4)) == (1 2, 3 4)')
|
474
|
-
assert_equal "false", resolve('((1 2) 3) == (1 2 3)')
|
475
|
-
assert_equal "false", resolve('(1 (2 3)) == (1 2 3)')
|
476
|
-
assert_equal "false", resolve('((1, 2) (3, 4)) == (1, 2 3, 4)')
|
477
|
-
assert_equal "false", resolve('(1 2 3) == (1, 2, 3)')
|
478
|
-
|
479
|
-
assert_equal "true", resolve('null == null')
|
480
|
-
assert_equal "false", resolve('"null" == null')
|
481
|
-
assert_equal "false", resolve('0 == null')
|
482
|
-
assert_equal "false", resolve('() == null')
|
483
|
-
|
484
|
-
assert_equal "false", resolve('null != null')
|
485
|
-
assert_equal "true", resolve('"null" != null')
|
486
|
-
assert_equal "true", resolve('0 != null')
|
487
|
-
assert_equal "true", resolve('() != null')
|
488
|
-
end
|
489
|
-
|
490
|
-
def test_mod
|
491
|
-
assert_equal "5", resolve("29 % 12")
|
492
|
-
assert_equal "5px", resolve("29px % 12")
|
493
|
-
assert_equal "5px", resolve("29px % 12px")
|
494
|
-
end
|
495
|
-
|
496
|
-
def test_operation_precedence
|
497
|
-
assert_equal "false true", resolve("true and false false or true")
|
498
|
-
assert_equal "true", resolve("false and true or true and true")
|
499
|
-
assert_equal "true", resolve("1 == 2 or 3 == 3")
|
500
|
-
assert_equal "true", resolve("1 < 2 == 3 >= 3")
|
501
|
-
assert_equal "true", resolve("1 + 3 > 4 - 2")
|
502
|
-
assert_equal "11", resolve("1 + 2 * 3 + 4")
|
503
|
-
end
|
504
|
-
|
505
|
-
def test_functions
|
506
|
-
assert_equal "#80ff80", resolve("hsl(120, 100%, 75%)")
|
507
|
-
silence_warnings {assert_equal "#81ff81", resolve("hsl(120, 100%, 75%) + #010001")}
|
508
|
-
end
|
509
|
-
|
510
|
-
def test_operator_unit_conversion
|
511
|
-
assert_equal "1.1cm", resolve("1cm + 1mm")
|
512
|
-
assert_equal "8q", resolve("4q + 1mm")
|
513
|
-
assert_equal "40.025cm", resolve("40cm + 1q")
|
514
|
-
assert_equal "2in", resolve("1in + 96px")
|
515
|
-
assert_equal "true", resolve("2mm < 1cm")
|
516
|
-
assert_equal "true", resolve("10mm == 1cm")
|
517
|
-
assert_equal "true", resolve("1.1cm == 11mm")
|
518
|
-
assert_equal "true", resolve("2mm == 8q")
|
519
|
-
assert_equal "false", resolve("2px > 3q")
|
520
|
-
|
521
|
-
Sass::Deprecation.allow_double_warnings do
|
522
|
-
assert_warning(<<WARNING) {assert_equal "true", resolve("1 == 1cm")}
|
523
|
-
DEPRECATION WARNING on line 1 of test_operator_unit_conversion_inline.sass:
|
524
|
-
The result of `1 == 1cm` will be `false` in future releases of Sass.
|
525
|
-
Unitless numbers will no longer be equal to the same numbers with units.
|
526
|
-
WARNING
|
527
|
-
|
528
|
-
assert_warning(<<WARNING) {assert_equal "false", resolve("1 != 1cm")}
|
529
|
-
DEPRECATION WARNING on line 1 of test_operator_unit_conversion_inline.sass:
|
530
|
-
The result of `1 != 1cm` will be `true` in future releases of Sass.
|
531
|
-
Unitless numbers will no longer be equal to the same numbers with units.
|
532
|
-
WARNING
|
533
|
-
end
|
534
|
-
end
|
535
|
-
|
536
|
-
def test_length_units
|
537
|
-
assert_equal "2.54", resolve("(1in/1cm)")
|
538
|
-
assert_equal "2.3622", resolve("(1cm/1pc)")
|
539
|
-
assert_equal "4.23333", resolve("(1pc/1mm)")
|
540
|
-
assert_equal "2.83465", resolve("(1mm/1pt)")
|
541
|
-
assert_equal "1.33333", resolve("(1pt/1px)")
|
542
|
-
assert_equal "0.01042", resolve("(1px/1in)")
|
543
|
-
assert_equal "1.05833", resolve("(1px/1q)")
|
544
|
-
assert_equal "0.05906", resolve("(1q/1pc)")
|
545
|
-
end
|
546
|
-
|
547
|
-
def test_angle_units
|
548
|
-
assert_equal "1.11111", resolve("(1deg/1grad)")
|
549
|
-
assert_equal "0.01571", resolve("(1grad/1rad)")
|
550
|
-
assert_equal "0.15915", resolve("(1rad/1turn)")
|
551
|
-
assert_equal "360", resolve("(1turn/1deg)")
|
552
|
-
end
|
553
|
-
|
554
|
-
def test_time_units
|
555
|
-
assert_equal "1000", resolve("(1s/1ms)")
|
556
|
-
end
|
557
|
-
|
558
|
-
def test_frequency_units
|
559
|
-
assert_equal "0.001", resolve("(1Hz/1kHz)")
|
560
|
-
end
|
561
|
-
|
562
|
-
def test_resolution_units
|
563
|
-
assert_equal "0.3937", resolve("(1dpi/1dpcm)")
|
564
|
-
assert_equal "0.02646", resolve("(1dpcm/1dppx)")
|
565
|
-
assert_equal "96", resolve("(1dppx/1dpi)")
|
566
|
-
end
|
567
|
-
|
568
|
-
def test_operations_have_options
|
569
|
-
assert_equal "Options defined!", resolve("assert_options(1 + 1)")
|
570
|
-
assert_equal "Options defined!", resolve("assert_options('bar' + 'baz')")
|
571
|
-
end
|
572
|
-
|
573
|
-
def test_slash_compiles_literally_when_left_alone
|
574
|
-
assert_equal "1px/2px", resolve("1px/2px")
|
575
|
-
assert_equal "1px/2px/3px/4px", resolve("1px/2px/3px/4px")
|
576
|
-
|
577
|
-
assert_equal "1px/2px redpx bluepx", resolve("1px/2px redpx bluepx")
|
578
|
-
assert_equal "foo 1px/2px/3px bar", resolve("foo 1px/2px/3px bar")
|
579
|
-
end
|
580
|
-
|
581
|
-
def test_slash_divides_with_parens
|
582
|
-
assert_equal "0.5", resolve("(1px/2px)")
|
583
|
-
assert_equal "0.5", resolve("(1px)/2px")
|
584
|
-
assert_equal "0.5", resolve("1px/(2px)")
|
585
|
-
end
|
586
|
-
|
587
|
-
def test_slash_divides_with_other_arithmetic
|
588
|
-
assert_equal "0.5px", resolve("1px*1px/2px")
|
589
|
-
assert_equal "0.5px", resolve("1px/2px*1px")
|
590
|
-
assert_equal "0.5", resolve("0+1px/2px")
|
591
|
-
assert_equal "0.5", resolve("1px/2px+0")
|
592
|
-
end
|
593
|
-
|
594
|
-
def test_slash_divides_with_variable
|
595
|
-
assert_equal "0.5", resolve("$var/2px", {}, env("var" => eval("1px")))
|
596
|
-
assert_equal "0.5", resolve("1px/$var", {}, env("var" => eval("2px")))
|
597
|
-
assert_equal "0.5", resolve("$var", {}, env("var" => eval("1px/2px")))
|
598
|
-
end
|
599
|
-
|
600
|
-
# Regression test for issue 1786.
|
601
|
-
def test_slash_division_within_list
|
602
|
-
assert_equal "1 1/2 1/2", resolve("(1 1/2 1/2)")
|
603
|
-
assert_equal "1/2 1/2", resolve("(1/2 1/2)")
|
604
|
-
assert_equal "1/2", resolve("(1/2,)")
|
605
|
-
end
|
606
|
-
|
607
|
-
def test_non_ident_colors_with_wrong_number_of_digits
|
608
|
-
assert_raise_message(Sass::SyntaxError,
|
609
|
-
'Invalid CSS after "": expected expression (e.g. 1px, bold), was "#1"') {eval("#1")}
|
610
|
-
assert_raise_message(Sass::SyntaxError,
|
611
|
-
'Invalid CSS after "": expected expression (e.g. 1px, bold), was "#12"') {eval("#12")}
|
612
|
-
assert_raise_message(Sass::SyntaxError,
|
613
|
-
'Invalid CSS after "": expected expression (e.g. 1px, bold), was "#1234"') {eval("#1234")}
|
614
|
-
assert_raise_message(Sass::SyntaxError,
|
615
|
-
'Invalid CSS after "": expected expression (e.g. 1px, bold), was "#12345"') {eval("#12345")}
|
616
|
-
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "": expected expression (e.g. ' \
|
617
|
-
'1px, bold), was "#1234567"') {eval("#1234567")}
|
618
|
-
end
|
619
|
-
|
620
|
-
def test_case_insensitive_color_names
|
621
|
-
assert_equal "BLUE", resolve("BLUE")
|
622
|
-
assert_equal "rEd", resolve("rEd")
|
623
|
-
assert_equal "#804000", resolve("mix(GrEeN, ReD)")
|
624
|
-
end
|
625
|
-
|
626
|
-
def test_empty_list
|
627
|
-
assert_equal "1 2 3", resolve("1 2 () 3")
|
628
|
-
assert_equal "1 2 3", resolve("1 2 3 ()")
|
629
|
-
assert_equal "1 2 3", resolve("() 1 2 3")
|
630
|
-
assert_raise_message(Sass::SyntaxError, "() isn't a valid CSS value.") {resolve("()")}
|
631
|
-
assert_raise_message(Sass::SyntaxError, "() isn't a valid CSS value.") {resolve("nth(append((), ()), 1)")}
|
632
|
-
end
|
633
|
-
|
634
|
-
def test_list_with_nulls
|
635
|
-
assert_equal "1, 2, 3", resolve("1, 2, null, 3")
|
636
|
-
assert_equal "1 2 3", resolve("1 2 null 3")
|
637
|
-
assert_equal "1, 2, 3", resolve("1, 2, 3, null")
|
638
|
-
assert_equal "1 2 3", resolve("1 2 3 null")
|
639
|
-
assert_equal "1, 2, 3", resolve("null, 1, 2, 3")
|
640
|
-
assert_equal "1 2 3", resolve("null 1 2 3")
|
641
|
-
end
|
642
|
-
|
643
|
-
def test_map_can_have_trailing_comma
|
644
|
-
assert_equal("(foo: 1, bar: 2)", eval("(foo: 1, bar: 2,)").to_sass)
|
645
|
-
end
|
646
|
-
|
647
|
-
def test_list_can_have_trailing_comma
|
648
|
-
assert_equal("1, 2, 3", resolve("1, 2, 3,"))
|
649
|
-
end
|
650
|
-
|
651
|
-
def test_trailing_comma_defines_singleton_list
|
652
|
-
assert_equal("1 2 3", resolve("nth((1 2 3,), 1)"))
|
653
|
-
end
|
654
|
-
|
655
|
-
def test_map_cannot_have_duplicate_keys
|
656
|
-
assert_raise_message(Sass::SyntaxError, 'Duplicate key "foo" in map (foo: bar, foo: baz).') do
|
657
|
-
eval("(foo: bar, foo: baz)")
|
658
|
-
end
|
659
|
-
assert_raise_message(Sass::SyntaxError, 'Duplicate key "foo" in map (foo: bar, fo + o: baz).') do
|
660
|
-
eval("(foo: bar, fo + o: baz)")
|
661
|
-
end
|
662
|
-
assert_raise_message(Sass::SyntaxError, 'Duplicate key "foo" in map (foo: bar, "foo": baz).') do
|
663
|
-
eval("(foo: bar, 'foo': baz)")
|
664
|
-
end
|
665
|
-
assert_raise_message(Sass::SyntaxError, 'Duplicate key 2px in map (2px: bar, 1px + 1px: baz).') do
|
666
|
-
eval("(2px: bar, 1px + 1px: baz)")
|
667
|
-
end
|
668
|
-
assert_raise_message(Sass::SyntaxError, 'Duplicate key #0000ff in map (blue: bar, #00f: baz).') do
|
669
|
-
eval("(blue: bar, #00f: baz)")
|
670
|
-
end
|
671
|
-
end
|
672
|
-
|
673
|
-
def test_non_duplicate_map_keys
|
674
|
-
# These shouldn't throw errors
|
675
|
-
eval("(foo: foo, bar: bar)")
|
676
|
-
eval("(2px: foo, 2: bar)")
|
677
|
-
eval("(2px: foo, 2em: bar)")
|
678
|
-
eval("('2px': foo, 2px: bar)")
|
679
|
-
end
|
680
|
-
|
681
|
-
def test_map_syntax_errors
|
682
|
-
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "(foo:": expected expression (e.g. 1px, bold), was ")"') do
|
683
|
-
eval("(foo:)")
|
684
|
-
end
|
685
|
-
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "(": expected ")", was ":bar)"') do
|
686
|
-
eval("(:bar)")
|
687
|
-
end
|
688
|
-
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "(foo, bar": expected ")", was ": baz)"') do
|
689
|
-
eval("(foo, bar: baz)")
|
690
|
-
end
|
691
|
-
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "(foo: bar, baz": expected ":", was ")"') do
|
692
|
-
eval("(foo: bar, baz)")
|
693
|
-
end
|
694
|
-
end
|
695
|
-
|
696
|
-
def test_deep_argument_error_not_unwrapped
|
697
|
-
# JRuby (as of 1.6.7.2) offers no way of distinguishing between
|
698
|
-
# argument errors caused by programming errors in a function and
|
699
|
-
# argument errors explicitly thrown within that function.
|
700
|
-
return if RUBY_PLATFORM =~ /java/
|
701
|
-
|
702
|
-
# Don't validate the message; it's different on Rubinius.
|
703
|
-
assert_raises(ArgumentError) {resolve("arg-error()")}
|
704
|
-
end
|
705
|
-
|
706
|
-
def test_shallow_argument_error_unwrapped
|
707
|
-
assert_raise_message(Sass::SyntaxError, "wrong number of arguments (1 for 0) for `arg-error'") {resolve("arg-error(1)")}
|
708
|
-
end
|
709
|
-
|
710
|
-
def test_boolean_ops_short_circuit
|
711
|
-
assert_equal "false", resolve("$ie and $ie <= 7", {}, env('ie' => Sass::Script::Value::Bool.new(false)))
|
712
|
-
assert_equal "true", resolve("$ie or $undef", {}, env('ie' => Sass::Script::Value::Bool.new(true)))
|
713
|
-
end
|
714
|
-
|
715
|
-
def test_selector
|
716
|
-
env = Sass::Environment.new
|
717
|
-
assert_equal "true", resolve("& == null", {}, env)
|
718
|
-
|
719
|
-
env.selector = selector('.foo.bar .baz.bang, .bip.bop')
|
720
|
-
assert_equal ".foo.bar .baz.bang, .bip.bop", resolve("&", {}, env)
|
721
|
-
assert_equal ".foo.bar .baz.bang", resolve("nth(&, 1)", {}, env)
|
722
|
-
assert_equal ".bip.bop", resolve("nth(&, 2)", {}, env)
|
723
|
-
assert_equal ".foo.bar", resolve("nth(nth(&, 1), 1)", {}, env)
|
724
|
-
assert_equal ".baz.bang", resolve("nth(nth(&, 1), 2)", {}, env)
|
725
|
-
assert_equal ".bip.bop", resolve("nth(nth(&, 2), 1)", {}, env)
|
726
|
-
assert_equal "string", resolve("type-of(nth(nth(&, 1), 1))", {}, env)
|
727
|
-
|
728
|
-
env.selector = selector('.foo > .bar')
|
729
|
-
assert_equal ".foo > .bar", resolve("&", {}, env)
|
730
|
-
assert_equal ".foo > .bar", resolve("nth(&, 1)", {}, env)
|
731
|
-
assert_equal ".foo", resolve("nth(nth(&, 1), 1)", {}, env)
|
732
|
-
assert_equal ">", resolve("nth(nth(&, 1), 2)", {}, env)
|
733
|
-
assert_equal ".bar", resolve("nth(nth(&, 1), 3)", {}, env)
|
734
|
-
end
|
735
|
-
|
736
|
-
def test_selector_with_newlines
|
737
|
-
env = Sass::Environment.new
|
738
|
-
env.selector = selector(".foo.bar\n.baz.bang,\n\n.bip.bop")
|
739
|
-
assert_equal ".foo.bar .baz.bang, .bip.bop", resolve("&", {}, env)
|
740
|
-
assert_equal ".foo.bar .baz.bang", resolve("nth(&, 1)", {}, env)
|
741
|
-
assert_equal ".bip.bop", resolve("nth(&, 2)", {}, env)
|
742
|
-
assert_equal ".foo.bar", resolve("nth(nth(&, 1), 1)", {}, env)
|
743
|
-
assert_equal ".baz.bang", resolve("nth(nth(&, 1), 2)", {}, env)
|
744
|
-
assert_equal ".bip.bop", resolve("nth(nth(&, 2), 1)", {}, env)
|
745
|
-
assert_equal "string", resolve("type-of(nth(nth(&, 1), 1))", {}, env)
|
746
|
-
end
|
747
|
-
|
748
|
-
def test_setting_global_variable_globally
|
749
|
-
assert_no_warning {assert_equal(<<CSS, render(<<SCSS, :syntax => :scss))}
|
750
|
-
.foo {
|
751
|
-
a: 1; }
|
752
|
-
|
753
|
-
.bar {
|
754
|
-
b: 2; }
|
755
|
-
CSS
|
756
|
-
$var: 1;
|
757
|
-
|
758
|
-
.foo {
|
759
|
-
a: $var;
|
760
|
-
}
|
761
|
-
|
762
|
-
$var: 2;
|
763
|
-
|
764
|
-
.bar {
|
765
|
-
b: $var;
|
766
|
-
}
|
767
|
-
SCSS
|
768
|
-
end
|
769
|
-
|
770
|
-
def test_setting_global_variable_locally
|
771
|
-
assert_no_warning {assert_equal(<<CSS, render(<<SCSS, :syntax => :scss))}
|
772
|
-
.bar {
|
773
|
-
a: x;
|
774
|
-
b: y;
|
775
|
-
c: z; }
|
776
|
-
CSS
|
777
|
-
$var1: 1;
|
778
|
-
$var3: 3;
|
779
|
-
|
780
|
-
.foo {
|
781
|
-
$var1: x !global;
|
782
|
-
$var2: y !global;
|
783
|
-
@each $var3 in _ {
|
784
|
-
$var3: z !global;
|
785
|
-
}
|
786
|
-
}
|
787
|
-
|
788
|
-
.bar {
|
789
|
-
a: $var1;
|
790
|
-
b: $var2;
|
791
|
-
c: $var3;
|
792
|
-
}
|
793
|
-
SCSS
|
794
|
-
end
|
795
|
-
|
796
|
-
def test_setting_global_variable_locally_with_default
|
797
|
-
assert_equal(<<CSS, render(<<SCSS, :syntax => :scss))
|
798
|
-
.bar {
|
799
|
-
a: 1;
|
800
|
-
b: y;
|
801
|
-
c: z; }
|
802
|
-
CSS
|
803
|
-
$var1: 1;
|
804
|
-
|
805
|
-
.foo {
|
806
|
-
$var1: x !global !default;
|
807
|
-
$var2: y !global !default;
|
808
|
-
@each $var3 in _ {
|
809
|
-
$var3: z !global !default;
|
810
|
-
}
|
811
|
-
}
|
812
|
-
|
813
|
-
.bar {
|
814
|
-
a: $var1;
|
815
|
-
b: $var2;
|
816
|
-
c: $var3;
|
817
|
-
}
|
818
|
-
SCSS
|
819
|
-
end
|
820
|
-
|
821
|
-
def test_setting_local_variable
|
822
|
-
assert_equal(<<CSS, render(<<SCSS, :syntax => :scss))
|
823
|
-
.a {
|
824
|
-
value: inside; }
|
825
|
-
|
826
|
-
.b {
|
827
|
-
value: outside; }
|
828
|
-
CSS
|
829
|
-
$var: outside;
|
830
|
-
|
831
|
-
.a {
|
832
|
-
$var: inside;
|
833
|
-
value: $var;
|
834
|
-
}
|
835
|
-
|
836
|
-
.b {
|
837
|
-
value: $var;
|
838
|
-
}
|
839
|
-
SCSS
|
840
|
-
end
|
841
|
-
|
842
|
-
def test_setting_local_variable_from_inner_scope
|
843
|
-
assert_equal(<<CSS, render(<<SCSS, :syntax => :scss))
|
844
|
-
.a .b {
|
845
|
-
value: inside; }
|
846
|
-
.a .c {
|
847
|
-
value: inside; }
|
848
|
-
CSS
|
849
|
-
.a {
|
850
|
-
$var: outside;
|
851
|
-
|
852
|
-
.b {
|
853
|
-
$var: inside;
|
854
|
-
value: $var;
|
855
|
-
}
|
856
|
-
|
857
|
-
.c {
|
858
|
-
value: $var;
|
859
|
-
}
|
860
|
-
}
|
861
|
-
SCSS
|
862
|
-
end
|
863
|
-
|
864
|
-
def test_if_can_assign_to_global_variables
|
865
|
-
assert_equal <<CSS, render(<<SCSS, :syntax => :scss)
|
866
|
-
.a {
|
867
|
-
b: 2; }
|
868
|
-
CSS
|
869
|
-
$var: 1;
|
870
|
-
@if true {$var: 2}
|
871
|
-
.a {b: $var}
|
872
|
-
SCSS
|
873
|
-
end
|
874
|
-
|
875
|
-
def test_else_can_assign_to_global_variables
|
876
|
-
assert_equal <<CSS, render(<<SCSS, :syntax => :scss)
|
877
|
-
.a {
|
878
|
-
b: 2; }
|
879
|
-
CSS
|
880
|
-
$var: 1;
|
881
|
-
@if false {}
|
882
|
-
@else {$var: 2}
|
883
|
-
.a {b: $var}
|
884
|
-
SCSS
|
885
|
-
end
|
886
|
-
|
887
|
-
def test_for_can_assign_to_global_variables
|
888
|
-
assert_equal <<CSS, render(<<SCSS, :syntax => :scss)
|
889
|
-
.a {
|
890
|
-
b: 2; }
|
891
|
-
CSS
|
892
|
-
$var: 1;
|
893
|
-
@for $i from 1 to 2 {$var: 2}
|
894
|
-
.a {b: $var}
|
895
|
-
SCSS
|
896
|
-
end
|
897
|
-
|
898
|
-
def test_each_can_assign_to_global_variables
|
899
|
-
assert_equal <<CSS, render(<<SCSS, :syntax => :scss)
|
900
|
-
.a {
|
901
|
-
b: 2; }
|
902
|
-
CSS
|
903
|
-
$var: 1;
|
904
|
-
@each $a in 1 {$var: 2}
|
905
|
-
.a {b: $var}
|
906
|
-
SCSS
|
907
|
-
end
|
908
|
-
|
909
|
-
def test_while_can_assign_to_global_variables
|
910
|
-
assert_equal <<CSS, render(<<SCSS, :syntax => :scss)
|
911
|
-
.a {
|
912
|
-
b: 2; }
|
913
|
-
CSS
|
914
|
-
$var: 1;
|
915
|
-
@while $var != 2 {$var: 2}
|
916
|
-
.a {b: $var}
|
917
|
-
SCSS
|
918
|
-
end
|
919
|
-
|
920
|
-
def test_if_doesnt_leak_local_variables
|
921
|
-
assert_raise_message(Sass::SyntaxError, 'Undefined variable: "$var".') do
|
922
|
-
render(<<SCSS, :syntax => :scss)
|
923
|
-
@if true {$var: 1}
|
924
|
-
.a {b: $var}
|
925
|
-
SCSS
|
926
|
-
end
|
927
|
-
end
|
928
|
-
|
929
|
-
def test_else_doesnt_leak_local_variables
|
930
|
-
assert_raise_message(Sass::SyntaxError, 'Undefined variable: "$var".') do
|
931
|
-
render(<<SCSS, :syntax => :scss)
|
932
|
-
@if false {}
|
933
|
-
@else {$var: 1}
|
934
|
-
.a {b: $var}
|
935
|
-
SCSS
|
936
|
-
end
|
937
|
-
end
|
938
|
-
|
939
|
-
def test_for_doesnt_leak_local_variables
|
940
|
-
assert_raise_message(Sass::SyntaxError, 'Undefined variable: "$var".') do
|
941
|
-
render(<<SCSS, :syntax => :scss)
|
942
|
-
@for $i from 1 to 2 {$var: 1}
|
943
|
-
.a {b: $var}
|
944
|
-
SCSS
|
945
|
-
end
|
946
|
-
end
|
947
|
-
|
948
|
-
def test_each_doesnt_leak_local_variables
|
949
|
-
assert_raise_message(Sass::SyntaxError, 'Undefined variable: "$var".') do
|
950
|
-
render(<<SCSS, :syntax => :scss)
|
951
|
-
@each $a in 1 {$var: 1}
|
952
|
-
.a {b: $var}
|
953
|
-
SCSS
|
954
|
-
end
|
955
|
-
end
|
956
|
-
|
957
|
-
def test_while_doesnt_leak_local_variables
|
958
|
-
assert_raise_message(Sass::SyntaxError, 'Undefined variable: "$var".') do
|
959
|
-
render(<<SCSS, :syntax => :scss)
|
960
|
-
$iter: true;
|
961
|
-
@while $iter {
|
962
|
-
$var: 1;
|
963
|
-
$iter: false;
|
964
|
-
}
|
965
|
-
.a {b: $var}
|
966
|
-
SCSS
|
967
|
-
end
|
968
|
-
end
|
969
|
-
|
970
|
-
def test_color_format_is_preserved_by_default
|
971
|
-
assert_equal "blue", resolve("blue")
|
972
|
-
assert_equal "bLuE", resolve("bLuE")
|
973
|
-
assert_equal "#00f", resolve("#00f")
|
974
|
-
assert_equal "blue #00F", resolve("blue #00F")
|
975
|
-
assert_equal "blue", resolve("nth(blue #00F, 1)")
|
976
|
-
assert_equal "#00F", resolve("nth(blue #00F, 2)")
|
977
|
-
end
|
978
|
-
|
979
|
-
def test_color_format_isnt_always_preserved_in_compressed_style
|
980
|
-
assert_equal "red", resolve("red", :style => :compressed)
|
981
|
-
assert_equal "red", resolve("#f00", :style => :compressed)
|
982
|
-
assert_equal "red red", resolve("red #f00", :style => :compressed)
|
983
|
-
assert_equal "red", resolve("nth(red #f00, 2)", :style => :compressed)
|
984
|
-
end
|
985
|
-
|
986
|
-
def test_color_format_is_sometimes_preserved_in_compressed_style
|
987
|
-
assert_equal "ReD", resolve("ReD", :style => :compressed)
|
988
|
-
assert_equal "blue", resolve("blue", :style => :compressed)
|
989
|
-
assert_equal "#00f", resolve("#00f", :style => :compressed)
|
990
|
-
end
|
991
|
-
|
992
|
-
def test_color_format_isnt_preserved_when_modified
|
993
|
-
assert_equal "magenta", resolve("change-color(#f00, $blue: 255)")
|
994
|
-
end
|
995
|
-
|
996
|
-
def test_ids
|
997
|
-
assert_equal "#foo", resolve("#foo")
|
998
|
-
assert_equal "#abcd", resolve("#abcd")
|
999
|
-
assert_equal "#abc-def", resolve("#abc-def")
|
1000
|
-
assert_equal "#abc_def", resolve("#abc_def")
|
1001
|
-
assert_equal "#uvw-xyz", resolve("#uvw-xyz")
|
1002
|
-
assert_equal "#uvw_xyz", resolve("#uvw_xyz")
|
1003
|
-
assert_equal "#uvwxyz", resolve("#uvw + xyz")
|
1004
|
-
end
|
1005
|
-
|
1006
|
-
def test_scientific_notation
|
1007
|
-
assert_equal "2000", resolve("2e3")
|
1008
|
-
assert_equal "2000", resolve("2E3")
|
1009
|
-
assert_equal "2000", resolve("2e+3")
|
1010
|
-
assert_equal "2000em", resolve("2e3em")
|
1011
|
-
assert_equal "25000000000", resolve("2.5e10")
|
1012
|
-
assert_equal "0.1234", resolve("1234e-4")
|
1013
|
-
assert_equal "12.34", resolve("1.234e1")
|
1014
|
-
end
|
1015
|
-
|
1016
|
-
def test_identifier_units
|
1017
|
-
assert_equal "5-foo", resolve("2-foo + 3-foo")
|
1018
|
-
assert_equal "5-foo-", resolve("2-foo- + 3-foo-")
|
1019
|
-
assert_equal "5-\\u2603", resolve("2-\\u2603 + 3-\\u2603")
|
1020
|
-
end
|
1021
|
-
|
1022
|
-
def test_backslash_newline_in_string
|
1023
|
-
assert_equal 'foobar', resolve("\"foo\\\nbar\"")
|
1024
|
-
assert_equal 'foobar', resolve("'foo\\\nbar'")
|
1025
|
-
end
|
1026
|
-
|
1027
|
-
def test_unclosed_special_fun
|
1028
|
-
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "calc(foo()": expected ")", was ""') do
|
1029
|
-
resolve("calc(foo()")
|
1030
|
-
end
|
1031
|
-
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "calc(#{\')\'}": expected ")", was ""') do
|
1032
|
-
resolve("calc(\#{')'}")
|
1033
|
-
end
|
1034
|
-
assert_raise_message(Sass::SyntaxError, 'Invalid CSS after "calc(#{foo": expected "}", was ""') do
|
1035
|
-
resolve("calc(\#{foo")
|
1036
|
-
end
|
1037
|
-
end
|
1038
|
-
|
1039
|
-
def test_special_fun_with_interpolation
|
1040
|
-
assert_equal "calc())", resolve("calc(\#{')'})")
|
1041
|
-
assert_equal "calc(# {foo})", resolve("calc(# {foo})")
|
1042
|
-
end
|
1043
|
-
|
1044
|
-
# Regression Tests
|
1045
|
-
|
1046
|
-
def test_interpolation_after_string
|
1047
|
-
assert_equal '"foobar" 2', resolve('"foobar" #{2}')
|
1048
|
-
assert_equal "calc(1 + 2) 3", resolve('calc(1 + 2) #{3}')
|
1049
|
-
end
|
1050
|
-
|
1051
|
-
def test_repeatedly_modified_color
|
1052
|
-
assert_equal(<<CSS, render(<<SASS))
|
1053
|
-
a {
|
1054
|
-
link-color: #161C14;
|
1055
|
-
link-color-hover: black;
|
1056
|
-
link-color-tap: rgba(22, 28, 20, 0.3); }
|
1057
|
-
CSS
|
1058
|
-
$green: #161C14
|
1059
|
-
$link-color: $green
|
1060
|
-
$link-color-hover: darken($link-color, 10%)
|
1061
|
-
$link-color-tap: rgba($green, 0.3)
|
1062
|
-
|
1063
|
-
a
|
1064
|
-
link-color: $link-color
|
1065
|
-
link-color-hover: $link-color-hover
|
1066
|
-
link-color-tap: $link-color-tap
|
1067
|
-
SASS
|
1068
|
-
end
|
1069
|
-
|
1070
|
-
def test_inspect_divided_numbers
|
1071
|
-
assert_equal "1px/2px", resolve("inspect(1px/2px)")
|
1072
|
-
assert_equal "0.5", resolve("inspect((1px/2px))")
|
1073
|
-
end
|
1074
|
-
|
1075
|
-
def test_minus_without_whitespace
|
1076
|
-
assert_equal "5px", resolve("15px-10px")
|
1077
|
-
assert_equal "5px-", resolve("15px--10px-")
|
1078
|
-
end
|
1079
|
-
|
1080
|
-
def test_minus_preceded_by_comment
|
1081
|
-
assert_equal "15px -10px", resolve("15px/**/-10px")
|
1082
|
-
end
|
1083
|
-
|
1084
|
-
def test_user_defined_function_forces_division
|
1085
|
-
assert_equal(<<CSS, render(<<SASS))
|
1086
|
-
a {
|
1087
|
-
b: 10px; }
|
1088
|
-
CSS
|
1089
|
-
@function foo()
|
1090
|
-
@return 20px
|
1091
|
-
|
1092
|
-
a
|
1093
|
-
b: (foo() / 2)
|
1094
|
-
SASS
|
1095
|
-
|
1096
|
-
assert_equal(<<CSS, render(<<SASS))
|
1097
|
-
a {
|
1098
|
-
b: 10px; }
|
1099
|
-
CSS
|
1100
|
-
@function foo()
|
1101
|
-
@return 20px
|
1102
|
-
|
1103
|
-
a
|
1104
|
-
b: foo() / 2
|
1105
|
-
SASS
|
1106
|
-
end
|
1107
|
-
|
1108
|
-
def test_funcall_has_higher_precedence_than_color_name
|
1109
|
-
assert_equal "teal(12)", resolve("teal(12)")
|
1110
|
-
assert_equal "tealbang(12)", resolve("tealbang(12)")
|
1111
|
-
assert_equal "teal-bang(12)", resolve("teal-bang(12)")
|
1112
|
-
assert_equal "teal\\+bang(12)", resolve("teal\\+bang(12)")
|
1113
|
-
end
|
1114
|
-
|
1115
|
-
def test_funcall_has_higher_precedence_than_true_false_null
|
1116
|
-
assert_equal "teal(12)", resolve("teal(12)")
|
1117
|
-
assert_equal "tealbang(12)", resolve("tealbang(12)")
|
1118
|
-
assert_equal "teal-bang(12)", resolve("teal-bang(12)")
|
1119
|
-
assert_equal "teal\\+bang(12)", resolve("teal\\+bang(12)")
|
1120
|
-
end
|
1121
|
-
|
1122
|
-
def test_and_or_not_disallowed_as_function_names
|
1123
|
-
%w[and or not].each do |name|
|
1124
|
-
assert_raise_message(Sass::SyntaxError, "Invalid function name \"#{name}\".") do
|
1125
|
-
render(<<SASS)
|
1126
|
-
@function #{name}()
|
1127
|
-
@return null
|
1128
|
-
SASS
|
1129
|
-
end
|
1130
|
-
end
|
1131
|
-
end
|
1132
|
-
|
1133
|
-
def test_interpolation_after_hash
|
1134
|
-
assert_equal "#2", resolve('"##{1 + 1}"')
|
1135
|
-
end
|
1136
|
-
|
1137
|
-
def test_misplaced_comma_in_funcall
|
1138
|
-
assert_raise_message(Sass::SyntaxError,
|
1139
|
-
'Invalid CSS after "foo(bar, ": expected function argument, was ")"') {eval('foo(bar, )')}
|
1140
|
-
end
|
1141
|
-
|
1142
|
-
def test_color_prefixed_identifier
|
1143
|
-
assert_equal "tealbang", resolve("tealbang")
|
1144
|
-
assert_equal "teal-bang", resolve("teal-bang")
|
1145
|
-
end
|
1146
|
-
|
1147
|
-
def test_op_prefixed_identifier
|
1148
|
-
assert_equal "notbang", resolve("notbang")
|
1149
|
-
assert_equal "not-bang", resolve("not-bang")
|
1150
|
-
assert_equal "or-bang", resolve("or-bang")
|
1151
|
-
assert_equal "and-bang", resolve("and-bang")
|
1152
|
-
end
|
1153
|
-
|
1154
|
-
def test_number_initialization
|
1155
|
-
assert_equal Sass::Script::Value::Number.new(10, ["px"]), Sass::Script::Value::Number.new(10, "px")
|
1156
|
-
assert_equal Sass::Script::Value::Number.new(10, ["px"], ["em"]), Sass::Script::Value::Number.new(10, "px", "em")
|
1157
|
-
end
|
1158
|
-
|
1159
|
-
def test_is_unit
|
1160
|
-
assert Sass::Script::Value::Number.new(10, "px").is_unit?("px")
|
1161
|
-
assert Sass::Script::Value::Number.new(10).is_unit?(nil)
|
1162
|
-
assert !Sass::Script::Value::Number.new(10, "px", "em").is_unit?("px")
|
1163
|
-
assert !Sass::Script::Value::Number.new(10, [], "em").is_unit?("em")
|
1164
|
-
assert !Sass::Script::Value::Number.new(10, ["px", "em"]).is_unit?("px")
|
1165
|
-
end
|
1166
|
-
|
1167
|
-
def test_rename_redirect
|
1168
|
-
assert_no_warning do
|
1169
|
-
assert_equal Sass::Script::Value::Base, Sass::Script::Literal
|
1170
|
-
assert_equal Sass::Script::Tree::Node, Sass::Script::Node
|
1171
|
-
assert_equal Sass::Script::Tree::Operation, Sass::Script::Operation
|
1172
|
-
assert_equal Sass::Script::Value::String, Sass::Script::String
|
1173
|
-
end
|
1174
|
-
end
|
1175
|
-
|
1176
|
-
def test_number_printing
|
1177
|
-
assert_equal "1", resolve("1")
|
1178
|
-
assert_equal "1", resolve("1.0")
|
1179
|
-
assert_equal "1000000000", resolve("1000000000")
|
1180
|
-
assert_equal "0.00001", resolve("0.00001")
|
1181
|
-
assert_equal "1.12121", resolve("1.121214")
|
1182
|
-
assert_equal "1.12122", resolve("1.121215")
|
1183
|
-
assert_equal "Infinity", resolve("(1.0/0.0)")
|
1184
|
-
assert_equal "-Infinity", resolve("(-1.0/0.0)")
|
1185
|
-
assert_equal "NaN", resolve("(0.0/0.0)")
|
1186
|
-
end
|
1187
|
-
|
1188
|
-
def test_equality_uses_an_epsilon
|
1189
|
-
# At least on my machine, this calculation introduces a floating point error:
|
1190
|
-
# 29.0 / 7 * 7
|
1191
|
-
# => 29.000000000000004
|
1192
|
-
assert_equal "true", resolve("29 == (29 / 7 * 7)")
|
1193
|
-
end
|
1194
|
-
|
1195
|
-
def test_compressed_output_of_numbers_with_leading_zeros
|
1196
|
-
assert_equal "1.5", resolve("1.5", :style => :compressed)
|
1197
|
-
assert_equal ".5", resolve("0.5", :style => :compressed)
|
1198
|
-
assert_equal "-.5", resolve("-0.5", :style => :compressed)
|
1199
|
-
assert_equal "0.5", resolve("0.5", :style => :compact)
|
1200
|
-
end
|
1201
|
-
|
1202
|
-
def test_interpolation_without_deprecation_warning
|
1203
|
-
assert_no_warning {assert_equal "a", resolve('#{a}')}
|
1204
|
-
assert_no_warning {assert_equal "abc", resolve('a#{b}c')}
|
1205
|
-
assert_no_warning {assert_equal "+ a", resolve('+ #{a}')}
|
1206
|
-
assert_no_warning {assert_equal "/ a", resolve('/ #{a}')}
|
1207
|
-
assert_no_warning {assert_equal "1 / a", resolve('1 / #{a}')}
|
1208
|
-
assert_no_warning {assert_equal "a / b", resolve('#{a} / #{b}')}
|
1209
|
-
assert_no_warning {assert_equal "foo(1 = a)", resolve('foo(1 = #{a})')}
|
1210
|
-
assert_no_warning {assert_equal "foo(a = b)", resolve('foo(#{a} = #{b})')}
|
1211
|
-
assert_no_warning {assert_equal "-a", resolve('-#{a}')}
|
1212
|
-
assert_no_warning {assert_equal "1-a", resolve('1-#{a}')}
|
1213
|
-
assert_no_warning {assert_equal "a- 1", resolve('#{a}- 1')}
|
1214
|
-
assert_no_warning {assert_equal "a-1", resolve('#{a}-1')}
|
1215
|
-
assert_no_warning {assert_equal "a-b", resolve('#{a}-#{b}')}
|
1216
|
-
assert_no_warning {assert_equal "a1", resolve('#{a}1')}
|
1217
|
-
assert_no_warning {assert_equal "ab", resolve('#{a}b')}
|
1218
|
-
assert_no_warning {assert_equal "1a", resolve('1#{a}')}
|
1219
|
-
assert_no_warning {assert_equal "ba", resolve('b#{a}')}
|
1220
|
-
end
|
1221
|
-
|
1222
|
-
def test_leading_interpolation_with_deprecation_warning
|
1223
|
-
assert_equal "ab == 1", resolve_with_interp_warning('#{a + b} == 1')
|
1224
|
-
assert_equal "ab != 1", resolve_with_interp_warning('#{a + b} != 1')
|
1225
|
-
assert_equal "ab > 1", resolve_with_interp_warning('#{a + b} > 1')
|
1226
|
-
assert_equal "ab >= 1", resolve_with_interp_warning('#{a + b} >= 1')
|
1227
|
-
assert_equal "ab < 1", resolve_with_interp_warning('#{a + b} < 1')
|
1228
|
-
assert_equal "ab <= 1", resolve_with_interp_warning('#{a + b} <= 1')
|
1229
|
-
assert_equal "ab + 1", resolve_with_interp_warning('#{a + b} + 1')
|
1230
|
-
assert_equal "ab * 1", resolve_with_interp_warning('#{a + b} * 1')
|
1231
|
-
assert_equal "ab - 1", resolve_with_interp_warning('#{a + b} - 1')
|
1232
|
-
assert_equal "ab % 1", resolve_with_interp_warning('#{a + b} % 1')
|
1233
|
-
assert_equal(
|
1234
|
-
"abvar",
|
1235
|
-
resolve_with_interp_warning(
|
1236
|
-
'#{a + b}$var', '"#{a + b}#{$var}"',
|
1237
|
-
env('var' => Sass::Script::Value::String.new("var"))))
|
1238
|
-
assert_equal(
|
1239
|
-
"varab",
|
1240
|
-
resolve_with_interp_warning(
|
1241
|
-
'$var#{a + b}', '"#{$var}#{a + b}"',
|
1242
|
-
env('var' => Sass::Script::Value::String.new("var"))))
|
1243
|
-
assert_equal "ab1", resolve_with_interp_warning('#{a + b}(1)', '"#{a + b}1"')
|
1244
|
-
assert_equal "1ab", resolve_with_interp_warning('(1)#{a + b}', '"1#{a + b}"')
|
1245
|
-
end
|
1246
|
-
|
1247
|
-
def test_trailing_interpolation_with_deprecation_warning
|
1248
|
-
assert_equal "not ab", resolve_with_interp_warning('not #{a + b}')
|
1249
|
-
assert_equal "1 and ab", resolve_with_interp_warning('1 and #{a + b}')
|
1250
|
-
assert_equal "1 or ab", resolve_with_interp_warning('1 or #{a + b}')
|
1251
|
-
assert_equal "1 == ab", resolve_with_interp_warning('1 == #{a + b}')
|
1252
|
-
assert_equal "1 != ab", resolve_with_interp_warning('1 != #{a + b}')
|
1253
|
-
assert_equal "1 > ab", resolve_with_interp_warning('1 > #{a + b}')
|
1254
|
-
assert_equal "1 >= ab", resolve_with_interp_warning('1 >= #{a + b}')
|
1255
|
-
assert_equal "1 < ab", resolve_with_interp_warning('1 < #{a + b}')
|
1256
|
-
assert_equal "1 <= ab", resolve_with_interp_warning('1 <= #{a + b}')
|
1257
|
-
assert_equal "1 + ab", resolve_with_interp_warning('1 + #{a + b}')
|
1258
|
-
assert_equal "1 * ab", resolve_with_interp_warning('1 * #{a + b}')
|
1259
|
-
assert_equal "1 - ab", resolve_with_interp_warning('1 - #{a + b}')
|
1260
|
-
assert_equal "1 % ab", resolve_with_interp_warning('1 % #{a + b}')
|
1261
|
-
assert_equal "- ab", resolve_with_interp_warning('- #{a + b}')
|
1262
|
-
assert_equal "1- ab", resolve_with_interp_warning('1- #{a + b}')
|
1263
|
-
assert_equal "- ab 2 3", resolve_with_interp_warning('- #{a + b} 2 3', '"- #{a + b} #{2 3}"')
|
1264
|
-
end
|
1265
|
-
|
1266
|
-
def test_brackteing_interpolation_with_deprecation_warning
|
1267
|
-
assert_equal "ab == cd", resolve_with_interp_warning('#{a + b} == #{c + d}')
|
1268
|
-
assert_equal "ab != cd", resolve_with_interp_warning('#{a + b} != #{c + d}')
|
1269
|
-
assert_equal "ab > cd", resolve_with_interp_warning('#{a + b} > #{c + d}')
|
1270
|
-
assert_equal "ab >= cd", resolve_with_interp_warning('#{a + b} >= #{c + d}')
|
1271
|
-
assert_equal "ab < cd", resolve_with_interp_warning('#{a + b} < #{c + d}')
|
1272
|
-
assert_equal "ab <= cd", resolve_with_interp_warning('#{a + b} <= #{c + d}')
|
1273
|
-
assert_equal "ab + cd", resolve_with_interp_warning('#{a + b} + #{c + d}')
|
1274
|
-
assert_equal "ab * cd", resolve_with_interp_warning('#{a + b} * #{c + d}')
|
1275
|
-
assert_equal "ab - cd", resolve_with_interp_warning('#{a + b} - #{c + d}')
|
1276
|
-
assert_equal "ab % cd", resolve_with_interp_warning('#{a + b} % #{c + d}')
|
1277
|
-
end
|
1278
|
-
|
1279
|
-
def test_interp_warning_formatting
|
1280
|
-
resolve_with_interp_warning('#{1} + 1', '"1 + 1"')
|
1281
|
-
resolve_with_interp_warning('#{1} + "foo"', '\'1 + "foo"\'')
|
1282
|
-
resolve_with_interp_warning('#{1} + \'foo\'', '\'1 + "foo"\'')
|
1283
|
-
|
1284
|
-
resolve_with_interp_warning('#{1} + "#{a + b}"', '\'1 + "#{a + b}"\'')
|
1285
|
-
resolve_with_interp_warning('"#{a + b}" + #{1}', '\'"#{a + b}" + 1\'')
|
1286
|
-
resolve_with_interp_warning('"#{a + b}" + #{1} + "#{c + d}"', '\'"#{a + b}" + 1 + "#{c + d}"\'')
|
1287
|
-
|
1288
|
-
resolve_with_interp_warning('#{1} + "\'"', '"1 + \\"\'\\""')
|
1289
|
-
resolve_with_interp_warning('#{1} + \'"\'', '"1 + \'\\"\'"')
|
1290
|
-
resolve_with_interp_warning('#{1} + "\'\\""', '"1 + \\"\'\\\\\\"\\""')
|
1291
|
-
end
|
1292
|
-
|
1293
|
-
def test_inactive_lazy_interpolation_deprecation_warning
|
1294
|
-
assert_equal '1, 2, 3', assert_no_warning {resolve('1, #{2}, 3')}
|
1295
|
-
assert_equal '1, 2, 3', assert_no_warning {resolve('1, 2, #{3}')}
|
1296
|
-
assert_equal '1,2,3', assert_no_warning {resolve('1,#{2},3')}
|
1297
|
-
assert_equal '1 2 3', assert_no_warning {resolve('#{1} 2 3')}
|
1298
|
-
assert_equal '1 2 3', assert_no_warning {resolve('1 #{2} 3')}
|
1299
|
-
assert_equal '1 2 3', assert_no_warning {resolve('1 2 #{3}')}
|
1300
|
-
|
1301
|
-
assert_equal '+1 2 3', assert_no_warning {resolve('+#{1} 2 3')}
|
1302
|
-
assert_equal '-1 2 3', assert_no_warning {resolve('-#{1} 2 3')}
|
1303
|
-
assert_equal '/1 2 3', assert_no_warning {resolve('/#{1} 2 3')}
|
1304
|
-
|
1305
|
-
assert_equal '1, 2, 31', assert_no_warning {resolve('(1, #{2}, 3) + 1')}
|
1306
|
-
assert_equal '11, 2, 3', assert_no_warning {resolve('1 + (1, #{2}, 3)')}
|
1307
|
-
|
1308
|
-
assert_equal 'a, b, c', assert_no_warning {resolve('selector-parse((a, #{b}, c))')}
|
1309
|
-
end
|
1310
|
-
|
1311
|
-
def test_active_lazy_interpolation_deprecation_warning
|
1312
|
-
Sass::Deprecation.allow_double_warnings do
|
1313
|
-
assert_equal "1, 2, 3", resolve_with_lazy_interp_warning('quote((1, #{2}, 3))', '"1, 2, 3"')
|
1314
|
-
assert_equal "1", resolve_with_lazy_interp_warning('length((1, #{2}, 3))', '"1, 2, 3"')
|
1315
|
-
assert_equal "1, 2, 3", resolve_with_lazy_interp_warning('inspect((1, #{2}, 3))', '"1, 2, 3"')
|
1316
|
-
assert_equal "string", resolve_with_lazy_interp_warning('type-of((1, #{2}, 3))', '"1, 2, 3"')
|
1317
|
-
|
1318
|
-
assert_equal "+1 2 3", resolve_with_lazy_interp_warning('quote((+#{1} 2 3))', '"+1 #{2 3}"')
|
1319
|
-
assert_equal "/1 2 3", resolve_with_lazy_interp_warning('quote((/#{1} 2 3))', '"/1 #{2 3}"')
|
1320
|
-
assert_equal "-1 2 3", resolve_with_lazy_interp_warning('quote((-#{1} 2 3))', '"-1 #{2 3}"')
|
1321
|
-
end
|
1322
|
-
end
|
1323
|
-
|
1324
|
-
def test_comparison_of_complex_units
|
1325
|
-
# Tests for issue #1960
|
1326
|
-
Sass::Deprecation.allow_double_warnings do
|
1327
|
-
assert_warning(<<WARNING) do
|
1328
|
-
DEPRECATION WARNING on line 1 of test_comparison_of_complex_units_inline.sass:
|
1329
|
-
The result of `10 == 10px` will be `false` in future releases of Sass.
|
1330
|
-
Unitless numbers will no longer be equal to the same numbers with units.
|
1331
|
-
WARNING
|
1332
|
-
assert_equal "true", resolve("10 == 2 * 5px")
|
1333
|
-
end
|
1334
|
-
assert_warning(<<WARNING) do
|
1335
|
-
DEPRECATION WARNING on line 1 of test_comparison_of_complex_units_inline.sass:
|
1336
|
-
The result of `10 == 10px*px` will be `false` in future releases of Sass.
|
1337
|
-
Unitless numbers will no longer be equal to the same numbers with units.
|
1338
|
-
WARNING
|
1339
|
-
assert_equal "true", resolve("10 == 2px * 5px")
|
1340
|
-
end
|
1341
|
-
end
|
1342
|
-
|
1343
|
-
assert_equal "true", resolve("10px * 1px == 2px * 5px")
|
1344
|
-
assert_equal "true", resolve("5px * 1px < 2px * 5px")
|
1345
|
-
end
|
1346
|
-
|
1347
|
-
private
|
1348
|
-
|
1349
|
-
def resolve_with_lazy_interp_warning(str, contents = nil, environment = env)
|
1350
|
-
contents ||= "\"#{str}\""
|
1351
|
-
result = assert_warning(<<WARNING) {resolve(str, {}, environment)}
|
1352
|
-
DEPRECATION WARNING on line 1 of #{filename_for_test}:
|
1353
|
-
\#{} interpolation near operators will be simplified in a future version of Sass.
|
1354
|
-
To preserve the current behavior, use quotes:
|
1355
|
-
|
1356
|
-
unquote(#{contents})
|
1357
|
-
WARNING
|
1358
|
-
$_sass_deprecated_interp_warnings = nil
|
1359
|
-
result
|
1360
|
-
end
|
1361
|
-
|
1362
|
-
def resolve_with_interp_warning(str, contents = nil, environment = env)
|
1363
|
-
contents ||= "\"#{str}\""
|
1364
|
-
assert_warning(<<WARNING) {resolve(str, {}, environment)}
|
1365
|
-
DEPRECATION WARNING on line 1 of #{filename_for_test}:
|
1366
|
-
\#{} interpolation near operators will be simplified in a future version of Sass.
|
1367
|
-
To preserve the current behavior, use quotes:
|
1368
|
-
|
1369
|
-
unquote(#{contents})
|
1370
|
-
|
1371
|
-
You can use the sass-convert command to automatically fix most cases.
|
1372
|
-
WARNING
|
1373
|
-
end
|
1374
|
-
|
1375
|
-
def resolve(str, opts = {}, environment = env)
|
1376
|
-
munge_filename opts
|
1377
|
-
val = eval(str, opts, environment)
|
1378
|
-
assert_kind_of Sass::Script::Value::Base, val
|
1379
|
-
val.options = opts
|
1380
|
-
val.is_a?(Sass::Script::Value::String) ? val.value : val.to_s
|
1381
|
-
end
|
1382
|
-
|
1383
|
-
def resolve_quoted(str, opts = {}, environment = env)
|
1384
|
-
munge_filename opts
|
1385
|
-
val = eval(str, opts, environment)
|
1386
|
-
assert_kind_of Sass::Script::Value::Base, val
|
1387
|
-
val.to_s
|
1388
|
-
end
|
1389
|
-
|
1390
|
-
def assert_unquoted(str, opts = {}, environment = env)
|
1391
|
-
munge_filename opts
|
1392
|
-
val = eval(str, opts, environment)
|
1393
|
-
assert_kind_of Sass::Script::Value::String, val
|
1394
|
-
assert_equal :identifier, val.type
|
1395
|
-
end
|
1396
|
-
|
1397
|
-
def assert_quoted(str, opts = {}, environment = env)
|
1398
|
-
munge_filename opts
|
1399
|
-
val = eval(str, opts, environment)
|
1400
|
-
assert_kind_of Sass::Script::Value::String, val
|
1401
|
-
assert_equal :string, val.type
|
1402
|
-
end
|
1403
|
-
|
1404
|
-
def eval(str, opts = {}, environment = env)
|
1405
|
-
munge_filename opts
|
1406
|
-
Sass::Script.parse(str, opts.delete(:line) || 1,
|
1407
|
-
opts.delete(:offset) || 0, opts).
|
1408
|
-
perform(Sass::Environment.new(environment, opts))
|
1409
|
-
end
|
1410
|
-
|
1411
|
-
def render(sass, options = {})
|
1412
|
-
munge_filename options
|
1413
|
-
Sass::Engine.new(sass, options).render
|
1414
|
-
end
|
1415
|
-
|
1416
|
-
def env(hash = {})
|
1417
|
-
env = Sass::Environment.new
|
1418
|
-
hash.each {|k, v| env.set_var(k, v)}
|
1419
|
-
env
|
1420
|
-
end
|
1421
|
-
|
1422
|
-
def selector(str)
|
1423
|
-
parser = Sass::SCSS::StaticParser.new(
|
1424
|
-
str, filename_for_test, Sass::Importers::Filesystem.new('.'))
|
1425
|
-
parser.parse_selector
|
1426
|
-
end
|
1427
|
-
|
1428
|
-
def test_null_is_a_singleton
|
1429
|
-
assert_same Sass::Script::Value::Null.new, Sass::Script::Value::Null.new
|
1430
|
-
end
|
1431
|
-
end
|