brakeman 3.2.1 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +18 -0
- data/bin/brakeman +1 -1
- data/bundle/load.rb +14 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/CHANGES.txt +828 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/MIT-LICENSE +20 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/README.txt +102 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/Makefile +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/bench.rb +313 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/bench_context.yaml +141 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/_footer.html +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/_header.html +52 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +29 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +29 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +29 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/bin/erubis +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/contrib/erubis +3468 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/contrib/inline-require +179 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/ActionView.html +105 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +209 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/ERB.html +101 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis.html +362 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +175 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +174 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +112 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +327 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +130 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +215 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +386 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +113 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +344 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +283 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +382 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +150 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +126 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +126 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +126 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +126 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +305 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +126 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +126 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +175 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +117 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +132 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +165 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +127 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +126 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +212 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +131 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +416 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +267 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +116 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +787 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +349 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +213 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +305 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +359 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +386 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +341 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +249 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +159 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +119 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +163 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +439 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +163 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +125 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +266 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +166 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +166 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +166 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +166 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +122 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +166 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +166 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +155 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +166 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +293 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +163 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +344 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +350 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +210 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +183 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +212 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +212 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +244 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +121 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +227 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +328 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +382 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +191 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +173 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +121 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +174 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +298 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +130 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +255 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/classes/Kernel.html +155 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/created.rid +1 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/README_txt.html +247 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +107 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +114 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +114 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +117 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +107 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +107 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +115 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +114 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +107 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +107 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +116 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +107 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +129 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +114 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +107 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +107 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +118 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/fr_class_index.html +129 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/fr_file_index.html +53 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/fr_method_index.html +265 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/index.html +24 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc-api/rdoc-style.css +208 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc/docstyle.css +209 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/doc/users-guide.html +3551 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/Makefile +58 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ec +42 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ecpp +33 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ejava +45 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ejs +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.eperl +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.ephp +17 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.eruby +15 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/basic/example.escheme +26 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/Makefile +54 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ec +42 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejava +45 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ejs +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.eperl +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.ephp +17 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.eruby +15 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/examples/pi/example.escheme +26 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis.rb +73 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/setup.rb +1331 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/assert-text-equal.rb +44 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +55 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/array_example.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +17 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/context.rb +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/context.yaml +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +14 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/def_method.result +3 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ec +27 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +30 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ejs +20 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.eperl +18 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.ephp +18 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.eruby +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example.escheme +28 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example1.rb +17 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example1.result +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example10.rb +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example10.result +17 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +14 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +17 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11.php +20 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11.result +23 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +21 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +15 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +7 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2.rb +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2.result +27 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example3.rb +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example31.result +22 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example32.result +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +3 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example4.rb +11 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example4.result +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +5 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example5.rb +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example5.result +7 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example6.rb +12 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example6.result +7 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example71.result +13 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example72.result +13 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +7 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +7 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +3 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example9.rb +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example9.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example91.result +5 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example92.result +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_c.result +32 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_java.result +56 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_js.result +22 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +20 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_php.result +19 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +30 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +29 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +18 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +11 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +38 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +15 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +10 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +11 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +13 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +14 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +20 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +15 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +11 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +14 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +19 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +20 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +16 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +6 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +3 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +8 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/stderr.log +3 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +9 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +3 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +4 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-engines.rb +425 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-enhancers.rb +646 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-erubis.rb +887 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-index-cgi.rb +191 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-main.rb +752 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test-users-guide.rb +73 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/test.rb +45 -0
- data/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/testutil.rb +111 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/CHANGELOG.md +1363 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/FAQ.md +157 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/MIT-LICENSE +20 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/README.md +173 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/REFERENCE.md +1294 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/Rakefile +134 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/bin/haml +9 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml.rb +23 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/buffer.rb +345 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/compiler.rb +540 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/engine.rb +245 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/error.rb +61 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/exec.rb +329 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/filters.rb +404 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers.rb +664 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_extensions.rb +58 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb +147 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb +58 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb +29 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb +104 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/options.rb +279 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/parser.rb +764 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/railtie.rb +22 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/sass_rails_filter.rb +33 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/template.rb +32 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/template/options.rb +16 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/template/plugin.rb +41 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/util.rb +377 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/lib/haml/version.rb +3 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/engine_test.rb +2013 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/erb/_av_partial_1.erb +12 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/erb/_av_partial_2.erb +8 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/erb/action_view.erb +62 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/erb/standard.erb +55 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/filters_test.rb +254 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.0.x +5 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.1.x +6 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-3.2.x +5 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/gemfiles/Gemfile.rails-4.0.x +5 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/LICENSE +14 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/README.md +106 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/lua_haml_spec.lua +38 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/perl_haml_test.pl +81 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/ruby_haml_test.rb +23 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/haml-spec/tests.json +660 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/helper_test.rb +583 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/markaby/standard.mab +52 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/mocks/article.rb +6 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/parser_test.rb +105 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/content_for_layout.xhtml +12 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/eval_suppressed.xhtml +9 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/helpers.xhtml +70 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/helpful.xhtml +10 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/just_stuff.xhtml +70 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/list.xhtml +12 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/nuke_inner_whitespace.xhtml +40 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/nuke_outer_whitespace.xhtml +148 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/original_engine.xhtml +20 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/partial_layout.xhtml +5 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/partial_layout_erb.xhtml +5 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/partials.xhtml +21 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/render_layout.xhtml +3 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/silent_script.xhtml +74 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/standard.xhtml +162 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/tag_parsing.xhtml +23 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/very_basic.xhtml +5 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/results/whitespace_handling.xhtml +90 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/template_test.rb +354 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_av_partial_1.haml +9 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_av_partial_1_ugly.haml +9 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_av_partial_2.haml +5 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_av_partial_2_ugly.haml +5 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_layout.erb +3 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_layout_for_partial.haml +3 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_partial.haml +8 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_text_area.haml +3 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/_text_area_helper.html.haml +4 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/action_view.haml +47 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/action_view_ugly.haml +47 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/breakage.haml +8 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/content_for_layout.haml +8 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/eval_suppressed.haml +11 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/helpers.haml +55 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/helpful.haml +11 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/just_stuff.haml +85 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/list.haml +12 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/nuke_inner_whitespace.haml +32 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/nuke_outer_whitespace.haml +144 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/original_engine.haml +17 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/partial_layout.haml +3 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/partial_layout_erb.erb +4 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/partialize.haml +1 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/partials.haml +12 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/render_layout.haml +2 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/silent_script.haml +45 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/standard.haml +43 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/standard_ugly.haml +43 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/tag_parsing.haml +21 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/very_basic.haml +4 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/templates/whitespace_handling.haml +87 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/test_helper.rb +81 -0
- data/bundle/ruby/2.3.0/gems/haml-4.0.7/test/util_test.rb +63 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/AUTHORS +3 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/COPYING +339 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/Changelog.md +415 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/Gemfile +9 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/INSTALL +59 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/LICENSE +7 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/README.rdoc +74 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/Rakefile +30 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/TODO +6 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/ansi_colors.rb +38 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/asking_for_arrays.rb +18 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/basic_usage.rb +75 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/color_scheme.rb +32 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/get_character.rb +12 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/limit.rb +12 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/menus.rb +65 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/overwrite.rb +19 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/page_and_wrap.rb +322 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/password.rb +7 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/repeat_entry.rb +21 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/trapping_eof.rb +22 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/examples/using_readline.rb +17 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/highline.gemspec +37 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline.rb +1048 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/color_scheme.rb +134 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/compatibility.rb +16 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/import.rb +41 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/menu.rb +381 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/question.rb +480 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/simulate.rb +48 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/string_extensions.rb +111 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/style.rb +192 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/system_extensions.rb +254 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/lib/highline/version.rb +4 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/setup.rb +1360 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/site/highline.css +65 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/site/images/logo.png +0 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/site/index.html +58 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/string_methods.rb +32 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_color_scheme.rb +96 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_highline.rb +1402 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_import.rb +52 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_menu.rb +439 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_simulator.rb +23 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_string_extension.rb +33 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_string_highline.rb +38 -0
- data/bundle/ruby/2.3.0/gems/highline-1.7.8/test/tc_style.rb +578 -0
- data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/History.txt +371 -0
- data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/Manifest.txt +8 -0
- data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/README.txt +87 -0
- data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/Rakefile +92 -0
- data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/bin/r2r_show +33 -0
- data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/lib/ruby2ruby.rb +1159 -0
- data/bundle/ruby/2.3.0/gems/ruby2ruby-2.3.0/test/test_ruby2ruby.rb +709 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/History.txt +882 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/Manifest.txt +29 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/README.txt +93 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/Rakefile +187 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/bin/ruby_parse +96 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/bin/ruby_parse_extract_error +156 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby18_parser.rb +5773 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby18_parser.y +1899 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby19_parser.rb +6171 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby19_parser.y +2109 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby20_parser.rb +6723 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby20_parser.y +2372 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby21_parser.rb +6764 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby21_parser.y +2382 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby22_parser.rb +6804 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby22_parser.y +2393 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby23_parser.rb +6905 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby23_parser.y +2425 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_lexer.rb +1237 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_lexer.rex +177 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_lexer.rex.rb +317 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_parser.rb +7 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_parser.yy +2506 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/lib/ruby_parser_extras.rb +1460 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/test/test_ruby_lexer.rb +2723 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/test/test_ruby_parser.rb +3502 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.1/test/test_ruby_parser_extras.rb +228 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/CHANGES.md +149 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/Gemfile +11 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/LICENSE.txt +22 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/README.md +191 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/Rakefile +26 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/bin/safe_yaml +75 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/bundle_install_all_ruby_versions.sh +11 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml.rb +94 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/deep.rb +34 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/libyaml_checker.rb +36 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb +181 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb +35 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/hexadecimal.rb +12 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/sexagesimal.rb +26 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_handler.rb +99 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb +52 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/resolver.rb +94 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_hack.rb +36 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_resolver.rb +38 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform.rb +41 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_boolean.rb +21 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_date.rb +13 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_float.rb +33 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_integer.rb +26 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_nil.rb +18 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_symbol.rb +17 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/transformation_map.rb +47 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/version.rb +3 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/run_specs_all_ruby_versions.sh +38 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/safe_yaml.gemspec +19 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.2.yaml +2 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.3.yaml +2 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/issue48.txt +20 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/issue49.yml +0 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/libyaml_checker_spec.rb +69 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/psych_resolver_spec.rb +10 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/resolver_specs.rb +278 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/safe_yaml_spec.rb +731 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/spec_helper.rb +42 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/support/exploitable_back_door.rb +29 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/syck_resolver_spec.rb +10 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/base64_spec.rb +11 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_date_spec.rb +60 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_float_spec.rb +42 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_integer_spec.rb +64 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_symbol_spec.rb +51 -0
- data/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/yaml_spec.rb +15 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/CODE_OF_CONDUCT.md +10 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/CONTRIBUTING.md +125 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/MIT-LICENSE +20 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/README.md +227 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/REVISION +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/Rakefile +432 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/VERSION +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/VERSION_DATE +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/VERSION_NAME +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/bin/sass +13 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/bin/sass-convert +12 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/bin/scss +13 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/extra/update_watch.rb +13 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/init.rb +18 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass.rb +109 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores.rb +15 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/base.rb +88 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/chain.rb +34 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/filesystem.rb +60 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/memory.rb +46 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/cache_stores/null.rb +25 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/callbacks.rb +67 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/css.rb +408 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/engine.rb +1218 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/environment.rb +215 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/error.rb +198 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec.rb +9 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec/base.rb +199 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec/sass_convert.rb +283 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec/sass_scss.rb +440 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/features.rb +47 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/importers.rb +23 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/importers/base.rb +182 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/importers/deprecated_path.rb +51 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/importers/filesystem.rb +219 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/logger.rb +12 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/logger/base.rb +30 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/logger/log_level.rb +45 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/media.rb +210 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin.rb +134 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/compiler.rb +582 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/configuration.rb +134 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/generic.rb +15 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/merb.rb +48 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/rack.rb +60 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/rails.rb +47 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/plugin/staleness_checker.rb +199 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/railtie.rb +10 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/repl.rb +57 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/root.rb +7 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script.rb +66 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/css_lexer.rb +33 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/css_parser.rb +33 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/css_variable_warning.rb +52 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/functions.rb +2690 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/lexer.rb +464 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/parser.rb +825 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree.rb +16 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/funcall.rb +313 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/interpolation.rb +223 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/list_literal.rb +104 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/literal.rb +49 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/map_literal.rb +64 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/node.rb +127 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/operation.rb +129 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/selector.rb +26 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/string_interpolation.rb +125 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/unary_operation.rb +69 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/tree/variable.rb +57 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value.rb +11 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/arg_list.rb +36 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/base.rb +241 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/bool.rb +35 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/color.rb +698 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/helpers.rb +272 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/list.rb +113 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/map.rb +70 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/null.rb +44 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/number.rb +561 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/script/value/string.rb +145 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss.rb +14 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/css_parser.rb +56 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/parser.rb +1236 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/rx.rb +140 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/static_parser.rb +366 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector.rb +323 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/abstract_sequence.rb +111 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/comma_sequence.rb +179 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/pseudo.rb +266 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/sequence.rb +636 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/simple.rb +116 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/selector/simple_sequence.rb +344 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/shared.rb +76 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/source/map.rb +211 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/source/position.rb +39 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/source/range.rb +41 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/stack.rb +120 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/supports.rb +225 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/at_root_node.rb +83 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/charset_node.rb +22 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/comment_node.rb +82 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/content_node.rb +9 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/css_import_node.rb +68 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/debug_node.rb +18 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/directive_node.rb +59 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/each_node.rb +24 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/error_node.rb +18 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/extend_node.rb +43 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/for_node.rb +36 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/function_node.rb +44 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/if_node.rb +52 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/import_node.rb +75 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/keyframe_rule_node.rb +15 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/media_node.rb +48 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/mixin_def_node.rb +38 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/mixin_node.rb +52 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/node.rb +240 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/prop_node.rb +170 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/return_node.rb +19 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/root_node.rb +44 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/rule_node.rb +146 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/supports_node.rb +38 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/trace_node.rb +33 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/variable_node.rb +36 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/base.rb +72 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/check_nesting.rb +173 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/convert.rb +349 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/cssize.rb +373 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/deep_copy.rb +107 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/extend.rb +70 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/perform.rb +563 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/set_options.rb +139 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/visitors/to_css.rb +409 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/warn_node.rb +18 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/tree/while_node.rb +18 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util.rb +1350 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/cross_platform_random.rb +19 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/multibyte_string_scanner.rb +155 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/normalized_map.rb +129 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/ordered_hash.rb +192 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/subset_map.rb +109 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/util/test.rb +9 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/version.rb +124 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/rails/init.rb +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass-spec.yml +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/cache_test.rb +131 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/callbacks_test.rb +61 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/compiler_test.rb +236 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/conversion_test.rb +2171 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/css2sass_test.rb +526 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/css_variable_test.rb +132 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/data/hsl-rgb.txt +319 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/encoding_test.rb +219 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/engine_test.rb +3441 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/exec_test.rb +96 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/extend_test.rb +1707 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/fixtures/test_staleness_check_across_importers.css +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/fixtures/test_staleness_check_across_importers.scss +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/functions_test.rb +1974 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/importer_test.rb +421 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/logger_test.rb +58 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/mock_importer.rb +49 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_results/more1.css +9 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_results/more1_with_line_comments.css +26 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_results/more_import.css +29 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_templates/_more_partial.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_templates/more1.sass +23 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/more_templates/more_import.sass +11 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/plugin_test.rb +556 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/alt.css +4 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/basic.css +9 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/cached_import_option.css +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/compact.css +5 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/complex.css +86 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/compressed.css +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/expanded.css +19 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/filename_fn.css +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/if.css +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import.css +31 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import_charset.css +5 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import_charset_1_8.css +5 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import_charset_ibm866.css +5 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/import_content.css +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/line_numbers.css +49 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/mixins.css +95 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/multiline.css +24 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/nested.css +22 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/options.css +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/parent_ref.css +13 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/script.css +16 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/scss_import.css +31 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/scss_importee.css +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/subdir/nested_subdir/nested_subdir.css +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/subdir/subdir.css +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/units.css +11 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/warn.css +0 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/results/warn_imported.css +0 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/script_conversion_test.rb +357 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/script_test.rb +1422 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/scss/css_test.rb +1281 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/scss/rx_test.rb +160 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/scss/scss_test.rb +4157 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/scss/test_helper.rb +37 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/source_map_test.rb +1055 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/superselector_test.rb +210 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_cached_import_option_partial.scss +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_double_import_loop2.sass +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_filename_fn_import.scss +11 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_imported_charset_ibm866.sass +4 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_imported_charset_utf8.sass +4 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_imported_content.sass +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_partial.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/_same_name_different_partiality.scss +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/alt.sass +16 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/basic.sass +23 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork1.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork2.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork3.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork4.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/bork5.sass +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/cached_import_option.scss +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/compact.sass +17 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/complex.sass +305 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/compressed.sass +15 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/double_import_loop1.sass +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/expanded.sass +17 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/filename_fn.scss +18 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/if.sass +11 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import.sass +12 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import_charset.sass +9 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import_charset_1_8.sass +6 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import_charset_ibm866.sass +11 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/import_content.sass +4 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/importee.less +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/importee.sass +19 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/line_numbers.sass +13 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/mixin_bork.sass +5 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/mixins.sass +76 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/multiline.sass +20 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested.sass +25 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_bork1.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_bork2.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_bork3.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_bork4.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_import.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/nested_mixin_bork.sass +6 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/options.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/parent_ref.sass +25 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/same_name_different_ext.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/same_name_different_ext.scss +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/same_name_different_partiality.scss +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/script.sass +101 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/scss_import.scss +12 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/scss_importee.scss +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/single_import_loop.sass +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/import_up1.scss +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/import_up2.scss +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +2 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/subdir/subdir.sass +6 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/units.sass +11 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/warn.sass +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/templates/warn_imported.sass +4 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/test_helper.rb +8 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/util/multibyte_string_scanner_test.rb +147 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/util/normalized_map_test.rb +51 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/util/subset_map_test.rb +91 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/util_test.rb +438 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/sass/value_helpers_test.rb +179 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/test/test_helper.rb +110 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/CHANGELOG.md +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/CONTRIBUTING.md +38 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/Gemfile +20 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/Guardfile +8 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/LICENSE +20 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/README.md +349 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/Rakefile +5 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/Vagrantfile +96 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen.rb +54 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapter.rb +327 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/bsd.rb +75 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/darwin.rb +48 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/linux.rb +81 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/polling.rb +58 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/adapters/windows.rb +91 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/directory_record.rb +406 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/listener.rb +323 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/turnstile.rb +32 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/lib/listen/version.rb +3 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/listen.gemspec +28 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapter_spec.rb +149 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/bsd_spec.rb +36 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/darwin_spec.rb +37 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/linux_spec.rb +47 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/polling_spec.rb +68 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/adapters/windows_spec.rb +30 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/directory_record_spec.rb +1250 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/listener_spec.rb +258 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen/turnstile_spec.rb +56 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/listen_spec.rb +67 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/spec_helper.rb +25 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/adapter_helper.rb +666 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/directory_record_helper.rb +57 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/fixtures_helper.rb +29 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/listeners_helper.rb +179 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.22/vendor/listen/spec/support/platform_helper.rb +15 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/History.txt +278 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/Manifest.txt +13 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/README.txt +64 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/Rakefile +12 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/composite_sexp_processor.rb +49 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/pt_testcase.rb +3125 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/sexp.rb +338 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/sexp_processor.rb +695 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/lib/unique.rb +15 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/test/test_composite_sexp_processor.rb +69 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/test/test_environment.rb +94 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/test/test_sexp.rb +356 -0
- data/bundle/ruby/2.3.0/gems/sexp_processor-4.7.0/test/test_sexp_processor.rb +373 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/CHANGES +426 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/Gemfile +69 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/LICENSE +21 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/README.jp.md +1205 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/README.md +1205 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/Rakefile +100 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/context.rb +11 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/profile-parser.rb +10 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/profile-render.rb +12 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/run-benchmarks.rb +119 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/run-diffbench.rb +21 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/view.erb +23 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/view.haml +18 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/benchmarks/view.slim +17 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/bin/slimrb +6 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/include.md +20 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/jp/include.md +20 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/jp/logic_less.md +137 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/jp/smart.md +102 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/jp/translator.md +28 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/logic_less.md +137 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/smart.md +103 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/doc/translator.md +28 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim.rb +14 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/code_attributes.rb +67 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/command.rb +128 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/controls.rb +60 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/do_inserter.rb +33 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/embedded.rb +273 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/end_inserter.rb +62 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/engine.rb +41 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/erb_converter.rb +14 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/filter.rb +30 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/grammar.rb +20 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/include.rb +57 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/interpolation.rb +35 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/logic_less.rb +5 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/logic_less/context.rb +127 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/logic_less/filter.rb +80 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/parser.rb +527 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/smart.rb +8 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/smart/escaper.rb +42 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/smart/filter.rb +96 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/smart/parser.rb +36 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/splat/builder.rb +101 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/splat/filter.rb +91 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/template.rb +19 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/translator.rb +118 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/lib/slim/version.rb +5 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/slim.gemspec +24 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/helper.rb +211 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_blocks.rb +183 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_escaping.rb +150 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_evaluation.rb +180 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_output.rb +168 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_code_structure.rb +168 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_commands.rb +223 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_embedded_engines.rb +242 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_encoding.rb +28 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_erb_converter.rb +67 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_html_attributes.rb +268 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_html_escaping.rb +65 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_html_structure.rb +537 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_parser_errors.rb +148 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_pretty.rb +166 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_ruby_errors.rb +207 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_slim_template.rb +77 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_tabs.rb +169 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_text_interpolation.rb +79 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_thread_options.rb +18 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/core/test_unicode.rb +16 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/files/recursive.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/files/slimfile.slim +3 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/files/subdir/test.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/files/textfile +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/include/test_include.rb +24 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/literate/TESTS.md +1290 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/literate/helper.rb +15 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/literate/run.rb +92 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/logic_less/test_logic_less.rb +295 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/Rakefile +7 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/controllers/application_controller.rb +2 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/controllers/entries_controller.rb +5 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/controllers/slim_controller.rb +40 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/helpers/application_helper.rb +5 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/models/entry.rb +16 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/entries/edit.html.slim +3 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/layouts/application.html.slim +10 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/_partial.html.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/content_for.html.slim +7 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/erb.html.erb +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/form_for.html.slim +2 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/helper.html.slim +4 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/integers.html.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/no_layout.html.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/normal.html.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/partial.html.slim +2 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/splat.html.slim +2 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/thread_options.html.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/variables.html.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/app/views/slim/xml.slim +1 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config.ru +4 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/application.rb +44 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/boot.rb +10 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/environment.rb +5 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/environments/test.rb +34 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/backtrace_silencers.rb +7 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/inflections.rb +10 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/mime_types.rb +5 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/secret_token.rb +7 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/initializers/session_store.rb +8 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/locales/en.yml +5 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/config/routes.rb +60 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/script/rails +6 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/test/helper.rb +31 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/rails/test/test_slim.rb +90 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/smart/test_smart_text.rb +296 -0
- data/bundle/ruby/2.3.0/gems/slim-3.0.6/test/translator/test_translator.rb +76 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/CHANGES +235 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/EXPRESSIONS.md +261 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/Gemfile +3 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/LICENSE +20 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/README.md +267 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/Rakefile +25 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple.rb +64 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/engine.rb +67 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/erb/engine.rb +15 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/erb/parser.rb +40 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/erb/template.rb +11 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/erb/trimming.rb +23 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/exceptions.rb +13 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filter.rb +9 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/code_merger.rb +30 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/control_flow.rb +42 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/dynamic_inliner.rb +71 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/encoding.rb +24 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/eraser.rb +22 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/escapable.rb +40 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/multi_flattener.rb +25 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/remove_bom.rb +13 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/static_merger.rb +37 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/filters/validator.rb +15 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generator.rb +88 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/array.rb +21 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/array_buffer.rb +28 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/erb.rb +32 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/rails_output_buffer.rb +35 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/generators/string_buffer.rb +25 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/grammar.rb +57 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/attribute_merger.rb +47 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/attribute_remover.rb +35 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/attribute_sorter.rb +21 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/dispatcher.rb +31 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/fast.rb +130 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/filter.rb +21 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/pretty.rb +103 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/html/safe.rb +23 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/map.rb +105 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/dispatcher.rb +158 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/engine_dsl.rb +145 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/grammar_dsl.rb +170 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/options.rb +87 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/mixins/template.rb +28 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/parser.rb +8 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/templates.rb +11 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/templates/rails.rb +26 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/templates/tilt.rb +46 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/utils.rb +90 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/lib/temple/version.rb +3 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/temple.gemspec +29 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_code_merger.rb +38 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_control_flow.rb +90 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_dynamic_inliner.rb +95 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_eraser.rb +55 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_escapable.rb +49 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_multi_flattener.rb +33 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/filters/test_static_merger.rb +41 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/helper.rb +30 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_attribute_merger.rb +76 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_attribute_remover.rb +43 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_attribute_sorter.rb +48 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_fast.rb +97 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/html/test_pretty.rb +55 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/mixins/test_dispatcher.rb +70 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/mixins/test_grammar_dsl.rb +86 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_engine.rb +189 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_erb.rb +61 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_filter.rb +29 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_generator.rb +158 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_grammar.rb +47 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_map.rb +39 -0
- data/bundle/ruby/2.3.0/gems/temple-0.7.6/test/test_utils.rb +39 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/Gemfile +4 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/History.rdoc +48 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/Manifest +27 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/README.rdoc +240 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/Rakefile +9 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/Todo.rdoc +14 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/examples/examples.rb +83 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table.rb +26 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/cell.rb +92 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/import.rb +3 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/row.rb +48 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/separator.rb +14 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/style.rb +62 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/table.rb +226 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/table_helper.rb +9 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/lib/terminal-table/version.rb +5 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.5.2/terminal-table.gemspec +24 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/CHANGELOG.md +84 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/COPYING +18 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/Gemfile +64 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/HACKING +16 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/README.md +226 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/Rakefile +105 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/bin/tilt +122 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/docs/TEMPLATES.md +524 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/docs/common.css +14 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt.rb +159 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/asciidoc.rb +27 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/babel.rb +15 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/bluecloth.rb +24 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/builder.rb +33 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/coffee.rb +58 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/creole.rb +25 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/csv.rb +65 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/erb.rb +57 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/erubis.rb +43 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/etanni.rb +27 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/haml.rb +58 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/kramdown.rb +25 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/less.rb +30 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/liquid.rb +38 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/mapping.rb +265 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/markaby.rb +45 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/maruku.rb +22 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/nokogiri.rb +36 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/plain.rb +16 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/prawn.rb +43 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/radius.rb +48 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/rdiscount.rb +39 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/rdoc.rb +40 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/redcarpet.rb +83 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/redcloth.rb +23 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/sass.rb +41 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/string.rb +21 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/template.rb +295 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/wikicloth.rb +22 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/lib/tilt/yajl.rb +87 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/man/index.txt +2 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/man/tilt.1.ronn +59 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/locals.mab +1 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/markaby.mab +1 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/markaby_other_static.mab +1 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/render_twice.mab +1 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/scope.mab +1 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/markaby/yielding.mab +2 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/test_helper.rb +64 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_asciidoctor_test.rb +50 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_babeltemplate.rb +33 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_blueclothtemplate_test.rb +33 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_buildertemplate_test.rb +59 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_cache_test.rb +43 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_coffeescripttemplate_test.rb +141 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_compilesite_test.rb +51 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_creoletemplate_test.rb +24 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_csv_test.rb +77 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_erbtemplate_test.rb +239 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_erubistemplate_test.rb +151 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_etannitemplate_test.rb +174 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_hamltemplate_test.rb +166 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_kramdown_test.rb +20 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_lesstemplate_test.less +1 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_lesstemplate_test.rb +42 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_liquidtemplate_test.rb +78 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_mapping_test.rb +229 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_markaby_test.rb +88 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_markdown_test.rb +177 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_marukutemplate_test.rb +36 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_metadata_test.rb +42 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_nokogiritemplate_test.rb +87 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_prawntemplate.prawn +1 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_prawntemplate_test.rb +75 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_radiustemplate_test.rb +75 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_rdiscounttemplate_test.rb +43 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_rdoctemplate_test.rb +29 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_redcarpettemplate_test.rb +54 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_redclothtemplate_test.rb +36 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_sasstemplate_test.rb +41 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_stringtemplate_test.rb +171 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_template_test.rb +308 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_test.rb +60 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_wikiclothtemplate_test.rb +32 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/test/tilt_yajltemplate_test.rb +101 -0
- data/bundle/ruby/2.3.0/gems/tilt-2.0.2/tilt.gemspec +114 -0
- data/lib/brakeman.rb +9 -1
- data/lib/brakeman/call_index.rb +1 -1
- data/lib/brakeman/checks/check_content_tag.rb +1 -1
- data/lib/brakeman/checks/check_cross_site_scripting.rb +1 -1
- data/lib/brakeman/checks/check_execute.rb +4 -0
- data/lib/brakeman/checks/check_forgery_setting.rb +3 -2
- data/lib/brakeman/checks/check_link_to.rb +1 -1
- data/lib/brakeman/checks/check_link_to_href.rb +2 -2
- data/lib/brakeman/checks/check_mass_assignment.rb +1 -1
- data/lib/brakeman/checks/check_redirect.rb +6 -0
- data/lib/brakeman/checks/check_secrets.rb +40 -0
- data/lib/brakeman/checks/check_sql.rb +1 -1
- data/lib/brakeman/processor.rb +6 -6
- data/lib/brakeman/processors/alias_processor.rb +29 -3
- data/lib/brakeman/processors/base_processor.rb +35 -4
- data/lib/brakeman/processors/controller_alias_processor.rb +4 -4
- data/lib/brakeman/processors/haml_template_processor.rb +1 -1
- data/lib/brakeman/processors/lib/basic_processor.rb +18 -0
- data/lib/brakeman/processors/lib/rails2_config_processor.rb +3 -2
- data/lib/brakeman/processors/lib/rails2_route_processor.rb +2 -1
- data/lib/brakeman/processors/lib/rails3_config_processor.rb +3 -2
- data/lib/brakeman/processors/lib/rails3_route_processor.rb +2 -1
- data/lib/brakeman/processors/template_alias_processor.rb +4 -4
- data/lib/brakeman/processors/template_processor.rb +1 -0
- data/lib/brakeman/report/report_codeclimate.rb +2 -1
- data/lib/brakeman/scanner.rb +1 -1
- data/lib/brakeman/tracker.rb +11 -1
- data/lib/brakeman/tracker/constants.rb +101 -0
- data/lib/brakeman/util.rb +4 -0
- data/lib/brakeman/version.rb +1 -1
- data/lib/brakeman/warning_codes.rb +1 -0
- data/lib/ruby_parser/bm_sexp.rb +6 -0
- metadata +1171 -162
@@ -0,0 +1,73 @@
|
|
1
|
+
###
|
2
|
+
### $Release: 2.7.0 $
|
3
|
+
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
|
+
###
|
5
|
+
|
6
|
+
require "#{File.dirname(__FILE__)}/test.rb"
|
7
|
+
|
8
|
+
|
9
|
+
class KwarkUsersGuideTest < Test::Unit::TestCase
|
10
|
+
|
11
|
+
DIR = File.expand_path(File.dirname(__FILE__) + '/data/users-guide')
|
12
|
+
CWD = Dir.pwd()
|
13
|
+
|
14
|
+
|
15
|
+
def setup
|
16
|
+
Dir.chdir DIR
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
def teardown
|
21
|
+
Dir.chdir CWD
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
def _test
|
26
|
+
@name = (caller()[0] =~ /`(.*?)'/) && $1
|
27
|
+
s = File.read(@filename)
|
28
|
+
s =~ /\A\$ (.*?)\n/
|
29
|
+
command = $1
|
30
|
+
expected = $'
|
31
|
+
if ruby19?
|
32
|
+
case @name
|
33
|
+
when 'test_main_program1_result'
|
34
|
+
expected.sub!('["eruby", "items", "x", "_buf"]', '[:_buf, :eruby, :items, :x]')
|
35
|
+
when 'test_main_program2_result'
|
36
|
+
expected.sub!('["_context", "x", "_buf"]', '[:_buf, :x, :_context]')
|
37
|
+
end
|
38
|
+
elsif rubinius?
|
39
|
+
command.sub!(/^ruby\b/, 'rbx')
|
40
|
+
case @name
|
41
|
+
when 'test_main_program1_result'
|
42
|
+
expected.sub!('["eruby", "items", "x", "_buf"]', '["_buf", "eruby", "items", "x"]')
|
43
|
+
when 'test_main_program2_result'
|
44
|
+
expected.sub!('["_context", "x", "_buf"]', '["_buf", "x", "_context"]')
|
45
|
+
end
|
46
|
+
end
|
47
|
+
result = `#{command}`
|
48
|
+
assert_text_equal(expected, result)
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
Dir.chdir DIR do
|
53
|
+
filenames = []
|
54
|
+
filenames += Dir.glob('*.result')
|
55
|
+
filenames += Dir.glob('*.source')
|
56
|
+
filenames.each do |filename|
|
57
|
+
name = filename.gsub(/[^\w]/, '_')
|
58
|
+
s = <<-END
|
59
|
+
def test_#{name}
|
60
|
+
# $stderr.puts "*** debug: test_#{name}"
|
61
|
+
@name = '#{name}'
|
62
|
+
@filename = '#{filename}'
|
63
|
+
_test()
|
64
|
+
end
|
65
|
+
END
|
66
|
+
eval s
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
|
71
|
+
self.post_definition()
|
72
|
+
|
73
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
##
|
2
|
+
## $Release: 2.7.0 $
|
3
|
+
## copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
|
+
##
|
5
|
+
|
6
|
+
|
7
|
+
unless defined?(TESTDIR)
|
8
|
+
TESTDIR = File.dirname(__FILE__)
|
9
|
+
LIBDIR = TESTDIR == '.' ? '../lib' : File.dirname(TESTDIR) + '/lib'
|
10
|
+
$: << TESTDIR
|
11
|
+
$: << LIBDIR
|
12
|
+
end
|
13
|
+
|
14
|
+
|
15
|
+
require 'test/unit'
|
16
|
+
#require 'test/unit/ui/console/testrunner'
|
17
|
+
require 'assert-text-equal'
|
18
|
+
require 'yaml'
|
19
|
+
require 'testutil'
|
20
|
+
require 'erubis'
|
21
|
+
|
22
|
+
|
23
|
+
Test::Unit::TestCase.class_eval do
|
24
|
+
if RUBY_VERSION >= "1.9"
|
25
|
+
## minitest doesn't have 'name()' method
|
26
|
+
def name
|
27
|
+
@name || @__name__
|
28
|
+
end
|
29
|
+
def ruby19
|
30
|
+
yield
|
31
|
+
end
|
32
|
+
else
|
33
|
+
def ruby19
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
|
39
|
+
if $0 == __FILE__
|
40
|
+
require "#{TESTDIR}/test-erubis.rb"
|
41
|
+
require "#{TESTDIR}/test-engines.rb"
|
42
|
+
require "#{TESTDIR}/test-enhancers.rb"
|
43
|
+
require "#{TESTDIR}/test-main.rb"
|
44
|
+
require "#{TESTDIR}/test-users-guide.rb"
|
45
|
+
end
|
@@ -0,0 +1,111 @@
|
|
1
|
+
###
|
2
|
+
### $Release: 2.7.0 $
|
3
|
+
### copyright(c) 2006-2011 kuwata-lab.com all rights reserved.
|
4
|
+
###
|
5
|
+
|
6
|
+
require 'yaml'
|
7
|
+
|
8
|
+
require 'test/unit/testcase'
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
def ruby18? # :nodoc:
|
13
|
+
RUBY_VERSION =~ /\A1.8/
|
14
|
+
end
|
15
|
+
|
16
|
+
def ruby19? # :nodoc:
|
17
|
+
RUBY_VERSION =~ /\A1.9/
|
18
|
+
end
|
19
|
+
|
20
|
+
def rubinius? # :nodoc:
|
21
|
+
defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx"
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
class Test::Unit::TestCase
|
27
|
+
|
28
|
+
|
29
|
+
def self.load_yaml_datafile(filename, options={}, &block) # :nodoc:
|
30
|
+
# read datafile
|
31
|
+
s = File.read(filename)
|
32
|
+
if filename =~ /\.rb$/
|
33
|
+
s =~ /^__END__$/ or raise "*** error: __END__ is not found in '#{filename}'."
|
34
|
+
s = $'
|
35
|
+
end
|
36
|
+
# untabify
|
37
|
+
s = _untabify(s) unless options[:tabify] == false
|
38
|
+
# load yaml document
|
39
|
+
testdata_list = []
|
40
|
+
YAML.load_documents(s) do |ydoc|
|
41
|
+
if ydoc.is_a?(Hash)
|
42
|
+
testdata_list << ydoc
|
43
|
+
elsif ydoc.is_a?(Array)
|
44
|
+
ydoc.each do |hash|
|
45
|
+
raise "testdata should be a mapping." unless hash.is_a?(Hash)
|
46
|
+
testdata_list << hash
|
47
|
+
end
|
48
|
+
else
|
49
|
+
raise "testdata should be a mapping."
|
50
|
+
end
|
51
|
+
end
|
52
|
+
# data check
|
53
|
+
identkey = options[:identkey] || 'name'
|
54
|
+
table = {}
|
55
|
+
testdata_list.each do |hash|
|
56
|
+
ident = hash[identkey]
|
57
|
+
ident or raise "*** key '#{identkey}' is required but not found."
|
58
|
+
table[ident] and raise "*** #{identkey} '#{ident}' is duplicated."
|
59
|
+
table[ident] = hash
|
60
|
+
yield(hash) if block
|
61
|
+
end
|
62
|
+
#
|
63
|
+
return testdata_list
|
64
|
+
end
|
65
|
+
|
66
|
+
|
67
|
+
def self.define_testmethods(testdata_list, options={}, &block)
|
68
|
+
identkey = options[:identkey] || 'name'
|
69
|
+
testmethod = options[:testmethod] || '_test'
|
70
|
+
testdata_list.each do |hash|
|
71
|
+
yield(hash) if block
|
72
|
+
ident = hash[identkey]
|
73
|
+
s = "def test_#{ident}\n"
|
74
|
+
hash.each do |key, val|
|
75
|
+
s << " @#{key} = #{val.inspect}\n"
|
76
|
+
end
|
77
|
+
s << " #{testmethod}\n"
|
78
|
+
s << "end\n"
|
79
|
+
$stderr.puts "*** load_yaml_testdata(): eval_str=<<'END'\n#{s}END" if $DEBUG
|
80
|
+
self.module_eval s
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
|
85
|
+
def self.post_definition
|
86
|
+
if ENV['TEST']
|
87
|
+
target = "test_#{ENV['TEST']}"
|
88
|
+
self.instance_methods.each do |method_name|
|
89
|
+
m = method_name.to_s
|
90
|
+
private m if m =~ /\Atest_/ && m != target
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
|
96
|
+
def self._untabify(str, width=8)
|
97
|
+
return str if str.nil?
|
98
|
+
list = str.split(/\t/, -1) # if 2nd arg is negative then split() doesn't remove tailing empty strings
|
99
|
+
last = list.pop
|
100
|
+
sb = ''
|
101
|
+
list.each do |s|
|
102
|
+
column = (n = s.rindex(?\n)) ? s.length - n - 1 : s.length
|
103
|
+
n = width - (column % width)
|
104
|
+
sb << s << (' ' * n)
|
105
|
+
end
|
106
|
+
sb << last if last
|
107
|
+
return sb
|
108
|
+
end
|
109
|
+
|
110
|
+
|
111
|
+
end
|
@@ -0,0 +1,1363 @@
|
|
1
|
+
# Haml Changelog
|
2
|
+
|
3
|
+
## 4.0.7
|
4
|
+
|
5
|
+
Released on August 10, 2015
|
6
|
+
([diff](https://github.com/haml/haml/compare/4.0.6...4.0.7)).
|
7
|
+
|
8
|
+
* Significantly improve performance of regexp used to fix whitespace handling in textareas (thanks [Stan Hu](https://github.com/stanhu)).
|
9
|
+
|
10
|
+
## 4.0.6
|
11
|
+
|
12
|
+
Released on Dec 1, 2014 ([diff](https://github.com/haml/haml/compare/4.0.5...4.0.6)).
|
13
|
+
|
14
|
+
|
15
|
+
* Fix warning on Ruby 1.8.7 "regexp has invalid interval" (thanks [Elia Schito](https://github.com/elia)).
|
16
|
+
|
17
|
+
## 4.0.5
|
18
|
+
|
19
|
+
Released on Jan 7, 2014 ([diff](https://github.com/haml/haml/compare/4.0.4...4.0.5)).
|
20
|
+
|
21
|
+
* Fix haml_concat appending unescaped HTML after a call to haml_tag.
|
22
|
+
* Fix for bug whereby when HAML :ugly option is "true",
|
23
|
+
ActionView::Helpers::CaptureHelper::capture returns the whole view buffer
|
24
|
+
when passed a block that returns nothing (thanks [Mircea
|
25
|
+
Moise](https://github.com/mmircea16)).
|
26
|
+
|
27
|
+
## 4.0.4
|
28
|
+
|
29
|
+
Released on November 5, 2013 ([diff](https://github.com/haml/haml/compare/4.0.3...4.0.4)).
|
30
|
+
|
31
|
+
* Check for Rails::Railtie rather than Rails (thanks [Konstantin Shabanov](https://github.com/etehtsea)).
|
32
|
+
* Parser fix to allow literal '#' with suppress_eval (Matt Wildig).
|
33
|
+
* Helpers#escape_once works on frozen strings (as does
|
34
|
+
ERB::Util.html_escape_once for which it acts as a replacement in
|
35
|
+
Rails (thanks [Patrik Metzmacher](https://github.com/patrik)).
|
36
|
+
* Minor test fix (thanks [Mircea Moise](https://github.com/mmircea16)).
|
37
|
+
|
38
|
+
## 4.0.3
|
39
|
+
|
40
|
+
Released May 21, 2013 ([diff](https://github.com/haml/haml/compare/4.0.2...4.0.3)).
|
41
|
+
|
42
|
+
* Compatibility with newer versions of Rails's Erubis handler.
|
43
|
+
* Fix Erubis handler for compatibility with Tilt 1.4.x, too.
|
44
|
+
* Small performance optimization for html_escape.
|
45
|
+
(thanks [Lachlan Sylvester](https://github.com/lsylvester))
|
46
|
+
* Documentation fixes.
|
47
|
+
* Documented some helper methods that were left out of the reference.
|
48
|
+
(thanks [Shane Riley](https://github.com/shaneriley))
|
49
|
+
|
50
|
+
## 4.0.2
|
51
|
+
|
52
|
+
Released April 5, 2013 ([diff](https://github.com/haml/haml/compare/4.0.1...4.0.2)).
|
53
|
+
|
54
|
+
* Explicitly require Erubis to work around bug in older versions of Tilt.
|
55
|
+
* Fix :erb filter printing duplicate content in Rails views.
|
56
|
+
(thanks [Jori Hardman](https://github.com/jorihardman))
|
57
|
+
* Replace range with slice to reduce objects created by `capture_haml`.
|
58
|
+
(thanks [Tieg Zaharia](https://github.com/tiegz))
|
59
|
+
* Correct/improve some documentation.
|
60
|
+
|
61
|
+
## 4.0.1
|
62
|
+
|
63
|
+
Released March 21, 2013 ([diff](https://github.com/haml/haml/compare/4.0.0...4.0.1)).
|
64
|
+
|
65
|
+
* Remove Rails 3.2.3+ textarea hack in favor of a more general solution.
|
66
|
+
* Fix some performance regressions.
|
67
|
+
* Fix support for Rails 4 `text_area` helper method.
|
68
|
+
* Fix data attribute flattening with singleton objects.
|
69
|
+
(thanks [Alisdair McDiarmid](https://github.com/alisdair))
|
70
|
+
* Fix support for sass-rails 4.0 beta.
|
71
|
+
(thanks [Ryunosuke SATO](https://github.com/tricknotes))
|
72
|
+
* Load "haml/template" in Railtie in order to prevent user options set in a
|
73
|
+
Rails initializer from being overwritten
|
74
|
+
* Don't depend on Rails in haml/template to allow using Haml with ActionView
|
75
|
+
but without Rails itself. (thanks [Hunter Haydel](https://github.com/wedgex))
|
76
|
+
|
77
|
+
## 4.0.0
|
78
|
+
|
79
|
+
* The Haml exectutable now accepts an `--autoclose` option. You can now
|
80
|
+
specify a list of tags that should be autoclosed
|
81
|
+
|
82
|
+
* The `:ruby` filter no longer redirects $stdout to the Haml document, as this
|
83
|
+
is not thread safe. Instead it provides a `haml_io` local variable, which is
|
84
|
+
an IO object that writes to the document.
|
85
|
+
|
86
|
+
* HTML5 is now the default output format rather than XHTML. This was already
|
87
|
+
the default on Rails 3+, so many users will notice no difference.
|
88
|
+
|
89
|
+
* The :sass filter now wraps its output in a style tag, as do the new :less and
|
90
|
+
:scss filters. The :coffee filter wraps its output in a script tag.
|
91
|
+
|
92
|
+
* Haml now supports only Rails 3 and above, and Ruby 1.8.7 and above. If you
|
93
|
+
still need support for Rails 2 and Ruby 1.8.6, please use Haml 3.1.x which
|
94
|
+
will continue to be maintained for bug fixes.
|
95
|
+
|
96
|
+
* The :javascript and :css filters no longer add CDATA tags when the format is
|
97
|
+
html4 or html5. This can be overridden by setting the `cdata` option to
|
98
|
+
`true`. CDATA tags are always added when the format is xhtml.
|
99
|
+
|
100
|
+
* HTML2Haml has been extracted to a separate gem, creatively named "html2haml".
|
101
|
+
|
102
|
+
* The `:erb` filter now uses Rails's safe output buffer to provide XSS safety.
|
103
|
+
|
104
|
+
* Haml's internals have been refactored to move the parser, compiler and options
|
105
|
+
handling into independent classes, rather than including them all in the
|
106
|
+
Engine module. You can also specify your own custom Haml parser or compiler
|
107
|
+
class in Haml::Options in order to extend or modify Haml reasonably easily.
|
108
|
+
|
109
|
+
* Add an {file:REFERENCE.md#hyphenate_data_attrs-option `:hyphenate_data_attrs`
|
110
|
+
option} that converts underscores to hyphens in your HTML5 data keys. This is
|
111
|
+
a language change from 3.1 and is enabled by default.
|
112
|
+
(thanks to [Andrew Smith](https://github.com/fullsailor))
|
113
|
+
|
114
|
+
* All Hash attribute values are now treated as HTML5 data, regardless of key.
|
115
|
+
Previously only the "data" key was treated this way. Allowing arbitrary keys
|
116
|
+
means you can now easily use this feauture for Aria attributes, among other
|
117
|
+
uses.
|
118
|
+
(thanks to [Elvin Efendi](https://github.com/ElvinEfendi))
|
119
|
+
|
120
|
+
* Added `remove_whitespace` option to always remove all whitespace around Haml
|
121
|
+
tags. (thanks to [Tim van der Horst](https://github.com/vdh))
|
122
|
+
|
123
|
+
* Haml now flattens deeply nested data attribute hashes. For example:
|
124
|
+
|
125
|
+
`.foo{:data => {:a => "b", :c => {:d => "e", :f => "g"}}}`
|
126
|
+
|
127
|
+
would render to:
|
128
|
+
|
129
|
+
`<div class='foo' data-a='b' data-c-d='e' data-c-f='g'></div>`
|
130
|
+
|
131
|
+
(thanks to [Péter Pál Koszta](https://github.com/koszta))
|
132
|
+
|
133
|
+
* Filters that rely on third-party template engines are now implemented using
|
134
|
+
[Tilt](http://github.com/rtomayko/tilt). Several new filters have been added, namely
|
135
|
+
SCSS (:scss), LessCSS, (:less), and Coffeescript (:coffee/:coffeescript).
|
136
|
+
|
137
|
+
Though the list of "official" filters is kept intentionally small, Haml comes
|
138
|
+
with a helper method that makes adding support for other Tilt-based template
|
139
|
+
engines trivial.
|
140
|
+
|
141
|
+
As of 4.0, Haml will also ship with a "haml-contrib" gem that includes useful
|
142
|
+
but less-frequently used filters and helpers. This includes several additional
|
143
|
+
filters such as Nokogiri, Yajl, Markaby, and others.
|
144
|
+
|
145
|
+
* Generate object references based on `#to_key` if it exists in preference to
|
146
|
+
`#id`.
|
147
|
+
|
148
|
+
* Performance improvements.
|
149
|
+
(thanks to [Chris Heald](https://github.com/cheald))
|
150
|
+
|
151
|
+
* Helper `list_of` takes an extra argument that is rendered into list item
|
152
|
+
attributes.
|
153
|
+
(thanks [Iain Barnett](http://iainbarnett.me.uk/))
|
154
|
+
|
155
|
+
* Fix parser to allow lines ending with `some_method?` to be a Ruby multinline.
|
156
|
+
(thanks to [Brad Ediger](https://github.com/bradediger))
|
157
|
+
|
158
|
+
* Always use :xhtml format when the mime_type of the rendered template is
|
159
|
+
'text/xml'.
|
160
|
+
(thanks to [Stephen Bannasch](https://github.com/stepheneb))
|
161
|
+
|
162
|
+
* html2haml now includes an `--html-attributes` option.
|
163
|
+
(thanks [Stefan Natchev](https://github.com/snatchev))
|
164
|
+
|
165
|
+
* Fix for inner whitespace removal in loops.
|
166
|
+
(thanks [Richard Michael](https://github.com/richardkmichael))
|
167
|
+
|
168
|
+
* Use numeric character references rather than HTML entities when escaping
|
169
|
+
double quotes and apostrophes in attributes. This works around some bugs in
|
170
|
+
Internet Explorer earlier than version 9.
|
171
|
+
(thanks [Doug Mayer](https://github.com/doxavore))
|
172
|
+
|
173
|
+
* Fix multiline silent comments: Haml previously did not allow free indentation
|
174
|
+
inside multline silent comments.
|
175
|
+
|
176
|
+
* Fix ordering bug with partial layouts on Rails.
|
177
|
+
(thanks [Sam Pohlenz](https://github.com/spohlenz))
|
178
|
+
|
179
|
+
* Add command-line option to suppress script evaluation.
|
180
|
+
|
181
|
+
* It's now possible to use Rails's asset helpers inside the Sass and SCSS
|
182
|
+
filters. Note that to do so, you must make sure sass-rails is loaded in
|
183
|
+
production, usually by moving it out of the assets gem group.
|
184
|
+
|
185
|
+
* The Haml project now uses [semantic versioning](http://semver.org/).
|
186
|
+
|
187
|
+
## 3.2.0
|
188
|
+
|
189
|
+
The Haml 3.2 series was released only as far as 3.2.0.rc.4, but then was
|
190
|
+
renamed to Haml 4.0 when the project adopted semantic versioning.
|
191
|
+
|
192
|
+
## 3.1.8
|
193
|
+
|
194
|
+
* Fix for line numbers reported from exceptions in nested blocks
|
195
|
+
(thanks to Grant Hutchins & Sabrina Staedt).
|
196
|
+
|
197
|
+
## 3.1.7
|
198
|
+
|
199
|
+
* Fix for compatibility with Sass 3.2.x.
|
200
|
+
(thanks [Michael Westbom](https://github.com/totallymike)).
|
201
|
+
|
202
|
+
## 3.1.6
|
203
|
+
|
204
|
+
* In indented mode, don't reindent buffers that contain preserved tags, and
|
205
|
+
provide a better workaround for Rails 3.2.3's textarea helpers.
|
206
|
+
|
207
|
+
## 3.1.5
|
208
|
+
|
209
|
+
* Respect Rails' `html_safe` flag when escaping attribute values
|
210
|
+
(thanks to [Gerad Suyderhoud](https://github.com/gerad)).
|
211
|
+
|
212
|
+
* Fix for Rails 3.2.3 textarea helpers
|
213
|
+
(thanks to [James Coleman](https://github.com/jcoleman) and others).
|
214
|
+
|
215
|
+
## 3.1.4
|
216
|
+
|
217
|
+
* Fix the use of `FormBuilder#block` with a label in Haml.
|
218
|
+
* Fix indentation after a self-closing tag with dynamic attributes.
|
219
|
+
|
220
|
+
## 3.1.3
|
221
|
+
|
222
|
+
* Stop partial layouts from being displayed twice.
|
223
|
+
|
224
|
+
## 3.1.2
|
225
|
+
|
226
|
+
* If the ActionView `#capture` helper is used in a Haml template but without any Haml being run in the block,
|
227
|
+
return the value of the block rather than the captured buffer.
|
228
|
+
|
229
|
+
* Don't throw errors when text is nested within comments.
|
230
|
+
|
231
|
+
* Fix html2haml.
|
232
|
+
|
233
|
+
* Fix an issue where destructive modification was sometimes performed on Rails SafeBuffers.
|
234
|
+
|
235
|
+
* Use character code entities for attribute value replacements instead of named/keyword entities.
|
236
|
+
|
237
|
+
## 3.1.1
|
238
|
+
|
239
|
+
* Update the vendored Sass to version 3.1.0.
|
240
|
+
|
241
|
+
## 3.1.0
|
242
|
+
|
243
|
+
* Don't add a `type` attribute to `<script>` and `<style>` tags generated by filters
|
244
|
+
when `:format` is set to `:html5`.
|
245
|
+
|
246
|
+
* Add an {file:HAML_REFERENCE.md#escape_attrs-option `:escape_attrs` option}
|
247
|
+
that allows attributes to either remain unescaped
|
248
|
+
(for things like embedding PHP directives in Haml)
|
249
|
+
or to be always escaped rather than `#escape_once`d.
|
250
|
+
This can also be used from the command line via `--no-escape-attrs`.
|
251
|
+
|
252
|
+
* Allow custom filters to be loaded from the command line.
|
253
|
+
|
254
|
+
### Backwards Incompatibilities -- Must Read!
|
255
|
+
|
256
|
+
* Get rid of the `--rails` flag for the `haml` executable.
|
257
|
+
This flag hasn't been necessary since Rails 2.0.
|
258
|
+
Existing Rails 2.0 installations will continue to work.
|
259
|
+
|
260
|
+
* Drop support for Hpricot 0.7. 0.8 has been out for nearly two years.
|
261
|
+
|
262
|
+
## 3.0.25
|
263
|
+
|
264
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.25).
|
265
|
+
|
266
|
+
* HTML-to-Haml conversion now works within Ruby even if Hpricot is loaded before `haml/html`.
|
267
|
+
|
268
|
+
## 3.0.24
|
269
|
+
|
270
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.24).
|
271
|
+
|
272
|
+
* `html2haml` now properly generates Haml for silent script expressions
|
273
|
+
nested within blocks.
|
274
|
+
|
275
|
+
* IronRuby compatibility. This is sort of a hack: IronRuby reports its version as 1.9,
|
276
|
+
but it doesn't support the encoding APIs, so we treat it as 1.8 instead.
|
277
|
+
|
278
|
+
## 3.0.23
|
279
|
+
|
280
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.23).
|
281
|
+
|
282
|
+
* Fix the error message for unloadable modules when running the executables under Ruby 1.9.2.
|
283
|
+
|
284
|
+
* Fix an error when combining old-style and new-style attributes.
|
285
|
+
|
286
|
+
## 3.0.22
|
287
|
+
|
288
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.22).
|
289
|
+
|
290
|
+
* Allow an empty line after `case` but before `when`.
|
291
|
+
|
292
|
+
* Remove `vendor/sass`, which snuck into the gem by mistake
|
293
|
+
and was causing trouble for Heroku users (thanks to [Jacques Crocker](http://railsjedi.com/)).
|
294
|
+
|
295
|
+
* Support the Rails 3.1 template handler API.
|
296
|
+
|
297
|
+
## 3.0.21
|
298
|
+
|
299
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.21).
|
300
|
+
|
301
|
+
* Fix the permissions errors for good.
|
302
|
+
|
303
|
+
## 3.0.20
|
304
|
+
|
305
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.20).
|
306
|
+
|
307
|
+
* Fix some permissions errors.
|
308
|
+
|
309
|
+
## 3.0.19
|
310
|
+
|
311
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.19).
|
312
|
+
|
313
|
+
* Fix the `:encoding` option under Ruby 1.9.2.
|
314
|
+
|
315
|
+
* Fix interpolated if statement when HTML escaping is enabled.
|
316
|
+
|
317
|
+
* Allow the `--unix-newlines` flag to work on Unix, where it's a no-op.
|
318
|
+
|
319
|
+
## 3.0.18
|
320
|
+
|
321
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.18).
|
322
|
+
|
323
|
+
* Don't require `rake` in the gemspec, for bundler compatibility under
|
324
|
+
JRuby. Thanks to [Gordon McCreight](http://www.gmccreight.com/blog).
|
325
|
+
|
326
|
+
* Get rid of the annoying RDoc errors on install.
|
327
|
+
|
328
|
+
* Disambiguate references to the `Rails` module when `haml-rails` is installed.
|
329
|
+
|
330
|
+
* Fix a bug in `haml_tag` that would allow duplicate attributes to be added
|
331
|
+
and make `data-` attributes not work.
|
332
|
+
|
333
|
+
* Compatibility with Rails 3 final.
|
334
|
+
|
335
|
+
## 3.0.17
|
336
|
+
|
337
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.17).
|
338
|
+
|
339
|
+
* Understand that mingw counts as Windows.
|
340
|
+
|
341
|
+
## 3.0.16
|
342
|
+
|
343
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.16).
|
344
|
+
|
345
|
+
* Fix an html2haml ERB-parsing bug where ERB blocks were occasionally
|
346
|
+
left without indentation in Haml.
|
347
|
+
|
348
|
+
* Fix parsing of `if` and `case` statements whose values were assigned to variables.
|
349
|
+
This is still bad style, though.
|
350
|
+
|
351
|
+
* Fix `form_for` and `form_tag` when they're passed a block that
|
352
|
+
returns a string in a helper.
|
353
|
+
|
354
|
+
## 3.0.15
|
355
|
+
|
356
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.15).
|
357
|
+
|
358
|
+
There were no changes made to Haml between versions 3.0.14 and 3.0.15.
|
359
|
+
|
360
|
+
## 3.0.14
|
361
|
+
|
362
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.14).
|
363
|
+
|
364
|
+
* Allow CSS-style classes and ids to contain colons.
|
365
|
+
|
366
|
+
* Fix an obscure bug with if statements.
|
367
|
+
|
368
|
+
### Rails 3 Support
|
369
|
+
|
370
|
+
* Don't use the `#returning` method, which Rails 3 no longer provides.
|
371
|
+
|
372
|
+
## 3.0.13
|
373
|
+
|
374
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.13).
|
375
|
+
|
376
|
+
## Rails 3 Support
|
377
|
+
|
378
|
+
Support for Rails 3 versions prior to beta 4 has been removed.
|
379
|
+
Upgrade to Rails 3.0.0.beta4 if you haven't already.
|
380
|
+
|
381
|
+
### Minor Improvements
|
382
|
+
|
383
|
+
* Properly process frozen strings with encoding declarations.
|
384
|
+
|
385
|
+
## 3.0.12
|
386
|
+
|
387
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.12).
|
388
|
+
|
389
|
+
## Rails 3 Support
|
390
|
+
|
391
|
+
Apparently the last version broke in new and exciting ways under Rails 3,
|
392
|
+
due to the inconsistent load order caused by certain combinations of gems.
|
393
|
+
3.0.12 hacks around that inconsistency, and *should* be fully Rails 3-compatible.
|
394
|
+
|
395
|
+
### Deprecated: Rails 3 Beta 3
|
396
|
+
|
397
|
+
Haml's support for Rails 3.0.0.beta.3 has been deprecated.
|
398
|
+
Haml 3.0.13 will only support 3.0.0.beta.4.
|
399
|
+
|
400
|
+
## 3.0.11
|
401
|
+
|
402
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.11).
|
403
|
+
|
404
|
+
## 3.0.10
|
405
|
+
|
406
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.10).
|
407
|
+
|
408
|
+
### Appengine-JRuby Support
|
409
|
+
|
410
|
+
The way we determine the location of the Haml installation
|
411
|
+
no longer breaks the version of JRuby
|
412
|
+
used by [`appengine-jruby`](http://code.google.com/p/appengine-jruby/).
|
413
|
+
|
414
|
+
### Bug Fixes
|
415
|
+
|
416
|
+
* Single-line comments are now handled properly by `html2haml`.
|
417
|
+
|
418
|
+
## 3.0.9
|
419
|
+
|
420
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.9).
|
421
|
+
|
422
|
+
There were no changes made to Haml between versions 3.0.8 and 3.0.9.
|
423
|
+
A bug in Gemcutter caused the gem to be uploaded improperly.
|
424
|
+
|
425
|
+
## 3.0.8
|
426
|
+
|
427
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.8).
|
428
|
+
|
429
|
+
* Fix a bug with Rails versions prior to Rails 3.
|
430
|
+
|
431
|
+
## 3.0.7
|
432
|
+
|
433
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.7).
|
434
|
+
|
435
|
+
### Encoding Support
|
436
|
+
|
437
|
+
Haml 3.0.7 adds support for Ruby-style `-# coding:` comments
|
438
|
+
for declaring the encoding of a template.
|
439
|
+
For details see {file:HAML_REFERENCE.md#encodings the reference}.
|
440
|
+
|
441
|
+
This also slightly changes the behavior of Haml when the
|
442
|
+
{file:HAML_REFERENCE.md#encoding-option `:encoding` option} is not set.
|
443
|
+
Rather than defaulting to `"utf-8"`,
|
444
|
+
it defaults to the encoding of the source document,
|
445
|
+
and only falls back to `"utf-8"` if this encoding is `"us-ascii"`.
|
446
|
+
|
447
|
+
The `haml` executable also now takes an `-E` option for specifying encoding,
|
448
|
+
which works the same way as Ruby's `-E` option.
|
449
|
+
|
450
|
+
### Other Changes
|
451
|
+
|
452
|
+
* Default to the {file:HAML_REFERENCE.md#format-option `:html5` format}
|
453
|
+
when running under Rails 3,
|
454
|
+
since it defaults to HTML5 as well.
|
455
|
+
|
456
|
+
### Bug Fixes
|
457
|
+
|
458
|
+
* When generating Haml for something like `<span>foo</span>,`,
|
459
|
+
use `= succeed` rather than `- succeed` (which doesn't work).
|
460
|
+
|
461
|
+
## 3.0.6
|
462
|
+
|
463
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.6).
|
464
|
+
|
465
|
+
### Rails 2.3.7 Support
|
466
|
+
|
467
|
+
This release fully supports Rails 2.3.7.
|
468
|
+
|
469
|
+
### Rails 2.3.6 Support Removed
|
470
|
+
|
471
|
+
Rails 2.3.6 was released with various bugs related to XSS-protection
|
472
|
+
and interfacing with Haml.
|
473
|
+
Rails 2.3.7 was released shortly after with fixes for these bugs.
|
474
|
+
Thus, Haml no longer supports Rails 2.3.6,
|
475
|
+
and anyone using it should upgrade to 2.3.7.
|
476
|
+
|
477
|
+
Attempting to use Haml with Rails 2.3.6 will cause an error.
|
478
|
+
|
479
|
+
## 3.0.5
|
480
|
+
|
481
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.5).
|
482
|
+
|
483
|
+
### Rails 2.3.6 Support
|
484
|
+
|
485
|
+
This release hacks around various bugs in Rails 2.3.6,
|
486
|
+
bringing Haml up to full compatibility.
|
487
|
+
|
488
|
+
### Rails 3 Support
|
489
|
+
|
490
|
+
Make sure the `#capture` helper in Rails 3
|
491
|
+
doesn't print its value directly to the template.
|
492
|
+
|
493
|
+
## 3.0.4
|
494
|
+
|
495
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.4).
|
496
|
+
|
497
|
+
There were no changes made to Haml between versions 3.0.3 and 3.0.4.
|
498
|
+
|
499
|
+
## 3.0.3
|
500
|
+
|
501
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.3).
|
502
|
+
|
503
|
+
### Rails 3 Support
|
504
|
+
|
505
|
+
In order to make some Rails loading errors easier to debug,
|
506
|
+
Sass will now raise an error if `Rails.root` is `nil` when Sass is loading.
|
507
|
+
Previously, this would just cause the paths to be mis-set.
|
508
|
+
|
509
|
+
## 3.0.2
|
510
|
+
|
511
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.2).
|
512
|
+
|
513
|
+
There were no changes made to Haml between versions 3.0.1 and 3.0.2.
|
514
|
+
|
515
|
+
## 3.0.1
|
516
|
+
|
517
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.1).
|
518
|
+
|
519
|
+
### Installation in Rails
|
520
|
+
|
521
|
+
`haml --rails` is no longer necessary for installing Haml in Rails.
|
522
|
+
Now all you need to do is add `gem "haml"` to the Gemfile for Rails 3,
|
523
|
+
or add `config.gem "haml"` to `config/environment.rb` for previous versions.
|
524
|
+
|
525
|
+
`haml --rails` will still work,
|
526
|
+
but it has been deprecated and will print an error message.
|
527
|
+
It will not work in the next version of Haml.
|
528
|
+
|
529
|
+
### Rails Test Speed
|
530
|
+
|
531
|
+
The {file:HAML_REFERENCE.md#ugly-option `:ugly` option} is now on by default
|
532
|
+
in the testing environment in Rails to help tests run faster.
|
533
|
+
|
534
|
+
## 3.0.0
|
535
|
+
{#3-0-0}
|
536
|
+
|
537
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/3.0.0).
|
538
|
+
|
539
|
+
### Backwards Incompatibilities: Must Read!
|
540
|
+
|
541
|
+
* The `puts` helper has been removed.
|
542
|
+
Use {Haml::Helpers#haml\_concat} instead.
|
543
|
+
|
544
|
+
### More Useful Multiline
|
545
|
+
|
546
|
+
Ruby code can now be wrapped across multiple lines
|
547
|
+
as long as each line but the last ends in a comma.
|
548
|
+
For example:
|
549
|
+
|
550
|
+
= link_to_remote "Add to cart",
|
551
|
+
:url => { :action => "add", :id => product.id },
|
552
|
+
:update => { :success => "cart", :failure => "error" }
|
553
|
+
|
554
|
+
### `haml_tag` and `haml_concat` Improvements
|
555
|
+
|
556
|
+
#### `haml_tag` with CSS Selectors
|
557
|
+
|
558
|
+
The {Haml::Helpers#haml_tag haml\_tag} helper can now take a string
|
559
|
+
using the same class/id shorthand as in standard Haml code.
|
560
|
+
Manually-specified class and id attributes are merged,
|
561
|
+
again as in standard Haml code.
|
562
|
+
For example:
|
563
|
+
|
564
|
+
haml_tag('#foo') #=> <div id='foo' />
|
565
|
+
haml_tag('.bar') #=> <div class='bar' />
|
566
|
+
haml_tag('span#foo.bar') #=> <span class='bar' id='foo' />
|
567
|
+
haml_tag('span#foo.bar', :class => 'abc') #=> <span class='abc bar' id='foo' />
|
568
|
+
haml_tag('span#foo.bar', :id => 'abc') #=> <span class='bar' id='abc_foo' />
|
569
|
+
|
570
|
+
Cheers, [S. Burkhard](http://github.com/hasclass/).
|
571
|
+
|
572
|
+
#### `haml_tag` with Multiple Lines of Content
|
573
|
+
|
574
|
+
The {Haml::Helpers#haml_tag haml\_tag} helper also does a better job
|
575
|
+
of formatting tags with multiple lines of content.
|
576
|
+
If a tag has multiple levels of content,
|
577
|
+
that content is indented beneath the tag.
|
578
|
+
For example:
|
579
|
+
|
580
|
+
haml_tag(:p, "foo\nbar") #=>
|
581
|
+
# <p>
|
582
|
+
# foo
|
583
|
+
# bar
|
584
|
+
# </p>
|
585
|
+
|
586
|
+
#### `haml_tag` with Multiple Lines of Content
|
587
|
+
|
588
|
+
Similarly, the {Haml::Helpers#haml_concat haml\_concat} helper
|
589
|
+
will properly indent multiple lines of content.
|
590
|
+
For example:
|
591
|
+
|
592
|
+
haml_tag(:p) {haml_concat "foo\nbar"} #=>
|
593
|
+
# <p>
|
594
|
+
# foo
|
595
|
+
# bar
|
596
|
+
# </p>
|
597
|
+
|
598
|
+
#### `haml_tag` and `haml_concat` with `:ugly`
|
599
|
+
|
600
|
+
When the {file:HAML_REFERENCE.md#ugly-option `:ugly` option} is enabled,
|
601
|
+
{Haml::Helpers#haml_tag haml\_tag} and {Haml::Helpers#haml_concat haml\_concat}
|
602
|
+
won't do any indentation of their arguments.
|
603
|
+
|
604
|
+
### Basic Tag Improvements
|
605
|
+
|
606
|
+
* It's now possible to customize the name used for {file:HAML_REFERENCE.md#object_reference_ object reference}
|
607
|
+
for a given object by implementing the `haml_object_ref` method on that object.
|
608
|
+
This method should return a string that will be used in place of the class name of the object
|
609
|
+
in the generated class and id.
|
610
|
+
Thanks to [Tim Carey-Smith](http://twitter.com/halorgium).
|
611
|
+
|
612
|
+
* All attribute values may be non-String types.
|
613
|
+
Their `#to_s` method will be called to convert them to strings.
|
614
|
+
Previously, this only worked for attributes other than `class`.
|
615
|
+
|
616
|
+
### `:class` and `:id` Attributes Accept Ruby Arrays
|
617
|
+
|
618
|
+
In an attribute hash, the `:class` attribute now accepts an Array
|
619
|
+
whose elements will be converted to strings and joined with <nobr>`" "`</nobr>.
|
620
|
+
Likewise, the `:id` attribute now accepts an Array
|
621
|
+
whose elements will be converted to strings and joined with `"_"`.
|
622
|
+
The array will first be flattened and any elements that do not test as true
|
623
|
+
will be stripped out. For example:
|
624
|
+
|
625
|
+
.column{:class => [@item.type, @item == @sortcol && [:sort, @sortdir]] }
|
626
|
+
|
627
|
+
could render as any of:
|
628
|
+
|
629
|
+
class="column numeric sort ascending"
|
630
|
+
class="column numeric"
|
631
|
+
class="column sort descending"
|
632
|
+
class="column"
|
633
|
+
|
634
|
+
depending on whether `@item.type` is `"numeric"` or `nil`,
|
635
|
+
whether `@item == @sortcol`,
|
636
|
+
and whether `@sortdir` is `"ascending"` or `"descending"`.
|
637
|
+
|
638
|
+
A single value can still be specified.
|
639
|
+
If that value evaluates to false it is ignored;
|
640
|
+
otherwise it gets converted to a string.
|
641
|
+
For example:
|
642
|
+
|
643
|
+
.item{:class => @item.is_empty? && "empty"}
|
644
|
+
|
645
|
+
could render as either of:
|
646
|
+
|
647
|
+
class="item"
|
648
|
+
class="item empty"
|
649
|
+
|
650
|
+
Thanks to [Ronen Barzel](http://www.ronenbarzel.org/).
|
651
|
+
|
652
|
+
### HTML5 Custom Data Attributes
|
653
|
+
|
654
|
+
Creating an attribute named `:data` with a Hash value
|
655
|
+
will generate [HTML5 custom data attributes](http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#embedding-custom-non-visible-data).
|
656
|
+
For example:
|
657
|
+
|
658
|
+
%div{:data => {:author_id => 123, :post_id => 234}}
|
659
|
+
|
660
|
+
Will compile to:
|
661
|
+
|
662
|
+
<div data-author_id='123' data-post_id='234'></div>
|
663
|
+
|
664
|
+
Thanks to [John Reilly](http://twitter.com/johnreilly).
|
665
|
+
|
666
|
+
### More Powerful `:autoclose` Option
|
667
|
+
|
668
|
+
The {file:HAML_REFERENCE.md#attributes_option `:attributes`} option
|
669
|
+
can now take regular expressions that specify which tags to make self-closing.
|
670
|
+
|
671
|
+
### `--double-quote-attributes` Option
|
672
|
+
|
673
|
+
The Haml executable now has a `--double-quote-attributes` option (short form: `-q`)
|
674
|
+
that causes attributes to use a double-quote mark rather than single-quote.
|
675
|
+
Thanks to [Charles Roper](http://charlesroper.com/).
|
676
|
+
|
677
|
+
### `:css` Filter
|
678
|
+
|
679
|
+
Haml now supports a {file:HAML_REFERENCE.md#css-filter `:css` filter}
|
680
|
+
that surrounds the filtered text with `<style>` and CDATA tags.
|
681
|
+
|
682
|
+
### `haml-spec` Integration
|
683
|
+
|
684
|
+
We've added the cross-implementation tests from the [haml-spec](http://github.com/norman/haml-spec) project
|
685
|
+
to the standard Haml test suite, to be sure we remain compatible with the base functionality
|
686
|
+
of the many and varied [Haml implementations](http://en.wikipedia.org/wiki/Haml#Implementations).
|
687
|
+
|
688
|
+
### Ruby 1.9 Support
|
689
|
+
|
690
|
+
* Haml and `html2haml` now produce more descriptive errors
|
691
|
+
when given a template with invalid byte sequences for that template's encoding,
|
692
|
+
including the line number and the offending character.
|
693
|
+
|
694
|
+
* Haml and `html2haml` now accept Unicode documents with a
|
695
|
+
[byte-order-mark](http://en.wikipedia.org/wiki/Byte_order_mark).
|
696
|
+
|
697
|
+
### Rails Support
|
698
|
+
|
699
|
+
* When `form_for` is used with `=`, or `form_tag` is used with `=` and a block,
|
700
|
+
they will now raise errors explaining that they should be used with `-`.
|
701
|
+
This is similar to how {Haml::Helpers#haml\_concat} behaves,
|
702
|
+
and will hopefully clear up some difficult bugs for some users.
|
703
|
+
|
704
|
+
### Rip Support
|
705
|
+
|
706
|
+
Haml is now compatible with the [Rip](http://hellorip.com/) package management system.
|
707
|
+
Thanks to [Josh Peek](http://joshpeek.com/).
|
708
|
+
|
709
|
+
### `html2haml` Improvements
|
710
|
+
|
711
|
+
* Ruby blocks within ERB are now supported.
|
712
|
+
The Haml code is properly indented and the `end`s are removed.
|
713
|
+
This includes methods with blocks and all language constructs
|
714
|
+
such as `if`, `begin`, and `case`.
|
715
|
+
For example:
|
716
|
+
|
717
|
+
<% content_for :footer do %>
|
718
|
+
<p>Hi there!</p>
|
719
|
+
<% end %>
|
720
|
+
|
721
|
+
is now transformed into:
|
722
|
+
|
723
|
+
- content_for :footer do
|
724
|
+
%p Hi there!
|
725
|
+
|
726
|
+
Thanks to [Jack Chen](http://chendo.net) and [Dr. Nic Williams](http://drnicwilliams)
|
727
|
+
for inspiring this and creating the first draft of the code.
|
728
|
+
|
729
|
+
* Inline HTML text nodes are now transformed into inline Haml text.
|
730
|
+
For example, `<p>foo</p>` now becomes `%p foo`, whereas before it became:
|
731
|
+
|
732
|
+
%p
|
733
|
+
foo
|
734
|
+
|
735
|
+
The same is true for inline comments,
|
736
|
+
and inline ERB when running in ERB mode:
|
737
|
+
`<p><%= foo %></p>` will now become `%p= foo`.
|
738
|
+
|
739
|
+
* ERB included within text is now transformed into Ruby interpolation.
|
740
|
+
For example:
|
741
|
+
|
742
|
+
<p>
|
743
|
+
Foo <%= bar %> baz!
|
744
|
+
Flip <%= bang %>.
|
745
|
+
</p>
|
746
|
+
|
747
|
+
is now transformed into:
|
748
|
+
|
749
|
+
%p
|
750
|
+
Foo #{bar} baz!
|
751
|
+
Flip #{bang}.
|
752
|
+
|
753
|
+
* `<script>` tags are now transformed into `:javascript` filters,
|
754
|
+
and `<style>` tags into `:css` filters.
|
755
|
+
and indentation is preserved.
|
756
|
+
For example:
|
757
|
+
|
758
|
+
<script type="text/javascript">
|
759
|
+
function foo() {
|
760
|
+
return 12;
|
761
|
+
}
|
762
|
+
</script>
|
763
|
+
|
764
|
+
is now transformed into:
|
765
|
+
|
766
|
+
:javascript
|
767
|
+
function foo() {
|
768
|
+
return 12;
|
769
|
+
}
|
770
|
+
|
771
|
+
* `<pre>` and `<textarea>` tags are now transformed into the `:preserve` filter.
|
772
|
+
For example:
|
773
|
+
|
774
|
+
<pre>Foo
|
775
|
+
bar
|
776
|
+
baz</pre>
|
777
|
+
|
778
|
+
is now transformed into:
|
779
|
+
|
780
|
+
%pre
|
781
|
+
:preserve
|
782
|
+
Foo
|
783
|
+
bar
|
784
|
+
baz
|
785
|
+
|
786
|
+
* Self-closing tags (such as `<br />`) are now transformed into
|
787
|
+
self-closing Haml tags (like `%br/`).
|
788
|
+
|
789
|
+
* IE conditional comments are now properly parsed.
|
790
|
+
|
791
|
+
* Attributes are now output in a more-standard format,
|
792
|
+
without spaces within the curly braces
|
793
|
+
(e.g. `%p{:foo => "bar"}` as opposed to `%p{ :foo => "bar" }`).
|
794
|
+
|
795
|
+
* IDs and classes containing `#` and `.` are now output as string attributes
|
796
|
+
(e.g. `%p{:class => "foo.bar"}`).
|
797
|
+
|
798
|
+
* Attributes are now sorted, to maintain a deterministic order.
|
799
|
+
|
800
|
+
* `>` or {Haml::Helpers#succeed #succeed} are inserted where necessary
|
801
|
+
when inline formatting is used.
|
802
|
+
|
803
|
+
* Multi-line ERB statements are now properly indented,
|
804
|
+
and those without any content are removed.
|
805
|
+
|
806
|
+
### Minor Improvements
|
807
|
+
|
808
|
+
* {Haml::Helpers#capture_haml capture\_haml} is now faster when using `:ugly`.
|
809
|
+
Thanks to [Alf Mikula](http://alfmikula.blogspot.com/).
|
810
|
+
|
811
|
+
* Add an `RDFa` doctype shortcut.
|
812
|
+
|
813
|
+
## 2.2.24
|
814
|
+
|
815
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.24).
|
816
|
+
|
817
|
+
* Don't prevent ActiveModel form elements from having error formatting applied.
|
818
|
+
|
819
|
+
* Make sure `form_for` blocks are properly indented under Rails 3.0.0.beta.3.
|
820
|
+
|
821
|
+
* Don't activate a bug in the `dynamic_form` plugin under Rails 3.0.0.beta.3
|
822
|
+
that would cause its methods not to be loaded.
|
823
|
+
|
824
|
+
## 2.2.23
|
825
|
+
|
826
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.23).
|
827
|
+
|
828
|
+
* Don't crash when `rake gems` is run in Rails with Haml installed.
|
829
|
+
Thanks to [Florian Frank](http://github.com/flori).
|
830
|
+
|
831
|
+
* Don't remove `\n` in filters with interpolation.
|
832
|
+
|
833
|
+
* Silence those annoying `"regexp match /.../n against to UTF-8 string"` warnings.
|
834
|
+
|
835
|
+
## 2.2.22
|
836
|
+
|
837
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.22).
|
838
|
+
|
839
|
+
* Add a railtie so Haml and Sass will be automatically loaded in Rails 3.
|
840
|
+
Thanks to [Daniel Neighman](http://pancakestacks.wordpress.com/).
|
841
|
+
|
842
|
+
* Add a deprecation message for using `-` with methods like `form_for`
|
843
|
+
that return strings in Rails 3.
|
844
|
+
This is [the same deprecation that exists in Rails 3](http://github.com/rails/rails/commit/9de83050d3a4b260d4aeb5d09ec4eb64f913ba64).
|
845
|
+
|
846
|
+
* Make sure line numbers are reported correctly when filters are being used.
|
847
|
+
|
848
|
+
* Make loading the gemspec not crash on read-only filesystems like Heroku's.
|
849
|
+
|
850
|
+
* Don't crash when methods like `form_for` return `nil` in, for example, Rails 3 beta.
|
851
|
+
|
852
|
+
* Compatibility with Rails 3 beta's RJS facilities.
|
853
|
+
|
854
|
+
## 2.2.21
|
855
|
+
|
856
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.21).
|
857
|
+
|
858
|
+
* Fix a few bugs in the git-revision-reporting in Haml::Version.
|
859
|
+
In particular, it will still work if `git gc` has been called recently,
|
860
|
+
or if various files are missing.
|
861
|
+
|
862
|
+
* Always use `__FILE__` when reading files within the Haml repo in the `Rakefile`.
|
863
|
+
According to [this bug report](http://github.com/carlhuda/bundler/issues/issue/44),
|
864
|
+
this should make Haml work better with Bundler.
|
865
|
+
|
866
|
+
* Make the error message for `- end` a little more intuitive based on user feedback.
|
867
|
+
|
868
|
+
* Compatibility with methods like `form_for`
|
869
|
+
that return strings rather than concatenate to the template in Rails 3.
|
870
|
+
|
871
|
+
* Add a {Haml::Helpers#with_tabs with_tabs} helper,
|
872
|
+
which sets the indentation level for the duration of a block.
|
873
|
+
|
874
|
+
## 2.2.20
|
875
|
+
|
876
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.20).
|
877
|
+
|
878
|
+
* The `form_tag` Rails helper is now properly marked as HTML-safe
|
879
|
+
when using Rails' XSS protection with Rails 2.3.5.
|
880
|
+
|
881
|
+
* Calls to `defined?` shouldn't interfere with Rails' autoloading
|
882
|
+
in very old versions (1.2.x).
|
883
|
+
|
884
|
+
* Fix a bug where calls to ActionView's `render` method
|
885
|
+
with blocks and layouts wouldn't work under the Rails 3.0 beta.
|
886
|
+
|
887
|
+
* Fix a bug where the closing tags of nested calls to \{Haml::Helpers#haml\_concat}
|
888
|
+
were improperly escaped under the Rails 3.0 beta.
|
889
|
+
|
890
|
+
## 2.2.19
|
891
|
+
|
892
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.19).
|
893
|
+
|
894
|
+
* Fix a bug with the integration with Rails' XSS support.
|
895
|
+
In particular, correctly override `safe_concat`.
|
896
|
+
|
897
|
+
## 2.2.18
|
898
|
+
|
899
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.18).
|
900
|
+
|
901
|
+
* Support [the new XSS-protection API](http://yehudakatz.com/2010/02/01/safebuffers-and-rails-3-0/)
|
902
|
+
used in Rails 3.
|
903
|
+
|
904
|
+
* Use `Rails.env` rather than `RAILS_ENV` when running under Rails 3.0.
|
905
|
+
Thanks to [Duncan Grazier](http://duncangrazier.com/).
|
906
|
+
|
907
|
+
* Add a `--unix-newlines` flag to all executables
|
908
|
+
for outputting Unix-style newlines on Windows.
|
909
|
+
|
910
|
+
* Fix a couple bugs with the `:erb` filter:
|
911
|
+
make sure error reporting uses the correct line numbers,
|
912
|
+
and allow multi-line expressions.
|
913
|
+
|
914
|
+
* Fix a parsing bug for HTML-style attributes including `#`.
|
915
|
+
|
916
|
+
## 2.2.17
|
917
|
+
|
918
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.17).
|
919
|
+
|
920
|
+
* Fix compilation of HTML5 doctypes when using `html2haml`.
|
921
|
+
|
922
|
+
* `nil` values for Sass options are now ignored,
|
923
|
+
rather than raising errors.
|
924
|
+
|
925
|
+
## 2.2.16
|
926
|
+
|
927
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.16).
|
928
|
+
|
929
|
+
* Abstract out references to `ActionView::TemplateError`,
|
930
|
+
`ActionView::TemplateHandler`, etc.
|
931
|
+
These have all been renamed to `ActionView::Template::*`
|
932
|
+
in Rails 3.0.
|
933
|
+
|
934
|
+
## 2.2.15
|
935
|
+
|
936
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.15).
|
937
|
+
|
938
|
+
* Allow `if` statements with no content followed by `else` clauses.
|
939
|
+
For example:
|
940
|
+
|
941
|
+
- if foo
|
942
|
+
- else
|
943
|
+
bar
|
944
|
+
|
945
|
+
## 2.2.14
|
946
|
+
|
947
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.14).
|
948
|
+
|
949
|
+
* Don't print warnings when escaping attributes containing non-ASCII characters
|
950
|
+
in Ruby 1.9.
|
951
|
+
|
952
|
+
* Don't crash when parsing an XHTML Strict doctype in `html2haml`.
|
953
|
+
|
954
|
+
* Support the HTML5 doctype in an XHTML document
|
955
|
+
by using `!!! 5` as the doctype declaration.
|
956
|
+
|
957
|
+
## 2.2.13
|
958
|
+
|
959
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.13).
|
960
|
+
|
961
|
+
* Allow users to specify {file:HAML_REFERENCE.md#encoding_option `:encoding => "ascii-8bit"`}
|
962
|
+
even for templates that include non-ASCII byte sequences.
|
963
|
+
This makes Haml templates not crash when given non-ASCII input
|
964
|
+
that's marked as having an ASCII encoding.
|
965
|
+
|
966
|
+
* Fixed an incompatibility with Hpricot 0.8.2, which is used for `html2haml`.
|
967
|
+
|
968
|
+
## 2.2.12
|
969
|
+
|
970
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.12).
|
971
|
+
|
972
|
+
There were no changes made to Haml between versions 2.2.11 and 2.2.12.
|
973
|
+
|
974
|
+
## 2.2.11
|
975
|
+
|
976
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.11).
|
977
|
+
|
978
|
+
* Fixed a bug with XSS protection where HTML escaping would raise an error
|
979
|
+
if passed a non-string value.
|
980
|
+
Note that this doesn't affect any HTML escaping when XSS protection is disabled.
|
981
|
+
|
982
|
+
* Fixed a bug in outer-whitespace nuking where whitespace-only Ruby strings
|
983
|
+
blocked whitespace nuking beyond them.
|
984
|
+
|
985
|
+
* Use `ensure` to protect the resetting of the Haml output buffer
|
986
|
+
against exceptions that are raised within the compiled Haml code.
|
987
|
+
|
988
|
+
* Fix an error line-numbering bug that appeared if an error was thrown
|
989
|
+
within loud script (`=`).
|
990
|
+
This is not the best solution, as it disables a few optimizations,
|
991
|
+
but it shouldn't have too much effect and the optimizations
|
992
|
+
will hopefully be re-enabled in version 2.4.
|
993
|
+
|
994
|
+
* Don't crash if the plugin skeleton is installed and `rake gems:install` is run.
|
995
|
+
|
996
|
+
* Don't use `RAILS_ROOT` directly.
|
997
|
+
This no longer exists in Rails 3.0.
|
998
|
+
Instead abstract this out as `Haml::Util.rails_root`.
|
999
|
+
This changes makes Haml fully compatible with edge Rails as of this writing.
|
1000
|
+
|
1001
|
+
## 2.2.10
|
1002
|
+
|
1003
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.10).
|
1004
|
+
|
1005
|
+
* Fixed a bug where elements with dynamic attributes and no content
|
1006
|
+
would have too much whitespace between the opening and closing tag.
|
1007
|
+
|
1008
|
+
* Changed `rails/init.rb` away from loading `init.rb` and instead
|
1009
|
+
have it basically copy the content.
|
1010
|
+
This allows us to transfer the proper binding to `Haml.init_rails`.
|
1011
|
+
|
1012
|
+
* Make sure Haml only tries to enable XSS protection integration
|
1013
|
+
once all other plugins are loaded.
|
1014
|
+
This allows it to work properly when Haml is a gem
|
1015
|
+
and the `rails_xss` plugin is being used.
|
1016
|
+
|
1017
|
+
* Mark the return value of Haml templates as HTML safe.
|
1018
|
+
This makes Haml partials work with Rails' XSS protection.
|
1019
|
+
|
1020
|
+
## 2.2.9
|
1021
|
+
|
1022
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.9).
|
1023
|
+
|
1024
|
+
* Fixed a bug where Haml's text was concatenated to the wrong buffer
|
1025
|
+
under certain circumstances.
|
1026
|
+
This was mostly an issue under Rails when using methods like `capture`.
|
1027
|
+
|
1028
|
+
* Fixed a bug where template text was escaped when there was interpolation in a line
|
1029
|
+
and the `:escape_html` option was enabled. For example:
|
1030
|
+
|
1031
|
+
Foo < Bar #{"<"} Baz
|
1032
|
+
|
1033
|
+
with `:escape_html` used to render as
|
1034
|
+
|
1035
|
+
Foo &lt; Bar < Baz
|
1036
|
+
|
1037
|
+
but now renders as
|
1038
|
+
|
1039
|
+
Foo < Bar < Baz
|
1040
|
+
|
1041
|
+
### Rails XSS Protection
|
1042
|
+
|
1043
|
+
Haml 2.2.9 supports the XSS protection in Rails versions 2.3.5+.
|
1044
|
+
There are several components to this:
|
1045
|
+
|
1046
|
+
* If XSS protection is enabled, Haml's {file:HAML_REFERENCE.md#escape_html-option `:escape_html`}
|
1047
|
+
option is set to `true` by default.
|
1048
|
+
|
1049
|
+
* Strings declared as HTML safe won't be escaped by Haml,
|
1050
|
+
including the {file:Haml/Helpers.html#html_escape-instance_method `#html_escape`} helper
|
1051
|
+
and `&=` if `:escape_html` has been disabled.
|
1052
|
+
|
1053
|
+
* Haml helpers that generate HTML are marked as HTML safe,
|
1054
|
+
and will escape their input if it's not HTML safe.
|
1055
|
+
|
1056
|
+
## 2.2.8
|
1057
|
+
|
1058
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.8).
|
1059
|
+
|
1060
|
+
* Fixed a potential XSS issue with HTML escaping and wacky Unicode nonsense.
|
1061
|
+
This is the same as [the issue fixed in Rails](http://groups.google.com/group/rubyonrails-security/browse_thread/thread/48ab3f4a2c16190f) a bit ago.
|
1062
|
+
|
1063
|
+
## 2.2.7
|
1064
|
+
|
1065
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.7).
|
1066
|
+
|
1067
|
+
* Fixed an `html2haml` issue where ERB attribute values
|
1068
|
+
weren't HTML-unescaped before being transformed into Haml.
|
1069
|
+
|
1070
|
+
* Fixed an `html2haml` issue where `#{}` wasn't escaped
|
1071
|
+
before being transformed into Haml.
|
1072
|
+
|
1073
|
+
* Add `<code>` to the list of tags that's
|
1074
|
+
{file:HAML_REFERENCE.md#preserve-option automatically whitespace-preserved}.
|
1075
|
+
|
1076
|
+
* Fixed a bug with `end` being followed by code in silent scripts -
|
1077
|
+
it no longer throws an error when it's nested beneath tags.
|
1078
|
+
|
1079
|
+
* Fixed a bug with inner whitespace-nuking and conditionals.
|
1080
|
+
The `else` et al. clauses of conditionals are now properly
|
1081
|
+
whitespace-nuked.
|
1082
|
+
|
1083
|
+
## 2.2.6
|
1084
|
+
|
1085
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.6).
|
1086
|
+
|
1087
|
+
* Made the error message when unable to load a dependency for html2haml
|
1088
|
+
respect the `--trace` option.
|
1089
|
+
|
1090
|
+
* Don't crash when the `__FILE__` constant of a Ruby file is a relative path,
|
1091
|
+
as apparently happens sometimes in TextMate
|
1092
|
+
(thanks to [Karl Varga](http://github.com/kjvarga)).
|
1093
|
+
|
1094
|
+
* Add "Sass" to the `--version` string for the executables.
|
1095
|
+
|
1096
|
+
* Raise an exception when commas are omitted in static attributes
|
1097
|
+
(e.g. `%p{:foo => "bar" :baz => "bang"}`).
|
1098
|
+
|
1099
|
+
## 2.2.5
|
1100
|
+
|
1101
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.5).
|
1102
|
+
|
1103
|
+
* Got rid of trailing whitespace produced when opening a conditional comment
|
1104
|
+
(thanks to [Norman Clarke](http://blog.njclarke.com/)).
|
1105
|
+
|
1106
|
+
* Fixed CSS id concatenation when a numeric id is given as an attribute.
|
1107
|
+
(thanks to [Norman Clarke](http://blog.njclarke.com/)).
|
1108
|
+
|
1109
|
+
* Fixed a couple bugs with using "-end" in strings.
|
1110
|
+
|
1111
|
+
## 2.2.4
|
1112
|
+
|
1113
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.4).
|
1114
|
+
|
1115
|
+
* Allow `end` to be used for silent script when it's followed by code.
|
1116
|
+
For example:
|
1117
|
+
|
1118
|
+
- form_for do
|
1119
|
+
...
|
1120
|
+
- end if @show_form
|
1121
|
+
|
1122
|
+
This isn't very good style, but we're supporting it for consistency's sake.
|
1123
|
+
|
1124
|
+
* Don't add `require 'rubygems'` to the top of init.rb when installed
|
1125
|
+
via `haml --rails`. This isn't necessary, and actually gets
|
1126
|
+
clobbered as soon as haml/template is loaded.
|
1127
|
+
|
1128
|
+
## 2.2.3
|
1129
|
+
|
1130
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.3).
|
1131
|
+
|
1132
|
+
Haml 2.2.3 adds support for the JRuby bundling tools
|
1133
|
+
for Google AppEngine, thanks to [Jan Ulbrich](http://github.com/ulbrich).
|
1134
|
+
|
1135
|
+
## 2.2.2
|
1136
|
+
|
1137
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.2).
|
1138
|
+
|
1139
|
+
Haml 2.2.2 is a minor bugfix release, with several notable changes.
|
1140
|
+
First, {file:Haml/Helpers.html#haml_concat-instance_method `haml_concat`}
|
1141
|
+
will now raise an error when used with `=`.
|
1142
|
+
This has always been incorrect behavior,
|
1143
|
+
and in fact has never actually worked.
|
1144
|
+
The only difference is that now it will fail loudly.
|
1145
|
+
Second, Ruby 1.9 is now more fully supported,
|
1146
|
+
especially with the {file:HAML_REFERENCE.md#htmlstyle_attributes_ new attribute syntax}.
|
1147
|
+
Third, filters are no longer escaped when the {file:HAML_REFERENCE.md#escape_html-option `:escape_html` option}
|
1148
|
+
is enabled and `#{}` interpolation is used.
|
1149
|
+
|
1150
|
+
## 2.2.1
|
1151
|
+
|
1152
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.1).
|
1153
|
+
|
1154
|
+
Haml 2.2.1 is a minor bug-fix release.
|
1155
|
+
|
1156
|
+
## 2.2.0
|
1157
|
+
|
1158
|
+
[Tagged on GitHub](http://github.com/nex3/haml/commit/2.2.0).
|
1159
|
+
|
1160
|
+
Haml 2.2 adds several new features to the language,
|
1161
|
+
fixes several bugs, and dramatically improves performance
|
1162
|
+
(particularly when running with {file:HAML_REFERENCE.md#ugly-option `:ugly`} enabled).
|
1163
|
+
|
1164
|
+
### Syntax Changes
|
1165
|
+
|
1166
|
+
#### HTML-Style Attribute Syntax
|
1167
|
+
|
1168
|
+
Haml 2.2 introduces a new syntax for attributes
|
1169
|
+
based on the HTML syntax.
|
1170
|
+
For example:
|
1171
|
+
|
1172
|
+
%a(href="http://haml.info" title="Haml's so cool!")
|
1173
|
+
%img(src="/images/haml.png" alt="Haml")
|
1174
|
+
|
1175
|
+
There are two main reasons for this.
|
1176
|
+
First, the hash-style syntax is very Ruby-specific.
|
1177
|
+
There are now [Haml implementations](http://en.wikipedia.org/wiki/Haml#Implementations)
|
1178
|
+
in many languages, each of which has its own syntax for hashes
|
1179
|
+
(or dicts or associative arrays or whatever they're called).
|
1180
|
+
The HTML syntax will be adopted by all of them,
|
1181
|
+
so you can feel comfortable using Haml in whichever language you need.
|
1182
|
+
|
1183
|
+
Second, the hash-style syntax is quite verbose.
|
1184
|
+
`%img{:src => "/images/haml.png", :alt => "Haml"}`
|
1185
|
+
is eight characters longer than `%img(src="/images/haml.png" alt="Haml")`.
|
1186
|
+
Haml's supposed to be about writing templates quickly and easily;
|
1187
|
+
HTML-style attributes should help out a lot with that.
|
1188
|
+
|
1189
|
+
Ruby variables can be used as attribute values by omitting quotes.
|
1190
|
+
Local variables or instance variables can be used.
|
1191
|
+
For example:
|
1192
|
+
|
1193
|
+
%a(title=@title href=href) Stuff
|
1194
|
+
|
1195
|
+
This is the same as:
|
1196
|
+
|
1197
|
+
%a{:title => @title, :href => href} Stuff
|
1198
|
+
|
1199
|
+
Because there are no commas separating attributes,
|
1200
|
+
more complicated expressions aren't allowed.
|
1201
|
+
You can use `#{}` interpolation to insert complicated expressions
|
1202
|
+
in a HTML-style attribute, though:
|
1203
|
+
|
1204
|
+
%span(class="widget_#{@widget.number}")
|
1205
|
+
|
1206
|
+
#### Multiline Attributes
|
1207
|
+
|
1208
|
+
In general, Haml tries to keep individual elements on a single line.
|
1209
|
+
There is a [multiline syntax](#multiline) for overflowing onto further lines,
|
1210
|
+
but it's intentionally awkward to use to encourage shorter lines.
|
1211
|
+
|
1212
|
+
However, there is one case where overflow is reasonable: attributes.
|
1213
|
+
Often a tag will simply have a lot of attributes, and in this case
|
1214
|
+
it makes sense to allow overflow.
|
1215
|
+
You can now stretch an attribute hash across multiple lines:
|
1216
|
+
|
1217
|
+
%script{:type => "text/javascript",
|
1218
|
+
:src => "javascripts/script_#{2 + 7}"}
|
1219
|
+
|
1220
|
+
This also works for HTML-style attributes:
|
1221
|
+
|
1222
|
+
%script(type="text/javascript"
|
1223
|
+
src="javascripts/script_#{2 + 7}")
|
1224
|
+
|
1225
|
+
Note that for hash-style attributes, the newlines must come after commas.
|
1226
|
+
|
1227
|
+
#### Universal interpolation
|
1228
|
+
|
1229
|
+
In Haml 2.0, you could use `==` to interpolate Ruby code
|
1230
|
+
within a line of text using `#{}`.
|
1231
|
+
In Haml 2.2, the `==` is unnecessary;
|
1232
|
+
`#{}` can be used in any text.
|
1233
|
+
For example:
|
1234
|
+
|
1235
|
+
%p This is a really cool #{h what_is_this}!
|
1236
|
+
But is it a #{h what_isnt_this}?
|
1237
|
+
|
1238
|
+
In addition, to {file:HAML_REFERENCE.md#escaping_html escape} or {file:HAML_REFERENCE.md#unescaping_html unescape}
|
1239
|
+
the interpolated code, you can just add `&` or `!`, respectively,
|
1240
|
+
to the beginning of the line:
|
1241
|
+
|
1242
|
+
%p& This is a really cool #{what_is_this}!
|
1243
|
+
& But is it a #{what_isnt_this}?
|
1244
|
+
|
1245
|
+
#### Flexible indentation
|
1246
|
+
|
1247
|
+
Haml has traditionally required its users to use two spaces of indentation.
|
1248
|
+
This is the universal Ruby style, and still highly recommended.
|
1249
|
+
However, Haml now allows any number of spaces or even tabs for indentation,
|
1250
|
+
provided:
|
1251
|
+
|
1252
|
+
* Tabs and spaces are not mixed
|
1253
|
+
* The indentation is consistent within a given document
|
1254
|
+
|
1255
|
+
### New Options
|
1256
|
+
|
1257
|
+
#### `:ugly`
|
1258
|
+
|
1259
|
+
The `:ugly` option is not technically new;
|
1260
|
+
it was introduced in Haml 2.0 to make rendering deeply nested templates less painful.
|
1261
|
+
However, it's been greatly empowered in Haml 2.2.
|
1262
|
+
It now does all sorts of performance optimizations
|
1263
|
+
that couldn't be done before,
|
1264
|
+
and its use increases Haml's performance dramatically.
|
1265
|
+
It's enabled by default in production in Rails,
|
1266
|
+
and it's highly recommended for production environments
|
1267
|
+
in other frameworks.
|
1268
|
+
|
1269
|
+
#### `:encoding` {#encoding-option}
|
1270
|
+
|
1271
|
+
This option specifies the encoding of the Haml template
|
1272
|
+
when running under Ruby 1.9. It defaults to `Encoding.default_internal` or `"utf-8"`.
|
1273
|
+
This is useful for making sure that you don't get weird
|
1274
|
+
encoding errors when dealing with non-ASCII input data.
|
1275
|
+
|
1276
|
+
### Deprecations
|
1277
|
+
|
1278
|
+
#### `Haml::Helpers#puts`
|
1279
|
+
|
1280
|
+
This helper is being deprecated for the obvious reason
|
1281
|
+
that it conflicts with the `Kernel#puts` method.
|
1282
|
+
I'm ashamed I ever chose this name.
|
1283
|
+
Use `haml_concat` instead and spare me the embarrassment.
|
1284
|
+
|
1285
|
+
#### `= haml_tag`
|
1286
|
+
|
1287
|
+
A lot of people accidentally use "`= haml_tag`".
|
1288
|
+
This has always been wrong; `haml_tag` outputs directly to the template,
|
1289
|
+
and so should be used as "`- haml_tag`".
|
1290
|
+
Now it raises an error when you use `=`.
|
1291
|
+
|
1292
|
+
### Compatibility
|
1293
|
+
|
1294
|
+
#### Rails
|
1295
|
+
|
1296
|
+
Haml 2.2 is fully compatible with Rails,
|
1297
|
+
from 2.0.6 to the latest revision of edge, 783db25.
|
1298
|
+
|
1299
|
+
#### Ruby 1.9
|
1300
|
+
|
1301
|
+
Haml 2.2 is also fully compatible with Ruby 1.9.
|
1302
|
+
It supports Ruby 1.9-style attribute hashes,
|
1303
|
+
and handles encoding-related issues
|
1304
|
+
(see [the `:encoding` option](#encoding-option)).
|
1305
|
+
|
1306
|
+
### Filters
|
1307
|
+
|
1308
|
+
#### `:markdown`
|
1309
|
+
|
1310
|
+
There are numerous improvements to the Markdown filter.
|
1311
|
+
No longer will Haml attempt to use RedCloth's inferior Markdown implementation.
|
1312
|
+
Instead, it will look for all major Markdown implementations:
|
1313
|
+
[RDiscount](https://github.com/rtomayko/rdiscount),
|
1314
|
+
[RPeg-Markdown](https://github.com/rtomayko/rpeg-markdown),
|
1315
|
+
[Maruku](http://maruku.rubyforge.org),
|
1316
|
+
and [BlueCloth](http://www.deveiate.org/projects/BlueCloth).
|
1317
|
+
|
1318
|
+
#### `:cdata`
|
1319
|
+
|
1320
|
+
There is now a `:cdata` filter for wrapping text in CDATA tags.
|
1321
|
+
|
1322
|
+
#### `:sass`
|
1323
|
+
|
1324
|
+
The `:sass` filter now uses options set in `Sass::Plugin`,
|
1325
|
+
if they're available.
|
1326
|
+
|
1327
|
+
### Executables
|
1328
|
+
|
1329
|
+
#### `haml`
|
1330
|
+
|
1331
|
+
The `haml` executable now takes `-r` and `-I` flags
|
1332
|
+
that act just like the same flags for the `ruby` executable.
|
1333
|
+
This allows users to load helper files when using Haml
|
1334
|
+
from the command line.
|
1335
|
+
|
1336
|
+
It also takes a `--debug` flag that causes it to spit out
|
1337
|
+
the Ruby code that Haml generates from the template.
|
1338
|
+
This is more for my benefit than anything,
|
1339
|
+
but you may find it interesting.
|
1340
|
+
|
1341
|
+
#### `html2haml`
|
1342
|
+
|
1343
|
+
The `html2haml` executable has undergone significant improvements.
|
1344
|
+
Many of these are bugfixes, but there are also a few features.
|
1345
|
+
For one, it now understands CDATA tags and autodetects ERB files.
|
1346
|
+
In addition, a line containing just "`- end`" is now a Haml error;
|
1347
|
+
since it's not possible for `html2haml` to properly parse all Ruby blocks,
|
1348
|
+
this acts as a signal for the author that there are blocks
|
1349
|
+
to be dealt with.
|
1350
|
+
|
1351
|
+
### Miscellaneous
|
1352
|
+
|
1353
|
+
#### XHTML Mobile DTD
|
1354
|
+
|
1355
|
+
Haml 2.2 supports a DTD for XHTML Mobile: `!!! Mobile`.
|
1356
|
+
|
1357
|
+
#### YARD
|
1358
|
+
|
1359
|
+
All the documentation for Haml 2.2, including this changelog,
|
1360
|
+
has been moved to [YARD](http://yard.soen.ca).
|
1361
|
+
YARD is an excellent documentation system,
|
1362
|
+
and allows us to write our documentation in [Maruku](http://maruku.rubyforge.org),
|
1363
|
+
which is also excellent.
|