brakeman 4.5.1 → 4.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (503) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +216 -109
  3. data/README.md +13 -6
  4. data/bundle/load.rb +14 -13
  5. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/CHANGES.txt +0 -0
  6. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/MIT-LICENSE +0 -0
  7. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/README.txt +0 -0
  8. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/erubis +0 -0
  9. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/erubis-run.rb +0 -0
  10. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/contrib/inline-require +0 -0
  11. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis.rb +0 -0
  12. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/context.rb +0 -0
  13. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/converter.rb +0 -0
  14. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine.rb +0 -0
  15. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +0 -0
  16. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +0 -0
  17. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +0 -0
  18. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +0 -0
  19. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +0 -0
  20. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +0 -0
  21. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +0 -0
  22. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +0 -0
  23. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +0 -0
  24. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +0 -0
  25. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/enhancer.rb +0 -0
  26. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/error.rb +0 -0
  27. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/evaluator.rb +0 -0
  28. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/generator.rb +0 -0
  29. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helper.rb +0 -0
  30. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +0 -0
  31. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +0 -0
  32. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/local-setting.rb +0 -0
  33. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/main.rb +0 -0
  34. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +0 -0
  35. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/tiny.rb +0 -0
  36. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/lib/erubis/util.rb +0 -0
  37. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/erubis-2.7.0/setup.rb +0 -0
  38. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/CHANGELOG.md +138 -4
  39. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/FAQ.md +4 -14
  40. data/bundle/ruby/2.7.0/gems/haml-5.2.1/Gemfile +16 -0
  41. data/bundle/ruby/2.7.0/gems/haml-5.2.1/MIT-LICENSE +20 -0
  42. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/README.md +79 -42
  43. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/REFERENCE.md +150 -71
  44. data/bundle/ruby/2.7.0/gems/haml-5.2.1/TODO +24 -0
  45. data/bundle/ruby/2.7.0/gems/haml-5.2.1/haml.gemspec +45 -0
  46. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml.rb +2 -0
  47. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_builder.rb +164 -0
  48. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_compiler.rb +235 -0
  49. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/attribute_parser.rb +150 -0
  50. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/buffer.rb +25 -132
  51. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/compiler.rb +330 -0
  52. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/engine.rb +34 -41
  53. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/error.rb +65 -0
  54. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/escapable.rb +77 -0
  55. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/exec.rb +38 -20
  56. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/filters.rb +22 -27
  57. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/generator.rb +42 -0
  58. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/helpers.rb +134 -89
  59. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/helpers/action_view_extensions.rb +4 -2
  60. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/helpers/action_view_mods.rb +45 -60
  61. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/helpers/action_view_xss_mods.rb +2 -0
  62. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/helpers/safe_erubi_template.rb +20 -0
  63. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/helpers/safe_erubis_template.rb +5 -1
  64. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/helpers/xss_mods.rb +23 -13
  65. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/options.rb +63 -69
  66. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/parser.rb +319 -227
  67. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/plugin.rb +37 -0
  68. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/railtie.rb +48 -0
  69. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/sass_rails_filter.rb +18 -4
  70. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/template.rb +13 -6
  71. data/bundle/ruby/{2.5.0/gems/haml-4.0.7 → 2.7.0/gems/haml-5.2.1}/lib/haml/template/options.rb +13 -2
  72. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/temple_engine.rb +123 -0
  73. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/temple_line_counter.rb +30 -0
  74. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/util.rb +258 -0
  75. data/bundle/ruby/2.7.0/gems/haml-5.2.1/lib/haml/version.rb +5 -0
  76. data/bundle/ruby/2.7.0/gems/haml-5.2.1/yard/default/fulldoc/html/css/common.sass +15 -0
  77. data/bundle/ruby/2.7.0/gems/haml-5.2.1/yard/default/layout/html/footer.erb +12 -0
  78. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/AUTHORS +0 -0
  79. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/COPYING +0 -0
  80. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/Changelog.md +3 -0
  81. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/Gemfile +0 -0
  82. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/LICENSE +0 -0
  83. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/README.md +0 -0
  84. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/TODO +0 -0
  85. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/appveyor.yml +0 -0
  86. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/highline.gemspec +0 -0
  87. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline.rb +0 -0
  88. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/builtin_styles.rb +0 -0
  89. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/color_scheme.rb +0 -0
  90. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/compatibility.rb +0 -0
  91. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/custom_errors.rb +0 -0
  92. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/import.rb +0 -0
  93. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/io_console_compatible.rb +0 -0
  94. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/list.rb +0 -0
  95. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/list_renderer.rb +0 -0
  96. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/menu.rb +0 -0
  97. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/menu/item.rb +0 -0
  98. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/paginator.rb +0 -0
  99. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/question.rb +0 -0
  100. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/question/answer_converter.rb +0 -0
  101. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/question_asker.rb +0 -0
  102. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/simulate.rb +0 -0
  103. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/statement.rb +0 -0
  104. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/string.rb +0 -0
  105. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/string_extensions.rb +0 -0
  106. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/style.rb +0 -0
  107. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/template_renderer.rb +0 -0
  108. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/terminal.rb +0 -0
  109. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/terminal/io_console.rb +0 -0
  110. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/terminal/ncurses.rb +0 -0
  111. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/terminal/unix_stty.rb +0 -0
  112. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/version.rb +1 -1
  113. data/bundle/ruby/{2.5.0/gems/highline-2.0.2 → 2.7.0/gems/highline-2.0.3}/lib/highline/wrapper.rb +0 -0
  114. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/Gemfile +6 -0
  115. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/LICENSE.txt +22 -0
  116. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/NEWS.md +141 -0
  117. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/README.md +60 -0
  118. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/attlistdecl.rb +63 -0
  119. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/attribute.rb +205 -0
  120. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/cdata.rb +68 -0
  121. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/child.rb +97 -0
  122. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/comment.rb +80 -0
  123. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/doctype.rb +287 -0
  124. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/document.rb +291 -0
  125. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/attlistdecl.rb +11 -0
  126. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/dtd.rb +47 -0
  127. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/elementdecl.rb +18 -0
  128. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/entitydecl.rb +57 -0
  129. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/dtd/notationdecl.rb +40 -0
  130. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/element.rb +1269 -0
  131. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/encoding.rb +51 -0
  132. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/entity.rb +171 -0
  133. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/default.rb +116 -0
  134. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/pretty.rb +142 -0
  135. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/formatters/transitive.rb +58 -0
  136. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/functions.rb +447 -0
  137. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/instruction.rb +79 -0
  138. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/light/node.rb +196 -0
  139. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/namespace.rb +59 -0
  140. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/node.rb +76 -0
  141. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/output.rb +30 -0
  142. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parent.rb +166 -0
  143. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parseexception.rb +52 -0
  144. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/baseparser.rb +594 -0
  145. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/lightparser.rb +59 -0
  146. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/pullparser.rb +197 -0
  147. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/sax2parser.rb +273 -0
  148. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/streamparser.rb +61 -0
  149. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/treeparser.rb +101 -0
  150. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/ultralightparser.rb +57 -0
  151. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/parsers/xpathparser.rb +675 -0
  152. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/quickpath.rb +266 -0
  153. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/rexml.rb +32 -0
  154. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/sax2listener.rb +98 -0
  155. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/security.rb +28 -0
  156. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/source.rb +298 -0
  157. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/streamlistener.rb +93 -0
  158. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/text.rb +424 -0
  159. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/undefinednamespaceexception.rb +9 -0
  160. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/relaxng.rb +539 -0
  161. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/validation.rb +144 -0
  162. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/validation/validationexception.rb +10 -0
  163. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xmldecl.rb +130 -0
  164. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xmltokens.rb +85 -0
  165. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xpath.rb +81 -0
  166. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/lib/rexml/xpath_parser.rb +968 -0
  167. data/bundle/ruby/2.7.0/gems/rexml-3.2.4/rexml.gemspec +84 -0
  168. data/bundle/ruby/{2.5.0/gems/ruby2ruby-2.4.2 → 2.7.0/gems/ruby2ruby-2.4.4}/History.rdoc +19 -5
  169. data/bundle/ruby/{2.5.0/gems/ruby2ruby-2.4.2 → 2.7.0/gems/ruby2ruby-2.4.4}/Manifest.txt +0 -0
  170. data/bundle/ruby/{2.5.0/gems/ruby2ruby-2.4.2 → 2.7.0/gems/ruby2ruby-2.4.4}/README.rdoc +0 -0
  171. data/bundle/ruby/{2.5.0/gems/ruby2ruby-2.4.2 → 2.7.0/gems/ruby2ruby-2.4.4}/lib/ruby2ruby.rb +122 -112
  172. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/History.rdoc +91 -0
  173. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/Manifest.txt +2 -0
  174. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/README.rdoc +3 -3
  175. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/compare/normalize.rb +43 -3
  176. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/debugging.md +57 -0
  177. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/rp_extensions.rb +0 -0
  178. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/rp_stringscanner.rb +0 -0
  179. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby20_parser.rb +7062 -0
  180. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1/lib/ruby_parser.yy → 2.7.0/gems/ruby_parser-3.15.0/lib/ruby20_parser.y} +473 -450
  181. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby21_parser.rb +7140 -0
  182. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby21_parser.y +482 -307
  183. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby22_parser.rb +7160 -0
  184. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby22_parser.y +483 -308
  185. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby23_parser.rb +7175 -0
  186. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby23_parser.y +483 -308
  187. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby24_parser.rb +7204 -0
  188. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby24_parser.y +487 -310
  189. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby25_parser.rb +7204 -0
  190. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby25_parser.y +487 -310
  191. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby26_parser.rb +7224 -0
  192. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby26_parser.y +493 -314
  193. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby27_parser.rb +7224 -0
  194. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby27_parser.y +2657 -0
  195. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby_lexer.rb +483 -459
  196. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby_lexer.rex +5 -6
  197. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby_lexer.rex.rb +6 -8
  198. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby_parser.rb +29 -27
  199. data/bundle/ruby/2.7.0/gems/ruby_parser-3.15.0/lib/ruby_parser.yy +2764 -0
  200. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/lib/ruby_parser_extras.rb +670 -420
  201. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/tools/munge.rb +10 -5
  202. data/bundle/ruby/{2.5.0/gems/ruby_parser-3.13.1 → 2.7.0/gems/ruby_parser-3.15.0}/tools/ripper.rb +13 -2
  203. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/History.rdoc +0 -0
  204. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/Manifest.txt +0 -0
  205. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/README.rdoc +0 -0
  206. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy.rb +0 -0
  207. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.rb +0 -0
  208. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.y +0 -0
  209. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.rb +0 -0
  210. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.y +0 -0
  211. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rb +0 -0
  212. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex +0 -0
  213. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex.rb +0 -0
  214. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb +0 -0
  215. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser_extras.rb +0 -0
  216. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/CHANGES.md +0 -0
  217. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/Gemfile +0 -0
  218. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/LICENSE.txt +0 -0
  219. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/README.md +0 -0
  220. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/bundle_install_all_ruby_versions.sh +0 -0
  221. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml.rb +0 -0
  222. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/deep.rb +0 -0
  223. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/libyaml_checker.rb +0 -0
  224. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb +0 -0
  225. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +0 -0
  226. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/hexadecimal.rb +0 -0
  227. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/sexagesimal.rb +0 -0
  228. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_handler.rb +0 -0
  229. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_resolver.rb +0 -0
  230. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/resolver.rb +0 -0
  231. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -0
  232. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +0 -0
  233. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_hack.rb +0 -0
  234. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_node_monkeypatch.rb +0 -0
  235. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_resolver.rb +0 -0
  236. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb +0 -0
  237. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_boolean.rb +0 -0
  238. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_date.rb +0 -0
  239. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_float.rb +0 -0
  240. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_integer.rb +0 -0
  241. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_nil.rb +0 -0
  242. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_symbol.rb +0 -0
  243. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/transformation_map.rb +0 -0
  244. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +0 -0
  245. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh +0 -0
  246. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/safe_yaml-1.0.5/safe_yaml.gemspec +0 -0
  247. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0 → 2.7.0/gems/sexp_processor-4.15.1}/History.rdoc +53 -0
  248. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0 → 2.7.0/gems/sexp_processor-4.15.1}/Manifest.txt +1 -0
  249. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0 → 2.7.0/gems/sexp_processor-4.15.1}/README.rdoc +0 -0
  250. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0 → 2.7.0/gems/sexp_processor-4.15.1}/lib/composite_sexp_processor.rb +0 -0
  251. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0 → 2.7.0/gems/sexp_processor-4.15.1}/lib/pt_testcase.rb +15 -17
  252. data/bundle/ruby/2.7.0/gems/sexp_processor-4.15.1/lib/sexp.rb +381 -0
  253. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0/lib/sexp.rb → 2.7.0/gems/sexp_processor-4.15.1/lib/sexp_matcher.rb} +67 -387
  254. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0 → 2.7.0/gems/sexp_processor-4.15.1}/lib/sexp_processor.rb +2 -2
  255. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0 → 2.7.0/gems/sexp_processor-4.15.1}/lib/strict_sexp.rb +0 -0
  256. data/bundle/ruby/{2.5.0/gems/sexp_processor-4.12.0 → 2.7.0/gems/sexp_processor-4.15.1}/lib/unique.rb +0 -0
  257. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/CHANGES +4 -0
  258. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/Gemfile +12 -13
  259. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/LICENSE +0 -0
  260. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/README.jp.md +0 -0
  261. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/README.md +0 -0
  262. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim.rb +0 -0
  263. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/code_attributes.rb +0 -0
  264. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/command.rb +13 -13
  265. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/controls.rb +0 -0
  266. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/do_inserter.rb +0 -0
  267. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/embedded.rb +0 -0
  268. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/end_inserter.rb +0 -0
  269. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/engine.rb +0 -0
  270. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/erb_converter.rb +0 -0
  271. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/filter.rb +0 -0
  272. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/grammar.rb +0 -0
  273. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/include.rb +0 -0
  274. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/interpolation.rb +0 -0
  275. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/logic_less.rb +0 -0
  276. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/logic_less/context.rb +0 -0
  277. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/logic_less/filter.rb +0 -0
  278. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/parser.rb +1 -1
  279. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/smart.rb +0 -0
  280. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/smart/escaper.rb +0 -0
  281. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/smart/filter.rb +0 -0
  282. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/smart/parser.rb +0 -0
  283. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/splat/builder.rb +0 -0
  284. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/splat/filter.rb +0 -0
  285. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/template.rb +0 -0
  286. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/translator.rb +0 -0
  287. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/lib/slim/version.rb +1 -1
  288. data/bundle/ruby/{2.5.0/gems/slim-4.0.1 → 2.7.0/gems/slim-4.1.0}/slim.gemspec +0 -0
  289. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/CHANGES +5 -0
  290. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/EXPRESSIONS.md +0 -0
  291. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/Gemfile +0 -0
  292. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/LICENSE +0 -0
  293. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/README.md +1 -1
  294. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple.rb +0 -0
  295. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/engine.rb +0 -0
  296. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/erb/engine.rb +0 -0
  297. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/erb/parser.rb +0 -0
  298. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/erb/template.rb +0 -0
  299. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/erb/trimming.rb +0 -0
  300. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/exceptions.rb +0 -0
  301. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filter.rb +0 -0
  302. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/code_merger.rb +0 -0
  303. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/control_flow.rb +0 -0
  304. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/dynamic_inliner.rb +0 -0
  305. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/encoding.rb +0 -0
  306. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/eraser.rb +0 -0
  307. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/escapable.rb +0 -0
  308. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/multi_flattener.rb +0 -0
  309. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/remove_bom.rb +0 -0
  310. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/static_analyzer.rb +0 -0
  311. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/static_merger.rb +0 -0
  312. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/string_splitter.rb +1 -1
  313. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/filters/validator.rb +0 -0
  314. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/generator.rb +0 -0
  315. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/array.rb +0 -0
  316. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/array_buffer.rb +0 -0
  317. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/erb.rb +0 -0
  318. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/rails_output_buffer.rb +0 -0
  319. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/generators/string_buffer.rb +0 -0
  320. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/grammar.rb +0 -0
  321. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/attribute_merger.rb +0 -0
  322. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/attribute_remover.rb +0 -0
  323. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/attribute_sorter.rb +0 -0
  324. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/dispatcher.rb +0 -0
  325. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/fast.rb +0 -0
  326. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/filter.rb +0 -0
  327. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/pretty.rb +0 -0
  328. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/html/safe.rb +0 -0
  329. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/map.rb +0 -0
  330. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/dispatcher.rb +0 -0
  331. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/engine_dsl.rb +0 -0
  332. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/grammar_dsl.rb +0 -0
  333. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/options.rb +0 -0
  334. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/mixins/template.rb +0 -0
  335. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/parser.rb +0 -0
  336. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/static_analyzer.rb +1 -1
  337. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/templates.rb +0 -0
  338. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/templates/rails.rb +0 -0
  339. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/templates/tilt.rb +0 -0
  340. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/lib/temple/utils.rb +0 -0
  341. data/bundle/ruby/2.7.0/gems/temple-0.8.2/lib/temple/version.rb +3 -0
  342. data/bundle/ruby/{2.5.0/gems/temple-0.8.1 → 2.7.0/gems/temple-0.8.2}/temple.gemspec +0 -0
  343. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Gemfile +0 -0
  344. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/History.rdoc +0 -0
  345. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/LICENSE.txt +0 -0
  346. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Manifest +0 -0
  347. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/README.rdoc +0 -0
  348. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/Todo.rdoc +0 -0
  349. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table.rb +0 -0
  350. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb +0 -0
  351. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/import.rb +0 -0
  352. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/row.rb +0 -0
  353. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb +0 -0
  354. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/style.rb +0 -0
  355. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/table.rb +0 -0
  356. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb +0 -0
  357. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/lib/terminal-table/version.rb +0 -0
  358. data/bundle/ruby/{2.5.0 → 2.7.0}/gems/terminal-table-1.8.0/terminal-table.gemspec +0 -0
  359. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/COPYING +0 -0
  360. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt.rb +1 -1
  361. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/asciidoc.rb +0 -0
  362. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/babel.rb +0 -0
  363. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/bluecloth.rb +0 -0
  364. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/builder.rb +0 -0
  365. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/coffee.rb +0 -0
  366. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/commonmarker.rb +0 -0
  367. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/creole.rb +0 -0
  368. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/csv.rb +0 -0
  369. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/dummy.rb +0 -0
  370. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/erb.rb +0 -0
  371. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/erubi.rb +0 -0
  372. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/erubis.rb +0 -0
  373. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/etanni.rb +0 -0
  374. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/haml.rb +0 -0
  375. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/kramdown.rb +0 -0
  376. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/less.rb +0 -0
  377. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/liquid.rb +0 -0
  378. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/livescript.rb +0 -0
  379. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/mapping.rb +0 -0
  380. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/markaby.rb +0 -0
  381. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/maruku.rb +0 -0
  382. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/nokogiri.rb +0 -0
  383. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/pandoc.rb +0 -0
  384. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/plain.rb +0 -0
  385. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/prawn.rb +0 -0
  386. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/radius.rb +0 -0
  387. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/rdiscount.rb +0 -0
  388. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/rdoc.rb +0 -0
  389. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/redcarpet.rb +0 -0
  390. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/redcloth.rb +0 -0
  391. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/rst-pandoc.rb +0 -0
  392. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/sass.rb +0 -0
  393. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/sigil.rb +0 -0
  394. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/string.rb +0 -0
  395. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/template.rb +7 -12
  396. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/typescript.rb +0 -0
  397. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/wikicloth.rb +0 -0
  398. data/bundle/ruby/{2.5.0/gems/tilt-2.0.9 → 2.7.0/gems/tilt-2.0.10}/lib/tilt/yajl.rb +0 -0
  399. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.6.0 → 2.7.0/gems/unicode-display_width-1.7.0}/CHANGELOG.md +8 -0
  400. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.6.0 → 2.7.0/gems/unicode-display_width-1.7.0}/MIT-LICENSE.txt +1 -1
  401. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.6.0 → 2.7.0/gems/unicode-display_width-1.7.0}/README.md +3 -3
  402. data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/data/display_width.marshal.gz +0 -0
  403. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.6.0 → 2.7.0/gems/unicode-display_width-1.7.0}/lib/unicode/display_width.rb +1 -1
  404. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.6.0 → 2.7.0/gems/unicode-display_width-1.7.0}/lib/unicode/display_width/constants.rb +2 -2
  405. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.6.0 → 2.7.0/gems/unicode-display_width-1.7.0}/lib/unicode/display_width/index.rb +0 -0
  406. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.6.0 → 2.7.0/gems/unicode-display_width-1.7.0}/lib/unicode/display_width/no_string_ext.rb +0 -0
  407. data/bundle/ruby/{2.5.0/gems/unicode-display_width-1.6.0 → 2.7.0/gems/unicode-display_width-1.7.0}/lib/unicode/display_width/string_ext.rb +0 -0
  408. data/lib/brakeman.rb +24 -0
  409. data/lib/brakeman/call_index.rb +54 -15
  410. data/lib/brakeman/checks/base_check.rb +62 -56
  411. data/lib/brakeman/checks/check_basic_auth.rb +2 -0
  412. data/lib/brakeman/checks/check_content_tag.rb +1 -2
  413. data/lib/brakeman/checks/check_cookie_serialization.rb +22 -0
  414. data/lib/brakeman/checks/check_cross_site_scripting.rb +4 -4
  415. data/lib/brakeman/checks/check_csrf_token_forgery_cve.rb +28 -0
  416. data/lib/brakeman/checks/check_deserialize.rb +24 -7
  417. data/lib/brakeman/checks/check_execute.rb +65 -5
  418. data/lib/brakeman/checks/check_file_access.rb +7 -1
  419. data/lib/brakeman/checks/check_header_dos.rb +2 -2
  420. data/lib/brakeman/checks/check_i18n_xss.rb +2 -2
  421. data/lib/brakeman/checks/check_jruby_xml.rb +2 -2
  422. data/lib/brakeman/checks/check_json_entity_escape.rb +38 -0
  423. data/lib/brakeman/checks/check_json_parsing.rb +2 -2
  424. data/lib/brakeman/checks/check_link_to.rb +1 -1
  425. data/lib/brakeman/checks/check_link_to_href.rb +1 -3
  426. data/lib/brakeman/checks/check_mass_assignment.rb +34 -4
  427. data/lib/brakeman/checks/check_mime_type_dos.rb +2 -2
  428. data/lib/brakeman/checks/check_model_attr_accessible.rb +1 -1
  429. data/lib/brakeman/checks/check_model_attributes.rb +1 -1
  430. data/lib/brakeman/checks/check_nested_attributes_bypass.rb +1 -1
  431. data/lib/brakeman/checks/check_page_caching_cve.rb +37 -0
  432. data/lib/brakeman/checks/check_permit_attributes.rb +1 -1
  433. data/lib/brakeman/checks/check_regex_dos.rb +1 -1
  434. data/lib/brakeman/checks/check_reverse_tabnabbing.rb +58 -0
  435. data/lib/brakeman/checks/check_sanitize_methods.rb +2 -2
  436. data/lib/brakeman/checks/check_session_settings.rb +5 -2
  437. data/lib/brakeman/checks/check_skip_before_filter.rb +4 -4
  438. data/lib/brakeman/checks/check_sql.rb +24 -33
  439. data/lib/brakeman/checks/check_template_injection.rb +32 -0
  440. data/lib/brakeman/checks/check_xml_dos.rb +2 -2
  441. data/lib/brakeman/checks/check_yaml_parsing.rb +10 -18
  442. data/lib/brakeman/commandline.rb +25 -1
  443. data/lib/brakeman/differ.rb +16 -33
  444. data/lib/brakeman/file_parser.rb +9 -8
  445. data/lib/brakeman/file_path.rb +14 -0
  446. data/lib/brakeman/options.rb +21 -1
  447. data/lib/brakeman/parsers/haml_embedded.rb +1 -1
  448. data/lib/brakeman/parsers/template_parser.rb +3 -1
  449. data/lib/brakeman/processor.rb +2 -2
  450. data/lib/brakeman/processors/alias_processor.rb +19 -6
  451. data/lib/brakeman/processors/base_processor.rb +2 -0
  452. data/lib/brakeman/processors/controller_processor.rb +5 -5
  453. data/lib/brakeman/processors/gem_processor.rb +10 -2
  454. data/lib/brakeman/processors/haml_template_processor.rb +94 -123
  455. data/lib/brakeman/processors/lib/call_conversion_helper.rb +6 -5
  456. data/lib/brakeman/processors/lib/find_all_calls.rb +57 -18
  457. data/lib/brakeman/processors/lib/find_call.rb +3 -64
  458. data/lib/brakeman/processors/lib/rails2_config_processor.rb +1 -1
  459. data/lib/brakeman/processors/lib/render_helper.rb +3 -1
  460. data/lib/brakeman/processors/output_processor.rb +1 -1
  461. data/lib/brakeman/processors/template_alias_processor.rb +33 -0
  462. data/lib/brakeman/processors/template_processor.rb +10 -6
  463. data/lib/brakeman/report.rb +11 -1
  464. data/lib/brakeman/report/ignore/config.rb +10 -2
  465. data/lib/brakeman/report/report_junit.rb +104 -0
  466. data/lib/brakeman/report/report_markdown.rb +0 -1
  467. data/lib/brakeman/report/report_sarif.rb +114 -0
  468. data/lib/brakeman/report/report_text.rb +41 -21
  469. data/lib/brakeman/rescanner.rb +4 -0
  470. data/lib/brakeman/scanner.rb +4 -1
  471. data/lib/brakeman/tracker.rb +29 -3
  472. data/lib/brakeman/tracker/config.rb +43 -75
  473. data/lib/brakeman/tracker/constants.rb +10 -8
  474. data/lib/brakeman/tracker/controller.rb +1 -1
  475. data/lib/brakeman/util.rb +23 -5
  476. data/lib/brakeman/version.rb +1 -1
  477. data/lib/brakeman/warning.rb +4 -0
  478. data/lib/brakeman/warning_codes.rb +10 -0
  479. data/lib/ruby_parser/bm_sexp.rb +16 -11
  480. metadata +422 -343
  481. data/bundle/ruby/2.5.0/gems/haml-4.0.7/MIT-LICENSE +0 -20
  482. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/compiler.rb +0 -540
  483. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/error.rb +0 -61
  484. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/railtie.rb +0 -22
  485. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/template/plugin.rb +0 -41
  486. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/util.rb +0 -377
  487. data/bundle/ruby/2.5.0/gems/haml-4.0.7/lib/haml/version.rb +0 -3
  488. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/debugging.md +0 -18
  489. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/lib/ruby20_parser.rb +0 -6869
  490. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/lib/ruby20_parser.y +0 -2431
  491. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/lib/ruby21_parser.rb +0 -6944
  492. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/lib/ruby22_parser.rb +0 -6968
  493. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/lib/ruby23_parser.rb +0 -6987
  494. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/lib/ruby24_parser.rb +0 -6994
  495. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/lib/ruby25_parser.rb +0 -6994
  496. data/bundle/ruby/2.5.0/gems/ruby_parser-3.13.1/lib/ruby26_parser.rb +0 -7012
  497. data/bundle/ruby/2.5.0/gems/temple-0.8.1/lib/temple/version.rb +0 -3
  498. data/bundle/ruby/2.5.0/gems/tilt-2.0.9/CHANGELOG.md +0 -132
  499. data/bundle/ruby/2.5.0/gems/tilt-2.0.9/Gemfile +0 -70
  500. data/bundle/ruby/2.5.0/gems/tilt-2.0.9/HACKING +0 -16
  501. data/bundle/ruby/2.5.0/gems/tilt-2.0.9/README.md +0 -233
  502. data/bundle/ruby/2.5.0/gems/tilt-2.0.9/tilt.gemspec +0 -130
  503. data/bundle/ruby/2.5.0/gems/unicode-display_width-1.6.0/data/display_width.marshal.gz +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b421b3c9b1e3511d9f76869f86e07c04ce9267569d5d4f2d0965d8ce7303b93
4
- data.tar.gz: 1189f4d043614c6624148f72b855db712c3297a51e4c87dcf12afa3a55150554
3
+ metadata.gz: 1266c840ed2a8f9b6e44686cba353eb6f75eb8d4ec87c7bbdcc56d81785b9227
4
+ data.tar.gz: a0ed358121968434f3289b25685970d338d72f1d1f97b0c27103a81a9792cb16
5
5
  SHA512:
6
- metadata.gz: d3217750dd567855b96f0ad573f4386c07ba6540781e93da79305cc78e5dbd900a770bb7c06e068f539442b2aa6dfcf407b3be92c219cc0b139f1b11cfa4e1f5
7
- data.tar.gz: 158479b5adb292bd783c817606a2bef28f114a6043e7bd906ba4ef8a6f56696028c86dfa0872e494b9a39a9b52bf8fec217ef5d463f987317eeb3bf485323e6e
6
+ metadata.gz: 22f064e0f38f304c3d9a18e0c7d36999b7161f9e33ff5c5cd4bca669d19b331e0f92651eb238faf1fd58de66c14da166d7de89353913d806d970f77eb87fa992
7
+ data.tar.gz: 4345e389eb3f592139f32cf70b8d618fcb8695cee9f4a8398fdaa636ac5e9be7b2b0ebe6667810f5cd0667f33898effcd9fbf8beac36f48883da73b68fa7c76f
data/CHANGES.md CHANGED
@@ -1,4 +1,111 @@
1
- # 4.5.1
1
+ # 4.10.1 - 2020-12-24
2
+
3
+ * Declare REXML as a dependency (Ruby 3.0 compatibility)
4
+ * Use `Sexp#sexp_body` instead of `Sexp#[..]` (Ruby 3.0 compatibility)
5
+ * Prevent render loops when template names are absolute paths
6
+ * Ensure RubyParser is passed file path as a String
7
+ * Support new Haml 5.2.0 escaping method
8
+
9
+ # 4.10.0 - 2020-09-28
10
+
11
+ * Add SARIF report format (Steve Winton)
12
+
13
+ # 4.9.1 - 2020-09-04
14
+
15
+ * Check `chomp`ed strings for SQL injection
16
+ * Use version from `active_record` for non-Rails apps (Ulysse Buonomo)
17
+ * Always set line number for joined arrays
18
+ * Avoid warning about missing `attr_accessible` if `protected_attributes` gem is used
19
+
20
+ # 4.9.0 - 2020-08-04
21
+
22
+ * Add check for CVE-2020-8166 (Jamie Finnigan)
23
+ * Avoid warning when `safe_yaml` is used via `YAML.load(..., safe: true)`
24
+ * Add check for user input in `ERB.new` (Matt Hickman)
25
+ * Add `--ensure-ignore-notes` (Eli Block)
26
+ * Remove whitelist/blacklist language, add clarifications
27
+ * Do not warn about mass assignment with `params.permit!.slice`
28
+ * Add "full call" information to call index results
29
+ * Ignore `params.permit!` in path helpers
30
+ * Treat `Dir.glob` as safe source of values in guards
31
+ * Always scan `environment.rb`
32
+
33
+ # 4.8.2 - 2020-05-12
34
+
35
+ * Add check for CVE-2020-8159
36
+ * Fix `authenticate_or_request_with_http_basic` check for passed blocks (Hugo Corbucci)
37
+ * Add `--text-fields` option
38
+ * Add check for escaping HTML entities in JSON configuration
39
+
40
+ # 4.8.1 - 2020-04-06
41
+
42
+ * Check SQL query strings using `String#strip` or `String.squish`
43
+ * Handle non-symbol keys in locals hash for render()
44
+ * Warn about global(!) mass assignment
45
+ * Index calls in render arguments
46
+
47
+ # 4.8.0 - 2020-02-18
48
+
49
+ * Add JUnit-XML report format (Naoki Kimura)
50
+ * Sort ignore files by fingerprint and line (Ngan Pham)
51
+ * Freeze call index results
52
+ * Fix output test when using newer Minitest
53
+ * Properly render confidence in Markdown report
54
+ * Report old warnings as fixed if zero warnings reported
55
+ * Catch dangerous concatenation in `CheckExecute` (Jacob Evelyn)
56
+ * Show user-friendly message when ignore config file has invalid JSON (D. Hicks)
57
+ * Initialize Rails version with `nil` (Carsten Wirth)
58
+
59
+ # 4.7.2 - 2019-11-25
60
+
61
+ * Remove version guard for `named_scope` vs. `scope`
62
+ * Find SQL injection in `String#strip_heredoc` target
63
+ * Handle more `permit!` cases
64
+ * Ensure file name is set when processing model
65
+ * Add `request.params` as query parameters
66
+
67
+ # 4.7.1 - 2019-10-29
68
+
69
+ * Check string length against limit before joining
70
+ * Fix errors from frozen `Symbol#to_s` in Ruby 2.7
71
+ * Fix flaky rails4 test (Adam Kiczula)
72
+ * Added release dates to each version in CHANGES (TheSpartan1980)
73
+ * Catch reverse tabnabbing with `:_blank` symbol (Jacob Evelyn)
74
+ * Convert `s(:lambda)` to `s(:call)` in `Sexp#block_call`
75
+ * Sort text report by file and line (Jacob Evelyn)
76
+
77
+ # 4.7.0 - 2019-10-16
78
+
79
+ * Refactor `Brakeman::Differ#second_pass` (Benoit Côté-Jodoin)
80
+ * Ignore interpolation in `%W[]`
81
+ * Fix `version_between?` (Andrey Glushkov)
82
+ * Add support for `ruby_parser` 3.14.0
83
+ * Ignore `form_for` for XSS check
84
+ * Update Haml support to Haml 5.x
85
+ * Catch shell injection from `-c` shell commands (Jacob Evelyn)
86
+ * Correctly handle non-symbols in `CheckCookieSerialization` (Phil Turnbull)
87
+
88
+ # 4.6.1 - 2019-07-24
89
+
90
+ * Fix Reverse Tabnabbing warning message (Steffen Schildknecht / Jörg Schiller)
91
+
92
+ # 4.6.0 - 2019-07-23
93
+
94
+ * Skip calls to `dup`
95
+ * Add reverse tabnabbing check (Linos Giannopoulos)
96
+ * Better handling of gems with no version declared
97
+ * Warn people that Haml 5 is not fully supported (Jared Beck)
98
+ * Avoid warning about file access with `ActiveStorage::Filename#sanitized` (Tejas Bubane)
99
+ * Update loofah version for fixing CVE-2018-8048 (Markus Nölle)
100
+ * Restore `Warning#relative_path`
101
+ * Add check for cookie serialization with Marshal
102
+ * Index calls in initializers
103
+ * Improve template output handling in conditional branches
104
+ * Avoid assigning `nil` line numbers to `Sexp`s
105
+ * Add special warning code for custom checks
106
+ * Add call matching by regular expression
107
+
108
+ # 4.5.1 - 2019-05-11
2
109
 
3
110
  * Add `Brakeman::FilePath` to represent file paths
4
111
  * Handle trailing comma in block args
@@ -13,7 +120,7 @@
13
120
  * Add initial Rails 6 support
14
121
  * Add SQL injection checks for `destroy_by`/`delete_by`
15
122
 
16
- # 4.5.0
123
+ # 4.5.0 - 2019-03-16
17
124
 
18
125
  * Update `ruby_parser`, use `ruby_parser-legacy`
19
126
  * More thoroughly handle `Shellwords` escaping
@@ -30,7 +137,7 @@
30
137
  * Better handling of splat/kwsplat arguments
31
138
  * Improve "user input" reported for SQL injection
32
139
 
33
- # 4.4.0
140
+ # 4.4.0 - 2019-01-17
34
141
 
35
142
  * Set default encoding to UTF-8
36
143
  * Update to Slim 4.0.1 (Jake Peterson)
@@ -53,7 +160,7 @@
53
160
  * Complete overhaul of warning message construction
54
161
  * Deadcode and typo fixes found via Coverity
55
162
 
56
- # 4.3.1
163
+ # 4.3.1 - 2018-06-07
57
164
 
58
165
  * Ignore `Object#freeze`, use the target instead
59
166
  * Ignore `foreign_key` calls in SQL
@@ -66,7 +173,7 @@
66
173
  * Improve handling of conditionals in shell commands (Jacob Evelyn)
67
174
  * Fix error when setting line number in implicit renders
68
175
 
69
- # 4.3.0
176
+ # 4.3.0 - 2018-05-11
70
177
 
71
178
  * Check exec-type calls even if they are targets
72
179
  * Convert `Array#join` to string interpolation
@@ -82,14 +189,14 @@
82
189
  * `--color` can be used to force color output
83
190
  * Fix reported line numbers for CVE-2018-3741 and CVE-2018-8048
84
191
 
85
- # 4.2.1
192
+ # 4.2.1 - 2018-03-24
86
193
 
87
194
  * Add warning for CVE-2018-3741
88
195
  * Add warning for CVE-2018-8048
89
196
  * Scan `app/jobs/` directory
90
197
  * Handle `template_exists?` in controllers
91
198
 
92
- # 4.2.0
199
+ # 4.2.0 - 2018-02-22
93
200
 
94
201
  * Avoid warning about symbol DoS on `Model#attributes`
95
202
  * Avoid warning about open redirects with model methods ending with `_path`
@@ -102,12 +209,12 @@
102
209
  * Exclude template folders in `lib/` (kru0096)
103
210
  * Handle ERb use of `String#<<` method for Ruby 2.5 (Pocke)
104
211
 
105
- # 4.1.1
212
+ # 4.1.1 - 2017-12-19
106
213
 
107
214
  * Remove check for use of `permit` with `*_id` keys
108
215
  * Avoid duplicate warnings about permitted attributes
109
216
 
110
- # 4.1.0
217
+ # 4.1.0 - 2017-12-14
111
218
 
112
219
  * Process models as root sexp instead of each sexp
113
220
  * Avoid CSRF warning in Rails 5.2 default config
@@ -130,12 +237,12 @@
130
237
  * Refactor Code Climate engine options parsing (Noah Davis)
131
238
  * Fix upgrade version for CVE-2016-6316
132
239
 
133
- # 4.0.1
240
+ # 4.0.1 - 2017-09-25
134
241
 
135
242
  * Disable pager when `CI` environment variable is set
136
243
  * Fix output when pager fails
137
244
 
138
- # 4.0.0
245
+ # 4.0.0 - 2017-09-25
139
246
 
140
247
  * Add simple pager for reports output to terminal
141
248
  * Rename "Cross Site Scripting" to "Cross-Site Scripting" (Paul Tetreau)
@@ -149,11 +256,11 @@
149
256
  * --exit-on-error and --exit-on-warn are now the default
150
257
  * Fix --exit-on-error and --exit-on-warn in config files
151
258
 
152
- # 3.7.2
259
+ # 3.7.2 - 2017-08-16
153
260
 
154
261
  * Fix --ensure-latest (David Guyon)
155
262
 
156
- # 3.7.1
263
+ # 3.7.1 - 2017-08-16
157
264
 
158
265
  * Handle simple guard with return at end of branch
159
266
  * Modularize bin/brakeman
@@ -161,7 +268,7 @@
161
268
  * Add more collection methods for iteration detection
162
269
  * Update ruby2ruby and ruby_parser
163
270
 
164
- # 3.7.0
271
+ # 3.7.0 - 2017-06-30
165
272
 
166
273
  * Improve support for rails4/rails5 options in config file
167
274
  * Track more information about constant assignments
@@ -170,7 +277,7 @@
170
277
  * Fix false positive for redirect_to in Rails 4 (Mário Areias)
171
278
  * Avoid interpolating hashes/arrays on failed access
172
279
 
173
- # 3.6.2
280
+ # 3.6.2 - 2017-05-19
174
281
 
175
282
  * Handle safe call operator in checks
176
283
  * Better handling of `if` expressions in HAML rendering
@@ -185,11 +292,11 @@
185
292
  * Handle empty `if` expressions when finding return values
186
293
  * Fix finding return value from empty `if`
187
294
 
188
- # 3.6.1
295
+ # 3.6.1 - 2017-03-24
189
296
 
190
297
  * Fix error when using `--compare` (Sean Gransee)
191
298
 
192
- # 3.6.0
299
+ # 3.6.0 - 2017-03-23
193
300
 
194
301
  * Avoid recursive Concerns
195
302
  * Branch inside of `case` expressions
@@ -200,7 +307,7 @@
200
307
  * Only report CVE-2015-3227 when exact version is known
201
308
  * Check targetless SQL calls outside of known models
202
309
 
203
- # 3.5.0
310
+ # 3.5.0 - 2017-02-01
204
311
 
205
312
  * Allow `-t None`
206
313
  * Fail on invalid checks specified by `-x` or `-t`
@@ -215,7 +322,7 @@
215
322
  * Handle `included` block in concerns
216
323
  * Process concerns before controllers
217
324
 
218
- # 3.4.1
325
+ # 3.4.1 - 2016-11-02
219
326
 
220
327
  * Show action help at start of interactive ignore
221
328
  * Check CSRF setting in direct subclasses of `ActionController::Base` (Jason Yeo)
@@ -225,7 +332,7 @@
225
332
  * Avoid warning about `where_values_hash` in SQLi
226
333
  * Fix ignoring link interpolation not at beginning of string
227
334
 
228
- # 3.4.0
335
+ # 3.4.0 - 2016-09-08
229
336
 
230
337
  * Add new `plain` report format
231
338
  * Add option to prune ignore file with `-I`
@@ -234,18 +341,18 @@
234
341
  * Support creating reports in non-existent paths
235
342
  * Add `--no-exit-warn`
236
343
 
237
- # 3.3.5
344
+ # 3.3.5 - 2016-08-12
238
345
 
239
346
  * Fix bug in reports when using --debug option
240
347
 
241
- # 3.3.4
348
+ # 3.3.4 - 2016-08-12
242
349
 
243
350
  * Add generic warning for CVE-2016-6316
244
351
  * Warn about dangerous use of `content_tag` with CVE-2016-6316
245
352
  * Add warning for CVE-2016-6317
246
353
  * Use Minitest
247
354
 
248
- # 3.3.3
355
+ # 3.3.3 - 2016-07-21
249
356
 
250
357
  * Show path when no Rails app found (Neil Matatall)
251
358
  * Index calls in view helpers
@@ -258,11 +365,11 @@
258
365
  * Sexp#value returns nil when there is no value
259
366
  * Improve return value estimation
260
367
 
261
- # 3.3.2
368
+ # 3.3.2 - 2016-06-10
262
369
 
263
370
  * Fix serious performance regression with global constant tracking
264
371
 
265
- # 3.3.1
372
+ # 3.3.1 - 2016-06-03
266
373
 
267
374
  * Delay loading vendored gems and modifying load path
268
375
  * Avoid warning about SQL injection with `quoted_primary_key`
@@ -273,7 +380,7 @@
273
380
  * Add `--force-scan` option (Neil Matatall)
274
381
  * Improved line number accuracy in ERB templates (Patrick Toomey)
275
382
 
276
- # 3.3.0
383
+ # 3.3.0 - 2016-05-05
277
384
 
278
385
  * Skip processing obviously false if branches (more broadly)
279
386
  * Skip if branches with `Rails.env.test?`
@@ -291,11 +398,11 @@
291
398
  * [Code Climate engine] Remove nil entries from include_paths (Gordon Diggs)
292
399
  * [Code Climate engine] Report end lines for issues (Gordon Diggs)
293
400
 
294
- # 3.2.1
401
+ # 3.2.1 - 2016-02-25
295
402
 
296
403
  * Remove `multi_json` dependency from `bin/brakeman`
297
404
 
298
- # 3.2.0
405
+ # 3.2.0 - 2016-02-25
299
406
 
300
407
  * Skip Symbol DoS check on Rails 5
301
408
  * Only update ignore config file on changes
@@ -309,7 +416,7 @@
309
416
  * Avoid render warnings about params[:action]/params[:controller]
310
417
  * Index calls in class bodies but outside methods
311
418
 
312
- # 3.1.5
419
+ # 3.1.5 - 2016-01-28
313
420
 
314
421
  * Fix CodeClimate construction of --only-files (Will Fleming)
315
422
  * Add check for denial of service via routes (CVE-2015-7581)
@@ -328,7 +435,7 @@
328
435
  * Handle module names with self methods
329
436
  * Add session manipulation documentation
330
437
 
331
- # 3.1.4
438
+ # 3.1.4 - 2015-12-22
332
439
 
333
440
  * Emit brakeman's native fingerprints for Code Climate engine (Noah Davis)
334
441
  * Ignore secrets.yml if in .gitignore
@@ -336,7 +443,7 @@
336
443
  * Increase test coverage for option parsing (Zander Mackie)
337
444
  * Work around safe_yaml error
338
445
 
339
- # 3.1.3
446
+ # 3.1.3 - 2015-12-03
340
447
 
341
448
  * Check for session secret in secrets.yml
342
449
  * Respect `exit_on_warn` in config file
@@ -350,7 +457,7 @@
350
457
  * Depend on safe_yaml 1.0 or later
351
458
  * Test coverage improvements for Brakema module (Bethany Rentz)
352
459
 
353
- # 3.1.2
460
+ # 3.1.2 - 2015-10-28
354
461
 
355
462
  * Treat `current_user` like a model
356
463
  * Set user input value for inline renders
@@ -368,7 +475,7 @@
368
475
  * Sortable tables in HTML report (David Lanner)
369
476
  * Search for config file relative to application root
370
477
 
371
- # 3.1.1
478
+ # 3.1.1 - 2015-09-23
372
479
 
373
480
  * Add optional check for use of MD5 and SHA1
374
481
  * Avoid warning when linking to decorated models
@@ -382,7 +489,7 @@
382
489
  * Support newer terminal-table releases
383
490
  * Allow searching call index methods by regex (Alex Ianus)
384
491
 
385
- # 3.1.0
492
+ # 3.1.0 - 2015-08-31
386
493
 
387
494
  * Add support for gems.rb/gems.locked
388
495
  * Update render path information in JSON reports
@@ -401,18 +508,18 @@
401
508
  * Expand safe methods to match methods with targets
402
509
  * Avoid duplicate eval() warnings
403
510
 
404
- # 3.0.5
511
+ # 3.0.5 - 2015-06-20
405
512
 
406
513
  * Fix check for CVE-2015-3227
407
514
 
408
- # 3.0.4
515
+ # 3.0.4 - 2015-06-18
409
516
 
410
517
  * Add check for CVE-2015-3226 (XSS via JSON keys)
411
518
  * Add check for CVE-2015-3227 (XML DoS)
412
519
  * Treat `<%==` as unescaped output
413
520
  * Update `ruby_parser` dependency to 3.7.0
414
521
 
415
- # 3.0.3
522
+ # 3.0.3 - 2015-04-20
416
523
 
417
524
  * Ignore more Arel methods in SQL
418
525
  * Warn about protect_from_forgery without exceptions (Neil Matatall)
@@ -423,7 +530,7 @@
423
530
  * Do not ignore targets of `to_s` in SQL
424
531
  * Add Rake task to exit with error code on warnings (masarakki)
425
532
 
426
- # 3.0.2
533
+ # 3.0.2 - 2015-03-09
427
534
 
428
535
  * Alias process methods called in class scope on models
429
536
  * Treat primary_key, table_name_prefix, table_name_suffix as safe in SQL
@@ -439,7 +546,7 @@
439
546
  * Fix CSV output when there are no warnings
440
547
  * Handle processing of explicitly shadowed block arguments
441
548
 
442
- # 3.0.1
549
+ # 3.0.1 - 2015-01-23
443
550
 
444
551
  * Avoid protect_from_forgery warning unless ApplicationController inherits from ActionController::Base
445
552
  * Properly format command interpolation (again)
@@ -448,7 +555,7 @@
448
555
  * Add `--add-libs-path` for additional libraries (Patrick Toomey)
449
556
  * Properly process libraries (Patrick Toomey)
450
557
 
451
- # 3.0.0
558
+ # 3.0.0 - 2015-01-03
452
559
 
453
560
  * Add check for CVE-2014-7829
454
561
  * Add check for cross-site scripting via inline renders
@@ -467,7 +574,7 @@
467
574
  * CVEs report correct line and file name (Gemfile/Gemfile.lock) (Rob Fletcher)
468
575
  * Change `--separate-models` to be the default
469
576
 
470
- # 2.6.3
577
+ # 2.6.3 - 2014-10-14
471
578
 
472
579
  * Whitelist `exists` arel method from SQL injection check
473
580
  * Avoid warning about Symbol DoS on safe parameters as method targets
@@ -476,7 +583,7 @@
476
583
  * Add framework for optional checks
477
584
  * Fix stack overflow for cycles in class ancestors (Jeff Rafter)
478
585
 
479
- # 2.6.2
586
+ # 2.6.2 - 2014-08-18
480
587
 
481
588
  * Add check for CVE-2014-3415
482
589
  * Avoid warning about symbolizing safe parameters
@@ -490,13 +597,13 @@
490
597
  * Fix block statement endings in Erubis
491
598
  * Fix undefined variable in controller processing error (Jason Barnabe)
492
599
 
493
- # 2.6.1
600
+ # 2.6.1 - 2014-07-02
494
601
 
495
602
  * Add check for CVE-2014-3482 and CVE-2014-3483
496
603
  * Add support for keyword arguments in blocks
497
604
  * Remove unused warning codes (Bill Fischer)
498
605
 
499
- # 2.6.0
606
+ # 2.6.0 - 2014-06-06
500
607
 
501
608
  * Fix detection of `:host` setting in redirects with chained calls
502
609
  * Add check for CVE-2014-0130
@@ -510,7 +617,7 @@
510
617
  * Ignore more model methods in redirects
511
618
  * Fix CheckRender with nested render calls
512
619
 
513
- # 2.5.0
620
+ # 2.5.0 - 2014-04-30
514
621
 
515
622
  * Add support for RailsLTS 2.3.18.7 and 2.3.18.8
516
623
  * Add support for Rails 4 `before_actions` and friends
@@ -525,11 +632,11 @@
525
632
  * Handle more non-literals in routes
526
633
  * Add check for regex denial of service (Ben Toews)
527
634
 
528
- # 2.4.3
635
+ # 2.4.3 - 2014-03-23
529
636
 
530
637
  No changes. 2.4.2 gem release was unsigned, 2.4.3 is signed.
531
638
 
532
- # 2.4.2
639
+ # 2.4.2 - 2014-03-21
533
640
 
534
641
  * Remove `rescue Exception`
535
642
  * Fix duplicate warnings about sanitize CVE
@@ -538,13 +645,13 @@
538
645
  * Skip identically rendered templates
539
646
  * Fix HAML template processing
540
647
 
541
- # 2.4.1
648
+ # 2.4.1 - 2014-02-19
542
649
 
543
650
  * Add check for CVE-2014-0082
544
651
  * Add check for CVE-2014-0081, replaces CVE-2013-6415
545
652
  * Add check for CVE-2014-0080
546
653
 
547
- # 2.4.0
654
+ # 2.4.0 - 2014-02-05
548
655
 
549
656
  * Detect Rails LTS versions
550
657
  * Reduce false positives for SQL injection in string building
@@ -559,12 +666,12 @@
559
666
  * No longer raise exceptions if a class name cannot be determined
560
667
  * Fingerprint attribute warnings individually (Case Taintor)
561
668
 
562
- # 2.3.1
669
+ # 2.3.1 - 2013-12-13
563
670
 
564
671
  * Fix check for CVE-2013-4491 (i18n XSS) to detect workaround
565
672
  * Fix link for CVE-2013-6415 (number_to_currency)
566
673
 
567
- # 2.3.0
674
+ # 2.3.0 - 2013-12-12
568
675
 
569
676
  * Add check for Parameters#permit!
570
677
  * Add check for CVE-2013-4491 (i18n XSS)
@@ -578,7 +685,7 @@
578
685
  * Whitelist `Model#create` for redirects
579
686
  * Fix scoping issues with instance variables and blocks
580
687
 
581
- # 2.2.0
688
+ # 2.2.0 - 2013-10-28
582
689
 
583
690
  * Reduce command injection false positives
584
691
  * Use Rails version from Gemfile if it is available
@@ -587,14 +694,14 @@
587
694
  * Support scanning Rails engines (Geoffrey Hichborn)
588
695
  * Add check for detailed exceptions in production
589
696
 
590
- # 2.1.2
697
+ # 2.1.2 - 2013-09-18
591
698
 
592
699
  * Do not attempt to load custom Haml filters
593
700
  * Do not warn about `to_json` XSS in Rails 4
594
701
  * Add --table-width option to set width of text reports (ssendev)
595
702
  * Remove fuzzy matching on dangerous attr_accessible values
596
703
 
597
- # 2.1.1
704
+ # 2.1.1 - 2013-08-21
598
705
 
599
706
  * New warning code for dangerous attributes in attr_accessible
600
707
  * Do not warn on attr_accessible using roles
@@ -605,7 +712,7 @@
605
712
  * Fix infinite loop when run as rake task (Matthew Shanley)
606
713
  * Respect ignored warnings in tabs format reports
607
714
 
608
- # 2.1.0
715
+ # 2.1.0 - 2013-07-17
609
716
 
610
717
  * Support non-native line endings in Gemfile.lock (Paul Deardorff)
611
718
  * Support for ignoring warnings
@@ -625,7 +732,7 @@
625
732
  * Fix output format detection to be more strict again
626
733
  * Allow empty Brakeman configuration file
627
734
 
628
- # 2.0.0
735
+ # 2.0.0 - 2013-05-20
629
736
 
630
737
  * Add `--only-files` option to specify files/paths to scan (Ian Ehlert)
631
738
  * Add Marshal/CSV deserialization check
@@ -655,7 +762,7 @@
655
762
  * Use exceptions instead of abort in brakeman lib
656
763
  * Update to Ruby2Ruby 2.0.5
657
764
 
658
- # 1.9.5
765
+ # 1.9.5 - 2013-04-05
659
766
 
660
767
  * Add check for unsafe symbol creation
661
768
  * Do not warn on mass assignment with `slice`/`only`
@@ -670,7 +777,7 @@
670
777
  * More fixes for assignments inside branches
671
778
  * Pin to ruby2ruby version 2.0.3
672
779
 
673
- # 1.9.4
780
+ # 1.9.4 - 2013-03-19
674
781
 
675
782
  * Add check for CVE-2013-1854
676
783
  * Add check for CVE-2013-1855
@@ -682,7 +789,7 @@
682
789
  * Slightly faster cloning of Sexps
683
790
  * Detect another way to add `strong_parameters`
684
791
 
685
- # 1.9.3
792
+ # 1.9.3 - 2013-03-01
686
793
 
687
794
  * Add render path to JSON report
688
795
  * Add warning fingerprints
@@ -697,7 +804,7 @@
697
804
  * Expand HAML dependency to include 4.0
698
805
  * Scroll errors into view when expanding in HTML report
699
806
 
700
- # 1.9.2
807
+ # 1.9.2 - 2013-02-14
701
808
 
702
809
  * Add check for CVE-2013-0269
703
810
  * Add check for CVE-2013-0276
@@ -708,7 +815,7 @@
708
815
  * Check for more dangerous YAML methods
709
816
  * Support MultiJSON 1.2 for Rails 3.0 and 3.1
710
817
 
711
- # 1.9.1
818
+ # 1.9.1 - 2013-01-19
712
819
 
713
820
  * Update to RubyParser 3.1.1 (neersighted)
714
821
  * Remove ActiveSupport dependency (Neil Matatall)
@@ -720,7 +827,7 @@
720
827
  * Add check for CVE-2013-0156
721
828
  * Add check for unsafe `YAML.load`
722
829
 
723
- # 1.9.0
830
+ # 1.9.0 - 2012-12-25
724
831
 
725
832
  * Update to RubyParser 3
726
833
  * Ignore route information by default
@@ -740,7 +847,7 @@
740
847
  * Handle empty model files
741
848
  * Remove "find by regex" feature from `CallIndex`
742
849
 
743
- # 1.8.3
850
+ # 1.8.3 - 2012-11-13
744
851
 
745
852
  * Use `multi_json` gem for better harmony
746
853
  * Performance improvement for call indexing
@@ -756,7 +863,7 @@
756
863
  * Fix error in rescan of mixins with symbols in method name
757
864
  * Do not rescan non-Ruby files in config/
758
865
 
759
- # 1.8.2
866
+ # 1.8.2 - 2012-10-17
760
867
 
761
868
  * Fixed rescanning problems caused by 1.8.0 changes
762
869
  * Fix scope calls with single argument
@@ -765,7 +872,7 @@
765
872
  * Much improved test coverage
766
873
  * Add CHANGES to gemspec
767
874
 
768
- # 1.8.1
875
+ # 1.8.1 - 2012-09-24
769
876
 
770
877
  * Recover from errors in output formatting
771
878
  * Fix false positive in redirect_to (Neil Matatall)
@@ -777,7 +884,7 @@
777
884
  * Handle super calls with blocks
778
885
  * Respect `-q` flag for "Rails 3 detected" message
779
886
 
780
- # 1.8.0
887
+ # 1.8.0 - 2012-09-05
781
888
 
782
889
  * Support relative paths in reports (fsword)
783
890
  * Allow Brakeman to be run without tty (fsword)
@@ -793,7 +900,7 @@
793
900
  * Treat model attributes in `or` expressions as immediate values
794
901
  * Switch to method access for Sexp nodes
795
902
 
796
- # 1.7.1
903
+ # 1.7.1 - 2012-08-13
797
904
 
798
905
  * Add check for CVE-2012-3463
799
906
  * Add check for CVE-2012-3464
@@ -801,7 +908,7 @@
801
908
  * Add charset to HTML report (hooopo)
802
909
  * Report XSS in select() for Rails 2
803
910
 
804
- # 1.7.0
911
+ # 1.7.0 - 2012-07-31
805
912
 
806
913
  * Add check for CVE-2012-3424
807
914
  * Link report types to descriptions on website
@@ -816,7 +923,7 @@
816
923
  * Fix processing of negative array indexes
817
924
  * Add line breaks to truncated table rows
818
925
 
819
- # 1.6.2
926
+ # 1.6.2 - 2012-06-13
820
927
 
821
928
  * Add checks for CVE-2012-2660, CVE-2012-2661, CVE-2012-2694, CVE-2012-2695 (Dave Worth)
822
929
  * Avoid warning when redirecting to a model instance
@@ -828,7 +935,7 @@
828
935
  * Cache before_filter lookups
829
936
  * Turn off quiet mode by default for `--compare`
830
937
 
831
- # 1.6.1
938
+ # 1.6.1 - 2012-05-23
832
939
 
833
940
  * Major rewrite of CheckSQL
834
941
  * Fix rescanning of deleted templates
@@ -838,7 +945,7 @@
838
945
  * Fix highlighting of HTML escaped values in HTML report
839
946
  * Report line number of highlighted value, if available
840
947
 
841
- # 1.6.0
948
+ # 1.6.0 - 2012-04-20
842
949
 
843
950
  * Remove the Ruport dependency (Neil Matatall)
844
951
  * Add more informational JSON output (Neil Matatall)
@@ -850,7 +957,7 @@
850
957
  * Fix rescanning of deleted files
851
958
  * Properly check for rails_xss in Gemfile
852
959
 
853
- # 1.5.3
960
+ # 1.5.3 - 2012-04-10
854
961
 
855
962
  * Add check for user input in Object#send (Neil Matatall)
856
963
  * Handle render :layout in views
@@ -864,7 +971,7 @@
864
971
  * Improve handling of modules and nesting
865
972
  * Test for zero errors in test reports
866
973
 
867
- # 1.5.2
974
+ # 1.5.2 - 2012-03-22
868
975
 
869
976
  * Fix link_to checks for Rails 2.0 and 2.3
870
977
  * Fix rescanning of lib files (Neil Matatall)
@@ -875,7 +982,7 @@
875
982
  * Fix handling of views when using rails_xss
876
983
  * Revert to ruby_parser 2.3.1 for Ruby 1.8 parsing
877
984
 
878
- # 1.5.1
985
+ # 1.5.1- 2012-03-06
879
986
 
880
987
  * Fix detection of global mass assignment setting
881
988
  * Fix partial rendering in Rails 3
@@ -885,7 +992,7 @@
885
992
  * Add tracking of module and class to Brakeman::BaseProcessor
886
993
  * Report module when using Brakeman::FindCall
887
994
 
888
- # 1.5.0
995
+ # 1.5.0 - 2012-03-02
889
996
 
890
997
  * Add version check for SafeBuffer vulnerability
891
998
  * Add check for select vulnerability in Rails 3
@@ -896,7 +1003,7 @@
896
1003
  * Standardize methods to check for SQL injection
897
1004
  * Fix Rails 2 route parsing issue with nested routes
898
1005
 
899
- # 1.4.0
1006
+ # 1.4.0 - 2012-02-24
900
1007
 
901
1008
  * Add check for user input in link_to href parameter
902
1009
  * Match ERB processing to rails_xss plugin when plugin used
@@ -904,7 +1011,7 @@
904
1011
  * Warnings below minimum confidence are dropped completely
905
1012
  * Brakeman.run always returns a Tracker
906
1013
 
907
- # 1.3.0
1014
+ # 1.3.0 - 2012-02-09
908
1015
 
909
1016
  * Add file paths to HTML report
910
1017
  * Add caching of filters
@@ -917,7 +1024,7 @@
917
1024
  * Better variable substitution
918
1025
  * Table output option for rescan reports
919
1026
 
920
- # 1.2.2
1027
+ # 1.2.2 - 2012-01-26
921
1028
 
922
1029
  * --no-progress works again
923
1030
  * Make CheckLinkTo a separate check
@@ -925,7 +1032,7 @@
925
1032
  * Handle empty resource(s) blocks
926
1033
  * Add RescanReport#existing_warnings
927
1034
 
928
- ## 1.2.1
1035
+ ## 1.2.1 - 2012-01-20
929
1036
 
930
1037
  * Remove link_to warning for Rails 3.x or when using rails_xss
931
1038
  * Don't warn if first argument to link_to is escaped
@@ -937,7 +1044,7 @@
937
1044
  * Add Brakeman::RescanReport#to_s
938
1045
  * Add Brakeman::Warning#to_s
939
1046
 
940
- ## 1.2.0
1047
+ ## 1.2.0 - 2012-01-14
941
1048
 
942
1049
  * Speed improvements for CheckExecute and CheckRender
943
1050
  * Check named_scope() and scope() for SQL injection
@@ -946,7 +1053,7 @@
946
1053
  * Add --summary option to only output summary
947
1054
  * Fix a problem with Rails 3 routes
948
1055
 
949
- ## 1.1.0
1056
+ ## 1.1.0 - 2011-12-22
950
1057
 
951
1058
  * Relax required versions for dependencies
952
1059
  * Performance improvements for source processing
@@ -956,14 +1063,14 @@
956
1063
  * Compatibility with newer Haml versions
957
1064
  * Fix some warnings
958
1065
 
959
- ## 1.0.0
1066
+ ## 1.0.0 - 2011-12-08
960
1067
 
961
1068
  * Better handling of assignments inside ifs
962
1069
  * Check more expressions for SQL injection
963
1070
  * Use latest ruby_parser for better 1.9 syntax support
964
1071
  * Better behavior for Brakeman as a library
965
1072
 
966
- ## 1.0.0rc1
1073
+ ## 1.0.0rc1 - 2011-12-06
967
1074
 
968
1075
  * Brakeman can now be used as a library
969
1076
  * Faster call search
@@ -976,23 +1083,23 @@
976
1083
  * Ignore mass assignment using all literal arguments
977
1084
  * Keep expanded context in view with HTML output
978
1085
 
979
- ## 0.9.2
1086
+ ## 0.9.2 - 2011-11-22
980
1087
 
981
1088
  * Fix Rails 3 configuration parsing
982
1089
  * Add t() helper to check for translate XSS bug
983
1090
 
984
- ## 0.9.1
1091
+ ## 0.9.1 - 2011-11-18
985
1092
 
986
1093
  * Add warning for translator helper XSS vulnerability
987
1094
 
988
- ## 0.9.0
1095
+ ## 0.9.0 - 2011-11-17
989
1096
 
990
1097
  * Process Rails 3 configuration files
991
1098
  * Fix CSV output
992
1099
  * Check for config.active_record.whitelist_attributes = true
993
1100
  * Always produce a warning for without_protection => true
994
1101
 
995
- ## 0.8.4
1102
+ ## 0.8.4 - 2011-11-04
996
1103
 
997
1104
  * Option for separate attr_accessible warnings
998
1105
  * Option to set CSS file for HTML output
@@ -1001,23 +1108,23 @@
1001
1108
  * Fix hash_insert()
1002
1109
  * Remove use of Queue from threaded checks
1003
1110
 
1004
- ## 0.8.3
1111
+ ## 0.8.3 - 2011-10-25
1005
1112
 
1006
1113
  * Respect -w flag in .tabs format (tw-ngreen)
1007
1114
  * Escape HTML output of error messages
1008
1115
  * Add --skip-libs option
1009
1116
 
1010
- ## 0.8.2
1117
+ ## 0.8.2 - 2011-10-01
1011
1118
 
1012
1119
  * Run checks in parallel threads by default
1013
1120
  * Fix compatibility with ruby_parser 2.3.1
1014
1121
 
1015
- ## 0.8.1
1122
+ ## 0.8.1 - 2011-09-28
1016
1123
 
1017
1124
  * Add option to assume all controller methods are actions
1018
1125
  * Recover from errors when parsing routes
1019
1126
 
1020
- ## 0.8.0
1127
+ ## 0.8.0 - 2011-09-15
1021
1128
 
1022
1129
  * Add check for mass assignment using without_protection
1023
1130
  * Add check for password in http_basic_authenticate_with
@@ -1028,30 +1135,30 @@
1028
1135
  * Add ruby_parser hack for Ruby 1.9 hash syntax
1029
1136
  * Add a few Rails 3.1 tests
1030
1137
 
1031
- ## 0.7.2
1138
+ ## 0.7.2 - 2011-08-27
1032
1139
 
1033
1140
  * Fix handling of params and cookies with nested access
1034
1141
  * Add CVEs for checks added in 0.7.0
1035
1142
 
1036
- ## 0.7.1
1143
+ ## 0.7.1 - 2011-08-18
1037
1144
 
1038
1145
  * Require BaseProcessor for GemProcessor
1039
1146
 
1040
- ## 0.7.0
1147
+ ## 0.7.0 - 2011-08-17
1041
1148
 
1042
1149
  * Allow local variable as a class name
1043
1150
  * Add checks for vulnerabilities fixed in Rails 2.3.14 and 3.0.10
1044
1151
  * Check for default routes in Rails 3 apps
1045
1152
  * Look in Gemfile or Gemfile.lock for Rails version
1046
1153
 
1047
- ## 0.6.1
1154
+ ## 0.6.1 - 2011-07-29
1048
1155
 
1049
1156
  * Fix XSS check for cookies as parameters in output
1050
1157
  * Don't bother calling super in CheckSessionSettings
1051
1158
  * Add escape_once as a safe method
1052
1159
  * Accept '\Z' or '\z' in model validations
1053
1160
 
1054
- ## 0.6.0
1161
+ ## 0.6.0 - 2011-07-20
1055
1162
 
1056
1163
  * Tests are in place and fully functional
1057
1164
  * Hide errors by default in HTML output
@@ -1064,17 +1171,17 @@
1064
1171
  * Fixes to escaped output scanning
1065
1172
  * Update CSRF CVE-2011-0447 message to be less assertive
1066
1173
 
1067
- ## 0.5.2
1174
+ ## 0.5.2 - 2011-06-29
1068
1175
 
1069
1176
  * Output report file name when finished
1070
1177
  * Add initial tests for Rails 2.x
1071
1178
  * Fix ERB line numbers when using Ruby 1.9
1072
1179
 
1073
- ## 0.5.1
1180
+ ## 0.5.1 - 2011-06-17
1074
1181
 
1075
1182
  * Fix issue with 'has_one' => in routes
1076
1183
 
1077
- ## 0.5.0
1184
+ ## 0.5.0 - 2011-06-08
1078
1185
 
1079
1186
  * Add support for routes like get 'x/y', :to => 'ctrlr#whatever'
1080
1187
  * Allow empty blocks in Rails 3 routes
@@ -1082,52 +1189,52 @@
1082
1189
  * Add line numbers to session setting warnings
1083
1190
  * Add --checks option to list checks
1084
1191
 
1085
- ## 0.4.1
1192
+ ## 0.4.1 - 2011-05-23
1086
1193
 
1087
1194
  * Fix reported line numbers when using new Erubis parser
1088
1195
  (Mostly affects Rails 3 apps)
1089
1196
 
1090
- ## 0.4.0
1197
+ ## 0.4.0 - 2011-05-19
1091
1198
 
1092
1199
  * Handle Rails XSS protection properly
1093
1200
  * More detection options for rails_xss
1094
1201
  * Add --escape-html option
1095
1202
 
1096
- ## 0.3.2
1203
+ ## 0.3.2 - 2011-05-12
1097
1204
 
1098
1205
  * Autodetect Rails 3 applications
1099
1206
  * Turn on auto-escaping for Rails 3 apps
1100
1207
  * Check Model.create() for mass assignment
1101
1208
 
1102
- ## 0.3.1
1209
+ ## 0.3.1 - 2011-05-03
1103
1210
 
1104
1211
  * Always output a line number in tabbed output format
1105
1212
  * Restrict characters in category name in tabbed output format to
1106
1213
  word characters and spaces, for Hudson/Jenkins plugin
1107
1214
 
1108
- ## 0.3.0
1215
+ ## 0.3.0 - 2011-03-21
1109
1216
 
1110
1217
  * Check for SQL injection in calls using constantize()
1111
1218
  * Check for SQL injection in calls to count_by_sql()
1112
1219
 
1113
- ## 0.2.2
1220
+ ## 0.2.2 - 2011-02-22
1114
1221
 
1115
1222
  * Fix version_between? when no Rails version is specified
1116
1223
 
1117
- ## 0.2.1
1224
+ ## 0.2.1 - 2011-02-18
1118
1225
 
1119
1226
  * Add code snippet to tab output messages
1120
1227
 
1121
- ## 0.2.0
1228
+ ## 0.2.0 - 2011-02-16
1122
1229
 
1123
1230
  * Add check for mail_to vulnerability - CVE-2011-0446
1124
1231
  * Add check for CSRF weakness - CVE-2011-0447
1125
1232
 
1126
- ## 0.1.1
1233
+ ## 0.1.1 - 2011-01-25
1127
1234
 
1128
1235
  * Be more permissive with ActiveSupport version
1129
1236
 
1130
- ## 0.1.0
1237
+ ## 0.1.0 - 2011-01-18
1131
1238
 
1132
1239
  * Check link_to for XSS (because arguments are not escaped)
1133
1240
  * Process layouts better (although not perfectly yet)