brakeman 3.6.1 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (408) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +15 -0
  3. data/bin/brakeman +0 -3
  4. data/bundle/load.rb +6 -6
  5. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/History.rdoc +29 -0
  6. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/Manifest.txt +0 -0
  7. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/README.rdoc +0 -0
  8. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/Rakefile +2 -0
  9. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/bin/ruby_parse +0 -0
  10. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/bin/ruby_parse_extract_error +0 -0
  11. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/compare/normalize.rb +0 -0
  12. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/rp_extensions.rb +0 -0
  13. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/rp_stringscanner.rb +0 -0
  14. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby18_parser.rb +2139 -2125
  15. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby18_parser.y +6 -2
  16. data/bundle/ruby/2.3.0/gems/ruby_parser-3.9.0/lib/ruby19_parser.rb +6175 -0
  17. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby19_parser.y +6 -2
  18. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby20_parser.rb +2431 -2419
  19. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby20_parser.y +6 -3
  20. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby21_parser.rb +2484 -2476
  21. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby21_parser.y +6 -3
  22. data/bundle/ruby/2.3.0/gems/ruby_parser-3.9.0/lib/ruby22_parser.rb +6796 -0
  23. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby22_parser.y +6 -3
  24. data/bundle/ruby/2.3.0/gems/ruby_parser-3.9.0/lib/ruby23_parser.rb +6797 -0
  25. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby23_parser.y +6 -3
  26. data/bundle/ruby/2.3.0/gems/ruby_parser-3.9.0/lib/ruby24_parser.rb +6797 -0
  27. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby24_parser.y +6 -3
  28. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_lexer.rb +0 -0
  29. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_lexer.rex +0 -0
  30. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_lexer.rex.rb +12 -6
  31. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_parser.rb +0 -0
  32. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_parser.yy +6 -3
  33. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/lib/ruby_parser_extras.rb +5 -1
  34. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/test/test_ruby_lexer.rb +0 -0
  35. data/bundle/ruby/2.3.0/gems/{ruby_parser-3.8.4 → ruby_parser-3.9.0}/test/test_ruby_parser.rb +9 -0
  36. 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
  37. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/CODE_OF_CONDUCT.md +0 -0
  38. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/CONTRIBUTING.md +0 -0
  39. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/MIT-LICENSE +0 -0
  40. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/README.md +0 -0
  41. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/REVISION +0 -0
  42. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/Rakefile +0 -0
  43. data/bundle/ruby/2.3.0/gems/sass-3.4.24/VERSION +1 -0
  44. data/bundle/ruby/2.3.0/gems/sass-3.4.24/VERSION_DATE +1 -0
  45. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/VERSION_NAME +0 -0
  46. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/bin/sass +0 -0
  47. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/bin/sass-convert +0 -0
  48. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/bin/scss +0 -0
  49. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/extra/sass-spec-ref.sh +0 -0
  50. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/extra/update_watch.rb +0 -0
  51. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/init.rb +0 -0
  52. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass.rb +0 -0
  53. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores.rb +0 -0
  54. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/base.rb +0 -0
  55. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/chain.rb +0 -0
  56. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/filesystem.rb +0 -0
  57. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/memory.rb +0 -0
  58. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/cache_stores/null.rb +0 -0
  59. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/callbacks.rb +0 -0
  60. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/css.rb +0 -0
  61. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/engine.rb +3 -3
  62. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/environment.rb +0 -0
  63. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/error.rb +3 -3
  64. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/exec.rb +0 -0
  65. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/exec/base.rb +0 -0
  66. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/exec/sass_convert.rb +0 -0
  67. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/exec/sass_scss.rb +0 -0
  68. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/features.rb +0 -0
  69. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/importers.rb +0 -0
  70. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/importers/base.rb +0 -0
  71. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/importers/deprecated_path.rb +0 -0
  72. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/importers/filesystem.rb +0 -0
  73. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/logger.rb +0 -0
  74. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/logger/base.rb +0 -0
  75. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/logger/delayed.rb +0 -0
  76. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/logger/log_level.rb +0 -0
  77. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/media.rb +0 -0
  78. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin.rb +0 -0
  79. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/compiler.rb +0 -0
  80. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/configuration.rb +0 -0
  81. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/generic.rb +0 -0
  82. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/merb.rb +0 -0
  83. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/rack.rb +1 -1
  84. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/rails.rb +0 -0
  85. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/plugin/staleness_checker.rb +2 -2
  86. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/railtie.rb +0 -0
  87. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/repl.rb +0 -0
  88. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/root.rb +0 -0
  89. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script.rb +2 -2
  90. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/css_lexer.rb +0 -0
  91. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/css_parser.rb +0 -0
  92. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/css_variable_warning.rb +0 -0
  93. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/functions.rb +4 -4
  94. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/lexer.rb +5 -5
  95. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/parser.rb +4 -4
  96. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree.rb +0 -0
  97. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/funcall.rb +0 -0
  98. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/interpolation.rb +0 -0
  99. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/list_literal.rb +0 -0
  100. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/literal.rb +0 -0
  101. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/map_literal.rb +0 -0
  102. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/node.rb +1 -1
  103. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/operation.rb +0 -0
  104. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/selector.rb +0 -0
  105. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/string_interpolation.rb +0 -0
  106. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/unary_operation.rb +0 -0
  107. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/tree/variable.rb +0 -0
  108. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value.rb +0 -0
  109. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/arg_list.rb +0 -0
  110. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/base.rb +2 -2
  111. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/bool.rb +0 -0
  112. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/color.rb +10 -10
  113. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/helpers.rb +0 -0
  114. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/list.rb +0 -0
  115. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/map.rb +0 -0
  116. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/null.rb +0 -0
  117. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/number.rb +1 -1
  118. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/script/value/string.rb +0 -0
  119. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss.rb +0 -0
  120. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss/css_parser.rb +0 -0
  121. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss/parser.rb +3 -3
  122. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss/rx.rb +1 -1
  123. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/scss/static_parser.rb +0 -0
  124. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector.rb +0 -0
  125. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/abstract_sequence.rb +5 -5
  126. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/comma_sequence.rb +0 -0
  127. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/pseudo.rb +0 -0
  128. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/sequence.rb +2 -2
  129. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/simple.rb +4 -4
  130. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/selector/simple_sequence.rb +0 -0
  131. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/shared.rb +1 -1
  132. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/source/map.rb +2 -2
  133. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/source/position.rb +4 -4
  134. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/source/range.rb +0 -0
  135. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/stack.rb +0 -0
  136. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/supports.rb +0 -0
  137. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/at_root_node.rb +0 -0
  138. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/charset_node.rb +0 -0
  139. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/comment_node.rb +1 -1
  140. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/content_node.rb +0 -0
  141. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/css_import_node.rb +0 -0
  142. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/debug_node.rb +0 -0
  143. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/directive_node.rb +0 -0
  144. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/each_node.rb +0 -0
  145. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/error_node.rb +0 -0
  146. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/extend_node.rb +0 -0
  147. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/for_node.rb +0 -0
  148. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/function_node.rb +0 -0
  149. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/if_node.rb +0 -0
  150. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/import_node.rb +0 -0
  151. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/keyframe_rule_node.rb +0 -0
  152. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/media_node.rb +0 -0
  153. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/mixin_def_node.rb +0 -0
  154. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/mixin_node.rb +0 -0
  155. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/node.rb +1 -1
  156. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/prop_node.rb +1 -1
  157. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/return_node.rb +0 -0
  158. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/root_node.rb +0 -0
  159. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/rule_node.rb +1 -1
  160. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/supports_node.rb +0 -0
  161. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/trace_node.rb +0 -0
  162. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/variable_node.rb +0 -0
  163. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/base.rb +0 -0
  164. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/check_nesting.rb +0 -0
  165. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/convert.rb +0 -0
  166. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/cssize.rb +0 -0
  167. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/deep_copy.rb +0 -0
  168. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/extend.rb +0 -0
  169. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/perform.rb +0 -0
  170. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/set_options.rb +0 -0
  171. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/visitors/to_css.rb +1 -1
  172. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/warn_node.rb +0 -0
  173. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/tree/while_node.rb +0 -0
  174. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util.rb +33 -8
  175. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/cross_platform_random.rb +0 -0
  176. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/multibyte_string_scanner.rb +0 -0
  177. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/normalized_map.rb +0 -0
  178. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/ordered_hash.rb +0 -0
  179. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/subset_map.rb +0 -0
  180. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/util/test.rb +0 -0
  181. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/lib/sass/version.rb +2 -2
  182. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/rails/init.rb +0 -0
  183. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass-spec.yml +0 -0
  184. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/cache_test.rb +0 -0
  185. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/callbacks_test.rb +0 -0
  186. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/compiler_test.rb +0 -0
  187. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/conversion_test.rb +0 -0
  188. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/css2sass_test.rb +0 -0
  189. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/css_variable_test.rb +0 -0
  190. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/data/hsl-rgb.txt +0 -0
  191. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/encoding_test.rb +0 -0
  192. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/engine_test.rb +0 -0
  193. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/exec_test.rb +0 -0
  194. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/extend_test.rb +38 -18
  195. 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
  196. 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
  197. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/functions_test.rb +0 -0
  198. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/importer_test.rb +0 -0
  199. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/logger_test.rb +0 -0
  200. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/mock_importer.rb +0 -0
  201. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_results/more1.css +0 -0
  202. 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
  203. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_results/more_import.css +0 -0
  204. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_templates/_more_partial.sass +0 -0
  205. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_templates/more1.sass +0 -0
  206. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/more_templates/more_import.sass +0 -0
  207. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/plugin_test.rb +0 -0
  208. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/alt.css +0 -0
  209. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/basic.css +0 -0
  210. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/cached_import_option.css +0 -0
  211. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/compact.css +0 -0
  212. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/complex.css +0 -0
  213. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/compressed.css +0 -0
  214. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/expanded.css +0 -0
  215. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/filename_fn.css +0 -0
  216. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/if.css +0 -0
  217. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import.css +0 -0
  218. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import_charset.css +0 -0
  219. 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
  220. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import_charset_ibm866.css +0 -0
  221. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/import_content.css +0 -0
  222. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/line_numbers.css +0 -0
  223. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/mixins.css +0 -0
  224. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/multiline.css +0 -0
  225. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/nested.css +0 -0
  226. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/options.css +0 -0
  227. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/parent_ref.css +0 -0
  228. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/script.css +0 -0
  229. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/scss_import.css +0 -0
  230. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/scss_importee.css +0 -0
  231. 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
  232. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/subdir/subdir.css +0 -0
  233. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/units.css +0 -0
  234. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/warn.css +0 -0
  235. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/results/warn_imported.css +0 -0
  236. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/script_conversion_test.rb +0 -0
  237. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/script_test.rb +0 -0
  238. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/scss/css_test.rb +0 -0
  239. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/scss/rx_test.rb +0 -0
  240. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/scss/scss_test.rb +0 -0
  241. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/scss/test_helper.rb +0 -0
  242. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/source_map_test.rb +0 -0
  243. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/superselector_test.rb +0 -0
  244. 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
  245. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_double_import_loop2.sass +0 -0
  246. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_filename_fn_import.scss +0 -0
  247. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_imported_charset_ibm866.sass +0 -0
  248. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_imported_charset_utf8.sass +0 -0
  249. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_imported_content.sass +0 -0
  250. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/_partial.sass +0 -0
  251. 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
  252. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/alt.sass +0 -0
  253. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/basic.sass +0 -0
  254. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork1.sass +0 -0
  255. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork2.sass +0 -0
  256. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork3.sass +0 -0
  257. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork4.sass +0 -0
  258. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/bork5.sass +0 -0
  259. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/cached_import_option.scss +0 -0
  260. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/compact.sass +0 -0
  261. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/complex.sass +0 -0
  262. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/compressed.sass +0 -0
  263. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/double_import_loop1.sass +0 -0
  264. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/expanded.sass +0 -0
  265. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/filename_fn.scss +0 -0
  266. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/if.sass +0 -0
  267. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import.sass +0 -0
  268. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import_charset.sass +0 -0
  269. 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
  270. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import_charset_ibm866.sass +0 -0
  271. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/import_content.sass +0 -0
  272. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/importee.less +0 -0
  273. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/importee.sass +0 -0
  274. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/line_numbers.sass +0 -0
  275. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/mixin_bork.sass +0 -0
  276. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/mixins.sass +0 -0
  277. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/multiline.sass +0 -0
  278. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested.sass +0 -0
  279. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_bork1.sass +0 -0
  280. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_bork2.sass +0 -0
  281. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_bork3.sass +0 -0
  282. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_bork4.sass +0 -0
  283. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_import.sass +0 -0
  284. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/nested_mixin_bork.sass +0 -0
  285. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/options.sass +0 -0
  286. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/parent_ref.sass +0 -0
  287. 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
  288. 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
  289. 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
  290. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/script.sass +0 -0
  291. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/scss_import.scss +0 -0
  292. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/scss_importee.scss +0 -0
  293. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/single_import_loop.sass +0 -0
  294. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/subdir/import_up1.scss +0 -0
  295. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/subdir/import_up2.scss +0 -0
  296. 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
  297. 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
  298. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/subdir/subdir.sass +0 -0
  299. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/units.sass +0 -0
  300. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/warn.sass +0 -0
  301. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/templates/warn_imported.sass +0 -0
  302. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/test_helper.rb +0 -0
  303. 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
  304. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/util/normalized_map_test.rb +0 -0
  305. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/util/subset_map_test.rb +0 -0
  306. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/util_test.rb +0 -0
  307. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/sass/value_helpers_test.rb +0 -0
  308. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/test/test_helper.rb +0 -0
  309. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/CHANGELOG.md +0 -0
  310. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/CONTRIBUTING.md +0 -0
  311. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/Gemfile +0 -0
  312. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/Guardfile +0 -0
  313. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/LICENSE +0 -0
  314. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/README.md +0 -0
  315. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/Rakefile +0 -0
  316. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/Vagrantfile +0 -0
  317. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen.rb +0 -0
  318. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapter.rb +0 -0
  319. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/bsd.rb +0 -0
  320. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/darwin.rb +0 -0
  321. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/linux.rb +0 -0
  322. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/polling.rb +0 -0
  323. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/adapters/windows.rb +0 -0
  324. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/directory_record.rb +0 -0
  325. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/listener.rb +0 -0
  326. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/turnstile.rb +0 -0
  327. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/lib/listen/version.rb +0 -0
  328. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/listen.gemspec +0 -0
  329. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/adapter_spec.rb +0 -0
  330. 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
  331. 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
  332. 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
  333. 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
  334. 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
  335. 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
  336. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/listener_spec.rb +0 -0
  337. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen/turnstile_spec.rb +0 -0
  338. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/listen_spec.rb +0 -0
  339. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/spec_helper.rb +0 -0
  340. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/adapter_helper.rb +0 -0
  341. 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
  342. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/fixtures_helper.rb +0 -0
  343. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/listeners_helper.rb +0 -0
  344. data/bundle/ruby/2.3.0/gems/{sass-3.4.23 → sass-3.4.24}/vendor/listen/spec/support/platform_helper.rb +0 -0
  345. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/History.txt +14 -0
  346. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/Manifest.txt +0 -0
  347. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/README.txt +0 -0
  348. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/Rakefile +0 -0
  349. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/composite_sexp_processor.rb +0 -0
  350. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/pt_testcase.rb +2 -2
  351. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/sexp.rb +29 -3
  352. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/sexp_processor.rb +2 -7
  353. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/lib/unique.rb +0 -0
  354. 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
  355. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/test/test_environment.rb +0 -0
  356. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/test/test_sexp.rb +57 -0
  357. data/bundle/ruby/2.3.0/gems/{sexp_processor-4.8.0 → sexp_processor-4.9.0}/test/test_sexp_processor.rb +0 -0
  358. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/Gemfile +0 -0
  359. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/History.rdoc +9 -0
  360. data/bundle/ruby/2.3.0/gems/terminal-table-1.8.0/LICENSE.txt +21 -0
  361. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/Manifest +0 -0
  362. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/README.rdoc +49 -40
  363. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/Rakefile +0 -0
  364. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/Todo.rdoc +0 -0
  365. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/examples/examples.rb +0 -0
  366. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table.rb +0 -0
  367. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/cell.rb +0 -0
  368. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/import.rb +0 -0
  369. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/row.rb +0 -0
  370. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/separator.rb +0 -0
  371. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/style.rb +3 -0
  372. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/table.rb +3 -3
  373. 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
  374. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/lib/terminal-table/version.rb +1 -1
  375. data/bundle/ruby/2.3.0/gems/{terminal-table-1.7.3 → terminal-table-1.8.0}/terminal-table.gemspec +1 -1
  376. data/bundle/ruby/2.3.0/gems/unicode-display_width-1.2.1/CHANGELOG.md +92 -0
  377. data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/MIT-LICENSE.txt +0 -0
  378. data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/README.md +19 -1
  379. data/bundle/ruby/2.3.0/gems/{unicode-display_width-1.1.3 → unicode-display_width-1.2.1}/Rakefile +1 -0
  380. data/bundle/ruby/2.3.0/gems/unicode-display_width-1.2.1/data/display_width.marshal.gz +0 -0
  381. 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
  382. 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
  383. 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
  384. 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
  385. 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
  386. 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
  387. 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
  388. data/lib/brakeman.rb +8 -38
  389. data/lib/brakeman/checks/base_check.rb +1 -0
  390. data/lib/brakeman/checks/check_session_settings.rb +7 -1
  391. data/lib/brakeman/checks/check_sql.rb +11 -1
  392. data/lib/brakeman/options.rb +4 -4
  393. data/lib/brakeman/parsers/template_parser.rb +14 -12
  394. data/lib/brakeman/processors/haml_template_processor.rb +8 -0
  395. data/lib/brakeman/processors/lib/find_return_value.rb +3 -1
  396. data/lib/brakeman/util.rb +1 -1
  397. data/lib/brakeman/version.rb +1 -1
  398. metadata +386 -389
  399. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/TEAST +0 -0
  400. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby19_parser.rb +0 -6165
  401. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby22_parser.rb +0 -6787
  402. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby23_parser.rb +0 -6790
  403. data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby24_parser.rb +0 -6790
  404. data/bundle/ruby/2.3.0/gems/sass-3.4.23/VERSION +0 -1
  405. data/bundle/ruby/2.3.0/gems/sass-3.4.23/VERSION_DATE +0 -1
  406. data/bundle/ruby/2.3.0/gems/unicode-display_width-1.1.3/CHANGELOG.txt +0 -81
  407. data/bundle/ruby/2.3.0/gems/unicode-display_width-1.1.3/data/display_width.marshal.gz +0 -0
  408. data/lib/brakeman/brakeman.rake +0 -17
@@ -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
- width = column_widths[n] || 0
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
@@ -1,5 +1,5 @@
1
1
  module Terminal
2
2
  class Table
3
- VERSION = '1.7.3'
3
+ VERSION = '1.8.0'
4
4
  end
5
5
  end
@@ -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
@@ -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:
@@ -37,6 +37,7 @@ desc "#{gemspec.name} | Test"
37
37
  task :test do
38
38
  sh "rspec spec"
39
39
  end
40
+ task :spec => :test
40
41
  task :default => :test
41
42
 
42
43
  # # #
@@ -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'
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
@@ -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
- # coding: utf-8
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.txt"]
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'
@@ -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
@@ -6,6 +6,7 @@ require 'brakeman/util'
6
6
  #Basis of vulnerability checks.
7
7
  class Brakeman::BaseCheck < Brakeman::SexpProcessor
8
8
  include Brakeman::ProcessorHelper
9
+ include Brakeman::SafeCallHelper
9
10
  include Brakeman::Util
10
11
  attr_reader :tracker, :warnings
11
12
 
@@ -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
- secrets = SafeYAML.load yaml
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?, :delete_all, :destroy_all
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
  #