brakeman 5.0.2 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +46 -1
- data/README.md +1 -1
- data/bundle/load.rb +5 -5
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/CHANGELOG.md +8 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/FAQ.md +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/Gemfile +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/MIT-LICENSE +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/README.md +19 -13
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/REFERENCE.md +10 -3
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/TODO +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/haml.gemspec +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/attribute_builder.rb +55 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/attribute_compiler.rb +4 -2
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/attribute_parser.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/buffer.rb +0 -56
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/compiler.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/engine.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/error.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/escapable.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/exec.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/filters.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/generator.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/helpers/action_view_extensions.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/helpers/action_view_mods.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/helpers/action_view_xss_mods.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/helpers/safe_erubi_template.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/helpers/safe_erubis_template.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/helpers/xss_mods.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/helpers.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/options.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/parser.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/plugin.rb +18 -1
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/railtie.rb +5 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/sass_rails_filter.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/template/options.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/template.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/temple_engine.rb +2 -1
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/temple_line_counter.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/util.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml/version.rb +1 -1
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/lib/haml.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/yard/default/fulldoc/html/css/common.sass +0 -0
- data/bundle/ruby/2.7.0/gems/{haml-5.2.1 → haml-5.2.2}/yard/default/layout/html/footer.erb +0 -0
- data/bundle/ruby/2.7.0/gems/{parallel-1.20.1 → parallel-1.21.0}/MIT-LICENSE.txt +0 -0
- data/bundle/ruby/2.7.0/gems/parallel-1.21.0/lib/parallel/processor_count.rb +45 -0
- data/bundle/ruby/2.7.0/gems/parallel-1.21.0/lib/parallel/version.rb +4 -0
- data/bundle/ruby/2.7.0/gems/{parallel-1.20.1 → parallel-1.21.0}/lib/parallel.rb +52 -43
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/History.rdoc +76 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/Manifest.txt +3 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/README.rdoc +1 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/compare/normalize.rb +6 -1
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/debugging.md +0 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/gauntlet.md +106 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/rp_extensions.rb +15 -36
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/rp_stringscanner.rb +33 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby20_parser.rb +7122 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/ruby20_parser.y +327 -247
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby21_parser.rb +7176 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/ruby21_parser.y +322 -244
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby22_parser.rb +7222 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby22_parser.y +2718 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby23_parser.rb +7231 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0/lib/ruby26_parser.y → ruby_parser-3.18.0/lib/ruby23_parser.y} +328 -271
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby24_parser.rb +7262 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/ruby24_parser.y +326 -246
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby25_parser.rb +7262 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0/lib/ruby30_parser.y → ruby_parser-3.18.0/lib/ruby25_parser.y} +327 -276
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby26_parser.rb +7281 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0/lib/ruby27_parser.y → ruby_parser-3.18.0/lib/ruby26_parser.y} +326 -260
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby27_parser.rb +8511 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0/lib/ruby_parser.yy → ruby_parser-3.18.0/lib/ruby27_parser.y} +905 -355
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby30_parser.rb +8741 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby30_parser.y +3463 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby3_parser.yy +3467 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/ruby_lexer.rb +261 -609
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/ruby_lexer.rex +27 -20
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/ruby_lexer.rex.rb +59 -23
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_lexer_strings.rb +638 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/ruby_parser.rb +0 -0
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_parser.yy +3481 -0
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/lib/ruby_parser_extras.rb +296 -115
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/tools/munge.rb +34 -6
- data/bundle/ruby/2.7.0/gems/{ruby_parser-3.16.0 → ruby_parser-3.18.0}/tools/ripper.rb +15 -10
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/History.rdoc +15 -0
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/Manifest.txt +0 -0
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/README.rdoc +0 -0
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/lib/composite_sexp_processor.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/lib/pt_testcase.rb +7 -2
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/lib/sexp.rb +19 -9
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/lib/sexp_matcher.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/lib/sexp_processor.rb +1 -1
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/lib/strict_sexp.rb +25 -3
- data/bundle/ruby/2.7.0/gems/{sexp_processor-4.15.3 → sexp_processor-4.16.0}/lib/unique.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{unicode-display_width-1.7.0 → unicode-display_width-1.8.0}/CHANGELOG.md +4 -0
- data/bundle/ruby/2.7.0/gems/{unicode-display_width-1.7.0 → unicode-display_width-1.8.0}/MIT-LICENSE.txt +0 -0
- data/bundle/ruby/2.7.0/gems/{unicode-display_width-1.7.0 → unicode-display_width-1.8.0}/README.md +1 -1
- data/bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/data/display_width.marshal.gz +0 -0
- data/bundle/ruby/2.7.0/gems/{unicode-display_width-1.7.0 → unicode-display_width-1.8.0}/lib/unicode/display_width/constants.rb +2 -2
- data/bundle/ruby/2.7.0/gems/{unicode-display_width-1.7.0 → unicode-display_width-1.8.0}/lib/unicode/display_width/index.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{unicode-display_width-1.7.0 → unicode-display_width-1.8.0}/lib/unicode/display_width/no_string_ext.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{unicode-display_width-1.7.0 → unicode-display_width-1.8.0}/lib/unicode/display_width/string_ext.rb +0 -0
- data/bundle/ruby/2.7.0/gems/{unicode-display_width-1.7.0 → unicode-display_width-1.8.0}/lib/unicode/display_width.rb +0 -0
- data/lib/brakeman/app_tree.rb +1 -1
- data/lib/brakeman/checks/check_execute.rb +10 -0
- data/lib/brakeman/checks/check_json_parsing.rb +1 -1
- data/lib/brakeman/checks/check_render.rb +15 -1
- data/lib/brakeman/checks/check_sql.rb +45 -8
- data/lib/brakeman/file_parser.rb +10 -2
- data/lib/brakeman/options.rb +6 -1
- data/lib/brakeman/processors/alias_processor.rb +41 -4
- data/lib/brakeman/processors/haml_template_processor.rb +9 -0
- data/lib/brakeman/processors/lib/call_conversion_helper.rb +2 -6
- data/lib/brakeman/processors/model_processor.rb +32 -0
- data/lib/brakeman/report/ignore/config.rb +1 -1
- data/lib/brakeman/report/report_csv.rb +1 -1
- data/lib/brakeman/report/report_sarif.rb +22 -3
- data/lib/brakeman/report/report_text.rb +1 -1
- data/lib/brakeman/rescanner.rb +1 -1
- data/lib/brakeman/scanner.rb +13 -13
- data/lib/brakeman/tracker/collection.rb +30 -2
- data/lib/brakeman/tracker/method_info.rb +41 -0
- data/lib/brakeman/util.rb +26 -18
- data/lib/brakeman/version.rb +1 -1
- data/lib/brakeman.rb +4 -2
- data/lib/ruby_parser/bm_sexp.rb +24 -0
- metadata +101 -98
- data/bundle/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel/processor_count.rb +0 -42
- data/bundle/ruby/2.7.0/gems/parallel-1.20.1/lib/parallel/version.rb +0 -3
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/rp_stringscanner.rb +0 -64
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby20_parser.rb +0 -7070
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby21_parser.rb +0 -7143
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby22_parser.rb +0 -7180
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby22_parser.y +0 -2638
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby23_parser.rb +0 -7194
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby23_parser.y +0 -2640
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby24_parser.rb +0 -7214
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby25_parser.rb +0 -7213
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby25_parser.y +0 -2648
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby26_parser.rb +0 -7235
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby27_parser.rb +0 -7310
- data/bundle/ruby/2.7.0/gems/ruby_parser-3.16.0/lib/ruby30_parser.rb +0 -7310
- data/bundle/ruby/2.7.0/gems/unicode-display_width-1.7.0/data/display_width.marshal.gz +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brakeman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Collins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Brakeman detects security vulnerabilities in Ruby on Rails applications
|
14
14
|
via static analysis.
|
@@ -56,46 +56,46 @@ files:
|
|
56
56
|
- bundle/ruby/2.7.0/gems/erubis-2.7.0/lib/erubis/tiny.rb
|
57
57
|
- bundle/ruby/2.7.0/gems/erubis-2.7.0/lib/erubis/util.rb
|
58
58
|
- bundle/ruby/2.7.0/gems/erubis-2.7.0/setup.rb
|
59
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
60
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
61
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
62
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
63
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
64
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
65
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
66
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
67
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
68
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
69
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
70
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
71
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
72
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
73
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
74
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
75
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
76
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
77
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
78
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
79
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
80
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
81
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
82
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
83
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
84
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
85
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
86
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
87
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
88
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
89
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
90
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
91
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
92
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
93
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
94
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
95
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
96
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
97
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
98
|
-
- bundle/ruby/2.7.0/gems/haml-5.2.
|
59
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/CHANGELOG.md
|
60
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/FAQ.md
|
61
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/Gemfile
|
62
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/MIT-LICENSE
|
63
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/README.md
|
64
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/REFERENCE.md
|
65
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/TODO
|
66
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/haml.gemspec
|
67
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml.rb
|
68
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/attribute_builder.rb
|
69
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/attribute_compiler.rb
|
70
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/attribute_parser.rb
|
71
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/buffer.rb
|
72
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/compiler.rb
|
73
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/engine.rb
|
74
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/error.rb
|
75
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/escapable.rb
|
76
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/exec.rb
|
77
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/filters.rb
|
78
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/generator.rb
|
79
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/helpers.rb
|
80
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/helpers/action_view_extensions.rb
|
81
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/helpers/action_view_mods.rb
|
82
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/helpers/action_view_xss_mods.rb
|
83
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/helpers/safe_erubi_template.rb
|
84
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/helpers/safe_erubis_template.rb
|
85
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/helpers/xss_mods.rb
|
86
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/options.rb
|
87
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/parser.rb
|
88
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/plugin.rb
|
89
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/railtie.rb
|
90
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/sass_rails_filter.rb
|
91
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/template.rb
|
92
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/template/options.rb
|
93
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/temple_engine.rb
|
94
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/temple_line_counter.rb
|
95
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/util.rb
|
96
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/lib/haml/version.rb
|
97
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/yard/default/fulldoc/html/css/common.sass
|
98
|
+
- bundle/ruby/2.7.0/gems/haml-5.2.2/yard/default/layout/html/footer.erb
|
99
99
|
- bundle/ruby/2.7.0/gems/highline-2.0.3/AUTHORS
|
100
100
|
- bundle/ruby/2.7.0/gems/highline-2.0.3/COPYING
|
101
101
|
- bundle/ruby/2.7.0/gems/highline-2.0.3/Changelog.md
|
@@ -132,10 +132,10 @@ files:
|
|
132
132
|
- bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/terminal/unix_stty.rb
|
133
133
|
- bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/version.rb
|
134
134
|
- bundle/ruby/2.7.0/gems/highline-2.0.3/lib/highline/wrapper.rb
|
135
|
-
- bundle/ruby/2.7.0/gems/parallel-1.
|
136
|
-
- bundle/ruby/2.7.0/gems/parallel-1.
|
137
|
-
- bundle/ruby/2.7.0/gems/parallel-1.
|
138
|
-
- bundle/ruby/2.7.0/gems/parallel-1.
|
135
|
+
- bundle/ruby/2.7.0/gems/parallel-1.21.0/MIT-LICENSE.txt
|
136
|
+
- bundle/ruby/2.7.0/gems/parallel-1.21.0/lib/parallel.rb
|
137
|
+
- bundle/ruby/2.7.0/gems/parallel-1.21.0/lib/parallel/processor_count.rb
|
138
|
+
- bundle/ruby/2.7.0/gems/parallel-1.21.0/lib/parallel/version.rb
|
139
139
|
- bundle/ruby/2.7.0/gems/rexml-3.2.5/LICENSE.txt
|
140
140
|
- bundle/ruby/2.7.0/gems/rexml-3.2.5/NEWS.md
|
141
141
|
- bundle/ruby/2.7.0/gems/rexml-3.2.5/README.md
|
@@ -193,39 +193,42 @@ files:
|
|
193
193
|
- bundle/ruby/2.7.0/gems/ruby2ruby-2.4.4/Manifest.txt
|
194
194
|
- bundle/ruby/2.7.0/gems/ruby2ruby-2.4.4/README.rdoc
|
195
195
|
- bundle/ruby/2.7.0/gems/ruby2ruby-2.4.4/lib/ruby2ruby.rb
|
196
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
197
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
198
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
199
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
200
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
201
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
202
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
203
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
204
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
205
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
206
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
207
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
208
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
209
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
210
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
211
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
212
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
213
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
214
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
215
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
216
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
217
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
218
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
219
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
220
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
221
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
222
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
223
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
224
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
225
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
226
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
227
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
228
|
-
- bundle/ruby/2.7.0/gems/ruby_parser-3.
|
196
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/History.rdoc
|
197
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/Manifest.txt
|
198
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/README.rdoc
|
199
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/compare/normalize.rb
|
200
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/debugging.md
|
201
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/gauntlet.md
|
202
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/rp_extensions.rb
|
203
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/rp_stringscanner.rb
|
204
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby20_parser.rb
|
205
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby20_parser.y
|
206
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby21_parser.rb
|
207
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby21_parser.y
|
208
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby22_parser.rb
|
209
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby22_parser.y
|
210
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby23_parser.rb
|
211
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby23_parser.y
|
212
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby24_parser.rb
|
213
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby24_parser.y
|
214
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby25_parser.rb
|
215
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby25_parser.y
|
216
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby26_parser.rb
|
217
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby26_parser.y
|
218
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby27_parser.rb
|
219
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby27_parser.y
|
220
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby30_parser.rb
|
221
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby30_parser.y
|
222
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby3_parser.yy
|
223
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_lexer.rb
|
224
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_lexer.rex
|
225
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_lexer.rex.rb
|
226
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_lexer_strings.rb
|
227
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_parser.rb
|
228
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_parser.yy
|
229
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/lib/ruby_parser_extras.rb
|
230
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/tools/munge.rb
|
231
|
+
- bundle/ruby/2.7.0/gems/ruby_parser-3.18.0/tools/ripper.rb
|
229
232
|
- bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/History.rdoc
|
230
233
|
- bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/Manifest.txt
|
231
234
|
- bundle/ruby/2.7.0/gems/ruby_parser-legacy-1.0.0/README.rdoc
|
@@ -270,16 +273,16 @@ files:
|
|
270
273
|
- bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb
|
271
274
|
- bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh
|
272
275
|
- bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/safe_yaml.gemspec
|
273
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
274
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
275
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
276
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
277
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
278
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
279
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
280
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
281
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
282
|
-
- bundle/ruby/2.7.0/gems/sexp_processor-4.
|
276
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/History.rdoc
|
277
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/Manifest.txt
|
278
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/README.rdoc
|
279
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/composite_sexp_processor.rb
|
280
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/pt_testcase.rb
|
281
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/sexp.rb
|
282
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/sexp_matcher.rb
|
283
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/sexp_processor.rb
|
284
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/strict_sexp.rb
|
285
|
+
- bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/unique.rb
|
283
286
|
- bundle/ruby/2.7.0/gems/slim-4.1.0/CHANGES
|
284
287
|
- bundle/ruby/2.7.0/gems/slim-4.1.0/Gemfile
|
285
288
|
- bundle/ruby/2.7.0/gems/slim-4.1.0/LICENSE
|
@@ -422,15 +425,15 @@ files:
|
|
422
425
|
- bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/typescript.rb
|
423
426
|
- bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/wikicloth.rb
|
424
427
|
- bundle/ruby/2.7.0/gems/tilt-2.0.10/lib/tilt/yajl.rb
|
425
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
426
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
427
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
428
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
429
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
430
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
431
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
432
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
433
|
-
- bundle/ruby/2.7.0/gems/unicode-display_width-1.
|
428
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/CHANGELOG.md
|
429
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/MIT-LICENSE.txt
|
430
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/README.md
|
431
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/data/display_width.marshal.gz
|
432
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/lib/unicode/display_width.rb
|
433
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/lib/unicode/display_width/constants.rb
|
434
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/lib/unicode/display_width/index.rb
|
435
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/lib/unicode/display_width/no_string_ext.rb
|
436
|
+
- bundle/ruby/2.7.0/gems/unicode-display_width-1.8.0/lib/unicode/display_width/string_ext.rb
|
434
437
|
- lib/brakeman.rb
|
435
438
|
- lib/brakeman/app_tree.rb
|
436
439
|
- lib/brakeman/call_index.rb
|
@@ -1,42 +0,0 @@
|
|
1
|
-
require 'etc'
|
2
|
-
|
3
|
-
module Parallel
|
4
|
-
# TODO: inline this method into parallel.rb and kill physical_processor_count in next major release
|
5
|
-
module ProcessorCount
|
6
|
-
# Number of processors seen by the OS, used for process scheduling
|
7
|
-
def processor_count
|
8
|
-
@processor_count ||= Integer(ENV['PARALLEL_PROCESSOR_COUNT'] || Etc.nprocessors)
|
9
|
-
end
|
10
|
-
|
11
|
-
# Number of physical processor cores on the current system.
|
12
|
-
def physical_processor_count
|
13
|
-
@physical_processor_count ||= begin
|
14
|
-
ppc = case RbConfig::CONFIG["target_os"]
|
15
|
-
when /darwin1/
|
16
|
-
IO.popen("/usr/sbin/sysctl -n hw.physicalcpu").read.to_i
|
17
|
-
when /linux/
|
18
|
-
cores = {} # unique physical ID / core ID combinations
|
19
|
-
phy = 0
|
20
|
-
IO.read("/proc/cpuinfo").scan(/^physical id.*|^core id.*/) do |ln|
|
21
|
-
if ln.start_with?("physical")
|
22
|
-
phy = ln[/\d+/]
|
23
|
-
elsif ln.start_with?("core")
|
24
|
-
cid = phy + ":" + ln[/\d+/]
|
25
|
-
cores[cid] = true if not cores[cid]
|
26
|
-
end
|
27
|
-
end
|
28
|
-
cores.count
|
29
|
-
when /mswin|mingw/
|
30
|
-
require 'win32ole'
|
31
|
-
result_set = WIN32OLE.connect("winmgmts://").ExecQuery(
|
32
|
-
"select NumberOfCores from Win32_Processor")
|
33
|
-
result_set.to_enum.collect(&:NumberOfCores).reduce(:+)
|
34
|
-
else
|
35
|
-
processor_count
|
36
|
-
end
|
37
|
-
# fall back to logical count if physical info is invalid
|
38
|
-
ppc > 0 ? ppc : processor_count
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
@@ -1,64 +0,0 @@
|
|
1
|
-
require "strscan"
|
2
|
-
|
3
|
-
class RPStringScanner < StringScanner
|
4
|
-
# if ENV['TALLY'] then
|
5
|
-
# alias :old_getch :getch
|
6
|
-
# def getch
|
7
|
-
# warn({:getch => caller[0]}.inspect)
|
8
|
-
# old_getch
|
9
|
-
# end
|
10
|
-
# end
|
11
|
-
|
12
|
-
if "".respond_to? :encoding then
|
13
|
-
if "".respond_to? :byteslice then
|
14
|
-
def string_to_pos
|
15
|
-
string.byteslice(0, pos)
|
16
|
-
end
|
17
|
-
else
|
18
|
-
def string_to_pos
|
19
|
-
string.bytes.first(pos).pack("c*").force_encoding(string.encoding)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
def charpos
|
24
|
-
string_to_pos.length
|
25
|
-
end
|
26
|
-
else
|
27
|
-
alias :charpos :pos
|
28
|
-
|
29
|
-
def string_to_pos
|
30
|
-
string[0..pos]
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
def unread_many str # TODO: remove this entirely - we should not need it
|
35
|
-
warn({:unread_many => caller[0]}.inspect) if ENV['TALLY']
|
36
|
-
begin
|
37
|
-
string[charpos, 0] = str
|
38
|
-
rescue IndexError
|
39
|
-
# HACK -- this is a bandaid on a dirty rag on an open festering wound
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
if ENV['DEBUG'] then
|
44
|
-
alias :old_getch :getch
|
45
|
-
def getch
|
46
|
-
c = self.old_getch
|
47
|
-
p :getch => [c, caller.first]
|
48
|
-
c
|
49
|
-
end
|
50
|
-
|
51
|
-
alias :old_scan :scan
|
52
|
-
def scan re
|
53
|
-
s = old_scan re
|
54
|
-
where = caller[1].split(/:/).first(2).join(":")
|
55
|
-
d :scan => [s, where] if s
|
56
|
-
s
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
def d o
|
61
|
-
$stderr.puts o.inspect
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|