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
@@ -0,0 +1,147 @@
|
|
1
|
+
# Frequently Asked Questions
|
2
|
+
|
3
|
+
## Haml
|
4
|
+
|
5
|
+
### How do I put a punctuation mark after an element, like "`I like <strong>cake</strong>!`"? {#q-punctuation}
|
6
|
+
|
7
|
+
Expressing the structure of a document
|
8
|
+
and expressing inline formatting are two very different problems.
|
9
|
+
Haml is mostly designed for structure,
|
10
|
+
so the best way to deal with formatting is to leave it to other languages
|
11
|
+
that are designed for it.
|
12
|
+
You could use Textile:
|
13
|
+
|
14
|
+
%p
|
15
|
+
:textile
|
16
|
+
I like *cake*!
|
17
|
+
|
18
|
+
or Markdown:
|
19
|
+
|
20
|
+
%p
|
21
|
+
:markdown
|
22
|
+
I like **cake**!
|
23
|
+
|
24
|
+
or plain old XHTML:
|
25
|
+
|
26
|
+
%p I like <strong>cake</strong>!
|
27
|
+
|
28
|
+
If you're inserting something that's generated by a helper, like a link,
|
29
|
+
then it's even easier:
|
30
|
+
|
31
|
+
%p== I like #{link_to 'chocolate', 'http://franschocolates.com'}!
|
32
|
+
|
33
|
+
### How do I stop Haml from indenting the contents of my `pre` and `textarea` tags? {#q-preserve}
|
34
|
+
|
35
|
+
Because Haml automatically indents the HTML source code,
|
36
|
+
the contents of whitespace-sensitive tags like `pre` and `textarea`
|
37
|
+
can get screwed up.
|
38
|
+
The solution is to replace the newlines inside these tags
|
39
|
+
with HTML newline entities (`
`),
|
40
|
+
which Haml does using the {Haml::Helpers#preserve} and {Haml::Helpers#find_and_preserve} helpers.
|
41
|
+
|
42
|
+
Normally, Haml will do this for you automatically
|
43
|
+
when you're using a tag that needs it
|
44
|
+
(this can be customized using the {Haml::Options#preserve `:preserve`} option).
|
45
|
+
For example,
|
46
|
+
|
47
|
+
%p
|
48
|
+
%textarea= "Foo\nBar"
|
49
|
+
|
50
|
+
will be compiled to
|
51
|
+
|
52
|
+
<p>
|
53
|
+
<textarea>
|
54
|
+
Foo
Bar</textarea>
|
55
|
+
</p>
|
56
|
+
|
57
|
+
However, if a helper is generating the tag,
|
58
|
+
Haml can't detect that and so you'll have to call {Haml::Helpers#find_and_preserve} yourself.
|
59
|
+
You can also use `~`, which is the same as `=`
|
60
|
+
except that it automatically runs `find_and_preserve` on its input.
|
61
|
+
For example:
|
62
|
+
|
63
|
+
%p= find_and_preserve "<textarea>Foo\nBar</textarea>"
|
64
|
+
|
65
|
+
is the same as
|
66
|
+
|
67
|
+
%p~ "<textarea>Foo\nBar</textarea>"
|
68
|
+
|
69
|
+
and renders
|
70
|
+
|
71
|
+
<p><textarea>Foo
Bar</textarea></p>
|
72
|
+
|
73
|
+
### How do I make my long lines of Ruby code look nicer in my Haml document? {#q-multiline}
|
74
|
+
|
75
|
+
Put them in a helper or your model.
|
76
|
+
|
77
|
+
Haml purposefully makes it annoying to put lots of Ruby code into your templates,
|
78
|
+
because lots of code doesn't belong in the view.
|
79
|
+
If you take that huge `link_to_remote` call
|
80
|
+
and move it to a `update_sidebar_link` helper,
|
81
|
+
it'll make your view both easier to read and more semantic.
|
82
|
+
|
83
|
+
If you absolutely must put lots of code in your template,
|
84
|
+
Haml offers a somewhat awkward multiline-continuation tool.
|
85
|
+
Put a `|` (pipe character) at the end of each line you want to be merged into one
|
86
|
+
(including the last line!).
|
87
|
+
For example:
|
88
|
+
|
89
|
+
%p= @this.is(way.too.much). |
|
90
|
+
code("and I should"). |
|
91
|
+
really_move.it.into( |
|
92
|
+
:a => @helper) |
|
93
|
+
|
94
|
+
Note that sometimes it is valid to include lots of Ruby in a template
|
95
|
+
when that Ruby is a helper call that passes in a lot of template information.
|
96
|
+
Thus when a function has lots of arguments,
|
97
|
+
it's possible to wrap it across multiple lines
|
98
|
+
as long as each line ends in a comma.
|
99
|
+
For example:
|
100
|
+
|
101
|
+
= link_to_remote "Add to cart",
|
102
|
+
:url => { :action => "add", :id => product.id },
|
103
|
+
:update => { :success => "cart", :failure => "error" }
|
104
|
+
|
105
|
+
### `form_for` is printing the form tag twice!
|
106
|
+
|
107
|
+
Make sure you're calling it with `-`, not `=`.
|
108
|
+
Just like in ERB, you have to do
|
109
|
+
|
110
|
+
<% form_for stuff do %>
|
111
|
+
...
|
112
|
+
<% end %>
|
113
|
+
|
114
|
+
in Haml, you have to do
|
115
|
+
|
116
|
+
- form_for stuff do
|
117
|
+
...
|
118
|
+
|
119
|
+
### I have Haml installed. Why is Rails (only looking for `.html.erb` files | rendering Haml files as plain text | rendering Haml files as blank pages)? {#q-blank-page}
|
120
|
+
|
121
|
+
There are several reasons these things might be happening.
|
122
|
+
First of all, make sure that Haml really is installed;
|
123
|
+
either you've loaded the gem (via `config.gem` in Rails 2.3 or in the Gemfile in Rails 3),
|
124
|
+
or `vendor/plugins/haml` exists and contains files.
|
125
|
+
Then try restarting Mongrel or WEBrick or whatever you might be using.
|
126
|
+
|
127
|
+
Finally, if none of these work,
|
128
|
+
chances are you've got some localization plugin like Globalize installed.
|
129
|
+
Such plugins often don't play nicely with Haml.
|
130
|
+
Luckily, there's usually an easy fix.
|
131
|
+
For Globalize, just edit `globalize/lib/globalize/rails/action_view.rb`
|
132
|
+
and change
|
133
|
+
|
134
|
+
@@re_extension = /\.(rjs|rhtml|rxml)$/
|
135
|
+
|
136
|
+
to
|
137
|
+
|
138
|
+
@@re_extension = /\.(rjs|rhtml|rxml|erb|builder|haml)$/
|
139
|
+
|
140
|
+
For other plugins, a little searching will probably turn up a way to fix them as well.
|
141
|
+
|
142
|
+
## You still haven't answered my question!
|
143
|
+
|
144
|
+
Sorry! Try looking at the [Haml](http://haml.info/docs/yardoc/file.REFERENCE.html) reference,
|
145
|
+
If you can't find an answer there,
|
146
|
+
feel free to ask in `#haml` on irc.freenode.net
|
147
|
+
or send an email to the [mailing list](http://groups.google.com/group/haml).
|
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2006-2019 Hampton Catlin and Natalie Weizenbaum
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,210 @@
|
|
1
|
+
# Haml
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/haml.svg)](http://rubygems.org/gems/haml)
|
4
|
+
[![Build Status](https://travis-ci.org/haml/haml.svg?branch=main)](http://travis-ci.org/haml/haml)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/haml/haml/badges/gpa.svg)](https://codeclimate.com/github/haml/haml)
|
6
|
+
[![Inline docs](http://inch-ci.org/github/haml/haml.png)](http://inch-ci.org/github/haml/haml)
|
7
|
+
|
8
|
+
Haml is a templating engine for HTML. It's designed to make it both easier and
|
9
|
+
more pleasant to write HTML documents, by eliminating redundancy, reflecting the
|
10
|
+
underlying structure that the document represents, and providing an elegant syntax
|
11
|
+
that's both powerful and easy to understand.
|
12
|
+
|
13
|
+
## Basic Usage
|
14
|
+
|
15
|
+
Haml can be used from the command line or as part of a Ruby web framework. The
|
16
|
+
first step is to install the gem:
|
17
|
+
|
18
|
+
~~~sh
|
19
|
+
gem install haml
|
20
|
+
~~~
|
21
|
+
|
22
|
+
After you write some Haml, you can run
|
23
|
+
|
24
|
+
~~~sh
|
25
|
+
haml document.haml
|
26
|
+
~~~
|
27
|
+
|
28
|
+
to compile it to HTML. For more information on these commands, check out
|
29
|
+
|
30
|
+
~~~sh
|
31
|
+
haml --help
|
32
|
+
~~~
|
33
|
+
|
34
|
+
To use Haml programmatically, check out the [YARD documentation](http://haml.info/docs/yardoc/).
|
35
|
+
|
36
|
+
## Using Haml with Rails
|
37
|
+
|
38
|
+
To use Haml with Rails, simply add Haml to your Gemfile and run `bundle`.
|
39
|
+
|
40
|
+
~~~ruby
|
41
|
+
gem 'haml'
|
42
|
+
~~~
|
43
|
+
|
44
|
+
If you'd like to replace Rails's Erb-based generators with Haml, add
|
45
|
+
[haml-rails](https://github.com/indirect/haml-rails) to your Gemfile as well.
|
46
|
+
|
47
|
+
## Formatting
|
48
|
+
|
49
|
+
The most basic element of Haml is a shorthand for creating HTML:
|
50
|
+
|
51
|
+
~~~haml
|
52
|
+
%tagname{:attr1 => 'value1', :attr2 => 'value2'} Contents
|
53
|
+
~~~
|
54
|
+
|
55
|
+
No end-tag is needed; Haml handles that automatically. If you prefer HTML-style
|
56
|
+
attributes, you can also use:
|
57
|
+
|
58
|
+
~~~haml
|
59
|
+
%tagname(attr1='value1' attr2='value2') Contents
|
60
|
+
~~~
|
61
|
+
|
62
|
+
Adding `class` and `id` attributes is even easier. Haml uses the same syntax as
|
63
|
+
the CSS that styles the document:
|
64
|
+
|
65
|
+
~~~haml
|
66
|
+
%tagname#id.class
|
67
|
+
~~~
|
68
|
+
|
69
|
+
In fact, when you're using the `<div>` tag, it becomes _even easier_. Because
|
70
|
+
`<div>` is such a common element, a tag without a name defaults to a div. So
|
71
|
+
|
72
|
+
~~~haml
|
73
|
+
#foo Hello!
|
74
|
+
~~~
|
75
|
+
|
76
|
+
becomes
|
77
|
+
|
78
|
+
~~~html
|
79
|
+
<div id='foo'>Hello!</div>
|
80
|
+
~~~
|
81
|
+
|
82
|
+
Haml uses indentation to bring the individual elements to represent the HTML
|
83
|
+
structure. A tag's children are indented beneath than the parent tag. Again, a
|
84
|
+
closing tag is automatically added. For example:
|
85
|
+
|
86
|
+
~~~haml
|
87
|
+
%ul
|
88
|
+
%li Salt
|
89
|
+
%li Pepper
|
90
|
+
~~~
|
91
|
+
|
92
|
+
becomes:
|
93
|
+
|
94
|
+
~~~html
|
95
|
+
<ul>
|
96
|
+
<li>Salt</li>
|
97
|
+
<li>Pepper</li>
|
98
|
+
</ul>
|
99
|
+
~~~
|
100
|
+
|
101
|
+
You can also put plain text as a child of an element:
|
102
|
+
|
103
|
+
~~~haml
|
104
|
+
%p
|
105
|
+
Hello,
|
106
|
+
World!
|
107
|
+
~~~
|
108
|
+
|
109
|
+
It's also possible to embed Ruby code into Haml documents. An equals sign, `=`,
|
110
|
+
will output the result of the code. A hyphen, `-`, will run the code but not
|
111
|
+
output the result. You can even use control statements like `if` and `while`:
|
112
|
+
|
113
|
+
~~~haml
|
114
|
+
%p
|
115
|
+
Date/Time:
|
116
|
+
- now = DateTime.now
|
117
|
+
%strong= now
|
118
|
+
- if now > DateTime.parse("December 31, 2006")
|
119
|
+
= "Happy new " + "year!"
|
120
|
+
~~~
|
121
|
+
|
122
|
+
Haml provides far more tools than those presented here. Check out the [reference
|
123
|
+
documentation](http://haml.info/docs/yardoc/file.REFERENCE.html)
|
124
|
+
for full details.
|
125
|
+
|
126
|
+
### Indentation
|
127
|
+
|
128
|
+
Haml's indentation can be made up of one or more tabs or spaces. However,
|
129
|
+
indentation must be consistent within a given document. Hard tabs and spaces
|
130
|
+
can't be mixed, and the same number of tabs or spaces must be used throughout.
|
131
|
+
|
132
|
+
## Contributing
|
133
|
+
|
134
|
+
Contributions are welcomed, but before you get started please read the
|
135
|
+
[guidelines](http://haml.info/development.html#contributing).
|
136
|
+
|
137
|
+
After forking and then cloning the repo locally, install Bundler and then use it
|
138
|
+
to install the development gem dependencies:
|
139
|
+
~~~sh
|
140
|
+
gem install bundler
|
141
|
+
bundle install
|
142
|
+
~~~
|
143
|
+
|
144
|
+
Once this is complete, you should be able to run the test suite:
|
145
|
+
~~~sh
|
146
|
+
rake
|
147
|
+
~~~
|
148
|
+
|
149
|
+
You'll get a warning that you need to install haml-spec, so run this:
|
150
|
+
|
151
|
+
~~~sh
|
152
|
+
git submodule update --init
|
153
|
+
~~~
|
154
|
+
|
155
|
+
At this point `rake` should run without error or warning and you are ready to
|
156
|
+
start working on your patch!
|
157
|
+
|
158
|
+
Note that you can also run just one test out of the test suite if you're working
|
159
|
+
on a specific area:
|
160
|
+
|
161
|
+
~~~sh
|
162
|
+
ruby -Itest test/helper_test.rb -n test_buffer_access
|
163
|
+
~~~
|
164
|
+
|
165
|
+
Haml currently supports Ruby 2.0.0 and higher, so please make sure your changes run on 2.0+.
|
166
|
+
|
167
|
+
## Team
|
168
|
+
|
169
|
+
### Current Maintainers
|
170
|
+
|
171
|
+
* [Akira Matsuda](https://github.com/amatsuda)
|
172
|
+
* [Matt Wildig](https://github.com/mattwildig)
|
173
|
+
* [Tee Parham](https://github.com/teeparham)
|
174
|
+
* [Takashi Kokubun](https://github.com/k0kubun)
|
175
|
+
|
176
|
+
### Alumni
|
177
|
+
|
178
|
+
Haml was created by [Hampton Catlin](http://hamptoncatlin.com), the author of
|
179
|
+
the original implementation. Hampton is no longer involved in day-to-day coding,
|
180
|
+
but still consults on language issues.
|
181
|
+
|
182
|
+
[Natalie Weizenbaum](http://nex-3.com) was for many years the primary developer
|
183
|
+
and architect of the "modern" Ruby implementation of Haml.
|
184
|
+
|
185
|
+
[Norman Clarke](http://github.com/norman) was the primary maintainer of Haml from 2012 to 2016.
|
186
|
+
|
187
|
+
## License
|
188
|
+
|
189
|
+
Some of Natalie's work on Haml was supported by Unspace Interactive.
|
190
|
+
|
191
|
+
Beyond that, the implementation is licensed under the MIT License.
|
192
|
+
|
193
|
+
Copyright (c) 2006-2019 Hampton Catlin, Natalie Weizenbaum and the Haml team
|
194
|
+
|
195
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
196
|
+
this software and associated documentation files (the "Software"), to deal in
|
197
|
+
the Software without restriction, including without limitation the rights to
|
198
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
199
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
200
|
+
subject to the following conditions:
|
201
|
+
|
202
|
+
The above copyright notice and this permission notice shall be included in all
|
203
|
+
copies or substantial portions of the Software.
|
204
|
+
|
205
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
206
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
207
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
208
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
209
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
210
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,1373 @@
|
|
1
|
+
# Haml (HTML Abstraction Markup Language)
|
2
|
+
|
3
|
+
Haml is a markup language that's used to cleanly and simply describe the HTML of
|
4
|
+
any web document, without the use of inline code. Haml functions as a
|
5
|
+
replacement for inline page templating systems such as PHP, ERB, and ASP.
|
6
|
+
However, Haml avoids the need for explicitly coding HTML into the template,
|
7
|
+
because it is actually an abstract description of the HTML, with some code to
|
8
|
+
generate dynamic content.
|
9
|
+
|
10
|
+
## Features
|
11
|
+
|
12
|
+
* Whitespace active
|
13
|
+
* Well-formatted markup
|
14
|
+
* DRY
|
15
|
+
* Follows CSS conventions
|
16
|
+
* Integrates Ruby code
|
17
|
+
* Implements Rails templates with the .haml extension
|
18
|
+
|
19
|
+
## Using Haml
|
20
|
+
|
21
|
+
Haml can be used in three ways:
|
22
|
+
|
23
|
+
* as a command-line tool,
|
24
|
+
* as a plugin for Ruby on Rails,
|
25
|
+
* and as a standalone Ruby module.
|
26
|
+
|
27
|
+
The first step for all of these is to install the Haml gem:
|
28
|
+
|
29
|
+
gem install haml
|
30
|
+
|
31
|
+
To run Haml from the command line, just use
|
32
|
+
|
33
|
+
haml input.haml output.html
|
34
|
+
|
35
|
+
Use `haml --help` for full documentation.
|
36
|
+
|
37
|
+
To use Haml with Rails, add the following line to the Gemfile:
|
38
|
+
|
39
|
+
gem "haml"
|
40
|
+
|
41
|
+
Once it's installed, all view files with the `".html.haml"` extension will be
|
42
|
+
compiled using Haml.
|
43
|
+
|
44
|
+
You can access instance variables in Haml templates the same way you do in ERB
|
45
|
+
templates. Helper methods are also available in Haml templates. For example:
|
46
|
+
|
47
|
+
# file: app/controllers/movies_controller.rb
|
48
|
+
|
49
|
+
class MoviesController < ApplicationController
|
50
|
+
def index
|
51
|
+
@title = "Teen Wolf"
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
-# file: app/views/movies/index.html.haml
|
56
|
+
|
57
|
+
#content
|
58
|
+
.title
|
59
|
+
%h1= @title
|
60
|
+
= link_to 'Home', home_url
|
61
|
+
|
62
|
+
may be compiled to:
|
63
|
+
|
64
|
+
<div id='content'>
|
65
|
+
<div class='title'>
|
66
|
+
<h1>Teen Wolf</h1>
|
67
|
+
<a href='/'>Home</a>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
### Rails XSS Protection
|
72
|
+
|
73
|
+
Haml supports Rails' XSS protection scheme, which was introduced in Rails 2.3.5+
|
74
|
+
and is enabled by default in 3.0.0+. If it's enabled, Haml's
|
75
|
+
{Haml::Options#escape_html `:escape_html`} option is set to `true` by default -
|
76
|
+
like in ERB, all strings printed to a Haml template are escaped by default. Also
|
77
|
+
like ERB, strings marked as HTML safe are not escaped. Haml also has [its own
|
78
|
+
syntax for printing a raw string to the template](#unescaping_html).
|
79
|
+
|
80
|
+
If the `:escape_html` option is set to false when XSS protection is enabled,
|
81
|
+
Haml doesn't escape Ruby strings by default. However, if a string marked
|
82
|
+
HTML-safe is passed to [Haml's escaping syntax](#escaping_html), it won't be
|
83
|
+
escaped.
|
84
|
+
|
85
|
+
Finally, all the {Haml::Helpers Haml helpers} that return strings that are known
|
86
|
+
to be HTML safe are marked as such. In addition, string input is escaped unless
|
87
|
+
it's HTML safe.
|
88
|
+
|
89
|
+
### Ruby Module
|
90
|
+
|
91
|
+
Haml can also be used completely separately from Rails and ActionView. To do
|
92
|
+
this, install the gem with RubyGems:
|
93
|
+
|
94
|
+
gem install haml
|
95
|
+
|
96
|
+
You can then use it by including the "haml" gem in Ruby code, and using
|
97
|
+
{Haml::Engine} like so:
|
98
|
+
|
99
|
+
engine = Haml::Engine.new("%p Haml code!")
|
100
|
+
engine.render #=> "<p>Haml code!</p>\n"
|
101
|
+
|
102
|
+
### Options
|
103
|
+
|
104
|
+
Haml understands various configuration options that affect its performance and
|
105
|
+
output.
|
106
|
+
|
107
|
+
In Rails, options can be set by setting the {Haml::Template#options Haml::Template.options}
|
108
|
+
hash in an initializer:
|
109
|
+
|
110
|
+
# config/initializers/haml.rb
|
111
|
+
Haml::Template.options[:format] = :html5
|
112
|
+
|
113
|
+
Outside Rails, you can set them by configuring them globally in
|
114
|
+
Haml::Options.defaults:
|
115
|
+
|
116
|
+
Haml::Options.defaults[:format] = :html5
|
117
|
+
|
118
|
+
In sinatra specifically, you can set them in global config with:
|
119
|
+
```ruby
|
120
|
+
set :haml, { escape_html: true }
|
121
|
+
```
|
122
|
+
|
123
|
+
Finally, you can also set them by passing an options hash to
|
124
|
+
{Haml::Engine#initialize}. For the complete list of available options, please
|
125
|
+
see {Haml::Options}.
|
126
|
+
|
127
|
+
### Encodings
|
128
|
+
|
129
|
+
Haml supports the same sorts of
|
130
|
+
encoding-declaration comments that Ruby does. Although both Ruby and Haml
|
131
|
+
support several different styles, the easiest it just to add `-# coding:
|
132
|
+
encoding-name` at the beginning of the Haml template (it must come before all
|
133
|
+
other lines). This will tell Haml that the template is encoded using the named
|
134
|
+
encoding.
|
135
|
+
|
136
|
+
By default, the HTML generated by Haml has the same encoding as the Haml
|
137
|
+
template. However, if `Encoding.default_internal` is set, Haml will attempt to
|
138
|
+
use that instead. In addition, the {Haml::Options#encoding `:encoding` option}
|
139
|
+
can be used to specify an output encoding manually.
|
140
|
+
|
141
|
+
Note that, like Ruby, Haml does not support templates encoded in UTF-16 or
|
142
|
+
UTF-32, since these encodings are not compatible with ASCII. It is possible to
|
143
|
+
use these as the output encoding, though.
|
144
|
+
|
145
|
+
## Plain Text
|
146
|
+
|
147
|
+
A substantial portion of any HTML document is its content, which is plain old
|
148
|
+
text. Any Haml line that's not interpreted as something else is taken to be
|
149
|
+
plain text, and passed through unmodified. For example:
|
150
|
+
|
151
|
+
%gee
|
152
|
+
%whiz
|
153
|
+
Wow this is cool!
|
154
|
+
|
155
|
+
is compiled to:
|
156
|
+
|
157
|
+
<gee>
|
158
|
+
<whiz>
|
159
|
+
Wow this is cool!
|
160
|
+
</whiz>
|
161
|
+
</gee>
|
162
|
+
|
163
|
+
Note that HTML tags are passed through unmodified as well. If you have some HTML
|
164
|
+
you don't want to convert to Haml, or you're converting a file line-by-line, you
|
165
|
+
can just include it as-is. For example:
|
166
|
+
|
167
|
+
%p
|
168
|
+
<div id="blah">Blah!</div>
|
169
|
+
|
170
|
+
is compiled to:
|
171
|
+
|
172
|
+
<p>
|
173
|
+
<div id="blah">Blah!</div>
|
174
|
+
</p>
|
175
|
+
|
176
|
+
### Escaping: `\`
|
177
|
+
|
178
|
+
The backslash character escapes the first character of a line, allowing use of
|
179
|
+
otherwise interpreted characters as plain text. For example:
|
180
|
+
|
181
|
+
%title
|
182
|
+
= @title
|
183
|
+
\= @title
|
184
|
+
|
185
|
+
is compiled to:
|
186
|
+
|
187
|
+
<title>
|
188
|
+
MyPage
|
189
|
+
= @title
|
190
|
+
</title>
|
191
|
+
|
192
|
+
## HTML Elements
|
193
|
+
|
194
|
+
### Element Name: `%`
|
195
|
+
|
196
|
+
The percent character is placed at the beginning of a line. It's followed
|
197
|
+
immediately by the name of an element, then optionally by modifiers (see below),
|
198
|
+
a space, and text to be rendered inside the element. It creates an element in
|
199
|
+
the form of `<element></element>`. For example:
|
200
|
+
|
201
|
+
%one
|
202
|
+
%two
|
203
|
+
%three Hey there
|
204
|
+
|
205
|
+
is compiled to:
|
206
|
+
|
207
|
+
<one>
|
208
|
+
<two>
|
209
|
+
<three>Hey there</three>
|
210
|
+
</two>
|
211
|
+
</one>
|
212
|
+
|
213
|
+
Any string is a valid element name; Haml will automatically generate opening and
|
214
|
+
closing tags for any element.
|
215
|
+
|
216
|
+
### Attributes: `{}` or `()` {#attributes}
|
217
|
+
|
218
|
+
Brackets represent a Ruby hash that is used for specifying the attributes of an
|
219
|
+
element. It is literally evaluated as a Ruby hash, so logic will work in it and
|
220
|
+
local variables may be used. Quote characters within the attribute will be
|
221
|
+
replaced by appropriate escape sequences. The hash is placed after the tag is
|
222
|
+
defined. For example:
|
223
|
+
|
224
|
+
%html{:xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => "en", :lang => "en"}
|
225
|
+
|
226
|
+
is compiled to:
|
227
|
+
|
228
|
+
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'></html>
|
229
|
+
|
230
|
+
Attribute hashes can also be stretched out over multiple lines to accommodate
|
231
|
+
many attributes.
|
232
|
+
|
233
|
+
%script{
|
234
|
+
"type": text/javascript",
|
235
|
+
"src": javascripts/script_#{2 + 7}",
|
236
|
+
"data": {
|
237
|
+
"controller": "reporter",
|
238
|
+
},
|
239
|
+
}
|
240
|
+
|
241
|
+
is compiled to:
|
242
|
+
|
243
|
+
<script src='javascripts/script_9' type='text/javascript' data-controller='reporter'></script>
|
244
|
+
|
245
|
+
#### `:class` and `:id` Attributes {#class-and-id-attributes}
|
246
|
+
|
247
|
+
The `:class` and `:id` attributes can also be specified as a Ruby array whose
|
248
|
+
elements will be joined together. A `:class` array is joined with `" "` and an
|
249
|
+
`:id` array is joined with `"_"`. For example:
|
250
|
+
|
251
|
+
%div{:id => [@item.type, @item.number], :class => [@item.type, @item.urgency]}
|
252
|
+
|
253
|
+
is equivalent to:
|
254
|
+
|
255
|
+
%div{:id => "#{@item.type}_#{@item.number}", :class => "#{@item.type} #{@item.urgency}"}
|
256
|
+
|
257
|
+
The array will first be flattened and any elements that do not test as true will
|
258
|
+
be removed. The remaining elements will be converted to strings. For example:
|
259
|
+
|
260
|
+
%div{:class => [@item.type, @item == @sortcol && [:sort, @sortdir]] } Contents
|
261
|
+
|
262
|
+
could render as any of:
|
263
|
+
|
264
|
+
<div class="numeric sort ascending">Contents</div>
|
265
|
+
<div class="numeric">Contents</div>
|
266
|
+
<div class="sort descending">Contents</div>
|
267
|
+
<div>Contents</div>
|
268
|
+
|
269
|
+
depending on whether `@item.type` is `"numeric"` or `nil`, whether `@item == @sortcol`,
|
270
|
+
and whether `@sortdir` is `"ascending"` or `"descending"`.
|
271
|
+
|
272
|
+
If a single value is specified and it evaluates to false it is ignored;
|
273
|
+
otherwise it gets converted to a string. For example:
|
274
|
+
|
275
|
+
.item{:class => @item.is_empty? && "empty"}
|
276
|
+
|
277
|
+
could render as either of:
|
278
|
+
|
279
|
+
class="item"
|
280
|
+
class="item empty"
|
281
|
+
|
282
|
+
#### HTML-style Attributes: `()`
|
283
|
+
|
284
|
+
Haml also supports a terser, less Ruby-specific attribute syntax based on HTML's
|
285
|
+
attributes. These are used with parentheses instead of brackets, like so:
|
286
|
+
|
287
|
+
%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en")
|
288
|
+
|
289
|
+
Ruby variables can be used by omitting the quotes. Local variables or instance
|
290
|
+
variables can be used. For example:
|
291
|
+
|
292
|
+
%a(title=@title href=href) Stuff
|
293
|
+
|
294
|
+
This is the same as:
|
295
|
+
|
296
|
+
%a{:title => @title, :href => href} Stuff
|
297
|
+
|
298
|
+
Because there are no commas separating attributes, though, more complicated
|
299
|
+
expressions aren't allowed. For those you'll have to use the `{}` syntax. You
|
300
|
+
can, however, use both syntaxes together:
|
301
|
+
|
302
|
+
%a(title=@title){:href => @link.href} Stuff
|
303
|
+
|
304
|
+
You can also use `#{}` interpolation to insert complicated expressions in a
|
305
|
+
HTML-style attribute:
|
306
|
+
|
307
|
+
%span(class="widget_#{@widget.number}")
|
308
|
+
|
309
|
+
HTML-style attributes can be stretched across multiple lines just like
|
310
|
+
hash-style attributes:
|
311
|
+
|
312
|
+
%script(type="text/javascript"
|
313
|
+
src="javascripts/script_#{2 + 7}")
|
314
|
+
|
315
|
+
#### Ruby 1.9-style Hashes
|
316
|
+
|
317
|
+
Haml also supports Ruby's new hash syntax:
|
318
|
+
|
319
|
+
%a{title: @title, href: href} Stuff
|
320
|
+
|
321
|
+
#### Attribute Methods
|
322
|
+
|
323
|
+
A Ruby method call that returns a hash can be substituted for the hash contents.
|
324
|
+
For example, {Haml::Helpers} defines the following method:
|
325
|
+
|
326
|
+
def html_attrs(lang = 'en-US')
|
327
|
+
{:xmlns => "http://www.w3.org/1999/xhtml", 'xml:lang' => lang, :lang => lang}
|
328
|
+
end
|
329
|
+
|
330
|
+
This can then be used in Haml, like so:
|
331
|
+
|
332
|
+
%html{html_attrs('fr-fr')}
|
333
|
+
|
334
|
+
This is compiled to:
|
335
|
+
|
336
|
+
<html lang='fr-fr' xml:lang='fr-fr' xmlns='http://www.w3.org/1999/xhtml'>
|
337
|
+
</html>
|
338
|
+
|
339
|
+
You can use as many such attribute methods as you want by separating them with
|
340
|
+
commas, like a Ruby argument list. All the hashes will be merged together, from
|
341
|
+
left to right. For example, if you defined
|
342
|
+
|
343
|
+
def hash1
|
344
|
+
{:bread => 'white', :filling => 'peanut butter and jelly'}
|
345
|
+
end
|
346
|
+
|
347
|
+
def hash2
|
348
|
+
{:bread => 'whole wheat'}
|
349
|
+
end
|
350
|
+
|
351
|
+
then
|
352
|
+
|
353
|
+
%sandwich{hash1, hash2, :delicious => 'true'}/
|
354
|
+
|
355
|
+
would compile to:
|
356
|
+
|
357
|
+
<sandwich bread='whole wheat' delicious='true' filling='peanut butter and jelly' />
|
358
|
+
|
359
|
+
Note that the Haml attributes list has the same syntax as a Ruby method call.
|
360
|
+
This means that any attribute methods must come before the hash literal.
|
361
|
+
|
362
|
+
Attribute methods aren't supported for HTML-style attributes.
|
363
|
+
|
364
|
+
#### Boolean Attributes
|
365
|
+
|
366
|
+
Some attributes, such as "checked" for `input` tags or "selected" for `option`
|
367
|
+
tags, are "boolean" in the sense that their values don't matter - it only
|
368
|
+
matters whether or not they're present. In HTML (but not XHTML), these
|
369
|
+
attributes can be written as
|
370
|
+
|
371
|
+
<input selected>
|
372
|
+
|
373
|
+
To do this in Haml using hash-style attributes, just assign a Ruby `true` value
|
374
|
+
to the attribute:
|
375
|
+
|
376
|
+
%input{:selected => true}
|
377
|
+
|
378
|
+
In XHTML, the only valid value for these attributes is the name of the
|
379
|
+
attribute. Thus this will render in XHTML as
|
380
|
+
|
381
|
+
<input selected='selected'>
|
382
|
+
|
383
|
+
To set these attributes to false, simply assign them to a Ruby false value. In
|
384
|
+
both XHTML and HTML,
|
385
|
+
|
386
|
+
%input{:selected => false}
|
387
|
+
|
388
|
+
will just render as:
|
389
|
+
|
390
|
+
<input>
|
391
|
+
|
392
|
+
HTML-style boolean attributes can be written just like HTML:
|
393
|
+
|
394
|
+
%input(selected)
|
395
|
+
|
396
|
+
or using `true` and `false`:
|
397
|
+
|
398
|
+
%input(selected=true)
|
399
|
+
|
400
|
+
<!-- The title to the next section (Prefixed Attributes) has changed. This
|
401
|
+
<a> tag is so old links to here still work. -->
|
402
|
+
<a id="html5_custom_data_attributes" style="border:0;"></a>
|
403
|
+
|
404
|
+
#### Prefixed Attributes
|
405
|
+
|
406
|
+
HTML5 allows for adding
|
407
|
+
[custom non-visible data attributes](http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
408
|
+
to elements using attribute names beginning with `data-`. The
|
409
|
+
[Accessible Rich Internet Applications](http://www.w3.org/WAI/intro/aria)
|
410
|
+
specification makes use of attributes beginning with `aria-`. There are also
|
411
|
+
frameworks that use non-standard attributes with a common prefix.
|
412
|
+
|
413
|
+
Haml can help generate collections of attributes that share a prefix like
|
414
|
+
these. Any entry in an attribute hash that has a Hash as its value is expanded
|
415
|
+
into a series of attributes, one for each key/value pair in the hash, with the
|
416
|
+
attribute name formed by joining the “parent” key name to the key name with a
|
417
|
+
hyphen.
|
418
|
+
|
419
|
+
For example:
|
420
|
+
|
421
|
+
%a{:href=>"/posts", :data => {:author_id => 123, :category => 7}} Posts By Author
|
422
|
+
|
423
|
+
will render as:
|
424
|
+
|
425
|
+
<a data-author-id='123' data-category='7' href='/posts'>Posts By Author</a>
|
426
|
+
|
427
|
+
Notice that the underscore in `author_id` was replaced by a hyphen. If you wish
|
428
|
+
to suppress this behavior, you can set Haml's
|
429
|
+
{Haml::Options#hyphenate_data_attrs `:hyphenate_data_attrs` option} to `false`,
|
430
|
+
and the output will be rendered as:
|
431
|
+
|
432
|
+
<a data-author_id='123' data-category='7' href='/posts'>Posts By Author</a>
|
433
|
+
|
434
|
+
This expansion of hashes is recursive – any value of the child hash that is
|
435
|
+
itself a hash will create an attribute for each entry, with the attribute name
|
436
|
+
prefixed with all ancestor keys. For example:
|
437
|
+
|
438
|
+
.book-info{:data => {:book => {:id => 123, :genre => 'programming'}, :category => 7}}
|
439
|
+
|
440
|
+
will render as:
|
441
|
+
|
442
|
+
<div class='book-info' data-book-genre='programming' data-book-id='123' data-category='7'></div>
|
443
|
+
|
444
|
+
### Class and ID: `.` and `#`
|
445
|
+
|
446
|
+
The period and pound sign are borrowed from CSS. They are used as shortcuts to
|
447
|
+
specify the `class` and `id` attributes of an element, respectively. Multiple
|
448
|
+
class names can be specified in a similar way to CSS, by chaining the class
|
449
|
+
names together with periods. They are placed immediately after the tag and
|
450
|
+
before an attributes hash. For example:
|
451
|
+
|
452
|
+
%div#things
|
453
|
+
%span#rice Chicken Fried
|
454
|
+
%p.beans{ :food => 'true' } The magical fruit
|
455
|
+
%h1.class.otherclass#id La La La
|
456
|
+
|
457
|
+
is compiled to:
|
458
|
+
|
459
|
+
<div id='things'>
|
460
|
+
<span id='rice'>Chicken Fried</span>
|
461
|
+
<p class='beans' food='true'>The magical fruit</p>
|
462
|
+
<h1 class='class otherclass' id='id'>La La La</h1>
|
463
|
+
</div>
|
464
|
+
|
465
|
+
And,
|
466
|
+
|
467
|
+
%div#content
|
468
|
+
%div.articles
|
469
|
+
%div.article.title Doogie Howser Comes Out
|
470
|
+
%div.article.date 2006-11-05
|
471
|
+
%div.article.entry
|
472
|
+
Neil Patrick Harris would like to dispel any rumors that he is straight
|
473
|
+
|
474
|
+
is compiled to:
|
475
|
+
|
476
|
+
<div id='content'>
|
477
|
+
<div class='articles'>
|
478
|
+
<div class='article title'>Doogie Howser Comes Out</div>
|
479
|
+
<div class='article date'>2006-11-05</div>
|
480
|
+
<div class='article entry'>
|
481
|
+
Neil Patrick Harris would like to dispel any rumors that he is straight
|
482
|
+
</div>
|
483
|
+
</div>
|
484
|
+
</div>
|
485
|
+
|
486
|
+
These shortcuts can be combined with long-hand attributes; the two values will
|
487
|
+
be merged together as though they were all placed in an array (see [the
|
488
|
+
documentation on `:class` and `:id` attributes](#class-and-id-attributes)). For
|
489
|
+
example:
|
490
|
+
|
491
|
+
%div#Article.article.entry{:id => @article.number, :class => @article.visibility}
|
492
|
+
|
493
|
+
is equivalent to
|
494
|
+
|
495
|
+
%div{:id => ['Article', @article.number], :class => ['article', 'entry', @article.visibility]} Gabba Hey
|
496
|
+
|
497
|
+
and could compile to:
|
498
|
+
|
499
|
+
<div class="article entry visible" id="Article_27">Gabba Hey</div>
|
500
|
+
|
501
|
+
#### Implicit Div Elements
|
502
|
+
|
503
|
+
Because divs are used so often, they're the default elements. If you only define
|
504
|
+
a class and/or id using `.` or `#`, a div is automatically used. For example:
|
505
|
+
|
506
|
+
#collection
|
507
|
+
.item
|
508
|
+
.description What a cool item!
|
509
|
+
|
510
|
+
is the same as:
|
511
|
+
|
512
|
+
%div#collection
|
513
|
+
%div.item
|
514
|
+
%div.description What a cool item!
|
515
|
+
|
516
|
+
and is compiled to:
|
517
|
+
|
518
|
+
<div id='collection'>
|
519
|
+
<div class='item'>
|
520
|
+
<div class='description'>What a cool item!</div>
|
521
|
+
</div>
|
522
|
+
</div>
|
523
|
+
|
524
|
+
#### Class Name Merging and Ordering
|
525
|
+
|
526
|
+
Class names are ordered in the following way:
|
527
|
+
|
528
|
+
1) Tag identifiers in order (aka, ".alert.me" => "alert me")
|
529
|
+
2) Classes appearing in HTML-style attributes
|
530
|
+
3) Classes appearing in Hash-style attributes
|
531
|
+
|
532
|
+
For instance, this is a complicated and unintuitive test case illustrating the ordering
|
533
|
+
|
534
|
+
.foo.moo{:class => ['bar', 'alpha']}(class='baz')
|
535
|
+
|
536
|
+
The resulting HTML would be as follows:
|
537
|
+
|
538
|
+
<div class='foo moo baz bar alpha'></div>
|
539
|
+
|
540
|
+
*Versions of Haml prior to 5.0 would alphabetically sort class names.*
|
541
|
+
|
542
|
+
### Empty (void) Tags: `/`
|
543
|
+
|
544
|
+
The forward slash character, when placed at the end of a tag definition, causes
|
545
|
+
Haml to treat it as being an empty (or void) element. Depending on the format,
|
546
|
+
the tag will be rendered either without a closing tag (`:html4` or `:html5`), or
|
547
|
+
as a self-closing tag (`:xhtml`).
|
548
|
+
|
549
|
+
Taking the following as an example:
|
550
|
+
|
551
|
+
%br/
|
552
|
+
%meta{'http-equiv' => 'Content-Type', :content => 'text/html'}/
|
553
|
+
|
554
|
+
When the format is `:html4` or `:html5` this is compiled to:
|
555
|
+
|
556
|
+
<br>
|
557
|
+
<meta content='text/html' http-equiv='Content-Type'>
|
558
|
+
|
559
|
+
and when the format is `:xhtml` it is compiled to:
|
560
|
+
|
561
|
+
<br />
|
562
|
+
<meta content='text/html' http-equiv='Content-Type' />
|
563
|
+
|
564
|
+
Some tags are automatically treated as being empty, as long as they have no
|
565
|
+
content in the Haml source. `meta`, `img`, `link`, `br`, `hr`, `input`,
|
566
|
+
`area`, `param`, `col` and `base` tags are treated as empty by default. This
|
567
|
+
list can be customized by setting the {Haml::Options#autoclose `:autoclose`}
|
568
|
+
option.
|
569
|
+
|
570
|
+
### Whitespace Removal: `>` and `<`
|
571
|
+
|
572
|
+
`>` and `<` give you more control over the whitespace near a tag. `>` will
|
573
|
+
remove all whitespace surrounding a tag, while `<` will remove all whitespace
|
574
|
+
immediately within a tag. You can think of them as alligators eating the
|
575
|
+
whitespace: `>` faces out of the tag and eats the whitespace on the outside, and
|
576
|
+
`<` faces into the tag and eats the whitespace on the inside. They're placed at
|
577
|
+
the end of a tag definition, after class, id, and attribute declarations but
|
578
|
+
before `/` or `=`. For example:
|
579
|
+
|
580
|
+
%blockquote<
|
581
|
+
%div
|
582
|
+
Foo!
|
583
|
+
|
584
|
+
is compiled to:
|
585
|
+
|
586
|
+
<blockquote><div>
|
587
|
+
Foo!
|
588
|
+
</div></blockquote>
|
589
|
+
|
590
|
+
And:
|
591
|
+
|
592
|
+
%img
|
593
|
+
%img>
|
594
|
+
%img
|
595
|
+
|
596
|
+
is compiled to:
|
597
|
+
|
598
|
+
<img /><img /><img />
|
599
|
+
|
600
|
+
And:
|
601
|
+
|
602
|
+
%p<= "Foo\nBar"
|
603
|
+
|
604
|
+
is compiled to:
|
605
|
+
|
606
|
+
<p>Foo
|
607
|
+
Bar</p>
|
608
|
+
|
609
|
+
And finally:
|
610
|
+
|
611
|
+
%img
|
612
|
+
%pre><
|
613
|
+
foo
|
614
|
+
bar
|
615
|
+
%img
|
616
|
+
|
617
|
+
is compiled to:
|
618
|
+
|
619
|
+
<img /><pre>foo
|
620
|
+
bar</pre><img />
|
621
|
+
|
622
|
+
### Object Reference: `[]`
|
623
|
+
|
624
|
+
Square brackets follow a tag definition and contain a Ruby object that is used
|
625
|
+
to set the class and id of that tag. The class is set to the object's class
|
626
|
+
(transformed to use underlines rather than camel case) and the id is set to the
|
627
|
+
object's class, followed by the value of its `#to_key` or `#id` method (in that
|
628
|
+
order). This is most useful for elements that represent instances of Active
|
629
|
+
Model models. Additionally, the second argument (if present) will be used as a
|
630
|
+
prefix for both the id and class attributes. For example:
|
631
|
+
|
632
|
+
# file: app/controllers/users_controller.rb
|
633
|
+
|
634
|
+
def show
|
635
|
+
@user = CrazyUser.find(15)
|
636
|
+
end
|
637
|
+
|
638
|
+
-# file: app/views/users/show.haml
|
639
|
+
|
640
|
+
%div[@user, :greeting]
|
641
|
+
%bar[290]/
|
642
|
+
Hello!
|
643
|
+
|
644
|
+
is compiled to:
|
645
|
+
|
646
|
+
<div class='greeting_crazy_user' id='greeting_crazy_user_15'>
|
647
|
+
<bar class='fixnum' id='fixnum_581' />
|
648
|
+
Hello!
|
649
|
+
</div>
|
650
|
+
|
651
|
+
If you require that the class be something other than the underscored object's
|
652
|
+
class, you can implement the `haml_object_ref` method on the object.
|
653
|
+
|
654
|
+
# file: app/models/crazy_user.rb
|
655
|
+
|
656
|
+
class CrazyUser < ActiveRecord::Base
|
657
|
+
def haml_object_ref
|
658
|
+
"a_crazy_user"
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
662
|
+
-# file: app/views/users/show.haml
|
663
|
+
|
664
|
+
%div[@user]
|
665
|
+
Hello!
|
666
|
+
|
667
|
+
is compiled to:
|
668
|
+
|
669
|
+
<div class='a_crazy_user' id='a_crazy_user_15'>
|
670
|
+
Hello!
|
671
|
+
</div>
|
672
|
+
|
673
|
+
The `:class` attribute may be used in conjunction with an object
|
674
|
+
reference. The compiled element will have the union of all classes.
|
675
|
+
|
676
|
+
- user = User.find(1)
|
677
|
+
%p[user]{:class => 'alpha bravo'}
|
678
|
+
<p id="user_1" class="alpha bravo user"></p>
|
679
|
+
|
680
|
+
## Doctype: `!!!`
|
681
|
+
|
682
|
+
When describing HTML documents with Haml, you can have a document type or XML
|
683
|
+
prolog generated automatically by including the characters `!!!`. For example:
|
684
|
+
|
685
|
+
!!! XML
|
686
|
+
!!!
|
687
|
+
%html
|
688
|
+
%head
|
689
|
+
%title Myspace
|
690
|
+
%body
|
691
|
+
%h1 I am the international space station
|
692
|
+
%p Sign my guestbook
|
693
|
+
|
694
|
+
is compiled to:
|
695
|
+
|
696
|
+
<?xml version='1.0' encoding='utf-8' ?>
|
697
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
698
|
+
<html>
|
699
|
+
<head>
|
700
|
+
<title>Myspace</title>
|
701
|
+
</head>
|
702
|
+
<body>
|
703
|
+
<h1>I am the international space station</h1>
|
704
|
+
<p>Sign my guestbook</p>
|
705
|
+
</body>
|
706
|
+
</html>
|
707
|
+
|
708
|
+
You can also specify the specific doctype after the `!!!` When the
|
709
|
+
{Haml::Options#format `:format`} is set to `:xhtml`. The following doctypes are
|
710
|
+
supported:
|
711
|
+
|
712
|
+
`!!!`
|
713
|
+
: XHTML 1.0 Transitional<br/>
|
714
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">`
|
715
|
+
|
716
|
+
`!!! Strict`
|
717
|
+
: XHTML 1.0 Strict<br/>
|
718
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">`
|
719
|
+
|
720
|
+
`!!! Frameset`
|
721
|
+
: XHTML 1.0 Frameset<br/>
|
722
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">`
|
723
|
+
|
724
|
+
`!!! 5`
|
725
|
+
: XHTML 5<br/>
|
726
|
+
`<!DOCTYPE html>`<br/>
|
727
|
+
|
728
|
+
`!!! 1.1`
|
729
|
+
: XHTML 1.1<br/>
|
730
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">`
|
731
|
+
|
732
|
+
`!!! Basic`
|
733
|
+
: XHTML Basic 1.1<br/>
|
734
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd"> `
|
735
|
+
|
736
|
+
`!!! Mobile`
|
737
|
+
: XHTML Mobile 1.2<br/>
|
738
|
+
`<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">`
|
739
|
+
|
740
|
+
`!!! RDFa`
|
741
|
+
: XHTML+RDFa 1.0<br/>
|
742
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">`
|
743
|
+
|
744
|
+
When the {Haml::Options#format `:format`} option is set to `:html4`, the following
|
745
|
+
doctypes are supported:
|
746
|
+
|
747
|
+
`!!!`
|
748
|
+
: HTML 4.01 Transitional<br/>
|
749
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">`
|
750
|
+
|
751
|
+
`!!! Strict`
|
752
|
+
: HTML 4.01 Strict<br/>
|
753
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">`
|
754
|
+
|
755
|
+
`!!! Frameset`
|
756
|
+
: HTML 4.01 Frameset<br/>
|
757
|
+
`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">`
|
758
|
+
|
759
|
+
When the {Haml::Options#format `:format`} option is set to `:html5`,
|
760
|
+
`!!!` is always `<!DOCTYPE html>`.
|
761
|
+
|
762
|
+
If you're not using the UTF-8 character set for your document, you can specify
|
763
|
+
which encoding should appear in the XML prolog in a similar way. For example:
|
764
|
+
|
765
|
+
!!! XML iso-8859-1
|
766
|
+
|
767
|
+
is compiled to:
|
768
|
+
|
769
|
+
<?xml version='1.0' encoding='iso-8859-1' ?>
|
770
|
+
|
771
|
+
If the mime_type of the template being rendered is `text/xml` then a format of
|
772
|
+
`:xhtml` will be used even if the global output format is set to `:html4` or
|
773
|
+
`:html5`.
|
774
|
+
|
775
|
+
## Comments
|
776
|
+
|
777
|
+
Haml supports two sorts of comments: those that show up in the HTML output and
|
778
|
+
those that don't.
|
779
|
+
|
780
|
+
### HTML Comments: `/`
|
781
|
+
|
782
|
+
The forward slash character, when placed at the beginning of a line, wraps all
|
783
|
+
text after it in an HTML comment. For example:
|
784
|
+
|
785
|
+
%peanutbutterjelly
|
786
|
+
/ This is the peanutbutterjelly element
|
787
|
+
I like sandwiches!
|
788
|
+
|
789
|
+
is compiled to:
|
790
|
+
|
791
|
+
<peanutbutterjelly>
|
792
|
+
<!-- This is the peanutbutterjelly element -->
|
793
|
+
I like sandwiches!
|
794
|
+
</peanutbutterjelly>
|
795
|
+
|
796
|
+
The forward slash can also wrap indented sections of code. For example:
|
797
|
+
|
798
|
+
/
|
799
|
+
%p This doesn't render...
|
800
|
+
%div
|
801
|
+
%h1 Because it's commented out!
|
802
|
+
|
803
|
+
is compiled to:
|
804
|
+
|
805
|
+
<!--
|
806
|
+
<p>This doesn't render...</p>
|
807
|
+
<div>
|
808
|
+
<h1>Because it's commented out!</h1>
|
809
|
+
</div>
|
810
|
+
-->
|
811
|
+
|
812
|
+
#### Conditional Comments: `/[]`
|
813
|
+
|
814
|
+
You can also use [Internet Explorer conditional
|
815
|
+
comments](http://www.quirksmode.org/css/condcom.html) by enclosing the condition
|
816
|
+
in square brackets after the `/`. For example:
|
817
|
+
|
818
|
+
/[if IE]
|
819
|
+
%a{ :href => 'http://www.mozilla.com/en-US/firefox/' }
|
820
|
+
%h1 Get Firefox
|
821
|
+
|
822
|
+
is compiled to:
|
823
|
+
|
824
|
+
<!--[if IE]>
|
825
|
+
<a href='http://www.mozilla.com/en-US/firefox/'>
|
826
|
+
<h1>Get Firefox</h1>
|
827
|
+
</a>
|
828
|
+
<![endif]-->
|
829
|
+
|
830
|
+
To generate “downlevel-revealed” conditional comments, where the content is
|
831
|
+
hidden from IE but not other browsers, add a `!` before the brackets: `/![]`.
|
832
|
+
Haml will produce valid HTML when generating this kind of conditional comment.
|
833
|
+
|
834
|
+
For example:
|
835
|
+
|
836
|
+
/![if !IE]
|
837
|
+
You are not using Internet Explorer, or are using version 10+.
|
838
|
+
|
839
|
+
is compiled to:
|
840
|
+
|
841
|
+
<!--[if !IE]><!-->
|
842
|
+
You are not using Internet Explorer, or are using version 10+.
|
843
|
+
<!--<![endif]-->
|
844
|
+
|
845
|
+
### Haml Comments: `-#`
|
846
|
+
|
847
|
+
The hyphen followed immediately by the pound sign signifies a silent comment.
|
848
|
+
Any text following this isn't rendered in the resulting document at all.
|
849
|
+
|
850
|
+
For example:
|
851
|
+
|
852
|
+
%p foo
|
853
|
+
-# This is a comment
|
854
|
+
%p bar
|
855
|
+
|
856
|
+
is compiled to:
|
857
|
+
|
858
|
+
<p>foo</p>
|
859
|
+
<p>bar</p>
|
860
|
+
|
861
|
+
You can also nest text beneath a silent comment. None of this text will be
|
862
|
+
rendered. For example:
|
863
|
+
|
864
|
+
%p foo
|
865
|
+
-#
|
866
|
+
This won't be displayed
|
867
|
+
Nor will this
|
868
|
+
Nor will this.
|
869
|
+
%p bar
|
870
|
+
|
871
|
+
is compiled to:
|
872
|
+
|
873
|
+
<p>foo</p>
|
874
|
+
<p>bar</p>
|
875
|
+
|
876
|
+
## Ruby Evaluation
|
877
|
+
|
878
|
+
### Inserting Ruby: `=` {#inserting_ruby}
|
879
|
+
|
880
|
+
The equals character is followed by Ruby code. This code is evaluated and the
|
881
|
+
output is inserted into the document. For example:
|
882
|
+
|
883
|
+
%p
|
884
|
+
= ['hi', 'there', 'reader!'].join " "
|
885
|
+
= "yo"
|
886
|
+
|
887
|
+
is compiled to:
|
888
|
+
|
889
|
+
<p>
|
890
|
+
hi there reader!
|
891
|
+
yo
|
892
|
+
</p>
|
893
|
+
|
894
|
+
If the {Haml::Options#escape_html `:escape_html`} option is set, `=` will sanitize
|
895
|
+
any HTML-sensitive characters generated by the script. For example:
|
896
|
+
|
897
|
+
= '<script>alert("I\'m evil!");</script>'
|
898
|
+
|
899
|
+
would be compiled to
|
900
|
+
|
901
|
+
<script>alert("I'm evil!");</script>
|
902
|
+
|
903
|
+
`=` can also be used at the end of a tag to insert Ruby code within that tag.
|
904
|
+
For example:
|
905
|
+
|
906
|
+
%p= "hello"
|
907
|
+
|
908
|
+
would be compiled to:
|
909
|
+
|
910
|
+
<p>hello</p>
|
911
|
+
|
912
|
+
A line of Ruby code can be stretched over multiple lines as long as each line
|
913
|
+
but the last ends with a comma. For example:
|
914
|
+
|
915
|
+
= link_to_remote "Add to cart",
|
916
|
+
:url => { :action => "add", :id => product.id },
|
917
|
+
:update => { :success => "cart", :failure => "error" }
|
918
|
+
|
919
|
+
Note that it's illegal to nest code within a tag that ends with `=`.
|
920
|
+
|
921
|
+
### Running Ruby: `-`
|
922
|
+
|
923
|
+
The hyphen character is also followed by Ruby code. This code is evaluated but
|
924
|
+
*not* inserted into the document.
|
925
|
+
|
926
|
+
**It is not recommended that you use this widely; almost all processing code and
|
927
|
+
logic should be restricted to Controllers, Helpers, or partials.**
|
928
|
+
|
929
|
+
For example:
|
930
|
+
|
931
|
+
- foo = "hello"
|
932
|
+
- foo << " there"
|
933
|
+
- foo << " you!"
|
934
|
+
%p= foo
|
935
|
+
|
936
|
+
is compiled to:
|
937
|
+
|
938
|
+
<p>
|
939
|
+
hello there you!
|
940
|
+
</p>
|
941
|
+
|
942
|
+
A line of Ruby code can be stretched over multiple lines as long as each line
|
943
|
+
but the last ends with a comma. For example:
|
944
|
+
|
945
|
+
- links = {:home => "/",
|
946
|
+
:docs => "/docs",
|
947
|
+
:about => "/about"}
|
948
|
+
|
949
|
+
#### Ruby Blocks
|
950
|
+
|
951
|
+
Ruby blocks, like XHTML tags, don't need to be explicitly closed in Haml.
|
952
|
+
Rather, they're automatically closed, based on indentation. A block begins
|
953
|
+
whenever the indentation is increased after a Ruby evaluation command. It ends
|
954
|
+
when the indentation decreases (as long as it's not an `else` clause or
|
955
|
+
something similar). For example:
|
956
|
+
|
957
|
+
- (42...47).each do |i|
|
958
|
+
%p= i
|
959
|
+
%p See, I can count!
|
960
|
+
|
961
|
+
is compiled to:
|
962
|
+
|
963
|
+
<p>42</p>
|
964
|
+
<p>43</p>
|
965
|
+
<p>44</p>
|
966
|
+
<p>45</p>
|
967
|
+
<p>46</p>
|
968
|
+
<p>See, I can count!</p>
|
969
|
+
|
970
|
+
Another example:
|
971
|
+
|
972
|
+
%p
|
973
|
+
- case 2
|
974
|
+
- when 1
|
975
|
+
= "1!"
|
976
|
+
- when 2
|
977
|
+
= "2?"
|
978
|
+
- when 3
|
979
|
+
= "3."
|
980
|
+
|
981
|
+
is compiled to:
|
982
|
+
|
983
|
+
<p>
|
984
|
+
2?
|
985
|
+
</p>
|
986
|
+
|
987
|
+
### Whitespace Preservation: `~` {#tilde}
|
988
|
+
|
989
|
+
`~` works just like `=`, except that it runs {Haml::Helpers#find\_and\_preserve}
|
990
|
+
on its input. For example,
|
991
|
+
|
992
|
+
~ "Foo\n<pre>Bar\nBaz</pre>"
|
993
|
+
|
994
|
+
is the same as:
|
995
|
+
|
996
|
+
= find_and_preserve("Foo\n<pre>Bar\nBaz</pre>")
|
997
|
+
|
998
|
+
and is compiled to:
|
999
|
+
|
1000
|
+
Foo
|
1001
|
+
<pre>Bar
Baz</pre>
|
1002
|
+
|
1003
|
+
See also [Whitespace Preservation](#whitespace_preservation).
|
1004
|
+
|
1005
|
+
### Ruby Interpolation: `#{}`
|
1006
|
+
|
1007
|
+
Ruby code can also be interpolated within plain text using `#{}`, similarly to
|
1008
|
+
Ruby string interpolation. For example,
|
1009
|
+
|
1010
|
+
%p This is #{h quality} cake!
|
1011
|
+
|
1012
|
+
is the same as
|
1013
|
+
|
1014
|
+
%p= "This is #{h quality} cake!"
|
1015
|
+
|
1016
|
+
and might compile to:
|
1017
|
+
|
1018
|
+
<p>This is scrumptious cake!</p>
|
1019
|
+
|
1020
|
+
Backslashes can be used to escape `#{}` strings, but they don't act as escapes
|
1021
|
+
anywhere else in the string. For example:
|
1022
|
+
|
1023
|
+
%p
|
1024
|
+
Look at \\#{h word} lack of backslash: \#{foo}
|
1025
|
+
And yon presence thereof: \{foo}
|
1026
|
+
|
1027
|
+
might compile to:
|
1028
|
+
|
1029
|
+
<p>
|
1030
|
+
Look at \yon lack of backslash: #{foo}
|
1031
|
+
And yon presence thereof: \{foo}
|
1032
|
+
</p>
|
1033
|
+
|
1034
|
+
Interpolation can also be used within [filters](#filters). For example:
|
1035
|
+
|
1036
|
+
:javascript
|
1037
|
+
$(document).ready(function() {
|
1038
|
+
alert(#{@message.to_json});
|
1039
|
+
});
|
1040
|
+
|
1041
|
+
might compile to:
|
1042
|
+
|
1043
|
+
<script type='text/javascript'>
|
1044
|
+
//<![CDATA[
|
1045
|
+
$(document).ready(function() {
|
1046
|
+
alert("Hi there!");
|
1047
|
+
});
|
1048
|
+
//]]>
|
1049
|
+
</script>
|
1050
|
+
|
1051
|
+
#### Gotchas
|
1052
|
+
|
1053
|
+
Haml uses an overly simplistic regular expression to identify string
|
1054
|
+
interpolation rather than a full-blown Ruby parser. This is fast and works for
|
1055
|
+
most code but you may have errors with code like the following:
|
1056
|
+
|
1057
|
+
%span #{'{'}
|
1058
|
+
|
1059
|
+
This code will generate a syntax error, complaining about unbalanced brackets.
|
1060
|
+
In cases like this, the recommended workaround is output the code as a Ruby
|
1061
|
+
string to force Haml to parse the code with Ruby.
|
1062
|
+
|
1063
|
+
%span= "#{'{'}"
|
1064
|
+
|
1065
|
+
|
1066
|
+
### Escaping HTML: `&=` {#escaping_html}
|
1067
|
+
|
1068
|
+
An ampersand followed by one or two equals characters evaluates Ruby code just
|
1069
|
+
like the equals without the ampersand, but sanitizes any HTML-sensitive
|
1070
|
+
characters in the result of the code. For example:
|
1071
|
+
|
1072
|
+
&= "I like cheese & crackers"
|
1073
|
+
|
1074
|
+
compiles to
|
1075
|
+
|
1076
|
+
I like cheese & crackers
|
1077
|
+
|
1078
|
+
If the {Haml::Options#escape_html `:escape_html`} option is set, `&=` behaves
|
1079
|
+
identically to `=`.
|
1080
|
+
|
1081
|
+
`&` can also be used on its own so that `#{}` interpolation is escaped. For
|
1082
|
+
example,
|
1083
|
+
|
1084
|
+
& I like #{"cheese & crackers"}
|
1085
|
+
|
1086
|
+
compiles to:
|
1087
|
+
|
1088
|
+
I like cheese & crackers
|
1089
|
+
|
1090
|
+
### Unescaping HTML: `!=` {#unescaping_html}
|
1091
|
+
|
1092
|
+
An exclamation mark followed by one or two equals characters evaluates Ruby code
|
1093
|
+
just like the equals would, but never sanitizes the HTML.
|
1094
|
+
|
1095
|
+
By default, the single equals doesn't sanitize HTML either. However, if the
|
1096
|
+
{Haml::Options#escape_html `:escape_html`} option is set, `=` will sanitize the
|
1097
|
+
HTML, but `!=` still won't. For example, if `:escape_html` is set:
|
1098
|
+
|
1099
|
+
= "I feel <strong>!"
|
1100
|
+
!= "I feel <strong>!"
|
1101
|
+
|
1102
|
+
compiles to
|
1103
|
+
|
1104
|
+
I feel <strong>!
|
1105
|
+
I feel <strong>!
|
1106
|
+
|
1107
|
+
`!` can also be used on its own so that `#{}` interpolation is unescaped.
|
1108
|
+
For example,
|
1109
|
+
|
1110
|
+
! I feel #{"<strong>"}!
|
1111
|
+
|
1112
|
+
compiles to
|
1113
|
+
|
1114
|
+
I feel <strong>!
|
1115
|
+
|
1116
|
+
## Filters {#filters}
|
1117
|
+
|
1118
|
+
The colon character designates a filter. This allows you to pass an indented
|
1119
|
+
block of text as input to another filtering program and add the result to the
|
1120
|
+
output of Haml. The syntax is simply a colon followed by the name of the filter.
|
1121
|
+
For example:
|
1122
|
+
|
1123
|
+
%p
|
1124
|
+
:markdown
|
1125
|
+
# Greetings
|
1126
|
+
|
1127
|
+
Hello, *World*
|
1128
|
+
|
1129
|
+
is compiled to:
|
1130
|
+
|
1131
|
+
<p>
|
1132
|
+
<h1>Greetings</h1>
|
1133
|
+
|
1134
|
+
<p>Hello, <em>World</em></p>
|
1135
|
+
</p>
|
1136
|
+
|
1137
|
+
Filters can have Ruby code interpolated with `#{}`. For example:
|
1138
|
+
|
1139
|
+
- flavor = "raspberry"
|
1140
|
+
#content
|
1141
|
+
:textile
|
1142
|
+
I *really* prefer _#{flavor}_ jam.
|
1143
|
+
|
1144
|
+
is compiled to
|
1145
|
+
|
1146
|
+
<div id='content'>
|
1147
|
+
<p>I <strong>really</strong> prefer <em>raspberry</em> jam.</p>
|
1148
|
+
</div>
|
1149
|
+
|
1150
|
+
Note that `#{}` interpolation within filters is HTML-escaped if you specify true to
|
1151
|
+
{Haml::Options#escape_filter_interpolations `:escape_filter_interpolations`} option.
|
1152
|
+
|
1153
|
+
The functionality of some filters such as Markdown can be provided by many
|
1154
|
+
different libraries. Usually you don't have to worry about this - you can just
|
1155
|
+
load the gem of your choice and Haml will automatically use it.
|
1156
|
+
|
1157
|
+
However in some cases you may want to make Haml explicitly use a specific gem to
|
1158
|
+
be used by a filter. In these cases you can do this via Tilt, the library Haml
|
1159
|
+
uses to implement many of its filters:
|
1160
|
+
|
1161
|
+
Tilt.prefer Tilt::RedCarpetTemplate
|
1162
|
+
|
1163
|
+
See the [Tilt documentation](https://github.com/rtomayko/tilt#fallback-mode) for
|
1164
|
+
more info.
|
1165
|
+
|
1166
|
+
Haml comes with the following filters defined:
|
1167
|
+
|
1168
|
+
### `:cdata` {#cdata-filter}
|
1169
|
+
|
1170
|
+
Surrounds the filtered text with CDATA tags.
|
1171
|
+
|
1172
|
+
### `:coffee` {#coffee-filter}
|
1173
|
+
|
1174
|
+
Compiles the filtered text to JavaScript in `<script>` tag using CoffeeScript.
|
1175
|
+
You can also reference this filter as `:coffeescript`. This filter is
|
1176
|
+
implemented using Tilt.
|
1177
|
+
|
1178
|
+
### `:css` {#css-filter}
|
1179
|
+
|
1180
|
+
Surrounds the filtered text with `<style>` and (optionally) CDATA tags. Useful
|
1181
|
+
for including inline CSS. Use the {Haml::Options#cdata `:cdata` option} to
|
1182
|
+
control when CDATA tags are added.
|
1183
|
+
|
1184
|
+
### `:erb` {#erb-filter}
|
1185
|
+
|
1186
|
+
Parses the filtered text with ERB, like an RHTML template. Not available if the
|
1187
|
+
{Haml::Options#suppress_eval `:suppress_eval`} option is set to true. Embedded
|
1188
|
+
Ruby code is evaluated in the same context as the Haml template. This filter is
|
1189
|
+
implemented using Tilt.
|
1190
|
+
|
1191
|
+
### `:escaped` {#escaped-filter}
|
1192
|
+
|
1193
|
+
Works the same as plain, but HTML-escapes the text
|
1194
|
+
before placing it in the document.
|
1195
|
+
|
1196
|
+
### `:javascript` {#javascript-filter}
|
1197
|
+
|
1198
|
+
Surrounds the filtered text with `<script>` and (optionally) CDATA tags.
|
1199
|
+
Useful for including inline Javascript. Use the {Haml::Options#cdata `:cdata`
|
1200
|
+
option} to control when CDATA tags are added.
|
1201
|
+
|
1202
|
+
### `:less` {#less-filter}
|
1203
|
+
|
1204
|
+
Parses the filtered text with [Less](http://lesscss.org/) to produce CSS output in `<style>` tag.
|
1205
|
+
This filter is implemented using Tilt.
|
1206
|
+
|
1207
|
+
### `:markdown` {#markdown-filter}
|
1208
|
+
|
1209
|
+
Parses the filtered text with
|
1210
|
+
[Markdown](http://daringfireball.net/projects/markdown). This filter is
|
1211
|
+
implemented using Tilt.
|
1212
|
+
|
1213
|
+
### `:maruku` {#maruku-filter}
|
1214
|
+
|
1215
|
+
Parses the filtered text with [Maruku](https://github.com/nex3/maruku), which
|
1216
|
+
has some non-standard extensions to Markdown.
|
1217
|
+
|
1218
|
+
As of Haml 4.0, this filter is defined in [Haml
|
1219
|
+
contrib](https://github.com/haml/haml-contrib) but is loaded automatically for
|
1220
|
+
historical reasons. In future versions of Haml it will likely not be loaded by
|
1221
|
+
default. This filter is implemented using Tilt.
|
1222
|
+
|
1223
|
+
### `:plain` {#plain-filter}
|
1224
|
+
|
1225
|
+
Does not parse the filtered text. This is useful for large blocks of text
|
1226
|
+
without HTML tags, when you don't want lines starting with `.` or `-` to be
|
1227
|
+
parsed.
|
1228
|
+
|
1229
|
+
### `:preserve` {#preserve-filter}
|
1230
|
+
|
1231
|
+
Inserts the filtered text into the template with whitespace preserved.
|
1232
|
+
`preserve`d blocks of text aren't indented, and newlines are replaced with the
|
1233
|
+
HTML escape code for newlines, to preserve nice-looking output. See also
|
1234
|
+
[Whitespace Preservation](#whitespace_preservation).
|
1235
|
+
|
1236
|
+
### `:ruby` {#ruby-filter}
|
1237
|
+
|
1238
|
+
Parses the filtered text with the normal Ruby interpreter. Creates an `IO`
|
1239
|
+
object named `haml_io`, anything written to it is output into the Haml document.
|
1240
|
+
Not available if the {Haml::Options#suppress_eval `:suppress_eval`} option is
|
1241
|
+
set to true. The Ruby code is evaluated in the same context as the Haml
|
1242
|
+
template.
|
1243
|
+
|
1244
|
+
### `:sass` {#sass-filter}
|
1245
|
+
|
1246
|
+
Parses the filtered text with [Sass](http://sass-lang.com/) to produce CSS
|
1247
|
+
output in `<style>` tag. This filter is implemented using Tilt.
|
1248
|
+
|
1249
|
+
### `:scss` {#scss-filter}
|
1250
|
+
|
1251
|
+
Parses the filtered text with Sass like the `:sass` filter, but uses the newer
|
1252
|
+
SCSS syntax to produce CSS output in `<style>` tag. This filter is implemented
|
1253
|
+
using Tilt.
|
1254
|
+
|
1255
|
+
### `:textile` {#textile-filter}
|
1256
|
+
|
1257
|
+
Parses the filtered text with [Textile](http://www.textism.com/tools/textile).
|
1258
|
+
Only works if [RedCloth](http://redcloth.org) is installed.
|
1259
|
+
|
1260
|
+
As of Haml 4.0, this filter is defined in [Haml
|
1261
|
+
contrib](https://github.com/haml/haml-contrib) but is loaded automatically for
|
1262
|
+
historical reasons. In future versions of Haml it will likely not be loaded by
|
1263
|
+
default. This filter is implemented using Tilt.
|
1264
|
+
|
1265
|
+
### Custom Filters
|
1266
|
+
|
1267
|
+
You can also define your own filters. See {Haml::Filters} for details.
|
1268
|
+
|
1269
|
+
## Helper Methods {#helper-methods}
|
1270
|
+
|
1271
|
+
Sometimes you need to manipulate whitespace in a more precise fashion than what
|
1272
|
+
the whitespace removal methods allow. There are a few helper methods that are
|
1273
|
+
useful when dealing with inline content. All these methods take a Haml block to
|
1274
|
+
modify.
|
1275
|
+
|
1276
|
+
### surround {#surround}
|
1277
|
+
|
1278
|
+
Surrounds a Haml block with text. Expects 1 or 2 string arguments used to
|
1279
|
+
surround the Haml block. If a second argument is not provided, the first
|
1280
|
+
argument is used as the second.
|
1281
|
+
|
1282
|
+
= surround "(", ")" do
|
1283
|
+
= link_to "learn more", "#"
|
1284
|
+
|
1285
|
+
### precede {#precede}
|
1286
|
+
|
1287
|
+
Prepends a Haml block with text. Expects 1 argument.
|
1288
|
+
|
1289
|
+
= precede "*" do
|
1290
|
+
%span Required
|
1291
|
+
|
1292
|
+
### succeed {#succeed}
|
1293
|
+
|
1294
|
+
Appends a Haml block with text. Expects 1 argument.
|
1295
|
+
|
1296
|
+
Begin by
|
1297
|
+
= succeed "," do
|
1298
|
+
= link_to "filling out your profile", "#"
|
1299
|
+
= succeed "," do
|
1300
|
+
= link_to "adding a bio", "#"
|
1301
|
+
and
|
1302
|
+
= succeed "." do
|
1303
|
+
= link_to "inviting friends", "#"
|
1304
|
+
|
1305
|
+
## Multiline: `|` {#multiline}
|
1306
|
+
|
1307
|
+
The pipe character designates a multiline string.
|
1308
|
+
It's placed at the end of a line (after some whitespace)
|
1309
|
+
and means that all following lines that end with `|`
|
1310
|
+
will be evaluated as though they were on the same line.
|
1311
|
+
**Note that even the last line in the multiline block
|
1312
|
+
should end with `|`.**
|
1313
|
+
For example:
|
1314
|
+
|
1315
|
+
%whoo
|
1316
|
+
%hoo= h( |
|
1317
|
+
"I think this might get " + |
|
1318
|
+
"pretty long so I should " + |
|
1319
|
+
"probably make it " + |
|
1320
|
+
"multiline so it doesn't " + |
|
1321
|
+
"look awful.") |
|
1322
|
+
%p This is short.
|
1323
|
+
|
1324
|
+
is compiled to:
|
1325
|
+
|
1326
|
+
<whoo>
|
1327
|
+
<hoo>I think this might get pretty long so I should probably make it multiline so it doesn't look awful.</hoo>
|
1328
|
+
<p>This is short</p>
|
1329
|
+
</whoo>
|
1330
|
+
|
1331
|
+
Using multiline declarations in Haml is intentionally awkward.
|
1332
|
+
This is designed to discourage people from putting lots and lots of Ruby code
|
1333
|
+
in their Haml templates.
|
1334
|
+
If you find yourself using multiline declarations, stop and think:
|
1335
|
+
could I do this better with a helper?
|
1336
|
+
|
1337
|
+
Note that there are a few cases where it's useful to allow
|
1338
|
+
something to flow over onto multiple lines in a non-awkward manner.
|
1339
|
+
One of these is HTML attributes.
|
1340
|
+
Some elements just have lots of attributes,
|
1341
|
+
so you can wrap attributes without using `|` (see [Attributes](#attributes)).
|
1342
|
+
|
1343
|
+
In addition, sometimes you need to call Ruby methods or declare data structures
|
1344
|
+
that just need a lot of template information.
|
1345
|
+
So data structures and functions that require lots of arguments
|
1346
|
+
can be wrapped over multiple lines,
|
1347
|
+
as long as each line but the last ends in a comma
|
1348
|
+
(see [Inserting Ruby](#inserting_ruby)).
|
1349
|
+
|
1350
|
+
## Whitespace Preservation
|
1351
|
+
|
1352
|
+
Sometimes you don't want Haml to indent all your text.
|
1353
|
+
For example, tags like `pre` and `textarea` are whitespace-sensitive;
|
1354
|
+
indenting the text makes them render wrong.
|
1355
|
+
|
1356
|
+
Haml deals with this by "preserving" newlines before they're put into the
|
1357
|
+
document -- converting them to the HTML whitespace escape code, `
`. Then
|
1358
|
+
Haml won't try to re-format the indentation.
|
1359
|
+
|
1360
|
+
Literal `textarea` and `pre` tags automatically preserve content given through
|
1361
|
+
`=`. Dynamically-generated `textarea`s and `pre`s can't be preserved
|
1362
|
+
automatically, and so should be passed through
|
1363
|
+
{Haml::Helpers#find\_and\_preserve} or the [`~` command](#tilde), which has the
|
1364
|
+
same effect.
|
1365
|
+
|
1366
|
+
Blocks of literal text can be preserved using the [`:preserve` filter](#preserve-filter).
|
1367
|
+
|
1368
|
+
## Helpers
|
1369
|
+
|
1370
|
+
Haml offers a bunch of helpers that are useful for doing stuff like preserving
|
1371
|
+
whitespace, creating nicely indented output for user-defined helpers, and other
|
1372
|
+
useful things. The helpers are all documented in the {Haml::Helpers} and
|
1373
|
+
{Haml::Helpers::ActionViewExtensions} modules.
|