zuora_connect_ui 0.7.1 → 0.8.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/app/assets/javascripts/zuora_connect_ui/app.js.erb +9 -3
- data/app/assets/javascripts/zuora_connect_ui/datatable.js +9 -8
- data/app/assets/javascripts/zuora_connect_ui/fetch.js +36 -27
- data/app/assets/javascripts/zuora_connect_ui/noty.js +6 -0
- data/app/assets/stylesheets/_zuora_connect_ui.scss +2 -3
- data/app/helpers/zuora_connect_ui/application_helper.rb +1 -1
- data/app/views/partials/_row_actions.html.erb +2 -2
- data/app/views/partials/_table.html.erb +2 -2
- data/lib/zuora_connect_ui.rb +0 -1
- data/lib/zuora_connect_ui/version.rb +1 -1
- data/vendor/assets/anjuna/css/anjuna-application.css +2 -0
- data/vendor/assets/anjuna/css/anjuna-theme.css +2 -2
- data/vendor/ruby/2.6.0/cache/brakeman-4.6.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/nokogiri-1.10.4.gem +0 -0
- data/vendor/ruby/2.6.0/cache/rails-html-sanitizer-1.2.0.gem +0 -0
- data/vendor/ruby/2.6.0/cache/rubocop-0.74.0.gem +0 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/gem.build_complete +0 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/gem_make.out +438 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/mkmf.log +558 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/nokogiri/nokogiri.so +0 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/CHANGES.md +1156 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/FEATURES +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/README.md +199 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bin/brakeman +10 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/load.rb +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/CHANGES.txt +828 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/MIT-LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/README.txt +102 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/erubis +3468 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/erubis-run.rb +132 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/contrib/inline-require +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis.rb +73 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/context.rb +83 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/converter.rb +357 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine.rb +120 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +117 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +113 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +110 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +119 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +126 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +95 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +99 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +125 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +114 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +127 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/enhancer.rb +723 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/error.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/evaluator.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/generator.rb +85 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helper.rb +47 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +197 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +353 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/local-setting.rb +9 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/main.rb +516 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/tiny.rb +144 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/lib/erubis/util.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/erubis-2.7.0/setup.rb +1331 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/CHANGELOG.md +1363 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/FAQ.md +157 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/MIT-LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/README.md +173 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/REFERENCE.md +1294 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/buffer.rb +345 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/compiler.rb +540 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/engine.rb +245 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/error.rb +61 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/exec.rb +329 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/filters.rb +404 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers.rb +664 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_extensions.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb +147 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/safe_erubis_template.rb +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers/xss_mods.rb +104 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/options.rb +279 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/parser.rb +764 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/railtie.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/sass_rails_filter.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/template.rb +32 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/template/options.rb +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/template/plugin.rb +41 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/util.rb +377 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/AUTHORS +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/COPYING +339 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/Changelog.md +617 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/Gemfile +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/LICENSE +7 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/README.md +202 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/TODO +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/appveyor.yml +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/highline.gemspec +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline.rb +650 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/builtin_styles.rb +129 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/color_scheme.rb +151 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/compatibility.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/custom_errors.rb +57 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/import.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/io_console_compatible.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/list.rb +177 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/list_renderer.rb +261 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/menu.rb +576 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/menu/item.rb +32 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/paginator.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/question.rb +630 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/question/answer_converter.rb +103 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/question_asker.rb +150 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/simulate.rb +59 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/statement.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/string.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/string_extensions.rb +130 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/style.rb +325 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/template_renderer.rb +62 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/terminal.rb +190 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/terminal/io_console.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/terminal/ncurses.rb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/terminal/unix_stty.rb +51 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/version.rb +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/lib/highline/wrapper.rb +53 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.3/History.rdoc +429 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.3/Manifest.txt +8 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.3/README.rdoc +87 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby2ruby-2.4.3/lib/ruby2ruby.rb +1309 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/History.rdoc +1065 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/Manifest.txt +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/README.rdoc +109 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/compare/normalize.rb +173 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/debugging.md +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/rp_extensions.rb +74 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/rp_stringscanner.rb +64 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby20_parser.rb +6869 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby20_parser.y +2431 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby21_parser.rb +6944 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby21_parser.y +2449 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby22_parser.rb +6968 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby22_parser.y +2458 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby23_parser.rb +6987 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby23_parser.y +2460 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby24_parser.rb +6994 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby24_parser.y +2466 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby25_parser.rb +6994 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby25_parser.y +2466 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby26_parser.rb +7012 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby26_parser.y +2478 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby_lexer.rb +1449 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby_lexer.rex +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby_lexer.rex.rb +365 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby_parser.rb +92 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby_parser.yy +2582 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb +1381 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/tools/munge.rb +217 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-3.13.1/tools/ripper.rb +28 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/History.rdoc +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/Manifest.txt +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/README.rdoc +54 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.rb +5794 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby18_parser.y +1909 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.rb +6186 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby19_parser.y +2117 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rb +1412 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_lexer.rex.rb +323 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser_extras.rb +1388 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/CHANGES.md +154 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Gemfile +11 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/LICENSE.txt +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/README.md +191 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bundle_install_all_ruby_versions.sh +11 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb +94 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/deep.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/libyaml_checker.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb +181 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/hexadecimal.rb +12 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/sexagesimal.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_handler.rb +99 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_resolver.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/resolver.rb +94 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_hack.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_resolver.rb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb +41 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_boolean.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_date.rb +13 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_float.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_integer.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_nil.rb +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_symbol.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/transformation_map.rb +47 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/safe_yaml.gemspec +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/History.rdoc +380 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/Manifest.txt +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/README.rdoc +93 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/composite_sexp_processor.rb +49 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/pt_testcase.rb +3128 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/sexp.rb +1423 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/sexp_processor.rb +754 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/strict_sexp.rb +126 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/sexp_processor-4.12.1/lib/unique.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/CHANGES +456 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/Gemfile +71 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/LICENSE +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/README.jp.md +1289 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/README.md +1290 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim.rb +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/code_attributes.rb +67 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/command.rb +128 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/controls.rb +60 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/do_inserter.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/embedded.rb +248 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/end_inserter.rb +62 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/engine.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/erb_converter.rb +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/filter.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/grammar.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/include.rb +57 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/interpolation.rb +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less/context.rb +127 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/logic_less/filter.rb +80 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/parser.rb +548 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart.rb +8 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/escaper.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/filter.rb +96 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/smart/parser.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/splat/builder.rb +107 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/splat/filter.rb +91 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/template.rb +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/translator.rb +118 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/lib/slim/version.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/slim.gemspec +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/CHANGES +255 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/EXPRESSIONS.md +262 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/Gemfile +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/README.md +267 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple.rb +67 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/engine.rb +67 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/erb/engine.rb +15 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/erb/parser.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/erb/template.rb +11 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/erb/trimming.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/exceptions.rb +13 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filter.rb +9 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/code_merger.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/control_flow.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/dynamic_inliner.rb +71 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/encoding.rb +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/eraser.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/escapable.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/multi_flattener.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/remove_bom.rb +13 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/static_analyzer.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/static_merger.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/string_splitter.rb +130 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/filters/validator.rb +15 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/generator.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/generators/array.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/generators/array_buffer.rb +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/generators/erb.rb +32 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/generators/rails_output_buffer.rb +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/generators/string_buffer.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/grammar.rb +57 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/attribute_merger.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/attribute_remover.rb +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/attribute_sorter.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/dispatcher.rb +31 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/fast.rb +130 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/filter.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/pretty.rb +103 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/html/safe.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/map.rb +105 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/mixins/dispatcher.rb +161 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/mixins/engine_dsl.rb +145 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/mixins/grammar_dsl.rb +170 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/mixins/options.rb +87 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/mixins/template.rb +28 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/parser.rb +8 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/static_analyzer.rb +77 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/templates.rb +11 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/templates/rails.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/templates/tilt.rb +46 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/utils.rb +101 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/lib/temple/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/temple.gemspec +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Gemfile +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/History.rdoc +85 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/LICENSE.txt +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Manifest +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/README.rdoc +247 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/Todo.rdoc +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb +94 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/import.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/row.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb +14 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/style.rb +79 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb +343 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb +9 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/version.rb +5 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/terminal-table-1.8.0/terminal-table.gemspec +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/CHANGELOG.md +132 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/COPYING +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/Gemfile +70 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/HACKING +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/README.md +233 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt.rb +166 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/asciidoc.rb +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/babel.rb +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/bluecloth.rb +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/builder.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/coffee.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/commonmarker.rb +78 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/creole.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/csv.rb +65 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/dummy.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/erb.rb +63 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/erubi.rb +32 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/erubis.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/etanni.rb +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/haml.rb +86 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/kramdown.rb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/less.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/liquid.rb +44 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/livescript.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/mapping.rb +293 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/markaby.rb +45 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/maruku.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/nokogiri.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/pandoc.rb +49 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/plain.rb +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/prawn.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/radius.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/rdiscount.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/rdoc.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/redcarpet.rb +83 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/redcloth.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/rst-pandoc.rb +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/sass.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/sigil.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/string.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/template.rb +302 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/typescript.rb +26 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/wikicloth.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/lib/tilt/yajl.rb +87 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/tilt.gemspec +130 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/CHANGELOG.md +125 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/MIT-LICENSE.txt +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/README.md +124 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/data/display_width.marshal.gz +0 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width.rb +51 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/unicode-display_width-1.6.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman.rb +553 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/app_tree.rb +217 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/call_index.rb +261 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks.rb +217 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/base_check.rb +485 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_basic_auth.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_basic_auth_timing_attack.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_content_tag.rb +212 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_cookie_serialization.rb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_create_with.rb +74 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_cross_site_scripting.rb +386 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_default_routes.rb +91 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_deserialize.rb +105 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_detailed_exceptions.rb +55 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_digest_dos.rb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_divide_by_zero.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_dynamic_finders.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_escape_function.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_evaluation.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_execute.rb +208 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_file_access.rb +87 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_file_disclosure.rb +35 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_filter_skipping.rb +31 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_force_ssl.rb +27 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_forgery_setting.rb +81 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_header_dos.rb +31 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_i18n_xss.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_jruby_xml.rb +36 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_json_encoding.rb +47 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_json_parsing.rb +109 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_link_to.rb +132 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_link_to_href.rb +151 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_mail_to.rb +49 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_mass_assignment.rb +196 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_mime_type_dos.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_model_attr_accessible.rb +55 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_model_attributes.rb +81 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_model_serialize.rb +67 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_nested_attributes.rb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_nested_attributes_bypass.rb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_number_to_currency.rb +74 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_permit_attributes.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_quote_table_name.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_redirect.rb +256 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_regex_dos.rb +68 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_render.rb +97 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_render_dos.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_render_inline.rb +53 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_response_splitting.rb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_reverse_tabnabbing.rb +54 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_route_dos.rb +42 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_safe_buffer_manipulation.rb +31 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_sanitize_methods.rb +112 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_secrets.rb +40 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_select_tag.rb +59 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_select_vulnerability.rb +60 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_send.rb +46 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_send_file.rb +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_session_manipulation.rb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_session_settings.rb +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_simple_format.rb +63 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_single_quotes.rb +105 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_skip_before_filter.rb +60 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_sprockets_path_traversal.rb +39 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_sql.rb +707 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_sql_cves.rb +106 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_ssl_verify.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_strip_tags.rb +91 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_symbol_dos.rb +71 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_symbol_dos_cve.rb +30 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_translate_bug.rb +45 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_unsafe_reflection.rb +50 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_unscoped_find.rb +57 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_validation_regex.rb +116 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_weak_hash.rb +147 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_without_protection.rb +80 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_xml_dos.rb +45 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_yaml_parsing.rb +113 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/codeclimate/engine_configuration.rb +97 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/commandline.rb +179 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/differ.rb +66 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/file_parser.rb +52 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/file_path.rb +85 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/format/style.css +141 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/messages.rb +220 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/options.rb +359 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/haml_embedded.rb +44 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/rails2_erubis.rb +6 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/rails2_xss_plugin_erubis.rb +48 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/rails3_erubis.rb +81 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/slim_embedded.rb +44 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/template_parser.rb +106 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processor.rb +101 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/alias_processor.rb +1268 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/base_processor.rb +296 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/config_processor.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/controller_alias_processor.rb +281 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/controller_processor.rb +245 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/erb_template_processor.rb +77 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/erubis_template_processor.rb +92 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/gem_processor.rb +100 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/haml_template_processor.rb +196 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/basic_processor.rb +37 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/call_conversion_helper.rb +95 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/find_all_calls.rb +247 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/find_call.rb +122 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/find_return_value.rb +166 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/module_helper.rb +111 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/processor_helper.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails2_config_processor.rb +145 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails2_route_processor.rb +313 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails3_config_processor.rb +132 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails3_route_processor.rb +306 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails4_config_processor.rb +18 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/render_helper.rb +186 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/render_path.rb +139 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/route_helper.rb +68 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/safe_call_helper.rb +16 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/library_processor.rb +74 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/model_processor.rb +90 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/output_processor.rb +149 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/route_processor.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/slim_template_processor.rb +127 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/template_alias_processor.rb +117 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/template_processor.rb +89 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report.rb +88 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/config/remediation.yml +71 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/ignore/config.rb +152 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/ignore/interactive.rb +362 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/pager.rb +113 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/renderer.rb +24 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_base.rb +193 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_codeclimate.rb +79 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_csv.rb +72 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_hash.rb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_html.rb +219 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_json.rb +43 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_markdown.rb +114 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_table.rb +290 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_tabs.rb +19 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_text.rb +214 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/controller_overview.html.erb +22 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/controller_warnings.html.erb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/error_overview.html.erb +29 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/header.html.erb +58 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/ignored_warnings.html.erb +25 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/model_warnings.html.erb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/overview.html.erb +38 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/security_warnings.html.erb +23 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/template_overview.html.erb +21 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/view_warnings.html.erb +34 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/warning_overview.html.erb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/rescanner.rb +484 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/scanner.rb +331 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker.rb +390 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/collection.rb +94 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/config.rb +209 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/constants.rb +172 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/controller.rb +161 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/library.rb +17 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/model.rb +90 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/template.rb +33 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/util.rb +357 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/warning.rb +313 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/warning_codes.rb +122 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/ruby_parser/bm_sexp.rb +626 -0
- data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/ruby_parser/bm_sexp_processor.rb +117 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/LICENSE-DEPENDENCIES.md +1614 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/LICENSE.md +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/README.md +198 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/bin/nokogiri +118 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/dependencies.yml +72 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/Makefile +628 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/depend +358 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/extconf.rb +686 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_document.c +170 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_document.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_document.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_element_description.c +279 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_element_description.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_element_description.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_entity_lookup.c +32 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_entity_lookup.h +8 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_entity_lookup.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_parser_context.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_push_parser.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/nokogiri.c +141 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/nokogiri.h +121 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/nokogiri.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/nokogiri.so +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attr.c +103 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attr.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attr.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attribute_decl.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_cdata.c +62 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_cdata.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_cdata.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_comment.c +69 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_comment.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_comment.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document.c +608 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document.h +23 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document_fragment.c +48 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document_fragment.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document_fragment.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_dtd.c +202 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_dtd.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_dtd.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_content.c +123 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_content.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_content.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_decl.c +69 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_decl.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_decl.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_encoding_handler.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_decl.c +110 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_decl.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_decl.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_reference.c +52 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_reference.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_reference.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_io.c +61 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_io.h +11 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_io.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_libxml2_hacks.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_namespace.c +111 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_namespace.h +14 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_namespace.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node.c +1753 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node.h +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node_set.c +486 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node_set.h +12 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node_set.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_processing_instruction.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_reader.c +668 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_reader.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_reader.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_relax_ng.c +161 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_relax_ng.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_relax_ng.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser.c +310 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser.h +39 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser_context.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_push_parser.c +159 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_push_parser.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_schema.c +205 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_schema.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_schema.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_syntax_error.c +64 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_syntax_error.h +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_syntax_error.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_text.c +52 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_text.h +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_text.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_xpath_context.c +298 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_xpath_context.h +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_xpath_context.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xslt_stylesheet.o +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri.rb +144 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css.rb +27 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/node.rb +52 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/parser.rb +750 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/parser.y +272 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/parser_extras.rb +91 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/syntax_error.rb +7 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/tokenizer.rb +153 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/xpath_visitor.rb +230 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/decorators/slop.rb +42 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html.rb +37 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/builder.rb +35 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/document.rb +335 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/document_fragment.rb +49 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/element_description.rb +23 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/sax/parser.rb +62 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/sax/push_parser.rb +36 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/nokogiri.so +0 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/syntax_error.rb +4 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/version.rb +109 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml.rb +75 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/attr.rb +14 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/builder.rb +446 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/cdata.rb +11 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/character_data.rb +7 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/document.rb +285 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/document_fragment.rb +160 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/dtd.rb +32 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/element_content.rb +36 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/element_decl.rb +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/entity_reference.rb +18 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/namespace.rb +13 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/node.rb +902 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/node_set.rb +371 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/notation.rb +6 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/parse_options.rb +120 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp.rb +2 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp/node.rb +56 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/reader.rb +112 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax.rb +4 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax/document.rb +171 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax/parser.rb +122 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/schema.rb +63 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/searchable.rb +230 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/syntax_error.rb +70 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/text.rb +9 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/xpath.rb +10 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xslt.rb +56 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +78 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxml2/0002-Remove-script-macro-support.patch +40 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch +44 -0
- data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxslt/0001-Fix-security-framework-bypass.patch +120 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/CHANGELOG.md +38 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/MIT-LICENSE +23 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/README.md +140 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/lib/rails-html-sanitizer.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/lib/rails/html/sanitizer.rb +155 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/lib/rails/html/sanitizer/version.rb +7 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/lib/rails/html/scrubbers.rb +201 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/test/sanitizer_test.rb +568 -0
- data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/test/scrubbers_test.rb +174 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/LICENSE.txt +20 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/README.md +216 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/assets/logo.png +0 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/assets/output.html.erb +261 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/bin/console +10 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/bin/setup +7 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/config/default.yml +3915 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/exe/rubocop +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop.rb +603 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/builder.rb +81 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node.rb +640 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/block_node.rb +115 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/class_node.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/def_node.rb +71 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/float_node.rb +12 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/int_node.rb +12 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +272 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/module_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/range_node.rb +18 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/resbody_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/traversal.rb +183 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cli.rb +343 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/comment_config.rb +200 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config.rb +240 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_loader.rb +255 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_loader_resolver.rb +194 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_obsoletion.rb +201 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_validator.rb +239 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/autocorrect_logic.rb +103 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/commissioner.rb +137 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/cop.rb +270 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/corrector.rb +171 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/alignment_corrector.rb +120 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +106 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/generator.rb +223 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/generator/configuration_injector.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/align_arguments.rb +93 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/align_hash.rb +358 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/align_parameters.rb +118 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/block_end_newline.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_comment.rb +160 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +142 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +215 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/end_of_line.rb +87 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/extra_spacing.rb +207 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +289 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_assignment.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_first_argument.rb +247 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_first_array_element.rb +167 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_first_hash_element.rb +184 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_first_parameter.rb +100 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_heredoc.rb +256 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/leading_comment_space.rb +88 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_block_layout.rb +124 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +189 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +165 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_around_operators.rb +182 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +241 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +150 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/tab.rb +75 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/assignment_in_condition.rb +84 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/debugger.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/duplicate_methods.rb +239 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/erb_new_arguments.rb +163 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +185 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/handle_exceptions.rb +95 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/number_conversion.rb +81 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +66 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/to_json.rb +41 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unified_integer.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +172 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unused_block_argument.rb +149 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unused_method_argument.rb +68 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_assignment.rb +129 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_setter_call.rb +164 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/void.rb +170 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/message_annotator.rb +120 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/line_length.rb +321 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/check_line_breakable.rb +190 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/hash_alignment.rb +147 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/ignored_method_patterns.rb +19 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/interpolation.rb +27 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/file_name.rb +205 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/method_name.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/variable_name.rb +51 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/offense.rb +194 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/registry.rb +190 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/access_modifier_declarations.rb +111 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/alias.rb +147 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/attr.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/block_comments.rb +70 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/block_delimiters.rb +330 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +190 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/class_methods.rb +60 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/commented_keyword.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/conditional_assignment.rb +668 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/constant_visibility.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/copyright.rb +95 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/documentation.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/documentation_method.rb +81 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/double_cop_disable_directive.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/float_division.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/format_string.rb +124 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/format_string_token.rb +170 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +164 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/guard_clause.rb +121 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/if_inside_else.rb +87 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/if_unless_modifier.rb +91 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/inverse_methods.rb +187 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/lambda.rb +131 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +388 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/mixin_usage.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/module_function.rb +104 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_when_then.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/negated_unless.rb +89 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/nested_modifier.rb +89 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/non_nil_check.rb +124 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/numeric_predicate.rb +137 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/one_line_conditional.rb +101 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/optional_arguments.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/or_assignment.rb +90 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/parentheses_around_condition.rb +103 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/random_with_offset.rb +158 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_parentheses.rb +222 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_return.rb +161 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_self.rb +154 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/safe_navigation.rb +255 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/sample.rb +144 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/semicolon.rb +90 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/single_line_methods.rb +76 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/special_global_vars.rb +213 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/stderr_puts.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/strip.rb +46 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/symbol_proc.rb +110 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/ternary_parentheses.rb +204 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +96 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unless_else.rb +55 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_sort.rb +165 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/yoda_condition.rb +141 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/team.rb +191 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/util.rb +127 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force.rb +464 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/variable.rb +104 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/core_ext/string.rb +47 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/error.rb +34 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/file_finder.rb +42 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/disabled_config_formatter.rb +224 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/formatter_set.rb +105 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/simple_text_formatter.rb +126 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/tap_formatter.rb +71 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/magic_comment.rb +210 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/node_pattern.rb +799 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/options.rb +465 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/platform.rb +11 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/processed_source.rb +216 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rake_task.rb +79 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/remote_config.rb +106 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/result_cache.rb +191 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/cop_helper.rb +94 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/expect_offense.rb +240 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/shared_contexts.rb +90 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/support.rb +13 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/runner.rb +352 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/target_finder.rb +190 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/token.rb +114 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/version.rb +21 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/warning.rb +11 -0
- data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/yaml_duplication_checker.rb +39 -0
- data/vendor/ruby/2.6.0/specifications/brakeman-4.6.1.gemspec +23 -0
- data/vendor/ruby/2.6.0/specifications/nokogiri-1.10.4.gemspec +83 -0
- data/vendor/ruby/2.6.0/specifications/rails-html-sanitizer-1.2.0.gemspec +44 -0
- data/vendor/ruby/2.6.0/specifications/rubocop-0.74.0.gemspec +56 -0
- metadata +1311 -2
data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/filters.rb
ADDED
@@ -0,0 +1,404 @@
|
|
1
|
+
require "tilt"
|
2
|
+
|
3
|
+
module Haml
|
4
|
+
# The module containing the default Haml filters,
|
5
|
+
# as well as the base module, {Haml::Filters::Base}.
|
6
|
+
#
|
7
|
+
# @see Haml::Filters::Base
|
8
|
+
module Filters
|
9
|
+
|
10
|
+
extend self
|
11
|
+
|
12
|
+
# @return [{String => Haml::Filters::Base}] a hash mapping filter names to
|
13
|
+
# classes.
|
14
|
+
attr_reader :defined
|
15
|
+
@defined = {}
|
16
|
+
|
17
|
+
# Loads an external template engine from
|
18
|
+
# [Tilt](https://github.com/rtomayko/tilt) as a filter. This method is used
|
19
|
+
# internally by Haml to set up filters for Sass, SCSS, Less, Coffeescript,
|
20
|
+
# and others. It's left public to make it easy for developers to add their
|
21
|
+
# own Tilt-based filters if they choose.
|
22
|
+
#
|
23
|
+
# @return [Module] The generated filter.
|
24
|
+
# @param [Hash] options Options for generating the filter module.
|
25
|
+
# @option options [Boolean] :precompiled Whether the filter should be
|
26
|
+
# precompiled. Erb, Nokogiri and Builder use this, for example.
|
27
|
+
# @option options [Class] :template_class The Tilt template class to use,
|
28
|
+
# in the event it can't be inferred from an extension.
|
29
|
+
# @option options [String] :extension The extension associated with the
|
30
|
+
# content, for example "markdown". This lets Tilt choose the preferred
|
31
|
+
# engine when there are more than one.
|
32
|
+
# @option options [String,Array<String>] :alias Any aliases for the filter.
|
33
|
+
# For example, :coffee is also available as :coffeescript.
|
34
|
+
# @option options [String] :extend The name of a module to extend when
|
35
|
+
# defining the filter. Defaults to "Plain". This allows filters such as
|
36
|
+
# Coffee to "inherit" from Javascript, wrapping its output in script tags.
|
37
|
+
# @since 4.0
|
38
|
+
def register_tilt_filter(name, options = {})
|
39
|
+
if constants.map(&:to_s).include?(name.to_s)
|
40
|
+
raise "#{name} filter already defined"
|
41
|
+
end
|
42
|
+
|
43
|
+
filter = const_set(name, Module.new)
|
44
|
+
filter.extend const_get(options[:extend] || "Plain")
|
45
|
+
filter.extend TiltFilter
|
46
|
+
filter.extend PrecompiledTiltFilter if options.has_key? :precompiled
|
47
|
+
|
48
|
+
if options.has_key? :template_class
|
49
|
+
filter.template_class = options[:template_class]
|
50
|
+
else
|
51
|
+
filter.tilt_extension = options.fetch(:extension) { name.downcase }
|
52
|
+
end
|
53
|
+
|
54
|
+
# All ":coffeescript" as alias for ":coffee", etc.
|
55
|
+
if options.has_key?(:alias)
|
56
|
+
[options[:alias]].flatten.each {|x| Filters.defined[x.to_s] = filter}
|
57
|
+
end
|
58
|
+
filter
|
59
|
+
end
|
60
|
+
|
61
|
+
# Removes a filter from Haml. If the filter was removed, it returns
|
62
|
+
# the that was remove Module upon success, or nil on failure. If you try
|
63
|
+
# to redefine a filter, Haml will raise an error. Use this method first to
|
64
|
+
# explicitly remove the filter before redefining it.
|
65
|
+
# @return Module The filter module that has been removed
|
66
|
+
# @since 4.0
|
67
|
+
def remove_filter(name)
|
68
|
+
defined.delete name.to_s.downcase
|
69
|
+
if constants.map(&:to_s).include?(name.to_s)
|
70
|
+
remove_const name.to_sym
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# The base module for Haml filters.
|
75
|
+
# User-defined filters should be modules including this module.
|
76
|
+
# The name of the filter is taken by downcasing the module name.
|
77
|
+
# For instance, if the module is named `FooBar`, the filter will be `:foobar`.
|
78
|
+
#
|
79
|
+
# A user-defined filter should override either \{#render} or {\#compile}.
|
80
|
+
# \{#render} is the most common.
|
81
|
+
# It takes a string, the filter source,
|
82
|
+
# and returns another string, the result of the filter.
|
83
|
+
# For example, the following will define a filter named `:sass`:
|
84
|
+
#
|
85
|
+
# module Haml::Filters::Sass
|
86
|
+
# include Haml::Filters::Base
|
87
|
+
#
|
88
|
+
# def render(text)
|
89
|
+
# ::Sass::Engine.new(text).render
|
90
|
+
# end
|
91
|
+
# end
|
92
|
+
#
|
93
|
+
# For details on overriding \{#compile}, see its documentation.
|
94
|
+
#
|
95
|
+
# Note that filters overriding \{#render} automatically support `#{}`
|
96
|
+
# for interpolating Ruby code.
|
97
|
+
# Those overriding \{#compile} will need to add such support manually
|
98
|
+
# if it's desired.
|
99
|
+
module Base
|
100
|
+
# This method is automatically called when {Base} is included in a module.
|
101
|
+
# It automatically defines a filter
|
102
|
+
# with the downcased name of that module.
|
103
|
+
# For example, if the module is named `FooBar`, the filter will be `:foobar`.
|
104
|
+
#
|
105
|
+
# @param base [Module, Class] The module that this is included in
|
106
|
+
def self.included(base)
|
107
|
+
Filters.defined[base.name.split("::").last.downcase] = base
|
108
|
+
base.extend(base)
|
109
|
+
end
|
110
|
+
|
111
|
+
# Takes the source text that should be passed to the filter
|
112
|
+
# and returns the result of running the filter on that string.
|
113
|
+
#
|
114
|
+
# This should be overridden in most individual filter modules
|
115
|
+
# to render text with the given filter.
|
116
|
+
# If \{#compile} is overridden, however, \{#render} doesn't need to be.
|
117
|
+
#
|
118
|
+
# @param text [String] The source text for the filter to process
|
119
|
+
# @return [String] The filtered result
|
120
|
+
# @raise [Haml::Error] if it's not overridden
|
121
|
+
def render(text)
|
122
|
+
raise Error.new("#{self.inspect}#render not defined!")
|
123
|
+
end
|
124
|
+
|
125
|
+
# Same as \{#render}, but takes a {Haml::Engine} options hash as well.
|
126
|
+
# It's only safe to rely on options made available in {Haml::Engine#options\_for\_buffer}.
|
127
|
+
#
|
128
|
+
# @see #render
|
129
|
+
# @param text [String] The source text for the filter to process
|
130
|
+
# @return [String] The filtered result
|
131
|
+
# @raise [Haml::Error] if it or \{#render} isn't overridden
|
132
|
+
def render_with_options(text, options)
|
133
|
+
render(text)
|
134
|
+
end
|
135
|
+
|
136
|
+
# Same as \{#compile}, but requires the necessary files first.
|
137
|
+
# *This is used by {Haml::Engine} and is not intended to be overridden or used elsewhere.*
|
138
|
+
#
|
139
|
+
# @see #compile
|
140
|
+
def internal_compile(*args)
|
141
|
+
compile(*args)
|
142
|
+
end
|
143
|
+
|
144
|
+
# This should be overridden when a filter needs to have access to the Haml
|
145
|
+
# evaluation context. Rather than applying a filter to a string at
|
146
|
+
# compile-time, \{#compile} uses the {Haml::Compiler} instance to compile
|
147
|
+
# the string to Ruby code that will be executed in the context of the
|
148
|
+
# active Haml template.
|
149
|
+
#
|
150
|
+
# Warning: the {Haml::Compiler} interface is neither well-documented
|
151
|
+
# nor guaranteed to be stable.
|
152
|
+
# If you want to make use of it, you'll probably need to look at the
|
153
|
+
# source code and should test your filter when upgrading to new Haml
|
154
|
+
# versions.
|
155
|
+
#
|
156
|
+
# @param compiler [Haml::Compiler] The compiler instance
|
157
|
+
# @param text [String] The text of the filter
|
158
|
+
# @raise [Haml::Error] if none of \{#compile}, \{#render}, and
|
159
|
+
# \{#render_with_options} are overridden
|
160
|
+
def compile(compiler, text)
|
161
|
+
filter = self
|
162
|
+
compiler.instance_eval do
|
163
|
+
if contains_interpolation?(text)
|
164
|
+
return if options[:suppress_eval]
|
165
|
+
|
166
|
+
text = unescape_interpolation(text).gsub(/(\\+)n/) do |s|
|
167
|
+
escapes = $1.size
|
168
|
+
next s if escapes % 2 == 0
|
169
|
+
("\\" * (escapes - 1)) + "\n"
|
170
|
+
end
|
171
|
+
# We need to add a newline at the beginning to get the
|
172
|
+
# filter lines to line up (since the Haml filter contains
|
173
|
+
# a line that doesn't show up in the source, namely the
|
174
|
+
# filter name). Then we need to escape the trailing
|
175
|
+
# newline so that the whole filter block doesn't take up
|
176
|
+
# too many.
|
177
|
+
text = "\n" + text.sub(/\n"\Z/, "\\n\"")
|
178
|
+
push_script <<RUBY.rstrip, :escape_html => false
|
179
|
+
find_and_preserve(#{filter.inspect}.render_with_options(#{text}, _hamlout.options))
|
180
|
+
RUBY
|
181
|
+
return
|
182
|
+
end
|
183
|
+
|
184
|
+
rendered = Haml::Helpers::find_and_preserve(filter.render_with_options(text, compiler.options), compiler.options[:preserve])
|
185
|
+
|
186
|
+
if options[:ugly]
|
187
|
+
push_text(rendered.rstrip)
|
188
|
+
else
|
189
|
+
push_text(rendered.rstrip.gsub("\n", "\n#{' ' * @output_tabs}"))
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
# Does not parse the filtered text.
|
196
|
+
# This is useful for large blocks of text without HTML tags, when you don't
|
197
|
+
# want lines starting with `.` or `-` to be parsed.
|
198
|
+
module Plain
|
199
|
+
include Base
|
200
|
+
|
201
|
+
# @see Base#render
|
202
|
+
def render(text); text; end
|
203
|
+
end
|
204
|
+
|
205
|
+
# Surrounds the filtered text with `<script>` and CDATA tags. Useful for
|
206
|
+
# including inline Javascript.
|
207
|
+
module Javascript
|
208
|
+
include Base
|
209
|
+
|
210
|
+
# @see Base#render_with_options
|
211
|
+
def render_with_options(text, options)
|
212
|
+
indent = options[:cdata] ? ' ' : ' ' # 4 or 2 spaces
|
213
|
+
if options[:format] == :html5
|
214
|
+
type = ''
|
215
|
+
else
|
216
|
+
type = " type=#{options[:attr_wrapper]}text/javascript#{options[:attr_wrapper]}"
|
217
|
+
end
|
218
|
+
|
219
|
+
str = "<script#{type}>\n"
|
220
|
+
str << " //<![CDATA[\n" if options[:cdata]
|
221
|
+
str << "#{indent}#{text.rstrip.gsub("\n", "\n#{indent}")}\n"
|
222
|
+
str << " //]]>\n" if options[:cdata]
|
223
|
+
str << "</script>"
|
224
|
+
|
225
|
+
str
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# Surrounds the filtered text with `<style>` and CDATA tags. Useful for
|
230
|
+
# including inline CSS.
|
231
|
+
module Css
|
232
|
+
include Base
|
233
|
+
|
234
|
+
# @see Base#render_with_options
|
235
|
+
def render_with_options(text, options)
|
236
|
+
indent = options[:cdata] ? ' ' : ' ' # 4 or 2 spaces
|
237
|
+
if options[:format] == :html5
|
238
|
+
type = ''
|
239
|
+
else
|
240
|
+
type = " type=#{options[:attr_wrapper]}text/css#{options[:attr_wrapper]}"
|
241
|
+
end
|
242
|
+
|
243
|
+
str = "<style#{type}>\n"
|
244
|
+
str << " /*<![CDATA[*/\n" if options[:cdata]
|
245
|
+
str << "#{indent}#{text.rstrip.gsub("\n", "\n#{indent}")}\n"
|
246
|
+
str << " /*]]>*/\n" if options[:cdata]
|
247
|
+
str << "</style>"
|
248
|
+
|
249
|
+
str
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
# Surrounds the filtered text with CDATA tags.
|
254
|
+
module Cdata
|
255
|
+
include Base
|
256
|
+
|
257
|
+
# @see Base#render
|
258
|
+
def render(text)
|
259
|
+
"<![CDATA[#{("\n" + text).rstrip.gsub("\n", "\n ")}\n]]>"
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
# Works the same as {Plain}, but HTML-escapes the text before placing it in
|
264
|
+
# the document.
|
265
|
+
module Escaped
|
266
|
+
include Base
|
267
|
+
|
268
|
+
# @see Base#render
|
269
|
+
def render(text)
|
270
|
+
Haml::Helpers.html_escape text
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
# Parses the filtered text with the normal Ruby interpreter. Creates an IO
|
275
|
+
# object named `haml_io`, anything written to it is output into the Haml
|
276
|
+
# document. In previous version this filter redirected any output to `$stdout`
|
277
|
+
# to the Haml document, this was not threadsafe and has been removed, you
|
278
|
+
# should use `haml_io` instead.
|
279
|
+
#
|
280
|
+
# Not available if the {file:REFERENCE.md#suppress_eval-option `:suppress_eval`}
|
281
|
+
# option is set to true. The Ruby code is evaluated in the same context as
|
282
|
+
# the Haml template.
|
283
|
+
module Ruby
|
284
|
+
include Base
|
285
|
+
require 'stringio'
|
286
|
+
|
287
|
+
# @see Base#compile
|
288
|
+
def compile(compiler, text)
|
289
|
+
return if compiler.options[:suppress_eval]
|
290
|
+
compiler.instance_eval do
|
291
|
+
push_silent <<-FIRST.gsub("\n", ';') + text + <<-LAST.gsub("\n", ';')
|
292
|
+
begin
|
293
|
+
haml_io = StringIO.new(_hamlout.buffer, 'a')
|
294
|
+
FIRST
|
295
|
+
ensure
|
296
|
+
haml_io.close
|
297
|
+
haml_io = nil
|
298
|
+
end
|
299
|
+
LAST
|
300
|
+
end
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
# Inserts the filtered text into the template with whitespace preserved.
|
305
|
+
# `preserve`d blocks of text aren't indented, and newlines are replaced with
|
306
|
+
# the HTML escape code for newlines, to preserve nice-looking output.
|
307
|
+
#
|
308
|
+
# @see Haml::Helpers#preserve
|
309
|
+
module Preserve
|
310
|
+
include Base
|
311
|
+
|
312
|
+
# @see Base#render
|
313
|
+
def render(text)
|
314
|
+
Haml::Helpers.preserve text
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
# @private
|
319
|
+
module TiltFilter
|
320
|
+
extend self
|
321
|
+
attr_accessor :tilt_extension, :options
|
322
|
+
attr_writer :template_class
|
323
|
+
|
324
|
+
def template_class
|
325
|
+
(@template_class if defined? @template_class) or begin
|
326
|
+
@template_class = Tilt["t.#{tilt_extension}"] or
|
327
|
+
raise Error.new(Error.message(:cant_run_filter, tilt_extension))
|
328
|
+
rescue LoadError => e
|
329
|
+
dep = e.message.split('--').last.strip
|
330
|
+
raise Error.new(Error.message(:gem_install_filter_deps, tilt_extension, dep))
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
def self.extended(base)
|
335
|
+
base.options = {}
|
336
|
+
# There's a bug in 1.9.2 where the same parse tree cannot be shared
|
337
|
+
# across several singleton classes -- this bug is fixed in 1.9.3.
|
338
|
+
# We work around this by using a string eval instead of a block eval
|
339
|
+
# so that a new parse tree is created for each singleton class.
|
340
|
+
base.instance_eval %Q{
|
341
|
+
include Base
|
342
|
+
|
343
|
+
def render_with_options(text, compiler_options)
|
344
|
+
text = template_class.new(nil, 1, options) {text}.render
|
345
|
+
super(text, compiler_options)
|
346
|
+
end
|
347
|
+
}
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
# @private
|
352
|
+
module PrecompiledTiltFilter
|
353
|
+
def precompiled(text)
|
354
|
+
template_class.new(nil, 1, options) { text }.send(:precompiled, {}).first
|
355
|
+
end
|
356
|
+
|
357
|
+
def compile(compiler, text)
|
358
|
+
return if compiler.options[:suppress_eval]
|
359
|
+
compiler.send(:push_script, precompiled(text))
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
# @!parse module Sass; end
|
364
|
+
register_tilt_filter "Sass", :extend => "Css"
|
365
|
+
|
366
|
+
# @!parse module Scss; end
|
367
|
+
register_tilt_filter "Scss", :extend => "Css"
|
368
|
+
|
369
|
+
# @!parse module Less; end
|
370
|
+
register_tilt_filter "Less", :extend => "Css"
|
371
|
+
|
372
|
+
# @!parse module Markdown; end
|
373
|
+
register_tilt_filter "Markdown"
|
374
|
+
|
375
|
+
# @!parse module Erb; end
|
376
|
+
register_tilt_filter "Erb", :precompiled => true
|
377
|
+
|
378
|
+
# @!parse module Coffee; end
|
379
|
+
register_tilt_filter "Coffee", :alias => "coffeescript", :extend => "Javascript"
|
380
|
+
|
381
|
+
# Parses the filtered text with ERB.
|
382
|
+
# Not available if the {file:REFERENCE.md#suppress_eval-option
|
383
|
+
# `:suppress_eval`} option is set to true. Embedded Ruby code is evaluated
|
384
|
+
# in the same context as the Haml template.
|
385
|
+
module Erb
|
386
|
+
class << self
|
387
|
+
def precompiled(text)
|
388
|
+
#workaround for https://github.com/rtomayko/tilt/pull/183
|
389
|
+
require 'erubis' if (defined?(::Erubis) && !defined?(::Erubis::Eruby))
|
390
|
+
super.sub(/^#coding:.*?\n/, '')
|
391
|
+
end
|
392
|
+
end
|
393
|
+
end
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
# These filters have been demoted to Haml Contrib but are still included by
|
398
|
+
# default in Haml 4.0. Still, we rescue from load error if for some reason
|
399
|
+
# haml-contrib is not installed.
|
400
|
+
begin
|
401
|
+
require "haml/filters/maruku"
|
402
|
+
require "haml/filters/textile"
|
403
|
+
rescue LoadError
|
404
|
+
end
|
data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/haml-4.0.7/lib/haml/helpers.rb
ADDED
@@ -0,0 +1,664 @@
|
|
1
|
+
module Haml
|
2
|
+
# This module contains various helpful methods to make it easier to do various tasks.
|
3
|
+
# {Haml::Helpers} is automatically included in the context
|
4
|
+
# that a Haml template is parsed in, so all these methods are at your
|
5
|
+
# disposal from within the template.
|
6
|
+
module Helpers
|
7
|
+
# An object that raises an error when \{#to\_s} is called.
|
8
|
+
# It's used to raise an error when the return value of a helper is used
|
9
|
+
# when it shouldn't be.
|
10
|
+
class ErrorReturn
|
11
|
+
def initialize(method)
|
12
|
+
@message = <<MESSAGE
|
13
|
+
#{method} outputs directly to the Haml template.
|
14
|
+
Disregard its return value and use the - operator,
|
15
|
+
or use capture_haml to get the value as a String.
|
16
|
+
MESSAGE
|
17
|
+
end
|
18
|
+
|
19
|
+
# Raises an error.
|
20
|
+
#
|
21
|
+
# @raise [Haml::Error] The error
|
22
|
+
def to_s
|
23
|
+
raise Haml::Error.new(@message)
|
24
|
+
rescue Haml::Error => e
|
25
|
+
e.backtrace.shift
|
26
|
+
|
27
|
+
# If the ErrorReturn is used directly in the template,
|
28
|
+
# we don't want Haml's stuff to get into the backtrace,
|
29
|
+
# so we get rid of the format_script line.
|
30
|
+
#
|
31
|
+
# We also have to subtract one from the Haml line number
|
32
|
+
# since the value is passed to format_script the line after
|
33
|
+
# it's actually used.
|
34
|
+
if e.backtrace.first =~ /^\(eval\):\d+:in `format_script/
|
35
|
+
e.backtrace.shift
|
36
|
+
e.backtrace.first.gsub!(/^\(haml\):(\d+)/) {|s| "(haml):#{$1.to_i - 1}"}
|
37
|
+
end
|
38
|
+
raise e
|
39
|
+
end
|
40
|
+
|
41
|
+
# @return [String] A human-readable string representation
|
42
|
+
def inspect
|
43
|
+
"Haml::Helpers::ErrorReturn(#{@message.inspect})"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
self.extend self
|
48
|
+
|
49
|
+
@@action_view_defined = false
|
50
|
+
|
51
|
+
# @return [Boolean] Whether or not ActionView is loaded
|
52
|
+
def self.action_view?
|
53
|
+
@@action_view_defined
|
54
|
+
end
|
55
|
+
|
56
|
+
# Note: this does **not** need to be called when using Haml helpers
|
57
|
+
# normally in Rails.
|
58
|
+
#
|
59
|
+
# Initializes the current object as though it were in the same context
|
60
|
+
# as a normal ActionView instance using Haml.
|
61
|
+
# This is useful if you want to use the helpers in a context
|
62
|
+
# other than the normal setup with ActionView.
|
63
|
+
# For example:
|
64
|
+
#
|
65
|
+
# context = Object.new
|
66
|
+
# class << context
|
67
|
+
# include Haml::Helpers
|
68
|
+
# end
|
69
|
+
# context.init_haml_helpers
|
70
|
+
# context.haml_tag :p, "Stuff"
|
71
|
+
#
|
72
|
+
def init_haml_helpers
|
73
|
+
@haml_buffer = Haml::Buffer.new(haml_buffer, Options.new.for_buffer)
|
74
|
+
nil
|
75
|
+
end
|
76
|
+
|
77
|
+
# Runs a block of code in a non-Haml context
|
78
|
+
# (i.e. \{#is\_haml?} will return false).
|
79
|
+
#
|
80
|
+
# This is mainly useful for rendering sub-templates such as partials in a non-Haml language,
|
81
|
+
# particularly where helpers may behave differently when run from Haml.
|
82
|
+
#
|
83
|
+
# Note that this is automatically applied to Rails partials.
|
84
|
+
#
|
85
|
+
# @yield A block which won't register as Haml
|
86
|
+
def non_haml
|
87
|
+
was_active = @haml_buffer.active?
|
88
|
+
@haml_buffer.active = false
|
89
|
+
yield
|
90
|
+
ensure
|
91
|
+
@haml_buffer.active = was_active
|
92
|
+
end
|
93
|
+
|
94
|
+
# Uses \{#preserve} to convert any newlines inside whitespace-sensitive tags
|
95
|
+
# into the HTML entities for endlines.
|
96
|
+
#
|
97
|
+
# @param tags [Array<String>] Tags that should have newlines escaped
|
98
|
+
#
|
99
|
+
# @overload find_and_preserve(input, tags = haml_buffer.options[:preserve])
|
100
|
+
# Escapes newlines within a string.
|
101
|
+
#
|
102
|
+
# @param input [String] The string within which to escape newlines
|
103
|
+
# @overload find_and_preserve(tags = haml_buffer.options[:preserve])
|
104
|
+
# Escapes newlines within a block of Haml code.
|
105
|
+
#
|
106
|
+
# @yield The block within which to escape newlines
|
107
|
+
def find_and_preserve(input = nil, tags = haml_buffer.options[:preserve], &block)
|
108
|
+
return find_and_preserve(capture_haml(&block), input || tags) if block
|
109
|
+
re = /<(#{tags.map(&Regexp.method(:escape)).join('|')})([^>]*)>(.*?)(<\/\1>)/im
|
110
|
+
input.to_s.gsub(re) do |s|
|
111
|
+
s =~ re # Can't rely on $1, etc. existing since Rails' SafeBuffer#gsub is incompatible
|
112
|
+
"<#{$1}#{$2}>#{preserve($3)}</#{$1}>"
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
# Takes any string, finds all the newlines, and converts them to
|
117
|
+
# HTML entities so they'll render correctly in
|
118
|
+
# whitespace-sensitive tags without screwing up the indentation.
|
119
|
+
#
|
120
|
+
# @overload perserve(input)
|
121
|
+
# Escapes newlines within a string.
|
122
|
+
#
|
123
|
+
# @param input [String] The string within which to escape all newlines
|
124
|
+
# @overload perserve
|
125
|
+
# Escapes newlines within a block of Haml code.
|
126
|
+
#
|
127
|
+
# @yield The block within which to escape newlines
|
128
|
+
def preserve(input = nil, &block)
|
129
|
+
return preserve(capture_haml(&block)) if block
|
130
|
+
input.to_s.chomp("\n").gsub(/\n/, '
').gsub(/\r/, '')
|
131
|
+
end
|
132
|
+
alias_method :flatten, :preserve
|
133
|
+
|
134
|
+
# Takes an `Enumerable` object and a block
|
135
|
+
# and iterates over the enum,
|
136
|
+
# yielding each element to a Haml block
|
137
|
+
# and putting the result into `<li>` elements.
|
138
|
+
# This creates a list of the results of the block.
|
139
|
+
# For example:
|
140
|
+
#
|
141
|
+
# = list_of([['hello'], ['yall']]) do |i|
|
142
|
+
# = i[0]
|
143
|
+
#
|
144
|
+
# Produces:
|
145
|
+
#
|
146
|
+
# <li>hello</li>
|
147
|
+
# <li>yall</li>
|
148
|
+
#
|
149
|
+
# And:
|
150
|
+
#
|
151
|
+
# = list_of({:title => 'All the stuff', :description => 'A book about all the stuff.'}) do |key, val|
|
152
|
+
# %h3= key.humanize
|
153
|
+
# %p= val
|
154
|
+
#
|
155
|
+
# Produces:
|
156
|
+
#
|
157
|
+
# <li>
|
158
|
+
# <h3>Title</h3>
|
159
|
+
# <p>All the stuff</p>
|
160
|
+
# </li>
|
161
|
+
# <li>
|
162
|
+
# <h3>Description</h3>
|
163
|
+
# <p>A book about all the stuff.</p>
|
164
|
+
# </li>
|
165
|
+
#
|
166
|
+
# While:
|
167
|
+
#
|
168
|
+
# = list_of(["Home", "About", "Contact", "FAQ"], {class: "nav", role: "nav"}) do |item|
|
169
|
+
# %a{ href="#" }= item
|
170
|
+
#
|
171
|
+
# Produces:
|
172
|
+
#
|
173
|
+
# <li class='nav' role='nav'>
|
174
|
+
# <a href='#'>Home</a>
|
175
|
+
# </li>
|
176
|
+
# <li class='nav' role='nav'>
|
177
|
+
# <a href='#'>About</a>
|
178
|
+
# </li>
|
179
|
+
# <li class='nav' role='nav'>
|
180
|
+
# <a href='#'>Contact</a>
|
181
|
+
# </li>
|
182
|
+
# <li class='nav' role='nav'>
|
183
|
+
# <a href='#'>FAQ</a>
|
184
|
+
# </li>
|
185
|
+
#
|
186
|
+
# `[[class", "nav"], [role", "nav"]]` could have been used instead of `{class: "nav", role: "nav"}` (or any enumerable collection where each pair of items responds to #to_s)
|
187
|
+
#
|
188
|
+
# @param enum [Enumerable] The list of objects to iterate over
|
189
|
+
# @param [Enumerable<#to_s,#to_s>] opts Each key/value pair will become an attribute pair for each list item element.
|
190
|
+
# @yield [item] A block which contains Haml code that goes within list items
|
191
|
+
# @yieldparam item An element of `enum`
|
192
|
+
def list_of(enum, opts={}, &block)
|
193
|
+
opts_attributes = opts.empty? ? "" : " ".<<(opts.map{|k,v| "#{k}='#{v}'" }.join(" "))
|
194
|
+
to_return = enum.collect do |i|
|
195
|
+
result = capture_haml(i, &block)
|
196
|
+
|
197
|
+
if result.count("\n") > 1
|
198
|
+
result = result.gsub("\n", "\n ")
|
199
|
+
result = "\n #{result.strip}\n"
|
200
|
+
else
|
201
|
+
result = result.strip
|
202
|
+
end
|
203
|
+
|
204
|
+
%Q!<li#{opts_attributes}>#{result}</li>!
|
205
|
+
end
|
206
|
+
to_return.join("\n")
|
207
|
+
end
|
208
|
+
|
209
|
+
# Returns a hash containing default assignments for the `xmlns`, `lang`, and `xml:lang`
|
210
|
+
# attributes of the `html` HTML element.
|
211
|
+
# For example,
|
212
|
+
#
|
213
|
+
# %html{html_attrs}
|
214
|
+
#
|
215
|
+
# becomes
|
216
|
+
#
|
217
|
+
# <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en-US' lang='en-US'>
|
218
|
+
#
|
219
|
+
# @param lang [String] The value of `xml:lang` and `lang`
|
220
|
+
# @return [{#to_s => String}] The attribute hash
|
221
|
+
def html_attrs(lang = 'en-US')
|
222
|
+
{:xmlns => "http://www.w3.org/1999/xhtml", 'xml:lang' => lang, :lang => lang}
|
223
|
+
end
|
224
|
+
|
225
|
+
# Increments the number of tabs the buffer automatically adds
|
226
|
+
# to the lines of the template.
|
227
|
+
# For example:
|
228
|
+
#
|
229
|
+
# %h1 foo
|
230
|
+
# - tab_up
|
231
|
+
# %p bar
|
232
|
+
# - tab_down
|
233
|
+
# %strong baz
|
234
|
+
#
|
235
|
+
# Produces:
|
236
|
+
#
|
237
|
+
# <h1>foo</h1>
|
238
|
+
# <p>bar</p>
|
239
|
+
# <strong>baz</strong>
|
240
|
+
#
|
241
|
+
# @param i [Fixnum] The number of tabs by which to increase the indentation
|
242
|
+
# @see #tab_down
|
243
|
+
def tab_up(i = 1)
|
244
|
+
haml_buffer.tabulation += i
|
245
|
+
end
|
246
|
+
|
247
|
+
# Decrements the number of tabs the buffer automatically adds
|
248
|
+
# to the lines of the template.
|
249
|
+
#
|
250
|
+
# @param i [Fixnum] The number of tabs by which to decrease the indentation
|
251
|
+
# @see #tab_up
|
252
|
+
def tab_down(i = 1)
|
253
|
+
haml_buffer.tabulation -= i
|
254
|
+
end
|
255
|
+
|
256
|
+
# Sets the number of tabs the buffer automatically adds
|
257
|
+
# to the lines of the template,
|
258
|
+
# but only for the duration of the block.
|
259
|
+
# For example:
|
260
|
+
#
|
261
|
+
# %h1 foo
|
262
|
+
# - with_tabs(2) do
|
263
|
+
# %p bar
|
264
|
+
# %strong baz
|
265
|
+
#
|
266
|
+
# Produces:
|
267
|
+
#
|
268
|
+
# <h1>foo</h1>
|
269
|
+
# <p>bar</p>
|
270
|
+
# <strong>baz</strong>
|
271
|
+
#
|
272
|
+
#
|
273
|
+
# @param i [Fixnum] The number of tabs to use
|
274
|
+
# @yield A block in which the indentation will be `i` spaces
|
275
|
+
def with_tabs(i)
|
276
|
+
old_tabs = haml_buffer.tabulation
|
277
|
+
haml_buffer.tabulation = i
|
278
|
+
yield
|
279
|
+
ensure
|
280
|
+
haml_buffer.tabulation = old_tabs
|
281
|
+
end
|
282
|
+
|
283
|
+
# Surrounds a block of Haml code with strings,
|
284
|
+
# with no whitespace in between.
|
285
|
+
# For example:
|
286
|
+
#
|
287
|
+
# = surround '(', ')' do
|
288
|
+
# %a{:href => "food"} chicken
|
289
|
+
#
|
290
|
+
# Produces:
|
291
|
+
#
|
292
|
+
# (<a href='food'>chicken</a>)
|
293
|
+
#
|
294
|
+
# and
|
295
|
+
#
|
296
|
+
# = surround '*' do
|
297
|
+
# %strong angry
|
298
|
+
#
|
299
|
+
# Produces:
|
300
|
+
#
|
301
|
+
# *<strong>angry</strong>*
|
302
|
+
#
|
303
|
+
# @param front [String] The string to add before the Haml
|
304
|
+
# @param back [String] The string to add after the Haml
|
305
|
+
# @yield A block of Haml to surround
|
306
|
+
def surround(front, back = front, &block)
|
307
|
+
output = capture_haml(&block)
|
308
|
+
|
309
|
+
"#{front}#{output.chomp}#{back}\n"
|
310
|
+
end
|
311
|
+
|
312
|
+
# Prepends a string to the beginning of a Haml block,
|
313
|
+
# with no whitespace between.
|
314
|
+
# For example:
|
315
|
+
#
|
316
|
+
# = precede '*' do
|
317
|
+
# %span.small Not really
|
318
|
+
#
|
319
|
+
# Produces:
|
320
|
+
#
|
321
|
+
# *<span class='small'>Not really</span>
|
322
|
+
#
|
323
|
+
# @param str [String] The string to add before the Haml
|
324
|
+
# @yield A block of Haml to prepend to
|
325
|
+
def precede(str, &block)
|
326
|
+
"#{str}#{capture_haml(&block).chomp}\n"
|
327
|
+
end
|
328
|
+
|
329
|
+
# Appends a string to the end of a Haml block,
|
330
|
+
# with no whitespace between.
|
331
|
+
# For example:
|
332
|
+
#
|
333
|
+
# click
|
334
|
+
# = succeed '.' do
|
335
|
+
# %a{:href=>"thing"} here
|
336
|
+
#
|
337
|
+
# Produces:
|
338
|
+
#
|
339
|
+
# click
|
340
|
+
# <a href='thing'>here</a>.
|
341
|
+
#
|
342
|
+
# @param str [String] The string to add after the Haml
|
343
|
+
# @yield A block of Haml to append to
|
344
|
+
def succeed(str, &block)
|
345
|
+
"#{capture_haml(&block).chomp}#{str}\n"
|
346
|
+
end
|
347
|
+
|
348
|
+
# Captures the result of a block of Haml code,
|
349
|
+
# gets rid of the excess indentation,
|
350
|
+
# and returns it as a string.
|
351
|
+
# For example, after the following,
|
352
|
+
#
|
353
|
+
# .foo
|
354
|
+
# - foo = capture_haml(13) do |a|
|
355
|
+
# %p= a
|
356
|
+
#
|
357
|
+
# the local variable `foo` would be assigned to `"<p>13</p>\n"`.
|
358
|
+
#
|
359
|
+
# @param args [Array] Arguments to pass into the block
|
360
|
+
# @yield [args] A block of Haml code that will be converted to a string
|
361
|
+
# @yieldparam args [Array] `args`
|
362
|
+
def capture_haml(*args, &block)
|
363
|
+
buffer = eval('if defined? _hamlout then _hamlout else nil end', block.binding) || haml_buffer
|
364
|
+
with_haml_buffer(buffer) do
|
365
|
+
position = haml_buffer.buffer.length
|
366
|
+
|
367
|
+
haml_buffer.capture_position = position
|
368
|
+
value = block.call(*args)
|
369
|
+
|
370
|
+
captured = haml_buffer.buffer.slice!(position..-1)
|
371
|
+
|
372
|
+
if captured == '' and value != haml_buffer.buffer
|
373
|
+
captured = (value.is_a?(String) ? value : nil)
|
374
|
+
end
|
375
|
+
|
376
|
+
return nil if captured.nil?
|
377
|
+
return (haml_buffer.options[:ugly] ? captured : prettify(captured))
|
378
|
+
|
379
|
+
end
|
380
|
+
ensure
|
381
|
+
haml_buffer.capture_position = nil
|
382
|
+
end
|
383
|
+
|
384
|
+
# Outputs text directly to the Haml buffer, with the proper indentation.
|
385
|
+
#
|
386
|
+
# @param text [#to_s] The text to output
|
387
|
+
def haml_concat(text = "")
|
388
|
+
unless haml_buffer.options[:ugly] || haml_indent == 0
|
389
|
+
haml_buffer.buffer << haml_indent <<
|
390
|
+
text.to_s.gsub("\n", "\n" + haml_indent) << "\n"
|
391
|
+
else
|
392
|
+
haml_buffer.buffer << text.to_s << "\n"
|
393
|
+
end
|
394
|
+
ErrorReturn.new("haml_concat")
|
395
|
+
end
|
396
|
+
|
397
|
+
# @return [String] The indentation string for the current line
|
398
|
+
def haml_indent
|
399
|
+
' ' * haml_buffer.tabulation
|
400
|
+
end
|
401
|
+
|
402
|
+
# Creates an HTML tag with the given name and optionally text and attributes.
|
403
|
+
# Can take a block that will run between the opening and closing tags.
|
404
|
+
# If the block is a Haml block or outputs text using \{#haml\_concat},
|
405
|
+
# the text will be properly indented.
|
406
|
+
#
|
407
|
+
# `name` can be a string using the standard Haml class/id shorthand
|
408
|
+
# (e.g. "span#foo.bar", "#foo").
|
409
|
+
# Just like standard Haml tags, these class and id values
|
410
|
+
# will be merged with manually-specified attributes.
|
411
|
+
#
|
412
|
+
# `flags` is a list of symbol flags
|
413
|
+
# like those that can be put at the end of a Haml tag
|
414
|
+
# (`:/`, `:<`, and `:>`).
|
415
|
+
# Currently, only `:/` and `:<` are supported.
|
416
|
+
#
|
417
|
+
# `haml_tag` outputs directly to the buffer;
|
418
|
+
# its return value should not be used.
|
419
|
+
# If you need to get the results as a string,
|
420
|
+
# use \{#capture\_haml\}.
|
421
|
+
#
|
422
|
+
# For example,
|
423
|
+
#
|
424
|
+
# haml_tag :table do
|
425
|
+
# haml_tag :tr do
|
426
|
+
# haml_tag 'td.cell' do
|
427
|
+
# haml_tag :strong, "strong!"
|
428
|
+
# haml_concat "data"
|
429
|
+
# end
|
430
|
+
# haml_tag :td do
|
431
|
+
# haml_concat "more_data"
|
432
|
+
# end
|
433
|
+
# end
|
434
|
+
# end
|
435
|
+
#
|
436
|
+
# outputs
|
437
|
+
#
|
438
|
+
# <table>
|
439
|
+
# <tr>
|
440
|
+
# <td class='cell'>
|
441
|
+
# <strong>
|
442
|
+
# strong!
|
443
|
+
# </strong>
|
444
|
+
# data
|
445
|
+
# </td>
|
446
|
+
# <td>
|
447
|
+
# more_data
|
448
|
+
# </td>
|
449
|
+
# </tr>
|
450
|
+
# </table>
|
451
|
+
#
|
452
|
+
# @param name [#to_s] The name of the tag
|
453
|
+
#
|
454
|
+
# @overload haml_tag(name, *rest, attributes = {})
|
455
|
+
# @yield The block of Haml code within the tag
|
456
|
+
# @overload haml_tag(name, text, *flags, attributes = {})
|
457
|
+
# @param text [#to_s] The text within the tag
|
458
|
+
# @param flags [Array<Symbol>] Haml end-of-tag flags
|
459
|
+
def haml_tag(name, *rest, &block)
|
460
|
+
ret = ErrorReturn.new("haml_tag")
|
461
|
+
|
462
|
+
text = rest.shift.to_s unless [Symbol, Hash, NilClass].any? {|t| rest.first.is_a? t}
|
463
|
+
flags = []
|
464
|
+
flags << rest.shift while rest.first.is_a? Symbol
|
465
|
+
attrs = (rest.shift || {})
|
466
|
+
attrs.keys.each {|key| attrs[key.to_s] = attrs.delete(key)} unless attrs.empty?
|
467
|
+
name, attrs = merge_name_and_attributes(name.to_s, attrs)
|
468
|
+
|
469
|
+
attributes = Haml::Compiler.build_attributes(haml_buffer.html?,
|
470
|
+
haml_buffer.options[:attr_wrapper],
|
471
|
+
haml_buffer.options[:escape_attrs],
|
472
|
+
haml_buffer.options[:hyphenate_data_attrs],
|
473
|
+
attrs)
|
474
|
+
|
475
|
+
if text.nil? && block.nil? && (haml_buffer.options[:autoclose].include?(name) || flags.include?(:/))
|
476
|
+
haml_concat "<#{name}#{attributes} />"
|
477
|
+
return ret
|
478
|
+
end
|
479
|
+
|
480
|
+
if flags.include?(:/)
|
481
|
+
raise Error.new(Error.message(:self_closing_content)) if text
|
482
|
+
raise Error.new(Error.message(:illegal_nesting_self_closing)) if block
|
483
|
+
end
|
484
|
+
|
485
|
+
tag = "<#{name}#{attributes}>"
|
486
|
+
if block.nil?
|
487
|
+
text = text.to_s
|
488
|
+
if text.include?("\n")
|
489
|
+
haml_concat tag
|
490
|
+
tab_up
|
491
|
+
haml_concat text
|
492
|
+
tab_down
|
493
|
+
haml_concat "</#{name}>"
|
494
|
+
else
|
495
|
+
tag << text << "</#{name}>"
|
496
|
+
haml_concat tag
|
497
|
+
end
|
498
|
+
return ret
|
499
|
+
end
|
500
|
+
|
501
|
+
if text
|
502
|
+
raise Error.new(Error.message(:illegal_nesting_line, name))
|
503
|
+
end
|
504
|
+
|
505
|
+
if flags.include?(:<)
|
506
|
+
tag << capture_haml(&block).strip << "</#{name}>"
|
507
|
+
haml_concat tag
|
508
|
+
return ret
|
509
|
+
end
|
510
|
+
|
511
|
+
haml_concat tag
|
512
|
+
tab_up
|
513
|
+
block.call
|
514
|
+
tab_down
|
515
|
+
haml_concat "</#{name}>"
|
516
|
+
|
517
|
+
ret
|
518
|
+
end
|
519
|
+
|
520
|
+
# Characters that need to be escaped to HTML entities from user input
|
521
|
+
HTML_ESCAPE = { '&'=>'&', '<'=>'<', '>'=>'>', '"'=>'"', "'"=>''', }
|
522
|
+
|
523
|
+
HTML_ESCAPE_REGEX = /[\"><&]/
|
524
|
+
|
525
|
+
if RUBY_VERSION >= '1.9'
|
526
|
+
# Include docs here so they are picked up by Yard
|
527
|
+
|
528
|
+
# Returns a copy of `text` with ampersands, angle brackets and quotes
|
529
|
+
# escaped into HTML entities.
|
530
|
+
#
|
531
|
+
# Note that if ActionView is loaded and XSS protection is enabled
|
532
|
+
# (as is the default for Rails 3.0+, and optional for version 2.3.5+),
|
533
|
+
# this won't escape text declared as "safe".
|
534
|
+
#
|
535
|
+
# @param text [String] The string to sanitize
|
536
|
+
# @return [String] The sanitized string
|
537
|
+
def html_escape(text)
|
538
|
+
text = text.to_s
|
539
|
+
text.gsub(HTML_ESCAPE_REGEX, HTML_ESCAPE)
|
540
|
+
end
|
541
|
+
else
|
542
|
+
def html_escape(text)
|
543
|
+
text = text.to_s
|
544
|
+
text.gsub(HTML_ESCAPE_REGEX) {|s| HTML_ESCAPE[s]}
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
HTML_ESCAPE_ONCE_REGEX = /[\"><]|&(?!(?:[a-zA-Z]+|(#\d+));)/
|
549
|
+
|
550
|
+
if RUBY_VERSION >= '1.9'
|
551
|
+
# Include docs here so they are picked up by Yard
|
552
|
+
|
553
|
+
# Escapes HTML entities in `text`, but without escaping an ampersand
|
554
|
+
# that is already part of an escaped entity.
|
555
|
+
#
|
556
|
+
# @param text [String] The string to sanitize
|
557
|
+
# @return [String] The sanitized string
|
558
|
+
def escape_once(text)
|
559
|
+
text = text.to_s
|
560
|
+
text.gsub(HTML_ESCAPE_ONCE_REGEX, HTML_ESCAPE)
|
561
|
+
end
|
562
|
+
else
|
563
|
+
def escape_once(text)
|
564
|
+
text = text.to_s
|
565
|
+
text.gsub(HTML_ESCAPE_ONCE_REGEX){|s| HTML_ESCAPE[s]}
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
# Returns whether or not the current template is a Haml template.
|
570
|
+
#
|
571
|
+
# This function, unlike other {Haml::Helpers} functions,
|
572
|
+
# also works in other `ActionView` templates,
|
573
|
+
# where it will always return false.
|
574
|
+
#
|
575
|
+
# @return [Boolean] Whether or not the current template is a Haml template
|
576
|
+
def is_haml?
|
577
|
+
!@haml_buffer.nil? && @haml_buffer.active?
|
578
|
+
end
|
579
|
+
|
580
|
+
# Returns whether or not `block` is defined directly in a Haml template.
|
581
|
+
#
|
582
|
+
# @param block [Proc] A Ruby block
|
583
|
+
# @return [Boolean] Whether or not `block` is defined directly in a Haml template
|
584
|
+
def block_is_haml?(block)
|
585
|
+
eval('!!defined?(_hamlout)', block.binding)
|
586
|
+
end
|
587
|
+
|
588
|
+
private
|
589
|
+
|
590
|
+
# Parses the tag name used for \{#haml\_tag}
|
591
|
+
# and merges it with the Ruby attributes hash.
|
592
|
+
def merge_name_and_attributes(name, attributes_hash = {})
|
593
|
+
# skip merging if no ids or classes found in name
|
594
|
+
return name, attributes_hash unless name =~ /^(.+?)?([\.#].*)$/
|
595
|
+
|
596
|
+
return $1 || "div", Buffer.merge_attrs(
|
597
|
+
Haml::Parser.parse_class_and_id($2), attributes_hash)
|
598
|
+
end
|
599
|
+
|
600
|
+
# Runs a block of code with the given buffer as the currently active buffer.
|
601
|
+
#
|
602
|
+
# @param buffer [Haml::Buffer] The Haml buffer to use temporarily
|
603
|
+
# @yield A block in which the given buffer should be used
|
604
|
+
def with_haml_buffer(buffer)
|
605
|
+
@haml_buffer, old_buffer = buffer, @haml_buffer
|
606
|
+
old_buffer.active, old_was_active = false, old_buffer.active? if old_buffer
|
607
|
+
@haml_buffer.active, was_active = true, @haml_buffer.active?
|
608
|
+
yield
|
609
|
+
ensure
|
610
|
+
@haml_buffer.active = was_active
|
611
|
+
old_buffer.active = old_was_active if old_buffer
|
612
|
+
@haml_buffer = old_buffer
|
613
|
+
end
|
614
|
+
|
615
|
+
# The current {Haml::Buffer} object.
|
616
|
+
#
|
617
|
+
# @return [Haml::Buffer]
|
618
|
+
def haml_buffer
|
619
|
+
@haml_buffer if defined? @haml_buffer
|
620
|
+
end
|
621
|
+
|
622
|
+
# Gives a proc the same local `_hamlout` and `_erbout` variables
|
623
|
+
# that the current template has.
|
624
|
+
#
|
625
|
+
# @param proc [#call] The proc to bind
|
626
|
+
# @return [Proc] A new proc with the new variables bound
|
627
|
+
def haml_bind_proc(&proc)
|
628
|
+
_hamlout = haml_buffer
|
629
|
+
#double assignment is to avoid warnings
|
630
|
+
_erbout = _erbout = _hamlout.buffer
|
631
|
+
proc { |*args| proc.call(*args) }
|
632
|
+
end
|
633
|
+
|
634
|
+
def prettify(text)
|
635
|
+
text = text.split(/^/)
|
636
|
+
text.delete('')
|
637
|
+
|
638
|
+
min_tabs = nil
|
639
|
+
text.each do |line|
|
640
|
+
tabs = line.index(/[^ ]/) || line.length
|
641
|
+
min_tabs ||= tabs
|
642
|
+
min_tabs = min_tabs > tabs ? tabs : min_tabs
|
643
|
+
end
|
644
|
+
|
645
|
+
text.map do |line|
|
646
|
+
line.slice(min_tabs, line.length)
|
647
|
+
end.join
|
648
|
+
end
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
# @private
|
653
|
+
class Object
|
654
|
+
# Haml overrides various `ActionView` helpers,
|
655
|
+
# which call an \{#is\_haml?} method
|
656
|
+
# to determine whether or not the current context object
|
657
|
+
# is a proper Haml context.
|
658
|
+
# Because `ActionView` helpers may be included in non-`ActionView::Base` classes,
|
659
|
+
# it's a good idea to define \{#is\_haml?} for all objects.
|
660
|
+
def is_haml?
|
661
|
+
false
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|