mx-platform-ruby 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +4 -4
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/vendor/bundle/ruby/2.6.0/bin/byebug +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/coderay +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.6.0/bin/pry +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rubocop +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/ruby-parse +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/ruby-rewrite +27 -0
- data/vendor/bundle/ruby/2.6.0/cache/ast-2.4.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/byebug-11.1.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/coderay-1.1.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-1.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-em_http-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-em_synchrony-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-excon-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-httpclient-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-net_http-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-net_http_persistent-1.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-patron-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-rack-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/jaro_winkler-1.5.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/method_source-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/multipart-post-2.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/parallel-1.20.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/parser-3.0.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/pry-0.13.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/pry-byebug-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/psych-4.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rainbow-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rake-13.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rubocop-0.66.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ruby-progressbar-1.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ruby2_keywords-0.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/unicode-display_width-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/byebug-11.1.3/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/byebug-11.1.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/byebug-11.1.3/gem_make.out +19 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/jaro_winkler-1.5.4/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/jaro_winkler-1.5.4/gem_make.out +83 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/psych-4.0.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/psych-4.0.1/gem_make.out +41 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/psych-4.0.1/mkmf.log +196 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/psych-4.0.1/psych.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.2/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.2/lib/ast/node.rb +268 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.2/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.2/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.2/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/CONTRIBUTING.md +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/GUIDE.md +1806 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/LICENSE +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/README.md +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/exe/byebug +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/.sitearchdir.-.byebug.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/Makefile +266 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/breakpoint.c +517 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/breakpoint.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/byebug.c +900 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/byebug.h +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/byebug.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/context.c +686 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/context.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/locker.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/threads.c +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/ext/byebug/threads.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/breakpoint.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/break.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/catch.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/condition.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/continue.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/delete.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/edit.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info/breakpoints.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info/display.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info/file.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/irb.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/kill.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/pry.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/skip.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/source.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/thread/resume.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/tracevar.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/undisplay.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/var/const.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/commands/where.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/core.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/eval.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/file.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/parse.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/string.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/toggle.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/helpers/var.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/history.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/interfaces/local_interface.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/interfaces/script_interface.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/printers/base.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/remote/client.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/byebug-11.1.3/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/bin/coderay +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/html/output.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/java_script.rb +236 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/tokens.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/coderay-1.1.3/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/.rspec +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/License.md +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Manifest.txt +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Rakefile +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/bin/ldiff +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +739 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +358 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +304 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +375 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/CHANGELOG.md +380 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/README.md +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/Rakefile +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/examples/client_spec.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/examples/client_test.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday.rb +185 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/adapter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/adapter/test.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/adapter/typhoeus.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/adapter_registry.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/autoload.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/connection.rb +622 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/dependency_loader.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/encoders/flat_params_encoder.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/encoders/nested_params_encoder.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/error.rb +152 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/file_part.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/logging/formatter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/methods.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/middleware.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/middleware_registry.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/options.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/options/connection_options.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/options/env.rb +181 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/options/proxy_options.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/options/request_options.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/options/ssl_options.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/param_part.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/parameters.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/rack_builder.rb +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/request.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/request/authorization.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/request/basic_authentication.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/request/instrumentation.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/request/multipart.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/request/retry.rb +239 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/request/token_authentication.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/request/url_encoded.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/response.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/response/logger.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/response/raise_error.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/utils.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/utils/headers.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/utils/params_hash.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/lib/faraday/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/external_adapters/faraday_specs_setup.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/em_http_spec.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/em_synchrony_spec.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/excon_spec.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/httpclient_spec.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/net_http_spec.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/patron_spec.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/rack_spec.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/test_spec.rb +345 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter/typhoeus_spec.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter_registry_spec.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/adapter_spec.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/composite_read_io_spec.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/connection_spec.rb +736 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/error_spec.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/middleware_spec.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/options/env_spec.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/options/options_spec.rb +297 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/options/proxy_options_spec.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/options/request_options_spec.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/params_encoders/flat_spec.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/params_encoders/nested_spec.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/rack_builder_spec.rb +345 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/request/authorization_spec.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/request/instrumentation_spec.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/request/multipart_spec.rb +302 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/request/retry_spec.rb +242 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/request/url_encoded_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/request_spec.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/response/logger_spec.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/response/middleware_spec.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/response/raise_error_spec.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/response_spec.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/utils/headers_spec.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday/utils_spec.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/faraday_spec.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/spec_helper.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/support/disabling_stub.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/support/fake_safe_buffer.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/support/helper_methods.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/support/shared_examples/adapter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/support/shared_examples/params_encoder.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/support/shared_examples/request_method.rb +262 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/support/streaming_response_checker.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.7.0/spec/support/webmock_rack_app.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/README.md +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/lib/faraday/adapter/em_http.rb +289 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/lib/faraday/adapter/em_http_ssl_patch.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/lib/faraday/em_http.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/lib/faraday/em_http/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/README.md +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/lib/faraday/adapter/em_synchrony.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/lib/faraday/adapter/em_synchrony/parallel_manager.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/lib/faraday/em_synchrony.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/lib/faraday/em_synchrony/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/README.md +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/lib/faraday/adapter/excon.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/lib/faraday/excon.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/lib/faraday/excon/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/README.md +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/lib/faraday/adapter/httpclient.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/lib/faraday/httpclient.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/lib/faraday/httpclient/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/README.md +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb +213 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/lib/faraday/net_http.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/lib/faraday/net_http/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/README.md +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/lib/faraday/adapter/net_http_persistent.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/lib/faraday/net_http_persistent.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/lib/faraday/net_http_persistent/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/README.md +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/lib/faraday/adapter/patron.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/lib/faraday/patron.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/lib/faraday/patron/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/README.md +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/lib/faraday/adapter/rack.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/lib/faraday/rack.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/lib/faraday/rack/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/.sitearchdir.-.jaro_winkler.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +266 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.c +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/.circleci/config.yml +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/.gemtest +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/.yardopts +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/CHANGELOG.md +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/Gemfile +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/README.markdown +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/Rakefile +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/lib/method_source.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/method_source.gemspec +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/spec/method_source_spec.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/method_source-1.0.0/spec/spec_helper.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/.gitignore +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/.rspec +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/.travis.yml +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/.yardopts +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/Gemfile +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/History.txt +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/LICENSE +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/Manifest.txt +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/README.md +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/Rakefile +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/composite_io.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/multipart_post.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/multipartable.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/net/http/post/multipart.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/parts.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/multipart-post.gemspec +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/composite_io_spec.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/multibyte.txt +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/net/http/post/multipart_spec.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/parts_spec.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.20.1/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.20.1/lib/parallel.rb +523 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.20.1/lib/parallel/processor_count.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.20.1/lib/parallel/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/all.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ast/processor.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/base.rb +291 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/builders/default.rb +2224 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/context.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/current.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/current_arg_stack.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/lexer.rb +23840 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/lexer/dedenter.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/lexer/literal.rb +269 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/macruby.rb +6149 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/max_numparam_stack.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/messages.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/meta.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby18.rb +5667 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby19.rb +6092 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby20.rb +6527 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby21.rb +6578 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby22.rb +6613 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby23.rb +6624 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby24.rb +6694 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby25.rb +6662 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby26.rb +6676 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby27.rb +7862 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby28.rb +8047 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby30.rb +8060 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/ruby31.rb +8226 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/rubymotion.rb +6086 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/runner.rb +282 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/buffer.rb +355 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/comment.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/comment/associator.rb +233 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/method_definition.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/tree_rewriter.rb +431 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/source/tree_rewriter/action.rb +242 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/static_environment.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/variables_stack.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-3.0.2.0/parser.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/CHANGELOG.md +1076 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/LICENSE +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/README.md +452 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/bin/pry +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/basic_object.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/block_command.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/class_command.rb +194 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/cli.rb +227 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/code.rb +365 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/code/code_file.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/code/code_range.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/code/loc.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/code_object.rb +197 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/color_printer.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/command.rb +520 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/command_set.rb +418 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/command_state.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/amend_line.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/bang.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/bang_pry.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/cat.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/cat/abstract_formatter.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/cat/exception_formatter.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/cat/file_formatter.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/cat/input_expression_formatter.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/cd.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/change_inspector.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/change_prompt.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/clear_screen.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/code_collector.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/disable_pry.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/easter_eggs.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/edit.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/edit/exception_patcher.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/edit/file_and_line_locator.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/exit.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/exit_all.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/exit_program.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/find_method.rb +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/fix_indent.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/help.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/hist.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/import_set.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/jump_to.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/list_inspectors.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/constants.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/formatter.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/globals.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/grep.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/instance_vars.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/interrogatable.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/jruby_hacks.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/local_names.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/local_vars.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/ls_entity.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/methods.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/methods_helper.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/nesting.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/play.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/pry_backtrace.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/pry_version.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/raise_up.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/reload_code.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/reset.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/ri.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/save_file.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/shell_command.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/shell_mode.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/show_doc.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/show_info.rb +234 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/show_input.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/show_source.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/stat.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/switch_to.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/toggle_color.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/watch_expression.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/watch_expression/expression.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/whereami.rb +205 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/commands/wtf.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/config.rb +321 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/config/attributable.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/config/lazy_value.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/config/memoized_value.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/config/value.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/control_d_handler.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/core_extensions.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/editor.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/env.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/exception_handler.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/exceptions.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/forwardable.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/helpers.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/helpers/command_helpers.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/helpers/documentation_helpers.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/helpers/options_helpers.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/helpers/platform.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/helpers/table.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/helpers/text.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/history.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/hooks.rb +180 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/indent.rb +412 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/input_completer.rb +283 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/input_lock.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/inspector.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/method.rb +599 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/method/disowned.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/method/patcher.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/object_path.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/output.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/pager.rb +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/plugins.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/prompt.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/pry_class.rb +388 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/pry_instance.rb +701 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/repl.rb +257 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/repl_file_loader.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/ring.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/slop.rb +672 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/slop/commands.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/slop/option.rb +210 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/syntax_highlighter.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/system_command_handler.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/testable.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/testable/evalable.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/testable/mockable.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/testable/pry_tester.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/testable/utility.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/testable/variables.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/warning.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/wrapped_module.rb +387 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/CHANGELOG.md +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/README.md +192 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/byebug/processors/pry_processor.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/base.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/cli.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/backtrace.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/breakpoint.rb +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/continue.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/down.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/finish.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/frame.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/next.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/step.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/up.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/control_d_handler.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/breakpoints.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/location.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/multiline.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/navigation.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_remote_ext.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry/byebug/breakpoints.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/.gitignore +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/Gemfile +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/LICENSE +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/Mavenfile +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/README.md +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/Rakefile +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/bin/console +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/bin/setup +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/Makefile +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/depend +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/extconf.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych.c +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_emitter.c +555 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_parser.c +579 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_to_ruby.c +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_yaml_tree.c +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/LICENSE +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/api.c +1393 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/config.h +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/dumper.c +394 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/emitter.c +2358 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/loader.c +544 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/parser.c +1375 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/reader.c +469 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/scanner.c +3598 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/writer.c +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/yaml.h +1985 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/ext/psych/yaml/yaml_private.h +688 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych.rb +741 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/class_loader.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/core_ext.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/exception.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/nodes/node.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/parser.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/scalar_scanner.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/visitors/to_ruby.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/visitors/visitor.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/visitors/yaml_tree.rb +585 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.1/psych.gemspec +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/.gitignore +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/.rubocop.yml +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/.rubocop_todo.yml +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/.travis.yml +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Changelog.md +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Gemfile +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Guardfile +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/README.markdown +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Rakefile +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/appveyor.yml +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/rainbow.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/spec_helper.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +296 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/History.rdoc +2403 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/exe/rake +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/rake.gemspec +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/README.md +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/.yardopts +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/Changelog.md +2327 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/README.md +384 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/fork_runner.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/utilities.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb +2372 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb +663 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb +901 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/exception_presenter.rb +521 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb +554 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/option_parser.rb +324 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.1/lib/rspec/core/world.rb +277 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/.yardopts +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/Changelog.md +1240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/README.md +320 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/configuration.rb +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/failure_aggregator.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/handler.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers.rb +1041 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/change.rb +428 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/has.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/include.rb +206 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/raise_error.rb +259 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/yield.rb +355 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/dsl.rb +540 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/.yardopts +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/Changelog.md +1167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/README.md +463 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/recorder.rb +295 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/message_expectation.rb +751 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/method_double.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/proxy.rb +519 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/Changelog.md +332 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/README.md +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/reentrant_mutex.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/ruby_features.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/source.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/diff_helpers.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/in_sub_process.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/shell_out.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/string_matcher.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.2/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/README.md +221 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/bin/console +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/bin/setup +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/config/default.yml +4408 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/exe/rubocop +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop.rb +654 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/builder.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node.rb +642 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/block_node.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/def_node.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +251 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/range_node.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/resbody_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/ast/traversal.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cli.rb +307 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/comment_config.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/config.rb +716 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/config_loader.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/config_loader_resolver.rb +198 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/autocorrect_logic.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/commissioner.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/cop.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/alignment_corrector.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/configuration_injector.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_hash.rb +315 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_parameters.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_end_newline.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_comment.rb +160 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_of_line.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/extra_spacing.rb +246 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_array.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_assignment.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_hash.rb +184 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_heredoc.rb +294 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_consistency.rb +201 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_comment_space.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_block_layout.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_operators.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +229 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/tab.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/assignment_in_condition.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/debugger.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_methods.rb +241 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/erb_new_arguments.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/handle_exceptions.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/inherit_exception.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/number_conversion.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/to_json.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unified_integer.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_block_argument.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_method_argument.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_assignment.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_setter_call.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/void.rb +170 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/message_annotator.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/line_length.rb +204 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/documentation_comment.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/hash_alignment.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/rescue_node.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/surrounding_space.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_rails_version.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/file_name.rb +205 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/method_name.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_name.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/offense.rb +194 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/caller.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/case_when_splat.rb +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/casecmp.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/chain_array_allocation.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/compare_with_block.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/count.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/detect.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/double_start_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/end_with.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/fixed_size.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/flat_map.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/inefficient_hash_search.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/open_struct.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/range_include.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_match.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_merge.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/regexp_match.rb +265 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/reverse_each.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/sample.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/size.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/start_with.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/string_replacement.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/times_map.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unfreeze_string.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unneeded_sort.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/uri_default_parser.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/action_filter.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_record_aliases.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_support_aliases.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_job.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_record.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/assert_not.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/belongs_to.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/blank.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/bulk_change_table.rb +289 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/create_table_with_timestamps.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/date.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/dynamic_find_by.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/enum_uniqueness.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/environment_comparison.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/exit.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/file_path.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_by.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_each.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_many_or_has_one_dependent.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_positional_arguments.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_status.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/ignored_skip_action_filter_option.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/inverse_of.rb +246 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/lexically_scoped_action_filter.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/link_to_blank.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/not_null_column.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output_safety.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/pluralization_grammar.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/presence.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/present.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reflection_class_name.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/refute_methods.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/relative_date_constant.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/request_referer.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reversible_migration.rb +286 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/safe_navigation.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/save_bang.rb +316 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/skips_model_validations.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/time_zone.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/unknown_env.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/validation.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/registry.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/access_modifier_declarations.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/alias.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/attr.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_comments.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_delimiters.rb +315 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_and_module_children.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_methods.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/commented_keyword.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/conditional_assignment.rb +698 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/constant_visibility.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/copyright.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation_method.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string_token.rb +170 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +180 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/guard_clause.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_inside_else.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inverse_methods.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +368 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_grouping.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_usage.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/module_function.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_modifier.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/non_nil_check.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_predicate.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/one_line_conditional.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/optional_arguments.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/or_assignment.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parentheses_around_condition.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/random_with_offset.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_parentheses.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_return.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_self.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/safe_navigation.rb +253 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/semicolon.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_methods.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/special_global_vars.rb +213 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stderr_puts.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_hash_keys.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/struct_inheritance.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_proc.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ternary_parentheses.rb +194 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unless_else.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/variable_interpolation.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/yoda_condition.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/team.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/util.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force.rb +464 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/core_ext/string.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/error.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/file_finder.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_config_formatter.rb +219 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/formatter_set.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/simple_text_formatter.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/tap_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/magic_comment.rb +210 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/node_pattern.rb +584 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/options.rb +441 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/processed_source.rb +210 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/rake_task.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/remote_config.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/result_cache.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/rspec/cop_helper.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/rspec/expect_offense.rb +237 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_contexts.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_examples.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/rspec/support.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/runner.rb +353 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/target_finder.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/token.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/README.md +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/Rakefile +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/time.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/time.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/ChangeLog +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/README.md +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/lib/ruby2_keywords.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.0 +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.1 +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.2 +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.3 +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.4 +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/CHANGELOG.md +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/README.md +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ast-2.4.2.gemspec +50 -0
- data/vendor/bundle/ruby/2.6.0/specifications/byebug-11.1.3.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.4.4.gemspec +59 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-1.7.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-em_http-1.0.0.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-em_synchrony-1.0.0.gemspec +70 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-excon-1.1.0.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-httpclient-1.0.1.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-net_http-1.0.1.gemspec +61 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-net_http_persistent-1.2.0.gemspec +58 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-patron-1.0.0.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-rack-1.0.0.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/jaro_winkler-1.5.4.gemspec +44 -0
- data/vendor/bundle/ruby/2.6.0/specifications/method_source-1.0.0.gemspec +35 -0
- data/vendor/bundle/ruby/2.6.0/specifications/multipart-post-2.1.1.gemspec +38 -0
- data/vendor/bundle/ruby/2.6.0/specifications/parallel-1.20.1.gemspec +21 -0
- data/vendor/bundle/ruby/2.6.0/specifications/parser-3.0.2.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.6.0/specifications/pry-0.13.1.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/pry-byebug-3.9.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.6.0/specifications/psych-4.0.1.gemspec +26 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rainbow-3.0.0.gemspec +33 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.10.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.10.1.gemspec +63 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.10.1.gemspec +51 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.10.2.gemspec +51 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.10.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rubocop-0.66.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ruby-progressbar-1.11.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ruby2_keywords-0.0.5.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/unicode-display_width-1.5.0.gemspec +39 -0
- metadata +1967 -187
- data/docs/Account.md +0 -96
- data/docs/AccountNumber.md +0 -32
- data/docs/AccountOwner.md +0 -40
- data/docs/Category.md +0 -32
- data/docs/Challenge.md +0 -30
- data/docs/ChallengeImageOptions.md +0 -22
- data/docs/ChallengeOptions.md +0 -20
- data/docs/ConnectWidget.md +0 -20
- data/docs/Credential.md +0 -26
- data/docs/EnhanceTransaction.md +0 -48
- data/docs/Holding.md +0 -52
- data/docs/InlineResponse200.md +0 -18
- data/docs/Institution.md +0 -36
- data/docs/Member.md +0 -40
- data/docs/MemberStatus.md +0 -34
- data/docs/Merchant.md +0 -28
- data/docs/OAuthWindow.md +0 -20
- data/docs/Pagination.md +0 -24
- data/docs/Statement.md +0 -32
- data/docs/Tag.md +0 -22
- data/docs/Tagging.md +0 -26
- data/docs/Transaction.md +0 -88
- data/docs/TransactionRule.md +0 -30
- data/docs/User.md +0 -26
- data/docs/Widget.md +0 -22
- data/lib/mx-platform-ruby/models/account.rb +0 -569
- data/lib/mx-platform-ruby/models/account_number.rb +0 -281
- data/lib/mx-platform-ruby/models/account_owner.rb +0 -317
- data/lib/mx-platform-ruby/models/category.rb +0 -281
- data/lib/mx-platform-ruby/models/challenge.rb +0 -276
- data/lib/mx-platform-ruby/models/challenge_image_options.rb +0 -236
- data/lib/mx-platform-ruby/models/challenge_options.rb +0 -227
- data/lib/mx-platform-ruby/models/connect_widget.rb +0 -227
- data/lib/mx-platform-ruby/models/credential.rb +0 -254
- data/lib/mx-platform-ruby/models/enhance_transaction.rb +0 -353
- data/lib/mx-platform-ruby/models/holding.rb +0 -371
- data/lib/mx-platform-ruby/models/inline_response200.rb +0 -218
- data/lib/mx-platform-ruby/models/institution.rb +0 -299
- data/lib/mx-platform-ruby/models/member.rb +0 -317
- data/lib/mx-platform-ruby/models/member_status.rb +0 -292
- data/lib/mx-platform-ruby/models/merchant.rb +0 -263
- data/lib/mx-platform-ruby/models/o_auth_window.rb +0 -227
- data/lib/mx-platform-ruby/models/pagination.rb +0 -245
- data/lib/mx-platform-ruby/models/statement.rb +0 -281
- data/lib/mx-platform-ruby/models/tag.rb +0 -236
- data/lib/mx-platform-ruby/models/tagging.rb +0 -254
- data/lib/mx-platform-ruby/models/transaction.rb +0 -533
- data/lib/mx-platform-ruby/models/transaction_rule.rb +0 -272
- data/lib/mx-platform-ruby/models/user.rb +0 -254
- data/lib/mx-platform-ruby/models/widget.rb +0 -236
- data/openapi/mx_platform_ruby.yml +0 -11
- data/pkg/mx-platform-ruby-0.2.0.gem +0 -0
- data/pkg/mx-platform-ruby-0.2.1.gem +0 -0
- data/spec/models/account_number_spec.rb +0 -76
- data/spec/models/account_owner_spec.rb +0 -100
- data/spec/models/account_spec.rb +0 -268
- data/spec/models/category_spec.rb +0 -76
- data/spec/models/challenge_image_options_spec.rb +0 -46
- data/spec/models/challenge_options_spec.rb +0 -40
- data/spec/models/challenge_spec.rb +0 -70
- data/spec/models/connect_widget_spec.rb +0 -40
- data/spec/models/credential_spec.rb +0 -58
- data/spec/models/enhance_transaction_spec.rb +0 -124
- data/spec/models/holding_spec.rb +0 -136
- data/spec/models/inline_response200_spec.rb +0 -34
- data/spec/models/institution_spec.rb +0 -88
- data/spec/models/member_spec.rb +0 -100
- data/spec/models/member_status_spec.rb +0 -82
- data/spec/models/merchant_spec.rb +0 -64
- data/spec/models/o_auth_window_spec.rb +0 -40
- data/spec/models/pagination_spec.rb +0 -52
- data/spec/models/statement_spec.rb +0 -76
- data/spec/models/tag_spec.rb +0 -46
- data/spec/models/tagging_spec.rb +0 -58
- data/spec/models/transaction_rule_spec.rb +0 -70
- data/spec/models/transaction_spec.rb +0 -244
- data/spec/models/user_spec.rb +0 -58
- data/spec/models/widget_spec.rb +0 -46
Binary file
|
@@ -0,0 +1,261 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset='UTF-8' />
|
5
|
+
<title>RuboCop Inspection Report</title>
|
6
|
+
<%# TODO: Clean up the messy markup and style definitions. %>
|
7
|
+
<style>
|
8
|
+
* {
|
9
|
+
-webkit-box-sizing: border-box;
|
10
|
+
-moz-box-sizing: border-box;
|
11
|
+
box-sizing: border-box;
|
12
|
+
}
|
13
|
+
|
14
|
+
body, html {
|
15
|
+
font-size: 62.5%;
|
16
|
+
}
|
17
|
+
body {
|
18
|
+
background-color: #ecedf0;
|
19
|
+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
20
|
+
margin: 0;
|
21
|
+
}
|
22
|
+
code {
|
23
|
+
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
24
|
+
font-size: 85%;
|
25
|
+
}
|
26
|
+
#header {
|
27
|
+
background: #f9f9f9;
|
28
|
+
color: #333;
|
29
|
+
border-bottom: 3px solid #ccc;
|
30
|
+
height: 50px;
|
31
|
+
padding: 0;
|
32
|
+
}
|
33
|
+
#header .logo {
|
34
|
+
float: left;
|
35
|
+
margin: 5px 12px 7px 20px;
|
36
|
+
width: 38px;
|
37
|
+
height: 38px;
|
38
|
+
}
|
39
|
+
#header .title {
|
40
|
+
display: inline-block;
|
41
|
+
float: left;
|
42
|
+
height: 50px;
|
43
|
+
font-size: 2.4rem;
|
44
|
+
letter-spacing: normal;
|
45
|
+
line-height: 50px;
|
46
|
+
margin: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
.information, #offenses {
|
50
|
+
width: 100%;
|
51
|
+
padding: 20px;
|
52
|
+
color: #333;
|
53
|
+
}
|
54
|
+
#offenses {
|
55
|
+
padding: 0 20px;
|
56
|
+
}
|
57
|
+
|
58
|
+
.information .infobox {
|
59
|
+
border-left: 3px solid;
|
60
|
+
border-radius: 4px;
|
61
|
+
background-color: #fff;
|
62
|
+
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
63
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
64
|
+
padding: 15px;
|
65
|
+
border-color: #0088cc;
|
66
|
+
font-size: 1.4rem;
|
67
|
+
}
|
68
|
+
.information .infobox .info-title {
|
69
|
+
font-size: 1.8rem;
|
70
|
+
line-height: 2.2rem;
|
71
|
+
margin: 0 0 0.5em;
|
72
|
+
}
|
73
|
+
.information .offenses-list li {
|
74
|
+
line-height: 1.8rem
|
75
|
+
}
|
76
|
+
.information .offenses-list {
|
77
|
+
padding-left: 20px;
|
78
|
+
margin-bottom: 0;
|
79
|
+
}
|
80
|
+
|
81
|
+
#offenses .offense-box {
|
82
|
+
border-radius: 4px;
|
83
|
+
margin-bottom: 20px;
|
84
|
+
background-color: #fff;
|
85
|
+
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
86
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
87
|
+
}
|
88
|
+
.fixed .box-title {
|
89
|
+
position: fixed;
|
90
|
+
top: 0;
|
91
|
+
z-index: 10;
|
92
|
+
width: 100%;
|
93
|
+
}
|
94
|
+
.box-title-placeholder {
|
95
|
+
display: none;
|
96
|
+
}
|
97
|
+
.fixed .box-title-placeholder {
|
98
|
+
display: block;
|
99
|
+
}
|
100
|
+
#offenses .offense-box .box-title h3, #offenses .offense-box .box-title-placeholder h3 {
|
101
|
+
color: #33353f;
|
102
|
+
background-color: #f6f6f6;
|
103
|
+
font-size: 2rem;
|
104
|
+
line-height: 2rem;
|
105
|
+
display: block;
|
106
|
+
padding: 15px;
|
107
|
+
border-radius: 5px;
|
108
|
+
margin: 0;
|
109
|
+
}
|
110
|
+
#offenses .offense-box .offense-reports {
|
111
|
+
padding: 0 15px;
|
112
|
+
}
|
113
|
+
#offenses .offense-box .offense-reports .report {
|
114
|
+
border-bottom: 1px dotted #ddd;
|
115
|
+
padding: 15px 0px;
|
116
|
+
position: relative;
|
117
|
+
font-size: 1.3rem;
|
118
|
+
}
|
119
|
+
#offenses .offense-box .offense-reports .report:last-child {
|
120
|
+
border-bottom: none;
|
121
|
+
}
|
122
|
+
#offenses .offense-box .offense-reports .report pre code {
|
123
|
+
display: block;
|
124
|
+
background: #000;
|
125
|
+
color: #fff;
|
126
|
+
padding: 10px 15px;
|
127
|
+
border-radius: 5px;
|
128
|
+
line-height: 1.6rem;
|
129
|
+
}
|
130
|
+
#offenses .offense-box .offense-reports .report .location {
|
131
|
+
font-weight: bold;
|
132
|
+
}
|
133
|
+
#offenses .offense-box .offense-reports .report .message code {
|
134
|
+
padding: 0.3em;
|
135
|
+
background-color: rgba(0,0,0,0.07);
|
136
|
+
border-radius: 3px;
|
137
|
+
}
|
138
|
+
.severity {
|
139
|
+
text-transform: capitalize;
|
140
|
+
font-weight: bold;
|
141
|
+
}
|
142
|
+
.highlight {
|
143
|
+
padding: 2px;
|
144
|
+
border-radius: 2px;
|
145
|
+
font-weight: bold;
|
146
|
+
}
|
147
|
+
<%- SEVERITY_COLORS.each do |severity, color| %>
|
148
|
+
.severity.<%= severity %> {
|
149
|
+
color: <%= color %>;
|
150
|
+
}
|
151
|
+
.highlight.<%= severity %> {
|
152
|
+
background-color: <%= color.fade_out(0.4) %>;
|
153
|
+
border: 1px solid <%= color.fade_out(0.6) %>;
|
154
|
+
}
|
155
|
+
<%- end %>
|
156
|
+
footer {
|
157
|
+
margin-bottom: 20px;
|
158
|
+
margin-right: 20px;
|
159
|
+
font-size: 1.3rem;
|
160
|
+
color: #777;
|
161
|
+
text-align: right;
|
162
|
+
}
|
163
|
+
.extra-code {
|
164
|
+
color: #ED9C28
|
165
|
+
}
|
166
|
+
</style>
|
167
|
+
|
168
|
+
<script>
|
169
|
+
(function() {
|
170
|
+
// floating headers. requires classList support.
|
171
|
+
if (!('classList' in document.createElement("_"))) return;
|
172
|
+
|
173
|
+
var loaded = false,
|
174
|
+
boxes,
|
175
|
+
boxPositions;
|
176
|
+
|
177
|
+
window.onload = function() {
|
178
|
+
var scrollY = window.scrollY;
|
179
|
+
boxes = document.querySelectorAll('.offense-box');
|
180
|
+
boxPositions = [];
|
181
|
+
for (var i = 0; i < boxes.length; i++)
|
182
|
+
// need to add scrollY because the page might be somewhere other than the top when loaded.
|
183
|
+
boxPositions[i] = boxes[i].getBoundingClientRect().top + scrollY;
|
184
|
+
loaded = true;
|
185
|
+
};
|
186
|
+
|
187
|
+
window.onscroll = function() {
|
188
|
+
if (!loaded) return;
|
189
|
+
var i,
|
190
|
+
idx,
|
191
|
+
scrollY = window.scrollY;
|
192
|
+
for (i = 0; i < boxPositions.length; i++) {
|
193
|
+
if (scrollY <= boxPositions[i] - 1) {
|
194
|
+
idx = i;
|
195
|
+
break;
|
196
|
+
}
|
197
|
+
}
|
198
|
+
if (typeof idx == 'undefined') idx = boxes.length;
|
199
|
+
if (idx > 0)
|
200
|
+
boxes[idx - 1].classList.add('fixed');
|
201
|
+
for (i = 0; i < boxes.length; i++) {
|
202
|
+
if (i < idx) continue;
|
203
|
+
boxes[i].classList.remove('fixed');
|
204
|
+
}
|
205
|
+
};
|
206
|
+
})();
|
207
|
+
</script>
|
208
|
+
</head>
|
209
|
+
<body>
|
210
|
+
<div id="header">
|
211
|
+
<img class="logo" src="data:image/png;base64,<%= base64_encoded_logo_image %>" alt="">
|
212
|
+
<h1 class="title">RuboCop Inspection Report</h1>
|
213
|
+
</div>
|
214
|
+
<div class="information">
|
215
|
+
<div class="infobox">
|
216
|
+
<div class="total">
|
217
|
+
<%= pluralize(files.count, 'file') %> inspected,
|
218
|
+
<%= pluralize(summary.offense_count, 'offense', no_for_zero: true) %> detected:
|
219
|
+
</div>
|
220
|
+
<ul class="offenses-list">
|
221
|
+
<% files.each do |file| %>
|
222
|
+
<% next if file.offenses.none? %>
|
223
|
+
<li>
|
224
|
+
<a href="#offense_<%= relative_path(file.path) %>">
|
225
|
+
<%= relative_path(file.path) %> - <%= pluralize(file.offenses.count, 'offense') %>
|
226
|
+
</a>
|
227
|
+
</li>
|
228
|
+
<% end %>
|
229
|
+
</ul>
|
230
|
+
</div>
|
231
|
+
</div>
|
232
|
+
<div id="offenses">
|
233
|
+
<% files.each do |file| %>
|
234
|
+
<% if file.offenses.any? %>
|
235
|
+
<div class="offense-box" id="offense_<%= relative_path(file.path) %>">
|
236
|
+
<div class="box-title-placeholder"><h3> </h3></div>
|
237
|
+
<div class="box-title"><h3><%= relative_path(file.path) %> - <%= pluralize(file.offenses.count, 'offense') %></h3></div>
|
238
|
+
<div class="offense-reports">
|
239
|
+
<% file.offenses.each do |offense| %>
|
240
|
+
<div class="report">
|
241
|
+
<div class="meta">
|
242
|
+
<span class="location">Line #<%= offense.location.line %></span> –
|
243
|
+
<span class="severity <%= offense.severity %>"><%= offense.severity %>:</span>
|
244
|
+
<span class="message"><%= decorated_message(offense) %></span>
|
245
|
+
</div>
|
246
|
+
<% unless offense.location.source_line.strip.empty? %>
|
247
|
+
<pre><code><%= highlighted_source_line(offense) %></code></pre>
|
248
|
+
<% end %>
|
249
|
+
</div>
|
250
|
+
<% end %>
|
251
|
+
</div>
|
252
|
+
</div>
|
253
|
+
<% end %>
|
254
|
+
<% end %>
|
255
|
+
</div>
|
256
|
+
<footer>
|
257
|
+
Generated by <a href="https://github.com/rubocop-hq/rubocop">RuboCop</a>
|
258
|
+
<span class="version"><%= RuboCop::Version::STRING %></span>
|
259
|
+
</footer>
|
260
|
+
</body>
|
261
|
+
</html>
|
@@ -0,0 +1,4408 @@
|
|
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://github.com/rubocop-hq/ruby-style-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.2).
|
127
|
+
TargetRubyVersion: ~
|
128
|
+
# What version of Rails is the inspected code using? If a value is specified
|
129
|
+
# for TargetRailsVersion then it is used. Acceptable values are specificed
|
130
|
+
# as a float (i.e. 5.1); the patch version of Rails should not be included.
|
131
|
+
# If TargetRailsVersion is not set, RuboCop will parse the Gemfile.lock or
|
132
|
+
# gems.locked file to find the version of Rails that has been bound to the
|
133
|
+
# application. If neither of those files exist, RuboCop will use Rails 5.0
|
134
|
+
# as the default.
|
135
|
+
TargetRailsVersion: ~
|
136
|
+
|
137
|
+
#################### Bundler ###############################
|
138
|
+
|
139
|
+
Bundler/DuplicatedGem:
|
140
|
+
Description: 'Checks for duplicate gem entries in Gemfile.'
|
141
|
+
Enabled: true
|
142
|
+
VersionAdded: '0.46'
|
143
|
+
Include:
|
144
|
+
- '**/*.gemfile'
|
145
|
+
- '**/Gemfile'
|
146
|
+
- '**/gems.rb'
|
147
|
+
|
148
|
+
Bundler/GemComment:
|
149
|
+
Description: 'Add a comment describing each gem.'
|
150
|
+
Enabled: false
|
151
|
+
VersionAdded: '0.59'
|
152
|
+
Include:
|
153
|
+
- '**/*.gemfile'
|
154
|
+
- '**/Gemfile'
|
155
|
+
- '**/gems.rb'
|
156
|
+
Whitelist: []
|
157
|
+
|
158
|
+
Bundler/InsecureProtocolSource:
|
159
|
+
Description: >-
|
160
|
+
The source `:gemcutter`, `:rubygems` and `:rubyforge` are deprecated
|
161
|
+
because HTTP requests are insecure. Please change your source to
|
162
|
+
'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
|
163
|
+
Enabled: true
|
164
|
+
VersionAdded: '0.50'
|
165
|
+
Include:
|
166
|
+
- '**/*.gemfile'
|
167
|
+
- '**/Gemfile'
|
168
|
+
- '**/gems.rb'
|
169
|
+
|
170
|
+
Bundler/OrderedGems:
|
171
|
+
Description: >-
|
172
|
+
Gems within groups in the Gemfile should be alphabetically sorted.
|
173
|
+
Enabled: true
|
174
|
+
VersionAdded: '0.46'
|
175
|
+
VersionChanged: '0.47'
|
176
|
+
TreatCommentsAsGroupSeparators: true
|
177
|
+
Include:
|
178
|
+
- '**/*.gemfile'
|
179
|
+
- '**/Gemfile'
|
180
|
+
- '**/gems.rb'
|
181
|
+
|
182
|
+
#################### Gemspec ###############################
|
183
|
+
|
184
|
+
Gemspec/DuplicatedAssignment:
|
185
|
+
Description: 'An attribute assignment method calls should be listed only once in a gemspec.'
|
186
|
+
Enabled: true
|
187
|
+
VersionAdded: '0.52'
|
188
|
+
Include:
|
189
|
+
- '**/*.gemspec'
|
190
|
+
|
191
|
+
Gemspec/OrderedDependencies:
|
192
|
+
Description: >-
|
193
|
+
Dependencies in the gemspec should be alphabetically sorted.
|
194
|
+
Enabled: true
|
195
|
+
VersionAdded: '0.51'
|
196
|
+
TreatCommentsAsGroupSeparators: true
|
197
|
+
Include:
|
198
|
+
- '**/*.gemspec'
|
199
|
+
|
200
|
+
Gemspec/RequiredRubyVersion:
|
201
|
+
Description: 'Checks that `required_ruby_version` of gemspec and `TargetRubyVersion` of .rubocop.yml are equal.'
|
202
|
+
Enabled: true
|
203
|
+
VersionAdded: '0.52'
|
204
|
+
Include:
|
205
|
+
- '**/*.gemspec'
|
206
|
+
|
207
|
+
#################### Layout ###########################
|
208
|
+
|
209
|
+
Layout/AccessModifierIndentation:
|
210
|
+
Description: Check indentation of private/protected visibility modifiers.
|
211
|
+
StyleGuide: '#indent-public-private-protected'
|
212
|
+
Enabled: true
|
213
|
+
VersionAdded: '0.49'
|
214
|
+
EnforcedStyle: indent
|
215
|
+
SupportedStyles:
|
216
|
+
- outdent
|
217
|
+
- indent
|
218
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
219
|
+
# But it can be overridden by setting this parameter
|
220
|
+
IndentationWidth: ~
|
221
|
+
|
222
|
+
Layout/AlignArray:
|
223
|
+
Description: >-
|
224
|
+
Align the elements of an array literal if they span more than
|
225
|
+
one line.
|
226
|
+
StyleGuide: '#align-multiline-arrays'
|
227
|
+
Enabled: true
|
228
|
+
VersionAdded: '0.49'
|
229
|
+
|
230
|
+
Layout/AlignHash:
|
231
|
+
Description: >-
|
232
|
+
Align the elements of a hash literal if they span more than
|
233
|
+
one line.
|
234
|
+
Enabled: true
|
235
|
+
VersionAdded: '0.49'
|
236
|
+
# Alignment of entries using hash rocket as separator. Valid values are:
|
237
|
+
#
|
238
|
+
# key - left alignment of keys
|
239
|
+
# 'a' => 2
|
240
|
+
# 'bb' => 3
|
241
|
+
# separator - alignment of hash rockets, keys are right aligned
|
242
|
+
# 'a' => 2
|
243
|
+
# 'bb' => 3
|
244
|
+
# table - left alignment of keys, hash rockets, and values
|
245
|
+
# 'a' => 2
|
246
|
+
# 'bb' => 3
|
247
|
+
EnforcedHashRocketStyle: key
|
248
|
+
SupportedHashRocketStyles:
|
249
|
+
- key
|
250
|
+
- separator
|
251
|
+
- table
|
252
|
+
# Alignment of entries using colon as separator. Valid values are:
|
253
|
+
#
|
254
|
+
# key - left alignment of keys
|
255
|
+
# a: 0
|
256
|
+
# bb: 1
|
257
|
+
# separator - alignment of colons, keys are right aligned
|
258
|
+
# a: 0
|
259
|
+
# bb: 1
|
260
|
+
# table - left alignment of keys and values
|
261
|
+
# a: 0
|
262
|
+
# bb: 1
|
263
|
+
EnforcedColonStyle: key
|
264
|
+
SupportedColonStyles:
|
265
|
+
- key
|
266
|
+
- separator
|
267
|
+
- table
|
268
|
+
# Select whether hashes that are the last argument in a method call should be
|
269
|
+
# inspected? Valid values are:
|
270
|
+
#
|
271
|
+
# always_inspect - Inspect both implicit and explicit hashes.
|
272
|
+
# Registers an offense for:
|
273
|
+
# function(a: 1,
|
274
|
+
# b: 2)
|
275
|
+
# Registers an offense for:
|
276
|
+
# function({a: 1,
|
277
|
+
# b: 2})
|
278
|
+
# always_ignore - Ignore both implicit and explicit hashes.
|
279
|
+
# Accepts:
|
280
|
+
# function(a: 1,
|
281
|
+
# b: 2)
|
282
|
+
# Accepts:
|
283
|
+
# function({a: 1,
|
284
|
+
# b: 2})
|
285
|
+
# ignore_implicit - Ignore only implicit hashes.
|
286
|
+
# Accepts:
|
287
|
+
# function(a: 1,
|
288
|
+
# b: 2)
|
289
|
+
# Registers an offense for:
|
290
|
+
# function({a: 1,
|
291
|
+
# b: 2})
|
292
|
+
# ignore_explicit - Ignore only explicit hashes.
|
293
|
+
# Accepts:
|
294
|
+
# function({a: 1,
|
295
|
+
# b: 2})
|
296
|
+
# Registers an offense for:
|
297
|
+
# function(a: 1,
|
298
|
+
# b: 2)
|
299
|
+
EnforcedLastArgumentHashStyle: always_inspect
|
300
|
+
SupportedLastArgumentHashStyles:
|
301
|
+
- always_inspect
|
302
|
+
- always_ignore
|
303
|
+
- ignore_implicit
|
304
|
+
- ignore_explicit
|
305
|
+
|
306
|
+
Layout/AlignParameters:
|
307
|
+
Description: >-
|
308
|
+
Align the parameters of a method call if they span more
|
309
|
+
than one line.
|
310
|
+
StyleGuide: '#no-double-indent'
|
311
|
+
Enabled: true
|
312
|
+
VersionAdded: '0.49'
|
313
|
+
# Alignment of parameters in multi-line method calls.
|
314
|
+
#
|
315
|
+
# The `with_first_parameter` style aligns the following lines along the same
|
316
|
+
# column as the first parameter.
|
317
|
+
#
|
318
|
+
# method_call(a,
|
319
|
+
# b)
|
320
|
+
#
|
321
|
+
# The `with_fixed_indentation` style aligns the following lines with one
|
322
|
+
# level of indentation relative to the start of the line with the method call.
|
323
|
+
#
|
324
|
+
# method_call(a,
|
325
|
+
# b)
|
326
|
+
EnforcedStyle: with_first_parameter
|
327
|
+
SupportedStyles:
|
328
|
+
- with_first_parameter
|
329
|
+
- with_fixed_indentation
|
330
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
331
|
+
# But it can be overridden by setting this parameter
|
332
|
+
IndentationWidth: ~
|
333
|
+
|
334
|
+
Layout/BlockAlignment:
|
335
|
+
Description: 'Align block ends correctly.'
|
336
|
+
Enabled: true
|
337
|
+
VersionAdded: '0.53'
|
338
|
+
# The value `start_of_block` means that the `end` should be aligned with line
|
339
|
+
# where the `do` keyword appears.
|
340
|
+
# The value `start_of_line` means it should be aligned with the whole
|
341
|
+
# expression's starting line.
|
342
|
+
# The value `either` means both are allowed.
|
343
|
+
EnforcedStyleAlignWith: either
|
344
|
+
SupportedStylesAlignWith:
|
345
|
+
- either
|
346
|
+
- start_of_block
|
347
|
+
- start_of_line
|
348
|
+
|
349
|
+
Layout/BlockEndNewline:
|
350
|
+
Description: 'Put end statement of multiline block on its own line.'
|
351
|
+
Enabled: true
|
352
|
+
VersionAdded: '0.49'
|
353
|
+
|
354
|
+
Layout/CaseIndentation:
|
355
|
+
Description: 'Indentation of when in a case/when/[else/]end.'
|
356
|
+
StyleGuide: '#indent-when-to-case'
|
357
|
+
Enabled: true
|
358
|
+
VersionAdded: '0.49'
|
359
|
+
EnforcedStyle: case
|
360
|
+
SupportedStyles:
|
361
|
+
- case
|
362
|
+
- end
|
363
|
+
IndentOneStep: false
|
364
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used.
|
365
|
+
# But it can be overridden by setting this parameter.
|
366
|
+
# This only matters if `IndentOneStep` is `true`
|
367
|
+
IndentationWidth: ~
|
368
|
+
|
369
|
+
Layout/ClassStructure:
|
370
|
+
Description: 'Enforces a configured order of definitions within a class body.'
|
371
|
+
StyleGuide: 'https://github.com/rubocop-hq/ruby-style-guide#consistent-classes'
|
372
|
+
Enabled: false
|
373
|
+
VersionAdded: '0.52'
|
374
|
+
Categories:
|
375
|
+
module_inclusion:
|
376
|
+
- include
|
377
|
+
- prepend
|
378
|
+
- extend
|
379
|
+
ExpectedOrder:
|
380
|
+
- module_inclusion
|
381
|
+
- constants
|
382
|
+
- public_class_methods
|
383
|
+
- initializer
|
384
|
+
- public_methods
|
385
|
+
- protected_methods
|
386
|
+
- private_methods
|
387
|
+
|
388
|
+
Layout/ClosingHeredocIndentation:
|
389
|
+
Description: 'Checks the indentation of here document closings.'
|
390
|
+
Enabled: true
|
391
|
+
VersionAdded: '0.57'
|
392
|
+
|
393
|
+
Layout/ClosingParenthesisIndentation:
|
394
|
+
Description: 'Checks the indentation of hanging closing parentheses.'
|
395
|
+
Enabled: true
|
396
|
+
VersionAdded: '0.49'
|
397
|
+
|
398
|
+
Layout/CommentIndentation:
|
399
|
+
Description: 'Indentation of comments.'
|
400
|
+
Enabled: true
|
401
|
+
VersionAdded: '0.49'
|
402
|
+
|
403
|
+
Layout/ConditionPosition:
|
404
|
+
Description: >-
|
405
|
+
Checks for condition placed in a confusing position relative to
|
406
|
+
the keyword.
|
407
|
+
StyleGuide: '#same-line-condition'
|
408
|
+
Enabled: true
|
409
|
+
VersionAdded: '0.53'
|
410
|
+
|
411
|
+
Layout/DefEndAlignment:
|
412
|
+
Description: 'Align ends corresponding to defs correctly.'
|
413
|
+
Enabled: true
|
414
|
+
VersionAdded: '0.53'
|
415
|
+
# The value `def` means that `end` should be aligned with the def keyword.
|
416
|
+
# The value `start_of_line` means that `end` should be aligned with method
|
417
|
+
# calls like `private`, `public`, etc, if present in front of the `def`
|
418
|
+
# keyword on the same line.
|
419
|
+
EnforcedStyleAlignWith: start_of_line
|
420
|
+
SupportedStylesAlignWith:
|
421
|
+
- start_of_line
|
422
|
+
- def
|
423
|
+
AutoCorrect: false
|
424
|
+
Severity: warning
|
425
|
+
|
426
|
+
Layout/DotPosition:
|
427
|
+
Description: 'Checks the position of the dot in multi-line method calls.'
|
428
|
+
StyleGuide: '#consistent-multi-line-chains'
|
429
|
+
Enabled: true
|
430
|
+
VersionAdded: '0.49'
|
431
|
+
EnforcedStyle: leading
|
432
|
+
SupportedStyles:
|
433
|
+
- leading
|
434
|
+
- trailing
|
435
|
+
|
436
|
+
Layout/ElseAlignment:
|
437
|
+
Description: 'Align elses and elsifs correctly.'
|
438
|
+
Enabled: true
|
439
|
+
VersionAdded: '0.49'
|
440
|
+
|
441
|
+
Layout/EmptyComment:
|
442
|
+
Description: 'Checks empty comment.'
|
443
|
+
Enabled: true
|
444
|
+
VersionAdded: '0.53'
|
445
|
+
AllowBorderComment: true
|
446
|
+
AllowMarginComment: true
|
447
|
+
|
448
|
+
Layout/EmptyLineAfterGuardClause:
|
449
|
+
Description: 'Add empty line after guard clause.'
|
450
|
+
Enabled: true
|
451
|
+
VersionAdded: '0.56'
|
452
|
+
VersionChanged: '0.59'
|
453
|
+
|
454
|
+
Layout/EmptyLineAfterMagicComment:
|
455
|
+
Description: 'Add an empty line after magic comments to separate them from code.'
|
456
|
+
StyleGuide: '#separate-magic-comments-from-code'
|
457
|
+
Enabled: true
|
458
|
+
VersionAdded: '0.49'
|
459
|
+
|
460
|
+
Layout/EmptyLineBetweenDefs:
|
461
|
+
Description: 'Use empty lines between defs.'
|
462
|
+
StyleGuide: '#empty-lines-between-methods'
|
463
|
+
Enabled: true
|
464
|
+
VersionAdded: '0.49'
|
465
|
+
# If `true`, this parameter means that single line method definitions don't
|
466
|
+
# need an empty line between them.
|
467
|
+
AllowAdjacentOneLineDefs: false
|
468
|
+
# Can be array to specify minimum and maximum number of empty lines, e.g. [1, 2]
|
469
|
+
NumberOfEmptyLines: 1
|
470
|
+
|
471
|
+
Layout/EmptyLines:
|
472
|
+
Description: "Don't use several empty lines in a row."
|
473
|
+
StyleGuide: '#two-or-more-empty-lines'
|
474
|
+
Enabled: true
|
475
|
+
VersionAdded: '0.49'
|
476
|
+
|
477
|
+
Layout/EmptyLinesAroundAccessModifier:
|
478
|
+
Description: "Keep blank lines around access modifiers."
|
479
|
+
StyleGuide: '#empty-lines-around-access-modifier'
|
480
|
+
Enabled: true
|
481
|
+
VersionAdded: '0.49'
|
482
|
+
|
483
|
+
Layout/EmptyLinesAroundArguments:
|
484
|
+
Description: "Keeps track of empty lines around method arguments."
|
485
|
+
Enabled: true
|
486
|
+
VersionAdded: '0.52'
|
487
|
+
|
488
|
+
Layout/EmptyLinesAroundBeginBody:
|
489
|
+
Description: "Keeps track of empty lines around begin-end bodies."
|
490
|
+
StyleGuide: '#empty-lines-around-bodies'
|
491
|
+
Enabled: true
|
492
|
+
VersionAdded: '0.49'
|
493
|
+
|
494
|
+
Layout/EmptyLinesAroundBlockBody:
|
495
|
+
Description: "Keeps track of empty lines around block bodies."
|
496
|
+
StyleGuide: '#empty-lines-around-bodies'
|
497
|
+
Enabled: true
|
498
|
+
VersionAdded: '0.49'
|
499
|
+
EnforcedStyle: no_empty_lines
|
500
|
+
SupportedStyles:
|
501
|
+
- empty_lines
|
502
|
+
- no_empty_lines
|
503
|
+
|
504
|
+
Layout/EmptyLinesAroundClassBody:
|
505
|
+
Description: "Keeps track of empty lines around class bodies."
|
506
|
+
StyleGuide: '#empty-lines-around-bodies'
|
507
|
+
Enabled: true
|
508
|
+
VersionAdded: '0.49'
|
509
|
+
VersionChanged: '0.53'
|
510
|
+
EnforcedStyle: no_empty_lines
|
511
|
+
SupportedStyles:
|
512
|
+
- empty_lines
|
513
|
+
- empty_lines_except_namespace
|
514
|
+
- empty_lines_special
|
515
|
+
- no_empty_lines
|
516
|
+
- beginning_only
|
517
|
+
- ending_only
|
518
|
+
|
519
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
520
|
+
Description: "Keeps track of empty lines around exception handling keywords."
|
521
|
+
StyleGuide: '#empty-lines-around-bodies'
|
522
|
+
Enabled: true
|
523
|
+
VersionAdded: '0.49'
|
524
|
+
|
525
|
+
Layout/EmptyLinesAroundMethodBody:
|
526
|
+
Description: "Keeps track of empty lines around method bodies."
|
527
|
+
StyleGuide: '#empty-lines-around-bodies'
|
528
|
+
Enabled: true
|
529
|
+
VersionAdded: '0.49'
|
530
|
+
|
531
|
+
Layout/EmptyLinesAroundModuleBody:
|
532
|
+
Description: "Keeps track of empty lines around module bodies."
|
533
|
+
StyleGuide: '#empty-lines-around-bodies'
|
534
|
+
Enabled: true
|
535
|
+
VersionAdded: '0.49'
|
536
|
+
EnforcedStyle: no_empty_lines
|
537
|
+
SupportedStyles:
|
538
|
+
- empty_lines
|
539
|
+
- empty_lines_except_namespace
|
540
|
+
- empty_lines_special
|
541
|
+
- no_empty_lines
|
542
|
+
|
543
|
+
Layout/EndAlignment:
|
544
|
+
Description: 'Align ends correctly.'
|
545
|
+
Enabled: true
|
546
|
+
VersionAdded: '0.53'
|
547
|
+
# The value `keyword` means that `end` should be aligned with the matching
|
548
|
+
# keyword (`if`, `while`, etc.).
|
549
|
+
# The value `variable` means that in assignments, `end` should be aligned
|
550
|
+
# with the start of the variable on the left hand side of `=`. In all other
|
551
|
+
# situations, `end` should still be aligned with the keyword.
|
552
|
+
# The value `start_of_line` means that `end` should be aligned with the start
|
553
|
+
# of the line which the matching keyword appears on.
|
554
|
+
EnforcedStyleAlignWith: keyword
|
555
|
+
SupportedStylesAlignWith:
|
556
|
+
- keyword
|
557
|
+
- variable
|
558
|
+
- start_of_line
|
559
|
+
AutoCorrect: false
|
560
|
+
Severity: warning
|
561
|
+
|
562
|
+
Layout/EndOfLine:
|
563
|
+
Description: 'Use Unix-style line endings.'
|
564
|
+
StyleGuide: '#crlf'
|
565
|
+
Enabled: true
|
566
|
+
VersionAdded: '0.49'
|
567
|
+
# The `native` style means that CR+LF (Carriage Return + Line Feed) is
|
568
|
+
# enforced on Windows, and LF is enforced on other platforms. The other styles
|
569
|
+
# mean LF and CR+LF, respectively.
|
570
|
+
EnforcedStyle: native
|
571
|
+
SupportedStyles:
|
572
|
+
- native
|
573
|
+
- lf
|
574
|
+
- crlf
|
575
|
+
|
576
|
+
Layout/ExtraSpacing:
|
577
|
+
Description: 'Do not use unnecessary spacing.'
|
578
|
+
Enabled: true
|
579
|
+
VersionAdded: '0.49'
|
580
|
+
# When true, allows most uses of extra spacing if the intent is to align
|
581
|
+
# things with the previous or next line, not counting empty lines or comment
|
582
|
+
# lines.
|
583
|
+
AllowForAlignment: true
|
584
|
+
# When true, allows things like 'obj.meth(arg) # comment',
|
585
|
+
# rather than insisting on 'obj.meth(arg) # comment'.
|
586
|
+
# If done for alignment, either this OR AllowForAlignment will allow it.
|
587
|
+
AllowBeforeTrailingComments: false
|
588
|
+
# When true, forces the alignment of `=` in assignments on consecutive lines.
|
589
|
+
ForceEqualSignAlignment: false
|
590
|
+
|
591
|
+
Layout/FirstArrayElementLineBreak:
|
592
|
+
Description: >-
|
593
|
+
Checks for a line break before the first element in a
|
594
|
+
multi-line array.
|
595
|
+
Enabled: false
|
596
|
+
VersionAdded: '0.49'
|
597
|
+
|
598
|
+
Layout/FirstHashElementLineBreak:
|
599
|
+
Description: >-
|
600
|
+
Checks for a line break before the first element in a
|
601
|
+
multi-line hash.
|
602
|
+
Enabled: false
|
603
|
+
VersionAdded: '0.49'
|
604
|
+
|
605
|
+
Layout/FirstMethodArgumentLineBreak:
|
606
|
+
Description: >-
|
607
|
+
Checks for a line break before the first argument in a
|
608
|
+
multi-line method call.
|
609
|
+
Enabled: false
|
610
|
+
VersionAdded: '0.49'
|
611
|
+
|
612
|
+
Layout/FirstMethodParameterLineBreak:
|
613
|
+
Description: >-
|
614
|
+
Checks for a line break before the first parameter in a
|
615
|
+
multi-line method parameter definition.
|
616
|
+
Enabled: false
|
617
|
+
VersionAdded: '0.49'
|
618
|
+
|
619
|
+
Layout/FirstParameterIndentation:
|
620
|
+
Description: 'Checks the indentation of the first parameter in a method call.'
|
621
|
+
Enabled: true
|
622
|
+
VersionAdded: '0.49'
|
623
|
+
VersionChanged: '0.56'
|
624
|
+
EnforcedStyle: special_for_inner_method_call_in_parentheses
|
625
|
+
SupportedStyles:
|
626
|
+
# The first parameter should always be indented one step more than the
|
627
|
+
# preceding line.
|
628
|
+
- consistent
|
629
|
+
# The first parameter should always be indented one level relative to the
|
630
|
+
# parent that is receiving the parameter
|
631
|
+
- consistent_relative_to_receiver
|
632
|
+
# The first parameter should normally be indented one step more than the
|
633
|
+
# preceding line, but if it's a parameter for a method call that is itself
|
634
|
+
# a parameter in a method call, then the inner parameter should be indented
|
635
|
+
# relative to the inner method.
|
636
|
+
- special_for_inner_method_call
|
637
|
+
# Same as `special_for_inner_method_call` except that the special rule only
|
638
|
+
# applies if the outer method call encloses its arguments in parentheses.
|
639
|
+
- special_for_inner_method_call_in_parentheses
|
640
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
641
|
+
# But it can be overridden by setting this parameter
|
642
|
+
IndentationWidth: ~
|
643
|
+
|
644
|
+
Layout/IndentArray:
|
645
|
+
Description: >-
|
646
|
+
Checks the indentation of the first element in an array
|
647
|
+
literal.
|
648
|
+
Enabled: true
|
649
|
+
VersionAdded: '0.49'
|
650
|
+
# The value `special_inside_parentheses` means that array literals with
|
651
|
+
# brackets that have their opening bracket on the same line as a surrounding
|
652
|
+
# opening round parenthesis, shall have their first element indented relative
|
653
|
+
# to the first position inside the parenthesis.
|
654
|
+
#
|
655
|
+
# The value `consistent` means that the indentation of the first element shall
|
656
|
+
# always be relative to the first position of the line where the opening
|
657
|
+
# bracket is.
|
658
|
+
#
|
659
|
+
# The value `align_brackets` means that the indentation of the first element
|
660
|
+
# shall always be relative to the position of the opening bracket.
|
661
|
+
EnforcedStyle: special_inside_parentheses
|
662
|
+
SupportedStyles:
|
663
|
+
- special_inside_parentheses
|
664
|
+
- consistent
|
665
|
+
- align_brackets
|
666
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
667
|
+
# But it can be overridden by setting this parameter
|
668
|
+
IndentationWidth: ~
|
669
|
+
|
670
|
+
Layout/IndentAssignment:
|
671
|
+
Description: >-
|
672
|
+
Checks the indentation of the first line of the
|
673
|
+
right-hand-side of a multi-line assignment.
|
674
|
+
Enabled: true
|
675
|
+
VersionAdded: '0.49'
|
676
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
677
|
+
# But it can be overridden by setting this parameter
|
678
|
+
IndentationWidth: ~
|
679
|
+
|
680
|
+
Layout/IndentHash:
|
681
|
+
Description: 'Checks the indentation of the first key in a hash literal.'
|
682
|
+
Enabled: true
|
683
|
+
VersionAdded: '0.49'
|
684
|
+
# The value `special_inside_parentheses` means that hash literals with braces
|
685
|
+
# that have their opening brace on the same line as a surrounding opening
|
686
|
+
# round parenthesis, shall have their first key indented relative to the
|
687
|
+
# first position inside the parenthesis.
|
688
|
+
#
|
689
|
+
# The value `consistent` means that the indentation of the first key shall
|
690
|
+
# always be relative to the first position of the line where the opening
|
691
|
+
# brace is.
|
692
|
+
#
|
693
|
+
# The value `align_braces` means that the indentation of the first key shall
|
694
|
+
# always be relative to the position of the opening brace.
|
695
|
+
EnforcedStyle: special_inside_parentheses
|
696
|
+
SupportedStyles:
|
697
|
+
- special_inside_parentheses
|
698
|
+
- consistent
|
699
|
+
- align_braces
|
700
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
701
|
+
# But it can be overridden by setting this parameter
|
702
|
+
IndentationWidth: ~
|
703
|
+
|
704
|
+
Layout/IndentHeredoc:
|
705
|
+
Description: 'This cop checks the indentation of the here document bodies.'
|
706
|
+
StyleGuide: '#squiggly-heredocs'
|
707
|
+
Enabled: true
|
708
|
+
VersionAdded: '0.49'
|
709
|
+
EnforcedStyle: auto_detection
|
710
|
+
SupportedStyles:
|
711
|
+
- auto_detection
|
712
|
+
- squiggly
|
713
|
+
- active_support
|
714
|
+
- powerpack
|
715
|
+
- unindent
|
716
|
+
|
717
|
+
Layout/IndentationConsistency:
|
718
|
+
Description: 'Keep indentation straight.'
|
719
|
+
StyleGuide: '#spaces-indentation'
|
720
|
+
Enabled: true
|
721
|
+
VersionAdded: '0.49'
|
722
|
+
# The difference between `rails` and `normal` is that the `rails` style
|
723
|
+
# prescribes that in classes and modules the `protected` and `private`
|
724
|
+
# modifier keywords shall be indented the same as public methods and that
|
725
|
+
# protected and private members shall be indented one step more than the
|
726
|
+
# modifiers. Other than that, both styles mean that entities on the same
|
727
|
+
# logical depth shall have the same indentation.
|
728
|
+
EnforcedStyle: normal
|
729
|
+
SupportedStyles:
|
730
|
+
- normal
|
731
|
+
- rails
|
732
|
+
|
733
|
+
Layout/IndentationWidth:
|
734
|
+
Description: 'Use 2 spaces for indentation.'
|
735
|
+
StyleGuide: '#spaces-indentation'
|
736
|
+
Enabled: true
|
737
|
+
VersionAdded: '0.49'
|
738
|
+
# Number of spaces for each indentation level.
|
739
|
+
Width: 2
|
740
|
+
IgnoredPatterns: []
|
741
|
+
|
742
|
+
Layout/InitialIndentation:
|
743
|
+
Description: >-
|
744
|
+
Checks the indentation of the first non-blank non-comment line in a file.
|
745
|
+
Enabled: true
|
746
|
+
VersionAdded: '0.49'
|
747
|
+
|
748
|
+
Layout/LeadingBlankLines:
|
749
|
+
Description: Check for unnecessary blank lines at the beginning of a file.
|
750
|
+
Enabled: true
|
751
|
+
VersionAdded: '0.57'
|
752
|
+
|
753
|
+
Layout/LeadingCommentSpace:
|
754
|
+
Description: 'Comments should start with a space.'
|
755
|
+
StyleGuide: '#hash-space'
|
756
|
+
Enabled: true
|
757
|
+
VersionAdded: '0.49'
|
758
|
+
|
759
|
+
Layout/MultilineArrayBraceLayout:
|
760
|
+
Description: >-
|
761
|
+
Checks that the closing brace in an array literal is
|
762
|
+
either on the same line as the last array element, or
|
763
|
+
a new line.
|
764
|
+
Enabled: true
|
765
|
+
VersionAdded: '0.49'
|
766
|
+
EnforcedStyle: symmetrical
|
767
|
+
SupportedStyles:
|
768
|
+
# symmetrical: closing brace is positioned in same way as opening brace
|
769
|
+
# new_line: closing brace is always on a new line
|
770
|
+
# same_line: closing brace is always on the same line as last element
|
771
|
+
- symmetrical
|
772
|
+
- new_line
|
773
|
+
- same_line
|
774
|
+
|
775
|
+
Layout/MultilineAssignmentLayout:
|
776
|
+
Description: 'Check for a newline after the assignment operator in multi-line assignments.'
|
777
|
+
StyleGuide: '#indent-conditional-assignment'
|
778
|
+
Enabled: false
|
779
|
+
VersionAdded: '0.49'
|
780
|
+
# The types of assignments which are subject to this rule.
|
781
|
+
SupportedTypes:
|
782
|
+
- block
|
783
|
+
- case
|
784
|
+
- class
|
785
|
+
- if
|
786
|
+
- kwbegin
|
787
|
+
- module
|
788
|
+
EnforcedStyle: new_line
|
789
|
+
SupportedStyles:
|
790
|
+
# Ensures that the assignment operator and the rhs are on the same line for
|
791
|
+
# the set of supported types.
|
792
|
+
- same_line
|
793
|
+
# Ensures that the assignment operator and the rhs are on separate lines
|
794
|
+
# for the set of supported types.
|
795
|
+
- new_line
|
796
|
+
|
797
|
+
Layout/MultilineBlockLayout:
|
798
|
+
Description: 'Ensures newlines after multiline block do statements.'
|
799
|
+
Enabled: true
|
800
|
+
VersionAdded: '0.49'
|
801
|
+
|
802
|
+
Layout/MultilineHashBraceLayout:
|
803
|
+
Description: >-
|
804
|
+
Checks that the closing brace in a hash literal is
|
805
|
+
either on the same line as the last hash element, or
|
806
|
+
a new line.
|
807
|
+
Enabled: true
|
808
|
+
VersionAdded: '0.49'
|
809
|
+
EnforcedStyle: symmetrical
|
810
|
+
SupportedStyles:
|
811
|
+
# symmetrical: closing brace is positioned in same way as opening brace
|
812
|
+
# new_line: closing brace is always on a new line
|
813
|
+
# same_line: closing brace is always on same line as last element
|
814
|
+
- symmetrical
|
815
|
+
- new_line
|
816
|
+
- same_line
|
817
|
+
|
818
|
+
Layout/MultilineMethodCallBraceLayout:
|
819
|
+
Description: >-
|
820
|
+
Checks that the closing brace in a method call is
|
821
|
+
either on the same line as the last method argument, or
|
822
|
+
a new line.
|
823
|
+
Enabled: true
|
824
|
+
VersionAdded: '0.49'
|
825
|
+
EnforcedStyle: symmetrical
|
826
|
+
SupportedStyles:
|
827
|
+
# symmetrical: closing brace is positioned in same way as opening brace
|
828
|
+
# new_line: closing brace is always on a new line
|
829
|
+
# same_line: closing brace is always on the same line as last argument
|
830
|
+
- symmetrical
|
831
|
+
- new_line
|
832
|
+
- same_line
|
833
|
+
|
834
|
+
Layout/MultilineMethodCallIndentation:
|
835
|
+
Description: >-
|
836
|
+
Checks indentation of method calls with the dot operator
|
837
|
+
that span more than one line.
|
838
|
+
Enabled: true
|
839
|
+
VersionAdded: '0.49'
|
840
|
+
EnforcedStyle: aligned
|
841
|
+
SupportedStyles:
|
842
|
+
- aligned
|
843
|
+
- indented
|
844
|
+
- indented_relative_to_receiver
|
845
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
846
|
+
# But it can be overridden by setting this parameter
|
847
|
+
IndentationWidth: ~
|
848
|
+
|
849
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
850
|
+
Description: >-
|
851
|
+
Checks that the closing brace in a method definition is
|
852
|
+
either on the same line as the last method parameter, or
|
853
|
+
a new line.
|
854
|
+
Enabled: true
|
855
|
+
VersionAdded: '0.49'
|
856
|
+
EnforcedStyle: symmetrical
|
857
|
+
SupportedStyles:
|
858
|
+
# symmetrical: closing brace is positioned in same way as opening brace
|
859
|
+
# new_line: closing brace is always on a new line
|
860
|
+
# same_line: closing brace is always on the same line as last parameter
|
861
|
+
- symmetrical
|
862
|
+
- new_line
|
863
|
+
- same_line
|
864
|
+
|
865
|
+
Layout/MultilineOperationIndentation:
|
866
|
+
Description: >-
|
867
|
+
Checks indentation of binary operations that span more than
|
868
|
+
one line.
|
869
|
+
Enabled: true
|
870
|
+
VersionAdded: '0.49'
|
871
|
+
EnforcedStyle: aligned
|
872
|
+
SupportedStyles:
|
873
|
+
- aligned
|
874
|
+
- indented
|
875
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
876
|
+
# But it can be overridden by setting this parameter
|
877
|
+
IndentationWidth: ~
|
878
|
+
|
879
|
+
Layout/RescueEnsureAlignment:
|
880
|
+
Description: 'Align rescues and ensures correctly.'
|
881
|
+
Enabled: true
|
882
|
+
VersionAdded: '0.49'
|
883
|
+
|
884
|
+
Layout/SpaceAfterColon:
|
885
|
+
Description: 'Use spaces after colons.'
|
886
|
+
StyleGuide: '#spaces-operators'
|
887
|
+
Enabled: true
|
888
|
+
VersionAdded: '0.49'
|
889
|
+
|
890
|
+
Layout/SpaceAfterComma:
|
891
|
+
Description: 'Use spaces after commas.'
|
892
|
+
StyleGuide: '#spaces-operators'
|
893
|
+
Enabled: true
|
894
|
+
VersionAdded: '0.49'
|
895
|
+
|
896
|
+
Layout/SpaceAfterMethodName:
|
897
|
+
Description: >-
|
898
|
+
Do not put a space between a method name and the opening
|
899
|
+
parenthesis in a method definition.
|
900
|
+
StyleGuide: '#parens-no-spaces'
|
901
|
+
Enabled: true
|
902
|
+
VersionAdded: '0.49'
|
903
|
+
|
904
|
+
Layout/SpaceAfterNot:
|
905
|
+
Description: Tracks redundant space after the ! operator.
|
906
|
+
StyleGuide: '#no-space-bang'
|
907
|
+
Enabled: true
|
908
|
+
VersionAdded: '0.49'
|
909
|
+
|
910
|
+
Layout/SpaceAfterSemicolon:
|
911
|
+
Description: 'Use spaces after semicolons.'
|
912
|
+
StyleGuide: '#spaces-operators'
|
913
|
+
Enabled: true
|
914
|
+
VersionAdded: '0.49'
|
915
|
+
|
916
|
+
Layout/SpaceAroundBlockParameters:
|
917
|
+
Description: 'Checks the spacing inside and after block parameters pipes.'
|
918
|
+
Enabled: true
|
919
|
+
VersionAdded: '0.49'
|
920
|
+
EnforcedStyleInsidePipes: no_space
|
921
|
+
SupportedStylesInsidePipes:
|
922
|
+
- space
|
923
|
+
- no_space
|
924
|
+
|
925
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
926
|
+
Description: >-
|
927
|
+
Checks that the equals signs in parameter default assignments
|
928
|
+
have or don't have surrounding space depending on
|
929
|
+
configuration.
|
930
|
+
StyleGuide: '#spaces-around-equals'
|
931
|
+
Enabled: true
|
932
|
+
VersionAdded: '0.49'
|
933
|
+
EnforcedStyle: space
|
934
|
+
SupportedStyles:
|
935
|
+
- space
|
936
|
+
- no_space
|
937
|
+
|
938
|
+
Layout/SpaceAroundKeyword:
|
939
|
+
Description: 'Use a space around keywords if appropriate.'
|
940
|
+
Enabled: true
|
941
|
+
VersionAdded: '0.49'
|
942
|
+
|
943
|
+
Layout/SpaceAroundOperators:
|
944
|
+
Description: 'Use a single space around operators.'
|
945
|
+
StyleGuide: '#spaces-operators'
|
946
|
+
Enabled: true
|
947
|
+
VersionAdded: '0.49'
|
948
|
+
# When `true`, allows most uses of extra spacing if the intent is to align
|
949
|
+
# with an operator on the previous or next line, not counting empty lines
|
950
|
+
# or comment lines.
|
951
|
+
AllowForAlignment: true
|
952
|
+
|
953
|
+
Layout/SpaceBeforeBlockBraces:
|
954
|
+
Description: >-
|
955
|
+
Checks that the left block brace has or doesn't have space
|
956
|
+
before it.
|
957
|
+
Enabled: true
|
958
|
+
VersionAdded: '0.49'
|
959
|
+
EnforcedStyle: space
|
960
|
+
SupportedStyles:
|
961
|
+
- space
|
962
|
+
- no_space
|
963
|
+
EnforcedStyleForEmptyBraces: space
|
964
|
+
SupportedStylesForEmptyBraces:
|
965
|
+
- space
|
966
|
+
- no_space
|
967
|
+
VersionChanged: '0.52.1'
|
968
|
+
|
969
|
+
Layout/SpaceBeforeComma:
|
970
|
+
Description: 'No spaces before commas.'
|
971
|
+
Enabled: true
|
972
|
+
VersionAdded: '0.49'
|
973
|
+
|
974
|
+
Layout/SpaceBeforeComment:
|
975
|
+
Description: >-
|
976
|
+
Checks for missing space between code and a comment on the
|
977
|
+
same line.
|
978
|
+
Enabled: true
|
979
|
+
VersionAdded: '0.49'
|
980
|
+
|
981
|
+
Layout/SpaceBeforeFirstArg:
|
982
|
+
Description: >-
|
983
|
+
Checks that exactly one space is used between a method name
|
984
|
+
and the first argument for method calls without parentheses.
|
985
|
+
Enabled: true
|
986
|
+
VersionAdded: '0.49'
|
987
|
+
# When `true`, allows most uses of extra spacing if the intent is to align
|
988
|
+
# things with the previous or next line, not counting empty lines or comment
|
989
|
+
# lines.
|
990
|
+
AllowForAlignment: true
|
991
|
+
|
992
|
+
Layout/SpaceBeforeSemicolon:
|
993
|
+
Description: 'No spaces before semicolons.'
|
994
|
+
Enabled: true
|
995
|
+
VersionAdded: '0.49'
|
996
|
+
|
997
|
+
Layout/SpaceInLambdaLiteral:
|
998
|
+
Description: 'Checks for spaces in lambda literals.'
|
999
|
+
Enabled: true
|
1000
|
+
VersionAdded: '0.49'
|
1001
|
+
EnforcedStyle: require_no_space
|
1002
|
+
SupportedStyles:
|
1003
|
+
- require_no_space
|
1004
|
+
- require_space
|
1005
|
+
|
1006
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
1007
|
+
Description: 'Checks the spacing inside array literal brackets.'
|
1008
|
+
Enabled: true
|
1009
|
+
VersionAdded: '0.52'
|
1010
|
+
EnforcedStyle: no_space
|
1011
|
+
SupportedStyles:
|
1012
|
+
- space
|
1013
|
+
- no_space
|
1014
|
+
# 'compact' normally requires a space inside the brackets, with the exception
|
1015
|
+
# that successive left brackets or right brackets are collapsed together
|
1016
|
+
- compact
|
1017
|
+
EnforcedStyleForEmptyBrackets: no_space
|
1018
|
+
SupportedStylesForEmptyBrackets:
|
1019
|
+
- space
|
1020
|
+
- no_space
|
1021
|
+
|
1022
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
1023
|
+
Description: 'No unnecessary additional spaces between elements in %i/%w literals.'
|
1024
|
+
Enabled: true
|
1025
|
+
VersionAdded: '0.49'
|
1026
|
+
|
1027
|
+
Layout/SpaceInsideBlockBraces:
|
1028
|
+
Description: >-
|
1029
|
+
Checks that block braces have or don't have surrounding space.
|
1030
|
+
For blocks taking parameters, checks that the left brace has
|
1031
|
+
or doesn't have trailing space.
|
1032
|
+
Enabled: true
|
1033
|
+
VersionAdded: '0.49'
|
1034
|
+
EnforcedStyle: space
|
1035
|
+
SupportedStyles:
|
1036
|
+
- space
|
1037
|
+
- no_space
|
1038
|
+
EnforcedStyleForEmptyBraces: no_space
|
1039
|
+
SupportedStylesForEmptyBraces:
|
1040
|
+
- space
|
1041
|
+
- no_space
|
1042
|
+
# Space between `{` and `|`. Overrides `EnforcedStyle` if there is a conflict.
|
1043
|
+
SpaceBeforeBlockParameters: true
|
1044
|
+
|
1045
|
+
Layout/SpaceInsideHashLiteralBraces:
|
1046
|
+
Description: "Use spaces inside hash literal braces - or don't."
|
1047
|
+
StyleGuide: '#spaces-operators'
|
1048
|
+
Enabled: true
|
1049
|
+
VersionAdded: '0.49'
|
1050
|
+
EnforcedStyle: space
|
1051
|
+
SupportedStyles:
|
1052
|
+
- space
|
1053
|
+
- no_space
|
1054
|
+
# 'compact' normally requires a space inside hash braces, with the exception
|
1055
|
+
# that successive left braces or right braces are collapsed together
|
1056
|
+
- compact
|
1057
|
+
EnforcedStyleForEmptyBraces: no_space
|
1058
|
+
SupportedStylesForEmptyBraces:
|
1059
|
+
- space
|
1060
|
+
- no_space
|
1061
|
+
|
1062
|
+
|
1063
|
+
Layout/SpaceInsideParens:
|
1064
|
+
Description: 'No spaces after ( or before ).'
|
1065
|
+
StyleGuide: '#spaces-braces'
|
1066
|
+
Enabled: true
|
1067
|
+
VersionAdded: '0.49'
|
1068
|
+
VersionChanged: '0.55'
|
1069
|
+
EnforcedStyle: no_space
|
1070
|
+
SupportedStyles:
|
1071
|
+
- space
|
1072
|
+
- no_space
|
1073
|
+
|
1074
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
1075
|
+
Description: 'No unnecessary spaces inside delimiters of %i/%w/%x literals.'
|
1076
|
+
Enabled: true
|
1077
|
+
VersionAdded: '0.49'
|
1078
|
+
|
1079
|
+
Layout/SpaceInsideRangeLiteral:
|
1080
|
+
Description: 'No spaces inside range literals.'
|
1081
|
+
StyleGuide: '#no-space-inside-range-literals'
|
1082
|
+
Enabled: true
|
1083
|
+
VersionAdded: '0.49'
|
1084
|
+
|
1085
|
+
Layout/SpaceInsideReferenceBrackets:
|
1086
|
+
Description: 'Checks the spacing inside referential brackets.'
|
1087
|
+
Enabled: true
|
1088
|
+
VersionAdded: '0.52'
|
1089
|
+
VersionChanged: '0.53'
|
1090
|
+
EnforcedStyle: no_space
|
1091
|
+
SupportedStyles:
|
1092
|
+
- space
|
1093
|
+
- no_space
|
1094
|
+
EnforcedStyleForEmptyBrackets: no_space
|
1095
|
+
SupportedStylesForEmptyBrackets:
|
1096
|
+
- space
|
1097
|
+
- no_space
|
1098
|
+
|
1099
|
+
Layout/SpaceInsideStringInterpolation:
|
1100
|
+
Description: 'Checks for padding/surrounding spaces inside string interpolation.'
|
1101
|
+
StyleGuide: '#string-interpolation'
|
1102
|
+
Enabled: true
|
1103
|
+
VersionAdded: '0.49'
|
1104
|
+
EnforcedStyle: no_space
|
1105
|
+
SupportedStyles:
|
1106
|
+
- space
|
1107
|
+
- no_space
|
1108
|
+
|
1109
|
+
Layout/Tab:
|
1110
|
+
Description: 'No hard tabs.'
|
1111
|
+
StyleGuide: '#spaces-indentation'
|
1112
|
+
Enabled: true
|
1113
|
+
VersionAdded: '0.49'
|
1114
|
+
VersionChanged: '0.51'
|
1115
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
1116
|
+
# But it can be overridden by setting this parameter
|
1117
|
+
# It is used during auto-correction to determine how many spaces should
|
1118
|
+
# replace each tab.
|
1119
|
+
IndentationWidth: ~
|
1120
|
+
|
1121
|
+
Layout/TrailingBlankLines:
|
1122
|
+
Description: 'Checks trailing blank lines and final newline.'
|
1123
|
+
StyleGuide: '#newline-eof'
|
1124
|
+
Enabled: true
|
1125
|
+
VersionAdded: '0.49'
|
1126
|
+
EnforcedStyle: final_newline
|
1127
|
+
SupportedStyles:
|
1128
|
+
- final_newline
|
1129
|
+
- final_blank_line
|
1130
|
+
|
1131
|
+
Layout/TrailingWhitespace:
|
1132
|
+
Description: 'Avoid trailing whitespace.'
|
1133
|
+
StyleGuide: '#no-trailing-whitespace'
|
1134
|
+
Enabled: true
|
1135
|
+
VersionAdded: '0.49'
|
1136
|
+
VersionChanged: '0.55'
|
1137
|
+
AllowInHeredoc: false
|
1138
|
+
|
1139
|
+
#################### Lint ##################################
|
1140
|
+
### Warnings
|
1141
|
+
|
1142
|
+
Lint/AmbiguousBlockAssociation:
|
1143
|
+
Description: >-
|
1144
|
+
Checks for ambiguous block association with method when param passed without
|
1145
|
+
parentheses.
|
1146
|
+
StyleGuide: '#syntax'
|
1147
|
+
Enabled: true
|
1148
|
+
VersionAdded: '0.48'
|
1149
|
+
|
1150
|
+
Lint/AmbiguousOperator:
|
1151
|
+
Description: >-
|
1152
|
+
Checks for ambiguous operators in the first argument of a
|
1153
|
+
method invocation without parentheses.
|
1154
|
+
StyleGuide: '#method-invocation-parens'
|
1155
|
+
Enabled: true
|
1156
|
+
VersionAdded: '0.17'
|
1157
|
+
|
1158
|
+
Lint/AmbiguousRegexpLiteral:
|
1159
|
+
Description: >-
|
1160
|
+
Checks for ambiguous regexp literals in the first argument of
|
1161
|
+
a method invocation without parentheses.
|
1162
|
+
Enabled: true
|
1163
|
+
VersionAdded: '0.17'
|
1164
|
+
|
1165
|
+
Lint/AssignmentInCondition:
|
1166
|
+
Description: "Don't use assignment in conditions."
|
1167
|
+
StyleGuide: '#safe-assignment-in-condition'
|
1168
|
+
Enabled: true
|
1169
|
+
VersionAdded: '0.9'
|
1170
|
+
AllowSafeAssignment: true
|
1171
|
+
|
1172
|
+
Lint/BigDecimalNew:
|
1173
|
+
Description: '`BigDecimal.new()` is deprecated. Use `BigDecimal()` instead.'
|
1174
|
+
Enabled: true
|
1175
|
+
VersionAdded: '0.53'
|
1176
|
+
|
1177
|
+
Lint/BooleanSymbol:
|
1178
|
+
Description: 'Check for `:true` and `:false` symbols.'
|
1179
|
+
Enabled: true
|
1180
|
+
VersionAdded: '0.50'
|
1181
|
+
|
1182
|
+
Lint/CircularArgumentReference:
|
1183
|
+
Description: "Default values in optional keyword arguments and optional ordinal arguments should not refer back to the name of the argument."
|
1184
|
+
Enabled: true
|
1185
|
+
VersionAdded: '0.33'
|
1186
|
+
|
1187
|
+
Lint/Debugger:
|
1188
|
+
Description: 'Check for debugger calls.'
|
1189
|
+
Enabled: true
|
1190
|
+
VersionAdded: '0.14'
|
1191
|
+
VersionChanged: '0.49'
|
1192
|
+
|
1193
|
+
Lint/DeprecatedClassMethods:
|
1194
|
+
Description: 'Check for deprecated class method calls.'
|
1195
|
+
Enabled: true
|
1196
|
+
VersionAdded: '0.19'
|
1197
|
+
|
1198
|
+
Lint/DisjunctiveAssignmentInConstructor:
|
1199
|
+
Description: 'In constructor, plain assignment is preferred over disjunctive.'
|
1200
|
+
Enabled: true
|
1201
|
+
Safe: false
|
1202
|
+
VersionAdded: '0.62'
|
1203
|
+
|
1204
|
+
Lint/DuplicateCaseCondition:
|
1205
|
+
Description: 'Do not repeat values in case conditionals.'
|
1206
|
+
Enabled: true
|
1207
|
+
VersionAdded: '0.45'
|
1208
|
+
|
1209
|
+
Lint/DuplicateMethods:
|
1210
|
+
Description: 'Check for duplicate method definitions.'
|
1211
|
+
Enabled: true
|
1212
|
+
VersionAdded: '0.29'
|
1213
|
+
|
1214
|
+
Lint/DuplicatedKey:
|
1215
|
+
Description: 'Check for duplicate keys in hash literals.'
|
1216
|
+
Enabled: true
|
1217
|
+
VersionAdded: '0.34'
|
1218
|
+
|
1219
|
+
Lint/EachWithObjectArgument:
|
1220
|
+
Description: 'Check for immutable argument given to each_with_object.'
|
1221
|
+
Enabled: true
|
1222
|
+
VersionAdded: '0.31'
|
1223
|
+
|
1224
|
+
Lint/ElseLayout:
|
1225
|
+
Description: 'Check for odd code arrangement in an else block.'
|
1226
|
+
Enabled: true
|
1227
|
+
VersionAdded: '0.17'
|
1228
|
+
|
1229
|
+
Lint/EmptyEnsure:
|
1230
|
+
Description: 'Checks for empty ensure block.'
|
1231
|
+
Enabled: true
|
1232
|
+
VersionAdded: '0.10'
|
1233
|
+
VersionChanged: '0.48'
|
1234
|
+
AutoCorrect: false
|
1235
|
+
|
1236
|
+
Lint/EmptyExpression:
|
1237
|
+
Description: 'Checks for empty expressions.'
|
1238
|
+
Enabled: true
|
1239
|
+
VersionAdded: '0.45'
|
1240
|
+
|
1241
|
+
Lint/EmptyInterpolation:
|
1242
|
+
Description: 'Checks for empty string interpolation.'
|
1243
|
+
Enabled: true
|
1244
|
+
VersionAdded: '0.20'
|
1245
|
+
VersionChanged: '0.45'
|
1246
|
+
|
1247
|
+
Lint/EmptyWhen:
|
1248
|
+
Description: 'Checks for `when` branches with empty bodies.'
|
1249
|
+
Enabled: true
|
1250
|
+
VersionAdded: '0.45'
|
1251
|
+
|
1252
|
+
Lint/EndInMethod:
|
1253
|
+
Description: 'END blocks should not be placed inside method definitions.'
|
1254
|
+
Enabled: true
|
1255
|
+
VersionAdded: '0.9'
|
1256
|
+
|
1257
|
+
Lint/EnsureReturn:
|
1258
|
+
Description: 'Do not use return in an ensure block.'
|
1259
|
+
StyleGuide: '#no-return-ensure'
|
1260
|
+
Enabled: true
|
1261
|
+
VersionAdded: '0.9'
|
1262
|
+
|
1263
|
+
Lint/ErbNewArguments:
|
1264
|
+
Description: 'Use `:trim_mode` and `:eoutvar` keyword arguments to `ERB.new`.'
|
1265
|
+
Enabled: true
|
1266
|
+
VersionAdded: '0.56'
|
1267
|
+
|
1268
|
+
Lint/FlipFlop:
|
1269
|
+
Description: 'Checks for flip-flops'
|
1270
|
+
StyleGuide: '#no-flip-flops'
|
1271
|
+
Enabled: true
|
1272
|
+
VersionAdded: '0.16'
|
1273
|
+
|
1274
|
+
Lint/FloatOutOfRange:
|
1275
|
+
Description: >-
|
1276
|
+
Catches floating-point literals too large or small for Ruby to
|
1277
|
+
represent.
|
1278
|
+
Enabled: true
|
1279
|
+
VersionAdded: '0.36'
|
1280
|
+
|
1281
|
+
Lint/FormatParameterMismatch:
|
1282
|
+
Description: 'The number of parameters to format/sprint must match the fields.'
|
1283
|
+
Enabled: true
|
1284
|
+
VersionAdded: '0.33'
|
1285
|
+
|
1286
|
+
Lint/HandleExceptions:
|
1287
|
+
Description: "Don't suppress exception."
|
1288
|
+
StyleGuide: '#dont-hide-exceptions'
|
1289
|
+
Enabled: true
|
1290
|
+
VersionAdded: '0.9'
|
1291
|
+
|
1292
|
+
Lint/ImplicitStringConcatenation:
|
1293
|
+
Description: >-
|
1294
|
+
Checks for adjacent string literals on the same line, which
|
1295
|
+
could better be represented as a single string literal.
|
1296
|
+
Enabled: true
|
1297
|
+
VersionAdded: '0.36'
|
1298
|
+
|
1299
|
+
Lint/IneffectiveAccessModifier:
|
1300
|
+
Description: >-
|
1301
|
+
Checks for attempts to use `private` or `protected` to set
|
1302
|
+
the visibility of a class method, which does not work.
|
1303
|
+
Enabled: true
|
1304
|
+
VersionAdded: '0.36'
|
1305
|
+
|
1306
|
+
Lint/InheritException:
|
1307
|
+
Description: 'Avoid inheriting from the `Exception` class.'
|
1308
|
+
Enabled: true
|
1309
|
+
VersionAdded: '0.41'
|
1310
|
+
# The default base class in favour of `Exception`.
|
1311
|
+
EnforcedStyle: runtime_error
|
1312
|
+
SupportedStyles:
|
1313
|
+
- runtime_error
|
1314
|
+
- standard_error
|
1315
|
+
|
1316
|
+
Lint/InterpolationCheck:
|
1317
|
+
Description: 'Raise warning for interpolation in single q strs'
|
1318
|
+
Enabled: true
|
1319
|
+
VersionAdded: '0.50'
|
1320
|
+
|
1321
|
+
Lint/LiteralAsCondition:
|
1322
|
+
Description: 'Checks of literals used in conditions.'
|
1323
|
+
Enabled: true
|
1324
|
+
VersionAdded: '0.51'
|
1325
|
+
|
1326
|
+
Lint/LiteralInInterpolation:
|
1327
|
+
Description: 'Checks for literals used in interpolation.'
|
1328
|
+
Enabled: true
|
1329
|
+
VersionAdded: '0.19'
|
1330
|
+
VersionChanged: '0.32'
|
1331
|
+
|
1332
|
+
Lint/Loop:
|
1333
|
+
Description: >-
|
1334
|
+
Use Kernel#loop with break rather than begin/end/until or
|
1335
|
+
begin/end/while for post-loop tests.
|
1336
|
+
StyleGuide: '#loop-with-break'
|
1337
|
+
Enabled: true
|
1338
|
+
VersionAdded: '0.9'
|
1339
|
+
|
1340
|
+
Lint/MissingCopEnableDirective:
|
1341
|
+
Description: 'Checks for a `# rubocop:enable` after `# rubocop:disable`'
|
1342
|
+
Enabled: true
|
1343
|
+
VersionAdded: '0.52'
|
1344
|
+
# Maximum number of consecutive lines the cop can be disabled for.
|
1345
|
+
# 0 allows only single-line disables
|
1346
|
+
# 1 would mean the maximum allowed is the following:
|
1347
|
+
# # rubocop:disable SomeCop
|
1348
|
+
# a = 1
|
1349
|
+
# # rubocop:enable SomeCop
|
1350
|
+
# .inf for any size
|
1351
|
+
MaximumRangeSize: .inf
|
1352
|
+
|
1353
|
+
Lint/MultipleCompare:
|
1354
|
+
Description: "Use `&&` operator to compare multiple value."
|
1355
|
+
Enabled: true
|
1356
|
+
VersionAdded: '0.47'
|
1357
|
+
|
1358
|
+
Lint/NestedMethodDefinition:
|
1359
|
+
Description: 'Do not use nested method definitions.'
|
1360
|
+
StyleGuide: '#no-nested-methods'
|
1361
|
+
Enabled: true
|
1362
|
+
VersionAdded: '0.32'
|
1363
|
+
|
1364
|
+
Lint/NestedPercentLiteral:
|
1365
|
+
Description: 'Checks for nested percent literals.'
|
1366
|
+
Enabled: true
|
1367
|
+
VersionAdded: '0.52'
|
1368
|
+
|
1369
|
+
Lint/NextWithoutAccumulator:
|
1370
|
+
Description: >-
|
1371
|
+
Do not omit the accumulator when calling `next`
|
1372
|
+
in a `reduce`/`inject` block.
|
1373
|
+
Enabled: true
|
1374
|
+
VersionAdded: '0.36'
|
1375
|
+
|
1376
|
+
Lint/NonLocalExitFromIterator:
|
1377
|
+
Description: 'Do not use return in iterator to cause non-local exit.'
|
1378
|
+
Enabled: true
|
1379
|
+
VersionAdded: '0.30'
|
1380
|
+
|
1381
|
+
Lint/NumberConversion:
|
1382
|
+
Description: 'Checks unsafe usage of number conversion methods.'
|
1383
|
+
Enabled: false
|
1384
|
+
VersionAdded: '0.53'
|
1385
|
+
|
1386
|
+
Lint/OrderedMagicComments:
|
1387
|
+
Description: 'Checks the proper ordering of magic comments and whether a magic comment is not placed before a shebang.'
|
1388
|
+
Enabled: true
|
1389
|
+
VersionAdded: '0.53'
|
1390
|
+
|
1391
|
+
Lint/ParenthesesAsGroupedExpression:
|
1392
|
+
Description: >-
|
1393
|
+
Checks for method calls with a space before the opening
|
1394
|
+
parenthesis.
|
1395
|
+
StyleGuide: '#parens-no-spaces'
|
1396
|
+
Enabled: true
|
1397
|
+
VersionAdded: '0.12'
|
1398
|
+
|
1399
|
+
Lint/PercentStringArray:
|
1400
|
+
Description: >-
|
1401
|
+
Checks for unwanted commas and quotes in %w/%W literals.
|
1402
|
+
Enabled: true
|
1403
|
+
VersionAdded: '0.41'
|
1404
|
+
|
1405
|
+
Lint/PercentSymbolArray:
|
1406
|
+
Description: >-
|
1407
|
+
Checks for unwanted commas and colons in %i/%I literals.
|
1408
|
+
Enabled: true
|
1409
|
+
VersionAdded: '0.41'
|
1410
|
+
|
1411
|
+
Lint/RandOne:
|
1412
|
+
Description: >-
|
1413
|
+
Checks for `rand(1)` calls. Such calls always return `0`
|
1414
|
+
and most likely a mistake.
|
1415
|
+
Enabled: true
|
1416
|
+
VersionAdded: '0.36'
|
1417
|
+
|
1418
|
+
Lint/RedundantWithIndex:
|
1419
|
+
Description: 'Checks for redundant `with_index`.'
|
1420
|
+
Enabled: true
|
1421
|
+
VersionAdded: '0.50'
|
1422
|
+
|
1423
|
+
Lint/RedundantWithObject:
|
1424
|
+
Description: 'Checks for redundant `with_object`.'
|
1425
|
+
Enabled: true
|
1426
|
+
VersionAdded: '0.51'
|
1427
|
+
|
1428
|
+
Lint/RegexpAsCondition:
|
1429
|
+
Description: >-
|
1430
|
+
Do not use regexp literal as a condition.
|
1431
|
+
The regexp literal matches `$_` implicitly.
|
1432
|
+
Enabled: true
|
1433
|
+
VersionAdded: '0.51'
|
1434
|
+
|
1435
|
+
Lint/RequireParentheses:
|
1436
|
+
Description: >-
|
1437
|
+
Use parentheses in the method call to avoid confusion
|
1438
|
+
about precedence.
|
1439
|
+
Enabled: true
|
1440
|
+
VersionAdded: '0.18'
|
1441
|
+
|
1442
|
+
Lint/RescueException:
|
1443
|
+
Description: 'Avoid rescuing the Exception class.'
|
1444
|
+
StyleGuide: '#no-blind-rescues'
|
1445
|
+
Enabled: true
|
1446
|
+
VersionAdded: '0.9'
|
1447
|
+
VersionChanged: '0.27.1'
|
1448
|
+
|
1449
|
+
Lint/RescueType:
|
1450
|
+
Description: 'Avoid rescuing from non constants that could result in a `TypeError`.'
|
1451
|
+
Enabled: true
|
1452
|
+
VersionAdded: '0.49'
|
1453
|
+
|
1454
|
+
Lint/ReturnInVoidContext:
|
1455
|
+
Description: 'Checks for return in void context.'
|
1456
|
+
Enabled: true
|
1457
|
+
VersionAdded: '0.50'
|
1458
|
+
|
1459
|
+
Lint/SafeNavigationChain:
|
1460
|
+
Description: 'Do not chain ordinary method call after safe navigation operator.'
|
1461
|
+
Enabled: true
|
1462
|
+
VersionAdded: '0.47'
|
1463
|
+
VersionChanged: '0.56'
|
1464
|
+
Whitelist:
|
1465
|
+
- present?
|
1466
|
+
- blank?
|
1467
|
+
- presence
|
1468
|
+
- try
|
1469
|
+
- try!
|
1470
|
+
|
1471
|
+
Lint/SafeNavigationConsistency:
|
1472
|
+
Description: >-
|
1473
|
+
Check to make sure that if safe navigation is used for a method
|
1474
|
+
call in an `&&` or `||` condition that safe navigation is used
|
1475
|
+
for all method calls on that same object.
|
1476
|
+
Enabled: true
|
1477
|
+
VersionAdded: '0.55'
|
1478
|
+
Whitelist:
|
1479
|
+
- present?
|
1480
|
+
- blank?
|
1481
|
+
- presence
|
1482
|
+
- try
|
1483
|
+
- try!
|
1484
|
+
|
1485
|
+
|
1486
|
+
Lint/SafeNavigationWithEmpty:
|
1487
|
+
Description: 'Avoid `foo&.empty?` in conditionals.'
|
1488
|
+
Enabled: true
|
1489
|
+
VersionAdded: '0.62'
|
1490
|
+
|
1491
|
+
Lint/ScriptPermission:
|
1492
|
+
Description: 'Grant script file execute permission.'
|
1493
|
+
Enabled: true
|
1494
|
+
VersionAdded: '0.49'
|
1495
|
+
VersionChanged: '0.50'
|
1496
|
+
|
1497
|
+
Lint/ShadowedArgument:
|
1498
|
+
Description: 'Avoid reassigning arguments before they were used.'
|
1499
|
+
Enabled: true
|
1500
|
+
VersionAdded: '0.52'
|
1501
|
+
IgnoreImplicitReferences: false
|
1502
|
+
|
1503
|
+
|
1504
|
+
Lint/ShadowedException:
|
1505
|
+
Description: >-
|
1506
|
+
Avoid rescuing a higher level exception
|
1507
|
+
before a lower level exception.
|
1508
|
+
Enabled: true
|
1509
|
+
VersionAdded: '0.41'
|
1510
|
+
|
1511
|
+
Lint/ShadowingOuterLocalVariable:
|
1512
|
+
Description: >-
|
1513
|
+
Do not use the same name as outer local variable
|
1514
|
+
for block arguments or block local variables.
|
1515
|
+
Enabled: true
|
1516
|
+
VersionAdded: '0.9'
|
1517
|
+
|
1518
|
+
Lint/StringConversionInInterpolation:
|
1519
|
+
Description: 'Checks for Object#to_s usage in string interpolation.'
|
1520
|
+
StyleGuide: '#no-to-s'
|
1521
|
+
Enabled: true
|
1522
|
+
VersionAdded: '0.19'
|
1523
|
+
VersionChanged: '0.20'
|
1524
|
+
|
1525
|
+
Lint/Syntax:
|
1526
|
+
Description: 'Checks syntax error'
|
1527
|
+
Enabled: true
|
1528
|
+
VersionAdded: '0.9'
|
1529
|
+
|
1530
|
+
|
1531
|
+
Lint/ToJSON:
|
1532
|
+
Description: 'Ensure #to_json includes an optional argument.'
|
1533
|
+
Enabled: true
|
1534
|
+
|
1535
|
+
Lint/UnderscorePrefixedVariableName:
|
1536
|
+
Description: 'Do not use prefix `_` for a variable that is used.'
|
1537
|
+
Enabled: true
|
1538
|
+
VersionAdded: '0.21'
|
1539
|
+
|
1540
|
+
Lint/UnifiedInteger:
|
1541
|
+
Description: 'Use Integer instead of Fixnum or Bignum'
|
1542
|
+
Enabled: true
|
1543
|
+
VersionAdded: '0.43'
|
1544
|
+
|
1545
|
+
Lint/UnneededCopDisableDirective:
|
1546
|
+
Description: >-
|
1547
|
+
Checks for rubocop:disable comments that can be removed.
|
1548
|
+
Note: this cop is not disabled when disabling all cops.
|
1549
|
+
It must be explicitly disabled.
|
1550
|
+
Enabled: true
|
1551
|
+
VersionAdded: '0.53'
|
1552
|
+
|
1553
|
+
Lint/UnneededCopEnableDirective:
|
1554
|
+
Description: Checks for rubocop:enable comments that can be removed.
|
1555
|
+
Enabled: true
|
1556
|
+
VersionAdded: '0.53'
|
1557
|
+
|
1558
|
+
Lint/UnneededRequireStatement:
|
1559
|
+
Description: 'Checks for unnecessary `require` statement.'
|
1560
|
+
Enabled: true
|
1561
|
+
VersionAdded: '0.51'
|
1562
|
+
|
1563
|
+
Lint/UnneededSplatExpansion:
|
1564
|
+
Description: 'Checks for splat unnecessarily being called on literals'
|
1565
|
+
Enabled: true
|
1566
|
+
VersionAdded: '0.43'
|
1567
|
+
|
1568
|
+
Lint/UnreachableCode:
|
1569
|
+
Description: 'Unreachable code.'
|
1570
|
+
Enabled: true
|
1571
|
+
VersionAdded: '0.9'
|
1572
|
+
|
1573
|
+
Lint/UnusedBlockArgument:
|
1574
|
+
Description: 'Checks for unused block arguments.'
|
1575
|
+
StyleGuide: '#underscore-unused-vars'
|
1576
|
+
Enabled: true
|
1577
|
+
VersionAdded: '0.21'
|
1578
|
+
VersionChanged: '0.22'
|
1579
|
+
IgnoreEmptyBlocks: true
|
1580
|
+
AllowUnusedKeywordArguments: false
|
1581
|
+
|
1582
|
+
Lint/UnusedMethodArgument:
|
1583
|
+
Description: 'Checks for unused method arguments.'
|
1584
|
+
StyleGuide: '#underscore-unused-vars'
|
1585
|
+
Enabled: true
|
1586
|
+
VersionAdded: '0.21'
|
1587
|
+
VersionChanged: '0.35'
|
1588
|
+
AllowUnusedKeywordArguments: false
|
1589
|
+
IgnoreEmptyMethods: true
|
1590
|
+
|
1591
|
+
Lint/UriEscapeUnescape:
|
1592
|
+
Description: >-
|
1593
|
+
`URI.escape` method is obsolete and should not be used. Instead, use
|
1594
|
+
`CGI.escape`, `URI.encode_www_form` or `URI.encode_www_form_component`
|
1595
|
+
depending on your specific use case.
|
1596
|
+
Also `URI.unescape` method is obsolete and should not be used. Instead, use
|
1597
|
+
`CGI.unescape`, `URI.decode_www_form` or `URI.decode_www_form_component`
|
1598
|
+
depending on your specific use case.
|
1599
|
+
Enabled: true
|
1600
|
+
VersionAdded: '0.50'
|
1601
|
+
|
1602
|
+
Lint/UriRegexp:
|
1603
|
+
Description: 'Use `URI::DEFAULT_PARSER.make_regexp` instead of `URI.regexp`.'
|
1604
|
+
Enabled: true
|
1605
|
+
VersionAdded: '0.50'
|
1606
|
+
|
1607
|
+
Lint/UselessAccessModifier:
|
1608
|
+
Description: 'Checks for useless access modifiers.'
|
1609
|
+
Enabled: true
|
1610
|
+
VersionAdded: '0.20'
|
1611
|
+
VersionChanged: '0.47'
|
1612
|
+
ContextCreatingMethods: []
|
1613
|
+
MethodCreatingMethods: []
|
1614
|
+
|
1615
|
+
Lint/UselessAssignment:
|
1616
|
+
Description: 'Checks for useless assignment to a local variable.'
|
1617
|
+
StyleGuide: '#underscore-unused-vars'
|
1618
|
+
Enabled: true
|
1619
|
+
VersionAdded: '0.11'
|
1620
|
+
|
1621
|
+
Lint/UselessComparison:
|
1622
|
+
Description: 'Checks for comparison of something with itself.'
|
1623
|
+
Enabled: true
|
1624
|
+
VersionAdded: '0.11'
|
1625
|
+
|
1626
|
+
Lint/UselessElseWithoutRescue:
|
1627
|
+
Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
|
1628
|
+
Enabled: true
|
1629
|
+
VersionAdded: '0.17'
|
1630
|
+
|
1631
|
+
Lint/UselessSetterCall:
|
1632
|
+
Description: 'Checks for useless setter call to a local variable.'
|
1633
|
+
Enabled: true
|
1634
|
+
VersionAdded: '0.13'
|
1635
|
+
|
1636
|
+
Lint/Void:
|
1637
|
+
Description: 'Possible use of operator/literal/variable in void context.'
|
1638
|
+
Enabled: true
|
1639
|
+
VersionAdded: '0.9'
|
1640
|
+
CheckForMethodsWithNoSideEffects: false
|
1641
|
+
|
1642
|
+
#################### Metrics ###############################
|
1643
|
+
|
1644
|
+
Metrics/AbcSize:
|
1645
|
+
Description: >-
|
1646
|
+
A calculated magnitude based on number of assignments,
|
1647
|
+
branches, and conditions.
|
1648
|
+
Reference:
|
1649
|
+
- http://c2.com/cgi/wiki?AbcMetric
|
1650
|
+
- https://en.wikipedia.org/wiki/ABC_Software_Metric'
|
1651
|
+
Enabled: true
|
1652
|
+
VersionAdded: '0.27'
|
1653
|
+
VersionChanged: '0.66'
|
1654
|
+
# The ABC size is a calculated magnitude, so this number can be an Integer or
|
1655
|
+
# a Float.
|
1656
|
+
Max: 15
|
1657
|
+
|
1658
|
+
Metrics/BlockLength:
|
1659
|
+
Description: 'Avoid long blocks with many lines.'
|
1660
|
+
Enabled: true
|
1661
|
+
VersionAdded: '0.44'
|
1662
|
+
VersionChanged: '0.66'
|
1663
|
+
CountComments: false # count full line comments?
|
1664
|
+
Max: 25
|
1665
|
+
ExcludedMethods:
|
1666
|
+
# By default, exclude the `#refine` method, as it tends to have larger
|
1667
|
+
# associated blocks.
|
1668
|
+
- refine
|
1669
|
+
Exclude:
|
1670
|
+
- '**/*.gemspec'
|
1671
|
+
|
1672
|
+
Metrics/BlockNesting:
|
1673
|
+
Description: 'Avoid excessive block nesting'
|
1674
|
+
StyleGuide: '#three-is-the-number-thou-shalt-count'
|
1675
|
+
Enabled: true
|
1676
|
+
VersionAdded: '0.25'
|
1677
|
+
VersionChanged: '0.47'
|
1678
|
+
CountBlocks: false
|
1679
|
+
Max: 3
|
1680
|
+
|
1681
|
+
Metrics/ClassLength:
|
1682
|
+
Description: 'Avoid classes longer than 100 lines of code.'
|
1683
|
+
Enabled: true
|
1684
|
+
VersionAdded: '0.25'
|
1685
|
+
CountComments: false # count full line comments?
|
1686
|
+
Max: 100
|
1687
|
+
|
1688
|
+
# Avoid complex methods.
|
1689
|
+
Metrics/CyclomaticComplexity:
|
1690
|
+
Description: >-
|
1691
|
+
A complexity metric that is strongly correlated to the number
|
1692
|
+
of test cases needed to validate a method.
|
1693
|
+
Enabled: true
|
1694
|
+
VersionAdded: '0.25'
|
1695
|
+
Max: 6
|
1696
|
+
|
1697
|
+
Metrics/LineLength:
|
1698
|
+
Description: 'Limit lines to 80 characters.'
|
1699
|
+
StyleGuide: '#80-character-limits'
|
1700
|
+
Enabled: true
|
1701
|
+
VersionAdded: '0.25'
|
1702
|
+
VersionChanged: '0.46'
|
1703
|
+
Max: 80
|
1704
|
+
# To make it possible to copy or click on URIs in the code, we allow lines
|
1705
|
+
# containing a URI to be longer than Max.
|
1706
|
+
AllowHeredoc: true
|
1707
|
+
AllowURI: true
|
1708
|
+
URISchemes:
|
1709
|
+
- http
|
1710
|
+
- https
|
1711
|
+
# The IgnoreCopDirectives option causes the LineLength rule to ignore cop
|
1712
|
+
# directives like '# rubocop: enable ...' when calculating a line's length.
|
1713
|
+
IgnoreCopDirectives: false
|
1714
|
+
# The IgnoredPatterns option is a list of !ruby/regexp and/or string
|
1715
|
+
# elements. Strings will be converted to Regexp objects. A line that matches
|
1716
|
+
# any regular expression listed in this option will be ignored by LineLength.
|
1717
|
+
IgnoredPatterns: []
|
1718
|
+
|
1719
|
+
Metrics/MethodLength:
|
1720
|
+
Description: 'Avoid methods longer than 10 lines of code.'
|
1721
|
+
StyleGuide: '#short-methods'
|
1722
|
+
Enabled: true
|
1723
|
+
VersionAdded: '0.25'
|
1724
|
+
VersionChanged: '0.59.2'
|
1725
|
+
CountComments: false # count full line comments?
|
1726
|
+
Max: 10
|
1727
|
+
ExcludedMethods: []
|
1728
|
+
|
1729
|
+
Metrics/ModuleLength:
|
1730
|
+
Description: 'Avoid modules longer than 100 lines of code.'
|
1731
|
+
Enabled: true
|
1732
|
+
VersionAdded: '0.31'
|
1733
|
+
CountComments: false # count full line comments?
|
1734
|
+
Max: 100
|
1735
|
+
|
1736
|
+
Metrics/ParameterLists:
|
1737
|
+
Description: 'Avoid parameter lists longer than three or four parameters.'
|
1738
|
+
StyleGuide: '#too-many-params'
|
1739
|
+
Enabled: true
|
1740
|
+
VersionAdded: '0.25'
|
1741
|
+
Max: 5
|
1742
|
+
CountKeywordArgs: true
|
1743
|
+
|
1744
|
+
Metrics/PerceivedComplexity:
|
1745
|
+
Description: >-
|
1746
|
+
A complexity metric geared towards measuring complexity for a
|
1747
|
+
human reader.
|
1748
|
+
Enabled: true
|
1749
|
+
VersionAdded: '0.25'
|
1750
|
+
Max: 7
|
1751
|
+
|
1752
|
+
#################### Naming ##############################
|
1753
|
+
|
1754
|
+
Naming/AccessorMethodName:
|
1755
|
+
Description: Check the naming of accessor methods for get_/set_.
|
1756
|
+
StyleGuide: '#accessor_mutator_method_names'
|
1757
|
+
Enabled: true
|
1758
|
+
VersionAdded: '0.50'
|
1759
|
+
|
1760
|
+
Naming/AsciiIdentifiers:
|
1761
|
+
Description: 'Use only ascii symbols in identifiers.'
|
1762
|
+
StyleGuide: '#english-identifiers'
|
1763
|
+
Enabled: true
|
1764
|
+
VersionAdded: '0.50'
|
1765
|
+
|
1766
|
+
Naming/BinaryOperatorParameterName:
|
1767
|
+
Description: 'When defining binary operators, name the argument other.'
|
1768
|
+
StyleGuide: '#other-arg'
|
1769
|
+
Enabled: true
|
1770
|
+
VersionAdded: '0.50'
|
1771
|
+
|
1772
|
+
Naming/ClassAndModuleCamelCase:
|
1773
|
+
Description: 'Use CamelCase for classes and modules.'
|
1774
|
+
StyleGuide: '#camelcase-classes'
|
1775
|
+
Enabled: true
|
1776
|
+
VersionAdded: '0.50'
|
1777
|
+
|
1778
|
+
Naming/ConstantName:
|
1779
|
+
Description: 'Constants should use SCREAMING_SNAKE_CASE.'
|
1780
|
+
StyleGuide: '#screaming-snake-case'
|
1781
|
+
Enabled: true
|
1782
|
+
VersionAdded: '0.50'
|
1783
|
+
|
1784
|
+
Naming/FileName:
|
1785
|
+
Description: 'Use snake_case for source file names.'
|
1786
|
+
StyleGuide: '#snake-case-files'
|
1787
|
+
Enabled: true
|
1788
|
+
VersionAdded: '0.50'
|
1789
|
+
# Camel case file names listed in `AllCops:Include` and all file names listed
|
1790
|
+
# in `AllCops:Exclude` are excluded by default. Add extra excludes here.
|
1791
|
+
Exclude: []
|
1792
|
+
# When `true`, requires that each source file should define a class or module
|
1793
|
+
# with a name which matches the file name (converted to ... case).
|
1794
|
+
# It further expects it to be nested inside modules which match the names
|
1795
|
+
# of subdirectories in its path.
|
1796
|
+
ExpectMatchingDefinition: false
|
1797
|
+
# If non-`nil`, expect all source file names to match the following regex.
|
1798
|
+
# Only the file name itself is matched, not the entire file path.
|
1799
|
+
# Use anchors as necessary if you want to match the entire name rather than
|
1800
|
+
# just a part of it.
|
1801
|
+
Regex: ~
|
1802
|
+
# With `IgnoreExecutableScripts` set to `true`, this cop does not
|
1803
|
+
# report offending filenames for executable scripts (i.e. source
|
1804
|
+
# files with a shebang in the first line).
|
1805
|
+
IgnoreExecutableScripts: true
|
1806
|
+
AllowedAcronyms:
|
1807
|
+
- CLI
|
1808
|
+
- DSL
|
1809
|
+
- ACL
|
1810
|
+
- API
|
1811
|
+
- ASCII
|
1812
|
+
- CPU
|
1813
|
+
- CSS
|
1814
|
+
- DNS
|
1815
|
+
- EOF
|
1816
|
+
- GUID
|
1817
|
+
- HTML
|
1818
|
+
- HTTP
|
1819
|
+
- HTTPS
|
1820
|
+
- ID
|
1821
|
+
- IP
|
1822
|
+
- JSON
|
1823
|
+
- LHS
|
1824
|
+
- QPS
|
1825
|
+
- RAM
|
1826
|
+
- RHS
|
1827
|
+
- RPC
|
1828
|
+
- SLA
|
1829
|
+
- SMTP
|
1830
|
+
- SQL
|
1831
|
+
- SSH
|
1832
|
+
- TCP
|
1833
|
+
- TLS
|
1834
|
+
- TTL
|
1835
|
+
- UDP
|
1836
|
+
- UI
|
1837
|
+
- UID
|
1838
|
+
- UUID
|
1839
|
+
- URI
|
1840
|
+
- URL
|
1841
|
+
- UTF8
|
1842
|
+
- VM
|
1843
|
+
- XML
|
1844
|
+
- XMPP
|
1845
|
+
- XSRF
|
1846
|
+
- XSS
|
1847
|
+
|
1848
|
+
Naming/HeredocDelimiterCase:
|
1849
|
+
Description: 'Use configured case for heredoc delimiters.'
|
1850
|
+
StyleGuide: '#heredoc-delimiters'
|
1851
|
+
Enabled: true
|
1852
|
+
VersionAdded: '0.50'
|
1853
|
+
EnforcedStyle: uppercase
|
1854
|
+
SupportedStyles:
|
1855
|
+
- lowercase
|
1856
|
+
- uppercase
|
1857
|
+
|
1858
|
+
Naming/HeredocDelimiterNaming:
|
1859
|
+
Description: 'Use descriptive heredoc delimiters.'
|
1860
|
+
StyleGuide: '#heredoc-delimiters'
|
1861
|
+
Enabled: true
|
1862
|
+
VersionAdded: '0.50'
|
1863
|
+
Blacklist:
|
1864
|
+
- !ruby/regexp '/(^|\s)(EO[A-Z]{1}|END)(\s|$)/'
|
1865
|
+
|
1866
|
+
Naming/MemoizedInstanceVariableName:
|
1867
|
+
Description: >-
|
1868
|
+
Memoized method name should match memo instance variable name.
|
1869
|
+
Enabled: true
|
1870
|
+
VersionAdded: '0.53'
|
1871
|
+
VersionChanged: '0.58'
|
1872
|
+
EnforcedStyleForLeadingUnderscores: disallowed
|
1873
|
+
SupportedStylesForLeadingUnderscores:
|
1874
|
+
- disallowed
|
1875
|
+
- required
|
1876
|
+
- optional
|
1877
|
+
|
1878
|
+
Naming/MethodName:
|
1879
|
+
Description: 'Use the configured style when naming methods.'
|
1880
|
+
StyleGuide: '#snake-case-symbols-methods-vars'
|
1881
|
+
Enabled: true
|
1882
|
+
VersionAdded: '0.50'
|
1883
|
+
EnforcedStyle: snake_case
|
1884
|
+
SupportedStyles:
|
1885
|
+
- snake_case
|
1886
|
+
- camelCase
|
1887
|
+
|
1888
|
+
Naming/PredicateName:
|
1889
|
+
Description: 'Check the names of predicate methods.'
|
1890
|
+
StyleGuide: '#bool-methods-qmark'
|
1891
|
+
Enabled: true
|
1892
|
+
VersionAdded: '0.50'
|
1893
|
+
VersionChanged: '0.51'
|
1894
|
+
# Predicate name prefixes.
|
1895
|
+
NamePrefix:
|
1896
|
+
- is_
|
1897
|
+
- has_
|
1898
|
+
- have_
|
1899
|
+
# Predicate name prefixes that should be removed.
|
1900
|
+
NamePrefixBlacklist:
|
1901
|
+
- is_
|
1902
|
+
- has_
|
1903
|
+
- have_
|
1904
|
+
# Predicate names which, despite having a blacklisted prefix, or no `?`,
|
1905
|
+
# should still be accepted
|
1906
|
+
NameWhitelist:
|
1907
|
+
- is_a?
|
1908
|
+
# Method definition macros for dynamically generated methods.
|
1909
|
+
MethodDefinitionMacros:
|
1910
|
+
- define_method
|
1911
|
+
- define_singleton_method
|
1912
|
+
# Exclude Rspec specs because there is a strong convention to write spec
|
1913
|
+
# helpers in the form of `have_something` or `be_something`.
|
1914
|
+
Exclude:
|
1915
|
+
- 'spec/**/*'
|
1916
|
+
|
1917
|
+
Naming/UncommunicativeBlockParamName:
|
1918
|
+
Description: >-
|
1919
|
+
Checks for block parameter names that contain capital letters,
|
1920
|
+
end in numbers, or do not meet a minimal length.
|
1921
|
+
Enabled: true
|
1922
|
+
VersionAdded: '0.53'
|
1923
|
+
# Parameter names may be equal to or greater than this value
|
1924
|
+
MinNameLength: 1
|
1925
|
+
AllowNamesEndingInNumbers: true
|
1926
|
+
# Whitelisted names that will not register an offense
|
1927
|
+
AllowedNames: []
|
1928
|
+
# Blacklisted names that will register an offense
|
1929
|
+
ForbiddenNames: []
|
1930
|
+
|
1931
|
+
Naming/UncommunicativeMethodParamName:
|
1932
|
+
Description: >-
|
1933
|
+
Checks for method parameter names that contain capital letters,
|
1934
|
+
end in numbers, or do not meet a minimal length.
|
1935
|
+
Enabled: true
|
1936
|
+
VersionAdded: '0.53'
|
1937
|
+
VersionChanged: '0.59'
|
1938
|
+
# Parameter names may be equal to or greater than this value
|
1939
|
+
MinNameLength: 3
|
1940
|
+
AllowNamesEndingInNumbers: true
|
1941
|
+
# Whitelisted names that will not register an offense
|
1942
|
+
AllowedNames:
|
1943
|
+
- io
|
1944
|
+
- id
|
1945
|
+
- to
|
1946
|
+
- by
|
1947
|
+
- 'on'
|
1948
|
+
- in
|
1949
|
+
- at
|
1950
|
+
- ip
|
1951
|
+
- db
|
1952
|
+
# Blacklisted names that will register an offense
|
1953
|
+
ForbiddenNames: []
|
1954
|
+
|
1955
|
+
|
1956
|
+
Naming/VariableName:
|
1957
|
+
Description: 'Use the configured style when naming variables.'
|
1958
|
+
StyleGuide: '#snake-case-symbols-methods-vars'
|
1959
|
+
Enabled: true
|
1960
|
+
VersionAdded: '0.50'
|
1961
|
+
EnforcedStyle: snake_case
|
1962
|
+
SupportedStyles:
|
1963
|
+
- snake_case
|
1964
|
+
- camelCase
|
1965
|
+
|
1966
|
+
Naming/VariableNumber:
|
1967
|
+
Description: 'Use the configured style when numbering variables.'
|
1968
|
+
Enabled: true
|
1969
|
+
VersionAdded: '0.50'
|
1970
|
+
EnforcedStyle: normalcase
|
1971
|
+
SupportedStyles:
|
1972
|
+
- snake_case
|
1973
|
+
- normalcase
|
1974
|
+
- non_integer
|
1975
|
+
|
1976
|
+
#################### Performance ###########################
|
1977
|
+
|
1978
|
+
Performance/Caller:
|
1979
|
+
Description: >-
|
1980
|
+
Use `caller(n..n)` instead of `caller`.
|
1981
|
+
Enabled: true
|
1982
|
+
VersionAdded: '0.49'
|
1983
|
+
|
1984
|
+
Performance/CaseWhenSplat:
|
1985
|
+
Description: >-
|
1986
|
+
Reordering `when` conditions with a splat to the end
|
1987
|
+
of the `when` branches can improve performance.
|
1988
|
+
Enabled: false
|
1989
|
+
AutoCorrect: false
|
1990
|
+
SafeAutoCorrect: false
|
1991
|
+
VersionAdded: '0.34'
|
1992
|
+
VersionChanged: '0.59'
|
1993
|
+
|
1994
|
+
Performance/Casecmp:
|
1995
|
+
Description: >-
|
1996
|
+
Use `casecmp` rather than `downcase ==`, `upcase ==`, `== downcase`, or `== upcase`..
|
1997
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringcasecmp-vs-stringdowncase---code'
|
1998
|
+
Enabled: true
|
1999
|
+
VersionAdded: '0.36'
|
2000
|
+
|
2001
|
+
Performance/ChainArrayAllocation:
|
2002
|
+
Description: >-
|
2003
|
+
Instead of chaining array methods that allocate new arrays, mutate an
|
2004
|
+
existing array.
|
2005
|
+
Reference: 'https://twitter.com/schneems/status/1034123879978029057'
|
2006
|
+
Enabled: false
|
2007
|
+
VersionAdded: '0.59'
|
2008
|
+
|
2009
|
+
Performance/CompareWithBlock:
|
2010
|
+
Description: 'Use `sort_by(&:foo)` instead of `sort { |a, b| a.foo <=> b.foo }`.'
|
2011
|
+
Enabled: true
|
2012
|
+
VersionAdded: '0.46'
|
2013
|
+
|
2014
|
+
Performance/Count:
|
2015
|
+
Description: >-
|
2016
|
+
Use `count` instead of `select...size`, `reject...size`,
|
2017
|
+
`select...count`, `reject...count`, `select...length`,
|
2018
|
+
and `reject...length`.
|
2019
|
+
# This cop has known compatibility issues with `ActiveRecord` and other
|
2020
|
+
# frameworks. ActiveRecord's `count` ignores the block that is passed to it.
|
2021
|
+
# For more information, see the documentation in the cop itself.
|
2022
|
+
# If you understand the known risk, you can disable `SafeMode`.
|
2023
|
+
SafeMode: true
|
2024
|
+
Enabled: true
|
2025
|
+
VersionAdded: '0.31'
|
2026
|
+
VersionChanged: '0.39'
|
2027
|
+
|
2028
|
+
Performance/Detect:
|
2029
|
+
Description: >-
|
2030
|
+
Use `detect` instead of `select.first`, `find_all.first`,
|
2031
|
+
`select.last`, and `find_all.last`.
|
2032
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code'
|
2033
|
+
# This cop has known compatibility issues with `ActiveRecord` and other
|
2034
|
+
# frameworks. `ActiveRecord` does not implement a `detect` method and `find`
|
2035
|
+
# has its own meaning. Correcting `ActiveRecord` methods with this cop
|
2036
|
+
# should be considered unsafe.
|
2037
|
+
SafeMode: true
|
2038
|
+
Enabled: true
|
2039
|
+
VersionAdded: '0.30'
|
2040
|
+
VersionChanged: '0.39'
|
2041
|
+
|
2042
|
+
Performance/DoubleStartEndWith:
|
2043
|
+
Description: >-
|
2044
|
+
Use `str.{start,end}_with?(x, ..., y, ...)`
|
2045
|
+
instead of `str.{start,end}_with?(x, ...) || str.{start,end}_with?(y, ...)`.
|
2046
|
+
Enabled: true
|
2047
|
+
VersionAdded: '0.36'
|
2048
|
+
VersionChanged: '0.48'
|
2049
|
+
# Used to check for `starts_with?` and `ends_with?`.
|
2050
|
+
# These methods are defined by `ActiveSupport`.
|
2051
|
+
IncludeActiveSupportAliases: false
|
2052
|
+
|
2053
|
+
Performance/EndWith:
|
2054
|
+
Description: 'Use `end_with?` instead of a regex match anchored to the end of a string.'
|
2055
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringmatch-vs-stringstart_withstringend_with-code-start-code-end'
|
2056
|
+
# This will change to a new method call which isn't guaranteed to be on the
|
2057
|
+
# object. Switching these methods has to be done with knowledge of the types
|
2058
|
+
# of the variables which rubocop doesn't have.
|
2059
|
+
SafeAutoCorrect: false
|
2060
|
+
AutoCorrect: false
|
2061
|
+
Enabled: true
|
2062
|
+
VersionAdded: '0.36'
|
2063
|
+
VersionChanged: '0.44'
|
2064
|
+
|
2065
|
+
Performance/FixedSize:
|
2066
|
+
Description: 'Do not compute the size of statically sized objects except in constants'
|
2067
|
+
Enabled: true
|
2068
|
+
VersionAdded: '0.35'
|
2069
|
+
|
2070
|
+
Performance/FlatMap:
|
2071
|
+
Description: >-
|
2072
|
+
Use `Enumerable#flat_map`
|
2073
|
+
instead of `Enumerable#map...Array#flatten(1)`
|
2074
|
+
or `Enumberable#collect..Array#flatten(1)`
|
2075
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code'
|
2076
|
+
Enabled: true
|
2077
|
+
VersionAdded: '0.30'
|
2078
|
+
EnabledForFlattenWithoutParams: false
|
2079
|
+
# If enabled, this cop will warn about usages of
|
2080
|
+
# `flatten` being called without any parameters.
|
2081
|
+
# This can be dangerous since `flat_map` will only flatten 1 level, and
|
2082
|
+
# `flatten` without any parameters can flatten multiple levels.
|
2083
|
+
|
2084
|
+
Performance/InefficientHashSearch:
|
2085
|
+
Description: 'Use `key?` or `value?` instead of `keys.include?` or `values.include?`'
|
2086
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#hashkey-instead-of-hashkeysinclude-code'
|
2087
|
+
Enabled: true
|
2088
|
+
VersionAdded: '0.56'
|
2089
|
+
Safe: false
|
2090
|
+
|
2091
|
+
Performance/LstripRstrip:
|
2092
|
+
Description: 'Use `strip` instead of `lstrip.rstrip`.'
|
2093
|
+
Enabled: true
|
2094
|
+
VersionAdded: '0.36'
|
2095
|
+
|
2096
|
+
Performance/OpenStruct:
|
2097
|
+
Description: 'Use `Struct` instead of `OpenStruct`.'
|
2098
|
+
Enabled: false
|
2099
|
+
VersionAdded: '0.61'
|
2100
|
+
Safe: false
|
2101
|
+
|
2102
|
+
Performance/RangeInclude:
|
2103
|
+
Description: 'Use `Range#cover?` instead of `Range#include?`.'
|
2104
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#cover-vs-include-code'
|
2105
|
+
Enabled: true
|
2106
|
+
VersionAdded: '0.36'
|
2107
|
+
Safe: false
|
2108
|
+
|
2109
|
+
Performance/RedundantBlockCall:
|
2110
|
+
Description: 'Use `yield` instead of `block.call`.'
|
2111
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#proccall-and-block-arguments-vs-yieldcode'
|
2112
|
+
Enabled: true
|
2113
|
+
VersionAdded: '0.36'
|
2114
|
+
|
2115
|
+
Performance/RedundantMatch:
|
2116
|
+
Description: >-
|
2117
|
+
Use `=~` instead of `String#match` or `Regexp#match` in a context where the
|
2118
|
+
returned `MatchData` is not needed.
|
2119
|
+
Enabled: true
|
2120
|
+
VersionAdded: '0.36'
|
2121
|
+
|
2122
|
+
Performance/RedundantMerge:
|
2123
|
+
Description: 'Use Hash#[]=, rather than Hash#merge! with a single key-value pair.'
|
2124
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#hashmerge-vs-hash-code'
|
2125
|
+
Enabled: true
|
2126
|
+
VersionAdded: '0.36'
|
2127
|
+
# Max number of key-value pairs to consider an offense
|
2128
|
+
MaxKeyValuePairs: 2
|
2129
|
+
|
2130
|
+
Performance/RedundantSortBy:
|
2131
|
+
Description: 'Use `sort` instead of `sort_by { |x| x }`.'
|
2132
|
+
Enabled: true
|
2133
|
+
VersionAdded: '0.36'
|
2134
|
+
|
2135
|
+
Performance/RegexpMatch:
|
2136
|
+
Description: >-
|
2137
|
+
Use `match?` instead of `Regexp#match`, `String#match`, `Symbol#match`,
|
2138
|
+
`Regexp#===`, or `=~` when `MatchData` is not used.
|
2139
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#regexp-vs-stringmatch-vs-string-vs-stringmatch-code-'
|
2140
|
+
Enabled: true
|
2141
|
+
VersionAdded: '0.47'
|
2142
|
+
|
2143
|
+
Performance/ReverseEach:
|
2144
|
+
Description: 'Use `reverse_each` instead of `reverse.each`.'
|
2145
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code'
|
2146
|
+
Enabled: true
|
2147
|
+
VersionAdded: '0.30'
|
2148
|
+
|
2149
|
+
Performance/Sample:
|
2150
|
+
Description: >-
|
2151
|
+
Use `sample` instead of `shuffle.first`,
|
2152
|
+
`shuffle.last`, and `shuffle[Integer]`.
|
2153
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
|
2154
|
+
Enabled: true
|
2155
|
+
VersionAdded: '0.30'
|
2156
|
+
|
2157
|
+
Performance/Size:
|
2158
|
+
Description: >-
|
2159
|
+
Use `size` instead of `count` for counting
|
2160
|
+
the number of elements in `Array` and `Hash`.
|
2161
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#arraylength-vs-arraysize-vs-arraycount-code'
|
2162
|
+
Enabled: true
|
2163
|
+
VersionAdded: '0.30'
|
2164
|
+
|
2165
|
+
Performance/StartWith:
|
2166
|
+
Description: 'Use `start_with?` instead of a regex match anchored to the beginning of a string.'
|
2167
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringmatch-vs-stringstart_withstringend_with-code-start-code-end'
|
2168
|
+
# This will change to a new method call which isn't guaranteed to be on the
|
2169
|
+
# object. Switching these methods has to be done with knowledge of the types
|
2170
|
+
# of the variables which rubocop doesn't have.
|
2171
|
+
SafeAutoCorrect: false
|
2172
|
+
AutoCorrect: false
|
2173
|
+
Enabled: true
|
2174
|
+
VersionAdded: '0.36'
|
2175
|
+
VersionChanged: '0.44'
|
2176
|
+
|
2177
|
+
Performance/StringReplacement:
|
2178
|
+
Description: >-
|
2179
|
+
Use `tr` instead of `gsub` when you are replacing the same
|
2180
|
+
number of characters. Use `delete` instead of `gsub` when
|
2181
|
+
you are deleting characters.
|
2182
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code'
|
2183
|
+
Enabled: true
|
2184
|
+
VersionAdded: '0.33'
|
2185
|
+
|
2186
|
+
Performance/TimesMap:
|
2187
|
+
Description: 'Checks for .times.map calls.'
|
2188
|
+
AutoCorrect: false
|
2189
|
+
Enabled: true
|
2190
|
+
VersionAdded: '0.36'
|
2191
|
+
VersionChanged: '0.50'
|
2192
|
+
SafeAutoCorrect: false # see https://github.com/rubocop-hq/rubocop/issues/4658
|
2193
|
+
|
2194
|
+
Performance/UnfreezeString:
|
2195
|
+
Description: 'Use unary plus to get an unfrozen string literal.'
|
2196
|
+
Enabled: true
|
2197
|
+
VersionAdded: '0.50'
|
2198
|
+
|
2199
|
+
Performance/UnneededSort:
|
2200
|
+
Description: >-
|
2201
|
+
Use `min` instead of `sort.first`,
|
2202
|
+
`max_by` instead of `sort_by...last`, etc.
|
2203
|
+
Enabled: true
|
2204
|
+
VersionAdded: '0.55'
|
2205
|
+
|
2206
|
+
Performance/UriDefaultParser:
|
2207
|
+
Description: 'Use `URI::DEFAULT_PARSER` instead of `URI::Parser.new`.'
|
2208
|
+
Enabled: true
|
2209
|
+
VersionAdded: '0.50'
|
2210
|
+
|
2211
|
+
#################### Rails #################################
|
2212
|
+
|
2213
|
+
# By default, the rails cops are not run. Override in project or home
|
2214
|
+
# directory .rubocop.yml files, or by giving the -R/--rails option.
|
2215
|
+
Rails:
|
2216
|
+
Enabled: false
|
2217
|
+
|
2218
|
+
Rails/ActionFilter:
|
2219
|
+
Description: 'Enforces consistent use of action filter methods.'
|
2220
|
+
Enabled: true
|
2221
|
+
VersionAdded: '0.19'
|
2222
|
+
EnforcedStyle: action
|
2223
|
+
SupportedStyles:
|
2224
|
+
- action
|
2225
|
+
- filter
|
2226
|
+
Include:
|
2227
|
+
- app/controllers/**/*.rb
|
2228
|
+
|
2229
|
+
Rails/ActiveRecordAliases:
|
2230
|
+
Description: >-
|
2231
|
+
Avoid Active Record aliases:
|
2232
|
+
Use `update` instead of `update_attributes`.
|
2233
|
+
Use `update!` instead of `update_attributes!`.
|
2234
|
+
Enabled: true
|
2235
|
+
VersionAdded: '0.53'
|
2236
|
+
|
2237
|
+
Rails/ActiveSupportAliases:
|
2238
|
+
Description: >-
|
2239
|
+
Avoid ActiveSupport aliases of standard ruby methods:
|
2240
|
+
`String#starts_with?`, `String#ends_with?`,
|
2241
|
+
`Array#append`, `Array#prepend`.
|
2242
|
+
Enabled: true
|
2243
|
+
VersionAdded: '0.48'
|
2244
|
+
|
2245
|
+
Rails/ApplicationJob:
|
2246
|
+
Description: 'Check that jobs subclass ApplicationJob.'
|
2247
|
+
Enabled: true
|
2248
|
+
VersionAdded: '0.49'
|
2249
|
+
|
2250
|
+
Rails/ApplicationRecord:
|
2251
|
+
Description: 'Check that models subclass ApplicationRecord.'
|
2252
|
+
Enabled: true
|
2253
|
+
VersionAdded: '0.49'
|
2254
|
+
|
2255
|
+
Rails/AssertNot:
|
2256
|
+
Description: 'Use `assert_not` instead of `assert !`.'
|
2257
|
+
Enabled: true
|
2258
|
+
VersionAdded: '0.56'
|
2259
|
+
Include:
|
2260
|
+
- '**/test/**/*'
|
2261
|
+
|
2262
|
+
Rails/BelongsTo:
|
2263
|
+
Description: >-
|
2264
|
+
Use `optional: true` instead of `required: false` for
|
2265
|
+
`belongs_to` relations'
|
2266
|
+
Enabled: true
|
2267
|
+
VersionAdded: '0.62'
|
2268
|
+
|
2269
|
+
Rails/Blank:
|
2270
|
+
Description: 'Enforces use of `blank?`.'
|
2271
|
+
Enabled: true
|
2272
|
+
VersionAdded: '0.48'
|
2273
|
+
# Convert usages of `nil? || empty?` to `blank?`
|
2274
|
+
NilOrEmpty: true
|
2275
|
+
# Convert usages of `!present?` to `blank?`
|
2276
|
+
NotPresent: true
|
2277
|
+
# Convert usages of `unless present?` to `if blank?`
|
2278
|
+
UnlessPresent: true
|
2279
|
+
|
2280
|
+
Rails/BulkChangeTable:
|
2281
|
+
Description: 'Check whether alter queries are combinable.'
|
2282
|
+
Enabled: true
|
2283
|
+
VersionAdded: '0.57'
|
2284
|
+
Database: null
|
2285
|
+
SupportedDatabases:
|
2286
|
+
- mysql
|
2287
|
+
- postgresql
|
2288
|
+
Include:
|
2289
|
+
- db/migrate/*.rb
|
2290
|
+
|
2291
|
+
Rails/CreateTableWithTimestamps:
|
2292
|
+
Description: >-
|
2293
|
+
Checks the migration for which timestamps are not included
|
2294
|
+
when creating a new table.
|
2295
|
+
Enabled: true
|
2296
|
+
VersionAdded: '0.52'
|
2297
|
+
Include:
|
2298
|
+
- db/migrate/*.rb
|
2299
|
+
|
2300
|
+
Rails/Date:
|
2301
|
+
Description: >-
|
2302
|
+
Checks the correct usage of date aware methods,
|
2303
|
+
such as Date.today, Date.current etc.
|
2304
|
+
Enabled: true
|
2305
|
+
VersionAdded: '0.30'
|
2306
|
+
VersionChanged: '0.33'
|
2307
|
+
# The value `strict` disallows usage of `Date.today`, `Date.current`,
|
2308
|
+
# `Date#to_time` etc.
|
2309
|
+
# The value `flexible` allows usage of `Date.current`, `Date.yesterday`, etc
|
2310
|
+
# (but not `Date.today`) which are overridden by ActiveSupport to handle current
|
2311
|
+
# time zone.
|
2312
|
+
EnforcedStyle: flexible
|
2313
|
+
SupportedStyles:
|
2314
|
+
- strict
|
2315
|
+
- flexible
|
2316
|
+
|
2317
|
+
Rails/Delegate:
|
2318
|
+
Description: 'Prefer delegate method for delegations.'
|
2319
|
+
Enabled: true
|
2320
|
+
VersionAdded: '0.21'
|
2321
|
+
VersionChanged: '0.50'
|
2322
|
+
# When set to true, using the target object as a prefix of the
|
2323
|
+
# method name without using the `delegate` method will be a
|
2324
|
+
# violation. When set to false, this case is legal.
|
2325
|
+
EnforceForPrefixed: true
|
2326
|
+
|
2327
|
+
Rails/DelegateAllowBlank:
|
2328
|
+
Description: 'Do not use allow_blank as an option to delegate.'
|
2329
|
+
Enabled: true
|
2330
|
+
VersionAdded: '0.44'
|
2331
|
+
|
2332
|
+
Rails/DynamicFindBy:
|
2333
|
+
Description: 'Use `find_by` instead of dynamic `find_by_*`.'
|
2334
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#find_by'
|
2335
|
+
Enabled: true
|
2336
|
+
VersionAdded: '0.44'
|
2337
|
+
Whitelist:
|
2338
|
+
- find_by_sql
|
2339
|
+
|
2340
|
+
Rails/EnumUniqueness:
|
2341
|
+
Description: 'Avoid duplicate integers in hash-syntax `enum` declaration.'
|
2342
|
+
Enabled: true
|
2343
|
+
VersionAdded: '0.46'
|
2344
|
+
Include:
|
2345
|
+
- app/models/**/*.rb
|
2346
|
+
|
2347
|
+
Rails/EnvironmentComparison:
|
2348
|
+
Description: "Favor `Rails.env.production?` over `Rails.env == 'production'`"
|
2349
|
+
Enabled: true
|
2350
|
+
VersionAdded: '0.52'
|
2351
|
+
|
2352
|
+
Rails/Exit:
|
2353
|
+
Description: >-
|
2354
|
+
Favor `fail`, `break`, `return`, etc. over `exit` in
|
2355
|
+
application or library code outside of Rake files to avoid
|
2356
|
+
exits during unit testing or running in production.
|
2357
|
+
Enabled: true
|
2358
|
+
VersionAdded: '0.41'
|
2359
|
+
Include:
|
2360
|
+
- app/**/*.rb
|
2361
|
+
- config/**/*.rb
|
2362
|
+
- lib/**/*.rb
|
2363
|
+
Exclude:
|
2364
|
+
- lib/**/*.rake
|
2365
|
+
|
2366
|
+
Rails/FilePath:
|
2367
|
+
Description: 'Use `Rails.root.join` for file path joining.'
|
2368
|
+
Enabled: true
|
2369
|
+
VersionAdded: '0.47'
|
2370
|
+
VersionChanged: '0.57'
|
2371
|
+
EnforcedStyle: arguments
|
2372
|
+
SupportedStyles:
|
2373
|
+
- slashes
|
2374
|
+
- arguments
|
2375
|
+
|
2376
|
+
Rails/FindBy:
|
2377
|
+
Description: 'Prefer find_by over where.first.'
|
2378
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#find_by'
|
2379
|
+
Enabled: true
|
2380
|
+
VersionAdded: '0.30'
|
2381
|
+
Include:
|
2382
|
+
- app/models/**/*.rb
|
2383
|
+
|
2384
|
+
Rails/FindEach:
|
2385
|
+
Description: 'Prefer all.find_each over all.find.'
|
2386
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#find-each'
|
2387
|
+
Enabled: true
|
2388
|
+
VersionAdded: '0.30'
|
2389
|
+
Include:
|
2390
|
+
- app/models/**/*.rb
|
2391
|
+
|
2392
|
+
Rails/HasAndBelongsToMany:
|
2393
|
+
Description: 'Prefer has_many :through to has_and_belongs_to_many.'
|
2394
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#has-many-through'
|
2395
|
+
Enabled: true
|
2396
|
+
VersionAdded: '0.12'
|
2397
|
+
Include:
|
2398
|
+
- app/models/**/*.rb
|
2399
|
+
|
2400
|
+
Rails/HasManyOrHasOneDependent:
|
2401
|
+
Description: 'Define the dependent option to the has_many and has_one associations.'
|
2402
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#has_many-has_one-dependent-option'
|
2403
|
+
Enabled: true
|
2404
|
+
VersionAdded: '0.50'
|
2405
|
+
Include:
|
2406
|
+
- app/models/**/*.rb
|
2407
|
+
|
2408
|
+
Rails/HttpPositionalArguments:
|
2409
|
+
Description: 'Use keyword arguments instead of positional arguments in http method calls.'
|
2410
|
+
Enabled: true
|
2411
|
+
VersionAdded: '0.44'
|
2412
|
+
Include:
|
2413
|
+
- 'spec/**/*'
|
2414
|
+
- 'test/**/*'
|
2415
|
+
|
2416
|
+
Rails/HttpStatus:
|
2417
|
+
Description: 'Enforces use of symbolic or numeric value to define HTTP status.'
|
2418
|
+
Enabled: true
|
2419
|
+
VersionAdded: '0.54'
|
2420
|
+
EnforcedStyle: symbolic
|
2421
|
+
SupportedStyles:
|
2422
|
+
- numeric
|
2423
|
+
- symbolic
|
2424
|
+
|
2425
|
+
Rails/IgnoredSkipActionFilterOption:
|
2426
|
+
Description: 'Checks that `if` and `only` (or `except`) are not used together as options of `skip_*` action filter.'
|
2427
|
+
Reference: 'https://api.rubyonrails.org/classes/AbstractController/Callbacks/ClassMethods.html#method-i-_normalize_callback_options'
|
2428
|
+
Enabled: true
|
2429
|
+
VersionAdded: '0.63'
|
2430
|
+
Include:
|
2431
|
+
- app/controllers/**/*.rb
|
2432
|
+
|
2433
|
+
Rails/InverseOf:
|
2434
|
+
Description: 'Checks for associations where the inverse cannot be determined automatically.'
|
2435
|
+
Enabled: true
|
2436
|
+
VersionAdded: '0.52'
|
2437
|
+
Include:
|
2438
|
+
- app/models/**/*.rb
|
2439
|
+
|
2440
|
+
Rails/LexicallyScopedActionFilter:
|
2441
|
+
Description: "Checks that methods specified in the filter's `only` or `except` options are explicitly defined in the controller."
|
2442
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#lexically-scoped-action-filter'
|
2443
|
+
Enabled: true
|
2444
|
+
VersionAdded: '0.52'
|
2445
|
+
Include:
|
2446
|
+
- app/controllers/**/*.rb
|
2447
|
+
|
2448
|
+
Rails/LinkToBlank:
|
2449
|
+
Description: 'Checks that `link_to` with a `target: "_blank"` have a `rel: "noopener"` option passed to them.'
|
2450
|
+
Reference: https://mathiasbynens.github.io/rel-noopener/
|
2451
|
+
Enabled: true
|
2452
|
+
VersionAdded: '0.62'
|
2453
|
+
|
2454
|
+
Rails/NotNullColumn:
|
2455
|
+
Description: 'Do not add a NOT NULL column without a default value'
|
2456
|
+
Enabled: true
|
2457
|
+
VersionAdded: '0.43'
|
2458
|
+
Include:
|
2459
|
+
- db/migrate/*.rb
|
2460
|
+
|
2461
|
+
Rails/Output:
|
2462
|
+
Description: 'Checks for calls to puts, print, etc.'
|
2463
|
+
Enabled: true
|
2464
|
+
VersionAdded: '0.15'
|
2465
|
+
VersionChanged: '0.19'
|
2466
|
+
Include:
|
2467
|
+
- app/**/*.rb
|
2468
|
+
- config/**/*.rb
|
2469
|
+
- db/**/*.rb
|
2470
|
+
- lib/**/*.rb
|
2471
|
+
|
2472
|
+
Rails/OutputSafety:
|
2473
|
+
Description: 'The use of `html_safe` or `raw` may be a security risk.'
|
2474
|
+
Enabled: true
|
2475
|
+
VersionAdded: '0.41'
|
2476
|
+
|
2477
|
+
Rails/PluralizationGrammar:
|
2478
|
+
Description: 'Checks for incorrect grammar when using methods like `3.day.ago`.'
|
2479
|
+
Enabled: true
|
2480
|
+
VersionAdded: '0.35'
|
2481
|
+
|
2482
|
+
Rails/Presence:
|
2483
|
+
Description: 'Checks code that can be written more easily using `Object#presence` defined by Active Support.'
|
2484
|
+
Enabled: true
|
2485
|
+
VersionAdded: '0.52'
|
2486
|
+
|
2487
|
+
Rails/Present:
|
2488
|
+
Description: 'Enforces use of `present?`.'
|
2489
|
+
Enabled: true
|
2490
|
+
VersionAdded: '0.48'
|
2491
|
+
# Convert usages of `!nil? && !empty?` to `present?`
|
2492
|
+
NotNilAndNotEmpty: true
|
2493
|
+
# Convert usages of `!blank?` to `present?`
|
2494
|
+
NotBlank: true
|
2495
|
+
# Convert usages of `unless blank?` to `if present?`
|
2496
|
+
UnlessBlank: true
|
2497
|
+
|
2498
|
+
Rails/ReadWriteAttribute:
|
2499
|
+
Description: >-
|
2500
|
+
Checks for read_attribute(:attr) and
|
2501
|
+
write_attribute(:attr, val).
|
2502
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#read-attribute'
|
2503
|
+
Enabled: true
|
2504
|
+
VersionAdded: '0.20'
|
2505
|
+
VersionChanged: '0.29'
|
2506
|
+
Include:
|
2507
|
+
- app/models/**/*.rb
|
2508
|
+
|
2509
|
+
Rails/RedundantReceiverInWithOptions:
|
2510
|
+
Description: 'Checks for redundant receiver in `with_options`.'
|
2511
|
+
Enabled: true
|
2512
|
+
VersionAdded: '0.52'
|
2513
|
+
|
2514
|
+
Rails/ReflectionClassName:
|
2515
|
+
Description: 'Use a string for `class_name` option value in the definition of a reflection.'
|
2516
|
+
Enabled: true
|
2517
|
+
VersionAdded: '0.64'
|
2518
|
+
|
2519
|
+
Rails/RefuteMethods:
|
2520
|
+
Description: 'Use `assert_not` methods instead of `refute` methods.'
|
2521
|
+
Enabled: true
|
2522
|
+
VersionAdded: '0.56'
|
2523
|
+
Include:
|
2524
|
+
- '**/test/**/*'
|
2525
|
+
|
2526
|
+
Rails/RelativeDateConstant:
|
2527
|
+
Description: 'Do not assign relative date to constants.'
|
2528
|
+
Enabled: true
|
2529
|
+
VersionAdded: '0.48'
|
2530
|
+
VersionChanged: '0.59'
|
2531
|
+
AutoCorrect: false
|
2532
|
+
|
2533
|
+
Rails/RequestReferer:
|
2534
|
+
Description: 'Use consistent syntax for request.referer.'
|
2535
|
+
Enabled: true
|
2536
|
+
VersionAdded: '0.41'
|
2537
|
+
EnforcedStyle: referer
|
2538
|
+
SupportedStyles:
|
2539
|
+
- referer
|
2540
|
+
- referrer
|
2541
|
+
|
2542
|
+
Rails/ReversibleMigration:
|
2543
|
+
Description: 'Checks whether the change method of the migration file is reversible.'
|
2544
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#reversible-migration'
|
2545
|
+
Reference: 'https://api.rubyonrails.org/classes/ActiveRecord/Migration/CommandRecorder.html'
|
2546
|
+
Enabled: true
|
2547
|
+
VersionAdded: '0.47'
|
2548
|
+
Include:
|
2549
|
+
- db/migrate/*.rb
|
2550
|
+
|
2551
|
+
Rails/SafeNavigation:
|
2552
|
+
Description: "Use Ruby's safe navigation operator (`&.`) instead of `try!`"
|
2553
|
+
Enabled: true
|
2554
|
+
VersionAdded: '0.43'
|
2555
|
+
# This will convert usages of `try` to use safe navigation as well as `try!`.
|
2556
|
+
# `try` and `try!` work slightly differently. `try!` and safe navigation will
|
2557
|
+
# both raise a `NoMethodError` if the receiver of the method call does not
|
2558
|
+
# implement the intended method. `try` will not raise an exception for this.
|
2559
|
+
ConvertTry: false
|
2560
|
+
|
2561
|
+
Rails/SaveBang:
|
2562
|
+
Description: 'Identifies possible cases where Active Record save! or related should be used.'
|
2563
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#save-bang'
|
2564
|
+
Enabled: false
|
2565
|
+
VersionAdded: '0.42'
|
2566
|
+
VersionChanged: '0.59'
|
2567
|
+
AllowImplicitReturn: true
|
2568
|
+
AllowedReceivers: []
|
2569
|
+
|
2570
|
+
Rails/ScopeArgs:
|
2571
|
+
Description: 'Checks the arguments of ActiveRecord scopes.'
|
2572
|
+
Enabled: true
|
2573
|
+
VersionAdded: '0.19'
|
2574
|
+
Include:
|
2575
|
+
- app/models/**/*.rb
|
2576
|
+
|
2577
|
+
Rails/SkipsModelValidations:
|
2578
|
+
Description: >-
|
2579
|
+
Use methods that skips model validations with caution.
|
2580
|
+
See reference for more information.
|
2581
|
+
Reference: 'https://guides.rubyonrails.org/active_record_validations.html#skipping-validations'
|
2582
|
+
Enabled: true
|
2583
|
+
VersionAdded: '0.47'
|
2584
|
+
VersionChanged: '0.60'
|
2585
|
+
Blacklist:
|
2586
|
+
- decrement!
|
2587
|
+
- decrement_counter
|
2588
|
+
- increment!
|
2589
|
+
- increment_counter
|
2590
|
+
- toggle!
|
2591
|
+
- touch
|
2592
|
+
- update_all
|
2593
|
+
- update_attribute
|
2594
|
+
- update_column
|
2595
|
+
- update_columns
|
2596
|
+
- update_counters
|
2597
|
+
Whitelist: []
|
2598
|
+
|
2599
|
+
Rails/TimeZone:
|
2600
|
+
Description: 'Checks the correct usage of time zone aware methods.'
|
2601
|
+
StyleGuide: 'https://github.com/rubocop-hq/rails-style-guide#time'
|
2602
|
+
Reference: 'http://danilenko.org/2012/7/6/rails_timezones'
|
2603
|
+
Enabled: true
|
2604
|
+
VersionAdded: '0.30'
|
2605
|
+
VersionChanged: '0.33'
|
2606
|
+
# The value `strict` means that `Time` should be used with `zone`.
|
2607
|
+
# The value `flexible` allows usage of `in_time_zone` instead of `zone`.
|
2608
|
+
EnforcedStyle: flexible
|
2609
|
+
SupportedStyles:
|
2610
|
+
- strict
|
2611
|
+
- flexible
|
2612
|
+
|
2613
|
+
Rails/UniqBeforePluck:
|
2614
|
+
Description: 'Prefer the use of uniq or distinct before pluck.'
|
2615
|
+
Enabled: true
|
2616
|
+
VersionAdded: '0.40'
|
2617
|
+
VersionChanged: '0.47'
|
2618
|
+
EnforcedStyle: conservative
|
2619
|
+
SupportedStyles:
|
2620
|
+
- conservative
|
2621
|
+
- aggressive
|
2622
|
+
AutoCorrect: false
|
2623
|
+
|
2624
|
+
Rails/UnknownEnv:
|
2625
|
+
Description: 'Use correct environment name.'
|
2626
|
+
Enabled: true
|
2627
|
+
VersionAdded: '0.51'
|
2628
|
+
Environments:
|
2629
|
+
- development
|
2630
|
+
- test
|
2631
|
+
- production
|
2632
|
+
|
2633
|
+
Rails/Validation:
|
2634
|
+
Description: 'Use validates :attribute, hash of validations.'
|
2635
|
+
Enabled: true
|
2636
|
+
VersionAdded: '0.9'
|
2637
|
+
VersionChanged: '0.41'
|
2638
|
+
Include:
|
2639
|
+
- app/models/**/*.rb
|
2640
|
+
|
2641
|
+
#################### Security ##############################
|
2642
|
+
|
2643
|
+
Security/Eval:
|
2644
|
+
Description: 'The use of eval represents a serious security risk.'
|
2645
|
+
Enabled: true
|
2646
|
+
VersionAdded: '0.47'
|
2647
|
+
|
2648
|
+
Security/JSONLoad:
|
2649
|
+
Description: >-
|
2650
|
+
Prefer usage of `JSON.parse` over `JSON.load` due to potential
|
2651
|
+
security issues. See reference for more information.
|
2652
|
+
Reference: 'https://ruby-doc.org/stdlib-2.3.0/libdoc/json/rdoc/JSON.html#method-i-load'
|
2653
|
+
Enabled: true
|
2654
|
+
VersionAdded: '0.43'
|
2655
|
+
VersionChanged: '0.44'
|
2656
|
+
# Autocorrect here will change to a method that may cause crashes depending
|
2657
|
+
# on the value of the argument.
|
2658
|
+
AutoCorrect: false
|
2659
|
+
SafeAutoCorrect: false
|
2660
|
+
|
2661
|
+
Security/MarshalLoad:
|
2662
|
+
Description: >-
|
2663
|
+
Avoid using of `Marshal.load` or `Marshal.restore` due to potential
|
2664
|
+
security issues. See reference for more information.
|
2665
|
+
Reference: 'https://ruby-doc.org/core-2.3.3/Marshal.html#module-Marshal-label-Security+considerations'
|
2666
|
+
Enabled: true
|
2667
|
+
VersionAdded: '0.47'
|
2668
|
+
|
2669
|
+
Security/Open:
|
2670
|
+
Description: 'The use of Kernel#open represents a serious security risk.'
|
2671
|
+
Enabled: true
|
2672
|
+
VersionAdded: '0.53'
|
2673
|
+
Safe: false
|
2674
|
+
|
2675
|
+
Security/YAMLLoad:
|
2676
|
+
Description: >-
|
2677
|
+
Prefer usage of `YAML.safe_load` over `YAML.load` due to potential
|
2678
|
+
security issues. See reference for more information.
|
2679
|
+
Reference: 'https://ruby-doc.org/stdlib-2.3.3/libdoc/yaml/rdoc/YAML.html#module-YAML-label-Security'
|
2680
|
+
Enabled: true
|
2681
|
+
VersionAdded: '0.47'
|
2682
|
+
SafeAutoCorrect: false
|
2683
|
+
|
2684
|
+
#################### Style ###############################
|
2685
|
+
|
2686
|
+
Style/AccessModifierDeclarations:
|
2687
|
+
Description: 'Checks style of how access modifiers are used.'
|
2688
|
+
Enabled: true
|
2689
|
+
VersionAdded: '0.57'
|
2690
|
+
EnforcedStyle: group
|
2691
|
+
SupportedStyles:
|
2692
|
+
- inline
|
2693
|
+
- group
|
2694
|
+
|
2695
|
+
Style/Alias:
|
2696
|
+
Description: 'Use alias instead of alias_method.'
|
2697
|
+
StyleGuide: '#alias-method'
|
2698
|
+
Enabled: true
|
2699
|
+
VersionAdded: '0.9'
|
2700
|
+
VersionChanged: '0.36'
|
2701
|
+
EnforcedStyle: prefer_alias
|
2702
|
+
SupportedStyles:
|
2703
|
+
- prefer_alias
|
2704
|
+
- prefer_alias_method
|
2705
|
+
|
2706
|
+
Style/AndOr:
|
2707
|
+
Description: 'Use &&/|| instead of and/or.'
|
2708
|
+
StyleGuide: '#no-and-or-or'
|
2709
|
+
Enabled: true
|
2710
|
+
VersionAdded: '0.9'
|
2711
|
+
VersionChanged: '0.25'
|
2712
|
+
# Whether `and` and `or` are banned only in conditionals (conditionals)
|
2713
|
+
# or completely (always).
|
2714
|
+
EnforcedStyle: always
|
2715
|
+
SupportedStyles:
|
2716
|
+
- always
|
2717
|
+
- conditionals
|
2718
|
+
|
2719
|
+
Style/ArrayJoin:
|
2720
|
+
Description: 'Use Array#join instead of Array#*.'
|
2721
|
+
StyleGuide: '#array-join'
|
2722
|
+
Enabled: true
|
2723
|
+
VersionAdded: '0.20'
|
2724
|
+
VersionChanged: '0.31'
|
2725
|
+
|
2726
|
+
Style/AsciiComments:
|
2727
|
+
Description: 'Use only ascii symbols in comments.'
|
2728
|
+
StyleGuide: '#english-comments'
|
2729
|
+
Enabled: true
|
2730
|
+
VersionAdded: '0.9'
|
2731
|
+
VersionChanged: '0.52'
|
2732
|
+
AllowedChars: []
|
2733
|
+
|
2734
|
+
Style/Attr:
|
2735
|
+
Description: 'Checks for uses of Module#attr.'
|
2736
|
+
StyleGuide: '#attr'
|
2737
|
+
Enabled: true
|
2738
|
+
VersionAdded: '0.9'
|
2739
|
+
VersionChanged: '0.12'
|
2740
|
+
|
2741
|
+
Style/AutoResourceCleanup:
|
2742
|
+
Description: 'Suggests the usage of an auto resource cleanup version of a method (if available).'
|
2743
|
+
Enabled: false
|
2744
|
+
VersionAdded: '0.30'
|
2745
|
+
|
2746
|
+
Style/BarePercentLiterals:
|
2747
|
+
Description: 'Checks if usage of %() or %Q() matches configuration.'
|
2748
|
+
StyleGuide: '#percent-q-shorthand'
|
2749
|
+
Enabled: true
|
2750
|
+
VersionAdded: '0.25'
|
2751
|
+
EnforcedStyle: bare_percent
|
2752
|
+
SupportedStyles:
|
2753
|
+
- percent_q
|
2754
|
+
- bare_percent
|
2755
|
+
|
2756
|
+
Style/BeginBlock:
|
2757
|
+
Description: 'Avoid the use of BEGIN blocks.'
|
2758
|
+
StyleGuide: '#no-BEGIN-blocks'
|
2759
|
+
Enabled: true
|
2760
|
+
VersionAdded: '0.9'
|
2761
|
+
|
2762
|
+
Style/BlockComments:
|
2763
|
+
Description: 'Do not use block comments.'
|
2764
|
+
StyleGuide: '#no-block-comments'
|
2765
|
+
Enabled: true
|
2766
|
+
VersionAdded: '0.9'
|
2767
|
+
VersionChanged: '0.23'
|
2768
|
+
|
2769
|
+
Style/BlockDelimiters:
|
2770
|
+
Description: >-
|
2771
|
+
Avoid using {...} for multi-line blocks (multiline chaining is
|
2772
|
+
always ugly).
|
2773
|
+
Prefer {...} over do...end for single-line blocks.
|
2774
|
+
StyleGuide: '#single-line-blocks'
|
2775
|
+
Enabled: true
|
2776
|
+
VersionAdded: '0.30'
|
2777
|
+
VersionChanged: '0.35'
|
2778
|
+
EnforcedStyle: line_count_based
|
2779
|
+
SupportedStyles:
|
2780
|
+
# The `line_count_based` style enforces braces around single line blocks and
|
2781
|
+
# do..end around multi-line blocks.
|
2782
|
+
- line_count_based
|
2783
|
+
# The `semantic` style enforces braces around functional blocks, where the
|
2784
|
+
# primary purpose of the block is to return a value and do..end for
|
2785
|
+
# multi-line procedural blocks, where the primary purpose of the block is
|
2786
|
+
# its side-effects. Single-line procedural blocks may only use do-end,
|
2787
|
+
# unless AllowBracesOnProceduralOneLiners has a truthy value (see below).
|
2788
|
+
#
|
2789
|
+
# This looks at the usage of a block's method to determine its type (e.g. is
|
2790
|
+
# the result of a `map` assigned to a variable or passed to another
|
2791
|
+
# method) but exceptions are permitted in the `ProceduralMethods`,
|
2792
|
+
# `FunctionalMethods` and `IgnoredMethods` sections below.
|
2793
|
+
- semantic
|
2794
|
+
# The `braces_for_chaining` style enforces braces around single line blocks
|
2795
|
+
# and do..end around multi-line blocks, except for multi-line blocks whose
|
2796
|
+
# return value is being chained with another method (in which case braces
|
2797
|
+
# are enforced).
|
2798
|
+
- braces_for_chaining
|
2799
|
+
ProceduralMethods:
|
2800
|
+
# Methods that are known to be procedural in nature but look functional from
|
2801
|
+
# their usage, e.g.
|
2802
|
+
#
|
2803
|
+
# time = Benchmark.realtime do
|
2804
|
+
# foo.bar
|
2805
|
+
# end
|
2806
|
+
#
|
2807
|
+
# Here, the return value of the block is discarded but the return value of
|
2808
|
+
# `Benchmark.realtime` is used.
|
2809
|
+
- benchmark
|
2810
|
+
- bm
|
2811
|
+
- bmbm
|
2812
|
+
- create
|
2813
|
+
- each_with_object
|
2814
|
+
- measure
|
2815
|
+
- new
|
2816
|
+
- realtime
|
2817
|
+
- tap
|
2818
|
+
- with_object
|
2819
|
+
FunctionalMethods:
|
2820
|
+
# Methods that are known to be functional in nature but look procedural from
|
2821
|
+
# their usage, e.g.
|
2822
|
+
#
|
2823
|
+
# let(:foo) { Foo.new }
|
2824
|
+
#
|
2825
|
+
# Here, the return value of `Foo.new` is used to define a `foo` helper but
|
2826
|
+
# doesn't appear to be used from the return value of `let`.
|
2827
|
+
- let
|
2828
|
+
- let!
|
2829
|
+
- subject
|
2830
|
+
- watch
|
2831
|
+
IgnoredMethods:
|
2832
|
+
# Methods that can be either procedural or functional and cannot be
|
2833
|
+
# categorised from their usage alone, e.g.
|
2834
|
+
#
|
2835
|
+
# foo = lambda do |x|
|
2836
|
+
# puts "Hello, #{x}"
|
2837
|
+
# end
|
2838
|
+
#
|
2839
|
+
# foo = lambda do |x|
|
2840
|
+
# x * 100
|
2841
|
+
# end
|
2842
|
+
#
|
2843
|
+
# Here, it is impossible to tell from the return value of `lambda` whether
|
2844
|
+
# the inner block's return value is significant.
|
2845
|
+
- lambda
|
2846
|
+
- proc
|
2847
|
+
- it
|
2848
|
+
# The AllowBracesOnProceduralOneLiners option is ignored unless the
|
2849
|
+
# EnforcedStyle is set to `semantic`. If so:
|
2850
|
+
#
|
2851
|
+
# If AllowBracesOnProceduralOneLiners is unspecified, or set to any
|
2852
|
+
# falsey value, then semantic purity is maintained, so one-line
|
2853
|
+
# procedural blocks must use do-end, not braces.
|
2854
|
+
#
|
2855
|
+
# # bad
|
2856
|
+
# collection.each { |element| puts element }
|
2857
|
+
#
|
2858
|
+
# # good
|
2859
|
+
# collection.each do |element| puts element end
|
2860
|
+
#
|
2861
|
+
# If AllowBracesOnProceduralOneLiners is set to any truthy value,
|
2862
|
+
# then one-line procedural blocks may use either style.
|
2863
|
+
#
|
2864
|
+
# # good
|
2865
|
+
# collection.each { |element| puts element }
|
2866
|
+
#
|
2867
|
+
# # also good
|
2868
|
+
# collection.each do |element| puts element end
|
2869
|
+
AllowBracesOnProceduralOneLiners: false
|
2870
|
+
|
2871
|
+
Style/BracesAroundHashParameters:
|
2872
|
+
Description: 'Enforce braces style around hash parameters.'
|
2873
|
+
Enabled: true
|
2874
|
+
VersionAdded: '0.14.1'
|
2875
|
+
VersionChanged: '0.28'
|
2876
|
+
EnforcedStyle: no_braces
|
2877
|
+
SupportedStyles:
|
2878
|
+
# The `braces` style enforces braces around all method parameters that are
|
2879
|
+
# hashes.
|
2880
|
+
- braces
|
2881
|
+
# The `no_braces` style checks that the last parameter doesn't have braces
|
2882
|
+
# around it.
|
2883
|
+
- no_braces
|
2884
|
+
# The `context_dependent` style checks that the last parameter doesn't have
|
2885
|
+
# braces around it, but requires braces if the second to last parameter is
|
2886
|
+
# also a hash literal.
|
2887
|
+
- context_dependent
|
2888
|
+
|
2889
|
+
Style/CaseEquality:
|
2890
|
+
Description: 'Avoid explicit use of the case equality operator(===).'
|
2891
|
+
StyleGuide: '#no-case-equality'
|
2892
|
+
Enabled: true
|
2893
|
+
VersionAdded: '0.9'
|
2894
|
+
|
2895
|
+
Style/CharacterLiteral:
|
2896
|
+
Description: 'Checks for uses of character literals.'
|
2897
|
+
StyleGuide: '#no-character-literals'
|
2898
|
+
Enabled: true
|
2899
|
+
VersionAdded: '0.9'
|
2900
|
+
|
2901
|
+
Style/ClassAndModuleChildren:
|
2902
|
+
Description: 'Checks style of children classes and modules.'
|
2903
|
+
StyleGuide: '#namespace-definition'
|
2904
|
+
# Moving from compact to nested children requires knowledge of whether the
|
2905
|
+
# outer parent is a module or a class. Moving from nested to compact requires
|
2906
|
+
# verification that the outer parent is defined elsewhere. Rubocop does not
|
2907
|
+
# have the knowledge to perform either operation safely and thus requires
|
2908
|
+
# manual oversight.
|
2909
|
+
SafeAutoCorrect: false
|
2910
|
+
AutoCorrect: false
|
2911
|
+
Enabled: true
|
2912
|
+
VersionAdded: '0.19'
|
2913
|
+
#
|
2914
|
+
# Basically there are two different styles:
|
2915
|
+
#
|
2916
|
+
# `nested` - have each child on a separate line
|
2917
|
+
# class Foo
|
2918
|
+
# class Bar
|
2919
|
+
# end
|
2920
|
+
# end
|
2921
|
+
#
|
2922
|
+
# `compact` - combine definitions as much as possible
|
2923
|
+
# class Foo::Bar
|
2924
|
+
# end
|
2925
|
+
#
|
2926
|
+
# The compact style is only forced, for classes or modules with one child.
|
2927
|
+
EnforcedStyle: nested
|
2928
|
+
SupportedStyles:
|
2929
|
+
- nested
|
2930
|
+
- compact
|
2931
|
+
|
2932
|
+
Style/ClassCheck:
|
2933
|
+
Description: 'Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.'
|
2934
|
+
Enabled: true
|
2935
|
+
VersionAdded: '0.24'
|
2936
|
+
EnforcedStyle: is_a?
|
2937
|
+
SupportedStyles:
|
2938
|
+
- is_a?
|
2939
|
+
- kind_of?
|
2940
|
+
|
2941
|
+
Style/ClassMethods:
|
2942
|
+
Description: 'Use self when defining module/class methods.'
|
2943
|
+
StyleGuide: '#def-self-class-methods'
|
2944
|
+
Enabled: true
|
2945
|
+
VersionAdded: '0.9'
|
2946
|
+
VersionChanged: '0.20'
|
2947
|
+
|
2948
|
+
Style/ClassVars:
|
2949
|
+
Description: 'Avoid the use of class variables.'
|
2950
|
+
StyleGuide: '#no-class-vars'
|
2951
|
+
Enabled: true
|
2952
|
+
VersionAdded: '0.13'
|
2953
|
+
|
2954
|
+
# Align with the style guide.
|
2955
|
+
Style/CollectionMethods:
|
2956
|
+
Description: 'Preferred collection methods.'
|
2957
|
+
StyleGuide: '#map-find-select-reduce-size'
|
2958
|
+
Enabled: false
|
2959
|
+
VersionAdded: '0.9'
|
2960
|
+
VersionChanged: '0.27'
|
2961
|
+
Safe: false
|
2962
|
+
# Mapping from undesired method to desired method
|
2963
|
+
# e.g. to use `detect` over `find`:
|
2964
|
+
#
|
2965
|
+
# Style/CollectionMethods:
|
2966
|
+
# PreferredMethods:
|
2967
|
+
# find: detect
|
2968
|
+
PreferredMethods:
|
2969
|
+
collect: 'map'
|
2970
|
+
collect!: 'map!'
|
2971
|
+
inject: 'reduce'
|
2972
|
+
detect: 'find'
|
2973
|
+
find_all: 'select'
|
2974
|
+
|
2975
|
+
Style/ColonMethodCall:
|
2976
|
+
Description: 'Do not use :: for method call.'
|
2977
|
+
StyleGuide: '#double-colons'
|
2978
|
+
Enabled: true
|
2979
|
+
VersionAdded: '0.9'
|
2980
|
+
|
2981
|
+
Style/ColonMethodDefinition:
|
2982
|
+
Description: 'Do not use :: for defining class methods.'
|
2983
|
+
StyleGuide: '#colon-method-definition'
|
2984
|
+
Enabled: true
|
2985
|
+
VersionAdded: '0.52'
|
2986
|
+
|
2987
|
+
Style/CommandLiteral:
|
2988
|
+
Description: 'Use `` or %x around command literals.'
|
2989
|
+
StyleGuide: '#percent-x'
|
2990
|
+
Enabled: true
|
2991
|
+
VersionAdded: '0.30'
|
2992
|
+
EnforcedStyle: backticks
|
2993
|
+
# backticks: Always use backticks.
|
2994
|
+
# percent_x: Always use `%x`.
|
2995
|
+
# mixed: Use backticks on single-line commands, and `%x` on multi-line commands.
|
2996
|
+
SupportedStyles:
|
2997
|
+
- backticks
|
2998
|
+
- percent_x
|
2999
|
+
- mixed
|
3000
|
+
# If `false`, the cop will always recommend using `%x` if one or more backticks
|
3001
|
+
# are found in the command string.
|
3002
|
+
AllowInnerBackticks: false
|
3003
|
+
|
3004
|
+
# Checks formatting of special comments
|
3005
|
+
Style/CommentAnnotation:
|
3006
|
+
Description: >-
|
3007
|
+
Checks formatting of special comments
|
3008
|
+
(TODO, FIXME, OPTIMIZE, HACK, REVIEW).
|
3009
|
+
StyleGuide: '#annotate-keywords'
|
3010
|
+
Enabled: true
|
3011
|
+
VersionAdded: '0.10'
|
3012
|
+
VersionChanged: '0.31'
|
3013
|
+
Keywords:
|
3014
|
+
- TODO
|
3015
|
+
- FIXME
|
3016
|
+
- OPTIMIZE
|
3017
|
+
- HACK
|
3018
|
+
- REVIEW
|
3019
|
+
|
3020
|
+
Style/CommentedKeyword:
|
3021
|
+
Description: 'Do not place comments on the same line as certain keywords.'
|
3022
|
+
Enabled: true
|
3023
|
+
VersionAdded: '0.51'
|
3024
|
+
|
3025
|
+
Style/ConditionalAssignment:
|
3026
|
+
Description: >-
|
3027
|
+
Use the return value of `if` and `case` statements for
|
3028
|
+
assignment to a variable and variable comparison instead
|
3029
|
+
of assigning that variable inside of each branch.
|
3030
|
+
Enabled: true
|
3031
|
+
VersionAdded: '0.36'
|
3032
|
+
VersionChanged: '0.47'
|
3033
|
+
EnforcedStyle: assign_to_condition
|
3034
|
+
SupportedStyles:
|
3035
|
+
- assign_to_condition
|
3036
|
+
- assign_inside_condition
|
3037
|
+
# When configured to `assign_to_condition`, `SingleLineConditionsOnly`
|
3038
|
+
# will only register an offense when all branches of a condition are
|
3039
|
+
# a single line.
|
3040
|
+
# When configured to `assign_inside_condition`, `SingleLineConditionsOnly`
|
3041
|
+
# will only register an offense for assignment to a condition that has
|
3042
|
+
# at least one multiline branch.
|
3043
|
+
SingleLineConditionsOnly: true
|
3044
|
+
IncludeTernaryExpressions: true
|
3045
|
+
|
3046
|
+
# Checks that you have put a copyright in a comment before any code.
|
3047
|
+
#
|
3048
|
+
# You can override the default Notice in your .rubocop.yml file.
|
3049
|
+
#
|
3050
|
+
# In order to use autocorrect, you must supply a value for the
|
3051
|
+
# `AutocorrectNotice` key that matches the regexp Notice. A blank
|
3052
|
+
# `AutocorrectNotice` will cause an error during autocorrect.
|
3053
|
+
#
|
3054
|
+
# Autocorrect will add a copyright notice in a comment at the top
|
3055
|
+
# of the file immediately after any shebang or encoding comments.
|
3056
|
+
#
|
3057
|
+
# Example rubocop.yml:
|
3058
|
+
#
|
3059
|
+
# Style/Copyright:
|
3060
|
+
# Enabled: true
|
3061
|
+
# Notice: 'Copyright (\(c\) )?2015 Yahoo! Inc'
|
3062
|
+
# AutocorrectNotice: '# Copyright (c) 2015 Yahoo! Inc.'
|
3063
|
+
#
|
3064
|
+
Style/ConstantVisibility:
|
3065
|
+
Description: >-
|
3066
|
+
Check that class- and module constants have
|
3067
|
+
visibility declarations.
|
3068
|
+
Enabled: false
|
3069
|
+
VersionAdded: '0.66'
|
3070
|
+
|
3071
|
+
Style/Copyright:
|
3072
|
+
Description: 'Include a copyright notice in each file before any code.'
|
3073
|
+
Enabled: false
|
3074
|
+
VersionAdded: '0.30'
|
3075
|
+
Notice: '^Copyright (\(c\) )?2[0-9]{3} .+'
|
3076
|
+
AutocorrectNotice: ''
|
3077
|
+
|
3078
|
+
Style/DateTime:
|
3079
|
+
Description: 'Use Time over DateTime.'
|
3080
|
+
StyleGuide: '#date--time'
|
3081
|
+
Enabled: false
|
3082
|
+
VersionAdded: '0.51'
|
3083
|
+
VersionChanged: '0.59'
|
3084
|
+
AllowCoercion: false
|
3085
|
+
|
3086
|
+
Style/DefWithParentheses:
|
3087
|
+
Description: 'Use def with parentheses when there are arguments.'
|
3088
|
+
StyleGuide: '#method-parens'
|
3089
|
+
Enabled: true
|
3090
|
+
VersionAdded: '0.9'
|
3091
|
+
VersionChanged: '0.12'
|
3092
|
+
|
3093
|
+
Style/Dir:
|
3094
|
+
Description: >-
|
3095
|
+
Use the `__dir__` method to retrieve the canonicalized
|
3096
|
+
absolute path to the current file.
|
3097
|
+
Enabled: true
|
3098
|
+
VersionAdded: '0.50'
|
3099
|
+
|
3100
|
+
Style/Documentation:
|
3101
|
+
Description: 'Document classes and non-namespace modules.'
|
3102
|
+
Enabled: true
|
3103
|
+
VersionAdded: '0.9'
|
3104
|
+
Exclude:
|
3105
|
+
- 'spec/**/*'
|
3106
|
+
- 'test/**/*'
|
3107
|
+
|
3108
|
+
Style/DocumentationMethod:
|
3109
|
+
Description: 'Checks for missing documentation comment for public methods.'
|
3110
|
+
Enabled: false
|
3111
|
+
VersionAdded: '0.43'
|
3112
|
+
Exclude:
|
3113
|
+
- 'spec/**/*'
|
3114
|
+
- 'test/**/*'
|
3115
|
+
RequireForNonPublicMethods: false
|
3116
|
+
|
3117
|
+
Style/DoubleNegation:
|
3118
|
+
Description: 'Checks for uses of double negation (!!).'
|
3119
|
+
StyleGuide: '#no-bang-bang'
|
3120
|
+
Enabled: true
|
3121
|
+
VersionAdded: '0.19'
|
3122
|
+
|
3123
|
+
Style/EachForSimpleLoop:
|
3124
|
+
Description: >-
|
3125
|
+
Use `Integer#times` for a simple loop which iterates a fixed
|
3126
|
+
number of times.
|
3127
|
+
Enabled: true
|
3128
|
+
VersionAdded: '0.41'
|
3129
|
+
|
3130
|
+
Style/EachWithObject:
|
3131
|
+
Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
|
3132
|
+
Enabled: true
|
3133
|
+
VersionAdded: '0.22'
|
3134
|
+
VersionChanged: '0.42'
|
3135
|
+
|
3136
|
+
Style/EmptyBlockParameter:
|
3137
|
+
Description: 'Omit pipes for empty block parameters.'
|
3138
|
+
Enabled: true
|
3139
|
+
VersionAdded: '0.52'
|
3140
|
+
|
3141
|
+
Style/EmptyCaseCondition:
|
3142
|
+
Description: 'Avoid empty condition in case statements.'
|
3143
|
+
Enabled: true
|
3144
|
+
VersionAdded: '0.40'
|
3145
|
+
|
3146
|
+
Style/EmptyElse:
|
3147
|
+
Description: 'Avoid empty else-clauses.'
|
3148
|
+
Enabled: true
|
3149
|
+
VersionAdded: '0.28'
|
3150
|
+
VersionChanged: '0.32'
|
3151
|
+
EnforcedStyle: both
|
3152
|
+
# empty - warn only on empty `else`
|
3153
|
+
# nil - warn on `else` with nil in it
|
3154
|
+
# both - warn on empty `else` and `else` with `nil` in it
|
3155
|
+
SupportedStyles:
|
3156
|
+
- empty
|
3157
|
+
- nil
|
3158
|
+
- both
|
3159
|
+
|
3160
|
+
Style/EmptyLambdaParameter:
|
3161
|
+
Description: 'Omit parens for empty lambda parameters.'
|
3162
|
+
Enabled: true
|
3163
|
+
VersionAdded: '0.52'
|
3164
|
+
|
3165
|
+
Style/EmptyLiteral:
|
3166
|
+
Description: 'Prefer literals to Array.new/Hash.new/String.new.'
|
3167
|
+
StyleGuide: '#literal-array-hash'
|
3168
|
+
Enabled: true
|
3169
|
+
VersionAdded: '0.9'
|
3170
|
+
VersionChanged: '0.12'
|
3171
|
+
|
3172
|
+
Style/EmptyMethod:
|
3173
|
+
Description: 'Checks the formatting of empty method definitions.'
|
3174
|
+
StyleGuide: '#no-single-line-methods'
|
3175
|
+
Enabled: true
|
3176
|
+
VersionAdded: '0.46'
|
3177
|
+
EnforcedStyle: compact
|
3178
|
+
SupportedStyles:
|
3179
|
+
- compact
|
3180
|
+
- expanded
|
3181
|
+
|
3182
|
+
Style/Encoding:
|
3183
|
+
Description: 'Use UTF-8 as the source file encoding.'
|
3184
|
+
StyleGuide: '#utf-8'
|
3185
|
+
Enabled: true
|
3186
|
+
VersionAdded: '0.9'
|
3187
|
+
VersionChanged: '0.50'
|
3188
|
+
|
3189
|
+
Style/EndBlock:
|
3190
|
+
Description: 'Avoid the use of END blocks.'
|
3191
|
+
StyleGuide: '#no-END-blocks'
|
3192
|
+
Enabled: true
|
3193
|
+
VersionAdded: '0.9'
|
3194
|
+
|
3195
|
+
Style/EvalWithLocation:
|
3196
|
+
Description: 'Pass `__FILE__` and `__LINE__` to `eval` method, as they are used by backtraces.'
|
3197
|
+
Enabled: true
|
3198
|
+
VersionAdded: '0.52'
|
3199
|
+
|
3200
|
+
Style/EvenOdd:
|
3201
|
+
Description: 'Favor the use of Integer#even? && Integer#odd?'
|
3202
|
+
StyleGuide: '#predicate-methods'
|
3203
|
+
Enabled: true
|
3204
|
+
VersionAdded: '0.12'
|
3205
|
+
VersionChanged: '0.29'
|
3206
|
+
|
3207
|
+
Style/ExpandPathArguments:
|
3208
|
+
Description: "Use `expand_path(__dir__)` instead of `expand_path('..', __FILE__)`."
|
3209
|
+
Enabled: true
|
3210
|
+
VersionAdded: '0.53'
|
3211
|
+
|
3212
|
+
Style/For:
|
3213
|
+
Description: 'Checks use of for or each in multiline loops.'
|
3214
|
+
StyleGuide: '#no-for-loops'
|
3215
|
+
Enabled: true
|
3216
|
+
VersionAdded: '0.13'
|
3217
|
+
VersionChanged: '0.59'
|
3218
|
+
EnforcedStyle: each
|
3219
|
+
SupportedStyles:
|
3220
|
+
- each
|
3221
|
+
- for
|
3222
|
+
|
3223
|
+
Style/FormatString:
|
3224
|
+
Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
|
3225
|
+
StyleGuide: '#sprintf'
|
3226
|
+
Enabled: true
|
3227
|
+
VersionAdded: '0.19'
|
3228
|
+
VersionChanged: '0.49'
|
3229
|
+
EnforcedStyle: format
|
3230
|
+
SupportedStyles:
|
3231
|
+
- format
|
3232
|
+
- sprintf
|
3233
|
+
- percent
|
3234
|
+
|
3235
|
+
Style/FormatStringToken:
|
3236
|
+
Description: 'Use a consistent style for format string tokens.'
|
3237
|
+
Enabled: true
|
3238
|
+
EnforcedStyle: annotated
|
3239
|
+
SupportedStyles:
|
3240
|
+
# Prefer tokens which contain a sprintf like type annotation like
|
3241
|
+
# `%<name>s`, `%<age>d`, `%<score>f`
|
3242
|
+
- annotated
|
3243
|
+
# Prefer simple looking "template" style tokens like `%{name}`, `%{age}`
|
3244
|
+
- template
|
3245
|
+
- unannotated
|
3246
|
+
VersionAdded: '0.49'
|
3247
|
+
VersionChanged: '0.52'
|
3248
|
+
|
3249
|
+
Style/FrozenStringLiteralComment:
|
3250
|
+
Description: >-
|
3251
|
+
Add the frozen_string_literal comment to the top of files
|
3252
|
+
to help transition to frozen string literals by default.
|
3253
|
+
Enabled: true
|
3254
|
+
VersionAdded: '0.36'
|
3255
|
+
VersionChanged: '0.47'
|
3256
|
+
EnforcedStyle: when_needed
|
3257
|
+
SupportedStyles:
|
3258
|
+
# `when_needed` will add the frozen string literal comment to files
|
3259
|
+
# only when the `TargetRubyVersion` is set to 2.3+.
|
3260
|
+
- when_needed
|
3261
|
+
# `always` will always add the frozen string literal comment to a file
|
3262
|
+
# regardless of the Ruby version or if `freeze` or `<<` are called on a
|
3263
|
+
# string literal. If you run code against multiple versions of Ruby, it is
|
3264
|
+
# possible that this will create errors in Ruby 2.3.0+.
|
3265
|
+
- always
|
3266
|
+
# `never` will enforce that the frozen string literal comment does not
|
3267
|
+
# exist in a file.
|
3268
|
+
- never
|
3269
|
+
|
3270
|
+
Style/GlobalVars:
|
3271
|
+
Description: 'Do not introduce global variables.'
|
3272
|
+
StyleGuide: '#instance-vars'
|
3273
|
+
Reference: 'https://www.zenspider.com/ruby/quickref.html'
|
3274
|
+
Enabled: true
|
3275
|
+
VersionAdded: '0.13'
|
3276
|
+
# Built-in global variables are allowed by default.
|
3277
|
+
AllowedVariables: []
|
3278
|
+
|
3279
|
+
Style/GuardClause:
|
3280
|
+
Description: 'Check for conditionals that can be replaced with guard clauses'
|
3281
|
+
StyleGuide: '#no-nested-conditionals'
|
3282
|
+
Enabled: true
|
3283
|
+
VersionAdded: '0.20'
|
3284
|
+
VersionChanged: '0.22'
|
3285
|
+
# `MinBodyLength` defines the number of lines of the a body of an `if` or `unless`
|
3286
|
+
# needs to have to trigger this cop
|
3287
|
+
MinBodyLength: 1
|
3288
|
+
|
3289
|
+
Style/HashSyntax:
|
3290
|
+
Description: >-
|
3291
|
+
Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
|
3292
|
+
{ :a => 1, :b => 2 }.
|
3293
|
+
StyleGuide: '#hash-literals'
|
3294
|
+
Enabled: true
|
3295
|
+
VersionAdded: '0.9'
|
3296
|
+
VersionChanged: '0.43'
|
3297
|
+
EnforcedStyle: ruby19
|
3298
|
+
SupportedStyles:
|
3299
|
+
# checks for 1.9 syntax (e.g. {a: 1}) for all symbol keys
|
3300
|
+
- ruby19
|
3301
|
+
# checks for hash rocket syntax for all hashes
|
3302
|
+
- hash_rockets
|
3303
|
+
# forbids mixed key syntaxes (e.g. {a: 1, :b => 2})
|
3304
|
+
- no_mixed_keys
|
3305
|
+
# enforces both ruby19 and no_mixed_keys styles
|
3306
|
+
- ruby19_no_mixed_keys
|
3307
|
+
# Force hashes that have a symbol value to use hash rockets
|
3308
|
+
UseHashRocketsWithSymbolValues: false
|
3309
|
+
# Do not suggest { a?: 1 } over { :a? => 1 } in ruby19 style
|
3310
|
+
PreferHashRocketsForNonAlnumEndingSymbols: false
|
3311
|
+
|
3312
|
+
Style/IdenticalConditionalBranches:
|
3313
|
+
Description: >-
|
3314
|
+
Checks that conditional statements do not have an identical
|
3315
|
+
line at the end of each branch, which can validly be moved
|
3316
|
+
out of the conditional.
|
3317
|
+
Enabled: true
|
3318
|
+
VersionAdded: '0.36'
|
3319
|
+
|
3320
|
+
Style/IfInsideElse:
|
3321
|
+
Description: 'Finds if nodes inside else, which can be converted to elsif.'
|
3322
|
+
Enabled: true
|
3323
|
+
VersionAdded: '0.36'
|
3324
|
+
|
3325
|
+
Style/IfUnlessModifier:
|
3326
|
+
Description: >-
|
3327
|
+
Favor modifier if/unless usage when you have a
|
3328
|
+
single-line body.
|
3329
|
+
StyleGuide: '#if-as-a-modifier'
|
3330
|
+
Enabled: true
|
3331
|
+
VersionAdded: '0.9'
|
3332
|
+
VersionChanged: '0.30'
|
3333
|
+
|
3334
|
+
Style/IfUnlessModifierOfIfUnless:
|
3335
|
+
Description: >-
|
3336
|
+
Avoid modifier if/unless usage on conditionals.
|
3337
|
+
Enabled: true
|
3338
|
+
VersionAdded: '0.39'
|
3339
|
+
|
3340
|
+
Style/IfWithSemicolon:
|
3341
|
+
Description: 'Do not use if x; .... Use the ternary operator instead.'
|
3342
|
+
StyleGuide: '#no-semicolon-ifs'
|
3343
|
+
Enabled: true
|
3344
|
+
VersionAdded: '0.9'
|
3345
|
+
|
3346
|
+
Style/ImplicitRuntimeError:
|
3347
|
+
Description: >-
|
3348
|
+
Use `raise` or `fail` with an explicit exception class and
|
3349
|
+
message, rather than just a message.
|
3350
|
+
Enabled: false
|
3351
|
+
VersionAdded: '0.41'
|
3352
|
+
|
3353
|
+
Style/InfiniteLoop:
|
3354
|
+
Description: 'Use Kernel#loop for infinite loops.'
|
3355
|
+
StyleGuide: '#infinite-loop'
|
3356
|
+
Enabled: true
|
3357
|
+
VersionAdded: '0.26'
|
3358
|
+
VersionChanged: '0.61'
|
3359
|
+
SafeAutoCorrect: true
|
3360
|
+
|
3361
|
+
Style/InlineComment:
|
3362
|
+
Description: 'Avoid trailing inline comments.'
|
3363
|
+
Enabled: false
|
3364
|
+
VersionAdded: '0.23'
|
3365
|
+
|
3366
|
+
Style/InverseMethods:
|
3367
|
+
Description: >-
|
3368
|
+
Use the inverse method instead of `!.method`
|
3369
|
+
if an inverse method is defined.
|
3370
|
+
Enabled: true
|
3371
|
+
Safe: false
|
3372
|
+
VersionAdded: '0.48'
|
3373
|
+
# `InverseMethods` are methods that can be inverted by a not (`not` or `!`)
|
3374
|
+
# The relationship of inverse methods only needs to be defined in one direction.
|
3375
|
+
# Keys and values both need to be defined as symbols.
|
3376
|
+
InverseMethods:
|
3377
|
+
:any?: :none?
|
3378
|
+
:even?: :odd?
|
3379
|
+
:==: :!=
|
3380
|
+
:=~: :!~
|
3381
|
+
:<: :>=
|
3382
|
+
:>: :<=
|
3383
|
+
# `ActiveSupport` defines some common inverse methods. They are listed below,
|
3384
|
+
# and not enabled by default.
|
3385
|
+
#:present?: :blank?,
|
3386
|
+
#:include?: :exclude?
|
3387
|
+
# `InverseBlocks` are methods that are inverted by inverting the return
|
3388
|
+
# of the block that is passed to the method
|
3389
|
+
InverseBlocks:
|
3390
|
+
:select: :reject
|
3391
|
+
:select!: :reject!
|
3392
|
+
|
3393
|
+
Style/IpAddresses:
|
3394
|
+
Description: "Don't include literal IP addresses in code."
|
3395
|
+
Enabled: false
|
3396
|
+
VersionAdded: '0.58'
|
3397
|
+
# Allow strings to be whitelisted
|
3398
|
+
Whitelist:
|
3399
|
+
- "::"
|
3400
|
+
# :: is a valid IPv6 address, but could potentially be legitimately in code
|
3401
|
+
|
3402
|
+
Style/Lambda:
|
3403
|
+
Description: 'Use the new lambda literal syntax for single-line blocks.'
|
3404
|
+
StyleGuide: '#lambda-multi-line'
|
3405
|
+
Enabled: true
|
3406
|
+
VersionAdded: '0.9'
|
3407
|
+
VersionChanged: '0.40'
|
3408
|
+
EnforcedStyle: line_count_dependent
|
3409
|
+
SupportedStyles:
|
3410
|
+
- line_count_dependent
|
3411
|
+
- lambda
|
3412
|
+
- literal
|
3413
|
+
|
3414
|
+
Style/LambdaCall:
|
3415
|
+
Description: 'Use lambda.call(...) instead of lambda.(...).'
|
3416
|
+
StyleGuide: '#proc-call'
|
3417
|
+
Enabled: true
|
3418
|
+
VersionAdded: '0.13.1'
|
3419
|
+
VersionChanged: '0.14'
|
3420
|
+
EnforcedStyle: call
|
3421
|
+
SupportedStyles:
|
3422
|
+
- call
|
3423
|
+
- braces
|
3424
|
+
|
3425
|
+
Style/LineEndConcatenation:
|
3426
|
+
Description: >-
|
3427
|
+
Use \ instead of + or << to concatenate two string literals at
|
3428
|
+
line end.
|
3429
|
+
Enabled: true
|
3430
|
+
SafeAutoCorrect: false
|
3431
|
+
VersionAdded: '0.18'
|
3432
|
+
VersionChanged: '0.64'
|
3433
|
+
|
3434
|
+
Style/MethodCallWithArgsParentheses:
|
3435
|
+
Description: 'Use parentheses for method calls with arguments.'
|
3436
|
+
StyleGuide: '#method-invocation-parens'
|
3437
|
+
Enabled: false
|
3438
|
+
VersionAdded: '0.47'
|
3439
|
+
VersionChanged: '0.61'
|
3440
|
+
IgnoreMacros: true
|
3441
|
+
IgnoredMethods: []
|
3442
|
+
AllowParenthesesInMultilineCall: false
|
3443
|
+
AllowParenthesesInChaining: false
|
3444
|
+
AllowParenthesesInCamelCaseMethod: false
|
3445
|
+
EnforcedStyle: require_parentheses
|
3446
|
+
SupportedStyles:
|
3447
|
+
- require_parentheses
|
3448
|
+
- omit_parentheses
|
3449
|
+
|
3450
|
+
Style/MethodCallWithoutArgsParentheses:
|
3451
|
+
Description: 'Do not use parentheses for method calls with no arguments.'
|
3452
|
+
StyleGuide: '#method-invocation-parens'
|
3453
|
+
Enabled: true
|
3454
|
+
IgnoredMethods: []
|
3455
|
+
VersionAdded: '0.47'
|
3456
|
+
VersionChanged: '0.55'
|
3457
|
+
|
3458
|
+
Style/MethodCalledOnDoEndBlock:
|
3459
|
+
Description: 'Avoid chaining a method call on a do...end block.'
|
3460
|
+
StyleGuide: '#single-line-blocks'
|
3461
|
+
Enabled: false
|
3462
|
+
VersionAdded: '0.14'
|
3463
|
+
|
3464
|
+
Style/MethodDefParentheses:
|
3465
|
+
Description: >-
|
3466
|
+
Checks if the method definitions have or don't have
|
3467
|
+
parentheses.
|
3468
|
+
StyleGuide: '#method-parens'
|
3469
|
+
Enabled: true
|
3470
|
+
VersionAdded: '0.16'
|
3471
|
+
VersionChanged: '0.35'
|
3472
|
+
EnforcedStyle: require_parentheses
|
3473
|
+
SupportedStyles:
|
3474
|
+
- require_parentheses
|
3475
|
+
- require_no_parentheses
|
3476
|
+
- require_no_parentheses_except_multiline
|
3477
|
+
|
3478
|
+
Style/MethodMissingSuper:
|
3479
|
+
Description: Checks for `method_missing` to call `super`.
|
3480
|
+
StyleGuide: '#no-method-missing'
|
3481
|
+
Enabled: true
|
3482
|
+
VersionAdded: '0.56'
|
3483
|
+
|
3484
|
+
Style/MinMax:
|
3485
|
+
Description: >-
|
3486
|
+
Use `Enumerable#minmax` instead of `Enumerable#min`
|
3487
|
+
and `Enumerable#max` in conjunction.'
|
3488
|
+
Enabled: true
|
3489
|
+
VersionAdded: '0.50'
|
3490
|
+
|
3491
|
+
Style/MissingElse:
|
3492
|
+
Description: >-
|
3493
|
+
Require if/case expressions to have an else branches.
|
3494
|
+
If enabled, it is recommended that
|
3495
|
+
Style/UnlessElse and Style/EmptyElse be enabled.
|
3496
|
+
This will conflict with Style/EmptyElse if
|
3497
|
+
Style/EmptyElse is configured to style "both"
|
3498
|
+
Enabled: false
|
3499
|
+
VersionAdded: '0.30'
|
3500
|
+
VersionChanged: '0.38'
|
3501
|
+
EnforcedStyle: both
|
3502
|
+
SupportedStyles:
|
3503
|
+
# if - warn when an if expression is missing an else branch
|
3504
|
+
# case - warn when a case expression is missing an else branch
|
3505
|
+
# both - warn when an if or case expression is missing an else branch
|
3506
|
+
- if
|
3507
|
+
- case
|
3508
|
+
- both
|
3509
|
+
|
3510
|
+
Style/MissingRespondToMissing:
|
3511
|
+
Description: >-
|
3512
|
+
Checks if `method_missing` is implemented
|
3513
|
+
without implementing `respond_to_missing`.
|
3514
|
+
StyleGuide: '#no-method-missing'
|
3515
|
+
Enabled: true
|
3516
|
+
VersionAdded: '0.56'
|
3517
|
+
|
3518
|
+
Style/MixinGrouping:
|
3519
|
+
Description: 'Checks for grouping of mixins in `class` and `module` bodies.'
|
3520
|
+
StyleGuide: '#mixin-grouping'
|
3521
|
+
Enabled: true
|
3522
|
+
VersionAdded: '0.48'
|
3523
|
+
VersionChanged: '0.49'
|
3524
|
+
EnforcedStyle: separated
|
3525
|
+
SupportedStyles:
|
3526
|
+
# separated: each mixed in module goes in a separate statement.
|
3527
|
+
# grouped: mixed in modules are grouped into a single statement.
|
3528
|
+
- separated
|
3529
|
+
- grouped
|
3530
|
+
|
3531
|
+
Style/MixinUsage:
|
3532
|
+
Description: 'Checks that `include`, `extend` and `prepend` exists at the top level.'
|
3533
|
+
Enabled: true
|
3534
|
+
VersionAdded: '0.51'
|
3535
|
+
|
3536
|
+
Style/ModuleFunction:
|
3537
|
+
Description: 'Checks for usage of `extend self` in modules.'
|
3538
|
+
StyleGuide: '#module-function'
|
3539
|
+
Enabled: true
|
3540
|
+
VersionAdded: '0.11'
|
3541
|
+
VersionChanged: '0.65'
|
3542
|
+
EnforcedStyle: module_function
|
3543
|
+
SupportedStyles:
|
3544
|
+
- module_function
|
3545
|
+
- extend_self
|
3546
|
+
Autocorrect: false
|
3547
|
+
SafeAutoCorrect: false
|
3548
|
+
|
3549
|
+
Style/MultilineBlockChain:
|
3550
|
+
Description: 'Avoid multi-line chains of blocks.'
|
3551
|
+
StyleGuide: '#single-line-blocks'
|
3552
|
+
Enabled: true
|
3553
|
+
VersionAdded: '0.13'
|
3554
|
+
|
3555
|
+
Style/MultilineIfModifier:
|
3556
|
+
Description: 'Only use if/unless modifiers on single line statements.'
|
3557
|
+
StyleGuide: '#no-multiline-if-modifiers'
|
3558
|
+
Enabled: true
|
3559
|
+
VersionAdded: '0.45'
|
3560
|
+
|
3561
|
+
Style/MultilineIfThen:
|
3562
|
+
Description: 'Do not use then for multi-line if/unless.'
|
3563
|
+
StyleGuide: '#no-then'
|
3564
|
+
Enabled: true
|
3565
|
+
VersionAdded: '0.9'
|
3566
|
+
VersionChanged: '0.26'
|
3567
|
+
|
3568
|
+
Style/MultilineMemoization:
|
3569
|
+
Description: 'Wrap multiline memoizations in a `begin` and `end` block.'
|
3570
|
+
Enabled: true
|
3571
|
+
VersionAdded: '0.44'
|
3572
|
+
VersionChanged: '0.48'
|
3573
|
+
EnforcedStyle: keyword
|
3574
|
+
SupportedStyles:
|
3575
|
+
- keyword
|
3576
|
+
- braces
|
3577
|
+
|
3578
|
+
Style/MultilineMethodSignature:
|
3579
|
+
Description: 'Avoid multi-line method signatures.'
|
3580
|
+
Enabled: false
|
3581
|
+
VersionAdded: '0.59'
|
3582
|
+
|
3583
|
+
Style/MultilineTernaryOperator:
|
3584
|
+
Description: >-
|
3585
|
+
Avoid multi-line ?: (the ternary operator);
|
3586
|
+
use if/unless instead.
|
3587
|
+
StyleGuide: '#no-multiline-ternary'
|
3588
|
+
Enabled: true
|
3589
|
+
VersionAdded: '0.9'
|
3590
|
+
|
3591
|
+
Style/MultipleComparison:
|
3592
|
+
Description: >-
|
3593
|
+
Avoid comparing a variable with multiple items in a conditional,
|
3594
|
+
use Array#include? instead.
|
3595
|
+
Enabled: true
|
3596
|
+
VersionAdded: '0.49'
|
3597
|
+
|
3598
|
+
Style/MutableConstant:
|
3599
|
+
Description: 'Do not assign mutable objects to constants.'
|
3600
|
+
Enabled: true
|
3601
|
+
VersionAdded: '0.34'
|
3602
|
+
VersionChanged: '0.65'
|
3603
|
+
EnforcedStyle: literals
|
3604
|
+
SupportedStyles:
|
3605
|
+
# literals: freeze literals assigned to constants
|
3606
|
+
# strict: freeze all constants
|
3607
|
+
# Strict mode is considered an experimental feature. It has not been updated
|
3608
|
+
# with an exhaustive list of all methods that will produce frozen objects so
|
3609
|
+
# there is a decent chance of getting some false positives. Luckily, there is
|
3610
|
+
# no harm in freezing an already frozen object.
|
3611
|
+
- literals
|
3612
|
+
- strict
|
3613
|
+
|
3614
|
+
Style/NegatedIf:
|
3615
|
+
Description: >-
|
3616
|
+
Favor unless over if for negative conditions
|
3617
|
+
(or control flow or).
|
3618
|
+
StyleGuide: '#unless-for-negatives'
|
3619
|
+
Enabled: true
|
3620
|
+
VersionAdded: '0.20'
|
3621
|
+
VersionChanged: '0.48'
|
3622
|
+
EnforcedStyle: both
|
3623
|
+
SupportedStyles:
|
3624
|
+
# both: prefix and postfix negated `if` should both use `unless`
|
3625
|
+
# prefix: only use `unless` for negated `if` statements positioned before the body of the statement
|
3626
|
+
# postfix: only use `unless` for negated `if` statements positioned after the body of the statement
|
3627
|
+
- both
|
3628
|
+
- prefix
|
3629
|
+
- postfix
|
3630
|
+
|
3631
|
+
Style/NegatedWhile:
|
3632
|
+
Description: 'Favor until over while for negative conditions.'
|
3633
|
+
StyleGuide: '#until-for-negatives'
|
3634
|
+
Enabled: true
|
3635
|
+
VersionAdded: '0.20'
|
3636
|
+
|
3637
|
+
Style/NestedModifier:
|
3638
|
+
Description: 'Avoid using nested modifiers.'
|
3639
|
+
StyleGuide: '#no-nested-modifiers'
|
3640
|
+
Enabled: true
|
3641
|
+
VersionAdded: '0.35'
|
3642
|
+
|
3643
|
+
Style/NestedParenthesizedCalls:
|
3644
|
+
Description: >-
|
3645
|
+
Parenthesize method calls which are nested inside the
|
3646
|
+
argument list of another parenthesized method call.
|
3647
|
+
Enabled: true
|
3648
|
+
VersionAdded: '0.36'
|
3649
|
+
VersionChanged: '0.50'
|
3650
|
+
Whitelist:
|
3651
|
+
- be
|
3652
|
+
- be_a
|
3653
|
+
- be_an
|
3654
|
+
- be_between
|
3655
|
+
- be_falsey
|
3656
|
+
- be_kind_of
|
3657
|
+
- be_instance_of
|
3658
|
+
- be_truthy
|
3659
|
+
- be_within
|
3660
|
+
- eq
|
3661
|
+
- eql
|
3662
|
+
- end_with
|
3663
|
+
- include
|
3664
|
+
- match
|
3665
|
+
- raise_error
|
3666
|
+
- respond_to
|
3667
|
+
- start_with
|
3668
|
+
|
3669
|
+
Style/NestedTernaryOperator:
|
3670
|
+
Description: 'Use one expression per branch in a ternary operator.'
|
3671
|
+
StyleGuide: '#no-nested-ternary'
|
3672
|
+
Enabled: true
|
3673
|
+
VersionAdded: '0.9'
|
3674
|
+
|
3675
|
+
Style/Next:
|
3676
|
+
Description: 'Use `next` to skip iteration instead of a condition at the end.'
|
3677
|
+
StyleGuide: '#no-nested-conditionals'
|
3678
|
+
Enabled: true
|
3679
|
+
VersionAdded: '0.22'
|
3680
|
+
VersionChanged: '0.35'
|
3681
|
+
# With `always` all conditions at the end of an iteration needs to be
|
3682
|
+
# replaced by next - with `skip_modifier_ifs` the modifier if like this one
|
3683
|
+
# are ignored: [1, 2].each { |a| return 'yes' if a == 1 }
|
3684
|
+
EnforcedStyle: skip_modifier_ifs
|
3685
|
+
# `MinBodyLength` defines the number of lines of the a body of an `if` or `unless`
|
3686
|
+
# needs to have to trigger this cop
|
3687
|
+
MinBodyLength: 3
|
3688
|
+
SupportedStyles:
|
3689
|
+
- skip_modifier_ifs
|
3690
|
+
- always
|
3691
|
+
|
3692
|
+
Style/NilComparison:
|
3693
|
+
Description: 'Prefer x.nil? to x == nil.'
|
3694
|
+
StyleGuide: '#predicate-methods'
|
3695
|
+
Enabled: true
|
3696
|
+
VersionAdded: '0.12'
|
3697
|
+
VersionChanged: '0.59'
|
3698
|
+
EnforcedStyle: predicate
|
3699
|
+
SupportedStyles:
|
3700
|
+
- predicate
|
3701
|
+
- comparison
|
3702
|
+
|
3703
|
+
Style/NonNilCheck:
|
3704
|
+
Description: 'Checks for redundant nil checks.'
|
3705
|
+
StyleGuide: '#no-non-nil-checks'
|
3706
|
+
Enabled: true
|
3707
|
+
VersionAdded: '0.20'
|
3708
|
+
VersionChanged: '0.22'
|
3709
|
+
# With `IncludeSemanticChanges` set to `true`, this cop reports offenses for
|
3710
|
+
# `!x.nil?` and autocorrects that and `x != nil` to solely `x`, which is
|
3711
|
+
# **usually** OK, but might change behavior.
|
3712
|
+
#
|
3713
|
+
# With `IncludeSemanticChanges` set to `false`, this cop does not report
|
3714
|
+
# offenses for `!x.nil?` and does no changes that might change behavior.
|
3715
|
+
IncludeSemanticChanges: false
|
3716
|
+
|
3717
|
+
Style/Not:
|
3718
|
+
Description: 'Use ! instead of not.'
|
3719
|
+
StyleGuide: '#bang-not-not'
|
3720
|
+
Enabled: true
|
3721
|
+
VersionAdded: '0.9'
|
3722
|
+
VersionChanged: '0.20'
|
3723
|
+
|
3724
|
+
Style/NumericLiteralPrefix:
|
3725
|
+
Description: 'Use smallcase prefixes for numeric literals.'
|
3726
|
+
StyleGuide: '#numeric-literal-prefixes'
|
3727
|
+
Enabled: true
|
3728
|
+
VersionAdded: '0.41'
|
3729
|
+
EnforcedOctalStyle: zero_with_o
|
3730
|
+
SupportedOctalStyles:
|
3731
|
+
- zero_with_o
|
3732
|
+
- zero_only
|
3733
|
+
|
3734
|
+
|
3735
|
+
Style/NumericLiterals:
|
3736
|
+
Description: >-
|
3737
|
+
Add underscores to large numeric literals to improve their
|
3738
|
+
readability.
|
3739
|
+
StyleGuide: '#underscores-in-numerics'
|
3740
|
+
Enabled: true
|
3741
|
+
VersionAdded: '0.9'
|
3742
|
+
VersionChanged: '0.48'
|
3743
|
+
MinDigits: 5
|
3744
|
+
Strict: false
|
3745
|
+
|
3746
|
+
Style/NumericPredicate:
|
3747
|
+
Description: >-
|
3748
|
+
Checks for the use of predicate- or comparison methods for
|
3749
|
+
numeric comparisons.
|
3750
|
+
StyleGuide: '#predicate-methods'
|
3751
|
+
Safe: false
|
3752
|
+
# This will change to a new method call which isn't guaranteed to be on the
|
3753
|
+
# object. Switching these methods has to be done with knowledge of the types
|
3754
|
+
# of the variables which rubocop doesn't have.
|
3755
|
+
SafeAutoCorrect: false
|
3756
|
+
AutoCorrect: false
|
3757
|
+
Enabled: true
|
3758
|
+
VersionAdded: '0.42'
|
3759
|
+
VersionChanged: '0.59'
|
3760
|
+
EnforcedStyle: predicate
|
3761
|
+
SupportedStyles:
|
3762
|
+
- predicate
|
3763
|
+
- comparison
|
3764
|
+
IgnoredMethods: []
|
3765
|
+
# Exclude RSpec specs because assertions like `expect(1).to be > 0` cause
|
3766
|
+
# false positives.
|
3767
|
+
Exclude:
|
3768
|
+
- 'spec/**/*'
|
3769
|
+
|
3770
|
+
Style/OneLineConditional:
|
3771
|
+
Description: >-
|
3772
|
+
Favor the ternary operator(?:) over
|
3773
|
+
if/then/else/end constructs.
|
3774
|
+
StyleGuide: '#ternary-operator'
|
3775
|
+
Enabled: true
|
3776
|
+
VersionAdded: '0.9'
|
3777
|
+
VersionChanged: '0.38'
|
3778
|
+
|
3779
|
+
Style/OptionHash:
|
3780
|
+
Description: "Don't use option hashes when you can use keyword arguments."
|
3781
|
+
Enabled: false
|
3782
|
+
VersionAdded: '0.33'
|
3783
|
+
VersionChanged: '0.34'
|
3784
|
+
# A list of parameter names that will be flagged by this cop.
|
3785
|
+
SuspiciousParamNames:
|
3786
|
+
- options
|
3787
|
+
- opts
|
3788
|
+
- args
|
3789
|
+
- params
|
3790
|
+
- parameters
|
3791
|
+
|
3792
|
+
Style/OptionalArguments:
|
3793
|
+
Description: >-
|
3794
|
+
Checks for optional arguments that do not appear at the end
|
3795
|
+
of the argument list
|
3796
|
+
StyleGuide: '#optional-arguments'
|
3797
|
+
Enabled: true
|
3798
|
+
VersionAdded: '0.33'
|
3799
|
+
|
3800
|
+
Style/OrAssignment:
|
3801
|
+
Description: 'Recommend usage of double pipe equals (||=) where applicable.'
|
3802
|
+
StyleGuide: '#double-pipe-for-uninit'
|
3803
|
+
Enabled: true
|
3804
|
+
VersionAdded: '0.50'
|
3805
|
+
|
3806
|
+
Style/ParallelAssignment:
|
3807
|
+
Description: >-
|
3808
|
+
Check for simple usages of parallel assignment.
|
3809
|
+
It will only warn when the number of variables
|
3810
|
+
matches on both sides of the assignment.
|
3811
|
+
StyleGuide: '#parallel-assignment'
|
3812
|
+
Enabled: true
|
3813
|
+
VersionAdded: '0.32'
|
3814
|
+
|
3815
|
+
Style/ParenthesesAroundCondition:
|
3816
|
+
Description: >-
|
3817
|
+
Don't use parentheses around the condition of an
|
3818
|
+
if/unless/while.
|
3819
|
+
StyleGuide: '#no-parens-around-condition'
|
3820
|
+
Enabled: true
|
3821
|
+
VersionAdded: '0.9'
|
3822
|
+
VersionChanged: '0.56'
|
3823
|
+
AllowSafeAssignment: true
|
3824
|
+
AllowInMultilineConditions: false
|
3825
|
+
|
3826
|
+
Style/PercentLiteralDelimiters:
|
3827
|
+
Description: 'Use `%`-literal delimiters consistently'
|
3828
|
+
StyleGuide: '#percent-literal-braces'
|
3829
|
+
Enabled: true
|
3830
|
+
VersionAdded: '0.19'
|
3831
|
+
# Specify the default preferred delimiter for all types with the 'default' key
|
3832
|
+
# Override individual delimiters (even with default specified) by specifying
|
3833
|
+
# an individual key
|
3834
|
+
PreferredDelimiters:
|
3835
|
+
default: ()
|
3836
|
+
'%i': '[]'
|
3837
|
+
'%I': '[]'
|
3838
|
+
'%r': '{}'
|
3839
|
+
'%w': '[]'
|
3840
|
+
'%W': '[]'
|
3841
|
+
VersionChanged: '0.48.1'
|
3842
|
+
|
3843
|
+
Style/PercentQLiterals:
|
3844
|
+
Description: 'Checks if uses of %Q/%q match the configured preference.'
|
3845
|
+
Enabled: true
|
3846
|
+
VersionAdded: '0.25'
|
3847
|
+
EnforcedStyle: lower_case_q
|
3848
|
+
SupportedStyles:
|
3849
|
+
- lower_case_q # Use `%q` when possible, `%Q` when necessary
|
3850
|
+
- upper_case_q # Always use `%Q`
|
3851
|
+
|
3852
|
+
Style/PerlBackrefs:
|
3853
|
+
Description: 'Avoid Perl-style regex back references.'
|
3854
|
+
StyleGuide: '#no-perl-regexp-last-matchers'
|
3855
|
+
Enabled: true
|
3856
|
+
VersionAdded: '0.13'
|
3857
|
+
|
3858
|
+
Style/PreferredHashMethods:
|
3859
|
+
Description: 'Checks use of `has_key?` and `has_value?` Hash methods.'
|
3860
|
+
StyleGuide: '#hash-key'
|
3861
|
+
Enabled: true
|
3862
|
+
VersionAdded: '0.41'
|
3863
|
+
VersionChanged: '0.44'
|
3864
|
+
EnforcedStyle: short
|
3865
|
+
SupportedStyles:
|
3866
|
+
- short
|
3867
|
+
- verbose
|
3868
|
+
|
3869
|
+
Style/Proc:
|
3870
|
+
Description: 'Use proc instead of Proc.new.'
|
3871
|
+
StyleGuide: '#proc'
|
3872
|
+
Enabled: true
|
3873
|
+
VersionAdded: '0.9'
|
3874
|
+
VersionChanged: '0.18'
|
3875
|
+
|
3876
|
+
Style/RaiseArgs:
|
3877
|
+
Description: 'Checks the arguments passed to raise/fail.'
|
3878
|
+
StyleGuide: '#exception-class-messages'
|
3879
|
+
Enabled: true
|
3880
|
+
VersionAdded: '0.14'
|
3881
|
+
VersionChanged: '0.40'
|
3882
|
+
EnforcedStyle: exploded
|
3883
|
+
SupportedStyles:
|
3884
|
+
- compact # raise Exception.new(msg)
|
3885
|
+
- exploded # raise Exception, msg
|
3886
|
+
|
3887
|
+
Style/RandomWithOffset:
|
3888
|
+
Description: >-
|
3889
|
+
Prefer to use ranges when generating random numbers instead of
|
3890
|
+
integers with offsets.
|
3891
|
+
StyleGuide: '#random-numbers'
|
3892
|
+
Enabled: true
|
3893
|
+
VersionAdded: '0.52'
|
3894
|
+
|
3895
|
+
Style/RedundantBegin:
|
3896
|
+
Description: "Don't use begin blocks when they are not needed."
|
3897
|
+
StyleGuide: '#begin-implicit'
|
3898
|
+
Enabled: true
|
3899
|
+
VersionAdded: '0.10'
|
3900
|
+
VersionChanged: '0.21'
|
3901
|
+
|
3902
|
+
Style/RedundantConditional:
|
3903
|
+
Description: "Don't return true/false from a conditional."
|
3904
|
+
Enabled: true
|
3905
|
+
VersionAdded: '0.50'
|
3906
|
+
|
3907
|
+
Style/RedundantException:
|
3908
|
+
Description: "Checks for an obsolete RuntimeException argument in raise/fail."
|
3909
|
+
StyleGuide: '#no-explicit-runtimeerror'
|
3910
|
+
Enabled: true
|
3911
|
+
VersionAdded: '0.14'
|
3912
|
+
VersionChanged: '0.29'
|
3913
|
+
|
3914
|
+
Style/RedundantFreeze:
|
3915
|
+
Description: "Checks usages of Object#freeze on immutable objects."
|
3916
|
+
Enabled: true
|
3917
|
+
VersionAdded: '0.34'
|
3918
|
+
VersionChanged: '0.66'
|
3919
|
+
|
3920
|
+
Style/RedundantParentheses:
|
3921
|
+
Description: "Checks for parentheses that seem not to serve any purpose."
|
3922
|
+
Enabled: true
|
3923
|
+
VersionAdded: '0.36'
|
3924
|
+
|
3925
|
+
Style/RedundantReturn:
|
3926
|
+
Description: "Don't use return where it's not required."
|
3927
|
+
StyleGuide: '#no-explicit-return'
|
3928
|
+
Enabled: true
|
3929
|
+
VersionAdded: '0.10'
|
3930
|
+
VersionChanged: '0.14'
|
3931
|
+
# When `true` allows code like `return x, y`.
|
3932
|
+
AllowMultipleReturnValues: false
|
3933
|
+
|
3934
|
+
Style/RedundantSelf:
|
3935
|
+
Description: "Don't use self where it's not needed."
|
3936
|
+
StyleGuide: '#no-self-unless-required'
|
3937
|
+
Enabled: true
|
3938
|
+
VersionAdded: '0.10'
|
3939
|
+
VersionChanged: '0.13'
|
3940
|
+
|
3941
|
+
Style/RegexpLiteral:
|
3942
|
+
Description: 'Use / or %r around regular expressions.'
|
3943
|
+
StyleGuide: '#percent-r'
|
3944
|
+
Enabled: true
|
3945
|
+
VersionAdded: '0.9'
|
3946
|
+
VersionChanged: '0.30'
|
3947
|
+
EnforcedStyle: slashes
|
3948
|
+
# slashes: Always use slashes.
|
3949
|
+
# percent_r: Always use `%r`.
|
3950
|
+
# mixed: Use slashes on single-line regexes, and `%r` on multi-line regexes.
|
3951
|
+
SupportedStyles:
|
3952
|
+
- slashes
|
3953
|
+
- percent_r
|
3954
|
+
- mixed
|
3955
|
+
# If `false`, the cop will always recommend using `%r` if one or more slashes
|
3956
|
+
# are found in the regexp string.
|
3957
|
+
AllowInnerSlashes: false
|
3958
|
+
|
3959
|
+
Style/RescueModifier:
|
3960
|
+
Description: 'Avoid using rescue in its modifier form.'
|
3961
|
+
StyleGuide: '#no-rescue-modifiers'
|
3962
|
+
Enabled: true
|
3963
|
+
VersionAdded: '0.9'
|
3964
|
+
VersionChanged: '0.34'
|
3965
|
+
|
3966
|
+
Style/RescueStandardError:
|
3967
|
+
Description: 'Avoid rescuing without specifying an error class.'
|
3968
|
+
Enabled: true
|
3969
|
+
VersionAdded: '0.52'
|
3970
|
+
EnforcedStyle: explicit
|
3971
|
+
# implicit: Do not include the error class, `rescue`
|
3972
|
+
# explicit: Require an error class `rescue StandardError`
|
3973
|
+
SupportedStyles:
|
3974
|
+
- implicit
|
3975
|
+
- explicit
|
3976
|
+
|
3977
|
+
Style/ReturnNil:
|
3978
|
+
Description: 'Use return instead of return nil.'
|
3979
|
+
Enabled: false
|
3980
|
+
EnforcedStyle: return
|
3981
|
+
SupportedStyles:
|
3982
|
+
- return
|
3983
|
+
- return_nil
|
3984
|
+
VersionAdded: '0.50'
|
3985
|
+
|
3986
|
+
Style/SafeNavigation:
|
3987
|
+
Description: >-
|
3988
|
+
This cop transforms usages of a method call safeguarded by
|
3989
|
+
a check for the existence of the object to
|
3990
|
+
safe navigation (`&.`).
|
3991
|
+
Enabled: true
|
3992
|
+
VersionAdded: '0.43'
|
3993
|
+
VersionChanged: '0.56'
|
3994
|
+
# Safe navigation may cause a statement to start returning `nil` in addition
|
3995
|
+
# to whatever it used to return.
|
3996
|
+
ConvertCodeThatCanStartToReturnNil: false
|
3997
|
+
Whitelist:
|
3998
|
+
- present?
|
3999
|
+
- blank?
|
4000
|
+
- presence
|
4001
|
+
- try
|
4002
|
+
- try!
|
4003
|
+
|
4004
|
+
Style/SelfAssignment:
|
4005
|
+
Description: >-
|
4006
|
+
Checks for places where self-assignment shorthand should have
|
4007
|
+
been used.
|
4008
|
+
StyleGuide: '#self-assignment'
|
4009
|
+
Enabled: true
|
4010
|
+
VersionAdded: '0.19'
|
4011
|
+
VersionChanged: '0.29'
|
4012
|
+
|
4013
|
+
Style/Semicolon:
|
4014
|
+
Description: "Don't use semicolons to terminate expressions."
|
4015
|
+
StyleGuide: '#no-semicolon'
|
4016
|
+
Enabled: true
|
4017
|
+
VersionAdded: '0.9'
|
4018
|
+
VersionChanged: '0.19'
|
4019
|
+
# Allow `;` to separate several expressions on the same line.
|
4020
|
+
AllowAsExpressionSeparator: false
|
4021
|
+
|
4022
|
+
Style/Send:
|
4023
|
+
Description: 'Prefer `Object#__send__` or `Object#public_send` to `send`, as `send` may overlap with existing methods.'
|
4024
|
+
StyleGuide: '#prefer-public-send'
|
4025
|
+
Enabled: false
|
4026
|
+
VersionAdded: '0.33'
|
4027
|
+
|
4028
|
+
Style/SignalException:
|
4029
|
+
Description: 'Checks for proper usage of fail and raise.'
|
4030
|
+
StyleGuide: '#prefer-raise-over-fail'
|
4031
|
+
Enabled: true
|
4032
|
+
VersionAdded: '0.11'
|
4033
|
+
VersionChanged: '0.37'
|
4034
|
+
EnforcedStyle: only_raise
|
4035
|
+
SupportedStyles:
|
4036
|
+
- only_raise
|
4037
|
+
- only_fail
|
4038
|
+
- semantic
|
4039
|
+
|
4040
|
+
Style/SingleLineBlockParams:
|
4041
|
+
Description: 'Enforces the names of some block params.'
|
4042
|
+
Enabled: false
|
4043
|
+
VersionAdded: '0.16'
|
4044
|
+
VersionChanged: '0.47'
|
4045
|
+
Methods:
|
4046
|
+
- reduce:
|
4047
|
+
- acc
|
4048
|
+
- elem
|
4049
|
+
- inject:
|
4050
|
+
- acc
|
4051
|
+
- elem
|
4052
|
+
|
4053
|
+
Style/SingleLineMethods:
|
4054
|
+
Description: 'Avoid single-line methods.'
|
4055
|
+
StyleGuide: '#no-single-line-methods'
|
4056
|
+
Enabled: true
|
4057
|
+
VersionAdded: '0.9'
|
4058
|
+
VersionChanged: '0.19'
|
4059
|
+
AllowIfMethodIsEmpty: true
|
4060
|
+
|
4061
|
+
Style/SpecialGlobalVars:
|
4062
|
+
Description: 'Avoid Perl-style global variables.'
|
4063
|
+
StyleGuide: '#no-cryptic-perlisms'
|
4064
|
+
Enabled: true
|
4065
|
+
VersionAdded: '0.13'
|
4066
|
+
VersionChanged: '0.36'
|
4067
|
+
SafeAutoCorrect: false
|
4068
|
+
EnforcedStyle: use_english_names
|
4069
|
+
SupportedStyles:
|
4070
|
+
- use_perl_names
|
4071
|
+
- use_english_names
|
4072
|
+
|
4073
|
+
Style/StabbyLambdaParentheses:
|
4074
|
+
Description: 'Check for the usage of parentheses around stabby lambda arguments.'
|
4075
|
+
StyleGuide: '#stabby-lambda-with-args'
|
4076
|
+
Enabled: true
|
4077
|
+
VersionAdded: '0.35'
|
4078
|
+
EnforcedStyle: require_parentheses
|
4079
|
+
SupportedStyles:
|
4080
|
+
- require_parentheses
|
4081
|
+
- require_no_parentheses
|
4082
|
+
|
4083
|
+
Style/StderrPuts:
|
4084
|
+
Description: 'Use `warn` instead of `$stderr.puts`.'
|
4085
|
+
StyleGuide: '#warn'
|
4086
|
+
Enabled: true
|
4087
|
+
VersionAdded: '0.51'
|
4088
|
+
|
4089
|
+
Style/StringHashKeys:
|
4090
|
+
Description: 'Prefer symbols instead of strings as hash keys.'
|
4091
|
+
StyleGuide: '#symbols-as-keys'
|
4092
|
+
Enabled: false
|
4093
|
+
VersionAdded: '0.52'
|
4094
|
+
|
4095
|
+
Style/StringLiterals:
|
4096
|
+
Description: 'Checks if uses of quotes match the configured preference.'
|
4097
|
+
StyleGuide: '#consistent-string-literals'
|
4098
|
+
Enabled: true
|
4099
|
+
VersionAdded: '0.9'
|
4100
|
+
VersionChanged: '0.36'
|
4101
|
+
EnforcedStyle: single_quotes
|
4102
|
+
SupportedStyles:
|
4103
|
+
- single_quotes
|
4104
|
+
- double_quotes
|
4105
|
+
# If `true`, strings which span multiple lines using `\` for continuation must
|
4106
|
+
# use the same type of quotes on each line.
|
4107
|
+
ConsistentQuotesInMultiline: false
|
4108
|
+
|
4109
|
+
Style/StringLiteralsInInterpolation:
|
4110
|
+
Description: >-
|
4111
|
+
Checks if uses of quotes inside expressions in interpolated
|
4112
|
+
strings match the configured preference.
|
4113
|
+
Enabled: true
|
4114
|
+
VersionAdded: '0.27'
|
4115
|
+
EnforcedStyle: single_quotes
|
4116
|
+
SupportedStyles:
|
4117
|
+
- single_quotes
|
4118
|
+
- double_quotes
|
4119
|
+
|
4120
|
+
Style/StringMethods:
|
4121
|
+
Description: 'Checks if configured preferred methods are used over non-preferred.'
|
4122
|
+
Enabled: false
|
4123
|
+
VersionAdded: '0.34'
|
4124
|
+
VersionChanged: '0.34.2'
|
4125
|
+
# Mapping from undesired method to desired_method
|
4126
|
+
# e.g. to use `to_sym` over `intern`:
|
4127
|
+
#
|
4128
|
+
# StringMethods:
|
4129
|
+
# PreferredMethods:
|
4130
|
+
# intern: to_sym
|
4131
|
+
PreferredMethods:
|
4132
|
+
intern: to_sym
|
4133
|
+
|
4134
|
+
Style/StructInheritance:
|
4135
|
+
Description: 'Checks for inheritance from Struct.new.'
|
4136
|
+
StyleGuide: '#no-extend-struct-new'
|
4137
|
+
Enabled: true
|
4138
|
+
VersionAdded: '0.29'
|
4139
|
+
|
4140
|
+
Style/SymbolArray:
|
4141
|
+
Description: 'Use %i or %I for arrays of symbols.'
|
4142
|
+
StyleGuide: '#percent-i'
|
4143
|
+
Enabled: true
|
4144
|
+
VersionAdded: '0.9'
|
4145
|
+
VersionChanged: '0.49'
|
4146
|
+
EnforcedStyle: percent
|
4147
|
+
MinSize: 2
|
4148
|
+
SupportedStyles:
|
4149
|
+
- percent
|
4150
|
+
- brackets
|
4151
|
+
|
4152
|
+
Style/SymbolLiteral:
|
4153
|
+
Description: 'Use plain symbols instead of string symbols when possible.'
|
4154
|
+
Enabled: true
|
4155
|
+
VersionAdded: '0.30'
|
4156
|
+
|
4157
|
+
Style/SymbolProc:
|
4158
|
+
Description: 'Use symbols as procs instead of blocks when possible.'
|
4159
|
+
Enabled: true
|
4160
|
+
SafeAutoCorrect: false
|
4161
|
+
VersionAdded: '0.26'
|
4162
|
+
VersionChanged: '0.64'
|
4163
|
+
# A list of method names to be ignored by the check.
|
4164
|
+
# The names should be fairly unique, otherwise you'll end up ignoring lots of code.
|
4165
|
+
IgnoredMethods:
|
4166
|
+
- respond_to
|
4167
|
+
- define_method
|
4168
|
+
|
4169
|
+
Style/TernaryParentheses:
|
4170
|
+
Description: 'Checks for use of parentheses around ternary conditions.'
|
4171
|
+
Enabled: true
|
4172
|
+
VersionAdded: '0.42'
|
4173
|
+
VersionChanged: '0.46'
|
4174
|
+
EnforcedStyle: require_no_parentheses
|
4175
|
+
SupportedStyles:
|
4176
|
+
- require_parentheses
|
4177
|
+
- require_no_parentheses
|
4178
|
+
- require_parentheses_when_complex
|
4179
|
+
AllowSafeAssignment: true
|
4180
|
+
|
4181
|
+
Style/TrailingBodyOnClass:
|
4182
|
+
Description: 'Class body goes below class statement.'
|
4183
|
+
Enabled: true
|
4184
|
+
VersionAdded: '0.53'
|
4185
|
+
|
4186
|
+
Style/TrailingBodyOnMethodDefinition:
|
4187
|
+
Description: 'Method body goes below definition.'
|
4188
|
+
Enabled: true
|
4189
|
+
VersionAdded: '0.52'
|
4190
|
+
|
4191
|
+
Style/TrailingBodyOnModule:
|
4192
|
+
Description: 'Module body goes below module statement.'
|
4193
|
+
Enabled: true
|
4194
|
+
VersionAdded: '0.53'
|
4195
|
+
|
4196
|
+
Style/TrailingCommaInArguments:
|
4197
|
+
Description: 'Checks for trailing comma in argument lists.'
|
4198
|
+
StyleGuide: '#no-trailing-params-comma'
|
4199
|
+
Enabled: true
|
4200
|
+
VersionAdded: '0.36'
|
4201
|
+
# If `comma`, the cop requires a comma after the last argument, but only for
|
4202
|
+
# parenthesized method calls where each argument is on its own line.
|
4203
|
+
# If `consistent_comma`, the cop requires a comma after the last argument,
|
4204
|
+
# for all parenthesized method calls with arguments.
|
4205
|
+
EnforcedStyleForMultiline: no_comma
|
4206
|
+
SupportedStylesForMultiline:
|
4207
|
+
- comma
|
4208
|
+
- consistent_comma
|
4209
|
+
- no_comma
|
4210
|
+
|
4211
|
+
Style/TrailingCommaInArrayLiteral:
|
4212
|
+
Description: 'Checks for trailing comma in array literals.'
|
4213
|
+
StyleGuide: '#no-trailing-array-commas'
|
4214
|
+
Enabled: true
|
4215
|
+
VersionAdded: '0.53'
|
4216
|
+
# but only when each item is on its own line.
|
4217
|
+
# If `consistent_comma`, the cop requires a comma after the last item of all
|
4218
|
+
# non-empty array literals.
|
4219
|
+
EnforcedStyleForMultiline: no_comma
|
4220
|
+
SupportedStylesForMultiline:
|
4221
|
+
- comma
|
4222
|
+
- consistent_comma
|
4223
|
+
- no_comma
|
4224
|
+
|
4225
|
+
Style/TrailingCommaInHashLiteral:
|
4226
|
+
Description: 'Checks for trailing comma in hash literals.'
|
4227
|
+
Enabled: true
|
4228
|
+
# If `comma`, the cop requires a comma after the last item in a hash,
|
4229
|
+
# but only when each item is on its own line.
|
4230
|
+
# If `consistent_comma`, the cop requires a comma after the last item of all
|
4231
|
+
# non-empty hash literals.
|
4232
|
+
EnforcedStyleForMultiline: no_comma
|
4233
|
+
SupportedStylesForMultiline:
|
4234
|
+
- comma
|
4235
|
+
- consistent_comma
|
4236
|
+
- no_comma
|
4237
|
+
VersionAdded: '0.53'
|
4238
|
+
|
4239
|
+
Style/TrailingMethodEndStatement:
|
4240
|
+
Description: 'Checks for trailing end statement on line of method body.'
|
4241
|
+
Enabled: true
|
4242
|
+
VersionAdded: '0.52'
|
4243
|
+
|
4244
|
+
Style/TrailingUnderscoreVariable:
|
4245
|
+
Description: >-
|
4246
|
+
Checks for the usage of unneeded trailing underscores at the
|
4247
|
+
end of parallel variable assignment.
|
4248
|
+
AllowNamedUnderscoreVariables: true
|
4249
|
+
Enabled: true
|
4250
|
+
VersionAdded: '0.31'
|
4251
|
+
VersionChanged: '0.35'
|
4252
|
+
|
4253
|
+
# `TrivialAccessors` requires exact name matches and doesn't allow
|
4254
|
+
# predicated methods by default.
|
4255
|
+
Style/TrivialAccessors:
|
4256
|
+
Description: 'Prefer attr_* methods to trivial readers/writers.'
|
4257
|
+
StyleGuide: '#attr_family'
|
4258
|
+
Enabled: true
|
4259
|
+
VersionAdded: '0.9'
|
4260
|
+
VersionChanged: '0.38'
|
4261
|
+
# When set to `false` the cop will suggest the use of accessor methods
|
4262
|
+
# in situations like:
|
4263
|
+
#
|
4264
|
+
# def name
|
4265
|
+
# @other_name
|
4266
|
+
# end
|
4267
|
+
#
|
4268
|
+
# This way you can uncover "hidden" attributes in your code.
|
4269
|
+
ExactNameMatch: true
|
4270
|
+
AllowPredicates: true
|
4271
|
+
# Allows trivial writers that don't end in an equal sign. e.g.
|
4272
|
+
#
|
4273
|
+
# def on_exception(action)
|
4274
|
+
# @on_exception=action
|
4275
|
+
# end
|
4276
|
+
# on_exception :restart
|
4277
|
+
#
|
4278
|
+
# Commonly used in DSLs
|
4279
|
+
AllowDSLWriters: false
|
4280
|
+
IgnoreClassMethods: false
|
4281
|
+
Whitelist:
|
4282
|
+
- to_ary
|
4283
|
+
- to_a
|
4284
|
+
- to_c
|
4285
|
+
- to_enum
|
4286
|
+
- to_h
|
4287
|
+
- to_hash
|
4288
|
+
- to_i
|
4289
|
+
- to_int
|
4290
|
+
- to_io
|
4291
|
+
- to_open
|
4292
|
+
- to_path
|
4293
|
+
- to_proc
|
4294
|
+
- to_r
|
4295
|
+
- to_regexp
|
4296
|
+
- to_str
|
4297
|
+
- to_s
|
4298
|
+
- to_sym
|
4299
|
+
|
4300
|
+
Style/UnlessElse:
|
4301
|
+
Description: >-
|
4302
|
+
Do not use unless with else. Rewrite these with the positive
|
4303
|
+
case first.
|
4304
|
+
StyleGuide: '#no-else-with-unless'
|
4305
|
+
Enabled: true
|
4306
|
+
VersionAdded: '0.9'
|
4307
|
+
|
4308
|
+
Style/UnneededCapitalW:
|
4309
|
+
Description: 'Checks for %W when interpolation is not needed.'
|
4310
|
+
Enabled: true
|
4311
|
+
VersionAdded: '0.21'
|
4312
|
+
VersionChanged: '0.24'
|
4313
|
+
|
4314
|
+
Style/UnneededCondition:
|
4315
|
+
Description: 'Checks for unnecessary conditional expressions.'
|
4316
|
+
Enabled: true
|
4317
|
+
VersionAdded: '0.57'
|
4318
|
+
|
4319
|
+
Style/UnneededInterpolation:
|
4320
|
+
Description: 'Checks for strings that are just an interpolated expression.'
|
4321
|
+
Enabled: true
|
4322
|
+
VersionAdded: '0.36'
|
4323
|
+
|
4324
|
+
Style/UnneededPercentQ:
|
4325
|
+
Description: 'Checks for %q/%Q when single quotes or double quotes would do.'
|
4326
|
+
StyleGuide: '#percent-q'
|
4327
|
+
Enabled: true
|
4328
|
+
VersionAdded: '0.24'
|
4329
|
+
|
4330
|
+
Style/UnpackFirst:
|
4331
|
+
Description: >-
|
4332
|
+
Checks for accessing the first element of `String#unpack`
|
4333
|
+
instead of using `unpack1`
|
4334
|
+
Enabled: true
|
4335
|
+
VersionAdded: '0.54'
|
4336
|
+
|
4337
|
+
Style/VariableInterpolation:
|
4338
|
+
Description: >-
|
4339
|
+
Don't interpolate global, instance and class variables
|
4340
|
+
directly in strings.
|
4341
|
+
StyleGuide: '#curlies-interpolate'
|
4342
|
+
Enabled: true
|
4343
|
+
VersionAdded: '0.9'
|
4344
|
+
VersionChanged: '0.20'
|
4345
|
+
|
4346
|
+
Style/WhenThen:
|
4347
|
+
Description: 'Use when x then ... for one-line cases.'
|
4348
|
+
StyleGuide: '#one-line-cases'
|
4349
|
+
Enabled: true
|
4350
|
+
VersionAdded: '0.9'
|
4351
|
+
|
4352
|
+
Style/WhileUntilDo:
|
4353
|
+
Description: 'Checks for redundant do after while or until.'
|
4354
|
+
StyleGuide: '#no-multiline-while-do'
|
4355
|
+
Enabled: true
|
4356
|
+
VersionAdded: '0.9'
|
4357
|
+
|
4358
|
+
Style/WhileUntilModifier:
|
4359
|
+
Description: >-
|
4360
|
+
Favor modifier while/until usage when you have a
|
4361
|
+
single-line body.
|
4362
|
+
StyleGuide: '#while-as-a-modifier'
|
4363
|
+
Enabled: true
|
4364
|
+
VersionAdded: '0.9'
|
4365
|
+
VersionChanged: '0.30'
|
4366
|
+
|
4367
|
+
Style/WordArray:
|
4368
|
+
Description: 'Use %w or %W for arrays of words.'
|
4369
|
+
StyleGuide: '#percent-w'
|
4370
|
+
Enabled: true
|
4371
|
+
VersionAdded: '0.9'
|
4372
|
+
VersionChanged: '0.36'
|
4373
|
+
EnforcedStyle: percent
|
4374
|
+
SupportedStyles:
|
4375
|
+
# percent style: %w(word1 word2)
|
4376
|
+
- percent
|
4377
|
+
# bracket style: ['word1', 'word2']
|
4378
|
+
- brackets
|
4379
|
+
# The `MinSize` option causes the `WordArray` rule to be ignored for arrays
|
4380
|
+
# smaller than a certain size. The rule is only applied to arrays
|
4381
|
+
# whose element count is greater than or equal to `MinSize`.
|
4382
|
+
MinSize: 2
|
4383
|
+
# The regular expression `WordRegex` decides what is considered a word.
|
4384
|
+
WordRegex: !ruby/regexp '/\A[\p{Word}\n\t]+\z/'
|
4385
|
+
|
4386
|
+
Style/YodaCondition:
|
4387
|
+
Description: 'Forbid or enforce yoda conditions.'
|
4388
|
+
Reference: 'https://en.wikipedia.org/wiki/Yoda_conditions'
|
4389
|
+
Enabled: true
|
4390
|
+
EnforcedStyle: forbid_for_all_comparison_operators
|
4391
|
+
SupportedStyles:
|
4392
|
+
# check all comparison operators
|
4393
|
+
- forbid_for_all_comparison_operators
|
4394
|
+
# check only equality operators: `!=` and `==`
|
4395
|
+
- forbid_for_equality_operators_only
|
4396
|
+
# enforce yoda for all comparison operators
|
4397
|
+
- require_for_all_comparison_operators
|
4398
|
+
# enforce yoda only for equality operators: `!=` and `==`
|
4399
|
+
- require_for_equality_operators_only
|
4400
|
+
VersionAdded: '0.49'
|
4401
|
+
VersionChanged: '0.63'
|
4402
|
+
|
4403
|
+
Style/ZeroLengthPredicate:
|
4404
|
+
Description: 'Use #empty? when testing for objects of length 0.'
|
4405
|
+
Enabled: true
|
4406
|
+
Safe: false
|
4407
|
+
VersionAdded: '0.37'
|
4408
|
+
VersionChanged: '0.39'
|