brakeman 3.6.1 → 3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +15 -0
- data/bin/brakeman +0 -3
- data/bundle/load.rb +6 -6
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/History.rdoc +29 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/Manifest.txt +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/README.rdoc +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/Rakefile +2 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/bin/ruby_parse +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/bin/ruby_parse_extract_error +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/compare/normalize.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/rp_extensions.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/rp_stringscanner.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby18_parser.rb +2139 -2125
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby18_parser.y +6 -2
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.9.0/lib/ruby19_parser.rb +6175 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby19_parser.y +6 -2
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby20_parser.rb +2431 -2419
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby20_parser.y +6 -3
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby21_parser.rb +2484 -2476
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby21_parser.y +6 -3
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.9.0/lib/ruby22_parser.rb +6796 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby22_parser.y +6 -3
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.9.0/lib/ruby23_parser.rb +6797 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby23_parser.y +6 -3
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.9.0/lib/ruby24_parser.rb +6797 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby24_parser.y +6 -3
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_lexer.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_lexer.rex +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_lexer.rex.rb +12 -6
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_parser.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_parser.yy +6 -3
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_parser_extras.rb +5 -1
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/test/test_ruby_lexer.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/test/test_ruby_parser.rb +9 -0
- data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/test/test_ruby_parser_extras.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/CODE_OF_CONDUCT.md +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/CONTRIBUTING.md +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/MIT-LICENSE +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/README.md +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/REVISION +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/Rakefile +0 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.24/VERSION +1 -0
- data/bundle/ruby/2.3.0/gems/sass-3.4.24/VERSION_DATE +1 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/VERSION_NAME +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/bin/sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/bin/sass-convert +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/bin/scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/extra/sass-spec-ref.sh +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/extra/update_watch.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/init.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/base.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/chain.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/filesystem.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/memory.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/null.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/callbacks.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/css.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/engine.rb +3 -3
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/environment.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/error.rb +3 -3
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/exec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/exec/base.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/exec/sass_convert.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/exec/sass_scss.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/features.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/importers.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/importers/base.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/importers/deprecated_path.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/importers/filesystem.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/logger.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/logger/base.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/logger/delayed.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/logger/log_level.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/media.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/compiler.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/configuration.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/generic.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/merb.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/rack.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/rails.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/staleness_checker.rb +2 -2
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/railtie.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/repl.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/root.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script.rb +2 -2
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/css_lexer.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/css_parser.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/css_variable_warning.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/functions.rb +4 -4
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/lexer.rb +5 -5
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/parser.rb +4 -4
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/funcall.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/interpolation.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/list_literal.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/literal.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/map_literal.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/node.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/operation.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/selector.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/string_interpolation.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/unary_operation.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/variable.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/arg_list.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/base.rb +2 -2
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/bool.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/color.rb +10 -10
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/helpers.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/list.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/map.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/null.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/number.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/string.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss/css_parser.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss/parser.rb +3 -3
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss/rx.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss/static_parser.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/abstract_sequence.rb +5 -5
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/comma_sequence.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/pseudo.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/sequence.rb +2 -2
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/simple.rb +4 -4
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/simple_sequence.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/shared.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/source/map.rb +2 -2
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/source/position.rb +4 -4
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/source/range.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/stack.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/supports.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/at_root_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/charset_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/comment_node.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/content_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/css_import_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/debug_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/directive_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/each_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/error_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/extend_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/for_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/function_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/if_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/import_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/keyframe_rule_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/media_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/mixin_def_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/mixin_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/node.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/prop_node.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/return_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/root_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/rule_node.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/supports_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/trace_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/variable_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/base.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/check_nesting.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/convert.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/cssize.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/deep_copy.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/extend.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/perform.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/set_options.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/to_css.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/warn_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/while_node.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util.rb +33 -8
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/cross_platform_random.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/multibyte_string_scanner.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/normalized_map.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/ordered_hash.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/subset_map.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/version.rb +2 -2
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/rails/init.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass-spec.yml +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/cache_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/callbacks_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/compiler_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/conversion_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/css2sass_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/css_variable_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/data/hsl-rgb.txt +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/encoding_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/engine_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/exec_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/extend_test.rb +38 -18
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/fixtures/test_staleness_check_across_importers.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/fixtures/test_staleness_check_across_importers.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/functions_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/importer_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/logger_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/mock_importer.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_results/more1.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_results/more1_with_line_comments.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_results/more_import.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_templates/_more_partial.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_templates/more1.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_templates/more_import.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/plugin_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/alt.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/basic.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/cached_import_option.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/compact.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/complex.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/compressed.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/expanded.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/filename_fn.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/if.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import_charset.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import_charset_1_8.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import_charset_ibm866.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import_content.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/line_numbers.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/mixins.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/multiline.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/nested.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/options.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/parent_ref.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/script.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/scss_import.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/scss_importee.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/subdir/nested_subdir/nested_subdir.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/subdir/subdir.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/units.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/warn.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/warn_imported.css +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/script_conversion_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/script_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/scss/css_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/scss/rx_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/scss/scss_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/scss/test_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/source_map_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/superselector_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_cached_import_option_partial.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_double_import_loop2.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_filename_fn_import.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_imported_charset_ibm866.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_imported_charset_utf8.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_imported_content.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_partial.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_same_name_different_partiality.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/alt.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/basic.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork1.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork2.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork3.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork4.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork5.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/cached_import_option.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/compact.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/complex.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/compressed.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/double_import_loop1.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/expanded.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/filename_fn.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/if.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import_charset.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import_charset_1_8.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import_charset_ibm866.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import_content.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/importee.less +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/importee.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/line_numbers.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/mixin_bork.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/mixins.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/multiline.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_bork1.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_bork2.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_bork3.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_bork4.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_import.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_mixin_bork.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/options.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/parent_ref.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/same_name_different_ext.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/same_name_different_ext.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/same_name_different_partiality.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/script.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/scss_import.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/scss_importee.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/single_import_loop.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/subdir/import_up1.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/subdir/import_up2.scss +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/subdir/subdir.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/units.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/warn.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/warn_imported.sass +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/test_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/util/multibyte_string_scanner_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/util/normalized_map_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/util/subset_map_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/util_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/value_helpers_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/test_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/CHANGELOG.md +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/CONTRIBUTING.md +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/Gemfile +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/Guardfile +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/LICENSE +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/README.md +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/Rakefile +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/Vagrantfile +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapter.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/bsd.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/darwin.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/linux.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/polling.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/windows.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/directory_record.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/listener.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/turnstile.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/version.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/listen.gemspec +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/adapter_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/adapters/bsd_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/adapters/darwin_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/adapters/linux_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/adapters/polling_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/adapters/windows_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/directory_record_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/listener_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/turnstile_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen_spec.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/spec_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/adapter_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/directory_record_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/fixtures_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/listeners_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/platform_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/History.txt +14 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/Manifest.txt +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/README.txt +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/Rakefile +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/composite_sexp_processor.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/pt_testcase.rb +2 -2
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/sexp.rb +29 -3
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/sexp_processor.rb +2 -7
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/unique.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/test/test_composite_sexp_processor.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/test/test_environment.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/test/test_sexp.rb +57 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/test/test_sexp_processor.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/Gemfile +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/History.rdoc +9 -0
- data/bundle/ruby/2.3.0/gems/terminal-table-1.8.0/LICENSE.txt +21 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/Manifest +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/README.rdoc +49 -40
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/Rakefile +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/Todo.rdoc +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/examples/examples.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/cell.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/import.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/row.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/separator.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/style.rb +3 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/table.rb +3 -3
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/table_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/version.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/terminal-table.gemspec +1 -1
- data/bundle/ruby/2.3.0/gems/unicode-display_width-1.2.1/CHANGELOG.md +92 -0
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/MIT-LICENSE.txt +0 -0
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/README.md +19 -1
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/Rakefile +1 -0
- data/bundle/ruby/2.3.0/gems/unicode-display_width-1.2.1/data/display_width.marshal.gz +0 -0
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/lib/unicode/display_width.rb +20 -1
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/lib/unicode/display_width/constants.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/lib/unicode/display_width/index.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/lib/unicode/display_width/no_string_ext.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/lib/unicode/display_width/string_ext.rb +2 -2
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/spec/display_width_spec.rb +27 -3
- data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/unicode-display_width.gemspec +1 -1
- data/lib/brakeman.rb +8 -38
- data/lib/brakeman/checks/base_check.rb +1 -0
- data/lib/brakeman/checks/check_session_settings.rb +7 -1
- data/lib/brakeman/checks/check_sql.rb +11 -1
- data/lib/brakeman/options.rb +4 -4
- data/lib/brakeman/parsers/template_parser.rb +14 -12
- data/lib/brakeman/processors/haml_template_processor.rb +8 -0
- data/lib/brakeman/processors/lib/find_return_value.rb +3 -1
- data/lib/brakeman/util.rb +1 -1
- data/lib/brakeman/version.rb +1 -1
- metadata +386 -389
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/TEAST +0 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby19_parser.rb +0 -6165
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby22_parser.rb +0 -6787
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby23_parser.rb +0 -6790
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby24_parser.rb +0 -6790
- data/bundle/ruby/2.3.0/gems/sass-3.4.23/VERSION +0 -1
- data/bundle/ruby/2.3.0/gems/sass-3.4.23/VERSION_DATE +0 -1
- data/bundle/ruby/2.3.0/gems/unicode-display_width-1.1.3/CHANGELOG.txt +0 -81
- data/bundle/ruby/2.3.0/gems/unicode-display_width-1.1.3/data/display_width.marshal.gz +0 -0
- data/lib/brakeman/brakeman.rake +0 -17
File without changes
|
File without changes
|
data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/examples/examples.rb
RENAMED
File without changes
|
data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table.rb
RENAMED
File without changes
|
data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/cell.rb
RENAMED
File without changes
|
File without changes
|
data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/row.rb
RENAMED
File without changes
|
File without changes
|
@@ -24,6 +24,7 @@ module Terminal
|
|
24
24
|
class Style
|
25
25
|
@@defaults = {
|
26
26
|
:border_x => "-", :border_y => "|", :border_i => "+",
|
27
|
+
:border_top => true, :border_bottom => true,
|
27
28
|
:padding_left => 1, :padding_right => 1,
|
28
29
|
:margin_left => '',
|
29
30
|
:width => nil, :alignment => nil,
|
@@ -33,6 +34,8 @@ module Terminal
|
|
33
34
|
attr_accessor :border_x
|
34
35
|
attr_accessor :border_y
|
35
36
|
attr_accessor :border_i
|
37
|
+
attr_accessor :border_top
|
38
|
+
attr_accessor :border_bottom
|
36
39
|
|
37
40
|
attr_accessor :padding_left
|
38
41
|
attr_accessor :padding_right
|
@@ -94,7 +94,7 @@ module Terminal
|
|
94
94
|
# Return length of column _n_.
|
95
95
|
|
96
96
|
def column_width n
|
97
|
-
|
97
|
+
column_widths[n] || 0
|
98
98
|
end
|
99
99
|
alias length_of_column column_width # for legacy support
|
100
100
|
|
@@ -122,7 +122,7 @@ module Terminal
|
|
122
122
|
|
123
123
|
def render
|
124
124
|
separator = Separator.new(self)
|
125
|
-
buffer = [separator]
|
125
|
+
buffer = style.border_top ? [separator] : []
|
126
126
|
unless @title.nil?
|
127
127
|
buffer << Row.new(self, [title_cell_options])
|
128
128
|
buffer << separator
|
@@ -137,7 +137,7 @@ module Terminal
|
|
137
137
|
buffer += @rows.product([separator]).flatten
|
138
138
|
else
|
139
139
|
buffer += @rows
|
140
|
-
buffer << separator
|
140
|
+
buffer << separator if style.border_bottom
|
141
141
|
end
|
142
142
|
buffer.map { |r| style.margin_left + r.render.rstrip }.join("\n")
|
143
143
|
end
|
File without changes
|
data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/terminal-table.gemspec
RENAMED
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "term-ansicolor"
|
23
23
|
spec.add_development_dependency "pry"
|
24
24
|
|
25
|
-
spec.add_runtime_dependency "unicode-display_width", "~> 1.1.1"
|
25
|
+
spec.add_runtime_dependency "unicode-display_width", ["~> 1.1", ">= 1.1.1"]
|
26
26
|
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## 1.2.1
|
4
|
+
|
5
|
+
- Fix bug that `emoji: true` would fail for emoji without modifier
|
6
|
+
|
7
|
+
## 1.2.0
|
8
|
+
|
9
|
+
- Add zero-width codepoint ranges: U+2060..U+206F, U+FFF0..U+FFF8, U+E0000..U+E0FFF
|
10
|
+
- Add full-witdh codepoint ranges: U+3400..U+4DBF, U+4E00..U+9FFF, U+F900..U+FAFF, U+20000..U+2FFFD, U+30000..U+3FFFD
|
11
|
+
- Experimental emoji support using the [unicode-emoji](https://github.com/janlelis/unicode-emoji) gem
|
12
|
+
- Fix minor bug in index compression scheme
|
13
|
+
|
14
|
+
## 1.1.3
|
15
|
+
|
16
|
+
- Fix that non-UTF-8 encodings do not throw errors, patch by @windwiny
|
17
|
+
|
18
|
+
## 1.1.2
|
19
|
+
|
20
|
+
- Reduce memory consumption and increase performance, patch by @rrosenblum
|
21
|
+
|
22
|
+
## 1.1.1
|
23
|
+
|
24
|
+
- Always load index into memory, fixes #9
|
25
|
+
|
26
|
+
## 1.1.0
|
27
|
+
|
28
|
+
- Support Unicode 9.0
|
29
|
+
|
30
|
+
## 1.0.5
|
31
|
+
|
32
|
+
- Actually include new index from 1.0.4
|
33
|
+
|
34
|
+
## 1.0.4
|
35
|
+
|
36
|
+
- New index format (much smaller) and internal API changes
|
37
|
+
- Move index generation to a builder plugin for the unicoder gem
|
38
|
+
- No public API changes
|
39
|
+
|
40
|
+
## 1.0.3
|
41
|
+
|
42
|
+
- Avoid circular dependency warning
|
43
|
+
|
44
|
+
## 1.0.2
|
45
|
+
|
46
|
+
- Fix error that gemspec might be invalid under some circumstances (see gh#6)
|
47
|
+
|
48
|
+
## 1.0.1
|
49
|
+
|
50
|
+
- Inofficially allow Ruby 1.9
|
51
|
+
|
52
|
+
## 1.0.0
|
53
|
+
|
54
|
+
- Faster than 0.3.1
|
55
|
+
- Advanced determination of character width
|
56
|
+
- This includes: Treat width of most chars of general categories (Mn, Me, Cf) as 0
|
57
|
+
- This includes: Introduce list of characters with special widths
|
58
|
+
- Allow custom overrides for specific codepoints
|
59
|
+
- Set required Ruby version to 2.0
|
60
|
+
- Add NO_STRING_EXT mode to disable monkey patching
|
61
|
+
- Internal API & index format changed drastically
|
62
|
+
- Remove require 'unicode/display_size' (use 'unicode/display_width' instead)
|
63
|
+
|
64
|
+
## 0.3.1
|
65
|
+
|
66
|
+
- Faster than 0.3.0
|
67
|
+
- Deprecate usage of aliases: String#display_size and String#display_length
|
68
|
+
- Eliminate Ruby warnings (@amatsuda)
|
69
|
+
|
70
|
+
## 0.3.0
|
71
|
+
|
72
|
+
- Update EastAsianWidth from 7.0 to 8.0
|
73
|
+
- Add rake task to update EastAsianWidth.txt
|
74
|
+
- Move code to generate index from library to Rakefile
|
75
|
+
- Update project's meta files
|
76
|
+
- Deprecate requiring 'unicode-display_size'
|
77
|
+
|
78
|
+
## 0.2.0
|
79
|
+
|
80
|
+
- Update EastAsianWidth from 6.0 to 7.0
|
81
|
+
- Don't build index table automatically when not available
|
82
|
+
- Don't include EastAsianWidth.txt in gem (only index)
|
83
|
+
|
84
|
+
|
85
|
+
## 0.1.0
|
86
|
+
|
87
|
+
- Fix github issue #1
|
88
|
+
|
89
|
+
|
90
|
+
## 0.1.0
|
91
|
+
|
92
|
+
- Initial release
|
File without changes
|
data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/README.md
RENAMED
@@ -22,7 +22,9 @@ X | (user defined) | Overwrites any other values
|
|
22
22
|
3 | `"\u{2E3B}"` | THREE-EM DASH
|
23
23
|
0 | General Categories: Mn, Me, Cf (non-arabic) | Excludes ARABIC format characters
|
24
24
|
0 | `"\u{1160}".."\u{11FF}"` | HANGUL JUNGSEONG
|
25
|
+
0 | `"\u{2060}".."\u{206F}"`, `"\u{FFF0}".."\u{FFF8}"`, `"\u{E0000}".."\u{E0FFF}"` | Ignorable ranges
|
25
26
|
2 | East Asian Width: F, W | Full-width characters
|
27
|
+
2 | `"\u{3400}".."\u{4DBF}"`, `"\u{4E00}".."\u{9FFF}"`, `"\u{F900}".."\u{FAFF}"`, `"\u{20000}".."\u{2FFFD}"`, `"\u{30000}".."\u{3FFFD}"` | Full-width ranges
|
26
28
|
1 or 2 | East Asian Width: A | Ambiguous characters, user defined, default: 1
|
27
29
|
1 | All other codepoints | -
|
28
30
|
|
@@ -30,7 +32,7 @@ X | (user defined) | Overwrites any other values
|
|
30
32
|
|
31
33
|
Install the gem with:
|
32
34
|
|
33
|
-
gem install unicode-display_width
|
35
|
+
$ gem install unicode-display_width
|
34
36
|
|
35
37
|
Or add to your Gemfile:
|
36
38
|
|
@@ -62,6 +64,22 @@ You can overwrite how to handle specific code points by passing a hash (or even
|
|
62
64
|
Unicode::DisplayWidth.of("a\tb", 1, 0x09 => 10)) # => 12
|
63
65
|
```
|
64
66
|
|
67
|
+
### Emoji Support
|
68
|
+
|
69
|
+
Experimental emoji support is included. It will adjust the string's size for modifier and zero-width joiner sequences. You will need to add the [unicode-emoji](https://github.com/janlelis/unicode-emoji) gem to your Gemfile:
|
70
|
+
|
71
|
+
```ruby
|
72
|
+
gem 'unicode-display_width'
|
73
|
+
gem 'unicode-emoji'
|
74
|
+
```
|
75
|
+
|
76
|
+
You can then activate the emoji string width adjustments by passing `emoji: true` as fourth parameter:
|
77
|
+
|
78
|
+
```ruby
|
79
|
+
Unicode::DisplayWidth.of "🤾🏽♀️" # => 5
|
80
|
+
Unicode::DisplayWidth.of "🤾🏽♀️", 1, {}, emoji: true # => 2
|
81
|
+
```
|
82
|
+
|
65
83
|
### Usage with String Extension
|
66
84
|
|
67
85
|
Activated by default. Will be deactivated in version 2.0:
|
Binary file
|
@@ -5,7 +5,7 @@ module Unicode
|
|
5
5
|
module DisplayWidth
|
6
6
|
DEPTHS = [0x10000, 0x1000, 0x100, 0x10].freeze
|
7
7
|
|
8
|
-
def self.of(string, ambiguous = 1, overwrite = {})
|
8
|
+
def self.of(string, ambiguous = 1, overwrite = {}, options = {})
|
9
9
|
res = string.codepoints.inject(0){ |total_width, codepoint|
|
10
10
|
index_or_value = INDEX
|
11
11
|
codepoint_depth_offset = codepoint
|
@@ -19,8 +19,27 @@ module Unicode
|
|
19
19
|
total_width + (overwrite[codepoint] || width || 1)
|
20
20
|
}
|
21
21
|
|
22
|
+
res -= emoji_extra_width_of(string) if options[:emoji]
|
22
23
|
res < 0 ? 0 : res
|
23
24
|
end
|
25
|
+
|
26
|
+
def self.emoji_extra_width_of(string, ambiguous = 1, overwrite = {}, _ = {})
|
27
|
+
require "unicode/emoji"
|
28
|
+
|
29
|
+
extra_width = 0
|
30
|
+
modifier_regex = /[#{ Unicode::Emoji::EMOJI_MODIFIERS.pack("U*") }]/
|
31
|
+
zwj_regex = /(?<=#{ [Unicode::Emoji::ZWJ].pack("U") })./
|
32
|
+
|
33
|
+
string.scan(Unicode::Emoji::REGEX){ |emoji|
|
34
|
+
extra_width += 2 * emoji.scan(modifier_regex).size
|
35
|
+
|
36
|
+
emoji.scan(zwj_regex){ |zwj_succ|
|
37
|
+
extra_width += self.of(zwj_succ, ambiguous, overwrite)
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
extra_width
|
42
|
+
end
|
24
43
|
end
|
25
44
|
end
|
26
45
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Unicode
|
2
2
|
module DisplayWidth
|
3
|
-
VERSION = '1.1
|
3
|
+
VERSION = '1.2.1'
|
4
4
|
UNICODE_VERSION = "9.0.0".freeze
|
5
5
|
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + '/../../../data/').freeze
|
6
6
|
INDEX_FILENAME = (DATA_DIRECTORY + '/display_width.marshal.gz').freeze
|
File without changes
|
File without changes
|
@@ -1,8 +1,8 @@
|
|
1
1
|
require_relative '../display_width' unless defined? Unicode::DisplayWidth
|
2
2
|
|
3
3
|
class String
|
4
|
-
def display_width(ambiguous = 1, overwrite = {})
|
5
|
-
Unicode::DisplayWidth.of(self, ambiguous, overwrite)
|
4
|
+
def display_width(ambiguous = 1, overwrite = {}, options = {})
|
5
|
+
Unicode::DisplayWidth.of(self, ambiguous, overwrite, options)
|
6
6
|
end
|
7
7
|
|
8
8
|
def display_size(*args)
|
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'unicode/display_width'
|
1
|
+
require_relative '../lib/unicode/display_width'
|
4
2
|
|
5
3
|
describe 'Unicode::DisplayWidth.of' do
|
6
4
|
describe '[east asian width]' do
|
@@ -12,6 +10,10 @@ describe 'Unicode::DisplayWidth.of' do
|
|
12
10
|
expect( '一'.display_width ).to eq 2
|
13
11
|
end
|
14
12
|
|
13
|
+
it 'returns 2 for W (which are currently unassigned)' do
|
14
|
+
expect( "\u{3FFFD}".display_width ).to eq 2
|
15
|
+
end
|
16
|
+
|
15
17
|
it 'returns 1 for N' do
|
16
18
|
expect( 'À'.display_width ).to eq 1
|
17
19
|
end
|
@@ -53,6 +55,18 @@ describe 'Unicode::DisplayWidth.of' do
|
|
53
55
|
it 'returns 0 for HANGUL JUNGSEONG chars' do
|
54
56
|
expect( 'ᅠ'.display_width ).to eq 0
|
55
57
|
end
|
58
|
+
|
59
|
+
it 'returns 0 for U+2060..U+206F' do
|
60
|
+
expect( "\u{2060}".display_width ).to eq 0
|
61
|
+
end
|
62
|
+
|
63
|
+
it 'returns 0 for U+FFF0..U+FFF8' do
|
64
|
+
expect( "\u{FFF0}".display_width ).to eq 0
|
65
|
+
end
|
66
|
+
|
67
|
+
it 'returns 0 for U+E0000..U+E0FFF' do
|
68
|
+
expect( "\u{E0000}".display_width ).to eq 0
|
69
|
+
end
|
56
70
|
end
|
57
71
|
|
58
72
|
describe '[special characters]' do
|
@@ -129,4 +143,14 @@ describe 'Unicode::DisplayWidth.of' do
|
|
129
143
|
expect( 'À'.encode("UTF-16LE").display_width ).to eq 1
|
130
144
|
end
|
131
145
|
end
|
146
|
+
|
147
|
+
describe '[emoji]' do
|
148
|
+
it 'does not count modifiers and zjw sequences for valid emoji' do
|
149
|
+
expect( "🤾🏽♀️".display_width(1, {}, emoji: true) ).to eq 2
|
150
|
+
end
|
151
|
+
|
152
|
+
it 'works with flags' do
|
153
|
+
expect( "🇵🇹".display_width(1, {}, emoji: true) ).to eq 2
|
154
|
+
end
|
155
|
+
end
|
132
156
|
end
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.summary = "Determines the monospace display width of a string in Ruby."
|
11
11
|
s.description = "[Unicode #{Unicode::DisplayWidth::UNICODE_VERSION}] Determines the monospace display width of a string using EastAsianWidth.txt, Unicode general category, and other data."
|
12
12
|
s.files = Dir.glob(%w[{lib,spec}/**/*.rb [A-Z]*.{txt,rdoc} data/display_width.marshal.gz]) + %w{Rakefile unicode-display_width.gemspec}
|
13
|
-
s.extra_rdoc_files = ["README.md", "MIT-LICENSE.txt", "CHANGELOG.
|
13
|
+
s.extra_rdoc_files = ["README.md", "MIT-LICENSE.txt", "CHANGELOG.md"]
|
14
14
|
s.license = 'MIT'
|
15
15
|
s.required_ruby_version = '>= 1.9.3'
|
16
16
|
s.add_development_dependency 'rspec', '~> 3.4'
|
data/lib/brakeman.rb
CHANGED
@@ -114,6 +114,14 @@ module Brakeman
|
|
114
114
|
# After parsing the yaml config file for options, convert any string keys into symbols.
|
115
115
|
options.keys.select {|k| k.is_a? String}.map {|k| k.to_sym }.each {|k| options[k] = options[k.to_s]; options.delete(k.to_s) }
|
116
116
|
|
117
|
+
unless line_options[:allow_check_paths_in_config]
|
118
|
+
if options.include? :additional_checks_path
|
119
|
+
options.delete :additional_checks_path
|
120
|
+
|
121
|
+
notify "[Notice] Ignoring additional check paths in config file. Use --allow-check-paths-in-config to allow" unless (options[:quiet] || quiet)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
117
125
|
# notify if options[:quiet] and quiet is nil||false
|
118
126
|
notify "[Notice] Using configuration in #{config}" unless (options[:quiet] || quiet)
|
119
127
|
options
|
@@ -269,43 +277,6 @@ module Brakeman
|
|
269
277
|
end
|
270
278
|
end
|
271
279
|
|
272
|
-
#Installs Rake task for running Brakeman,
|
273
|
-
#which basically means copying `lib/brakeman/brakeman.rake` to
|
274
|
-
#`lib/tasks/brakeman.rake` in the current Rails application.
|
275
|
-
def self.install_rake_task install_path = nil
|
276
|
-
if install_path
|
277
|
-
rake_path = File.join(install_path, "Rakefile")
|
278
|
-
task_path = File.join(install_path, "lib", "tasks", "brakeman.rake")
|
279
|
-
else
|
280
|
-
rake_path = "Rakefile"
|
281
|
-
task_path = File.join("lib", "tasks", "brakeman.rake")
|
282
|
-
end
|
283
|
-
|
284
|
-
if not File.exist? rake_path
|
285
|
-
raise RakeInstallError, "No Rakefile detected"
|
286
|
-
elsif File.exist? task_path
|
287
|
-
raise RakeInstallError, "Task already exists"
|
288
|
-
end
|
289
|
-
|
290
|
-
require 'fileutils'
|
291
|
-
|
292
|
-
if not File.exist? "lib/tasks"
|
293
|
-
notify "Creating lib/tasks"
|
294
|
-
FileUtils.mkdir_p "lib/tasks"
|
295
|
-
end
|
296
|
-
|
297
|
-
path = File.expand_path(File.dirname(__FILE__))
|
298
|
-
|
299
|
-
FileUtils.cp "#{path}/brakeman/brakeman.rake", task_path
|
300
|
-
|
301
|
-
if File.exist? task_path
|
302
|
-
notify "Task created in #{task_path}"
|
303
|
-
notify "Usage: rake brakeman:run[output_file]"
|
304
|
-
else
|
305
|
-
raise RakeInstallError, "Could not create task"
|
306
|
-
end
|
307
|
-
end
|
308
|
-
|
309
280
|
#Output configuration to YAML
|
310
281
|
def self.dump_config options
|
311
282
|
require 'yaml'
|
@@ -534,7 +505,6 @@ module Brakeman
|
|
534
505
|
end
|
535
506
|
|
536
507
|
class DependencyError < RuntimeError; end
|
537
|
-
class RakeInstallError < RuntimeError; end
|
538
508
|
class NoBrakemanError < RuntimeError; end
|
539
509
|
class NoApplication < RuntimeError; end
|
540
510
|
class MissingChecksError < RuntimeError; end
|
@@ -115,7 +115,13 @@ class Brakeman::CheckSessionSettings < Brakeman::BaseCheck
|
|
115
115
|
yaml = @app_tree.read secrets_file
|
116
116
|
require 'date' # https://github.com/dtao/safe_yaml/issues/80
|
117
117
|
require 'safe_yaml/load'
|
118
|
-
|
118
|
+
begin
|
119
|
+
secrets = SafeYAML.load yaml
|
120
|
+
rescue Psych::SyntaxError, RuntimeError => e
|
121
|
+
Brakeman.notify "[Notice] #{self.class}: Unable to parse `#{secrets_file}`"
|
122
|
+
Brakeman.debug "Failed to parse #{secrets_file}: #{e.inspect}"
|
123
|
+
return
|
124
|
+
end
|
119
125
|
|
120
126
|
if secrets["production"] and secret = secrets["production"]["secret_key_base"]
|
121
127
|
unless secret.include? "<%="
|
@@ -164,7 +164,9 @@ class Brakeman::CheckSQL < Brakeman::BaseCheck
|
|
164
164
|
dangerous_value = case method
|
165
165
|
when :find
|
166
166
|
check_find_arguments call.second_arg
|
167
|
-
when :exists
|
167
|
+
when :exists?
|
168
|
+
check_exists call.first_arg
|
169
|
+
when :delete_all, :destroy_all
|
168
170
|
check_find_arguments call.first_arg
|
169
171
|
when :named_scope, :scope
|
170
172
|
check_scope_arguments call
|
@@ -633,6 +635,14 @@ class Brakeman::CheckSQL < Brakeman::BaseCheck
|
|
633
635
|
end
|
634
636
|
end
|
635
637
|
|
638
|
+
def check_exists arg
|
639
|
+
if call? arg and arg.method == :to_s
|
640
|
+
false
|
641
|
+
else
|
642
|
+
check_find_arguments arg
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
636
646
|
#Prior to Rails 2.1.1, the :offset and :limit parameters were not
|
637
647
|
#escaping input properly.
|
638
648
|
#
|