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.
Files changed (1322) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/zuora_connect_ui/app.js.erb +9 -3
  3. data/app/assets/javascripts/zuora_connect_ui/datatable.js +9 -8
  4. data/app/assets/javascripts/zuora_connect_ui/fetch.js +36 -27
  5. data/app/assets/javascripts/zuora_connect_ui/noty.js +6 -0
  6. data/app/assets/stylesheets/_zuora_connect_ui.scss +2 -3
  7. data/app/helpers/zuora_connect_ui/application_helper.rb +1 -1
  8. data/app/views/partials/_row_actions.html.erb +2 -2
  9. data/app/views/partials/_table.html.erb +2 -2
  10. data/lib/zuora_connect_ui.rb +0 -1
  11. data/lib/zuora_connect_ui/version.rb +1 -1
  12. data/vendor/assets/anjuna/css/anjuna-application.css +2 -0
  13. data/vendor/assets/anjuna/css/anjuna-theme.css +2 -2
  14. data/vendor/ruby/2.6.0/cache/brakeman-4.6.1.gem +0 -0
  15. data/vendor/ruby/2.6.0/cache/nokogiri-1.10.4.gem +0 -0
  16. data/vendor/ruby/2.6.0/cache/rails-html-sanitizer-1.2.0.gem +0 -0
  17. data/vendor/ruby/2.6.0/cache/rubocop-0.74.0.gem +0 -0
  18. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/gem.build_complete +0 -0
  19. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/gem_make.out +438 -0
  20. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/mkmf.log +558 -0
  21. data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/nokogiri/nokogiri.so +0 -0
  22. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/CHANGES.md +1156 -0
  23. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/FEATURES +16 -0
  24. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/README.md +199 -0
  25. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bin/brakeman +10 -0
  26. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/load.rb +14 -0
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/AUTHORS +3 -0
  88. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/COPYING +339 -0
  89. 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
  90. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/Gemfile +22 -0
  91. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/LICENSE +7 -0
  92. 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
  93. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/highline-2.0.2/TODO +6 -0
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/CHANGES +456 -0
  210. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/Gemfile +71 -0
  211. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/slim-4.0.1/LICENSE +21 -0
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. 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
  218. 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
  219. 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
  220. 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
  221. 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
  222. 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
  223. 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
  224. 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
  225. 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
  226. 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
  227. 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
  228. 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
  229. 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
  230. 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
  231. 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
  232. 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
  233. 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
  234. 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
  235. 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
  236. 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
  237. 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
  238. 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
  239. 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
  240. 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
  241. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/CHANGES +255 -0
  242. 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
  243. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/Gemfile +3 -0
  244. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/temple-0.8.1/LICENSE +20 -0
  245. 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
  246. 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
  247. 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
  248. 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
  249. 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
  250. 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
  251. 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
  252. 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
  253. 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
  254. 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
  255. 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
  256. 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
  257. 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
  258. 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
  259. 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
  260. 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
  261. 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
  262. 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
  263. 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
  264. 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
  265. 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
  266. 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
  267. 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
  268. 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
  269. 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
  270. 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
  271. 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
  272. 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
  273. 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
  274. 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
  275. 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
  276. 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
  277. 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
  278. 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
  279. 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
  280. 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
  281. 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
  282. 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
  283. 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
  284. 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
  285. 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
  286. 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
  287. 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
  288. 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
  289. 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
  290. 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
  291. 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
  292. 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
  293. 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
  294. 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
  295. 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
  296. 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
  297. 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
  298. 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
  299. 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
  300. 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
  301. 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
  302. 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
  303. 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
  304. 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
  305. 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
  306. 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
  307. 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
  308. 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
  309. 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
  310. 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
  311. 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
  312. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/COPYING +18 -0
  313. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/Gemfile +70 -0
  314. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/bundle/ruby/2.6.0/gems/tilt-2.0.9/HACKING +16 -0
  315. 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
  316. 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
  317. 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
  318. 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
  319. 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
  320. 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
  321. 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
  322. 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
  323. 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
  324. 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
  325. 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
  326. 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
  327. 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
  328. 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
  329. 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
  330. 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
  331. 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
  332. 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
  333. 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
  334. 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
  335. 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
  336. 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
  337. 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
  338. 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
  339. 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
  340. 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
  341. 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
  342. 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
  343. 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
  344. 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
  345. 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
  346. 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
  347. 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
  348. 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
  349. 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
  350. 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
  351. 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
  352. 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
  353. 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
  354. 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
  355. 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
  356. 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
  357. 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
  358. 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
  359. 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
  360. 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
  361. 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
  362. 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
  363. 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
  364. 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
  365. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman.rb +553 -0
  366. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/app_tree.rb +217 -0
  367. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/call_index.rb +261 -0
  368. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks.rb +217 -0
  369. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/base_check.rb +485 -0
  370. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_basic_auth.rb +88 -0
  371. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_basic_auth_timing_attack.rb +33 -0
  372. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_content_tag.rb +212 -0
  373. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_cookie_serialization.rb +22 -0
  374. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_create_with.rb +74 -0
  375. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_cross_site_scripting.rb +386 -0
  376. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_default_routes.rb +91 -0
  377. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_deserialize.rb +105 -0
  378. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_detailed_exceptions.rb +55 -0
  379. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_digest_dos.rb +38 -0
  380. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_divide_by_zero.rb +42 -0
  381. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_dynamic_finders.rb +48 -0
  382. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_escape_function.rb +21 -0
  383. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_evaluation.rb +34 -0
  384. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_execute.rb +208 -0
  385. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_file_access.rb +87 -0
  386. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_file_disclosure.rb +35 -0
  387. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_filter_skipping.rb +31 -0
  388. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_force_ssl.rb +27 -0
  389. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_forgery_setting.rb +81 -0
  390. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_header_dos.rb +31 -0
  391. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_i18n_xss.rb +48 -0
  392. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_jruby_xml.rb +36 -0
  393. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_json_encoding.rb +47 -0
  394. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_json_parsing.rb +109 -0
  395. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_link_to.rb +132 -0
  396. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_link_to_href.rb +151 -0
  397. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_mail_to.rb +49 -0
  398. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_mass_assignment.rb +196 -0
  399. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_mime_type_dos.rb +39 -0
  400. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_model_attr_accessible.rb +55 -0
  401. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_model_attributes.rb +81 -0
  402. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_model_serialize.rb +67 -0
  403. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_nested_attributes.rb +38 -0
  404. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_nested_attributes_bypass.rb +58 -0
  405. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_number_to_currency.rb +74 -0
  406. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_permit_attributes.rb +43 -0
  407. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_quote_table_name.rb +40 -0
  408. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_redirect.rb +256 -0
  409. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_regex_dos.rb +68 -0
  410. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_render.rb +97 -0
  411. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_render_dos.rb +37 -0
  412. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_render_inline.rb +53 -0
  413. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_response_splitting.rb +21 -0
  414. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_reverse_tabnabbing.rb +54 -0
  415. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_route_dos.rb +42 -0
  416. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_safe_buffer_manipulation.rb +31 -0
  417. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_sanitize_methods.rb +112 -0
  418. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_secrets.rb +40 -0
  419. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_select_tag.rb +59 -0
  420. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_select_vulnerability.rb +60 -0
  421. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_send.rb +46 -0
  422. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_send_file.rb +19 -0
  423. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_session_manipulation.rb +34 -0
  424. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_session_settings.rb +179 -0
  425. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_simple_format.rb +63 -0
  426. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_single_quotes.rb +105 -0
  427. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_skip_before_filter.rb +60 -0
  428. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_sprockets_path_traversal.rb +39 -0
  429. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_sql.rb +707 -0
  430. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_sql_cves.rb +106 -0
  431. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_ssl_verify.rb +48 -0
  432. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_strip_tags.rb +91 -0
  433. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_symbol_dos.rb +71 -0
  434. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_symbol_dos_cve.rb +30 -0
  435. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_translate_bug.rb +45 -0
  436. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_unsafe_reflection.rb +50 -0
  437. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_unscoped_find.rb +57 -0
  438. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_validation_regex.rb +116 -0
  439. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_weak_hash.rb +147 -0
  440. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_without_protection.rb +80 -0
  441. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_xml_dos.rb +45 -0
  442. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/checks/check_yaml_parsing.rb +113 -0
  443. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/codeclimate/engine_configuration.rb +97 -0
  444. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/commandline.rb +179 -0
  445. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/differ.rb +66 -0
  446. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/file_parser.rb +52 -0
  447. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/file_path.rb +85 -0
  448. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/format/style.css +141 -0
  449. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/messages.rb +220 -0
  450. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/options.rb +359 -0
  451. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/haml_embedded.rb +44 -0
  452. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/rails2_erubis.rb +6 -0
  453. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/rails2_xss_plugin_erubis.rb +48 -0
  454. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/rails3_erubis.rb +81 -0
  455. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/slim_embedded.rb +44 -0
  456. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/parsers/template_parser.rb +106 -0
  457. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processor.rb +101 -0
  458. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/alias_processor.rb +1268 -0
  459. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/base_processor.rb +296 -0
  460. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/config_processor.rb +17 -0
  461. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/controller_alias_processor.rb +281 -0
  462. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/controller_processor.rb +245 -0
  463. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/erb_template_processor.rb +77 -0
  464. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/erubis_template_processor.rb +92 -0
  465. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/gem_processor.rb +100 -0
  466. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/haml_template_processor.rb +196 -0
  467. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/basic_processor.rb +37 -0
  468. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/call_conversion_helper.rb +95 -0
  469. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/find_all_calls.rb +247 -0
  470. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/find_call.rb +122 -0
  471. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/find_return_value.rb +166 -0
  472. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/module_helper.rb +111 -0
  473. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/processor_helper.rb +88 -0
  474. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails2_config_processor.rb +145 -0
  475. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails2_route_processor.rb +313 -0
  476. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails3_config_processor.rb +132 -0
  477. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails3_route_processor.rb +306 -0
  478. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/rails4_config_processor.rb +18 -0
  479. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/render_helper.rb +186 -0
  480. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/render_path.rb +139 -0
  481. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/route_helper.rb +68 -0
  482. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/lib/safe_call_helper.rb +16 -0
  483. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/library_processor.rb +74 -0
  484. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/model_processor.rb +90 -0
  485. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/output_processor.rb +149 -0
  486. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/route_processor.rb +17 -0
  487. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/slim_template_processor.rb +127 -0
  488. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/template_alias_processor.rb +117 -0
  489. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/processors/template_processor.rb +89 -0
  490. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report.rb +88 -0
  491. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/config/remediation.yml +71 -0
  492. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/ignore/config.rb +152 -0
  493. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/ignore/interactive.rb +362 -0
  494. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/pager.rb +113 -0
  495. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/renderer.rb +24 -0
  496. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_base.rb +193 -0
  497. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_codeclimate.rb +79 -0
  498. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_csv.rb +72 -0
  499. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_hash.rb +23 -0
  500. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_html.rb +219 -0
  501. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_json.rb +43 -0
  502. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_markdown.rb +114 -0
  503. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_table.rb +290 -0
  504. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_tabs.rb +19 -0
  505. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/report_text.rb +214 -0
  506. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/controller_overview.html.erb +22 -0
  507. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/controller_warnings.html.erb +21 -0
  508. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/error_overview.html.erb +29 -0
  509. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/header.html.erb +58 -0
  510. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/ignored_warnings.html.erb +25 -0
  511. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/model_warnings.html.erb +21 -0
  512. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/overview.html.erb +38 -0
  513. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/security_warnings.html.erb +23 -0
  514. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/template_overview.html.erb +21 -0
  515. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/view_warnings.html.erb +34 -0
  516. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/report/templates/warning_overview.html.erb +17 -0
  517. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/rescanner.rb +484 -0
  518. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/scanner.rb +331 -0
  519. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker.rb +390 -0
  520. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/collection.rb +94 -0
  521. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/config.rb +209 -0
  522. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/constants.rb +172 -0
  523. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/controller.rb +161 -0
  524. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/library.rb +17 -0
  525. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/model.rb +90 -0
  526. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/tracker/template.rb +33 -0
  527. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/util.rb +357 -0
  528. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/version.rb +3 -0
  529. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/warning.rb +313 -0
  530. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/brakeman/warning_codes.rb +122 -0
  531. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/ruby_parser/bm_sexp.rb +626 -0
  532. data/vendor/ruby/2.6.0/gems/brakeman-4.6.1/lib/ruby_parser/bm_sexp_processor.rb +117 -0
  533. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/LICENSE-DEPENDENCIES.md +1614 -0
  534. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/LICENSE.md +9 -0
  535. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/README.md +198 -0
  536. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/bin/nokogiri +118 -0
  537. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/dependencies.yml +72 -0
  538. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/Makefile +628 -0
  539. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/depend +358 -0
  540. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/extconf.rb +686 -0
  541. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_document.c +170 -0
  542. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_document.h +10 -0
  543. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_document.o +0 -0
  544. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_element_description.c +279 -0
  545. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_element_description.h +10 -0
  546. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_element_description.o +0 -0
  547. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_entity_lookup.c +32 -0
  548. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_entity_lookup.h +8 -0
  549. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_entity_lookup.o +0 -0
  550. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_parser_context.c +116 -0
  551. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_parser_context.h +11 -0
  552. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_parser_context.o +0 -0
  553. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_push_parser.c +87 -0
  554. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_push_parser.h +9 -0
  555. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/html_sax_push_parser.o +0 -0
  556. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/nokogiri.c +141 -0
  557. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/nokogiri.h +121 -0
  558. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/nokogiri.o +0 -0
  559. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/nokogiri.so +0 -0
  560. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attr.c +103 -0
  561. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attr.h +9 -0
  562. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attr.o +0 -0
  563. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attribute_decl.c +70 -0
  564. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attribute_decl.h +9 -0
  565. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_attribute_decl.o +0 -0
  566. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_cdata.c +62 -0
  567. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_cdata.h +9 -0
  568. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_cdata.o +0 -0
  569. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_comment.c +69 -0
  570. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_comment.h +9 -0
  571. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_comment.o +0 -0
  572. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document.c +608 -0
  573. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document.h +23 -0
  574. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document.o +0 -0
  575. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document_fragment.c +48 -0
  576. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document_fragment.h +10 -0
  577. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_document_fragment.o +0 -0
  578. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_dtd.c +202 -0
  579. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_dtd.h +10 -0
  580. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_dtd.o +0 -0
  581. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_content.c +123 -0
  582. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_content.h +10 -0
  583. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_content.o +0 -0
  584. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_decl.c +69 -0
  585. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_decl.h +9 -0
  586. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_element_decl.o +0 -0
  587. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_encoding_handler.c +79 -0
  588. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_encoding_handler.h +8 -0
  589. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_encoding_handler.o +0 -0
  590. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_decl.c +110 -0
  591. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_decl.h +10 -0
  592. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_decl.o +0 -0
  593. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_reference.c +52 -0
  594. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_reference.h +9 -0
  595. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_entity_reference.o +0 -0
  596. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_io.c +61 -0
  597. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_io.h +11 -0
  598. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_io.o +0 -0
  599. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  600. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  601. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_libxml2_hacks.o +0 -0
  602. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_namespace.c +111 -0
  603. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_namespace.h +14 -0
  604. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_namespace.o +0 -0
  605. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node.c +1753 -0
  606. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node.h +13 -0
  607. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node.o +0 -0
  608. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node_set.c +486 -0
  609. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node_set.h +12 -0
  610. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_node_set.o +0 -0
  611. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_processing_instruction.c +56 -0
  612. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_processing_instruction.h +9 -0
  613. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_processing_instruction.o +0 -0
  614. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_reader.c +668 -0
  615. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_reader.h +10 -0
  616. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_reader.o +0 -0
  617. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_relax_ng.c +161 -0
  618. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_relax_ng.h +9 -0
  619. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_relax_ng.o +0 -0
  620. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser.c +310 -0
  621. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser.h +39 -0
  622. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser.o +0 -0
  623. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser_context.c +262 -0
  624. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser_context.h +10 -0
  625. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_parser_context.o +0 -0
  626. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_push_parser.c +159 -0
  627. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_push_parser.h +9 -0
  628. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_sax_push_parser.o +0 -0
  629. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_schema.c +205 -0
  630. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_schema.h +9 -0
  631. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_schema.o +0 -0
  632. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_syntax_error.c +64 -0
  633. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_syntax_error.h +13 -0
  634. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_syntax_error.o +0 -0
  635. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_text.c +52 -0
  636. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_text.h +9 -0
  637. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_text.o +0 -0
  638. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_xpath_context.c +298 -0
  639. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_xpath_context.h +10 -0
  640. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xml_xpath_context.o +0 -0
  641. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xslt_stylesheet.c +270 -0
  642. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xslt_stylesheet.h +14 -0
  643. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri/xslt_stylesheet.o +0 -0
  644. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri.rb +144 -0
  645. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css.rb +27 -0
  646. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/node.rb +52 -0
  647. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/parser.rb +750 -0
  648. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/parser.y +272 -0
  649. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/parser_extras.rb +91 -0
  650. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/syntax_error.rb +7 -0
  651. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/tokenizer.rb +153 -0
  652. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/tokenizer.rex +55 -0
  653. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/css/xpath_visitor.rb +230 -0
  654. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/decorators/slop.rb +42 -0
  655. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html.rb +37 -0
  656. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/builder.rb +35 -0
  657. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/document.rb +335 -0
  658. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/document_fragment.rb +49 -0
  659. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/element_description.rb +23 -0
  660. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/element_description_defaults.rb +671 -0
  661. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/entity_lookup.rb +13 -0
  662. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/sax/parser.rb +62 -0
  663. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/sax/parser_context.rb +16 -0
  664. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/html/sax/push_parser.rb +36 -0
  665. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/nokogiri.so +0 -0
  666. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/syntax_error.rb +4 -0
  667. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/version.rb +109 -0
  668. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml.rb +75 -0
  669. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/attr.rb +14 -0
  670. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/attribute_decl.rb +18 -0
  671. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/builder.rb +446 -0
  672. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/cdata.rb +11 -0
  673. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/character_data.rb +7 -0
  674. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/document.rb +285 -0
  675. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/document_fragment.rb +160 -0
  676. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/dtd.rb +32 -0
  677. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/element_content.rb +36 -0
  678. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/element_decl.rb +13 -0
  679. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/entity_decl.rb +19 -0
  680. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/entity_reference.rb +18 -0
  681. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/namespace.rb +13 -0
  682. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/node.rb +902 -0
  683. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/node/save_options.rb +61 -0
  684. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/node_set.rb +371 -0
  685. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/notation.rb +6 -0
  686. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/parse_options.rb +120 -0
  687. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp.rb +2 -0
  688. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp/character_data.rb +18 -0
  689. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/pp/node.rb +56 -0
  690. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/processing_instruction.rb +8 -0
  691. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/reader.rb +112 -0
  692. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/relax_ng.rb +32 -0
  693. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax.rb +4 -0
  694. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax/document.rb +171 -0
  695. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax/parser.rb +122 -0
  696. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  697. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/sax/push_parser.rb +60 -0
  698. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/schema.rb +63 -0
  699. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/searchable.rb +230 -0
  700. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/syntax_error.rb +70 -0
  701. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/text.rb +9 -0
  702. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/xpath.rb +10 -0
  703. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
  704. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/xpath_context.rb +16 -0
  705. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xslt.rb +56 -0
  706. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xslt/stylesheet.rb +25 -0
  707. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/xsd/xmlparser/nokogiri.rb +102 -0
  708. 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
  709. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxml2/0002-Remove-script-macro-support.patch +40 -0
  710. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch +44 -0
  711. data/vendor/ruby/2.6.0/gems/nokogiri-1.10.4/patches/libxslt/0001-Fix-security-framework-bypass.patch +120 -0
  712. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/CHANGELOG.md +38 -0
  713. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/MIT-LICENSE +23 -0
  714. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/README.md +140 -0
  715. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/lib/rails-html-sanitizer.rb +77 -0
  716. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/lib/rails/html/sanitizer.rb +155 -0
  717. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/lib/rails/html/sanitizer/version.rb +7 -0
  718. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/lib/rails/html/scrubbers.rb +201 -0
  719. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/test/sanitizer_test.rb +568 -0
  720. data/vendor/ruby/2.6.0/gems/rails-html-sanitizer-1.2.0/test/scrubbers_test.rb +174 -0
  721. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/LICENSE.txt +20 -0
  722. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/README.md +216 -0
  723. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/assets/logo.png +0 -0
  724. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/assets/output.html.erb +261 -0
  725. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/bin/console +10 -0
  726. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/bin/setup +7 -0
  727. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/config/default.yml +3915 -0
  728. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/exe/rubocop +17 -0
  729. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop.rb +603 -0
  730. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/builder.rb +81 -0
  731. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node.rb +640 -0
  732. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/alias_node.rb +24 -0
  733. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/and_node.rb +29 -0
  734. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/args_node.rb +29 -0
  735. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/array_node.rb +57 -0
  736. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/block_node.rb +115 -0
  737. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/break_node.rb +17 -0
  738. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/case_node.rb +56 -0
  739. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/class_node.rb +31 -0
  740. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/def_node.rb +71 -0
  741. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/defined_node.rb +17 -0
  742. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
  743. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/float_node.rb +12 -0
  744. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/for_node.rb +53 -0
  745. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/hash_node.rb +109 -0
  746. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/if_node.rb +175 -0
  747. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/int_node.rb +12 -0
  748. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
  749. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
  750. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
  751. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
  752. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
  753. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
  754. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +272 -0
  755. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
  756. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
  757. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
  758. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
  759. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
  760. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/module_node.rb +24 -0
  761. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/or_node.rb +29 -0
  762. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/pair_node.rb +63 -0
  763. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/range_node.rb +18 -0
  764. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
  765. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/resbody_node.rb +24 -0
  766. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/retry_node.rb +17 -0
  767. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
  768. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/send_node.rb +13 -0
  769. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/str_node.rb +16 -0
  770. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/super_node.rb +21 -0
  771. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
  772. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/until_node.rb +35 -0
  773. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/when_node.rb +53 -0
  774. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/while_node.rb +35 -0
  775. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/node/yield_node.rb +21 -0
  776. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/sexp.rb +16 -0
  777. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/ast/traversal.rb +183 -0
  778. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cached_data.rb +58 -0
  779. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cli.rb +343 -0
  780. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/comment_config.rb +200 -0
  781. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config.rb +240 -0
  782. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_loader.rb +255 -0
  783. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_loader_resolver.rb +194 -0
  784. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_obsoletion.rb +201 -0
  785. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_store.rb +48 -0
  786. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/config_validator.rb +239 -0
  787. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/autocorrect_logic.rb +103 -0
  788. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/badge.rb +73 -0
  789. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
  790. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
  791. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
  792. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
  793. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/commissioner.rb +137 -0
  794. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/cop.rb +270 -0
  795. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/corrector.rb +171 -0
  796. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/alignment_corrector.rb +120 -0
  797. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
  798. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
  799. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
  800. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
  801. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
  802. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
  803. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
  804. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
  805. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
  806. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
  807. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
  808. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
  809. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
  810. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
  811. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/force.rb +42 -0
  812. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
  813. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +106 -0
  814. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
  815. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
  816. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/generator.rb +223 -0
  817. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/generator/configuration_injector.rb +61 -0
  818. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
  819. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/ignored_node.rb +38 -0
  820. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs.rb +8 -0
  821. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
  822. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
  823. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
  824. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
  825. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
  826. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
  827. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
  828. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/align_arguments.rb +93 -0
  829. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/align_array.rb +39 -0
  830. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/align_hash.rb +358 -0
  831. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/align_parameters.rb +118 -0
  832. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
  833. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/block_end_newline.rb +62 -0
  834. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
  835. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
  836. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
  837. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
  838. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
  839. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
  840. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
  841. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
  842. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
  843. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_comment.rb +160 -0
  844. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +142 -0
  845. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
  846. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
  847. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
  848. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +215 -0
  849. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
  850. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
  851. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
  852. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
  853. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
  854. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
  855. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
  856. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
  857. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/end_of_line.rb +87 -0
  858. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/extra_spacing.rb +207 -0
  859. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
  860. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
  861. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +55 -0
  862. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
  863. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +289 -0
  864. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_assignment.rb +46 -0
  865. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_first_argument.rb +247 -0
  866. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_first_array_element.rb +167 -0
  867. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_first_hash_element.rb +184 -0
  868. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_first_parameter.rb +100 -0
  869. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indent_heredoc.rb +256 -0
  870. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
  871. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
  872. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
  873. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
  874. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/leading_comment_space.rb +88 -0
  875. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
  876. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
  877. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
  878. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_block_layout.rb +124 -0
  879. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
  880. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
  881. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +54 -0
  882. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
  883. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
  884. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
  885. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
  886. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +189 -0
  887. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
  888. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
  889. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
  890. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
  891. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
  892. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +165 -0
  893. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
  894. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
  895. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_around_operators.rb +182 -0
  896. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
  897. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
  898. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
  899. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
  900. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
  901. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +80 -0
  902. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
  903. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
  904. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +241 -0
  905. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
  906. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
  907. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
  908. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
  909. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +150 -0
  910. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +63 -0
  911. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/tab.rb +75 -0
  912. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
  913. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
  914. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
  915. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
  916. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
  917. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/assignment_in_condition.rb +84 -0
  918. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
  919. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
  920. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
  921. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/debugger.rb +77 -0
  922. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
  923. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
  924. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
  925. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/duplicate_methods.rb +239 -0
  926. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
  927. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
  928. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
  929. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
  930. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
  931. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
  932. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
  933. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
  934. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
  935. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/erb_new_arguments.rb +163 -0
  936. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
  937. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
  938. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +185 -0
  939. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/handle_exceptions.rb +95 -0
  940. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
  941. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
  942. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
  943. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
  944. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
  945. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
  946. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
  947. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/loop.rb +63 -0
  948. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
  949. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
  950. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
  951. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
  952. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
  953. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
  954. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/number_conversion.rb +81 -0
  955. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
  956. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
  957. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
  958. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
  959. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
  960. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
  961. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
  962. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
  963. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
  964. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
  965. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
  966. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
  967. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +66 -0
  968. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
  969. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
  970. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
  971. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
  972. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
  973. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
  974. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
  975. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/syntax.rb +59 -0
  976. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/to_json.rb +41 -0
  977. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
  978. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unified_integer.rb +45 -0
  979. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
  980. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
  981. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
  982. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +172 -0
  983. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
  984. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unused_block_argument.rb +149 -0
  985. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/unused_method_argument.rb +68 -0
  986. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
  987. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
  988. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
  989. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_assignment.rb +129 -0
  990. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
  991. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +49 -0
  992. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/useless_setter_call.rb +164 -0
  993. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/lint/void.rb +170 -0
  994. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/message_annotator.rb +120 -0
  995. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
  996. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
  997. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
  998. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
  999. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
  1000. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/line_length.rb +321 -0
  1001. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
  1002. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
  1003. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
  1004. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
  1005. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
  1006. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
  1007. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
  1008. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
  1009. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
  1010. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
  1011. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/check_line_breakable.rb +190 -0
  1012. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
  1013. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
  1014. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
  1015. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
  1016. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
  1017. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
  1018. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
  1019. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
  1020. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
  1021. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
  1022. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
  1023. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
  1024. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
  1025. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
  1026. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
  1027. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +53 -0
  1028. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/hash_alignment.rb +147 -0
  1029. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
  1030. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/ignored_method_patterns.rb +19 -0
  1031. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
  1032. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
  1033. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
  1034. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/interpolation.rb +27 -0
  1035. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
  1036. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
  1037. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
  1038. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
  1039. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
  1040. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
  1041. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
  1042. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
  1043. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
  1044. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
  1045. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
  1046. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
  1047. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
  1048. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
  1049. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
  1050. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
  1051. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
  1052. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
  1053. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
  1054. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
  1055. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
  1056. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
  1057. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
  1058. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
  1059. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
  1060. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
  1061. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
  1062. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
  1063. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
  1064. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
  1065. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
  1066. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
  1067. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
  1068. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
  1069. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
  1070. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
  1071. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
  1072. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
  1073. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
  1074. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/file_name.rb +205 -0
  1075. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
  1076. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
  1077. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
  1078. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/method_name.rb +42 -0
  1079. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
  1080. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
  1081. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
  1082. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
  1083. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/variable_name.rb +51 -0
  1084. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
  1085. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/offense.rb +194 -0
  1086. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/registry.rb +190 -0
  1087. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/eval.rb +31 -0
  1088. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/json_load.rb +46 -0
  1089. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
  1090. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/open.rb +71 -0
  1091. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
  1092. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/severity.rb +77 -0
  1093. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/access_modifier_declarations.rb +111 -0
  1094. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/alias.rb +147 -0
  1095. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/and_or.rb +146 -0
  1096. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/array_join.rb +39 -0
  1097. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
  1098. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/attr.rb +62 -0
  1099. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
  1100. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
  1101. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/begin_block.rb +22 -0
  1102. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/block_comments.rb +70 -0
  1103. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/block_delimiters.rb +330 -0
  1104. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +190 -0
  1105. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/case_equality.rb +30 -0
  1106. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/character_literal.rb +53 -0
  1107. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
  1108. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/class_check.rb +59 -0
  1109. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/class_methods.rb +60 -0
  1110. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/class_vars.rb +48 -0
  1111. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
  1112. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
  1113. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
  1114. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/command_literal.rb +187 -0
  1115. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
  1116. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/commented_keyword.rb +67 -0
  1117. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/conditional_assignment.rb +668 -0
  1118. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/constant_visibility.rb +77 -0
  1119. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/copyright.rb +95 -0
  1120. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/date_time.rb +77 -0
  1121. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
  1122. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/dir.rb +48 -0
  1123. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/documentation.rb +97 -0
  1124. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/documentation_method.rb +81 -0
  1125. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/double_cop_disable_directive.rb +49 -0
  1126. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/double_negation.rb +35 -0
  1127. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
  1128. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
  1129. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
  1130. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
  1131. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_else.rb +175 -0
  1132. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
  1133. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
  1134. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/empty_method.rb +115 -0
  1135. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/encoding.rb +56 -0
  1136. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/end_block.rb +25 -0
  1137. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
  1138. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/even_odd.rb +58 -0
  1139. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
  1140. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/float_division.rb +94 -0
  1141. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/for.rb +88 -0
  1142. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/format_string.rb +124 -0
  1143. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/format_string_token.rb +170 -0
  1144. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +164 -0
  1145. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/global_vars.rb +80 -0
  1146. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/guard_clause.rb +121 -0
  1147. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
  1148. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
  1149. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/if_inside_else.rb +87 -0
  1150. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/if_unless_modifier.rb +91 -0
  1151. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
  1152. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
  1153. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
  1154. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/infinite_loop.rb +127 -0
  1155. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
  1156. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/inverse_methods.rb +187 -0
  1157. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
  1158. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/lambda.rb +131 -0
  1159. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
  1160. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
  1161. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +388 -0
  1162. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
  1163. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
  1164. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
  1165. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
  1166. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/min_max.rb +68 -0
  1167. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/missing_else.rb +180 -0
  1168. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
  1169. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
  1170. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/mixin_usage.rb +80 -0
  1171. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/module_function.rb +104 -0
  1172. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
  1173. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
  1174. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
  1175. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
  1176. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
  1177. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
  1178. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiline_when_then.rb +55 -0
  1179. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
  1180. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
  1181. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/negated_if.rb +99 -0
  1182. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/negated_unless.rb +89 -0
  1183. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/negated_while.rb +48 -0
  1184. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/nested_modifier.rb +89 -0
  1185. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
  1186. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
  1187. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/next.rb +244 -0
  1188. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
  1189. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/non_nil_check.rb +124 -0
  1190. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/not.rb +82 -0
  1191. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
  1192. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
  1193. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/numeric_predicate.rb +137 -0
  1194. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/one_line_conditional.rb +101 -0
  1195. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/option_hash.rb +55 -0
  1196. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/optional_arguments.rb +58 -0
  1197. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/or_assignment.rb +90 -0
  1198. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
  1199. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/parentheses_around_condition.rb +103 -0
  1200. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
  1201. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
  1202. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
  1203. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
  1204. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/proc.rb +34 -0
  1205. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/raise_args.rb +145 -0
  1206. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/random_with_offset.rb +158 -0
  1207. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
  1208. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
  1209. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
  1210. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
  1211. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_parentheses.rb +222 -0
  1212. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_return.rb +161 -0
  1213. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_self.rb +154 -0
  1214. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
  1215. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
  1216. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
  1217. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
  1218. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/return_nil.rb +89 -0
  1219. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/safe_navigation.rb +255 -0
  1220. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/sample.rb +144 -0
  1221. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
  1222. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/semicolon.rb +90 -0
  1223. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/send.rb +31 -0
  1224. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
  1225. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
  1226. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/single_line_methods.rb +76 -0
  1227. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/special_global_vars.rb +213 -0
  1228. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
  1229. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/stderr_puts.rb +61 -0
  1230. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
  1231. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/string_literals.rb +129 -0
  1232. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
  1233. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/string_methods.rb +46 -0
  1234. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/strip.rb +46 -0
  1235. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
  1236. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
  1237. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
  1238. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/symbol_proc.rb +110 -0
  1239. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/ternary_parentheses.rb +204 -0
  1240. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
  1241. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
  1242. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
  1243. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +96 -0
  1244. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
  1245. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
  1246. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
  1247. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
  1248. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
  1249. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unless_else.rb +55 -0
  1250. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
  1251. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
  1252. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
  1253. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
  1254. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unneeded_sort.rb +165 -0
  1255. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
  1256. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
  1257. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/when_then.rb +37 -0
  1258. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
  1259. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
  1260. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/word_array.rb +102 -0
  1261. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/yoda_condition.rb +141 -0
  1262. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
  1263. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/team.rb +191 -0
  1264. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/util.rb +127 -0
  1265. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force.rb +464 -0
  1266. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
  1267. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
  1268. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
  1269. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
  1270. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
  1271. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/variable.rb +104 -0
  1272. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
  1273. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/core_ext/string.rb +47 -0
  1274. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/error.rb +34 -0
  1275. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/file_finder.rb +42 -0
  1276. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
  1277. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/base_formatter.rb +123 -0
  1278. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
  1279. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/colorizable.rb +41 -0
  1280. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/disabled_config_formatter.rb +224 -0
  1281. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
  1282. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
  1283. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
  1284. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/formatter_set.rb +105 -0
  1285. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
  1286. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/html_formatter.rb +141 -0
  1287. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/json_formatter.rb +80 -0
  1288. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
  1289. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
  1290. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
  1291. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/simple_text_formatter.rb +126 -0
  1292. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/tap_formatter.rb +71 -0
  1293. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/text_util.rb +20 -0
  1294. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
  1295. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/magic_comment.rb +210 -0
  1296. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/name_similarity.rb +21 -0
  1297. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/node_pattern.rb +799 -0
  1298. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/options.rb +465 -0
  1299. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/path_util.rb +85 -0
  1300. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/platform.rb +11 -0
  1301. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/processed_source.rb +216 -0
  1302. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rake_task.rb +79 -0
  1303. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/remote_config.rb +106 -0
  1304. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/result_cache.rb +191 -0
  1305. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/cop_helper.rb +94 -0
  1306. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/expect_offense.rb +240 -0
  1307. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
  1308. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/shared_contexts.rb +90 -0
  1309. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/rspec/support.rb +13 -0
  1310. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/runner.rb +352 -0
  1311. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/string_interpreter.rb +57 -0
  1312. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/string_util.rb +14 -0
  1313. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/target_finder.rb +190 -0
  1314. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/token.rb +114 -0
  1315. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/version.rb +21 -0
  1316. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/warning.rb +11 -0
  1317. data/vendor/ruby/2.6.0/gems/rubocop-0.74.0/lib/rubocop/yaml_duplication_checker.rb +39 -0
  1318. data/vendor/ruby/2.6.0/specifications/brakeman-4.6.1.gemspec +23 -0
  1319. data/vendor/ruby/2.6.0/specifications/nokogiri-1.10.4.gemspec +83 -0
  1320. data/vendor/ruby/2.6.0/specifications/rails-html-sanitizer-1.2.0.gemspec +44 -0
  1321. data/vendor/ruby/2.6.0/specifications/rubocop-0.74.0.gemspec +56 -0
  1322. metadata +1311 -2
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'pry'
6
+ require 'rubocop'
7
+
8
+ ARGV.clear
9
+
10
+ RuboCop.pry
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -euo pipefail
4
+ IFS=$'\n\t'
5
+ set -vx
6
+
7
+ bundle install
@@ -0,0 +1,3915 @@
1
+ # Common configuration.
2
+
3
+ AllCops:
4
+ RubyInterpreters:
5
+ - ruby
6
+ - macruby
7
+ - rake
8
+ - jruby
9
+ - rbx
10
+ # Include common Ruby source files.
11
+ Include:
12
+ - '**/*.rb'
13
+ - '**/*.arb'
14
+ - '**/*.axlsx'
15
+ - '**/*.builder'
16
+ - '**/*.fcgi'
17
+ - '**/*.gemfile'
18
+ - '**/*.gemspec'
19
+ - '**/*.god'
20
+ - '**/*.jb'
21
+ - '**/*.jbuilder'
22
+ - '**/*.mspec'
23
+ - '**/*.opal'
24
+ - '**/*.pluginspec'
25
+ - '**/*.podspec'
26
+ - '**/*.rabl'
27
+ - '**/*.rake'
28
+ - '**/*.rbuild'
29
+ - '**/*.rbw'
30
+ - '**/*.rbx'
31
+ - '**/*.ru'
32
+ - '**/*.ruby'
33
+ - '**/*.spec'
34
+ - '**/*.thor'
35
+ - '**/*.watchr'
36
+ - '**/.irbrc'
37
+ - '**/.pryrc'
38
+ - '**/buildfile'
39
+ - '**/Appraisals'
40
+ - '**/Berksfile'
41
+ - '**/Brewfile'
42
+ - '**/Buildfile'
43
+ - '**/Capfile'
44
+ - '**/Cheffile'
45
+ - '**/Dangerfile'
46
+ - '**/Deliverfile'
47
+ - '**/Fastfile'
48
+ - '**/*Fastfile'
49
+ - '**/Gemfile'
50
+ - '**/Guardfile'
51
+ - '**/Jarfile'
52
+ - '**/Mavenfile'
53
+ - '**/Podfile'
54
+ - '**/Puppetfile'
55
+ - '**/Rakefile'
56
+ - '**/Snapfile'
57
+ - '**/Thorfile'
58
+ - '**/Vagabondfile'
59
+ - '**/Vagrantfile'
60
+ Exclude:
61
+ - 'node_modules/**/*'
62
+ - 'vendor/**/*'
63
+ - '.git/**/*'
64
+ # Default formatter will be used if no `-f/--format` option is given.
65
+ DefaultFormatter: progress
66
+ # Cop names are displayed in offense messages by default. Change behavior
67
+ # by overriding DisplayCopNames, or by giving the `--no-display-cop-names`
68
+ # option.
69
+ DisplayCopNames: true
70
+ # Style guide URLs are not displayed in offense messages by default. Change
71
+ # behavior by overriding `DisplayStyleGuide`, or by giving the
72
+ # `-S/--display-style-guide` option.
73
+ DisplayStyleGuide: false
74
+ # When specifying style guide URLs, any paths and/or fragments will be
75
+ # evaluated relative to the base URL.
76
+ StyleGuideBaseURL: https://rubystyle.guide
77
+ # Extra details are not displayed in offense messages by default. Change
78
+ # behavior by overriding ExtraDetails, or by giving the
79
+ # `-E/--extra-details` option.
80
+ ExtraDetails: false
81
+ # Additional cops that do not reference a style guide rule may be enabled by
82
+ # default. Change behavior by overriding `StyleGuideCopsOnly`, or by giving
83
+ # the `--only-guide-cops` option.
84
+ StyleGuideCopsOnly: false
85
+ # All cops except the ones configured `Enabled: false` in this file are enabled by default.
86
+ # Change this behavior by overriding either `DisabledByDefault` or `EnabledByDefault`.
87
+ # When `DisabledByDefault` is `true`, all cops in the default configuration
88
+ # are disabled, and only cops in user configuration are enabled. This makes
89
+ # cops opt-in instead of opt-out. Note that when `DisabledByDefault` is `true`,
90
+ # cops in user configuration will be enabled even if they don't set the
91
+ # Enabled parameter.
92
+ # When `EnabledByDefault` is `true`, all cops, even those configured `Enabled: false`
93
+ # in this file are enabled by default. Cops can still be disabled in user configuration.
94
+ # Note that it is invalid to set both EnabledByDefault and DisabledByDefault
95
+ # to true in the same configuration.
96
+ EnabledByDefault: false
97
+ DisabledByDefault: false
98
+ # Enables the result cache if `true`. Can be overridden by the `--cache` command
99
+ # line option.
100
+ UseCache: true
101
+ # Threshold for how many files can be stored in the result cache before some
102
+ # of the files are automatically removed.
103
+ MaxFilesInCache: 20000
104
+ # The cache will be stored in "rubocop_cache" under this directory. If
105
+ # CacheRootDirectory is ~ (nil), which it is by default, the root will be
106
+ # taken from the environment variable `$XDG_CACHE_HOME` if it is set, or if
107
+ # `$XDG_CACHE_HOME` is not set, it will be `$HOME/.cache/`.
108
+ CacheRootDirectory: ~
109
+ # It is possible for a malicious user to know the location of RuboCop's cache
110
+ # directory by looking at CacheRootDirectory, and create a symlink in its
111
+ # place that could cause RuboCop to overwrite unintended files, or read
112
+ # malicious input. If you are certain that your cache location is secure from
113
+ # this kind of attack, and wish to use a symlinked cache location, set this
114
+ # value to "true".
115
+ AllowSymlinksInCacheRootDirectory: false
116
+ # What MRI version of the Ruby interpreter is the inspected code intended to
117
+ # run on? (If there is more than one, set this to the lowest version.)
118
+ # If a value is specified for TargetRubyVersion then it is used. Acceptable
119
+ # values are specificed as a float (i.e. 2.5); the teeny version of Ruby
120
+ # should not be included. If the project specifies a Ruby version in the
121
+ # .ruby-version file, Gemfile or gems.rb file, RuboCop will try to determine
122
+ # the desired version of Ruby by inspecting the .ruby-version file first,
123
+ # followed by the Gemfile.lock or gems.locked file. (Although the Ruby version
124
+ # is specified in the Gemfile or gems.rb file, RuboCop reads the final value
125
+ # from the lock file.) If the Ruby version is still unresolved, RuboCop will
126
+ # use the oldest officially supported Ruby version (currently Ruby 2.3).
127
+ TargetRubyVersion: ~
128
+
129
+ #################### Bundler ###############################
130
+
131
+ Bundler/DuplicatedGem:
132
+ Description: 'Checks for duplicate gem entries in Gemfile.'
133
+ Enabled: true
134
+ VersionAdded: '0.46'
135
+ Include:
136
+ - '**/*.gemfile'
137
+ - '**/Gemfile'
138
+ - '**/gems.rb'
139
+
140
+ Bundler/GemComment:
141
+ Description: 'Add a comment describing each gem.'
142
+ Enabled: false
143
+ VersionAdded: '0.59'
144
+ Include:
145
+ - '**/*.gemfile'
146
+ - '**/Gemfile'
147
+ - '**/gems.rb'
148
+ Whitelist: []
149
+
150
+ Bundler/InsecureProtocolSource:
151
+ Description: >-
152
+ The source `:gemcutter`, `:rubygems` and `:rubyforge` are deprecated
153
+ because HTTP requests are insecure. Please change your source to
154
+ 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
155
+ Enabled: true
156
+ VersionAdded: '0.50'
157
+ Include:
158
+ - '**/*.gemfile'
159
+ - '**/Gemfile'
160
+ - '**/gems.rb'
161
+
162
+ Bundler/OrderedGems:
163
+ Description: >-
164
+ Gems within groups in the Gemfile should be alphabetically sorted.
165
+ Enabled: true
166
+ VersionAdded: '0.46'
167
+ VersionChanged: '0.47'
168
+ TreatCommentsAsGroupSeparators: true
169
+ Include:
170
+ - '**/*.gemfile'
171
+ - '**/Gemfile'
172
+ - '**/gems.rb'
173
+
174
+ #################### Gemspec ###############################
175
+
176
+ Gemspec/DuplicatedAssignment:
177
+ Description: 'An attribute assignment method calls should be listed only once in a gemspec.'
178
+ Enabled: true
179
+ VersionAdded: '0.52'
180
+ Include:
181
+ - '**/*.gemspec'
182
+
183
+ Gemspec/OrderedDependencies:
184
+ Description: >-
185
+ Dependencies in the gemspec should be alphabetically sorted.
186
+ Enabled: true
187
+ VersionAdded: '0.51'
188
+ TreatCommentsAsGroupSeparators: true
189
+ Include:
190
+ - '**/*.gemspec'
191
+
192
+ Gemspec/RequiredRubyVersion:
193
+ Description: 'Checks that `required_ruby_version` of gemspec and `TargetRubyVersion` of .rubocop.yml are equal.'
194
+ Enabled: true
195
+ VersionAdded: '0.52'
196
+ Include:
197
+ - '**/*.gemspec'
198
+ -
199
+ Gemspec/RubyVersionGlobalsUsage:
200
+ Description: Checks usage of RUBY_VERSION in gemspec.
201
+ Enabled: true
202
+ VersionAdded: '0.72'
203
+ Include:
204
+ - '**/*.gemspec'
205
+
206
+ #################### Layout ###########################
207
+
208
+ Layout/AccessModifierIndentation:
209
+ Description: Check indentation of private/protected visibility modifiers.
210
+ StyleGuide: '#indent-public-private-protected'
211
+ Enabled: true
212
+ VersionAdded: '0.49'
213
+ EnforcedStyle: indent
214
+ SupportedStyles:
215
+ - outdent
216
+ - indent
217
+ # By default, the indentation width from Layout/IndentationWidth is used
218
+ # But it can be overridden by setting this parameter
219
+ IndentationWidth: ~
220
+
221
+ Layout/AlignArguments:
222
+ Description: >-
223
+ Align the arguments of a method call if they span more
224
+ than one line.
225
+ StyleGuide: '#no-double-indent'
226
+ Enabled: true
227
+ VersionAdded: '0.68'
228
+ # Alignment of arguments in multi-line method calls.
229
+ #
230
+ # The `with_first_argument` style aligns the following lines along the same
231
+ # column as the first parameter.
232
+ #
233
+ # method_call(a,
234
+ # b)
235
+ #
236
+ # The `with_fixed_indentation` style aligns the following lines with one
237
+ # level of indentation relative to the start of the line with the method call.
238
+ #
239
+ # method_call(a,
240
+ # b)
241
+ EnforcedStyle: with_first_argument
242
+ SupportedStyles:
243
+ - with_first_argument
244
+ - with_fixed_indentation
245
+ # By default, the indentation width from Layout/IndentationWidth is used
246
+ # But it can be overridden by setting this parameter
247
+ IndentationWidth: ~
248
+
249
+ Layout/AlignArray:
250
+ Description: >-
251
+ Align the elements of an array literal if they span more than
252
+ one line.
253
+ StyleGuide: '#align-multiline-arrays'
254
+ Enabled: true
255
+ VersionAdded: '0.49'
256
+
257
+ Layout/AlignHash:
258
+ Description: >-
259
+ Align the elements of a hash literal if they span more than
260
+ one line.
261
+ Enabled: true
262
+ AllowMultipleStyles: true
263
+ VersionAdded: '0.49'
264
+ # Alignment of entries using hash rocket as separator. Valid values are:
265
+ #
266
+ # key - left alignment of keys
267
+ # 'a' => 2
268
+ # 'bb' => 3
269
+ # separator - alignment of hash rockets, keys are right aligned
270
+ # 'a' => 2
271
+ # 'bb' => 3
272
+ # table - left alignment of keys, hash rockets, and values
273
+ # 'a' => 2
274
+ # 'bb' => 3
275
+ EnforcedHashRocketStyle: key
276
+ SupportedHashRocketStyles:
277
+ - key
278
+ - separator
279
+ - table
280
+ # Alignment of entries using colon as separator. Valid values are:
281
+ #
282
+ # key - left alignment of keys
283
+ # a: 0
284
+ # bb: 1
285
+ # separator - alignment of colons, keys are right aligned
286
+ # a: 0
287
+ # bb: 1
288
+ # table - left alignment of keys and values
289
+ # a: 0
290
+ # bb: 1
291
+ EnforcedColonStyle: key
292
+ SupportedColonStyles:
293
+ - key
294
+ - separator
295
+ - table
296
+ # Select whether hashes that are the last argument in a method call should be
297
+ # inspected? Valid values are:
298
+ #
299
+ # always_inspect - Inspect both implicit and explicit hashes.
300
+ # Registers an offense for:
301
+ # function(a: 1,
302
+ # b: 2)
303
+ # Registers an offense for:
304
+ # function({a: 1,
305
+ # b: 2})
306
+ # always_ignore - Ignore both implicit and explicit hashes.
307
+ # Accepts:
308
+ # function(a: 1,
309
+ # b: 2)
310
+ # Accepts:
311
+ # function({a: 1,
312
+ # b: 2})
313
+ # ignore_implicit - Ignore only implicit hashes.
314
+ # Accepts:
315
+ # function(a: 1,
316
+ # b: 2)
317
+ # Registers an offense for:
318
+ # function({a: 1,
319
+ # b: 2})
320
+ # ignore_explicit - Ignore only explicit hashes.
321
+ # Accepts:
322
+ # function({a: 1,
323
+ # b: 2})
324
+ # Registers an offense for:
325
+ # function(a: 1,
326
+ # b: 2)
327
+ EnforcedLastArgumentHashStyle: always_inspect
328
+ SupportedLastArgumentHashStyles:
329
+ - always_inspect
330
+ - always_ignore
331
+ - ignore_implicit
332
+ - ignore_explicit
333
+
334
+ Layout/AlignParameters:
335
+ Description: >-
336
+ Align the parameters of a method definition if they span more
337
+ than one line.
338
+ StyleGuide: '#no-double-indent'
339
+ Enabled: true
340
+ VersionAdded: '0.49'
341
+ VersionChanged: '0.68'
342
+ # Alignment of parameters in multi-line method calls.
343
+ #
344
+ # The `with_first_parameter` style aligns the following lines along the same
345
+ # column as the first parameter.
346
+ #
347
+ # def method_foo(a,
348
+ # b)
349
+ #
350
+ # The `with_fixed_indentation` style aligns the following lines with one
351
+ # level of indentation relative to the start of the line with the method call.
352
+ #
353
+ # def method_foo(a,
354
+ # b)
355
+ EnforcedStyle: with_first_parameter
356
+ SupportedStyles:
357
+ - with_first_parameter
358
+ - with_fixed_indentation
359
+ # By default, the indentation width from Layout/IndentationWidth is used
360
+ # But it can be overridden by setting this parameter
361
+ IndentationWidth: ~
362
+
363
+ Layout/BlockAlignment:
364
+ Description: 'Align block ends correctly.'
365
+ Enabled: true
366
+ VersionAdded: '0.53'
367
+ # The value `start_of_block` means that the `end` should be aligned with line
368
+ # where the `do` keyword appears.
369
+ # The value `start_of_line` means it should be aligned with the whole
370
+ # expression's starting line.
371
+ # The value `either` means both are allowed.
372
+ EnforcedStyleAlignWith: either
373
+ SupportedStylesAlignWith:
374
+ - either
375
+ - start_of_block
376
+ - start_of_line
377
+
378
+ Layout/BlockEndNewline:
379
+ Description: 'Put end statement of multiline block on its own line.'
380
+ Enabled: true
381
+ VersionAdded: '0.49'
382
+
383
+ Layout/CaseIndentation:
384
+ Description: 'Indentation of when in a case/when/[else/]end.'
385
+ StyleGuide: '#indent-when-to-case'
386
+ Enabled: true
387
+ VersionAdded: '0.49'
388
+ EnforcedStyle: case
389
+ SupportedStyles:
390
+ - case
391
+ - end
392
+ IndentOneStep: false
393
+ # By default, the indentation width from `Layout/IndentationWidth` is used.
394
+ # But it can be overridden by setting this parameter.
395
+ # This only matters if `IndentOneStep` is `true`
396
+ IndentationWidth: ~
397
+
398
+ Layout/ClassStructure:
399
+ Description: 'Enforces a configured order of definitions within a class body.'
400
+ StyleGuide: '#consistent-classes'
401
+ Enabled: false
402
+ VersionAdded: '0.52'
403
+ Categories:
404
+ module_inclusion:
405
+ - include
406
+ - prepend
407
+ - extend
408
+ ExpectedOrder:
409
+ - module_inclusion
410
+ - constants
411
+ - public_class_methods
412
+ - initializer
413
+ - public_methods
414
+ - protected_methods
415
+ - private_methods
416
+
417
+ Layout/ClosingHeredocIndentation:
418
+ Description: 'Checks the indentation of here document closings.'
419
+ Enabled: true
420
+ VersionAdded: '0.57'
421
+
422
+ Layout/ClosingParenthesisIndentation:
423
+ Description: 'Checks the indentation of hanging closing parentheses.'
424
+ Enabled: true
425
+ VersionAdded: '0.49'
426
+
427
+ Layout/CommentIndentation:
428
+ Description: 'Indentation of comments.'
429
+ Enabled: true
430
+ VersionAdded: '0.49'
431
+
432
+ Layout/ConditionPosition:
433
+ Description: >-
434
+ Checks for condition placed in a confusing position relative to
435
+ the keyword.
436
+ StyleGuide: '#same-line-condition'
437
+ Enabled: true
438
+ VersionAdded: '0.53'
439
+
440
+ Layout/DefEndAlignment:
441
+ Description: 'Align ends corresponding to defs correctly.'
442
+ Enabled: true
443
+ VersionAdded: '0.53'
444
+ # The value `def` means that `end` should be aligned with the def keyword.
445
+ # The value `start_of_line` means that `end` should be aligned with method
446
+ # calls like `private`, `public`, etc, if present in front of the `def`
447
+ # keyword on the same line.
448
+ EnforcedStyleAlignWith: start_of_line
449
+ SupportedStylesAlignWith:
450
+ - start_of_line
451
+ - def
452
+ AutoCorrect: false
453
+ Severity: warning
454
+
455
+ Layout/DotPosition:
456
+ Description: 'Checks the position of the dot in multi-line method calls.'
457
+ StyleGuide: '#consistent-multi-line-chains'
458
+ Enabled: true
459
+ VersionAdded: '0.49'
460
+ EnforcedStyle: leading
461
+ SupportedStyles:
462
+ - leading
463
+ - trailing
464
+
465
+ Layout/ElseAlignment:
466
+ Description: 'Align elses and elsifs correctly.'
467
+ Enabled: true
468
+ VersionAdded: '0.49'
469
+
470
+ Layout/EmptyComment:
471
+ Description: 'Checks empty comment.'
472
+ Enabled: true
473
+ VersionAdded: '0.53'
474
+ AllowBorderComment: true
475
+ AllowMarginComment: true
476
+
477
+ Layout/EmptyLineAfterGuardClause:
478
+ Description: 'Add empty line after guard clause.'
479
+ Enabled: true
480
+ VersionAdded: '0.56'
481
+ VersionChanged: '0.59'
482
+
483
+ Layout/EmptyLineAfterMagicComment:
484
+ Description: 'Add an empty line after magic comments to separate them from code.'
485
+ StyleGuide: '#separate-magic-comments-from-code'
486
+ Enabled: true
487
+ VersionAdded: '0.49'
488
+
489
+ Layout/EmptyLineBetweenDefs:
490
+ Description: 'Use empty lines between defs.'
491
+ StyleGuide: '#empty-lines-between-methods'
492
+ Enabled: true
493
+ VersionAdded: '0.49'
494
+ # If `true`, this parameter means that single line method definitions don't
495
+ # need an empty line between them.
496
+ AllowAdjacentOneLineDefs: false
497
+ # Can be array to specify minimum and maximum number of empty lines, e.g. [1, 2]
498
+ NumberOfEmptyLines: 1
499
+
500
+ Layout/EmptyLines:
501
+ Description: "Don't use several empty lines in a row."
502
+ StyleGuide: '#two-or-more-empty-lines'
503
+ Enabled: true
504
+ VersionAdded: '0.49'
505
+
506
+ Layout/EmptyLinesAroundAccessModifier:
507
+ Description: "Keep blank lines around access modifiers."
508
+ StyleGuide: '#empty-lines-around-access-modifier'
509
+ Enabled: true
510
+ VersionAdded: '0.49'
511
+ EnforcedStyle: around
512
+ SupportedStyles:
513
+ - around
514
+ - only_before
515
+ Reference:
516
+ # A reference to `EnforcedStyle: only_before`.
517
+ - https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions
518
+
519
+ Layout/EmptyLinesAroundArguments:
520
+ Description: "Keeps track of empty lines around method arguments."
521
+ Enabled: true
522
+ VersionAdded: '0.52'
523
+
524
+ Layout/EmptyLinesAroundBeginBody:
525
+ Description: "Keeps track of empty lines around begin-end bodies."
526
+ StyleGuide: '#empty-lines-around-bodies'
527
+ Enabled: true
528
+ VersionAdded: '0.49'
529
+
530
+ Layout/EmptyLinesAroundBlockBody:
531
+ Description: "Keeps track of empty lines around block bodies."
532
+ StyleGuide: '#empty-lines-around-bodies'
533
+ Enabled: true
534
+ VersionAdded: '0.49'
535
+ EnforcedStyle: no_empty_lines
536
+ SupportedStyles:
537
+ - empty_lines
538
+ - no_empty_lines
539
+
540
+ Layout/EmptyLinesAroundClassBody:
541
+ Description: "Keeps track of empty lines around class bodies."
542
+ StyleGuide: '#empty-lines-around-bodies'
543
+ Enabled: true
544
+ VersionAdded: '0.49'
545
+ VersionChanged: '0.53'
546
+ EnforcedStyle: no_empty_lines
547
+ SupportedStyles:
548
+ - empty_lines
549
+ - empty_lines_except_namespace
550
+ - empty_lines_special
551
+ - no_empty_lines
552
+ - beginning_only
553
+ - ending_only
554
+
555
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
556
+ Description: "Keeps track of empty lines around exception handling keywords."
557
+ StyleGuide: '#empty-lines-around-bodies'
558
+ Enabled: true
559
+ VersionAdded: '0.49'
560
+
561
+ Layout/EmptyLinesAroundMethodBody:
562
+ Description: "Keeps track of empty lines around method bodies."
563
+ StyleGuide: '#empty-lines-around-bodies'
564
+ Enabled: true
565
+ VersionAdded: '0.49'
566
+
567
+ Layout/EmptyLinesAroundModuleBody:
568
+ Description: "Keeps track of empty lines around module bodies."
569
+ StyleGuide: '#empty-lines-around-bodies'
570
+ Enabled: true
571
+ VersionAdded: '0.49'
572
+ EnforcedStyle: no_empty_lines
573
+ SupportedStyles:
574
+ - empty_lines
575
+ - empty_lines_except_namespace
576
+ - empty_lines_special
577
+ - no_empty_lines
578
+
579
+ Layout/EndAlignment:
580
+ Description: 'Align ends correctly.'
581
+ Enabled: true
582
+ VersionAdded: '0.53'
583
+ # The value `keyword` means that `end` should be aligned with the matching
584
+ # keyword (`if`, `while`, etc.).
585
+ # The value `variable` means that in assignments, `end` should be aligned
586
+ # with the start of the variable on the left hand side of `=`. In all other
587
+ # situations, `end` should still be aligned with the keyword.
588
+ # The value `start_of_line` means that `end` should be aligned with the start
589
+ # of the line which the matching keyword appears on.
590
+ EnforcedStyleAlignWith: keyword
591
+ SupportedStylesAlignWith:
592
+ - keyword
593
+ - variable
594
+ - start_of_line
595
+ AutoCorrect: false
596
+ Severity: warning
597
+
598
+ Layout/EndOfLine:
599
+ Description: 'Use Unix-style line endings.'
600
+ StyleGuide: '#crlf'
601
+ Enabled: true
602
+ VersionAdded: '0.49'
603
+ # The `native` style means that CR+LF (Carriage Return + Line Feed) is
604
+ # enforced on Windows, and LF is enforced on other platforms. The other styles
605
+ # mean LF and CR+LF, respectively.
606
+ EnforcedStyle: native
607
+ SupportedStyles:
608
+ - native
609
+ - lf
610
+ - crlf
611
+
612
+ Layout/ExtraSpacing:
613
+ Description: 'Do not use unnecessary spacing.'
614
+ Enabled: true
615
+ VersionAdded: '0.49'
616
+ # When true, allows most uses of extra spacing if the intent is to align
617
+ # things with the previous or next line, not counting empty lines or comment
618
+ # lines.
619
+ AllowForAlignment: true
620
+ # When true, allows things like 'obj.meth(arg) # comment',
621
+ # rather than insisting on 'obj.meth(arg) # comment'.
622
+ # If done for alignment, either this OR AllowForAlignment will allow it.
623
+ AllowBeforeTrailingComments: false
624
+ # When true, forces the alignment of `=` in assignments on consecutive lines.
625
+ ForceEqualSignAlignment: false
626
+
627
+ Layout/FirstArrayElementLineBreak:
628
+ Description: >-
629
+ Checks for a line break before the first element in a
630
+ multi-line array.
631
+ Enabled: false
632
+ VersionAdded: '0.49'
633
+
634
+ Layout/FirstHashElementLineBreak:
635
+ Description: >-
636
+ Checks for a line break before the first element in a
637
+ multi-line hash.
638
+ Enabled: false
639
+ VersionAdded: '0.49'
640
+
641
+ Layout/FirstMethodArgumentLineBreak:
642
+ Description: >-
643
+ Checks for a line break before the first argument in a
644
+ multi-line method call.
645
+ Enabled: false
646
+ VersionAdded: '0.49'
647
+
648
+ Layout/FirstMethodParameterLineBreak:
649
+ Description: >-
650
+ Checks for a line break before the first parameter in a
651
+ multi-line method parameter definition.
652
+ Enabled: false
653
+ VersionAdded: '0.49'
654
+
655
+ Layout/HeredocArgumentClosingParenthesis:
656
+ Description: >-
657
+ Checks for the placement of the closing parenthesis in a
658
+ method call that passes a HEREDOC string as an argument.
659
+ Enabled: false
660
+ StyleGuide: '#heredoc-argument-closing-parentheses'
661
+ VersionAdded: '0.68'
662
+
663
+ Layout/IndentAssignment:
664
+ Description: >-
665
+ Checks the indentation of the first line of the
666
+ right-hand-side of a multi-line assignment.
667
+ Enabled: true
668
+ VersionAdded: '0.49'
669
+ # By default, the indentation width from `Layout/IndentationWidth` is used
670
+ # But it can be overridden by setting this parameter
671
+ IndentationWidth: ~
672
+
673
+ Layout/IndentFirstArgument:
674
+ Description: 'Checks the indentation of the first argument in a method call.'
675
+ Enabled: true
676
+ VersionAdded: '0.68'
677
+ EnforcedStyle: special_for_inner_method_call_in_parentheses
678
+ SupportedStyles:
679
+ # The first parameter should always be indented one step more than the
680
+ # preceding line.
681
+ - consistent
682
+ # The first parameter should always be indented one level relative to the
683
+ # parent that is receiving the parameter
684
+ - consistent_relative_to_receiver
685
+ # The first parameter should normally be indented one step more than the
686
+ # preceding line, but if it's a parameter for a method call that is itself
687
+ # a parameter in a method call, then the inner parameter should be indented
688
+ # relative to the inner method.
689
+ - special_for_inner_method_call
690
+ # Same as `special_for_inner_method_call` except that the special rule only
691
+ # applies if the outer method call encloses its arguments in parentheses.
692
+ - special_for_inner_method_call_in_parentheses
693
+ # By default, the indentation width from `Layout/IndentationWidth` is used
694
+ # But it can be overridden by setting this parameter
695
+ IndentationWidth: ~
696
+
697
+ Layout/IndentFirstArrayElement:
698
+ Description: >-
699
+ Checks the indentation of the first element in an array
700
+ literal.
701
+ Enabled: true
702
+ VersionAdded: '0.68'
703
+ # The value `special_inside_parentheses` means that array literals with
704
+ # brackets that have their opening bracket on the same line as a surrounding
705
+ # opening round parenthesis, shall have their first element indented relative
706
+ # to the first position inside the parenthesis.
707
+ #
708
+ # The value `consistent` means that the indentation of the first element shall
709
+ # always be relative to the first position of the line where the opening
710
+ # bracket is.
711
+ #
712
+ # The value `align_brackets` means that the indentation of the first element
713
+ # shall always be relative to the position of the opening bracket.
714
+ EnforcedStyle: special_inside_parentheses
715
+ SupportedStyles:
716
+ - special_inside_parentheses
717
+ - consistent
718
+ - align_brackets
719
+ # By default, the indentation width from `Layout/IndentationWidth` is used
720
+ # But it can be overridden by setting this parameter
721
+ IndentationWidth: ~
722
+
723
+ Layout/IndentFirstHashElement:
724
+ Description: 'Checks the indentation of the first key in a hash literal.'
725
+ Enabled: true
726
+ VersionAdded: '0.68'
727
+ # The value `special_inside_parentheses` means that hash literals with braces
728
+ # that have their opening brace on the same line as a surrounding opening
729
+ # round parenthesis, shall have their first key indented relative to the
730
+ # first position inside the parenthesis.
731
+ #
732
+ # The value `consistent` means that the indentation of the first key shall
733
+ # always be relative to the first position of the line where the opening
734
+ # brace is.
735
+ #
736
+ # The value `align_braces` means that the indentation of the first key shall
737
+ # always be relative to the position of the opening brace.
738
+ EnforcedStyle: special_inside_parentheses
739
+ SupportedStyles:
740
+ - special_inside_parentheses
741
+ - consistent
742
+ - align_braces
743
+ # By default, the indentation width from `Layout/IndentationWidth` is used
744
+ # But it can be overridden by setting this parameter
745
+ IndentationWidth: ~
746
+
747
+ Layout/IndentFirstParameter:
748
+ Description: >-
749
+ Checks the indentation of the first parameter in a
750
+ method definition.
751
+ Enabled: true
752
+ VersionAdded: '0.49'
753
+ VersionChanged: '0.68'
754
+ EnforcedStyle: consistent
755
+ SupportedStyles:
756
+ - consistent
757
+ - align_parentheses
758
+ # By default, the indentation width from `Layout/IndentationWidth` is used
759
+ # But it can be overridden by setting this parameter
760
+ IndentationWidth: ~
761
+
762
+ Layout/IndentHeredoc:
763
+ Description: 'This cop checks the indentation of the here document bodies.'
764
+ StyleGuide: '#squiggly-heredocs'
765
+ Enabled: true
766
+ VersionAdded: '0.49'
767
+ VersionChanged: '0.69'
768
+ EnforcedStyle: squiggly
769
+ SupportedStyles:
770
+ - squiggly
771
+ - active_support
772
+ - powerpack
773
+ - unindent
774
+
775
+ Layout/IndentationConsistency:
776
+ Description: 'Keep indentation straight.'
777
+ StyleGuide: '#spaces-indentation'
778
+ Enabled: true
779
+ VersionAdded: '0.49'
780
+ # The difference between `indented` and `normal` is that the `indented_internal_methods`
781
+ # style prescribes that in classes and modules the `protected` and `private`
782
+ # modifier keywords shall be indented the same as public methods and that
783
+ # protected and private members shall be indented one step more than the
784
+ # modifiers. Other than that, both styles mean that entities on the same
785
+ # logical depth shall have the same indentation.
786
+ EnforcedStyle: normal
787
+ SupportedStyles:
788
+ - normal
789
+ - indented_internal_methods
790
+ Reference:
791
+ # A reference to `EnforcedStyle: indented_internal_methods`.
792
+ - https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions
793
+
794
+ Layout/IndentationWidth:
795
+ Description: 'Use 2 spaces for indentation.'
796
+ StyleGuide: '#spaces-indentation'
797
+ Enabled: true
798
+ VersionAdded: '0.49'
799
+ # Number of spaces for each indentation level.
800
+ Width: 2
801
+ IgnoredPatterns: []
802
+
803
+ Layout/InitialIndentation:
804
+ Description: >-
805
+ Checks the indentation of the first non-blank non-comment line in a file.
806
+ Enabled: true
807
+ VersionAdded: '0.49'
808
+
809
+ Layout/LeadingBlankLines:
810
+ Description: Check for unnecessary blank lines at the beginning of a file.
811
+ Enabled: true
812
+ VersionAdded: '0.57'
813
+
814
+ Layout/LeadingCommentSpace:
815
+ Description: 'Comments should start with a space.'
816
+ StyleGuide: '#hash-space'
817
+ Enabled: true
818
+ VersionAdded: '0.49'
819
+ VersionChanged: '0.73'
820
+ AllowDoxygenCommentStyle: false
821
+
822
+ Layout/MultilineArrayBraceLayout:
823
+ Description: >-
824
+ Checks that the closing brace in an array literal is
825
+ either on the same line as the last array element, or
826
+ a new line.
827
+ Enabled: true
828
+ VersionAdded: '0.49'
829
+ EnforcedStyle: symmetrical
830
+ SupportedStyles:
831
+ # symmetrical: closing brace is positioned in same way as opening brace
832
+ # new_line: closing brace is always on a new line
833
+ # same_line: closing brace is always on the same line as last element
834
+ - symmetrical
835
+ - new_line
836
+ - same_line
837
+
838
+ Layout/MultilineArrayLineBreaks:
839
+ Description: >-
840
+ Checks that each item in a multi-line array literal
841
+ starts on a separate line.
842
+ Enabled: false
843
+ VersionAdded: '0.67'
844
+
845
+ Layout/MultilineAssignmentLayout:
846
+ Description: 'Check for a newline after the assignment operator in multi-line assignments.'
847
+ StyleGuide: '#indent-conditional-assignment'
848
+ Enabled: false
849
+ VersionAdded: '0.49'
850
+ # The types of assignments which are subject to this rule.
851
+ SupportedTypes:
852
+ - block
853
+ - case
854
+ - class
855
+ - if
856
+ - kwbegin
857
+ - module
858
+ EnforcedStyle: new_line
859
+ SupportedStyles:
860
+ # Ensures that the assignment operator and the rhs are on the same line for
861
+ # the set of supported types.
862
+ - same_line
863
+ # Ensures that the assignment operator and the rhs are on separate lines
864
+ # for the set of supported types.
865
+ - new_line
866
+
867
+ Layout/MultilineBlockLayout:
868
+ Description: 'Ensures newlines after multiline block do statements.'
869
+ Enabled: true
870
+ VersionAdded: '0.49'
871
+
872
+ Layout/MultilineHashBraceLayout:
873
+ Description: >-
874
+ Checks that the closing brace in a hash literal is
875
+ either on the same line as the last hash element, or
876
+ a new line.
877
+ Enabled: true
878
+ VersionAdded: '0.49'
879
+ EnforcedStyle: symmetrical
880
+ SupportedStyles:
881
+ # symmetrical: closing brace is positioned in same way as opening brace
882
+ # new_line: closing brace is always on a new line
883
+ # same_line: closing brace is always on same line as last element
884
+ - symmetrical
885
+ - new_line
886
+ - same_line
887
+
888
+ Layout/MultilineHashKeyLineBreaks:
889
+ Description: >-
890
+ Checks that each item in a multi-line hash literal
891
+ starts on a separate line.
892
+ Enabled: false
893
+ VersionAdded: '0.67'
894
+
895
+ Layout/MultilineMethodArgumentLineBreaks:
896
+ Description: >-
897
+ Checks that each argument in a multi-line method call
898
+ starts on a separate line.
899
+ Enabled: false
900
+ VersionAdded: '0.67'
901
+
902
+ Layout/MultilineMethodCallBraceLayout:
903
+ Description: >-
904
+ Checks that the closing brace in a method call is
905
+ either on the same line as the last method argument, or
906
+ a new line.
907
+ Enabled: true
908
+ VersionAdded: '0.49'
909
+ EnforcedStyle: symmetrical
910
+ SupportedStyles:
911
+ # symmetrical: closing brace is positioned in same way as opening brace
912
+ # new_line: closing brace is always on a new line
913
+ # same_line: closing brace is always on the same line as last argument
914
+ - symmetrical
915
+ - new_line
916
+ - same_line
917
+
918
+ Layout/MultilineMethodCallIndentation:
919
+ Description: >-
920
+ Checks indentation of method calls with the dot operator
921
+ that span more than one line.
922
+ Enabled: true
923
+ VersionAdded: '0.49'
924
+ EnforcedStyle: aligned
925
+ SupportedStyles:
926
+ - aligned
927
+ - indented
928
+ - indented_relative_to_receiver
929
+ # By default, the indentation width from Layout/IndentationWidth is used
930
+ # But it can be overridden by setting this parameter
931
+ IndentationWidth: ~
932
+
933
+ Layout/MultilineMethodDefinitionBraceLayout:
934
+ Description: >-
935
+ Checks that the closing brace in a method definition is
936
+ either on the same line as the last method parameter, or
937
+ a new line.
938
+ Enabled: true
939
+ VersionAdded: '0.49'
940
+ EnforcedStyle: symmetrical
941
+ SupportedStyles:
942
+ # symmetrical: closing brace is positioned in same way as opening brace
943
+ # new_line: closing brace is always on a new line
944
+ # same_line: closing brace is always on the same line as last parameter
945
+ - symmetrical
946
+ - new_line
947
+ - same_line
948
+
949
+ Layout/MultilineOperationIndentation:
950
+ Description: >-
951
+ Checks indentation of binary operations that span more than
952
+ one line.
953
+ Enabled: true
954
+ VersionAdded: '0.49'
955
+ EnforcedStyle: aligned
956
+ SupportedStyles:
957
+ - aligned
958
+ - indented
959
+ # By default, the indentation width from `Layout/IndentationWidth` is used
960
+ # But it can be overridden by setting this parameter
961
+ IndentationWidth: ~
962
+
963
+ Layout/RescueEnsureAlignment:
964
+ Description: 'Align rescues and ensures correctly.'
965
+ Enabled: true
966
+ VersionAdded: '0.49'
967
+
968
+ Layout/SpaceAfterColon:
969
+ Description: 'Use spaces after colons.'
970
+ StyleGuide: '#spaces-operators'
971
+ Enabled: true
972
+ VersionAdded: '0.49'
973
+
974
+ Layout/SpaceAfterComma:
975
+ Description: 'Use spaces after commas.'
976
+ StyleGuide: '#spaces-operators'
977
+ Enabled: true
978
+ VersionAdded: '0.49'
979
+
980
+ Layout/SpaceAfterMethodName:
981
+ Description: >-
982
+ Do not put a space between a method name and the opening
983
+ parenthesis in a method definition.
984
+ StyleGuide: '#parens-no-spaces'
985
+ Enabled: true
986
+ VersionAdded: '0.49'
987
+
988
+ Layout/SpaceAfterNot:
989
+ Description: Tracks redundant space after the ! operator.
990
+ StyleGuide: '#no-space-bang'
991
+ Enabled: true
992
+ VersionAdded: '0.49'
993
+
994
+ Layout/SpaceAfterSemicolon:
995
+ Description: 'Use spaces after semicolons.'
996
+ StyleGuide: '#spaces-operators'
997
+ Enabled: true
998
+ VersionAdded: '0.49'
999
+
1000
+ Layout/SpaceAroundBlockParameters:
1001
+ Description: 'Checks the spacing inside and after block parameters pipes.'
1002
+ Enabled: true
1003
+ VersionAdded: '0.49'
1004
+ EnforcedStyleInsidePipes: no_space
1005
+ SupportedStylesInsidePipes:
1006
+ - space
1007
+ - no_space
1008
+
1009
+ Layout/SpaceAroundEqualsInParameterDefault:
1010
+ Description: >-
1011
+ Checks that the equals signs in parameter default assignments
1012
+ have or don't have surrounding space depending on
1013
+ configuration.
1014
+ StyleGuide: '#spaces-around-equals'
1015
+ Enabled: true
1016
+ VersionAdded: '0.49'
1017
+ EnforcedStyle: space
1018
+ SupportedStyles:
1019
+ - space
1020
+ - no_space
1021
+
1022
+ Layout/SpaceAroundKeyword:
1023
+ Description: 'Use a space around keywords if appropriate.'
1024
+ Enabled: true
1025
+ VersionAdded: '0.49'
1026
+
1027
+ Layout/SpaceAroundOperators:
1028
+ Description: 'Use a single space around operators.'
1029
+ StyleGuide: '#spaces-operators'
1030
+ Enabled: true
1031
+ VersionAdded: '0.49'
1032
+ # When `true`, allows most uses of extra spacing if the intent is to align
1033
+ # with an operator on the previous or next line, not counting empty lines
1034
+ # or comment lines.
1035
+ AllowForAlignment: true
1036
+
1037
+ Layout/SpaceBeforeBlockBraces:
1038
+ Description: >-
1039
+ Checks that the left block brace has or doesn't have space
1040
+ before it.
1041
+ Enabled: true
1042
+ VersionAdded: '0.49'
1043
+ EnforcedStyle: space
1044
+ SupportedStyles:
1045
+ - space
1046
+ - no_space
1047
+ EnforcedStyleForEmptyBraces: space
1048
+ SupportedStylesForEmptyBraces:
1049
+ - space
1050
+ - no_space
1051
+ VersionChanged: '0.52.1'
1052
+
1053
+ Layout/SpaceBeforeComma:
1054
+ Description: 'No spaces before commas.'
1055
+ Enabled: true
1056
+ VersionAdded: '0.49'
1057
+
1058
+ Layout/SpaceBeforeComment:
1059
+ Description: >-
1060
+ Checks for missing space between code and a comment on the
1061
+ same line.
1062
+ Enabled: true
1063
+ VersionAdded: '0.49'
1064
+
1065
+ Layout/SpaceBeforeFirstArg:
1066
+ Description: >-
1067
+ Checks that exactly one space is used between a method name
1068
+ and the first argument for method calls without parentheses.
1069
+ Enabled: true
1070
+ VersionAdded: '0.49'
1071
+ # When `true`, allows most uses of extra spacing if the intent is to align
1072
+ # things with the previous or next line, not counting empty lines or comment
1073
+ # lines.
1074
+ AllowForAlignment: true
1075
+
1076
+ Layout/SpaceBeforeSemicolon:
1077
+ Description: 'No spaces before semicolons.'
1078
+ Enabled: true
1079
+ VersionAdded: '0.49'
1080
+
1081
+ Layout/SpaceInLambdaLiteral:
1082
+ Description: 'Checks for spaces in lambda literals.'
1083
+ Enabled: true
1084
+ VersionAdded: '0.49'
1085
+ EnforcedStyle: require_no_space
1086
+ SupportedStyles:
1087
+ - require_no_space
1088
+ - require_space
1089
+
1090
+ Layout/SpaceInsideArrayLiteralBrackets:
1091
+ Description: 'Checks the spacing inside array literal brackets.'
1092
+ Enabled: true
1093
+ VersionAdded: '0.52'
1094
+ EnforcedStyle: no_space
1095
+ SupportedStyles:
1096
+ - space
1097
+ - no_space
1098
+ # 'compact' normally requires a space inside the brackets, with the exception
1099
+ # that successive left brackets or right brackets are collapsed together
1100
+ - compact
1101
+ EnforcedStyleForEmptyBrackets: no_space
1102
+ SupportedStylesForEmptyBrackets:
1103
+ - space
1104
+ - no_space
1105
+
1106
+ Layout/SpaceInsideArrayPercentLiteral:
1107
+ Description: 'No unnecessary additional spaces between elements in %i/%w literals.'
1108
+ Enabled: true
1109
+ VersionAdded: '0.49'
1110
+
1111
+ Layout/SpaceInsideBlockBraces:
1112
+ Description: >-
1113
+ Checks that block braces have or don't have surrounding space.
1114
+ For blocks taking parameters, checks that the left brace has
1115
+ or doesn't have trailing space.
1116
+ Enabled: true
1117
+ VersionAdded: '0.49'
1118
+ EnforcedStyle: space
1119
+ SupportedStyles:
1120
+ - space
1121
+ - no_space
1122
+ EnforcedStyleForEmptyBraces: no_space
1123
+ SupportedStylesForEmptyBraces:
1124
+ - space
1125
+ - no_space
1126
+ # Space between `{` and `|`. Overrides `EnforcedStyle` if there is a conflict.
1127
+ SpaceBeforeBlockParameters: true
1128
+
1129
+ Layout/SpaceInsideHashLiteralBraces:
1130
+ Description: "Use spaces inside hash literal braces - or don't."
1131
+ StyleGuide: '#spaces-operators'
1132
+ Enabled: true
1133
+ VersionAdded: '0.49'
1134
+ EnforcedStyle: space
1135
+ SupportedStyles:
1136
+ - space
1137
+ - no_space
1138
+ # 'compact' normally requires a space inside hash braces, with the exception
1139
+ # that successive left braces or right braces are collapsed together
1140
+ - compact
1141
+ EnforcedStyleForEmptyBraces: no_space
1142
+ SupportedStylesForEmptyBraces:
1143
+ - space
1144
+ - no_space
1145
+
1146
+
1147
+ Layout/SpaceInsideParens:
1148
+ Description: 'No spaces after ( or before ).'
1149
+ StyleGuide: '#spaces-braces'
1150
+ Enabled: true
1151
+ VersionAdded: '0.49'
1152
+ VersionChanged: '0.55'
1153
+ EnforcedStyle: no_space
1154
+ SupportedStyles:
1155
+ - space
1156
+ - no_space
1157
+
1158
+ Layout/SpaceInsidePercentLiteralDelimiters:
1159
+ Description: 'No unnecessary spaces inside delimiters of %i/%w/%x literals.'
1160
+ Enabled: true
1161
+ VersionAdded: '0.49'
1162
+
1163
+ Layout/SpaceInsideRangeLiteral:
1164
+ Description: 'No spaces inside range literals.'
1165
+ StyleGuide: '#no-space-inside-range-literals'
1166
+ Enabled: true
1167
+ VersionAdded: '0.49'
1168
+
1169
+ Layout/SpaceInsideReferenceBrackets:
1170
+ Description: 'Checks the spacing inside referential brackets.'
1171
+ Enabled: true
1172
+ VersionAdded: '0.52'
1173
+ VersionChanged: '0.53'
1174
+ EnforcedStyle: no_space
1175
+ SupportedStyles:
1176
+ - space
1177
+ - no_space
1178
+ EnforcedStyleForEmptyBrackets: no_space
1179
+ SupportedStylesForEmptyBrackets:
1180
+ - space
1181
+ - no_space
1182
+
1183
+ Layout/SpaceInsideStringInterpolation:
1184
+ Description: 'Checks for padding/surrounding spaces inside string interpolation.'
1185
+ StyleGuide: '#string-interpolation'
1186
+ Enabled: true
1187
+ VersionAdded: '0.49'
1188
+ EnforcedStyle: no_space
1189
+ SupportedStyles:
1190
+ - space
1191
+ - no_space
1192
+
1193
+ Layout/Tab:
1194
+ Description: 'No hard tabs.'
1195
+ StyleGuide: '#spaces-indentation'
1196
+ Enabled: true
1197
+ VersionAdded: '0.49'
1198
+ VersionChanged: '0.51'
1199
+ # By default, the indentation width from Layout/IndentationWidth is used
1200
+ # But it can be overridden by setting this parameter
1201
+ # It is used during auto-correction to determine how many spaces should
1202
+ # replace each tab.
1203
+ IndentationWidth: ~
1204
+
1205
+ Layout/TrailingBlankLines:
1206
+ Description: 'Checks trailing blank lines and final newline.'
1207
+ StyleGuide: '#newline-eof'
1208
+ Enabled: true
1209
+ VersionAdded: '0.49'
1210
+ EnforcedStyle: final_newline
1211
+ SupportedStyles:
1212
+ - final_newline
1213
+ - final_blank_line
1214
+
1215
+ Layout/TrailingWhitespace:
1216
+ Description: 'Avoid trailing whitespace.'
1217
+ StyleGuide: '#no-trailing-whitespace'
1218
+ Enabled: true
1219
+ VersionAdded: '0.49'
1220
+ VersionChanged: '0.55'
1221
+ AllowInHeredoc: false
1222
+
1223
+ #################### Lint ##################################
1224
+ ### Warnings
1225
+
1226
+ Lint/AmbiguousBlockAssociation:
1227
+ Description: >-
1228
+ Checks for ambiguous block association with method when param passed without
1229
+ parentheses.
1230
+ StyleGuide: '#syntax'
1231
+ Enabled: true
1232
+ VersionAdded: '0.48'
1233
+
1234
+ Lint/AmbiguousOperator:
1235
+ Description: >-
1236
+ Checks for ambiguous operators in the first argument of a
1237
+ method invocation without parentheses.
1238
+ StyleGuide: '#method-invocation-parens'
1239
+ Enabled: true
1240
+ VersionAdded: '0.17'
1241
+
1242
+ Lint/AmbiguousRegexpLiteral:
1243
+ Description: >-
1244
+ Checks for ambiguous regexp literals in the first argument of
1245
+ a method invocation without parentheses.
1246
+ Enabled: true
1247
+ VersionAdded: '0.17'
1248
+
1249
+ Lint/AssignmentInCondition:
1250
+ Description: "Don't use assignment in conditions."
1251
+ StyleGuide: '#safe-assignment-in-condition'
1252
+ Enabled: true
1253
+ VersionAdded: '0.9'
1254
+ AllowSafeAssignment: true
1255
+
1256
+ Lint/BigDecimalNew:
1257
+ Description: '`BigDecimal.new()` is deprecated. Use `BigDecimal()` instead.'
1258
+ Enabled: true
1259
+ VersionAdded: '0.53'
1260
+
1261
+ Lint/BooleanSymbol:
1262
+ Description: 'Check for `:true` and `:false` symbols.'
1263
+ Enabled: true
1264
+ VersionAdded: '0.50'
1265
+
1266
+ Lint/CircularArgumentReference:
1267
+ Description: "Default values in optional keyword arguments and optional ordinal arguments should not refer back to the name of the argument."
1268
+ Enabled: true
1269
+ VersionAdded: '0.33'
1270
+
1271
+ Lint/Debugger:
1272
+ Description: 'Check for debugger calls.'
1273
+ Enabled: true
1274
+ VersionAdded: '0.14'
1275
+ VersionChanged: '0.49'
1276
+
1277
+ Lint/DeprecatedClassMethods:
1278
+ Description: 'Check for deprecated class method calls.'
1279
+ Enabled: true
1280
+ VersionAdded: '0.19'
1281
+
1282
+ Lint/DisjunctiveAssignmentInConstructor:
1283
+ Description: 'In constructor, plain assignment is preferred over disjunctive.'
1284
+ Enabled: true
1285
+ Safe: false
1286
+ VersionAdded: '0.62'
1287
+
1288
+ Lint/DuplicateCaseCondition:
1289
+ Description: 'Do not repeat values in case conditionals.'
1290
+ Enabled: true
1291
+ VersionAdded: '0.45'
1292
+
1293
+ Lint/DuplicateMethods:
1294
+ Description: 'Check for duplicate method definitions.'
1295
+ Enabled: true
1296
+ VersionAdded: '0.29'
1297
+
1298
+ Lint/DuplicatedKey:
1299
+ Description: 'Check for duplicate keys in hash literals.'
1300
+ Enabled: true
1301
+ VersionAdded: '0.34'
1302
+
1303
+ Lint/EachWithObjectArgument:
1304
+ Description: 'Check for immutable argument given to each_with_object.'
1305
+ Enabled: true
1306
+ VersionAdded: '0.31'
1307
+
1308
+ Lint/ElseLayout:
1309
+ Description: 'Check for odd code arrangement in an else block.'
1310
+ Enabled: true
1311
+ VersionAdded: '0.17'
1312
+
1313
+ Lint/EmptyEnsure:
1314
+ Description: 'Checks for empty ensure block.'
1315
+ Enabled: true
1316
+ VersionAdded: '0.10'
1317
+ VersionChanged: '0.48'
1318
+ AutoCorrect: false
1319
+
1320
+ Lint/EmptyExpression:
1321
+ Description: 'Checks for empty expressions.'
1322
+ Enabled: true
1323
+ VersionAdded: '0.45'
1324
+
1325
+ Lint/EmptyInterpolation:
1326
+ Description: 'Checks for empty string interpolation.'
1327
+ Enabled: true
1328
+ VersionAdded: '0.20'
1329
+ VersionChanged: '0.45'
1330
+
1331
+ Lint/EmptyWhen:
1332
+ Description: 'Checks for `when` branches with empty bodies.'
1333
+ Enabled: true
1334
+ VersionAdded: '0.45'
1335
+
1336
+ Lint/EndInMethod:
1337
+ Description: 'END blocks should not be placed inside method definitions.'
1338
+ Enabled: true
1339
+ VersionAdded: '0.9'
1340
+
1341
+ Lint/EnsureReturn:
1342
+ Description: 'Do not use return in an ensure block.'
1343
+ StyleGuide: '#no-return-ensure'
1344
+ Enabled: true
1345
+ VersionAdded: '0.9'
1346
+
1347
+ Lint/ErbNewArguments:
1348
+ Description: 'Use `:trim_mode` and `:eoutvar` keyword arguments to `ERB.new`.'
1349
+ Enabled: true
1350
+ VersionAdded: '0.56'
1351
+
1352
+ Lint/FlipFlop:
1353
+ Description: 'Checks for flip-flops.'
1354
+ StyleGuide: '#no-flip-flops'
1355
+ Enabled: true
1356
+ VersionAdded: '0.16'
1357
+
1358
+ Lint/FloatOutOfRange:
1359
+ Description: >-
1360
+ Catches floating-point literals too large or small for Ruby to
1361
+ represent.
1362
+ Enabled: true
1363
+ VersionAdded: '0.36'
1364
+
1365
+ Lint/FormatParameterMismatch:
1366
+ Description: 'The number of parameters to format/sprint must match the fields.'
1367
+ Enabled: true
1368
+ VersionAdded: '0.33'
1369
+
1370
+ Lint/HandleExceptions:
1371
+ Description: "Don't suppress exception."
1372
+ StyleGuide: '#dont-hide-exceptions'
1373
+ Enabled: true
1374
+ AllowComments: false
1375
+ VersionAdded: '0.9'
1376
+ VersionChanged: '0.70'
1377
+
1378
+ Lint/HeredocMethodCallPosition:
1379
+ Description: >-
1380
+ Checks for the ordering of a method call where
1381
+ the receiver of the call is a HEREDOC.
1382
+ Enabled: false
1383
+ StyleGuide: '#heredoc-method-calls'
1384
+ VersionAdded: '0.68'
1385
+
1386
+ Lint/ImplicitStringConcatenation:
1387
+ Description: >-
1388
+ Checks for adjacent string literals on the same line, which
1389
+ could better be represented as a single string literal.
1390
+ Enabled: true
1391
+ VersionAdded: '0.36'
1392
+
1393
+ Lint/IneffectiveAccessModifier:
1394
+ Description: >-
1395
+ Checks for attempts to use `private` or `protected` to set
1396
+ the visibility of a class method, which does not work.
1397
+ Enabled: true
1398
+ VersionAdded: '0.36'
1399
+
1400
+ Lint/InheritException:
1401
+ Description: 'Avoid inheriting from the `Exception` class.'
1402
+ Enabled: true
1403
+ VersionAdded: '0.41'
1404
+ # The default base class in favour of `Exception`.
1405
+ EnforcedStyle: runtime_error
1406
+ SupportedStyles:
1407
+ - runtime_error
1408
+ - standard_error
1409
+
1410
+ Lint/InterpolationCheck:
1411
+ Description: 'Raise warning for interpolation in single q strs.'
1412
+ Enabled: true
1413
+ VersionAdded: '0.50'
1414
+
1415
+ Lint/LiteralAsCondition:
1416
+ Description: 'Checks of literals used in conditions.'
1417
+ Enabled: true
1418
+ VersionAdded: '0.51'
1419
+
1420
+ Lint/LiteralInInterpolation:
1421
+ Description: 'Checks for literals used in interpolation.'
1422
+ Enabled: true
1423
+ VersionAdded: '0.19'
1424
+ VersionChanged: '0.32'
1425
+
1426
+ Lint/Loop:
1427
+ Description: >-
1428
+ Use Kernel#loop with break rather than begin/end/until or
1429
+ begin/end/while for post-loop tests.
1430
+ StyleGuide: '#loop-with-break'
1431
+ Enabled: true
1432
+ VersionAdded: '0.9'
1433
+
1434
+ Lint/MissingCopEnableDirective:
1435
+ Description: 'Checks for a `# rubocop:enable` after `# rubocop:disable`.'
1436
+ Enabled: true
1437
+ VersionAdded: '0.52'
1438
+ # Maximum number of consecutive lines the cop can be disabled for.
1439
+ # 0 allows only single-line disables
1440
+ # 1 would mean the maximum allowed is the following:
1441
+ # # rubocop:disable SomeCop
1442
+ # a = 1
1443
+ # # rubocop:enable SomeCop
1444
+ # .inf for any size
1445
+ MaximumRangeSize: .inf
1446
+
1447
+ Lint/MultipleCompare:
1448
+ Description: "Use `&&` operator to compare multiple value."
1449
+ Enabled: true
1450
+ VersionAdded: '0.47'
1451
+
1452
+ Lint/NestedMethodDefinition:
1453
+ Description: 'Do not use nested method definitions.'
1454
+ StyleGuide: '#no-nested-methods'
1455
+ Enabled: true
1456
+ VersionAdded: '0.32'
1457
+
1458
+ Lint/NestedPercentLiteral:
1459
+ Description: 'Checks for nested percent literals.'
1460
+ Enabled: true
1461
+ VersionAdded: '0.52'
1462
+
1463
+ Lint/NextWithoutAccumulator:
1464
+ Description: >-
1465
+ Do not omit the accumulator when calling `next`
1466
+ in a `reduce`/`inject` block.
1467
+ Enabled: true
1468
+ VersionAdded: '0.36'
1469
+
1470
+ Lint/NonLocalExitFromIterator:
1471
+ Description: 'Do not use return in iterator to cause non-local exit.'
1472
+ Enabled: true
1473
+ VersionAdded: '0.30'
1474
+
1475
+ Lint/NumberConversion:
1476
+ Description: 'Checks unsafe usage of number conversion methods.'
1477
+ Enabled: false
1478
+ VersionAdded: '0.53'
1479
+ VersionChanged: '0.70'
1480
+ SafeAutoCorrect: false
1481
+
1482
+ Lint/OrderedMagicComments:
1483
+ Description: 'Checks the proper ordering of magic comments and whether a magic comment is not placed before a shebang.'
1484
+ Enabled: true
1485
+ VersionAdded: '0.53'
1486
+
1487
+ Lint/ParenthesesAsGroupedExpression:
1488
+ Description: >-
1489
+ Checks for method calls with a space before the opening
1490
+ parenthesis.
1491
+ StyleGuide: '#parens-no-spaces'
1492
+ Enabled: true
1493
+ VersionAdded: '0.12'
1494
+
1495
+ Lint/PercentStringArray:
1496
+ Description: >-
1497
+ Checks for unwanted commas and quotes in %w/%W literals.
1498
+ Enabled: true
1499
+ Safe: false
1500
+ VersionAdded: '0.41'
1501
+
1502
+ Lint/PercentSymbolArray:
1503
+ Description: >-
1504
+ Checks for unwanted commas and colons in %i/%I literals.
1505
+ Enabled: true
1506
+ VersionAdded: '0.41'
1507
+
1508
+ Lint/RandOne:
1509
+ Description: >-
1510
+ Checks for `rand(1)` calls. Such calls always return `0`
1511
+ and most likely a mistake.
1512
+ Enabled: true
1513
+ VersionAdded: '0.36'
1514
+
1515
+ Lint/RedundantWithIndex:
1516
+ Description: 'Checks for redundant `with_index`.'
1517
+ Enabled: true
1518
+ VersionAdded: '0.50'
1519
+
1520
+ Lint/RedundantWithObject:
1521
+ Description: 'Checks for redundant `with_object`.'
1522
+ Enabled: true
1523
+ VersionAdded: '0.51'
1524
+
1525
+ Lint/RegexpAsCondition:
1526
+ Description: >-
1527
+ Do not use regexp literal as a condition.
1528
+ The regexp literal matches `$_` implicitly.
1529
+ Enabled: true
1530
+ VersionAdded: '0.51'
1531
+
1532
+ Lint/RequireParentheses:
1533
+ Description: >-
1534
+ Use parentheses in the method call to avoid confusion
1535
+ about precedence.
1536
+ Enabled: true
1537
+ VersionAdded: '0.18'
1538
+
1539
+ Lint/RescueException:
1540
+ Description: 'Avoid rescuing the Exception class.'
1541
+ StyleGuide: '#no-blind-rescues'
1542
+ Enabled: true
1543
+ VersionAdded: '0.9'
1544
+ VersionChanged: '0.27.1'
1545
+
1546
+ Lint/RescueType:
1547
+ Description: 'Avoid rescuing from non constants that could result in a `TypeError`.'
1548
+ Enabled: true
1549
+ VersionAdded: '0.49'
1550
+
1551
+ Lint/ReturnInVoidContext:
1552
+ Description: 'Checks for return in void context.'
1553
+ Enabled: true
1554
+ VersionAdded: '0.50'
1555
+
1556
+ Lint/SafeNavigationChain:
1557
+ Description: 'Do not chain ordinary method call after safe navigation operator.'
1558
+ Enabled: true
1559
+ VersionAdded: '0.47'
1560
+ VersionChanged: '0.56'
1561
+ Whitelist:
1562
+ - present?
1563
+ - blank?
1564
+ - presence
1565
+ - try
1566
+ - try!
1567
+
1568
+ Lint/SafeNavigationConsistency:
1569
+ Description: >-
1570
+ Check to make sure that if safe navigation is used for a method
1571
+ call in an `&&` or `||` condition that safe navigation is used
1572
+ for all method calls on that same object.
1573
+ Enabled: true
1574
+ VersionAdded: '0.55'
1575
+ Whitelist:
1576
+ - present?
1577
+ - blank?
1578
+ - presence
1579
+ - try
1580
+ - try!
1581
+
1582
+
1583
+ Lint/SafeNavigationWithEmpty:
1584
+ Description: 'Avoid `foo&.empty?` in conditionals.'
1585
+ Enabled: true
1586
+ VersionAdded: '0.62'
1587
+
1588
+ Lint/ScriptPermission:
1589
+ Description: 'Grant script file execute permission.'
1590
+ Enabled: true
1591
+ VersionAdded: '0.49'
1592
+ VersionChanged: '0.50'
1593
+
1594
+ Lint/ShadowedArgument:
1595
+ Description: 'Avoid reassigning arguments before they were used.'
1596
+ Enabled: true
1597
+ VersionAdded: '0.52'
1598
+ IgnoreImplicitReferences: false
1599
+
1600
+
1601
+ Lint/ShadowedException:
1602
+ Description: >-
1603
+ Avoid rescuing a higher level exception
1604
+ before a lower level exception.
1605
+ Enabled: true
1606
+ VersionAdded: '0.41'
1607
+
1608
+ Lint/ShadowingOuterLocalVariable:
1609
+ Description: >-
1610
+ Do not use the same name as outer local variable
1611
+ for block arguments or block local variables.
1612
+ Enabled: true
1613
+ VersionAdded: '0.9'
1614
+
1615
+ Lint/StringConversionInInterpolation:
1616
+ Description: 'Checks for Object#to_s usage in string interpolation.'
1617
+ StyleGuide: '#no-to-s'
1618
+ Enabled: true
1619
+ VersionAdded: '0.19'
1620
+ VersionChanged: '0.20'
1621
+
1622
+ Lint/Syntax:
1623
+ Description: 'Checks syntax error.'
1624
+ Enabled: true
1625
+ VersionAdded: '0.9'
1626
+
1627
+
1628
+ Lint/ToJSON:
1629
+ Description: 'Ensure #to_json includes an optional argument.'
1630
+ Enabled: true
1631
+
1632
+ Lint/UnderscorePrefixedVariableName:
1633
+ Description: 'Do not use prefix `_` for a variable that is used.'
1634
+ Enabled: true
1635
+ VersionAdded: '0.21'
1636
+ AllowKeywordBlockArguments: false
1637
+
1638
+ Lint/UnifiedInteger:
1639
+ Description: 'Use Integer instead of Fixnum or Bignum.'
1640
+ Enabled: true
1641
+ VersionAdded: '0.43'
1642
+
1643
+ Lint/UnneededCopDisableDirective:
1644
+ Description: >-
1645
+ Checks for rubocop:disable comments that can be removed.
1646
+ Note: this cop is not disabled when disabling all cops.
1647
+ It must be explicitly disabled.
1648
+ Enabled: true
1649
+ VersionAdded: '0.53'
1650
+
1651
+ Lint/UnneededCopEnableDirective:
1652
+ Description: Checks for rubocop:enable comments that can be removed.
1653
+ Enabled: true
1654
+ VersionAdded: '0.53'
1655
+
1656
+ Lint/UnneededRequireStatement:
1657
+ Description: 'Checks for unnecessary `require` statement.'
1658
+ Enabled: true
1659
+ VersionAdded: '0.51'
1660
+
1661
+ Lint/UnneededSplatExpansion:
1662
+ Description: 'Checks for splat unnecessarily being called on literals.'
1663
+ Enabled: true
1664
+ VersionAdded: '0.43'
1665
+ VersionChanged: '0.74'
1666
+
1667
+ Lint/UnreachableCode:
1668
+ Description: 'Unreachable code.'
1669
+ Enabled: true
1670
+ VersionAdded: '0.9'
1671
+
1672
+ Lint/UnusedBlockArgument:
1673
+ Description: 'Checks for unused block arguments.'
1674
+ StyleGuide: '#underscore-unused-vars'
1675
+ Enabled: true
1676
+ VersionAdded: '0.21'
1677
+ VersionChanged: '0.22'
1678
+ IgnoreEmptyBlocks: true
1679
+ AllowUnusedKeywordArguments: false
1680
+
1681
+ Lint/UnusedMethodArgument:
1682
+ Description: 'Checks for unused method arguments.'
1683
+ StyleGuide: '#underscore-unused-vars'
1684
+ Enabled: true
1685
+ VersionAdded: '0.21'
1686
+ VersionChanged: '0.35'
1687
+ AllowUnusedKeywordArguments: false
1688
+ IgnoreEmptyMethods: true
1689
+
1690
+ Lint/UriEscapeUnescape:
1691
+ Description: >-
1692
+ `URI.escape` method is obsolete and should not be used. Instead, use
1693
+ `CGI.escape`, `URI.encode_www_form` or `URI.encode_www_form_component`
1694
+ depending on your specific use case.
1695
+ Also `URI.unescape` method is obsolete and should not be used. Instead, use
1696
+ `CGI.unescape`, `URI.decode_www_form` or `URI.decode_www_form_component`
1697
+ depending on your specific use case.
1698
+ Enabled: true
1699
+ VersionAdded: '0.50'
1700
+
1701
+ Lint/UriRegexp:
1702
+ Description: 'Use `URI::DEFAULT_PARSER.make_regexp` instead of `URI.regexp`.'
1703
+ Enabled: true
1704
+ VersionAdded: '0.50'
1705
+
1706
+ Lint/UselessAccessModifier:
1707
+ Description: 'Checks for useless access modifiers.'
1708
+ Enabled: true
1709
+ VersionAdded: '0.20'
1710
+ VersionChanged: '0.47'
1711
+ ContextCreatingMethods: []
1712
+ MethodCreatingMethods: []
1713
+
1714
+ Lint/UselessAssignment:
1715
+ Description: 'Checks for useless assignment to a local variable.'
1716
+ StyleGuide: '#underscore-unused-vars'
1717
+ Enabled: true
1718
+ VersionAdded: '0.11'
1719
+
1720
+ Lint/UselessComparison:
1721
+ Description: 'Checks for comparison of something with itself.'
1722
+ Enabled: true
1723
+ VersionAdded: '0.11'
1724
+
1725
+ Lint/UselessElseWithoutRescue:
1726
+ Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
1727
+ Enabled: true
1728
+ VersionAdded: '0.17'
1729
+
1730
+ Lint/UselessSetterCall:
1731
+ Description: 'Checks for useless setter call to a local variable.'
1732
+ Enabled: true
1733
+ VersionAdded: '0.13'
1734
+
1735
+ Lint/Void:
1736
+ Description: 'Possible use of operator/literal/variable in void context.'
1737
+ Enabled: true
1738
+ VersionAdded: '0.9'
1739
+ CheckForMethodsWithNoSideEffects: false
1740
+
1741
+ #################### Metrics ###############################
1742
+
1743
+ Metrics/AbcSize:
1744
+ Description: >-
1745
+ A calculated magnitude based on number of assignments,
1746
+ branches, and conditions.
1747
+ Reference:
1748
+ - http://c2.com/cgi/wiki?AbcMetric
1749
+ - https://en.wikipedia.org/wiki/ABC_Software_Metric'
1750
+ Enabled: true
1751
+ VersionAdded: '0.27'
1752
+ VersionChanged: '0.66'
1753
+ # The ABC size is a calculated magnitude, so this number can be an Integer or
1754
+ # a Float.
1755
+ Max: 15
1756
+
1757
+ Metrics/BlockLength:
1758
+ Description: 'Avoid long blocks with many lines.'
1759
+ Enabled: true
1760
+ VersionAdded: '0.44'
1761
+ VersionChanged: '0.66'
1762
+ CountComments: false # count full line comments?
1763
+ Max: 25
1764
+ ExcludedMethods:
1765
+ # By default, exclude the `#refine` method, as it tends to have larger
1766
+ # associated blocks.
1767
+ - refine
1768
+ Exclude:
1769
+ - '**/*.gemspec'
1770
+
1771
+ Metrics/BlockNesting:
1772
+ Description: 'Avoid excessive block nesting.'
1773
+ StyleGuide: '#three-is-the-number-thou-shalt-count'
1774
+ Enabled: true
1775
+ VersionAdded: '0.25'
1776
+ VersionChanged: '0.47'
1777
+ CountBlocks: false
1778
+ Max: 3
1779
+
1780
+ Metrics/ClassLength:
1781
+ Description: 'Avoid classes longer than 100 lines of code.'
1782
+ Enabled: true
1783
+ VersionAdded: '0.25'
1784
+ CountComments: false # count full line comments?
1785
+ Max: 100
1786
+
1787
+ # Avoid complex methods.
1788
+ Metrics/CyclomaticComplexity:
1789
+ Description: >-
1790
+ A complexity metric that is strongly correlated to the number
1791
+ of test cases needed to validate a method.
1792
+ Enabled: true
1793
+ VersionAdded: '0.25'
1794
+ Max: 6
1795
+
1796
+ Metrics/LineLength:
1797
+ Description: 'Limit lines to 80 characters.'
1798
+ StyleGuide: '#80-character-limits'
1799
+ Enabled: true
1800
+ VersionAdded: '0.25'
1801
+ VersionChanged: '0.68'
1802
+ AutoCorrect: false
1803
+ Max: 80
1804
+ # To make it possible to copy or click on URIs in the code, we allow lines
1805
+ # containing a URI to be longer than Max.
1806
+ AllowHeredoc: true
1807
+ AllowURI: true
1808
+ URISchemes:
1809
+ - http
1810
+ - https
1811
+ # The IgnoreCopDirectives option causes the LineLength rule to ignore cop
1812
+ # directives like '# rubocop: enable ...' when calculating a line's length.
1813
+ IgnoreCopDirectives: false
1814
+ # The IgnoredPatterns option is a list of !ruby/regexp and/or string
1815
+ # elements. Strings will be converted to Regexp objects. A line that matches
1816
+ # any regular expression listed in this option will be ignored by LineLength.
1817
+ IgnoredPatterns: []
1818
+
1819
+ Metrics/MethodLength:
1820
+ Description: 'Avoid methods longer than 10 lines of code.'
1821
+ StyleGuide: '#short-methods'
1822
+ Enabled: true
1823
+ VersionAdded: '0.25'
1824
+ VersionChanged: '0.59.2'
1825
+ CountComments: false # count full line comments?
1826
+ Max: 10
1827
+ ExcludedMethods: []
1828
+
1829
+ Metrics/ModuleLength:
1830
+ Description: 'Avoid modules longer than 100 lines of code.'
1831
+ Enabled: true
1832
+ VersionAdded: '0.31'
1833
+ CountComments: false # count full line comments?
1834
+ Max: 100
1835
+
1836
+ Metrics/ParameterLists:
1837
+ Description: 'Avoid parameter lists longer than three or four parameters.'
1838
+ StyleGuide: '#too-many-params'
1839
+ Enabled: true
1840
+ VersionAdded: '0.25'
1841
+ Max: 5
1842
+ CountKeywordArgs: true
1843
+
1844
+ Metrics/PerceivedComplexity:
1845
+ Description: >-
1846
+ A complexity metric geared towards measuring complexity for a
1847
+ human reader.
1848
+ Enabled: true
1849
+ VersionAdded: '0.25'
1850
+ Max: 7
1851
+
1852
+ #################### Naming ##############################
1853
+
1854
+ Naming/AccessorMethodName:
1855
+ Description: Check the naming of accessor methods for get_/set_.
1856
+ StyleGuide: '#accessor_mutator_method_names'
1857
+ Enabled: true
1858
+ VersionAdded: '0.50'
1859
+
1860
+ Naming/AsciiIdentifiers:
1861
+ Description: 'Use only ascii symbols in identifiers.'
1862
+ StyleGuide: '#english-identifiers'
1863
+ Enabled: true
1864
+ VersionAdded: '0.50'
1865
+
1866
+ Naming/BinaryOperatorParameterName:
1867
+ Description: 'When defining binary operators, name the argument other.'
1868
+ StyleGuide: '#other-arg'
1869
+ Enabled: true
1870
+ VersionAdded: '0.50'
1871
+
1872
+ Naming/ClassAndModuleCamelCase:
1873
+ Description: 'Use CamelCase for classes and modules.'
1874
+ StyleGuide: '#camelcase-classes'
1875
+ Enabled: true
1876
+ VersionAdded: '0.50'
1877
+
1878
+ Naming/ConstantName:
1879
+ Description: 'Constants should use SCREAMING_SNAKE_CASE.'
1880
+ StyleGuide: '#screaming-snake-case'
1881
+ Enabled: true
1882
+ VersionAdded: '0.50'
1883
+
1884
+ Naming/FileName:
1885
+ Description: 'Use snake_case for source file names.'
1886
+ StyleGuide: '#snake-case-files'
1887
+ Enabled: true
1888
+ VersionAdded: '0.50'
1889
+ # Camel case file names listed in `AllCops:Include` and all file names listed
1890
+ # in `AllCops:Exclude` are excluded by default. Add extra excludes here.
1891
+ Exclude: []
1892
+ # When `true`, requires that each source file should define a class or module
1893
+ # with a name which matches the file name (converted to ... case).
1894
+ # It further expects it to be nested inside modules which match the names
1895
+ # of subdirectories in its path.
1896
+ ExpectMatchingDefinition: false
1897
+ # If non-`nil`, expect all source file names to match the following regex.
1898
+ # Only the file name itself is matched, not the entire file path.
1899
+ # Use anchors as necessary if you want to match the entire name rather than
1900
+ # just a part of it.
1901
+ Regex: ~
1902
+ # With `IgnoreExecutableScripts` set to `true`, this cop does not
1903
+ # report offending filenames for executable scripts (i.e. source
1904
+ # files with a shebang in the first line).
1905
+ IgnoreExecutableScripts: true
1906
+ AllowedAcronyms:
1907
+ - CLI
1908
+ - DSL
1909
+ - ACL
1910
+ - API
1911
+ - ASCII
1912
+ - CPU
1913
+ - CSS
1914
+ - DNS
1915
+ - EOF
1916
+ - GUID
1917
+ - HTML
1918
+ - HTTP
1919
+ - HTTPS
1920
+ - ID
1921
+ - IP
1922
+ - JSON
1923
+ - LHS
1924
+ - QPS
1925
+ - RAM
1926
+ - RHS
1927
+ - RPC
1928
+ - SLA
1929
+ - SMTP
1930
+ - SQL
1931
+ - SSH
1932
+ - TCP
1933
+ - TLS
1934
+ - TTL
1935
+ - UDP
1936
+ - UI
1937
+ - UID
1938
+ - UUID
1939
+ - URI
1940
+ - URL
1941
+ - UTF8
1942
+ - VM
1943
+ - XML
1944
+ - XMPP
1945
+ - XSRF
1946
+ - XSS
1947
+
1948
+ Naming/HeredocDelimiterCase:
1949
+ Description: 'Use configured case for heredoc delimiters.'
1950
+ StyleGuide: '#heredoc-delimiters'
1951
+ Enabled: true
1952
+ VersionAdded: '0.50'
1953
+ EnforcedStyle: uppercase
1954
+ SupportedStyles:
1955
+ - lowercase
1956
+ - uppercase
1957
+
1958
+ Naming/HeredocDelimiterNaming:
1959
+ Description: 'Use descriptive heredoc delimiters.'
1960
+ StyleGuide: '#heredoc-delimiters'
1961
+ Enabled: true
1962
+ VersionAdded: '0.50'
1963
+ Blacklist:
1964
+ - !ruby/regexp '/(^|\s)(EO[A-Z]{1}|END)(\s|$)/'
1965
+
1966
+ Naming/MemoizedInstanceVariableName:
1967
+ Description: >-
1968
+ Memoized method name should match memo instance variable name.
1969
+ Enabled: true
1970
+ VersionAdded: '0.53'
1971
+ VersionChanged: '0.58'
1972
+ EnforcedStyleForLeadingUnderscores: disallowed
1973
+ SupportedStylesForLeadingUnderscores:
1974
+ - disallowed
1975
+ - required
1976
+ - optional
1977
+
1978
+ Naming/MethodName:
1979
+ Description: 'Use the configured style when naming methods.'
1980
+ StyleGuide: '#snake-case-symbols-methods-vars'
1981
+ Enabled: true
1982
+ VersionAdded: '0.50'
1983
+ EnforcedStyle: snake_case
1984
+ SupportedStyles:
1985
+ - snake_case
1986
+ - camelCase
1987
+
1988
+ Naming/PredicateName:
1989
+ Description: 'Check the names of predicate methods.'
1990
+ StyleGuide: '#bool-methods-qmark'
1991
+ Enabled: true
1992
+ VersionAdded: '0.50'
1993
+ VersionChanged: '0.51'
1994
+ # Predicate name prefixes.
1995
+ NamePrefix:
1996
+ - is_
1997
+ - has_
1998
+ - have_
1999
+ # Predicate name prefixes that should be removed.
2000
+ NamePrefixBlacklist:
2001
+ - is_
2002
+ - has_
2003
+ - have_
2004
+ # Predicate names which, despite having a blacklisted prefix, or no `?`,
2005
+ # should still be accepted
2006
+ NameWhitelist:
2007
+ - is_a?
2008
+ # Method definition macros for dynamically generated methods.
2009
+ MethodDefinitionMacros:
2010
+ - define_method
2011
+ - define_singleton_method
2012
+ # Exclude Rspec specs because there is a strong convention to write spec
2013
+ # helpers in the form of `have_something` or `be_something`.
2014
+ Exclude:
2015
+ - 'spec/**/*'
2016
+
2017
+ Naming/RescuedExceptionsVariableName:
2018
+ Description: 'Use consistent rescued exceptions variables naming.'
2019
+ Enabled: true
2020
+ VersionAdded: '0.67'
2021
+ VersionChanged: '0.68'
2022
+ PreferredName: e
2023
+
2024
+ Naming/UncommunicativeBlockParamName:
2025
+ Description: >-
2026
+ Checks for block parameter names that contain capital letters,
2027
+ end in numbers, or do not meet a minimal length.
2028
+ Enabled: true
2029
+ VersionAdded: '0.53'
2030
+ # Parameter names may be equal to or greater than this value
2031
+ MinNameLength: 1
2032
+ AllowNamesEndingInNumbers: true
2033
+ # Whitelisted names that will not register an offense
2034
+ AllowedNames: []
2035
+ # Blacklisted names that will register an offense
2036
+ ForbiddenNames: []
2037
+
2038
+ Naming/UncommunicativeMethodParamName:
2039
+ Description: >-
2040
+ Checks for method parameter names that contain capital letters,
2041
+ end in numbers, or do not meet a minimal length.
2042
+ Enabled: true
2043
+ VersionAdded: '0.53'
2044
+ VersionChanged: '0.59'
2045
+ # Parameter names may be equal to or greater than this value
2046
+ MinNameLength: 3
2047
+ AllowNamesEndingInNumbers: true
2048
+ # Whitelisted names that will not register an offense
2049
+ AllowedNames:
2050
+ - io
2051
+ - id
2052
+ - to
2053
+ - by
2054
+ - 'on'
2055
+ - in
2056
+ - at
2057
+ - ip
2058
+ - db
2059
+ # Blacklisted names that will register an offense
2060
+ ForbiddenNames: []
2061
+
2062
+
2063
+ Naming/VariableName:
2064
+ Description: 'Use the configured style when naming variables.'
2065
+ StyleGuide: '#snake-case-symbols-methods-vars'
2066
+ Enabled: true
2067
+ VersionAdded: '0.50'
2068
+ EnforcedStyle: snake_case
2069
+ SupportedStyles:
2070
+ - snake_case
2071
+ - camelCase
2072
+
2073
+ Naming/VariableNumber:
2074
+ Description: 'Use the configured style when numbering variables.'
2075
+ Enabled: true
2076
+ VersionAdded: '0.50'
2077
+ EnforcedStyle: normalcase
2078
+ SupportedStyles:
2079
+ - snake_case
2080
+ - normalcase
2081
+ - non_integer
2082
+
2083
+ #################### Security ##############################
2084
+
2085
+ Security/Eval:
2086
+ Description: 'The use of eval represents a serious security risk.'
2087
+ Enabled: true
2088
+ VersionAdded: '0.47'
2089
+
2090
+ Security/JSONLoad:
2091
+ Description: >-
2092
+ Prefer usage of `JSON.parse` over `JSON.load` due to potential
2093
+ security issues. See reference for more information.
2094
+ Reference: 'https://ruby-doc.org/stdlib-2.3.0/libdoc/json/rdoc/JSON.html#method-i-load'
2095
+ Enabled: true
2096
+ VersionAdded: '0.43'
2097
+ VersionChanged: '0.44'
2098
+ # Autocorrect here will change to a method that may cause crashes depending
2099
+ # on the value of the argument.
2100
+ AutoCorrect: false
2101
+ SafeAutoCorrect: false
2102
+
2103
+ Security/MarshalLoad:
2104
+ Description: >-
2105
+ Avoid using of `Marshal.load` or `Marshal.restore` due to potential
2106
+ security issues. See reference for more information.
2107
+ Reference: 'https://ruby-doc.org/core-2.3.3/Marshal.html#module-Marshal-label-Security+considerations'
2108
+ Enabled: true
2109
+ VersionAdded: '0.47'
2110
+
2111
+ Security/Open:
2112
+ Description: 'The use of Kernel#open represents a serious security risk.'
2113
+ Enabled: true
2114
+ VersionAdded: '0.53'
2115
+ Safe: false
2116
+
2117
+ Security/YAMLLoad:
2118
+ Description: >-
2119
+ Prefer usage of `YAML.safe_load` over `YAML.load` due to potential
2120
+ security issues. See reference for more information.
2121
+ Reference: 'https://ruby-doc.org/stdlib-2.3.3/libdoc/yaml/rdoc/YAML.html#module-YAML-label-Security'
2122
+ Enabled: true
2123
+ VersionAdded: '0.47'
2124
+ SafeAutoCorrect: false
2125
+
2126
+ #################### Style ###############################
2127
+
2128
+ Style/AccessModifierDeclarations:
2129
+ Description: 'Checks style of how access modifiers are used.'
2130
+ Enabled: true
2131
+ VersionAdded: '0.57'
2132
+ EnforcedStyle: group
2133
+ SupportedStyles:
2134
+ - inline
2135
+ - group
2136
+
2137
+ Style/Alias:
2138
+ Description: 'Use alias instead of alias_method.'
2139
+ StyleGuide: '#alias-method-lexically'
2140
+ Enabled: true
2141
+ VersionAdded: '0.9'
2142
+ VersionChanged: '0.36'
2143
+ EnforcedStyle: prefer_alias
2144
+ SupportedStyles:
2145
+ - prefer_alias
2146
+ - prefer_alias_method
2147
+
2148
+ Style/AndOr:
2149
+ Description: 'Use &&/|| instead of and/or.'
2150
+ StyleGuide: '#no-and-or-or'
2151
+ Enabled: true
2152
+ VersionAdded: '0.9'
2153
+ VersionChanged: '0.25'
2154
+ # Whether `and` and `or` are banned only in conditionals (conditionals)
2155
+ # or completely (always).
2156
+ EnforcedStyle: always
2157
+ SupportedStyles:
2158
+ - always
2159
+ - conditionals
2160
+
2161
+ Style/ArrayJoin:
2162
+ Description: 'Use Array#join instead of Array#*.'
2163
+ StyleGuide: '#array-join'
2164
+ Enabled: true
2165
+ VersionAdded: '0.20'
2166
+ VersionChanged: '0.31'
2167
+
2168
+ Style/AsciiComments:
2169
+ Description: 'Use only ascii symbols in comments.'
2170
+ StyleGuide: '#english-comments'
2171
+ Enabled: true
2172
+ VersionAdded: '0.9'
2173
+ VersionChanged: '0.52'
2174
+ AllowedChars: []
2175
+
2176
+ Style/Attr:
2177
+ Description: 'Checks for uses of Module#attr.'
2178
+ StyleGuide: '#attr'
2179
+ Enabled: true
2180
+ VersionAdded: '0.9'
2181
+ VersionChanged: '0.12'
2182
+
2183
+ Style/AutoResourceCleanup:
2184
+ Description: 'Suggests the usage of an auto resource cleanup version of a method (if available).'
2185
+ Enabled: false
2186
+ VersionAdded: '0.30'
2187
+
2188
+ Style/BarePercentLiterals:
2189
+ Description: 'Checks if usage of %() or %Q() matches configuration.'
2190
+ StyleGuide: '#percent-q-shorthand'
2191
+ Enabled: true
2192
+ VersionAdded: '0.25'
2193
+ EnforcedStyle: bare_percent
2194
+ SupportedStyles:
2195
+ - percent_q
2196
+ - bare_percent
2197
+
2198
+ Style/BeginBlock:
2199
+ Description: 'Avoid the use of BEGIN blocks.'
2200
+ StyleGuide: '#no-BEGIN-blocks'
2201
+ Enabled: true
2202
+ VersionAdded: '0.9'
2203
+
2204
+ Style/BlockComments:
2205
+ Description: 'Do not use block comments.'
2206
+ StyleGuide: '#no-block-comments'
2207
+ Enabled: true
2208
+ VersionAdded: '0.9'
2209
+ VersionChanged: '0.23'
2210
+
2211
+ Style/BlockDelimiters:
2212
+ Description: >-
2213
+ Avoid using {...} for multi-line blocks (multiline chaining is
2214
+ always ugly).
2215
+ Prefer {...} over do...end for single-line blocks.
2216
+ StyleGuide: '#single-line-blocks'
2217
+ Enabled: true
2218
+ VersionAdded: '0.30'
2219
+ VersionChanged: '0.35'
2220
+ EnforcedStyle: line_count_based
2221
+ SupportedStyles:
2222
+ # The `line_count_based` style enforces braces around single line blocks and
2223
+ # do..end around multi-line blocks.
2224
+ - line_count_based
2225
+ # The `semantic` style enforces braces around functional blocks, where the
2226
+ # primary purpose of the block is to return a value and do..end for
2227
+ # multi-line procedural blocks, where the primary purpose of the block is
2228
+ # its side-effects. Single-line procedural blocks may only use do-end,
2229
+ # unless AllowBracesOnProceduralOneLiners has a truthy value (see below).
2230
+ #
2231
+ # This looks at the usage of a block's method to determine its type (e.g. is
2232
+ # the result of a `map` assigned to a variable or passed to another
2233
+ # method) but exceptions are permitted in the `ProceduralMethods`,
2234
+ # `FunctionalMethods` and `IgnoredMethods` sections below.
2235
+ - semantic
2236
+ # The `braces_for_chaining` style enforces braces around single line blocks
2237
+ # and do..end around multi-line blocks, except for multi-line blocks whose
2238
+ # return value is being chained with another method (in which case braces
2239
+ # are enforced).
2240
+ - braces_for_chaining
2241
+ # The `always_braces` style always enforces braces.
2242
+ - always_braces
2243
+ ProceduralMethods:
2244
+ # Methods that are known to be procedural in nature but look functional from
2245
+ # their usage, e.g.
2246
+ #
2247
+ # time = Benchmark.realtime do
2248
+ # foo.bar
2249
+ # end
2250
+ #
2251
+ # Here, the return value of the block is discarded but the return value of
2252
+ # `Benchmark.realtime` is used.
2253
+ - benchmark
2254
+ - bm
2255
+ - bmbm
2256
+ - create
2257
+ - each_with_object
2258
+ - measure
2259
+ - new
2260
+ - realtime
2261
+ - tap
2262
+ - with_object
2263
+ FunctionalMethods:
2264
+ # Methods that are known to be functional in nature but look procedural from
2265
+ # their usage, e.g.
2266
+ #
2267
+ # let(:foo) { Foo.new }
2268
+ #
2269
+ # Here, the return value of `Foo.new` is used to define a `foo` helper but
2270
+ # doesn't appear to be used from the return value of `let`.
2271
+ - let
2272
+ - let!
2273
+ - subject
2274
+ - watch
2275
+ IgnoredMethods:
2276
+ # Methods that can be either procedural or functional and cannot be
2277
+ # categorised from their usage alone, e.g.
2278
+ #
2279
+ # foo = lambda do |x|
2280
+ # puts "Hello, #{x}"
2281
+ # end
2282
+ #
2283
+ # foo = lambda do |x|
2284
+ # x * 100
2285
+ # end
2286
+ #
2287
+ # Here, it is impossible to tell from the return value of `lambda` whether
2288
+ # the inner block's return value is significant.
2289
+ - lambda
2290
+ - proc
2291
+ - it
2292
+ # The AllowBracesOnProceduralOneLiners option is ignored unless the
2293
+ # EnforcedStyle is set to `semantic`. If so:
2294
+ #
2295
+ # If AllowBracesOnProceduralOneLiners is unspecified, or set to any
2296
+ # falsey value, then semantic purity is maintained, so one-line
2297
+ # procedural blocks must use do-end, not braces.
2298
+ #
2299
+ # # bad
2300
+ # collection.each { |element| puts element }
2301
+ #
2302
+ # # good
2303
+ # collection.each do |element| puts element end
2304
+ #
2305
+ # If AllowBracesOnProceduralOneLiners is set to any truthy value,
2306
+ # then one-line procedural blocks may use either style.
2307
+ #
2308
+ # # good
2309
+ # collection.each { |element| puts element }
2310
+ #
2311
+ # # also good
2312
+ # collection.each do |element| puts element end
2313
+ AllowBracesOnProceduralOneLiners: false
2314
+
2315
+ Style/BracesAroundHashParameters:
2316
+ Description: 'Enforce braces style around hash parameters.'
2317
+ Enabled: true
2318
+ VersionAdded: '0.14.1'
2319
+ VersionChanged: '0.28'
2320
+ EnforcedStyle: no_braces
2321
+ SupportedStyles:
2322
+ # The `braces` style enforces braces around all method parameters that are
2323
+ # hashes.
2324
+ - braces
2325
+ # The `no_braces` style checks that the last parameter doesn't have braces
2326
+ # around it.
2327
+ - no_braces
2328
+ # The `context_dependent` style checks that the last parameter doesn't have
2329
+ # braces around it, but requires braces if the second to last parameter is
2330
+ # also a hash literal.
2331
+ - context_dependent
2332
+
2333
+ Style/CaseEquality:
2334
+ Description: 'Avoid explicit use of the case equality operator(===).'
2335
+ StyleGuide: '#no-case-equality'
2336
+ Enabled: true
2337
+ VersionAdded: '0.9'
2338
+
2339
+ Style/CharacterLiteral:
2340
+ Description: 'Checks for uses of character literals.'
2341
+ StyleGuide: '#no-character-literals'
2342
+ Enabled: true
2343
+ VersionAdded: '0.9'
2344
+
2345
+ Style/ClassAndModuleChildren:
2346
+ Description: 'Checks style of children classes and modules.'
2347
+ StyleGuide: '#namespace-definition'
2348
+ # Moving from compact to nested children requires knowledge of whether the
2349
+ # outer parent is a module or a class. Moving from nested to compact requires
2350
+ # verification that the outer parent is defined elsewhere. Rubocop does not
2351
+ # have the knowledge to perform either operation safely and thus requires
2352
+ # manual oversight.
2353
+ SafeAutoCorrect: false
2354
+ AutoCorrect: false
2355
+ Enabled: true
2356
+ VersionAdded: '0.19'
2357
+ #
2358
+ # Basically there are two different styles:
2359
+ #
2360
+ # `nested` - have each child on a separate line
2361
+ # class Foo
2362
+ # class Bar
2363
+ # end
2364
+ # end
2365
+ #
2366
+ # `compact` - combine definitions as much as possible
2367
+ # class Foo::Bar
2368
+ # end
2369
+ #
2370
+ # The compact style is only forced, for classes or modules with one child.
2371
+ EnforcedStyle: nested
2372
+ SupportedStyles:
2373
+ - nested
2374
+ - compact
2375
+
2376
+ Style/ClassCheck:
2377
+ Description: 'Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.'
2378
+ Enabled: true
2379
+ VersionAdded: '0.24'
2380
+ EnforcedStyle: is_a?
2381
+ SupportedStyles:
2382
+ - is_a?
2383
+ - kind_of?
2384
+
2385
+ Style/ClassMethods:
2386
+ Description: 'Use self when defining module/class methods.'
2387
+ StyleGuide: '#def-self-class-methods'
2388
+ Enabled: true
2389
+ VersionAdded: '0.9'
2390
+ VersionChanged: '0.20'
2391
+
2392
+ Style/ClassVars:
2393
+ Description: 'Avoid the use of class variables.'
2394
+ StyleGuide: '#no-class-vars'
2395
+ Enabled: true
2396
+ VersionAdded: '0.13'
2397
+
2398
+ # Align with the style guide.
2399
+ Style/CollectionMethods:
2400
+ Description: 'Preferred collection methods.'
2401
+ StyleGuide: '#map-find-select-reduce-size'
2402
+ Enabled: false
2403
+ VersionAdded: '0.9'
2404
+ VersionChanged: '0.27'
2405
+ Safe: false
2406
+ # Mapping from undesired method to desired method
2407
+ # e.g. to use `detect` over `find`:
2408
+ #
2409
+ # Style/CollectionMethods:
2410
+ # PreferredMethods:
2411
+ # find: detect
2412
+ PreferredMethods:
2413
+ collect: 'map'
2414
+ collect!: 'map!'
2415
+ inject: 'reduce'
2416
+ detect: 'find'
2417
+ find_all: 'select'
2418
+
2419
+ Style/ColonMethodCall:
2420
+ Description: 'Do not use :: for method call.'
2421
+ StyleGuide: '#double-colons'
2422
+ Enabled: true
2423
+ VersionAdded: '0.9'
2424
+
2425
+ Style/ColonMethodDefinition:
2426
+ Description: 'Do not use :: for defining class methods.'
2427
+ StyleGuide: '#colon-method-definition'
2428
+ Enabled: true
2429
+ VersionAdded: '0.52'
2430
+
2431
+ Style/CommandLiteral:
2432
+ Description: 'Use `` or %x around command literals.'
2433
+ StyleGuide: '#percent-x'
2434
+ Enabled: true
2435
+ VersionAdded: '0.30'
2436
+ EnforcedStyle: backticks
2437
+ # backticks: Always use backticks.
2438
+ # percent_x: Always use `%x`.
2439
+ # mixed: Use backticks on single-line commands, and `%x` on multi-line commands.
2440
+ SupportedStyles:
2441
+ - backticks
2442
+ - percent_x
2443
+ - mixed
2444
+ # If `false`, the cop will always recommend using `%x` if one or more backticks
2445
+ # are found in the command string.
2446
+ AllowInnerBackticks: false
2447
+
2448
+ # Checks formatting of special comments
2449
+ Style/CommentAnnotation:
2450
+ Description: >-
2451
+ Checks formatting of special comments
2452
+ (TODO, FIXME, OPTIMIZE, HACK, REVIEW).
2453
+ StyleGuide: '#annotate-keywords'
2454
+ Enabled: true
2455
+ VersionAdded: '0.10'
2456
+ VersionChanged: '0.31'
2457
+ Keywords:
2458
+ - TODO
2459
+ - FIXME
2460
+ - OPTIMIZE
2461
+ - HACK
2462
+ - REVIEW
2463
+
2464
+ Style/CommentedKeyword:
2465
+ Description: 'Do not place comments on the same line as certain keywords.'
2466
+ Enabled: true
2467
+ VersionAdded: '0.51'
2468
+
2469
+ Style/ConditionalAssignment:
2470
+ Description: >-
2471
+ Use the return value of `if` and `case` statements for
2472
+ assignment to a variable and variable comparison instead
2473
+ of assigning that variable inside of each branch.
2474
+ Enabled: true
2475
+ VersionAdded: '0.36'
2476
+ VersionChanged: '0.47'
2477
+ EnforcedStyle: assign_to_condition
2478
+ SupportedStyles:
2479
+ - assign_to_condition
2480
+ - assign_inside_condition
2481
+ # When configured to `assign_to_condition`, `SingleLineConditionsOnly`
2482
+ # will only register an offense when all branches of a condition are
2483
+ # a single line.
2484
+ # When configured to `assign_inside_condition`, `SingleLineConditionsOnly`
2485
+ # will only register an offense for assignment to a condition that has
2486
+ # at least one multiline branch.
2487
+ SingleLineConditionsOnly: true
2488
+ IncludeTernaryExpressions: true
2489
+
2490
+ Style/ConstantVisibility:
2491
+ Description: >-
2492
+ Check that class- and module constants have
2493
+ visibility declarations.
2494
+ Enabled: false
2495
+ VersionAdded: '0.66'
2496
+
2497
+ # Checks that you have put a copyright in a comment before any code.
2498
+ #
2499
+ # You can override the default Notice in your .rubocop.yml file.
2500
+ #
2501
+ # In order to use autocorrect, you must supply a value for the
2502
+ # `AutocorrectNotice` key that matches the regexp Notice. A blank
2503
+ # `AutocorrectNotice` will cause an error during autocorrect.
2504
+ #
2505
+ # Autocorrect will add a copyright notice in a comment at the top
2506
+ # of the file immediately after any shebang or encoding comments.
2507
+ #
2508
+ # Example rubocop.yml:
2509
+ #
2510
+ # Style/Copyright:
2511
+ # Enabled: true
2512
+ # Notice: 'Copyright (\(c\) )?2015 Yahoo! Inc'
2513
+ # AutocorrectNotice: '# Copyright (c) 2015 Yahoo! Inc.'
2514
+ #
2515
+ Style/Copyright:
2516
+ Description: 'Include a copyright notice in each file before any code.'
2517
+ Enabled: false
2518
+ VersionAdded: '0.30'
2519
+ Notice: '^Copyright (\(c\) )?2[0-9]{3} .+'
2520
+ AutocorrectNotice: ''
2521
+
2522
+ Style/DateTime:
2523
+ Description: 'Use Time over DateTime.'
2524
+ StyleGuide: '#date--time'
2525
+ Enabled: false
2526
+ VersionAdded: '0.51'
2527
+ VersionChanged: '0.59'
2528
+ AllowCoercion: false
2529
+
2530
+ Style/DefWithParentheses:
2531
+ Description: 'Use def with parentheses when there are arguments.'
2532
+ StyleGuide: '#method-parens'
2533
+ Enabled: true
2534
+ VersionAdded: '0.9'
2535
+ VersionChanged: '0.12'
2536
+
2537
+ Style/Dir:
2538
+ Description: >-
2539
+ Use the `__dir__` method to retrieve the canonicalized
2540
+ absolute path to the current file.
2541
+ Enabled: true
2542
+ VersionAdded: '0.50'
2543
+
2544
+ Style/Documentation:
2545
+ Description: 'Document classes and non-namespace modules.'
2546
+ Enabled: true
2547
+ VersionAdded: '0.9'
2548
+ Exclude:
2549
+ - 'spec/**/*'
2550
+ - 'test/**/*'
2551
+
2552
+ Style/DocumentationMethod:
2553
+ Description: 'Checks for missing documentation comment for public methods.'
2554
+ Enabled: false
2555
+ VersionAdded: '0.43'
2556
+ Exclude:
2557
+ - 'spec/**/*'
2558
+ - 'test/**/*'
2559
+ RequireForNonPublicMethods: false
2560
+
2561
+ Style/DoubleCopDisableDirective:
2562
+ Description: 'Checks for double rubocop:disable comments on a single line.'
2563
+ Enabled: true
2564
+ VersionAdded: '0.73'
2565
+
2566
+ Style/DoubleNegation:
2567
+ Description: 'Checks for uses of double negation (!!).'
2568
+ StyleGuide: '#no-bang-bang'
2569
+ Enabled: true
2570
+ VersionAdded: '0.19'
2571
+
2572
+ Style/EachForSimpleLoop:
2573
+ Description: >-
2574
+ Use `Integer#times` for a simple loop which iterates a fixed
2575
+ number of times.
2576
+ Enabled: true
2577
+ VersionAdded: '0.41'
2578
+
2579
+ Style/EachWithObject:
2580
+ Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
2581
+ Enabled: true
2582
+ VersionAdded: '0.22'
2583
+ VersionChanged: '0.42'
2584
+
2585
+ Style/EmptyBlockParameter:
2586
+ Description: 'Omit pipes for empty block parameters.'
2587
+ Enabled: true
2588
+ VersionAdded: '0.52'
2589
+
2590
+ Style/EmptyCaseCondition:
2591
+ Description: 'Avoid empty condition in case statements.'
2592
+ Enabled: true
2593
+ VersionAdded: '0.40'
2594
+
2595
+ Style/EmptyElse:
2596
+ Description: 'Avoid empty else-clauses.'
2597
+ Enabled: true
2598
+ VersionAdded: '0.28'
2599
+ VersionChanged: '0.32'
2600
+ EnforcedStyle: both
2601
+ # empty - warn only on empty `else`
2602
+ # nil - warn on `else` with nil in it
2603
+ # both - warn on empty `else` and `else` with `nil` in it
2604
+ SupportedStyles:
2605
+ - empty
2606
+ - nil
2607
+ - both
2608
+
2609
+ Style/EmptyLambdaParameter:
2610
+ Description: 'Omit parens for empty lambda parameters.'
2611
+ Enabled: true
2612
+ VersionAdded: '0.52'
2613
+
2614
+ Style/EmptyLiteral:
2615
+ Description: 'Prefer literals to Array.new/Hash.new/String.new.'
2616
+ StyleGuide: '#literal-array-hash'
2617
+ Enabled: true
2618
+ VersionAdded: '0.9'
2619
+ VersionChanged: '0.12'
2620
+
2621
+ Style/EmptyMethod:
2622
+ Description: 'Checks the formatting of empty method definitions.'
2623
+ StyleGuide: '#no-single-line-methods'
2624
+ Enabled: true
2625
+ VersionAdded: '0.46'
2626
+ EnforcedStyle: compact
2627
+ SupportedStyles:
2628
+ - compact
2629
+ - expanded
2630
+
2631
+ Style/Encoding:
2632
+ Description: 'Use UTF-8 as the source file encoding.'
2633
+ StyleGuide: '#utf-8'
2634
+ Enabled: true
2635
+ VersionAdded: '0.9'
2636
+ VersionChanged: '0.50'
2637
+
2638
+ Style/EndBlock:
2639
+ Description: 'Avoid the use of END blocks.'
2640
+ StyleGuide: '#no-END-blocks'
2641
+ Enabled: true
2642
+ VersionAdded: '0.9'
2643
+
2644
+ Style/EvalWithLocation:
2645
+ Description: 'Pass `__FILE__` and `__LINE__` to `eval` method, as they are used by backtraces.'
2646
+ Enabled: true
2647
+ VersionAdded: '0.52'
2648
+
2649
+ Style/EvenOdd:
2650
+ Description: 'Favor the use of `Integer#even?` && `Integer#odd?`.'
2651
+ StyleGuide: '#predicate-methods'
2652
+ Enabled: true
2653
+ VersionAdded: '0.12'
2654
+ VersionChanged: '0.29'
2655
+
2656
+ Style/ExpandPathArguments:
2657
+ Description: "Use `expand_path(__dir__)` instead of `expand_path('..', __FILE__)`."
2658
+ Enabled: true
2659
+ VersionAdded: '0.53'
2660
+
2661
+ Style/FloatDivision:
2662
+ Description: 'For performing float division, coerce one side only.'
2663
+ StyleGuide: '#float-division'
2664
+ Reference: 'https://github.com/rubocop-hq/ruby-style-guide/issues/628'
2665
+ Enabled: true
2666
+ VersionAdded: '0.72'
2667
+ EnforcedStyle: single_coerce
2668
+ SupportedStyles:
2669
+ - left_coerce
2670
+ - right_coerce
2671
+ - single_coerce
2672
+ - fdiv
2673
+
2674
+ Style/For:
2675
+ Description: 'Checks use of for or each in multiline loops.'
2676
+ StyleGuide: '#no-for-loops'
2677
+ Enabled: true
2678
+ VersionAdded: '0.13'
2679
+ VersionChanged: '0.59'
2680
+ EnforcedStyle: each
2681
+ SupportedStyles:
2682
+ - each
2683
+ - for
2684
+
2685
+ Style/FormatString:
2686
+ Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
2687
+ StyleGuide: '#sprintf'
2688
+ Enabled: true
2689
+ VersionAdded: '0.19'
2690
+ VersionChanged: '0.49'
2691
+ EnforcedStyle: format
2692
+ SupportedStyles:
2693
+ - format
2694
+ - sprintf
2695
+ - percent
2696
+
2697
+ Style/FormatStringToken:
2698
+ Description: 'Use a consistent style for format string tokens.'
2699
+ Enabled: true
2700
+ EnforcedStyle: annotated
2701
+ SupportedStyles:
2702
+ # Prefer tokens which contain a sprintf like type annotation like
2703
+ # `%<name>s`, `%<age>d`, `%<score>f`
2704
+ - annotated
2705
+ # Prefer simple looking "template" style tokens like `%{name}`, `%{age}`
2706
+ - template
2707
+ - unannotated
2708
+ VersionAdded: '0.49'
2709
+ VersionChanged: '0.52'
2710
+
2711
+ Style/FrozenStringLiteralComment:
2712
+ Description: >-
2713
+ Add the frozen_string_literal comment to the top of files
2714
+ to help transition to frozen string literals by default.
2715
+ Enabled: true
2716
+ VersionAdded: '0.36'
2717
+ VersionChanged: '0.69'
2718
+ EnforcedStyle: always
2719
+ SupportedStyles:
2720
+ # `always` will always add the frozen string literal comment to a file
2721
+ # regardless of the Ruby version or if `freeze` or `<<` are called on a
2722
+ # string literal. If you run code against multiple versions of Ruby, it is
2723
+ # possible that this will create errors in Ruby 2.3.0+.
2724
+ - always
2725
+ # `never` will enforce that the frozen string literal comment does not
2726
+ # exist in a file.
2727
+ - never
2728
+
2729
+ Style/GlobalVars:
2730
+ Description: 'Do not introduce global variables.'
2731
+ StyleGuide: '#instance-vars'
2732
+ Reference: 'https://www.zenspider.com/ruby/quickref.html'
2733
+ Enabled: true
2734
+ VersionAdded: '0.13'
2735
+ # Built-in global variables are allowed by default.
2736
+ AllowedVariables: []
2737
+
2738
+ Style/GuardClause:
2739
+ Description: 'Check for conditionals that can be replaced with guard clauses.'
2740
+ StyleGuide: '#no-nested-conditionals'
2741
+ Enabled: true
2742
+ VersionAdded: '0.20'
2743
+ VersionChanged: '0.22'
2744
+ # `MinBodyLength` defines the number of lines of the a body of an `if` or `unless`
2745
+ # needs to have to trigger this cop
2746
+ MinBodyLength: 1
2747
+
2748
+ Style/HashSyntax:
2749
+ Description: >-
2750
+ Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
2751
+ { :a => 1, :b => 2 }.
2752
+ StyleGuide: '#hash-literals'
2753
+ Enabled: true
2754
+ VersionAdded: '0.9'
2755
+ VersionChanged: '0.43'
2756
+ EnforcedStyle: ruby19
2757
+ SupportedStyles:
2758
+ # checks for 1.9 syntax (e.g. {a: 1}) for all symbol keys
2759
+ - ruby19
2760
+ # checks for hash rocket syntax for all hashes
2761
+ - hash_rockets
2762
+ # forbids mixed key syntaxes (e.g. {a: 1, :b => 2})
2763
+ - no_mixed_keys
2764
+ # enforces both ruby19 and no_mixed_keys styles
2765
+ - ruby19_no_mixed_keys
2766
+ # Force hashes that have a symbol value to use hash rockets
2767
+ UseHashRocketsWithSymbolValues: false
2768
+ # Do not suggest { a?: 1 } over { :a? => 1 } in ruby19 style
2769
+ PreferHashRocketsForNonAlnumEndingSymbols: false
2770
+
2771
+ Style/IdenticalConditionalBranches:
2772
+ Description: >-
2773
+ Checks that conditional statements do not have an identical
2774
+ line at the end of each branch, which can validly be moved
2775
+ out of the conditional.
2776
+ Enabled: true
2777
+ VersionAdded: '0.36'
2778
+
2779
+ Style/IfInsideElse:
2780
+ Description: 'Finds if nodes inside else, which can be converted to elsif.'
2781
+ Enabled: true
2782
+ AllowIfModifier: false
2783
+ VersionAdded: '0.36'
2784
+
2785
+ Style/IfUnlessModifier:
2786
+ Description: >-
2787
+ Favor modifier if/unless usage when you have a
2788
+ single-line body.
2789
+ StyleGuide: '#if-as-a-modifier'
2790
+ Enabled: true
2791
+ VersionAdded: '0.9'
2792
+ VersionChanged: '0.30'
2793
+
2794
+ Style/IfUnlessModifierOfIfUnless:
2795
+ Description: >-
2796
+ Avoid modifier if/unless usage on conditionals.
2797
+ Enabled: true
2798
+ VersionAdded: '0.39'
2799
+
2800
+ Style/IfWithSemicolon:
2801
+ Description: 'Do not use if x; .... Use the ternary operator instead.'
2802
+ StyleGuide: '#no-semicolon-ifs'
2803
+ Enabled: true
2804
+ VersionAdded: '0.9'
2805
+
2806
+ Style/ImplicitRuntimeError:
2807
+ Description: >-
2808
+ Use `raise` or `fail` with an explicit exception class and
2809
+ message, rather than just a message.
2810
+ Enabled: false
2811
+ VersionAdded: '0.41'
2812
+
2813
+ Style/InfiniteLoop:
2814
+ Description: 'Use Kernel#loop for infinite loops.'
2815
+ StyleGuide: '#infinite-loop'
2816
+ Enabled: true
2817
+ VersionAdded: '0.26'
2818
+ VersionChanged: '0.61'
2819
+ SafeAutoCorrect: true
2820
+
2821
+ Style/InlineComment:
2822
+ Description: 'Avoid trailing inline comments.'
2823
+ Enabled: false
2824
+ VersionAdded: '0.23'
2825
+
2826
+ Style/InverseMethods:
2827
+ Description: >-
2828
+ Use the inverse method instead of `!.method`
2829
+ if an inverse method is defined.
2830
+ Enabled: true
2831
+ Safe: false
2832
+ VersionAdded: '0.48'
2833
+ # `InverseMethods` are methods that can be inverted by a not (`not` or `!`)
2834
+ # The relationship of inverse methods only needs to be defined in one direction.
2835
+ # Keys and values both need to be defined as symbols.
2836
+ InverseMethods:
2837
+ :any?: :none?
2838
+ :even?: :odd?
2839
+ :==: :!=
2840
+ :=~: :!~
2841
+ :<: :>=
2842
+ :>: :<=
2843
+ # `ActiveSupport` defines some common inverse methods. They are listed below,
2844
+ # and not enabled by default.
2845
+ #:present?: :blank?,
2846
+ #:include?: :exclude?
2847
+ # `InverseBlocks` are methods that are inverted by inverting the return
2848
+ # of the block that is passed to the method
2849
+ InverseBlocks:
2850
+ :select: :reject
2851
+ :select!: :reject!
2852
+
2853
+ Style/IpAddresses:
2854
+ Description: "Don't include literal IP addresses in code."
2855
+ Enabled: false
2856
+ VersionAdded: '0.58'
2857
+ # Allow strings to be whitelisted
2858
+ Whitelist:
2859
+ - "::"
2860
+ # :: is a valid IPv6 address, but could potentially be legitimately in code
2861
+
2862
+ Style/Lambda:
2863
+ Description: 'Use the new lambda literal syntax for single-line blocks.'
2864
+ StyleGuide: '#lambda-multi-line'
2865
+ Enabled: true
2866
+ VersionAdded: '0.9'
2867
+ VersionChanged: '0.40'
2868
+ EnforcedStyle: line_count_dependent
2869
+ SupportedStyles:
2870
+ - line_count_dependent
2871
+ - lambda
2872
+ - literal
2873
+
2874
+ Style/LambdaCall:
2875
+ Description: 'Use lambda.call(...) instead of lambda.(...).'
2876
+ StyleGuide: '#proc-call'
2877
+ Enabled: true
2878
+ VersionAdded: '0.13.1'
2879
+ VersionChanged: '0.14'
2880
+ EnforcedStyle: call
2881
+ SupportedStyles:
2882
+ - call
2883
+ - braces
2884
+
2885
+ Style/LineEndConcatenation:
2886
+ Description: >-
2887
+ Use \ instead of + or << to concatenate two string literals at
2888
+ line end.
2889
+ Enabled: true
2890
+ SafeAutoCorrect: false
2891
+ VersionAdded: '0.18'
2892
+ VersionChanged: '0.64'
2893
+
2894
+ Style/MethodCallWithArgsParentheses:
2895
+ Description: 'Use parentheses for method calls with arguments.'
2896
+ StyleGuide: '#method-invocation-parens'
2897
+ Enabled: false
2898
+ VersionAdded: '0.47'
2899
+ VersionChanged: '0.61'
2900
+ IgnoreMacros: true
2901
+ IgnoredMethods: []
2902
+ IncludedMacros: []
2903
+ AllowParenthesesInMultilineCall: false
2904
+ AllowParenthesesInChaining: false
2905
+ AllowParenthesesInCamelCaseMethod: false
2906
+ EnforcedStyle: require_parentheses
2907
+ SupportedStyles:
2908
+ - require_parentheses
2909
+ - omit_parentheses
2910
+
2911
+ Style/MethodCallWithoutArgsParentheses:
2912
+ Description: 'Do not use parentheses for method calls with no arguments.'
2913
+ StyleGuide: '#method-invocation-parens'
2914
+ Enabled: true
2915
+ IgnoredMethods: []
2916
+ VersionAdded: '0.47'
2917
+ VersionChanged: '0.55'
2918
+
2919
+ Style/MethodCalledOnDoEndBlock:
2920
+ Description: 'Avoid chaining a method call on a do...end block.'
2921
+ StyleGuide: '#single-line-blocks'
2922
+ Enabled: false
2923
+ VersionAdded: '0.14'
2924
+
2925
+ Style/MethodDefParentheses:
2926
+ Description: >-
2927
+ Checks if the method definitions have or don't have
2928
+ parentheses.
2929
+ StyleGuide: '#method-parens'
2930
+ Enabled: true
2931
+ VersionAdded: '0.16'
2932
+ VersionChanged: '0.35'
2933
+ EnforcedStyle: require_parentheses
2934
+ SupportedStyles:
2935
+ - require_parentheses
2936
+ - require_no_parentheses
2937
+ - require_no_parentheses_except_multiline
2938
+
2939
+ Style/MethodMissingSuper:
2940
+ Description: Checks for `method_missing` to call `super`.
2941
+ StyleGuide: '#no-method-missing'
2942
+ Enabled: true
2943
+ VersionAdded: '0.56'
2944
+
2945
+ Style/MinMax:
2946
+ Description: >-
2947
+ Use `Enumerable#minmax` instead of `Enumerable#min`
2948
+ and `Enumerable#max` in conjunction.
2949
+ Enabled: true
2950
+ VersionAdded: '0.50'
2951
+
2952
+ Style/MissingElse:
2953
+ Description: >-
2954
+ Require if/case expressions to have an else branches.
2955
+ If enabled, it is recommended that
2956
+ Style/UnlessElse and Style/EmptyElse be enabled.
2957
+ This will conflict with Style/EmptyElse if
2958
+ Style/EmptyElse is configured to style "both".
2959
+ Enabled: false
2960
+ VersionAdded: '0.30'
2961
+ VersionChanged: '0.38'
2962
+ EnforcedStyle: both
2963
+ SupportedStyles:
2964
+ # if - warn when an if expression is missing an else branch
2965
+ # case - warn when a case expression is missing an else branch
2966
+ # both - warn when an if or case expression is missing an else branch
2967
+ - if
2968
+ - case
2969
+ - both
2970
+
2971
+ Style/MissingRespondToMissing:
2972
+ Description: >-
2973
+ Checks if `method_missing` is implemented
2974
+ without implementing `respond_to_missing`.
2975
+ StyleGuide: '#no-method-missing'
2976
+ Enabled: true
2977
+ VersionAdded: '0.56'
2978
+
2979
+ Style/MixinGrouping:
2980
+ Description: 'Checks for grouping of mixins in `class` and `module` bodies.'
2981
+ StyleGuide: '#mixin-grouping'
2982
+ Enabled: true
2983
+ VersionAdded: '0.48'
2984
+ VersionChanged: '0.49'
2985
+ EnforcedStyle: separated
2986
+ SupportedStyles:
2987
+ # separated: each mixed in module goes in a separate statement.
2988
+ # grouped: mixed in modules are grouped into a single statement.
2989
+ - separated
2990
+ - grouped
2991
+
2992
+ Style/MixinUsage:
2993
+ Description: 'Checks that `include`, `extend` and `prepend` exists at the top level.'
2994
+ Enabled: true
2995
+ VersionAdded: '0.51'
2996
+
2997
+ Style/ModuleFunction:
2998
+ Description: 'Checks for usage of `extend self` in modules.'
2999
+ StyleGuide: '#module-function'
3000
+ Enabled: true
3001
+ VersionAdded: '0.11'
3002
+ VersionChanged: '0.65'
3003
+ EnforcedStyle: module_function
3004
+ SupportedStyles:
3005
+ - module_function
3006
+ - extend_self
3007
+ Autocorrect: false
3008
+ SafeAutoCorrect: false
3009
+
3010
+ Style/MultilineBlockChain:
3011
+ Description: 'Avoid multi-line chains of blocks.'
3012
+ StyleGuide: '#single-line-blocks'
3013
+ Enabled: true
3014
+ VersionAdded: '0.13'
3015
+
3016
+ Style/MultilineIfModifier:
3017
+ Description: 'Only use if/unless modifiers on single line statements.'
3018
+ StyleGuide: '#no-multiline-if-modifiers'
3019
+ Enabled: true
3020
+ VersionAdded: '0.45'
3021
+
3022
+ Style/MultilineIfThen:
3023
+ Description: 'Do not use then for multi-line if/unless.'
3024
+ StyleGuide: '#no-then'
3025
+ Enabled: true
3026
+ VersionAdded: '0.9'
3027
+ VersionChanged: '0.26'
3028
+
3029
+ Style/MultilineMemoization:
3030
+ Description: 'Wrap multiline memoizations in a `begin` and `end` block.'
3031
+ Enabled: true
3032
+ VersionAdded: '0.44'
3033
+ VersionChanged: '0.48'
3034
+ EnforcedStyle: keyword
3035
+ SupportedStyles:
3036
+ - keyword
3037
+ - braces
3038
+
3039
+ Style/MultilineMethodSignature:
3040
+ Description: 'Avoid multi-line method signatures.'
3041
+ Enabled: false
3042
+ VersionAdded: '0.59'
3043
+
3044
+ Style/MultilineTernaryOperator:
3045
+ Description: >-
3046
+ Avoid multi-line ?: (the ternary operator);
3047
+ use if/unless instead.
3048
+ StyleGuide: '#no-multiline-ternary'
3049
+ Enabled: true
3050
+ VersionAdded: '0.9'
3051
+
3052
+ Style/MultilineWhenThen:
3053
+ Description: 'Do not use then for multi-line when statement.'
3054
+ StyleGuide: '#no-then'
3055
+ Enabled: true
3056
+ VersionAdded: '0.73'
3057
+
3058
+ Style/MultipleComparison:
3059
+ Description: >-
3060
+ Avoid comparing a variable with multiple items in a conditional,
3061
+ use Array#include? instead.
3062
+ Enabled: true
3063
+ VersionAdded: '0.49'
3064
+
3065
+ Style/MutableConstant:
3066
+ Description: 'Do not assign mutable objects to constants.'
3067
+ Enabled: true
3068
+ VersionAdded: '0.34'
3069
+ VersionChanged: '0.65'
3070
+ EnforcedStyle: literals
3071
+ SupportedStyles:
3072
+ # literals: freeze literals assigned to constants
3073
+ # strict: freeze all constants
3074
+ # Strict mode is considered an experimental feature. It has not been updated
3075
+ # with an exhaustive list of all methods that will produce frozen objects so
3076
+ # there is a decent chance of getting some false positives. Luckily, there is
3077
+ # no harm in freezing an already frozen object.
3078
+ - literals
3079
+ - strict
3080
+
3081
+ Style/NegatedIf:
3082
+ Description: >-
3083
+ Favor unless over if for negative conditions
3084
+ (or control flow or).
3085
+ StyleGuide: '#unless-for-negatives'
3086
+ Enabled: true
3087
+ VersionAdded: '0.20'
3088
+ VersionChanged: '0.48'
3089
+ EnforcedStyle: both
3090
+ SupportedStyles:
3091
+ # both: prefix and postfix negated `if` should both use `unless`
3092
+ # prefix: only use `unless` for negated `if` statements positioned before the body of the statement
3093
+ # postfix: only use `unless` for negated `if` statements positioned after the body of the statement
3094
+ - both
3095
+ - prefix
3096
+ - postfix
3097
+
3098
+ Style/NegatedUnless:
3099
+ Description: 'Favor if over unless for negative conditions.'
3100
+ StyleGuide: '#if-for-negatives'
3101
+ Enabled: true
3102
+ VersionAdded: '0.69'
3103
+ EnforcedStyle: both
3104
+ SupportedStyles:
3105
+ # both: prefix and postfix negated `unless` should both use `if`
3106
+ # prefix: only use `if` for negated `unless` statements positioned before the body of the statement
3107
+ # postfix: only use `if` for negated `unless` statements positioned after the body of the statement
3108
+ - both
3109
+ - prefix
3110
+ - postfix
3111
+
3112
+ Style/NegatedWhile:
3113
+ Description: 'Favor until over while for negative conditions.'
3114
+ StyleGuide: '#until-for-negatives'
3115
+ Enabled: true
3116
+ VersionAdded: '0.20'
3117
+
3118
+ Style/NestedModifier:
3119
+ Description: 'Avoid using nested modifiers.'
3120
+ StyleGuide: '#no-nested-modifiers'
3121
+ Enabled: true
3122
+ VersionAdded: '0.35'
3123
+
3124
+ Style/NestedParenthesizedCalls:
3125
+ Description: >-
3126
+ Parenthesize method calls which are nested inside the
3127
+ argument list of another parenthesized method call.
3128
+ Enabled: true
3129
+ VersionAdded: '0.36'
3130
+ VersionChanged: '0.50'
3131
+ Whitelist:
3132
+ - be
3133
+ - be_a
3134
+ - be_an
3135
+ - be_between
3136
+ - be_falsey
3137
+ - be_kind_of
3138
+ - be_instance_of
3139
+ - be_truthy
3140
+ - be_within
3141
+ - eq
3142
+ - eql
3143
+ - end_with
3144
+ - include
3145
+ - match
3146
+ - raise_error
3147
+ - respond_to
3148
+ - start_with
3149
+
3150
+ Style/NestedTernaryOperator:
3151
+ Description: 'Use one expression per branch in a ternary operator.'
3152
+ StyleGuide: '#no-nested-ternary'
3153
+ Enabled: true
3154
+ VersionAdded: '0.9'
3155
+
3156
+ Style/Next:
3157
+ Description: 'Use `next` to skip iteration instead of a condition at the end.'
3158
+ StyleGuide: '#no-nested-conditionals'
3159
+ Enabled: true
3160
+ VersionAdded: '0.22'
3161
+ VersionChanged: '0.35'
3162
+ # With `always` all conditions at the end of an iteration needs to be
3163
+ # replaced by next - with `skip_modifier_ifs` the modifier if like this one
3164
+ # are ignored: [1, 2].each { |a| return 'yes' if a == 1 }
3165
+ EnforcedStyle: skip_modifier_ifs
3166
+ # `MinBodyLength` defines the number of lines of the a body of an `if` or `unless`
3167
+ # needs to have to trigger this cop
3168
+ MinBodyLength: 3
3169
+ SupportedStyles:
3170
+ - skip_modifier_ifs
3171
+ - always
3172
+
3173
+ Style/NilComparison:
3174
+ Description: 'Prefer x.nil? to x == nil.'
3175
+ StyleGuide: '#predicate-methods'
3176
+ Enabled: true
3177
+ VersionAdded: '0.12'
3178
+ VersionChanged: '0.59'
3179
+ EnforcedStyle: predicate
3180
+ SupportedStyles:
3181
+ - predicate
3182
+ - comparison
3183
+
3184
+ Style/NonNilCheck:
3185
+ Description: 'Checks for redundant nil checks.'
3186
+ StyleGuide: '#no-non-nil-checks'
3187
+ Enabled: true
3188
+ VersionAdded: '0.20'
3189
+ VersionChanged: '0.22'
3190
+ # With `IncludeSemanticChanges` set to `true`, this cop reports offenses for
3191
+ # `!x.nil?` and autocorrects that and `x != nil` to solely `x`, which is
3192
+ # **usually** OK, but might change behavior.
3193
+ #
3194
+ # With `IncludeSemanticChanges` set to `false`, this cop does not report
3195
+ # offenses for `!x.nil?` and does no changes that might change behavior.
3196
+ IncludeSemanticChanges: false
3197
+
3198
+ Style/Not:
3199
+ Description: 'Use ! instead of not.'
3200
+ StyleGuide: '#bang-not-not'
3201
+ Enabled: true
3202
+ VersionAdded: '0.9'
3203
+ VersionChanged: '0.20'
3204
+
3205
+ Style/NumericLiteralPrefix:
3206
+ Description: 'Use smallcase prefixes for numeric literals.'
3207
+ StyleGuide: '#numeric-literal-prefixes'
3208
+ Enabled: true
3209
+ VersionAdded: '0.41'
3210
+ EnforcedOctalStyle: zero_with_o
3211
+ SupportedOctalStyles:
3212
+ - zero_with_o
3213
+ - zero_only
3214
+
3215
+
3216
+ Style/NumericLiterals:
3217
+ Description: >-
3218
+ Add underscores to large numeric literals to improve their
3219
+ readability.
3220
+ StyleGuide: '#underscores-in-numerics'
3221
+ Enabled: true
3222
+ VersionAdded: '0.9'
3223
+ VersionChanged: '0.48'
3224
+ MinDigits: 5
3225
+ Strict: false
3226
+
3227
+ Style/NumericPredicate:
3228
+ Description: >-
3229
+ Checks for the use of predicate- or comparison methods for
3230
+ numeric comparisons.
3231
+ StyleGuide: '#predicate-methods'
3232
+ Safe: false
3233
+ # This will change to a new method call which isn't guaranteed to be on the
3234
+ # object. Switching these methods has to be done with knowledge of the types
3235
+ # of the variables which rubocop doesn't have.
3236
+ SafeAutoCorrect: false
3237
+ AutoCorrect: false
3238
+ Enabled: true
3239
+ VersionAdded: '0.42'
3240
+ VersionChanged: '0.59'
3241
+ EnforcedStyle: predicate
3242
+ SupportedStyles:
3243
+ - predicate
3244
+ - comparison
3245
+ IgnoredMethods: []
3246
+ # Exclude RSpec specs because assertions like `expect(1).to be > 0` cause
3247
+ # false positives.
3248
+ Exclude:
3249
+ - 'spec/**/*'
3250
+
3251
+ Style/OneLineConditional:
3252
+ Description: >-
3253
+ Favor the ternary operator(?:) over
3254
+ if/then/else/end constructs.
3255
+ StyleGuide: '#ternary-operator'
3256
+ Enabled: true
3257
+ VersionAdded: '0.9'
3258
+ VersionChanged: '0.38'
3259
+
3260
+ Style/OptionHash:
3261
+ Description: "Don't use option hashes when you can use keyword arguments."
3262
+ Enabled: false
3263
+ VersionAdded: '0.33'
3264
+ VersionChanged: '0.34'
3265
+ # A list of parameter names that will be flagged by this cop.
3266
+ SuspiciousParamNames:
3267
+ - options
3268
+ - opts
3269
+ - args
3270
+ - params
3271
+ - parameters
3272
+
3273
+ Style/OptionalArguments:
3274
+ Description: >-
3275
+ Checks for optional arguments that do not appear at the end
3276
+ of the argument list.
3277
+ StyleGuide: '#optional-arguments'
3278
+ Enabled: true
3279
+ VersionAdded: '0.33'
3280
+
3281
+ Style/OrAssignment:
3282
+ Description: 'Recommend usage of double pipe equals (||=) where applicable.'
3283
+ StyleGuide: '#double-pipe-for-uninit'
3284
+ Enabled: true
3285
+ VersionAdded: '0.50'
3286
+
3287
+ Style/ParallelAssignment:
3288
+ Description: >-
3289
+ Check for simple usages of parallel assignment.
3290
+ It will only warn when the number of variables
3291
+ matches on both sides of the assignment.
3292
+ StyleGuide: '#parallel-assignment'
3293
+ Enabled: true
3294
+ VersionAdded: '0.32'
3295
+
3296
+ Style/ParenthesesAroundCondition:
3297
+ Description: >-
3298
+ Don't use parentheses around the condition of an
3299
+ if/unless/while.
3300
+ StyleGuide: '#no-parens-around-condition'
3301
+ Enabled: true
3302
+ VersionAdded: '0.9'
3303
+ VersionChanged: '0.56'
3304
+ AllowSafeAssignment: true
3305
+ AllowInMultilineConditions: false
3306
+
3307
+ Style/PercentLiteralDelimiters:
3308
+ Description: 'Use `%`-literal delimiters consistently.'
3309
+ StyleGuide: '#percent-literal-braces'
3310
+ Enabled: true
3311
+ VersionAdded: '0.19'
3312
+ # Specify the default preferred delimiter for all types with the 'default' key
3313
+ # Override individual delimiters (even with default specified) by specifying
3314
+ # an individual key
3315
+ PreferredDelimiters:
3316
+ default: ()
3317
+ '%i': '[]'
3318
+ '%I': '[]'
3319
+ '%r': '{}'
3320
+ '%w': '[]'
3321
+ '%W': '[]'
3322
+ VersionChanged: '0.48.1'
3323
+
3324
+ Style/PercentQLiterals:
3325
+ Description: 'Checks if uses of %Q/%q match the configured preference.'
3326
+ Enabled: true
3327
+ VersionAdded: '0.25'
3328
+ EnforcedStyle: lower_case_q
3329
+ SupportedStyles:
3330
+ - lower_case_q # Use `%q` when possible, `%Q` when necessary
3331
+ - upper_case_q # Always use `%Q`
3332
+
3333
+ Style/PerlBackrefs:
3334
+ Description: 'Avoid Perl-style regex back references.'
3335
+ StyleGuide: '#no-perl-regexp-last-matchers'
3336
+ Enabled: true
3337
+ VersionAdded: '0.13'
3338
+
3339
+ Style/PreferredHashMethods:
3340
+ Description: 'Checks use of `has_key?` and `has_value?` Hash methods.'
3341
+ StyleGuide: '#hash-key'
3342
+ Enabled: true
3343
+ Safe: false
3344
+ VersionAdded: '0.41'
3345
+ VersionChanged: '0.70'
3346
+ EnforcedStyle: short
3347
+ SupportedStyles:
3348
+ - short
3349
+ - verbose
3350
+
3351
+ Style/Proc:
3352
+ Description: 'Use proc instead of Proc.new.'
3353
+ StyleGuide: '#proc'
3354
+ Enabled: true
3355
+ VersionAdded: '0.9'
3356
+ VersionChanged: '0.18'
3357
+
3358
+ Style/RaiseArgs:
3359
+ Description: 'Checks the arguments passed to raise/fail.'
3360
+ StyleGuide: '#exception-class-messages'
3361
+ Enabled: true
3362
+ VersionAdded: '0.14'
3363
+ VersionChanged: '0.40'
3364
+ EnforcedStyle: exploded
3365
+ SupportedStyles:
3366
+ - compact # raise Exception.new(msg)
3367
+ - exploded # raise Exception, msg
3368
+
3369
+ Style/RandomWithOffset:
3370
+ Description: >-
3371
+ Prefer to use ranges when generating random numbers instead of
3372
+ integers with offsets.
3373
+ StyleGuide: '#random-numbers'
3374
+ Enabled: true
3375
+ VersionAdded: '0.52'
3376
+
3377
+ Style/RedundantBegin:
3378
+ Description: "Don't use begin blocks when they are not needed."
3379
+ StyleGuide: '#begin-implicit'
3380
+ Enabled: true
3381
+ VersionAdded: '0.10'
3382
+ VersionChanged: '0.21'
3383
+
3384
+ Style/RedundantConditional:
3385
+ Description: "Don't return true/false from a conditional."
3386
+ Enabled: true
3387
+ VersionAdded: '0.50'
3388
+
3389
+ Style/RedundantException:
3390
+ Description: "Checks for an obsolete RuntimeException argument in raise/fail."
3391
+ StyleGuide: '#no-explicit-runtimeerror'
3392
+ Enabled: true
3393
+ VersionAdded: '0.14'
3394
+ VersionChanged: '0.29'
3395
+
3396
+ Style/RedundantFreeze:
3397
+ Description: "Checks usages of Object#freeze on immutable objects."
3398
+ Enabled: true
3399
+ VersionAdded: '0.34'
3400
+ VersionChanged: '0.66'
3401
+
3402
+ Style/RedundantParentheses:
3403
+ Description: "Checks for parentheses that seem not to serve any purpose."
3404
+ Enabled: true
3405
+ VersionAdded: '0.36'
3406
+
3407
+ Style/RedundantReturn:
3408
+ Description: "Don't use return where it's not required."
3409
+ StyleGuide: '#no-explicit-return'
3410
+ Enabled: true
3411
+ VersionAdded: '0.10'
3412
+ VersionChanged: '0.14'
3413
+ # When `true` allows code like `return x, y`.
3414
+ AllowMultipleReturnValues: false
3415
+
3416
+ Style/RedundantSelf:
3417
+ Description: "Don't use self where it's not needed."
3418
+ StyleGuide: '#no-self-unless-required'
3419
+ Enabled: true
3420
+ VersionAdded: '0.10'
3421
+ VersionChanged: '0.13'
3422
+
3423
+ Style/RedundantSortBy:
3424
+ Description: 'Use `sort` instead of `sort_by { |x| x }`.'
3425
+ Enabled: true
3426
+ VersionAdded: '0.36'
3427
+
3428
+ Style/RegexpLiteral:
3429
+ Description: 'Use / or %r around regular expressions.'
3430
+ StyleGuide: '#percent-r'
3431
+ Enabled: true
3432
+ VersionAdded: '0.9'
3433
+ VersionChanged: '0.30'
3434
+ EnforcedStyle: slashes
3435
+ # slashes: Always use slashes.
3436
+ # percent_r: Always use `%r`.
3437
+ # mixed: Use slashes on single-line regexes, and `%r` on multi-line regexes.
3438
+ SupportedStyles:
3439
+ - slashes
3440
+ - percent_r
3441
+ - mixed
3442
+ # If `false`, the cop will always recommend using `%r` if one or more slashes
3443
+ # are found in the regexp string.
3444
+ AllowInnerSlashes: false
3445
+
3446
+ Style/RescueModifier:
3447
+ Description: 'Avoid using rescue in its modifier form.'
3448
+ StyleGuide: '#no-rescue-modifiers'
3449
+ Enabled: true
3450
+ VersionAdded: '0.9'
3451
+ VersionChanged: '0.34'
3452
+
3453
+ Style/RescueStandardError:
3454
+ Description: 'Avoid rescuing without specifying an error class.'
3455
+ Enabled: true
3456
+ VersionAdded: '0.52'
3457
+ EnforcedStyle: explicit
3458
+ # implicit: Do not include the error class, `rescue`
3459
+ # explicit: Require an error class `rescue StandardError`
3460
+ SupportedStyles:
3461
+ - implicit
3462
+ - explicit
3463
+
3464
+ Style/ReturnNil:
3465
+ Description: 'Use return instead of return nil.'
3466
+ Enabled: false
3467
+ EnforcedStyle: return
3468
+ SupportedStyles:
3469
+ - return
3470
+ - return_nil
3471
+ VersionAdded: '0.50'
3472
+
3473
+ Style/SafeNavigation:
3474
+ Description: >-
3475
+ This cop transforms usages of a method call safeguarded by
3476
+ a check for the existence of the object to
3477
+ safe navigation (`&.`).
3478
+ Enabled: true
3479
+ VersionAdded: '0.43'
3480
+ VersionChanged: '0.56'
3481
+ # Safe navigation may cause a statement to start returning `nil` in addition
3482
+ # to whatever it used to return.
3483
+ ConvertCodeThatCanStartToReturnNil: false
3484
+ Whitelist:
3485
+ - present?
3486
+ - blank?
3487
+ - presence
3488
+ - try
3489
+ - try!
3490
+
3491
+ Style/Sample:
3492
+ Description: >-
3493
+ Use `sample` instead of `shuffle.first`,
3494
+ `shuffle.last`, and `shuffle[Integer]`.
3495
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
3496
+ Enabled: true
3497
+ VersionAdded: '0.30'
3498
+
3499
+ Style/SelfAssignment:
3500
+ Description: >-
3501
+ Checks for places where self-assignment shorthand should have
3502
+ been used.
3503
+ StyleGuide: '#self-assignment'
3504
+ Enabled: true
3505
+ VersionAdded: '0.19'
3506
+ VersionChanged: '0.29'
3507
+
3508
+ Style/Semicolon:
3509
+ Description: "Don't use semicolons to terminate expressions."
3510
+ StyleGuide: '#no-semicolon'
3511
+ Enabled: true
3512
+ VersionAdded: '0.9'
3513
+ VersionChanged: '0.19'
3514
+ # Allow `;` to separate several expressions on the same line.
3515
+ AllowAsExpressionSeparator: false
3516
+
3517
+ Style/Send:
3518
+ Description: 'Prefer `Object#__send__` or `Object#public_send` to `send`, as `send` may overlap with existing methods.'
3519
+ StyleGuide: '#prefer-public-send'
3520
+ Enabled: false
3521
+ VersionAdded: '0.33'
3522
+
3523
+ Style/SignalException:
3524
+ Description: 'Checks for proper usage of fail and raise.'
3525
+ StyleGuide: '#prefer-raise-over-fail'
3526
+ Enabled: true
3527
+ VersionAdded: '0.11'
3528
+ VersionChanged: '0.37'
3529
+ EnforcedStyle: only_raise
3530
+ SupportedStyles:
3531
+ - only_raise
3532
+ - only_fail
3533
+ - semantic
3534
+
3535
+ Style/SingleLineBlockParams:
3536
+ Description: 'Enforces the names of some block params.'
3537
+ Enabled: false
3538
+ VersionAdded: '0.16'
3539
+ VersionChanged: '0.47'
3540
+ Methods:
3541
+ - reduce:
3542
+ - acc
3543
+ - elem
3544
+ - inject:
3545
+ - acc
3546
+ - elem
3547
+
3548
+ Style/SingleLineMethods:
3549
+ Description: 'Avoid single-line methods.'
3550
+ StyleGuide: '#no-single-line-methods'
3551
+ Enabled: true
3552
+ VersionAdded: '0.9'
3553
+ VersionChanged: '0.19'
3554
+ AllowIfMethodIsEmpty: true
3555
+
3556
+ Style/SpecialGlobalVars:
3557
+ Description: 'Avoid Perl-style global variables.'
3558
+ StyleGuide: '#no-cryptic-perlisms'
3559
+ Enabled: true
3560
+ VersionAdded: '0.13'
3561
+ VersionChanged: '0.36'
3562
+ SafeAutoCorrect: false
3563
+ EnforcedStyle: use_english_names
3564
+ SupportedStyles:
3565
+ - use_perl_names
3566
+ - use_english_names
3567
+
3568
+ Style/StabbyLambdaParentheses:
3569
+ Description: 'Check for the usage of parentheses around stabby lambda arguments.'
3570
+ StyleGuide: '#stabby-lambda-with-args'
3571
+ Enabled: true
3572
+ VersionAdded: '0.35'
3573
+ EnforcedStyle: require_parentheses
3574
+ SupportedStyles:
3575
+ - require_parentheses
3576
+ - require_no_parentheses
3577
+
3578
+ Style/StderrPuts:
3579
+ Description: 'Use `warn` instead of `$stderr.puts`.'
3580
+ StyleGuide: '#warn'
3581
+ Enabled: true
3582
+ VersionAdded: '0.51'
3583
+
3584
+ Style/StringHashKeys:
3585
+ Description: 'Prefer symbols instead of strings as hash keys.'
3586
+ StyleGuide: '#symbols-as-keys'
3587
+ Enabled: false
3588
+ VersionAdded: '0.52'
3589
+
3590
+ Style/StringLiterals:
3591
+ Description: 'Checks if uses of quotes match the configured preference.'
3592
+ StyleGuide: '#consistent-string-literals'
3593
+ Enabled: true
3594
+ VersionAdded: '0.9'
3595
+ VersionChanged: '0.36'
3596
+ EnforcedStyle: single_quotes
3597
+ SupportedStyles:
3598
+ - single_quotes
3599
+ - double_quotes
3600
+ # If `true`, strings which span multiple lines using `\` for continuation must
3601
+ # use the same type of quotes on each line.
3602
+ ConsistentQuotesInMultiline: false
3603
+
3604
+ Style/StringLiteralsInInterpolation:
3605
+ Description: >-
3606
+ Checks if uses of quotes inside expressions in interpolated
3607
+ strings match the configured preference.
3608
+ Enabled: true
3609
+ VersionAdded: '0.27'
3610
+ EnforcedStyle: single_quotes
3611
+ SupportedStyles:
3612
+ - single_quotes
3613
+ - double_quotes
3614
+
3615
+ Style/StringMethods:
3616
+ Description: 'Checks if configured preferred methods are used over non-preferred.'
3617
+ Enabled: false
3618
+ VersionAdded: '0.34'
3619
+ VersionChanged: '0.34.2'
3620
+ # Mapping from undesired method to desired_method
3621
+ # e.g. to use `to_sym` over `intern`:
3622
+ #
3623
+ # StringMethods:
3624
+ # PreferredMethods:
3625
+ # intern: to_sym
3626
+ PreferredMethods:
3627
+ intern: to_sym
3628
+
3629
+ Style/Strip:
3630
+ Description: 'Use `strip` instead of `lstrip.rstrip`.'
3631
+ Enabled: true
3632
+ VersionAdded: '0.36'
3633
+
3634
+ Style/StructInheritance:
3635
+ Description: 'Checks for inheritance from Struct.new.'
3636
+ StyleGuide: '#no-extend-struct-new'
3637
+ Enabled: true
3638
+ VersionAdded: '0.29'
3639
+
3640
+ Style/SymbolArray:
3641
+ Description: 'Use %i or %I for arrays of symbols.'
3642
+ StyleGuide: '#percent-i'
3643
+ Enabled: true
3644
+ VersionAdded: '0.9'
3645
+ VersionChanged: '0.49'
3646
+ EnforcedStyle: percent
3647
+ MinSize: 2
3648
+ SupportedStyles:
3649
+ - percent
3650
+ - brackets
3651
+
3652
+ Style/SymbolLiteral:
3653
+ Description: 'Use plain symbols instead of string symbols when possible.'
3654
+ Enabled: true
3655
+ VersionAdded: '0.30'
3656
+
3657
+ Style/SymbolProc:
3658
+ Description: 'Use symbols as procs instead of blocks when possible.'
3659
+ Enabled: true
3660
+ SafeAutoCorrect: false
3661
+ VersionAdded: '0.26'
3662
+ VersionChanged: '0.64'
3663
+ # A list of method names to be ignored by the check.
3664
+ # The names should be fairly unique, otherwise you'll end up ignoring lots of code.
3665
+ IgnoredMethods:
3666
+ - respond_to
3667
+ - define_method
3668
+
3669
+ Style/TernaryParentheses:
3670
+ Description: 'Checks for use of parentheses around ternary conditions.'
3671
+ Enabled: true
3672
+ VersionAdded: '0.42'
3673
+ VersionChanged: '0.46'
3674
+ EnforcedStyle: require_no_parentheses
3675
+ SupportedStyles:
3676
+ - require_parentheses
3677
+ - require_no_parentheses
3678
+ - require_parentheses_when_complex
3679
+ AllowSafeAssignment: true
3680
+
3681
+ Style/TrailingBodyOnClass:
3682
+ Description: 'Class body goes below class statement.'
3683
+ Enabled: true
3684
+ VersionAdded: '0.53'
3685
+
3686
+ Style/TrailingBodyOnMethodDefinition:
3687
+ Description: 'Method body goes below definition.'
3688
+ Enabled: true
3689
+ VersionAdded: '0.52'
3690
+
3691
+ Style/TrailingBodyOnModule:
3692
+ Description: 'Module body goes below module statement.'
3693
+ Enabled: true
3694
+ VersionAdded: '0.53'
3695
+
3696
+ Style/TrailingCommaInArguments:
3697
+ Description: 'Checks for trailing comma in argument lists.'
3698
+ StyleGuide: '#no-trailing-params-comma'
3699
+ Enabled: true
3700
+ VersionAdded: '0.36'
3701
+ # If `comma`, the cop requires a comma after the last argument, but only for
3702
+ # parenthesized method calls where each argument is on its own line.
3703
+ # If `consistent_comma`, the cop requires a comma after the last argument,
3704
+ # for all parenthesized method calls with arguments.
3705
+ EnforcedStyleForMultiline: no_comma
3706
+ SupportedStylesForMultiline:
3707
+ - comma
3708
+ - consistent_comma
3709
+ - no_comma
3710
+
3711
+ Style/TrailingCommaInArrayLiteral:
3712
+ Description: 'Checks for trailing comma in array literals.'
3713
+ StyleGuide: '#no-trailing-array-commas'
3714
+ Enabled: true
3715
+ VersionAdded: '0.53'
3716
+ # but only when each item is on its own line.
3717
+ # If `consistent_comma`, the cop requires a comma after the last item of all
3718
+ # non-empty array literals.
3719
+ EnforcedStyleForMultiline: no_comma
3720
+ SupportedStylesForMultiline:
3721
+ - comma
3722
+ - consistent_comma
3723
+ - no_comma
3724
+
3725
+ Style/TrailingCommaInHashLiteral:
3726
+ Description: 'Checks for trailing comma in hash literals.'
3727
+ Enabled: true
3728
+ # If `comma`, the cop requires a comma after the last item in a hash,
3729
+ # but only when each item is on its own line.
3730
+ # If `consistent_comma`, the cop requires a comma after the last item of all
3731
+ # non-empty hash literals.
3732
+ EnforcedStyleForMultiline: no_comma
3733
+ SupportedStylesForMultiline:
3734
+ - comma
3735
+ - consistent_comma
3736
+ - no_comma
3737
+ VersionAdded: '0.53'
3738
+
3739
+ Style/TrailingMethodEndStatement:
3740
+ Description: 'Checks for trailing end statement on line of method body.'
3741
+ Enabled: true
3742
+ VersionAdded: '0.52'
3743
+
3744
+ Style/TrailingUnderscoreVariable:
3745
+ Description: >-
3746
+ Checks for the usage of unneeded trailing underscores at the
3747
+ end of parallel variable assignment.
3748
+ AllowNamedUnderscoreVariables: true
3749
+ Enabled: true
3750
+ VersionAdded: '0.31'
3751
+ VersionChanged: '0.35'
3752
+
3753
+ # `TrivialAccessors` requires exact name matches and doesn't allow
3754
+ # predicated methods by default.
3755
+ Style/TrivialAccessors:
3756
+ Description: 'Prefer attr_* methods to trivial readers/writers.'
3757
+ StyleGuide: '#attr_family'
3758
+ Enabled: true
3759
+ VersionAdded: '0.9'
3760
+ VersionChanged: '0.38'
3761
+ # When set to `false` the cop will suggest the use of accessor methods
3762
+ # in situations like:
3763
+ #
3764
+ # def name
3765
+ # @other_name
3766
+ # end
3767
+ #
3768
+ # This way you can uncover "hidden" attributes in your code.
3769
+ ExactNameMatch: true
3770
+ AllowPredicates: true
3771
+ # Allows trivial writers that don't end in an equal sign. e.g.
3772
+ #
3773
+ # def on_exception(action)
3774
+ # @on_exception=action
3775
+ # end
3776
+ # on_exception :restart
3777
+ #
3778
+ # Commonly used in DSLs
3779
+ AllowDSLWriters: false
3780
+ IgnoreClassMethods: false
3781
+ Whitelist:
3782
+ - to_ary
3783
+ - to_a
3784
+ - to_c
3785
+ - to_enum
3786
+ - to_h
3787
+ - to_hash
3788
+ - to_i
3789
+ - to_int
3790
+ - to_io
3791
+ - to_open
3792
+ - to_path
3793
+ - to_proc
3794
+ - to_r
3795
+ - to_regexp
3796
+ - to_str
3797
+ - to_s
3798
+ - to_sym
3799
+
3800
+ Style/UnlessElse:
3801
+ Description: >-
3802
+ Do not use unless with else. Rewrite these with the positive
3803
+ case first.
3804
+ StyleGuide: '#no-else-with-unless'
3805
+ Enabled: true
3806
+ VersionAdded: '0.9'
3807
+
3808
+ Style/UnneededCapitalW:
3809
+ Description: 'Checks for %W when interpolation is not needed.'
3810
+ Enabled: true
3811
+ VersionAdded: '0.21'
3812
+ VersionChanged: '0.24'
3813
+
3814
+ Style/UnneededCondition:
3815
+ Description: 'Checks for unnecessary conditional expressions.'
3816
+ Enabled: true
3817
+ VersionAdded: '0.57'
3818
+
3819
+ Style/UnneededInterpolation:
3820
+ Description: 'Checks for strings that are just an interpolated expression.'
3821
+ Enabled: true
3822
+ VersionAdded: '0.36'
3823
+
3824
+ Style/UnneededPercentQ:
3825
+ Description: 'Checks for %q/%Q when single quotes or double quotes would do.'
3826
+ StyleGuide: '#percent-q'
3827
+ Enabled: true
3828
+ VersionAdded: '0.24'
3829
+
3830
+ Style/UnneededSort:
3831
+ Description: >-
3832
+ Use `min` instead of `sort.first`,
3833
+ `max_by` instead of `sort_by...last`, etc.
3834
+ Enabled: true
3835
+ VersionAdded: '0.55'
3836
+
3837
+ Style/UnpackFirst:
3838
+ Description: >-
3839
+ Checks for accessing the first element of `String#unpack`
3840
+ instead of using `unpack1`.
3841
+ Enabled: true
3842
+ VersionAdded: '0.54'
3843
+
3844
+ Style/VariableInterpolation:
3845
+ Description: >-
3846
+ Don't interpolate global, instance and class variables
3847
+ directly in strings.
3848
+ StyleGuide: '#curlies-interpolate'
3849
+ Enabled: true
3850
+ VersionAdded: '0.9'
3851
+ VersionChanged: '0.20'
3852
+
3853
+ Style/WhenThen:
3854
+ Description: 'Use when x then ... for one-line cases.'
3855
+ StyleGuide: '#one-line-cases'
3856
+ Enabled: true
3857
+ VersionAdded: '0.9'
3858
+
3859
+ Style/WhileUntilDo:
3860
+ Description: 'Checks for redundant do after while or until.'
3861
+ StyleGuide: '#no-multiline-while-do'
3862
+ Enabled: true
3863
+ VersionAdded: '0.9'
3864
+
3865
+ Style/WhileUntilModifier:
3866
+ Description: >-
3867
+ Favor modifier while/until usage when you have a
3868
+ single-line body.
3869
+ StyleGuide: '#while-as-a-modifier'
3870
+ Enabled: true
3871
+ VersionAdded: '0.9'
3872
+ VersionChanged: '0.30'
3873
+
3874
+ Style/WordArray:
3875
+ Description: 'Use %w or %W for arrays of words.'
3876
+ StyleGuide: '#percent-w'
3877
+ Enabled: true
3878
+ VersionAdded: '0.9'
3879
+ VersionChanged: '0.36'
3880
+ EnforcedStyle: percent
3881
+ SupportedStyles:
3882
+ # percent style: %w(word1 word2)
3883
+ - percent
3884
+ # bracket style: ['word1', 'word2']
3885
+ - brackets
3886
+ # The `MinSize` option causes the `WordArray` rule to be ignored for arrays
3887
+ # smaller than a certain size. The rule is only applied to arrays
3888
+ # whose element count is greater than or equal to `MinSize`.
3889
+ MinSize: 2
3890
+ # The regular expression `WordRegex` decides what is considered a word.
3891
+ WordRegex: !ruby/regexp '/\A(?:\p{Word}|\p{Word}-\p{Word}|\n|\t)+\z/'
3892
+
3893
+ Style/YodaCondition:
3894
+ Description: 'Forbid or enforce yoda conditions.'
3895
+ Reference: 'https://en.wikipedia.org/wiki/Yoda_conditions'
3896
+ Enabled: true
3897
+ EnforcedStyle: forbid_for_all_comparison_operators
3898
+ SupportedStyles:
3899
+ # check all comparison operators
3900
+ - forbid_for_all_comparison_operators
3901
+ # check only equality operators: `!=` and `==`
3902
+ - forbid_for_equality_operators_only
3903
+ # enforce yoda for all comparison operators
3904
+ - require_for_all_comparison_operators
3905
+ # enforce yoda only for equality operators: `!=` and `==`
3906
+ - require_for_equality_operators_only
3907
+ VersionAdded: '0.49'
3908
+ VersionChanged: '0.63'
3909
+
3910
+ Style/ZeroLengthPredicate:
3911
+ Description: 'Use #empty? when testing for objects of length 0.'
3912
+ Enabled: true
3913
+ Safe: false
3914
+ VersionAdded: '0.37'
3915
+ VersionChanged: '0.39'