brakeman 3.5.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +15 -4
- data/bin/brakeman +6 -1
- data/bundle/load.rb +2 -2
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/Manifest.txt +5 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/README.rdoc +12 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/Rakefile +127 -70
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/compare/normalize.rb +146 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/rp_extensions.rb +77 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/rp_stringscanner.rb +64 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby18_parser.rb +1637 -1646
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby18_parser.y +11 -11
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby19_parser.rb +1602 -1603
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby19_parser.y +12 -12
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby20_parser.rb +2507 -2524
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby20_parser.y +12 -26
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby21_parser.rb +1872 -1868
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby21_parser.y +12 -21
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby22_parser.rb +1758 -1754
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby22_parser.y +12 -21
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby23_parser.rb +1844 -1847
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby23_parser.y +12 -21
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby24_parser.rb +6790 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby24_parser.y +2364 -0
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby_lexer.rb +12 -16
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby_lexer.rex.rb +6 -12
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby_parser.rb +86 -7
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby_parser.yy +51 -50
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby_parser_extras.rb +30 -237
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/test/test_ruby_lexer.rb +54 -41
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/test/test_ruby_parser.rb +775 -700
- data/bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/test/test_ruby_parser_extras.rb +4 -6
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/History.txt +7 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/Manifest.txt +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/README.txt +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/Rakefile +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/lib/composite_sexp_processor.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/lib/pt_testcase.rb +3 -1
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/lib/sexp.rb +7 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/lib/sexp_processor.rb +7 -5
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/lib/unique.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/test/test_composite_sexp_processor.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/test/test_environment.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/test/test_sexp.rb +21 -2
- data/bundle/ruby/2.3.0/gems/{sexp_processor-4.7.0 → sexp_processor-4.8.0}/test/test_sexp_processor.rb +13 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/CHANGELOG.md +4 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/COPYING +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/Gemfile +1 -1
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/HACKING +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/README.md +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/Rakefile +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/bin/tilt +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/docs/TEMPLATES.md +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/docs/common.css +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt.rb +1 -1
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/asciidoc.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/babel.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/bluecloth.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/builder.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/coffee.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/commonmarker.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/creole.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/csv.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/dummy.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/erb.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/erubi.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/erubis.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/etanni.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/haml.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/kramdown.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/less.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/liquid.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/livescript.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/mapping.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/markaby.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/maruku.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/nokogiri.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/pandoc.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/plain.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/prawn.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/radius.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/rdiscount.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/rdoc.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/redcarpet.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/redcloth.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/rst-pandoc.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/sass.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/sigil.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/string.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/template.rb +10 -1
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/typescript.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/wikicloth.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/lib/tilt/yajl.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/man/index.txt +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/man/tilt.1.ronn +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/markaby/locals.mab +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/markaby/markaby.mab +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/markaby/markaby_other_static.mab +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/markaby/render_twice.mab +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/markaby/scope.mab +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/markaby/yielding.mab +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/mytemplate.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/test_helper.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_asciidoctor_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_babeltemplate.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_blueclothtemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_buildertemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_cache_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_coffeescripttemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_commonmarkertemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_compilesite_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_creoletemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_csv_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_erbtemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_erubistemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_erubitemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_etannitemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_hamltemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_kramdown_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_lesstemplate_test.less +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_lesstemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_liquidtemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_livescripttemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_mapping_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_markaby_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_markdown_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_marukutemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_metadata_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_nokogiritemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_pandoctemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_prawntemplate.prawn +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_prawntemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_radiustemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_rdiscounttemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_rdoctemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_redcarpettemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_redclothtemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_rstpandoctemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_sasstemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_sigil_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_stringtemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_template_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_typescript_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_wikiclothtemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/test/tilt_yajltemplate_test.rb +0 -0
- data/bundle/ruby/2.3.0/gems/{tilt-2.0.6 → tilt-2.0.7}/tilt.gemspec +2 -2
- data/lib/brakeman.rb +4 -0
- data/lib/brakeman/checks/check_sql.rb +2 -2
- data/lib/brakeman/checks/check_xml_dos.rb +0 -6
- data/lib/brakeman/options.rb +4 -0
- data/lib/brakeman/parsers/rails3_erubis.rb +7 -0
- data/lib/brakeman/processors/alias_processor.rb +101 -0
- data/lib/brakeman/processors/controller_processor.rb +3 -1
- data/lib/brakeman/version.rb +1 -1
- metadata +125 -118
data/lib/brakeman.rb
CHANGED
@@ -15,6 +15,10 @@ module Brakeman
|
|
15
15
|
#Exit code returned when user requests non-existent checks
|
16
16
|
Missing_Checks_Exit_Code = 6
|
17
17
|
|
18
|
+
#Exit code returned when errors were found and the --exit-on-error
|
19
|
+
#option is set
|
20
|
+
Errors_Found_Exit_Code = 7
|
21
|
+
|
18
22
|
@debug = false
|
19
23
|
@quiet = false
|
20
24
|
@loaded_dependencies = []
|
@@ -157,8 +157,6 @@ class Brakeman::CheckSQL < Brakeman::BaseCheck
|
|
157
157
|
#
|
158
158
|
def process_result result
|
159
159
|
return if duplicate?(result) or result[:call].original_line
|
160
|
-
return if result[:target].nil? && !active_record_models.include?(result[:location][:class])
|
161
|
-
|
162
160
|
|
163
161
|
call = result[:call]
|
164
162
|
method = call.method
|
@@ -596,6 +594,8 @@ class Brakeman::CheckSQL < Brakeman::BaseCheck
|
|
596
594
|
safe_value? exp.last
|
597
595
|
when :or
|
598
596
|
safe_value? exp.lhs and safe_value? exp.rhs
|
597
|
+
when :dstr
|
598
|
+
not unsafe_string_interp? exp
|
599
599
|
else
|
600
600
|
false
|
601
601
|
end
|
@@ -17,12 +17,6 @@ class Brakeman::CheckXMLDoS < Brakeman::BaseCheck
|
|
17
17
|
"4.2.2"
|
18
18
|
when version_between?("4.0.0", "4.0.99")
|
19
19
|
"4.2.2"
|
20
|
-
when (version.nil? and tracker.options[:rails3])
|
21
|
-
version = "3.x"
|
22
|
-
"3.2.22"
|
23
|
-
when (version.nil? and tracker.options[:rails4])
|
24
|
-
version = "4.x"
|
25
|
-
"4.2.2"
|
26
20
|
else
|
27
21
|
return
|
28
22
|
end
|
data/lib/brakeman/options.rb
CHANGED
@@ -43,6 +43,10 @@ module Brakeman::Options
|
|
43
43
|
options[:exit_on_warn] = exit_on_warn
|
44
44
|
end
|
45
45
|
|
46
|
+
opts.on "--[no-]exit-on-error", "Exit code is non-zero if errors found" do |exit_on_error|
|
47
|
+
options[:exit_on_error] = exit_on_error
|
48
|
+
end
|
49
|
+
|
46
50
|
opts.on "--ensure-latest", "Fail when Brakeman is outdated" do
|
47
51
|
options[:ensure_latest] = true
|
48
52
|
end
|
@@ -71,4 +71,11 @@ class Brakeman::Rails3Erubis < ::Erubis::Eruby
|
|
71
71
|
@newline_pending = 0
|
72
72
|
end
|
73
73
|
end
|
74
|
+
|
75
|
+
# This is borrowed from graphql's erb plugin:
|
76
|
+
# https://github.com/github/graphql-client/blob/51e76bd8d8b2ac0021d8fef7468b9a294e4bd6e8/lib/graphql/client/erubis.rb#L33-L38
|
77
|
+
def convert_input(src, input)
|
78
|
+
input = input.gsub(/<%graphql/, "<%#")
|
79
|
+
super(src, input)
|
80
|
+
end
|
74
81
|
end
|
@@ -616,6 +616,75 @@ class Brakeman::AliasProcessor < Brakeman::SexpProcessor
|
|
616
616
|
exp
|
617
617
|
end
|
618
618
|
|
619
|
+
def simple_when? exp
|
620
|
+
node_type? exp[1], :array and
|
621
|
+
not node_type? exp[1][1], :splat, :array and
|
622
|
+
(exp[1].length == 2 or
|
623
|
+
exp[1].all? { |e| e.is_a? Symbol or node_type? e, :lit, :str })
|
624
|
+
end
|
625
|
+
|
626
|
+
def process_case exp
|
627
|
+
if @ignore_ifs.nil?
|
628
|
+
@ignore_ifs = @tracker && @tracker.options[:ignore_ifs]
|
629
|
+
end
|
630
|
+
|
631
|
+
if @ignore_ifs
|
632
|
+
process_default exp
|
633
|
+
return exp
|
634
|
+
end
|
635
|
+
|
636
|
+
branch_scopes = []
|
637
|
+
was_inside = @inside_if
|
638
|
+
@inside_if = true
|
639
|
+
|
640
|
+
exp[1] = process exp[1] if exp[1]
|
641
|
+
|
642
|
+
case_value = if node_type? exp[1], :lvar, :ivar, :call
|
643
|
+
exp[1].deep_clone
|
644
|
+
end
|
645
|
+
|
646
|
+
exp.each_sexp do |e|
|
647
|
+
if node_type? e, :when
|
648
|
+
scope do
|
649
|
+
@branch_env = env.current
|
650
|
+
|
651
|
+
# set value of case var if possible
|
652
|
+
if case_value and simple_when? e
|
653
|
+
@branch_env[case_value] = e[1][1]
|
654
|
+
end
|
655
|
+
|
656
|
+
# when blocks aren't blocks, they are lists of expressions
|
657
|
+
process_default e
|
658
|
+
|
659
|
+
branch_scopes << env.current
|
660
|
+
|
661
|
+
@branch_env = nil
|
662
|
+
end
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
# else clause
|
667
|
+
if sexp? exp.last
|
668
|
+
scope do
|
669
|
+
@branch_env = env.current
|
670
|
+
|
671
|
+
process_default exp[-1]
|
672
|
+
|
673
|
+
branch_scopes << env.current
|
674
|
+
|
675
|
+
@branch_env = nil
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
@inside_if = was_inside
|
680
|
+
|
681
|
+
branch_scopes.each do |s|
|
682
|
+
merge_if_branch s
|
683
|
+
end
|
684
|
+
|
685
|
+
exp
|
686
|
+
end
|
687
|
+
|
619
688
|
def process_if_branch exp
|
620
689
|
if sexp? exp
|
621
690
|
if block? exp
|
@@ -934,6 +1003,36 @@ class Brakeman::AliasProcessor < Brakeman::SexpProcessor
|
|
934
1003
|
end
|
935
1004
|
end
|
936
1005
|
|
1006
|
+
def value_from_case exp
|
1007
|
+
result = []
|
1008
|
+
|
1009
|
+
exp.each do |e|
|
1010
|
+
if node_type? e, :when
|
1011
|
+
result << e.last
|
1012
|
+
end
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
result << exp.last if exp.last # else
|
1016
|
+
|
1017
|
+
result.reduce do |c, e|
|
1018
|
+
if c.nil?
|
1019
|
+
e
|
1020
|
+
elsif node_type? e, :if
|
1021
|
+
c.combine(value_from_if e)
|
1022
|
+
elsif raise? e
|
1023
|
+
c # ignore exceptions
|
1024
|
+
elsif e
|
1025
|
+
c.combine e
|
1026
|
+
else # when e is nil
|
1027
|
+
c
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
def raise? exp
|
1033
|
+
call? exp and exp.method == :raise
|
1034
|
+
end
|
1035
|
+
|
937
1036
|
#Set variable to given value.
|
938
1037
|
#Creates "branched" versions of values when appropriate.
|
939
1038
|
#Avoids creating multiple branched versions inside same
|
@@ -941,6 +1040,8 @@ class Brakeman::AliasProcessor < Brakeman::SexpProcessor
|
|
941
1040
|
def set_value var, value
|
942
1041
|
if node_type? value, :if
|
943
1042
|
value = value_from_if(value)
|
1043
|
+
elsif node_type? value, :case
|
1044
|
+
value = value_from_case(value)
|
944
1045
|
end
|
945
1046
|
|
946
1047
|
if @ignore_ifs or not @inside_if
|
@@ -16,6 +16,7 @@ class Brakeman::ControllerProcessor < Brakeman::BaseProcessor
|
|
16
16
|
@current_module = nil
|
17
17
|
@visibility = :public
|
18
18
|
@file_name = nil
|
19
|
+
@concerns = Set.new
|
19
20
|
end
|
20
21
|
|
21
22
|
#Use this method to process a Controller
|
@@ -65,7 +66,8 @@ class Brakeman::ControllerProcessor < Brakeman::BaseProcessor
|
|
65
66
|
return unless @current_class
|
66
67
|
|
67
68
|
if mod = @tracker.find_class(concern_name)
|
68
|
-
if mod.options[:included]
|
69
|
+
if mod.options[:included] and not @concerns.include? concern_name
|
70
|
+
@concerns << concern_name
|
69
71
|
process mod.options[:included].deep_clone
|
70
72
|
end
|
71
73
|
end
|
data/lib/brakeman/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brakeman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Collins
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- brakeman-public_cert.pem
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Brakeman detects security vulnerabilities in Ruby on Rails applications
|
15
15
|
via static analysis.
|
@@ -504,6 +504,9 @@ files:
|
|
504
504
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/Rakefile
|
505
505
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/bin/ruby_parse
|
506
506
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/bin/ruby_parse_extract_error
|
507
|
+
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/compare/normalize.rb
|
508
|
+
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/rp_extensions.rb
|
509
|
+
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/rp_stringscanner.rb
|
507
510
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby18_parser.rb
|
508
511
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby18_parser.y
|
509
512
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby19_parser.rb
|
@@ -516,6 +519,8 @@ files:
|
|
516
519
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby22_parser.y
|
517
520
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby23_parser.rb
|
518
521
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby23_parser.y
|
522
|
+
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby24_parser.rb
|
523
|
+
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby24_parser.y
|
519
524
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby_lexer.rb
|
520
525
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby_lexer.rex
|
521
526
|
- bundle/ruby/2.3.0/gems/ruby_parser-3.8.4/lib/ruby_lexer.rex.rb
|
@@ -882,19 +887,19 @@ files:
|
|
882
887
|
- bundle/ruby/2.3.0/gems/sass-3.4.23/vendor/listen/spec/support/fixtures_helper.rb
|
883
888
|
- bundle/ruby/2.3.0/gems/sass-3.4.23/vendor/listen/spec/support/listeners_helper.rb
|
884
889
|
- bundle/ruby/2.3.0/gems/sass-3.4.23/vendor/listen/spec/support/platform_helper.rb
|
885
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
886
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
887
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
888
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
889
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
890
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
891
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
892
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
893
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
894
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
895
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
896
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
897
|
-
- bundle/ruby/2.3.0/gems/sexp_processor-4.
|
890
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/History.txt
|
891
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/Manifest.txt
|
892
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/README.txt
|
893
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/Rakefile
|
894
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/lib/composite_sexp_processor.rb
|
895
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/lib/pt_testcase.rb
|
896
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/lib/sexp.rb
|
897
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/lib/sexp_processor.rb
|
898
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/lib/unique.rb
|
899
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/test/test_composite_sexp_processor.rb
|
900
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/test/test_environment.rb
|
901
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/test/test_sexp.rb
|
902
|
+
- bundle/ruby/2.3.0/gems/sexp_processor-4.8.0/test/test_sexp_processor.rb
|
898
903
|
- bundle/ruby/2.3.0/gems/slim-3.0.7/CHANGES
|
899
904
|
- bundle/ruby/2.3.0/gems/slim-3.0.7/Gemfile
|
900
905
|
- bundle/ruby/2.3.0/gems/slim-3.0.7/LICENSE
|
@@ -1108,108 +1113,108 @@ files:
|
|
1108
1113
|
- bundle/ruby/2.3.0/gems/terminal-table-1.7.3/lib/terminal-table/table_helper.rb
|
1109
1114
|
- bundle/ruby/2.3.0/gems/terminal-table-1.7.3/lib/terminal-table/version.rb
|
1110
1115
|
- bundle/ruby/2.3.0/gems/terminal-table-1.7.3/terminal-table.gemspec
|
1111
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1112
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1113
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1114
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1115
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1116
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1117
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1118
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1119
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1120
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1121
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1122
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1123
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1124
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1125
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1126
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1127
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1128
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1129
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1130
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1131
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1132
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1133
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1134
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1135
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1136
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1137
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1138
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1139
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1140
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1141
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1142
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1143
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1144
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1145
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1146
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1147
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1148
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1149
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1150
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1151
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1152
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1153
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1154
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1155
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1156
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1157
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1158
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1159
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1160
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1161
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1162
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1163
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1164
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1165
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1166
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1167
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1168
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1169
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1170
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1171
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1172
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1173
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1174
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1175
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1176
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1177
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1178
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1179
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1180
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1181
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1182
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1183
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1184
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1185
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1186
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1187
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1188
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1189
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1190
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1191
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1192
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1193
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1194
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1195
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1196
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1197
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1198
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1199
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1200
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1201
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1202
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1203
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1204
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1205
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1206
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1207
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1208
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1209
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1210
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1211
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1212
|
-
- bundle/ruby/2.3.0/gems/tilt-2.0.
|
1116
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/CHANGELOG.md
|
1117
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/COPYING
|
1118
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/Gemfile
|
1119
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/HACKING
|
1120
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/README.md
|
1121
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/Rakefile
|
1122
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/bin/tilt
|
1123
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/docs/TEMPLATES.md
|
1124
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/docs/common.css
|
1125
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt.rb
|
1126
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/asciidoc.rb
|
1127
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/babel.rb
|
1128
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/bluecloth.rb
|
1129
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/builder.rb
|
1130
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/coffee.rb
|
1131
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/commonmarker.rb
|
1132
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/creole.rb
|
1133
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/csv.rb
|
1134
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/dummy.rb
|
1135
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/erb.rb
|
1136
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/erubi.rb
|
1137
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/erubis.rb
|
1138
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/etanni.rb
|
1139
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/haml.rb
|
1140
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/kramdown.rb
|
1141
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/less.rb
|
1142
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/liquid.rb
|
1143
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/livescript.rb
|
1144
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/mapping.rb
|
1145
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/markaby.rb
|
1146
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/maruku.rb
|
1147
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/nokogiri.rb
|
1148
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/pandoc.rb
|
1149
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/plain.rb
|
1150
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/prawn.rb
|
1151
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/radius.rb
|
1152
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/rdiscount.rb
|
1153
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/rdoc.rb
|
1154
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/redcarpet.rb
|
1155
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/redcloth.rb
|
1156
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/rst-pandoc.rb
|
1157
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/sass.rb
|
1158
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/sigil.rb
|
1159
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/string.rb
|
1160
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/template.rb
|
1161
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/typescript.rb
|
1162
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/wikicloth.rb
|
1163
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/lib/tilt/yajl.rb
|
1164
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/man/index.txt
|
1165
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/man/tilt.1.ronn
|
1166
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/markaby/locals.mab
|
1167
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/markaby/markaby.mab
|
1168
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/markaby/markaby_other_static.mab
|
1169
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/markaby/render_twice.mab
|
1170
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/markaby/scope.mab
|
1171
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/markaby/yielding.mab
|
1172
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/mytemplate.rb
|
1173
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/test_helper.rb
|
1174
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_asciidoctor_test.rb
|
1175
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_babeltemplate.rb
|
1176
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_blueclothtemplate_test.rb
|
1177
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_buildertemplate_test.rb
|
1178
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_cache_test.rb
|
1179
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_coffeescripttemplate_test.rb
|
1180
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_commonmarkertemplate_test.rb
|
1181
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_compilesite_test.rb
|
1182
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_creoletemplate_test.rb
|
1183
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_csv_test.rb
|
1184
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_erbtemplate_test.rb
|
1185
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_erubistemplate_test.rb
|
1186
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_erubitemplate_test.rb
|
1187
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_etannitemplate_test.rb
|
1188
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_hamltemplate_test.rb
|
1189
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_kramdown_test.rb
|
1190
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_lesstemplate_test.less
|
1191
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_lesstemplate_test.rb
|
1192
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_liquidtemplate_test.rb
|
1193
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_livescripttemplate_test.rb
|
1194
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_mapping_test.rb
|
1195
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_markaby_test.rb
|
1196
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_markdown_test.rb
|
1197
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_marukutemplate_test.rb
|
1198
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_metadata_test.rb
|
1199
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_nokogiritemplate_test.rb
|
1200
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_pandoctemplate_test.rb
|
1201
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_prawntemplate.prawn
|
1202
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_prawntemplate_test.rb
|
1203
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_radiustemplate_test.rb
|
1204
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_rdiscounttemplate_test.rb
|
1205
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_rdoctemplate_test.rb
|
1206
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_redcarpettemplate_test.rb
|
1207
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_redclothtemplate_test.rb
|
1208
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_rstpandoctemplate_test.rb
|
1209
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_sasstemplate_test.rb
|
1210
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_sigil_test.rb
|
1211
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_stringtemplate_test.rb
|
1212
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_template_test.rb
|
1213
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_test.rb
|
1214
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_typescript_test.rb
|
1215
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_wikiclothtemplate_test.rb
|
1216
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/test/tilt_yajltemplate_test.rb
|
1217
|
+
- bundle/ruby/2.3.0/gems/tilt-2.0.7/tilt.gemspec
|
1213
1218
|
- bundle/ruby/2.3.0/gems/unicode-display_width-1.1.3/CHANGELOG.txt
|
1214
1219
|
- bundle/ruby/2.3.0/gems/unicode-display_width-1.1.3/MIT-LICENSE.txt
|
1215
1220
|
- bundle/ruby/2.3.0/gems/unicode-display_width-1.1.3/README.md
|
@@ -1380,7 +1385,9 @@ homepage: http://brakemanscanner.org
|
|
1380
1385
|
licenses:
|
1381
1386
|
- MIT
|
1382
1387
|
metadata: {}
|
1383
|
-
post_install_message:
|
1388
|
+
post_install_message: |-
|
1389
|
+
Thank you for using Brakeman!
|
1390
|
+
Please consider supporting future development with Brakeman Pro: https://brakemanpro.com/
|
1384
1391
|
rdoc_options: []
|
1385
1392
|
require_paths:
|
1386
1393
|
- lib
|