primary_connect_proto 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/connect_proto/build/order_pb.rb +6 -1
- data/lib/connect_proto/src/order.proto +6 -1
- data/lib/connect_proto/version.rb +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/google-protobuf-4.0.0.rc.2-universal-darwin.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/parallel-1.21.0.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.2.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.3.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/unicode-display_width-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/byebug-11.1.3/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/byebug-11.1.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/byebug-11.1.3/gem_make.out +20 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/jaro_winkler-1.5.4/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/jaro_winkler-1.5.4/gem_make.out +19 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/psych-4.0.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/psych-4.0.2/gem_make.out +42 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/psych-4.0.2/mkmf.log +195 -0
- data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-20/2.6.0/psych-4.0.2/psych.bundle +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/node.rb +268 -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/processor.rb +12 -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/ast-2.4.2/lib/ast.rb +17 -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.bundle +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/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/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.bundle +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/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/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/disable.rb +33 -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/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/enable.rb +33 -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/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/info.rb +37 -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/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/thread.rb +34 -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/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/var.rb +37 -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/commands.rb +40 -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/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/remote.rb +85 -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/byebug-11.1.3/lib/byebug.rb +3 -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/duo.rb +81 -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/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/html.rb +333 -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/encoders.rb +18 -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/_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/builtin_types.rb +421 -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_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/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/ruby.rb +477 -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/scanners.rb +27 -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/styles.rb +15 -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/coderay-1.1.3/lib/coderay.rb +284 -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/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/lib/diff/lcs.rb +739 -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/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/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.bundle +0 -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.bundle +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/jaro_winkler-1.5.4/lib/jaro_winkler.rb +15 -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/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/lib/method_source.rb +141 -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/parallel-1.21.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.21.0/lib/parallel/processor_count.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.21.0/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.21.0/lib/parallel.rb +532 -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/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/engine.rb +104 -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/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/lexer.rb +23840 -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/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/runner.rb +282 -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/associator.rb +233 -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/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/map.rb +186 -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/action.rb +44 -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/tree_rewriter/action.rb +242 -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/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/lib/parser.rb +85 -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/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/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.rb +365 -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/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/cat.rb +70 -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/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/edit.rb +223 -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/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/ls.rb +135 -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/expression.rb +43 -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/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/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/config.rb +321 -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/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/helpers.rb +8 -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/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/method.rb +599 -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/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/slop.rb +672 -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/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/testable.rb +68 -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/candidate.rb +138 -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.rb +146 -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/breakpoints.rb +167 -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/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/commands.rb +12 -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.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/.gitignore +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/Gemfile +9 -0
- data/vendor/bundle/ruby/{3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/third_party/utf8_range → 2.6.0/gems/psych-4.0.2}/LICENSE +1 -2
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/Mavenfile +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/README.md +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/Rakefile +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/bin/console +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/bin/setup +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/Makefile +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/depend +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/extconf.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych.c +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_emitter.c +555 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_parser.c +579 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_to_ruby.c +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_yaml_tree.c +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/LICENSE +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/api.c +1393 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/config.h +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/dumper.c +394 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/emitter.c +2358 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/loader.c +544 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/parser.c +1375 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/reader.c +469 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/scanner.c +3598 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/writer.c +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/yaml.h +1985 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/ext/psych/yaml/yaml_private.h +688 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/class_loader.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/core_ext.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/exception.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/node.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/parser.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/scalar_scanner.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/visitors/to_ruby.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/visitors/visitor.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/visitors/yaml_tree.rb +587 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych.rb +741 -0
- data/vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/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/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/lib/rainbow.rb +11 -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/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/lib/rake.rb +71 -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/version.rb +5 -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-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/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/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/formatters.rb +273 -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/.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/project_initializer.rb +48 -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-core-3.10.1/lib/rspec/core.rb +186 -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/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/expectations.rb +82 -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/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/built_in.rb +53 -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-expectations-3.10.1/lib/rspec/matchers.rb +1041 -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/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/any_instance.rb +11 -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-mocks-3.10.2/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/Changelog.md +342 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/README.md +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/reentrant_mutex.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/ruby_features.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/source/token.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/source.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/diff_helpers.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/in_sub_process.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/shell_out.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/string_matcher.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/spec.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.3/lib/rspec/support.rb +154 -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/ast/builder.rb +75 -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/node.rb +642 -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/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/generator.rb +217 -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/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/internal_affairs.rb +8 -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/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/cop/variable_force.rb +464 -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/rubocop-0.66.0/lib/rubocop.rb +654 -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/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/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/components.rb +5 -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/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/format.rb +3 -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/enumerator.rb +23 -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/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/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +22 -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/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/gems/unicode-display_width-1.5.0/lib/unicode/display_width.rb +51 -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/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/parallel-1.21.0.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.2.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.3.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/unicode-display_width-1.5.0.gemspec +39 -0
- data/vendor/bundle/ruby/3.0.0/bin/htmldiff +1 -1
- data/vendor/bundle/ruby/3.0.0/bin/ldiff +1 -1
- data/vendor/bundle/ruby/3.0.0/cache/google-protobuf-4.0.0.rc.1.gem +0 -0
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/byebug-11.1.3/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/byebug-11.1.3/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/google-protobuf-4.0.0.rc.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/google-protobuf-4.0.0.rc.1/gem_make.out +714 -0
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/google-protobuf-4.0.0.rc.1/google/protobuf_c.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/jaro_winkler-1.5.4/gem_make.out +14 -14
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/psych-4.0.2/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/psych-4.0.2/mkmf.log +15 -15
- data/vendor/bundle/ruby/3.0.0/extensions/arm64-darwin-20/3.0.0/psych-4.0.2/psych.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/byebug-11.1.3/ext/byebug/Makefile +8 -8
- data/vendor/bundle/ruby/3.0.0/gems/byebug-11.1.3/ext/byebug/breakpoint.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/byebug-11.1.3/ext/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/byebug-11.1.3/ext/byebug/byebug.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/byebug-11.1.3/ext/byebug/context.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/byebug-11.1.3/ext/byebug/locker.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/byebug-11.1.3/ext/byebug/threads.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/byebug-11.1.3/lib/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/.sitearchdir.-.google.time +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/Makefile +267 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/defs.c +2366 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/defs.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/encode_decode.c +1795 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/encode_decode.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/extconf.rb +21 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/map.c +836 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/map.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/message.c +859 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/message.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/protobuf.c +136 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/protobuf.h +667 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/protobuf.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/protobuf_c.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/repeated_field.c +686 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/repeated_field.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/storage.c +1198 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/storage.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/upb.c +13817 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/upb.h +6777 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/upb.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/ext/google/protobuf_c/wrap_memcpy.c +3 -4
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/ext/google/protobuf_c/wrap_memcpy.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/any_pb.rb +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/api_pb.rb +0 -1
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/duration_pb.rb +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/empty_pb.rb +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/field_mask_pb.rb +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/message_exts.rb +2 -7
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/repeated_field.rb +2 -15
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/source_context_pb.rb +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/struct_pb.rb +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/timestamp_pb.rb +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/type_pb.rb +0 -1
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/well_known_types.rb +2 -12
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf/wrappers_pb.rb +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/{google-protobuf-3.22.0-arm64-darwin → google-protobuf-4.0.0.rc.1}/lib/google/protobuf.rb +73 -5
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/lib/google/protobuf_c.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/tests/basic.rb +543 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/tests/generated_code_test.rb +23 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-4.0.0.rc.1/tests/stress.rb +38 -0
- data/vendor/bundle/ruby/3.0.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +8 -8
- data/vendor/bundle/ruby/3.0.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_ext.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/Makefile +8 -8
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/psych.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/psych-4.0.2/lib/psych.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/specifications/{google-protobuf-3.22.0-arm64-darwin.gemspec → google-protobuf-4.0.0.rc.1.gemspec} +13 -9
- metadata +1748 -47
- data/vendor/bundle/ruby/3.0.0/cache/google-protobuf-3.22.0-arm64-darwin.gem +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/convert.c +0 -361
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/convert.h +0 -75
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/defs.c +0 -1280
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/defs.h +0 -107
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/extconf.rb +0 -27
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/map.c +0 -687
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/map.h +0 -66
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/message.c +0 -1426
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/message.h +0 -104
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/protobuf.c +0 -480
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/protobuf.h +0 -120
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/repeated_field.c +0 -657
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/repeated_field.h +0 -63
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/ruby-upb.c +0 -13926
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/ruby-upb.h +0 -10673
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/third_party/utf8_range/naive.c +0 -92
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/third_party/utf8_range/range2-neon.c +0 -157
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/third_party/utf8_range/range2-sse.c +0 -170
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/ext/google/protobuf_c/third_party/utf8_range/utf8_range.h +0 -21
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/lib/google/2.6/protobuf_c.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/lib/google/2.7/protobuf_c.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/lib/google/3.0/protobuf_c.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/lib/google/3.1/protobuf_c.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/lib/google/3.2/protobuf_c.bundle +0 -0
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/lib/google/protobuf/descriptor_dsl.rb +0 -465
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/lib/google/protobuf/descriptor_pb.rb +0 -298
- data/vendor/bundle/ruby/3.0.0/gems/google-protobuf-3.22.0-arm64-darwin/lib/google/protobuf/plugin_pb.rb +0 -50
@@ -1,1426 +0,0 @@
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
2
|
-
// Copyright 2014 Google Inc. All rights reserved.
|
3
|
-
// https://developers.google.com/protocol-buffers/
|
4
|
-
//
|
5
|
-
// Redistribution and use in source and binary forms, with or without
|
6
|
-
// modification, are permitted provided that the following conditions are
|
7
|
-
// met:
|
8
|
-
//
|
9
|
-
// * Redistributions of source code must retain the above copyright
|
10
|
-
// notice, this list of conditions and the following disclaimer.
|
11
|
-
// * Redistributions in binary form must reproduce the above
|
12
|
-
// copyright notice, this list of conditions and the following disclaimer
|
13
|
-
// in the documentation and/or other materials provided with the
|
14
|
-
// distribution.
|
15
|
-
// * Neither the name of Google Inc. nor the names of its
|
16
|
-
// contributors may be used to endorse or promote products derived from
|
17
|
-
// this software without specific prior written permission.
|
18
|
-
//
|
19
|
-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
20
|
-
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
21
|
-
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
22
|
-
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
23
|
-
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
24
|
-
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
25
|
-
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
26
|
-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
27
|
-
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
28
|
-
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
29
|
-
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30
|
-
|
31
|
-
#include "message.h"
|
32
|
-
|
33
|
-
#include "convert.h"
|
34
|
-
#include "defs.h"
|
35
|
-
#include "map.h"
|
36
|
-
#include "protobuf.h"
|
37
|
-
#include "repeated_field.h"
|
38
|
-
|
39
|
-
static VALUE cParseError = Qnil;
|
40
|
-
static VALUE cAbstractMessage = Qnil;
|
41
|
-
static ID descriptor_instancevar_interned;
|
42
|
-
|
43
|
-
static VALUE initialize_rb_class_with_no_args(VALUE klass) {
|
44
|
-
return rb_funcall(klass, rb_intern("new"), 0);
|
45
|
-
}
|
46
|
-
|
47
|
-
VALUE MessageOrEnum_GetDescriptor(VALUE klass) {
|
48
|
-
return rb_ivar_get(klass, descriptor_instancevar_interned);
|
49
|
-
}
|
50
|
-
|
51
|
-
// -----------------------------------------------------------------------------
|
52
|
-
// Class/module creation from msgdefs and enumdefs, respectively.
|
53
|
-
// -----------------------------------------------------------------------------
|
54
|
-
|
55
|
-
typedef struct {
|
56
|
-
VALUE arena;
|
57
|
-
const upb_Message* msg; // Can get as mutable when non-frozen.
|
58
|
-
const upb_MessageDef*
|
59
|
-
msgdef; // kept alive by self.class.descriptor reference.
|
60
|
-
} Message;
|
61
|
-
|
62
|
-
static void Message_mark(void* _self) {
|
63
|
-
Message* self = (Message*)_self;
|
64
|
-
rb_gc_mark(self->arena);
|
65
|
-
}
|
66
|
-
|
67
|
-
static rb_data_type_t Message_type = {
|
68
|
-
"Message",
|
69
|
-
{Message_mark, RUBY_DEFAULT_FREE, NULL},
|
70
|
-
.flags = RUBY_TYPED_FREE_IMMEDIATELY,
|
71
|
-
};
|
72
|
-
|
73
|
-
static Message* ruby_to_Message(VALUE msg_rb) {
|
74
|
-
Message* msg;
|
75
|
-
TypedData_Get_Struct(msg_rb, Message, &Message_type, msg);
|
76
|
-
return msg;
|
77
|
-
}
|
78
|
-
|
79
|
-
static VALUE Message_alloc(VALUE klass) {
|
80
|
-
VALUE descriptor = rb_ivar_get(klass, descriptor_instancevar_interned);
|
81
|
-
Message* msg = ALLOC(Message);
|
82
|
-
VALUE ret;
|
83
|
-
|
84
|
-
msg->msgdef = Descriptor_GetMsgDef(descriptor);
|
85
|
-
msg->arena = Qnil;
|
86
|
-
msg->msg = NULL;
|
87
|
-
|
88
|
-
ret = TypedData_Wrap_Struct(klass, &Message_type, msg);
|
89
|
-
rb_ivar_set(ret, descriptor_instancevar_interned, descriptor);
|
90
|
-
|
91
|
-
return ret;
|
92
|
-
}
|
93
|
-
|
94
|
-
const upb_Message* Message_Get(VALUE msg_rb, const upb_MessageDef** m) {
|
95
|
-
Message* msg = ruby_to_Message(msg_rb);
|
96
|
-
if (m) *m = msg->msgdef;
|
97
|
-
return msg->msg;
|
98
|
-
}
|
99
|
-
|
100
|
-
upb_Message* Message_GetMutable(VALUE msg_rb, const upb_MessageDef** m) {
|
101
|
-
rb_check_frozen(msg_rb);
|
102
|
-
return (upb_Message*)Message_Get(msg_rb, m);
|
103
|
-
}
|
104
|
-
|
105
|
-
void Message_InitPtr(VALUE self_, upb_Message* msg, VALUE arena) {
|
106
|
-
Message* self = ruby_to_Message(self_);
|
107
|
-
self->msg = msg;
|
108
|
-
self->arena = arena;
|
109
|
-
ObjectCache_Add(msg, self_);
|
110
|
-
}
|
111
|
-
|
112
|
-
VALUE Message_GetArena(VALUE msg_rb) {
|
113
|
-
Message* msg = ruby_to_Message(msg_rb);
|
114
|
-
return msg->arena;
|
115
|
-
}
|
116
|
-
|
117
|
-
void Message_CheckClass(VALUE klass) {
|
118
|
-
if (rb_get_alloc_func(klass) != &Message_alloc) {
|
119
|
-
rb_raise(rb_eArgError,
|
120
|
-
"Message class was not returned by the DescriptorPool.");
|
121
|
-
}
|
122
|
-
}
|
123
|
-
|
124
|
-
VALUE Message_GetRubyWrapper(upb_Message* msg, const upb_MessageDef* m,
|
125
|
-
VALUE arena) {
|
126
|
-
if (msg == NULL) return Qnil;
|
127
|
-
|
128
|
-
VALUE val = ObjectCache_Get(msg);
|
129
|
-
|
130
|
-
if (val == Qnil) {
|
131
|
-
VALUE klass = Descriptor_DefToClass(m);
|
132
|
-
val = Message_alloc(klass);
|
133
|
-
Message_InitPtr(val, msg, arena);
|
134
|
-
}
|
135
|
-
|
136
|
-
return val;
|
137
|
-
}
|
138
|
-
|
139
|
-
void Message_PrintMessage(StringBuilder* b, const upb_Message* msg,
|
140
|
-
const upb_MessageDef* m) {
|
141
|
-
bool first = true;
|
142
|
-
int n = upb_MessageDef_FieldCount(m);
|
143
|
-
VALUE klass = Descriptor_DefToClass(m);
|
144
|
-
StringBuilder_Printf(b, "<%s: ", rb_class2name(klass));
|
145
|
-
|
146
|
-
for (int i = 0; i < n; i++) {
|
147
|
-
const upb_FieldDef* field = upb_MessageDef_Field(m, i);
|
148
|
-
|
149
|
-
if (upb_FieldDef_HasPresence(field) &&
|
150
|
-
!upb_Message_HasFieldByDef(msg, field)) {
|
151
|
-
continue;
|
152
|
-
}
|
153
|
-
|
154
|
-
if (!first) {
|
155
|
-
StringBuilder_Printf(b, ", ");
|
156
|
-
} else {
|
157
|
-
first = false;
|
158
|
-
}
|
159
|
-
|
160
|
-
upb_MessageValue msgval = upb_Message_GetFieldByDef(msg, field);
|
161
|
-
|
162
|
-
StringBuilder_Printf(b, "%s: ", upb_FieldDef_Name(field));
|
163
|
-
|
164
|
-
if (upb_FieldDef_IsMap(field)) {
|
165
|
-
const upb_MessageDef* entry_m = upb_FieldDef_MessageSubDef(field);
|
166
|
-
const upb_FieldDef* key_f = upb_MessageDef_FindFieldByNumber(entry_m, 1);
|
167
|
-
const upb_FieldDef* val_f = upb_MessageDef_FindFieldByNumber(entry_m, 2);
|
168
|
-
TypeInfo val_info = TypeInfo_get(val_f);
|
169
|
-
Map_Inspect(b, msgval.map_val, upb_FieldDef_CType(key_f), val_info);
|
170
|
-
} else if (upb_FieldDef_IsRepeated(field)) {
|
171
|
-
RepeatedField_Inspect(b, msgval.array_val, TypeInfo_get(field));
|
172
|
-
} else {
|
173
|
-
StringBuilder_PrintMsgval(b, msgval, TypeInfo_get(field));
|
174
|
-
}
|
175
|
-
}
|
176
|
-
|
177
|
-
StringBuilder_Printf(b, ">");
|
178
|
-
}
|
179
|
-
|
180
|
-
// Helper functions for #method_missing ////////////////////////////////////////
|
181
|
-
|
182
|
-
enum {
|
183
|
-
METHOD_UNKNOWN = 0,
|
184
|
-
METHOD_GETTER = 1,
|
185
|
-
METHOD_SETTER = 2,
|
186
|
-
METHOD_CLEAR = 3,
|
187
|
-
METHOD_PRESENCE = 4,
|
188
|
-
METHOD_ENUM_GETTER = 5,
|
189
|
-
METHOD_WRAPPER_GETTER = 6,
|
190
|
-
METHOD_WRAPPER_SETTER = 7
|
191
|
-
};
|
192
|
-
|
193
|
-
// Check if the field is a well known wrapper type
|
194
|
-
static bool IsWrapper(const upb_MessageDef* m) {
|
195
|
-
if (!m) return false;
|
196
|
-
switch (upb_MessageDef_WellKnownType(m)) {
|
197
|
-
case kUpb_WellKnown_DoubleValue:
|
198
|
-
case kUpb_WellKnown_FloatValue:
|
199
|
-
case kUpb_WellKnown_Int64Value:
|
200
|
-
case kUpb_WellKnown_UInt64Value:
|
201
|
-
case kUpb_WellKnown_Int32Value:
|
202
|
-
case kUpb_WellKnown_UInt32Value:
|
203
|
-
case kUpb_WellKnown_StringValue:
|
204
|
-
case kUpb_WellKnown_BytesValue:
|
205
|
-
case kUpb_WellKnown_BoolValue:
|
206
|
-
return true;
|
207
|
-
default:
|
208
|
-
return false;
|
209
|
-
}
|
210
|
-
}
|
211
|
-
|
212
|
-
static bool IsFieldWrapper(const upb_FieldDef* f) {
|
213
|
-
return IsWrapper(upb_FieldDef_MessageSubDef(f));
|
214
|
-
}
|
215
|
-
|
216
|
-
static bool Match(const upb_MessageDef* m, const char* name,
|
217
|
-
const upb_FieldDef** f, const upb_OneofDef** o,
|
218
|
-
const char* prefix, const char* suffix) {
|
219
|
-
size_t sp = strlen(prefix);
|
220
|
-
size_t ss = strlen(suffix);
|
221
|
-
size_t sn = strlen(name);
|
222
|
-
|
223
|
-
if (sn <= sp + ss) return false;
|
224
|
-
|
225
|
-
if (memcmp(name, prefix, sp) != 0 ||
|
226
|
-
memcmp(name + sn - ss, suffix, ss) != 0) {
|
227
|
-
return false;
|
228
|
-
}
|
229
|
-
|
230
|
-
return upb_MessageDef_FindByNameWithSize(m, name + sp, sn - sp - ss, f, o);
|
231
|
-
}
|
232
|
-
|
233
|
-
static int extract_method_call(VALUE method_name, Message* self,
|
234
|
-
const upb_FieldDef** f, const upb_OneofDef** o) {
|
235
|
-
const upb_MessageDef* m = self->msgdef;
|
236
|
-
const char* name;
|
237
|
-
|
238
|
-
Check_Type(method_name, T_SYMBOL);
|
239
|
-
name = rb_id2name(SYM2ID(method_name));
|
240
|
-
|
241
|
-
if (Match(m, name, f, o, "", "")) return METHOD_GETTER;
|
242
|
-
if (Match(m, name, f, o, "", "=")) return METHOD_SETTER;
|
243
|
-
if (Match(m, name, f, o, "clear_", "")) return METHOD_CLEAR;
|
244
|
-
if (Match(m, name, f, o, "has_", "?") &&
|
245
|
-
(*o || (*f && upb_FieldDef_HasPresence(*f)))) {
|
246
|
-
return METHOD_PRESENCE;
|
247
|
-
}
|
248
|
-
if (Match(m, name, f, o, "", "_as_value") && *f &&
|
249
|
-
!upb_FieldDef_IsRepeated(*f) && IsFieldWrapper(*f)) {
|
250
|
-
return METHOD_WRAPPER_GETTER;
|
251
|
-
}
|
252
|
-
if (Match(m, name, f, o, "", "_as_value=") && *f &&
|
253
|
-
!upb_FieldDef_IsRepeated(*f) && IsFieldWrapper(*f)) {
|
254
|
-
return METHOD_WRAPPER_SETTER;
|
255
|
-
}
|
256
|
-
if (Match(m, name, f, o, "", "_const") && *f &&
|
257
|
-
upb_FieldDef_CType(*f) == kUpb_CType_Enum) {
|
258
|
-
return METHOD_ENUM_GETTER;
|
259
|
-
}
|
260
|
-
|
261
|
-
return METHOD_UNKNOWN;
|
262
|
-
}
|
263
|
-
|
264
|
-
static VALUE Message_oneof_accessor(VALUE _self, const upb_OneofDef* o,
|
265
|
-
int accessor_type) {
|
266
|
-
Message* self = ruby_to_Message(_self);
|
267
|
-
const upb_FieldDef* oneof_field = upb_Message_WhichOneof(self->msg, o);
|
268
|
-
|
269
|
-
switch (accessor_type) {
|
270
|
-
case METHOD_PRESENCE:
|
271
|
-
return oneof_field == NULL ? Qfalse : Qtrue;
|
272
|
-
case METHOD_CLEAR:
|
273
|
-
if (oneof_field != NULL) {
|
274
|
-
upb_Message_ClearFieldByDef(Message_GetMutable(_self, NULL),
|
275
|
-
oneof_field);
|
276
|
-
}
|
277
|
-
return Qnil;
|
278
|
-
case METHOD_GETTER:
|
279
|
-
return oneof_field == NULL
|
280
|
-
? Qnil
|
281
|
-
: ID2SYM(rb_intern(upb_FieldDef_Name(oneof_field)));
|
282
|
-
case METHOD_SETTER:
|
283
|
-
rb_raise(rb_eRuntimeError, "Oneof accessors are read-only.");
|
284
|
-
}
|
285
|
-
rb_raise(rb_eRuntimeError, "Invalid access of oneof field.");
|
286
|
-
}
|
287
|
-
|
288
|
-
static void Message_setfield(upb_Message* msg, const upb_FieldDef* f, VALUE val,
|
289
|
-
upb_Arena* arena) {
|
290
|
-
upb_MessageValue msgval;
|
291
|
-
if (upb_FieldDef_IsMap(f)) {
|
292
|
-
msgval.map_val = Map_GetUpbMap(val, f, arena);
|
293
|
-
} else if (upb_FieldDef_IsRepeated(f)) {
|
294
|
-
msgval.array_val = RepeatedField_GetUpbArray(val, f, arena);
|
295
|
-
} else {
|
296
|
-
if (val == Qnil &&
|
297
|
-
(upb_FieldDef_IsSubMessage(f) || upb_FieldDef_RealContainingOneof(f))) {
|
298
|
-
upb_Message_ClearFieldByDef(msg, f);
|
299
|
-
return;
|
300
|
-
}
|
301
|
-
msgval =
|
302
|
-
Convert_RubyToUpb(val, upb_FieldDef_Name(f), TypeInfo_get(f), arena);
|
303
|
-
}
|
304
|
-
upb_Message_SetFieldByDef(msg, f, msgval, arena);
|
305
|
-
}
|
306
|
-
|
307
|
-
VALUE Message_getfield(VALUE _self, const upb_FieldDef* f) {
|
308
|
-
Message* self = ruby_to_Message(_self);
|
309
|
-
// This is a special-case: upb_Message_Mutable() for map & array are logically
|
310
|
-
// const (they will not change what is serialized) but physically
|
311
|
-
// non-const, as they do allocate a repeated field or map. The logical
|
312
|
-
// constness means it's ok to do even if the message is frozen.
|
313
|
-
upb_Message* msg = (upb_Message*)self->msg;
|
314
|
-
upb_Arena* arena = Arena_get(self->arena);
|
315
|
-
if (upb_FieldDef_IsMap(f)) {
|
316
|
-
upb_Map* map = upb_Message_Mutable(msg, f, arena).map;
|
317
|
-
const upb_FieldDef* key_f = map_field_key(f);
|
318
|
-
const upb_FieldDef* val_f = map_field_value(f);
|
319
|
-
upb_CType key_type = upb_FieldDef_CType(key_f);
|
320
|
-
TypeInfo value_type_info = TypeInfo_get(val_f);
|
321
|
-
return Map_GetRubyWrapper(map, key_type, value_type_info, self->arena);
|
322
|
-
} else if (upb_FieldDef_IsRepeated(f)) {
|
323
|
-
upb_Array* arr = upb_Message_Mutable(msg, f, arena).array;
|
324
|
-
return RepeatedField_GetRubyWrapper(arr, TypeInfo_get(f), self->arena);
|
325
|
-
} else if (upb_FieldDef_IsSubMessage(f)) {
|
326
|
-
if (!upb_Message_HasFieldByDef(self->msg, f)) return Qnil;
|
327
|
-
upb_Message* submsg = upb_Message_Mutable(msg, f, arena).msg;
|
328
|
-
const upb_MessageDef* m = upb_FieldDef_MessageSubDef(f);
|
329
|
-
return Message_GetRubyWrapper(submsg, m, self->arena);
|
330
|
-
} else {
|
331
|
-
upb_MessageValue msgval = upb_Message_GetFieldByDef(self->msg, f);
|
332
|
-
return Convert_UpbToRuby(msgval, TypeInfo_get(f), self->arena);
|
333
|
-
}
|
334
|
-
}
|
335
|
-
|
336
|
-
static VALUE Message_field_accessor(VALUE _self, const upb_FieldDef* f,
|
337
|
-
int accessor_type, int argc, VALUE* argv) {
|
338
|
-
upb_Arena* arena = Arena_get(Message_GetArena(_self));
|
339
|
-
|
340
|
-
switch (accessor_type) {
|
341
|
-
case METHOD_SETTER:
|
342
|
-
Message_setfield(Message_GetMutable(_self, NULL), f, argv[1], arena);
|
343
|
-
return Qnil;
|
344
|
-
case METHOD_CLEAR:
|
345
|
-
upb_Message_ClearFieldByDef(Message_GetMutable(_self, NULL), f);
|
346
|
-
return Qnil;
|
347
|
-
case METHOD_PRESENCE:
|
348
|
-
if (!upb_FieldDef_HasPresence(f)) {
|
349
|
-
rb_raise(rb_eRuntimeError, "Field does not have presence.");
|
350
|
-
}
|
351
|
-
return upb_Message_HasFieldByDef(Message_Get(_self, NULL), f);
|
352
|
-
case METHOD_WRAPPER_GETTER: {
|
353
|
-
Message* self = ruby_to_Message(_self);
|
354
|
-
if (upb_Message_HasFieldByDef(self->msg, f)) {
|
355
|
-
PBRUBY_ASSERT(upb_FieldDef_IsSubMessage(f) &&
|
356
|
-
!upb_FieldDef_IsRepeated(f));
|
357
|
-
upb_MessageValue wrapper = upb_Message_GetFieldByDef(self->msg, f);
|
358
|
-
const upb_MessageDef* wrapper_m = upb_FieldDef_MessageSubDef(f);
|
359
|
-
const upb_FieldDef* value_f =
|
360
|
-
upb_MessageDef_FindFieldByNumber(wrapper_m, 1);
|
361
|
-
upb_MessageValue value =
|
362
|
-
upb_Message_GetFieldByDef(wrapper.msg_val, value_f);
|
363
|
-
return Convert_UpbToRuby(value, TypeInfo_get(value_f), self->arena);
|
364
|
-
} else {
|
365
|
-
return Qnil;
|
366
|
-
}
|
367
|
-
}
|
368
|
-
case METHOD_WRAPPER_SETTER: {
|
369
|
-
upb_Message* msg = Message_GetMutable(_self, NULL);
|
370
|
-
if (argv[1] == Qnil) {
|
371
|
-
upb_Message_ClearFieldByDef(msg, f);
|
372
|
-
} else {
|
373
|
-
const upb_FieldDef* val_f =
|
374
|
-
upb_MessageDef_FindFieldByNumber(upb_FieldDef_MessageSubDef(f), 1);
|
375
|
-
upb_MessageValue msgval = Convert_RubyToUpb(
|
376
|
-
argv[1], upb_FieldDef_Name(f), TypeInfo_get(val_f), arena);
|
377
|
-
upb_Message* wrapper = upb_Message_Mutable(msg, f, arena).msg;
|
378
|
-
upb_Message_SetFieldByDef(wrapper, val_f, msgval, arena);
|
379
|
-
}
|
380
|
-
return Qnil;
|
381
|
-
}
|
382
|
-
case METHOD_ENUM_GETTER: {
|
383
|
-
upb_MessageValue msgval =
|
384
|
-
upb_Message_GetFieldByDef(Message_Get(_self, NULL), f);
|
385
|
-
|
386
|
-
if (upb_FieldDef_Label(f) == kUpb_Label_Repeated) {
|
387
|
-
// Map repeated fields to a new type with ints
|
388
|
-
VALUE arr = rb_ary_new();
|
389
|
-
size_t i, n = upb_Array_Size(msgval.array_val);
|
390
|
-
for (i = 0; i < n; i++) {
|
391
|
-
upb_MessageValue elem = upb_Array_Get(msgval.array_val, i);
|
392
|
-
rb_ary_push(arr, INT2NUM(elem.int32_val));
|
393
|
-
}
|
394
|
-
return arr;
|
395
|
-
} else {
|
396
|
-
return INT2NUM(msgval.int32_val);
|
397
|
-
}
|
398
|
-
}
|
399
|
-
case METHOD_GETTER:
|
400
|
-
return Message_getfield(_self, f);
|
401
|
-
default:
|
402
|
-
rb_raise(rb_eRuntimeError, "Internal error, no such accessor: %d",
|
403
|
-
accessor_type);
|
404
|
-
}
|
405
|
-
}
|
406
|
-
|
407
|
-
/*
|
408
|
-
* call-seq:
|
409
|
-
* Message.method_missing(*args)
|
410
|
-
*
|
411
|
-
* Provides accessors and setters and methods to clear and check for presence of
|
412
|
-
* message fields according to their field names.
|
413
|
-
*
|
414
|
-
* For any field whose name does not conflict with a built-in method, an
|
415
|
-
* accessor is provided with the same name as the field, and a setter is
|
416
|
-
* provided with the name of the field plus the '=' suffix. Thus, given a
|
417
|
-
* message instance 'msg' with field 'foo', the following code is valid:
|
418
|
-
*
|
419
|
-
* msg.foo = 42
|
420
|
-
* puts msg.foo
|
421
|
-
*
|
422
|
-
* This method also provides read-only accessors for oneofs. If a oneof exists
|
423
|
-
* with name 'my_oneof', then msg.my_oneof will return a Ruby symbol equal to
|
424
|
-
* the name of the field in that oneof that is currently set, or nil if none.
|
425
|
-
*
|
426
|
-
* It also provides methods of the form 'clear_fieldname' to clear the value
|
427
|
-
* of the field 'fieldname'. For basic data types, this will set the default
|
428
|
-
* value of the field.
|
429
|
-
*
|
430
|
-
* Additionally, it provides methods of the form 'has_fieldname?', which returns
|
431
|
-
* true if the field 'fieldname' is set in the message object, else false. For
|
432
|
-
* 'proto3' syntax, calling this for a basic type field will result in an error.
|
433
|
-
*/
|
434
|
-
static VALUE Message_method_missing(int argc, VALUE* argv, VALUE _self) {
|
435
|
-
Message* self = ruby_to_Message(_self);
|
436
|
-
const upb_OneofDef* o;
|
437
|
-
const upb_FieldDef* f;
|
438
|
-
int accessor_type;
|
439
|
-
|
440
|
-
if (argc < 1) {
|
441
|
-
rb_raise(rb_eArgError, "Expected method name as first argument.");
|
442
|
-
}
|
443
|
-
|
444
|
-
accessor_type = extract_method_call(argv[0], self, &f, &o);
|
445
|
-
|
446
|
-
if (accessor_type == METHOD_UNKNOWN) return rb_call_super(argc, argv);
|
447
|
-
|
448
|
-
// Validate argument count.
|
449
|
-
switch (accessor_type) {
|
450
|
-
case METHOD_SETTER:
|
451
|
-
case METHOD_WRAPPER_SETTER:
|
452
|
-
if (argc != 2) {
|
453
|
-
rb_raise(rb_eArgError, "Expected 2 arguments, received %d", argc);
|
454
|
-
}
|
455
|
-
rb_check_frozen(_self);
|
456
|
-
break;
|
457
|
-
default:
|
458
|
-
if (argc != 1) {
|
459
|
-
rb_raise(rb_eArgError, "Expected 1 argument, received %d", argc);
|
460
|
-
}
|
461
|
-
break;
|
462
|
-
}
|
463
|
-
|
464
|
-
// Dispatch accessor.
|
465
|
-
if (o != NULL) {
|
466
|
-
return Message_oneof_accessor(_self, o, accessor_type);
|
467
|
-
} else {
|
468
|
-
return Message_field_accessor(_self, f, accessor_type, argc, argv);
|
469
|
-
}
|
470
|
-
}
|
471
|
-
|
472
|
-
static VALUE Message_respond_to_missing(int argc, VALUE* argv, VALUE _self) {
|
473
|
-
Message* self = ruby_to_Message(_self);
|
474
|
-
const upb_OneofDef* o;
|
475
|
-
const upb_FieldDef* f;
|
476
|
-
int accessor_type;
|
477
|
-
|
478
|
-
if (argc < 1) {
|
479
|
-
rb_raise(rb_eArgError, "Expected method name as first argument.");
|
480
|
-
}
|
481
|
-
|
482
|
-
accessor_type = extract_method_call(argv[0], self, &f, &o);
|
483
|
-
|
484
|
-
if (accessor_type == METHOD_UNKNOWN) {
|
485
|
-
return rb_call_super(argc, argv);
|
486
|
-
} else if (o != NULL) {
|
487
|
-
return accessor_type == METHOD_SETTER ? Qfalse : Qtrue;
|
488
|
-
} else {
|
489
|
-
return Qtrue;
|
490
|
-
}
|
491
|
-
}
|
492
|
-
|
493
|
-
void Message_InitFromValue(upb_Message* msg, const upb_MessageDef* m, VALUE val,
|
494
|
-
upb_Arena* arena);
|
495
|
-
|
496
|
-
typedef struct {
|
497
|
-
upb_Map* map;
|
498
|
-
TypeInfo key_type;
|
499
|
-
TypeInfo val_type;
|
500
|
-
upb_Arena* arena;
|
501
|
-
} MapInit;
|
502
|
-
|
503
|
-
static int Map_initialize_kwarg(VALUE key, VALUE val, VALUE _self) {
|
504
|
-
MapInit* map_init = (MapInit*)_self;
|
505
|
-
upb_MessageValue k, v;
|
506
|
-
k = Convert_RubyToUpb(key, "", map_init->key_type, NULL);
|
507
|
-
|
508
|
-
if (map_init->val_type.type == kUpb_CType_Message && TYPE(val) == T_HASH) {
|
509
|
-
upb_MiniTable* t = upb_MessageDef_MiniTable(map_init->val_type.def.msgdef);
|
510
|
-
upb_Message* msg = upb_Message_New(t, map_init->arena);
|
511
|
-
Message_InitFromValue(msg, map_init->val_type.def.msgdef, val,
|
512
|
-
map_init->arena);
|
513
|
-
v.msg_val = msg;
|
514
|
-
} else {
|
515
|
-
v = Convert_RubyToUpb(val, "", map_init->val_type, map_init->arena);
|
516
|
-
}
|
517
|
-
upb_Map_Set(map_init->map, k, v, map_init->arena);
|
518
|
-
return ST_CONTINUE;
|
519
|
-
}
|
520
|
-
|
521
|
-
static void Map_InitFromValue(upb_Map* map, const upb_FieldDef* f, VALUE val,
|
522
|
-
upb_Arena* arena) {
|
523
|
-
const upb_MessageDef* entry_m = upb_FieldDef_MessageSubDef(f);
|
524
|
-
const upb_FieldDef* key_f = upb_MessageDef_FindFieldByNumber(entry_m, 1);
|
525
|
-
const upb_FieldDef* val_f = upb_MessageDef_FindFieldByNumber(entry_m, 2);
|
526
|
-
if (TYPE(val) != T_HASH) {
|
527
|
-
rb_raise(rb_eArgError,
|
528
|
-
"Expected Hash object as initializer value for map field '%s' "
|
529
|
-
"(given %s).",
|
530
|
-
upb_FieldDef_Name(f), rb_class2name(CLASS_OF(val)));
|
531
|
-
}
|
532
|
-
MapInit map_init = {map, TypeInfo_get(key_f), TypeInfo_get(val_f), arena};
|
533
|
-
rb_hash_foreach(val, Map_initialize_kwarg, (VALUE)&map_init);
|
534
|
-
}
|
535
|
-
|
536
|
-
static upb_MessageValue MessageValue_FromValue(VALUE val, TypeInfo info,
|
537
|
-
upb_Arena* arena) {
|
538
|
-
if (info.type == kUpb_CType_Message) {
|
539
|
-
upb_MessageValue msgval;
|
540
|
-
upb_MiniTable* t = upb_MessageDef_MiniTable(info.def.msgdef);
|
541
|
-
upb_Message* msg = upb_Message_New(t, arena);
|
542
|
-
Message_InitFromValue(msg, info.def.msgdef, val, arena);
|
543
|
-
msgval.msg_val = msg;
|
544
|
-
return msgval;
|
545
|
-
} else {
|
546
|
-
return Convert_RubyToUpb(val, "", info, arena);
|
547
|
-
}
|
548
|
-
}
|
549
|
-
|
550
|
-
static void RepeatedField_InitFromValue(upb_Array* arr, const upb_FieldDef* f,
|
551
|
-
VALUE val, upb_Arena* arena) {
|
552
|
-
TypeInfo type_info = TypeInfo_get(f);
|
553
|
-
|
554
|
-
if (TYPE(val) != T_ARRAY) {
|
555
|
-
rb_raise(rb_eArgError,
|
556
|
-
"Expected array as initializer value for repeated field '%s' "
|
557
|
-
"(given %s).",
|
558
|
-
upb_FieldDef_Name(f), rb_class2name(CLASS_OF(val)));
|
559
|
-
}
|
560
|
-
|
561
|
-
for (int i = 0; i < RARRAY_LEN(val); i++) {
|
562
|
-
VALUE entry = rb_ary_entry(val, i);
|
563
|
-
upb_MessageValue msgval;
|
564
|
-
if (upb_FieldDef_IsSubMessage(f) && TYPE(entry) == T_HASH) {
|
565
|
-
msgval = MessageValue_FromValue(entry, type_info, arena);
|
566
|
-
} else {
|
567
|
-
msgval = Convert_RubyToUpb(entry, upb_FieldDef_Name(f), type_info, arena);
|
568
|
-
}
|
569
|
-
upb_Array_Append(arr, msgval, arena);
|
570
|
-
}
|
571
|
-
}
|
572
|
-
|
573
|
-
static void Message_InitFieldFromValue(upb_Message* msg, const upb_FieldDef* f,
|
574
|
-
VALUE val, upb_Arena* arena) {
|
575
|
-
if (TYPE(val) == T_NIL) return;
|
576
|
-
|
577
|
-
if (upb_FieldDef_IsMap(f)) {
|
578
|
-
upb_Map* map = upb_Message_Mutable(msg, f, arena).map;
|
579
|
-
Map_InitFromValue(map, f, val, arena);
|
580
|
-
} else if (upb_FieldDef_Label(f) == kUpb_Label_Repeated) {
|
581
|
-
upb_Array* arr = upb_Message_Mutable(msg, f, arena).array;
|
582
|
-
RepeatedField_InitFromValue(arr, f, val, arena);
|
583
|
-
} else if (upb_FieldDef_IsSubMessage(f)) {
|
584
|
-
if (TYPE(val) == T_HASH) {
|
585
|
-
upb_Message* submsg = upb_Message_Mutable(msg, f, arena).msg;
|
586
|
-
Message_InitFromValue(submsg, upb_FieldDef_MessageSubDef(f), val, arena);
|
587
|
-
} else {
|
588
|
-
Message_setfield(msg, f, val, arena);
|
589
|
-
}
|
590
|
-
} else {
|
591
|
-
upb_MessageValue msgval =
|
592
|
-
Convert_RubyToUpb(val, upb_FieldDef_Name(f), TypeInfo_get(f), arena);
|
593
|
-
upb_Message_SetFieldByDef(msg, f, msgval, arena);
|
594
|
-
}
|
595
|
-
}
|
596
|
-
|
597
|
-
typedef struct {
|
598
|
-
upb_Message* msg;
|
599
|
-
const upb_MessageDef* msgdef;
|
600
|
-
upb_Arena* arena;
|
601
|
-
} MsgInit;
|
602
|
-
|
603
|
-
static int Message_initialize_kwarg(VALUE key, VALUE val, VALUE _self) {
|
604
|
-
MsgInit* msg_init = (MsgInit*)_self;
|
605
|
-
const char* name;
|
606
|
-
|
607
|
-
if (TYPE(key) == T_STRING) {
|
608
|
-
name = RSTRING_PTR(key);
|
609
|
-
} else if (TYPE(key) == T_SYMBOL) {
|
610
|
-
name = RSTRING_PTR(rb_id2str(SYM2ID(key)));
|
611
|
-
} else {
|
612
|
-
rb_raise(rb_eArgError,
|
613
|
-
"Expected string or symbols as hash keys when initializing proto "
|
614
|
-
"from hash.");
|
615
|
-
}
|
616
|
-
|
617
|
-
const upb_FieldDef* f =
|
618
|
-
upb_MessageDef_FindFieldByName(msg_init->msgdef, name);
|
619
|
-
|
620
|
-
if (f == NULL) {
|
621
|
-
rb_raise(rb_eArgError,
|
622
|
-
"Unknown field name '%s' in initialization map entry.", name);
|
623
|
-
}
|
624
|
-
|
625
|
-
Message_InitFieldFromValue(msg_init->msg, f, val, msg_init->arena);
|
626
|
-
return ST_CONTINUE;
|
627
|
-
}
|
628
|
-
|
629
|
-
void Message_InitFromValue(upb_Message* msg, const upb_MessageDef* m, VALUE val,
|
630
|
-
upb_Arena* arena) {
|
631
|
-
MsgInit msg_init = {msg, m, arena};
|
632
|
-
if (TYPE(val) == T_HASH) {
|
633
|
-
rb_hash_foreach(val, Message_initialize_kwarg, (VALUE)&msg_init);
|
634
|
-
} else {
|
635
|
-
rb_raise(rb_eArgError, "Expected hash arguments or message, not %s",
|
636
|
-
rb_class2name(CLASS_OF(val)));
|
637
|
-
}
|
638
|
-
}
|
639
|
-
|
640
|
-
/*
|
641
|
-
* call-seq:
|
642
|
-
* Message.new(kwargs) => new_message
|
643
|
-
*
|
644
|
-
* Creates a new instance of the given message class. Keyword arguments may be
|
645
|
-
* provided with keywords corresponding to field names.
|
646
|
-
*
|
647
|
-
* Note that no literal Message class exists. Only concrete classes per message
|
648
|
-
* type exist, as provided by the #msgclass method on Descriptors after they
|
649
|
-
* have been added to a pool. The method definitions described here on the
|
650
|
-
* Message class are provided on each concrete message class.
|
651
|
-
*/
|
652
|
-
static VALUE Message_initialize(int argc, VALUE* argv, VALUE _self) {
|
653
|
-
Message* self = ruby_to_Message(_self);
|
654
|
-
VALUE arena_rb = Arena_new();
|
655
|
-
upb_Arena* arena = Arena_get(arena_rb);
|
656
|
-
upb_MiniTable* t = upb_MessageDef_MiniTable(self->msgdef);
|
657
|
-
upb_Message* msg = upb_Message_New(t, arena);
|
658
|
-
|
659
|
-
Message_InitPtr(_self, msg, arena_rb);
|
660
|
-
|
661
|
-
if (argc == 0) {
|
662
|
-
return Qnil;
|
663
|
-
}
|
664
|
-
if (argc != 1) {
|
665
|
-
rb_raise(rb_eArgError, "Expected 0 or 1 arguments.");
|
666
|
-
}
|
667
|
-
Message_InitFromValue((upb_Message*)self->msg, self->msgdef, argv[0], arena);
|
668
|
-
return Qnil;
|
669
|
-
}
|
670
|
-
|
671
|
-
/*
|
672
|
-
* call-seq:
|
673
|
-
* Message.dup => new_message
|
674
|
-
*
|
675
|
-
* Performs a shallow copy of this message and returns the new copy.
|
676
|
-
*/
|
677
|
-
static VALUE Message_dup(VALUE _self) {
|
678
|
-
Message* self = ruby_to_Message(_self);
|
679
|
-
VALUE new_msg = rb_class_new_instance(0, NULL, CLASS_OF(_self));
|
680
|
-
Message* new_msg_self = ruby_to_Message(new_msg);
|
681
|
-
size_t size = upb_MessageDef_MiniTable(self->msgdef)->size;
|
682
|
-
|
683
|
-
// TODO(copy unknown fields?)
|
684
|
-
// TODO(use official upb msg copy function)
|
685
|
-
memcpy((upb_Message*)new_msg_self->msg, self->msg, size);
|
686
|
-
Arena_fuse(self->arena, Arena_get(new_msg_self->arena));
|
687
|
-
return new_msg;
|
688
|
-
}
|
689
|
-
|
690
|
-
// Support function for Message_eq, and also used by other #eq functions.
|
691
|
-
bool Message_Equal(const upb_Message* m1, const upb_Message* m2,
|
692
|
-
const upb_MessageDef* m) {
|
693
|
-
if (m1 == m2) return true;
|
694
|
-
|
695
|
-
size_t size1, size2;
|
696
|
-
int encode_opts =
|
697
|
-
kUpb_EncodeOption_SkipUnknown | kUpb_EncodeOption_Deterministic;
|
698
|
-
upb_Arena* arena_tmp = upb_Arena_New();
|
699
|
-
const upb_MiniTable* layout = upb_MessageDef_MiniTable(m);
|
700
|
-
|
701
|
-
// Compare deterministically serialized payloads with no unknown fields.
|
702
|
-
char* data1;
|
703
|
-
char* data2;
|
704
|
-
upb_EncodeStatus status1 =
|
705
|
-
upb_Encode(m1, layout, encode_opts, arena_tmp, &data1, &size1);
|
706
|
-
upb_EncodeStatus status2 =
|
707
|
-
upb_Encode(m2, layout, encode_opts, arena_tmp, &data2, &size2);
|
708
|
-
|
709
|
-
if (status1 == kUpb_EncodeStatus_Ok && status2 == kUpb_EncodeStatus_Ok) {
|
710
|
-
bool ret = (size1 == size2) && (memcmp(data1, data2, size1) == 0);
|
711
|
-
upb_Arena_Free(arena_tmp);
|
712
|
-
return ret;
|
713
|
-
} else {
|
714
|
-
upb_Arena_Free(arena_tmp);
|
715
|
-
rb_raise(cParseError, "Error comparing messages");
|
716
|
-
}
|
717
|
-
}
|
718
|
-
|
719
|
-
/*
|
720
|
-
* call-seq:
|
721
|
-
* Message.==(other) => boolean
|
722
|
-
*
|
723
|
-
* Performs a deep comparison of this message with another. Messages are equal
|
724
|
-
* if they have the same type and if each field is equal according to the :==
|
725
|
-
* method's semantics (a more efficient comparison may actually be done if the
|
726
|
-
* field is of a primitive type).
|
727
|
-
*/
|
728
|
-
static VALUE Message_eq(VALUE _self, VALUE _other) {
|
729
|
-
if (CLASS_OF(_self) != CLASS_OF(_other)) return Qfalse;
|
730
|
-
|
731
|
-
Message* self = ruby_to_Message(_self);
|
732
|
-
Message* other = ruby_to_Message(_other);
|
733
|
-
assert(self->msgdef == other->msgdef);
|
734
|
-
|
735
|
-
return Message_Equal(self->msg, other->msg, self->msgdef) ? Qtrue : Qfalse;
|
736
|
-
}
|
737
|
-
|
738
|
-
uint64_t Message_Hash(const upb_Message* msg, const upb_MessageDef* m,
|
739
|
-
uint64_t seed) {
|
740
|
-
upb_Arena* arena = upb_Arena_New();
|
741
|
-
char* data;
|
742
|
-
size_t size;
|
743
|
-
|
744
|
-
// Hash a deterministically serialized payloads with no unknown fields.
|
745
|
-
upb_EncodeStatus status = upb_Encode(
|
746
|
-
msg, upb_MessageDef_MiniTable(m),
|
747
|
-
kUpb_EncodeOption_SkipUnknown | kUpb_EncodeOption_Deterministic, arena,
|
748
|
-
&data, &size);
|
749
|
-
|
750
|
-
if (status == kUpb_EncodeStatus_Ok) {
|
751
|
-
uint64_t ret = _upb_Hash(data, size, seed);
|
752
|
-
upb_Arena_Free(arena);
|
753
|
-
return ret;
|
754
|
-
} else {
|
755
|
-
upb_Arena_Free(arena);
|
756
|
-
rb_raise(cParseError, "Error calculating hash");
|
757
|
-
}
|
758
|
-
}
|
759
|
-
|
760
|
-
/*
|
761
|
-
* call-seq:
|
762
|
-
* Message.hash => hash_value
|
763
|
-
*
|
764
|
-
* Returns a hash value that represents this message's field values.
|
765
|
-
*/
|
766
|
-
static VALUE Message_hash(VALUE _self) {
|
767
|
-
Message* self = ruby_to_Message(_self);
|
768
|
-
uint64_t hash_value = Message_Hash(self->msg, self->msgdef, 0);
|
769
|
-
// RUBY_FIXNUM_MAX should be one less than a power of 2.
|
770
|
-
assert((RUBY_FIXNUM_MAX & (RUBY_FIXNUM_MAX + 1)) == 0);
|
771
|
-
return INT2FIX(hash_value & RUBY_FIXNUM_MAX);
|
772
|
-
}
|
773
|
-
|
774
|
-
/*
|
775
|
-
* call-seq:
|
776
|
-
* Message.inspect => string
|
777
|
-
*
|
778
|
-
* Returns a human-readable string representing this message. It will be
|
779
|
-
* formatted as "<MessageType: field1: value1, field2: value2, ...>". Each
|
780
|
-
* field's value is represented according to its own #inspect method.
|
781
|
-
*/
|
782
|
-
static VALUE Message_inspect(VALUE _self) {
|
783
|
-
Message* self = ruby_to_Message(_self);
|
784
|
-
|
785
|
-
StringBuilder* builder = StringBuilder_New();
|
786
|
-
Message_PrintMessage(builder, self->msg, self->msgdef);
|
787
|
-
VALUE ret = StringBuilder_ToRubyString(builder);
|
788
|
-
StringBuilder_Free(builder);
|
789
|
-
return ret;
|
790
|
-
}
|
791
|
-
|
792
|
-
// Support functions for Message_to_h //////////////////////////////////////////
|
793
|
-
|
794
|
-
static VALUE RepeatedField_CreateArray(const upb_Array* arr,
|
795
|
-
TypeInfo type_info) {
|
796
|
-
int size = arr ? upb_Array_Size(arr) : 0;
|
797
|
-
VALUE ary = rb_ary_new2(size);
|
798
|
-
|
799
|
-
for (int i = 0; i < size; i++) {
|
800
|
-
upb_MessageValue msgval = upb_Array_Get(arr, i);
|
801
|
-
VALUE val = Scalar_CreateHash(msgval, type_info);
|
802
|
-
rb_ary_push(ary, val);
|
803
|
-
}
|
804
|
-
|
805
|
-
return ary;
|
806
|
-
}
|
807
|
-
|
808
|
-
static VALUE Message_CreateHash(const upb_Message* msg,
|
809
|
-
const upb_MessageDef* m) {
|
810
|
-
if (!msg) return Qnil;
|
811
|
-
|
812
|
-
VALUE hash = rb_hash_new();
|
813
|
-
int n = upb_MessageDef_FieldCount(m);
|
814
|
-
bool is_proto2;
|
815
|
-
|
816
|
-
// We currently have a few behaviors that are specific to proto2.
|
817
|
-
// This is unfortunate, we should key behaviors off field attributes (like
|
818
|
-
// whether a field has presence), not proto2 vs. proto3. We should see if we
|
819
|
-
// can change this without breaking users.
|
820
|
-
is_proto2 = upb_MessageDef_Syntax(m) == kUpb_Syntax_Proto2;
|
821
|
-
|
822
|
-
for (int i = 0; i < n; i++) {
|
823
|
-
const upb_FieldDef* field = upb_MessageDef_Field(m, i);
|
824
|
-
TypeInfo type_info = TypeInfo_get(field);
|
825
|
-
upb_MessageValue msgval;
|
826
|
-
VALUE msg_value;
|
827
|
-
VALUE msg_key;
|
828
|
-
|
829
|
-
if (!is_proto2 && upb_FieldDef_IsSubMessage(field) &&
|
830
|
-
!upb_FieldDef_IsRepeated(field) &&
|
831
|
-
!upb_Message_HasFieldByDef(msg, field)) {
|
832
|
-
// TODO: Legacy behavior, remove when we fix the is_proto2 differences.
|
833
|
-
msg_key = ID2SYM(rb_intern(upb_FieldDef_Name(field)));
|
834
|
-
rb_hash_aset(hash, msg_key, Qnil);
|
835
|
-
continue;
|
836
|
-
}
|
837
|
-
|
838
|
-
// Do not include fields that are not present (oneof or optional fields).
|
839
|
-
if (is_proto2 && upb_FieldDef_HasPresence(field) &&
|
840
|
-
!upb_Message_HasFieldByDef(msg, field)) {
|
841
|
-
continue;
|
842
|
-
}
|
843
|
-
|
844
|
-
msg_key = ID2SYM(rb_intern(upb_FieldDef_Name(field)));
|
845
|
-
msgval = upb_Message_GetFieldByDef(msg, field);
|
846
|
-
|
847
|
-
// Proto2 omits empty map/repeated filds also.
|
848
|
-
|
849
|
-
if (upb_FieldDef_IsMap(field)) {
|
850
|
-
const upb_MessageDef* entry_m = upb_FieldDef_MessageSubDef(field);
|
851
|
-
const upb_FieldDef* key_f = upb_MessageDef_FindFieldByNumber(entry_m, 1);
|
852
|
-
const upb_FieldDef* val_f = upb_MessageDef_FindFieldByNumber(entry_m, 2);
|
853
|
-
upb_CType key_type = upb_FieldDef_CType(key_f);
|
854
|
-
msg_value = Map_CreateHash(msgval.map_val, key_type, TypeInfo_get(val_f));
|
855
|
-
} else if (upb_FieldDef_IsRepeated(field)) {
|
856
|
-
if (is_proto2 &&
|
857
|
-
(!msgval.array_val || upb_Array_Size(msgval.array_val) == 0)) {
|
858
|
-
continue;
|
859
|
-
}
|
860
|
-
msg_value = RepeatedField_CreateArray(msgval.array_val, type_info);
|
861
|
-
} else {
|
862
|
-
msg_value = Scalar_CreateHash(msgval, type_info);
|
863
|
-
}
|
864
|
-
|
865
|
-
rb_hash_aset(hash, msg_key, msg_value);
|
866
|
-
}
|
867
|
-
|
868
|
-
return hash;
|
869
|
-
}
|
870
|
-
|
871
|
-
VALUE Scalar_CreateHash(upb_MessageValue msgval, TypeInfo type_info) {
|
872
|
-
if (type_info.type == kUpb_CType_Message) {
|
873
|
-
return Message_CreateHash(msgval.msg_val, type_info.def.msgdef);
|
874
|
-
} else {
|
875
|
-
return Convert_UpbToRuby(msgval, type_info, Qnil);
|
876
|
-
}
|
877
|
-
}
|
878
|
-
|
879
|
-
/*
|
880
|
-
* call-seq:
|
881
|
-
* Message.to_h => {}
|
882
|
-
*
|
883
|
-
* Returns the message as a Ruby Hash object, with keys as symbols.
|
884
|
-
*/
|
885
|
-
static VALUE Message_to_h(VALUE _self) {
|
886
|
-
Message* self = ruby_to_Message(_self);
|
887
|
-
return Message_CreateHash(self->msg, self->msgdef);
|
888
|
-
}
|
889
|
-
|
890
|
-
/*
|
891
|
-
* call-seq:
|
892
|
-
* Message.freeze => self
|
893
|
-
*
|
894
|
-
* Freezes the message object. We have to intercept this so we can pin the
|
895
|
-
* Ruby object into memory so we don't forget it's frozen.
|
896
|
-
*/
|
897
|
-
static VALUE Message_freeze(VALUE _self) {
|
898
|
-
Message* self = ruby_to_Message(_self);
|
899
|
-
if (!RB_OBJ_FROZEN(_self)) {
|
900
|
-
Arena_Pin(self->arena, _self);
|
901
|
-
RB_OBJ_FREEZE(_self);
|
902
|
-
}
|
903
|
-
return _self;
|
904
|
-
}
|
905
|
-
|
906
|
-
/*
|
907
|
-
* call-seq:
|
908
|
-
* Message.[](index) => value
|
909
|
-
*
|
910
|
-
* Accesses a field's value by field name. The provided field name should be a
|
911
|
-
* string.
|
912
|
-
*/
|
913
|
-
static VALUE Message_index(VALUE _self, VALUE field_name) {
|
914
|
-
Message* self = ruby_to_Message(_self);
|
915
|
-
const upb_FieldDef* field;
|
916
|
-
|
917
|
-
Check_Type(field_name, T_STRING);
|
918
|
-
field = upb_MessageDef_FindFieldByName(self->msgdef, RSTRING_PTR(field_name));
|
919
|
-
|
920
|
-
if (field == NULL) {
|
921
|
-
return Qnil;
|
922
|
-
}
|
923
|
-
|
924
|
-
return Message_getfield(_self, field);
|
925
|
-
}
|
926
|
-
|
927
|
-
/*
|
928
|
-
* call-seq:
|
929
|
-
* Message.[]=(index, value)
|
930
|
-
*
|
931
|
-
* Sets a field's value by field name. The provided field name should be a
|
932
|
-
* string.
|
933
|
-
*/
|
934
|
-
static VALUE Message_index_set(VALUE _self, VALUE field_name, VALUE value) {
|
935
|
-
Message* self = ruby_to_Message(_self);
|
936
|
-
const upb_FieldDef* f;
|
937
|
-
upb_MessageValue val;
|
938
|
-
upb_Arena* arena = Arena_get(self->arena);
|
939
|
-
|
940
|
-
Check_Type(field_name, T_STRING);
|
941
|
-
f = upb_MessageDef_FindFieldByName(self->msgdef, RSTRING_PTR(field_name));
|
942
|
-
|
943
|
-
if (f == NULL) {
|
944
|
-
rb_raise(rb_eArgError, "Unknown field: %s", RSTRING_PTR(field_name));
|
945
|
-
}
|
946
|
-
|
947
|
-
val = Convert_RubyToUpb(value, upb_FieldDef_Name(f), TypeInfo_get(f), arena);
|
948
|
-
upb_Message_SetFieldByDef(Message_GetMutable(_self, NULL), f, val, arena);
|
949
|
-
|
950
|
-
return Qnil;
|
951
|
-
}
|
952
|
-
|
953
|
-
/*
|
954
|
-
* call-seq:
|
955
|
-
* MessageClass.decode(data, options) => message
|
956
|
-
*
|
957
|
-
* Decodes the given data (as a string containing bytes in protocol buffers wire
|
958
|
-
* format) under the interpretration given by this message class's definition
|
959
|
-
* and returns a message object with the corresponding field values.
|
960
|
-
* @param options [Hash] options for the decoder
|
961
|
-
* recursion_limit: set to maximum decoding depth for message (default is 64)
|
962
|
-
*/
|
963
|
-
static VALUE Message_decode(int argc, VALUE* argv, VALUE klass) {
|
964
|
-
VALUE data = argv[0];
|
965
|
-
int options = 0;
|
966
|
-
|
967
|
-
if (argc < 1 || argc > 2) {
|
968
|
-
rb_raise(rb_eArgError, "Expected 1 or 2 arguments.");
|
969
|
-
}
|
970
|
-
|
971
|
-
if (argc == 2) {
|
972
|
-
VALUE hash_args = argv[1];
|
973
|
-
if (TYPE(hash_args) != T_HASH) {
|
974
|
-
rb_raise(rb_eArgError, "Expected hash arguments.");
|
975
|
-
}
|
976
|
-
|
977
|
-
VALUE depth =
|
978
|
-
rb_hash_lookup(hash_args, ID2SYM(rb_intern("recursion_limit")));
|
979
|
-
|
980
|
-
if (depth != Qnil && TYPE(depth) == T_FIXNUM) {
|
981
|
-
options |= UPB_DECODE_MAXDEPTH(FIX2INT(depth));
|
982
|
-
}
|
983
|
-
}
|
984
|
-
|
985
|
-
if (TYPE(data) != T_STRING) {
|
986
|
-
rb_raise(rb_eArgError, "Expected string for binary protobuf data.");
|
987
|
-
}
|
988
|
-
|
989
|
-
VALUE msg_rb = initialize_rb_class_with_no_args(klass);
|
990
|
-
Message* msg = ruby_to_Message(msg_rb);
|
991
|
-
|
992
|
-
upb_DecodeStatus status =
|
993
|
-
upb_Decode(RSTRING_PTR(data), RSTRING_LEN(data), (upb_Message*)msg->msg,
|
994
|
-
upb_MessageDef_MiniTable(msg->msgdef), NULL, options,
|
995
|
-
Arena_get(msg->arena));
|
996
|
-
|
997
|
-
if (status != kUpb_DecodeStatus_Ok) {
|
998
|
-
rb_raise(cParseError, "Error occurred during parsing");
|
999
|
-
}
|
1000
|
-
|
1001
|
-
return msg_rb;
|
1002
|
-
}
|
1003
|
-
|
1004
|
-
/*
|
1005
|
-
* call-seq:
|
1006
|
-
* MessageClass.decode_json(data, options = {}) => message
|
1007
|
-
*
|
1008
|
-
* Decodes the given data (as a string containing bytes in protocol buffers wire
|
1009
|
-
* format) under the interpretration given by this message class's definition
|
1010
|
-
* and returns a message object with the corresponding field values.
|
1011
|
-
*
|
1012
|
-
* @param options [Hash] options for the decoder
|
1013
|
-
* ignore_unknown_fields: set true to ignore unknown fields (default is to
|
1014
|
-
* raise an error)
|
1015
|
-
*/
|
1016
|
-
static VALUE Message_decode_json(int argc, VALUE* argv, VALUE klass) {
|
1017
|
-
VALUE data = argv[0];
|
1018
|
-
int options = 0;
|
1019
|
-
upb_Status status;
|
1020
|
-
|
1021
|
-
// TODO(haberman): use this message's pool instead.
|
1022
|
-
const upb_DefPool* symtab = DescriptorPool_GetSymtab(generated_pool);
|
1023
|
-
|
1024
|
-
if (argc < 1 || argc > 2) {
|
1025
|
-
rb_raise(rb_eArgError, "Expected 1 or 2 arguments.");
|
1026
|
-
}
|
1027
|
-
|
1028
|
-
if (argc == 2) {
|
1029
|
-
VALUE hash_args = argv[1];
|
1030
|
-
if (TYPE(hash_args) != T_HASH) {
|
1031
|
-
rb_raise(rb_eArgError, "Expected hash arguments.");
|
1032
|
-
}
|
1033
|
-
|
1034
|
-
if (RTEST(rb_hash_lookup2(
|
1035
|
-
hash_args, ID2SYM(rb_intern("ignore_unknown_fields")), Qfalse))) {
|
1036
|
-
options |= upb_JsonDecode_IgnoreUnknown;
|
1037
|
-
}
|
1038
|
-
}
|
1039
|
-
|
1040
|
-
if (TYPE(data) != T_STRING) {
|
1041
|
-
rb_raise(rb_eArgError, "Expected string for JSON data.");
|
1042
|
-
}
|
1043
|
-
|
1044
|
-
// TODO(cfallin): Check and respect string encoding. If not UTF-8, we need to
|
1045
|
-
// convert, because string handlers pass data directly to message string
|
1046
|
-
// fields.
|
1047
|
-
|
1048
|
-
VALUE msg_rb = initialize_rb_class_with_no_args(klass);
|
1049
|
-
Message* msg = ruby_to_Message(msg_rb);
|
1050
|
-
|
1051
|
-
// We don't allow users to decode a wrapper type directly.
|
1052
|
-
if (IsWrapper(msg->msgdef)) {
|
1053
|
-
rb_raise(rb_eRuntimeError, "Cannot parse a wrapper directly.");
|
1054
|
-
}
|
1055
|
-
|
1056
|
-
upb_Status_Clear(&status);
|
1057
|
-
if (!upb_JsonDecode(RSTRING_PTR(data), RSTRING_LEN(data),
|
1058
|
-
(upb_Message*)msg->msg, msg->msgdef, symtab, options,
|
1059
|
-
Arena_get(msg->arena), &status)) {
|
1060
|
-
rb_raise(cParseError, "Error occurred during parsing: %s",
|
1061
|
-
upb_Status_ErrorMessage(&status));
|
1062
|
-
}
|
1063
|
-
|
1064
|
-
return msg_rb;
|
1065
|
-
}
|
1066
|
-
|
1067
|
-
/*
|
1068
|
-
* call-seq:
|
1069
|
-
* MessageClass.encode(msg, options) => bytes
|
1070
|
-
*
|
1071
|
-
* Encodes the given message object to its serialized form in protocol buffers
|
1072
|
-
* wire format.
|
1073
|
-
* @param options [Hash] options for the encoder
|
1074
|
-
* recursion_limit: set to maximum encoding depth for message (default is 64)
|
1075
|
-
*/
|
1076
|
-
static VALUE Message_encode(int argc, VALUE* argv, VALUE klass) {
|
1077
|
-
Message* msg = ruby_to_Message(argv[0]);
|
1078
|
-
int options = 0;
|
1079
|
-
char* data;
|
1080
|
-
size_t size;
|
1081
|
-
|
1082
|
-
if (CLASS_OF(argv[0]) != klass) {
|
1083
|
-
rb_raise(rb_eArgError, "Message of wrong type.");
|
1084
|
-
}
|
1085
|
-
|
1086
|
-
if (argc < 1 || argc > 2) {
|
1087
|
-
rb_raise(rb_eArgError, "Expected 1 or 2 arguments.");
|
1088
|
-
}
|
1089
|
-
|
1090
|
-
if (argc == 2) {
|
1091
|
-
VALUE hash_args = argv[1];
|
1092
|
-
if (TYPE(hash_args) != T_HASH) {
|
1093
|
-
rb_raise(rb_eArgError, "Expected hash arguments.");
|
1094
|
-
}
|
1095
|
-
VALUE depth =
|
1096
|
-
rb_hash_lookup(hash_args, ID2SYM(rb_intern("recursion_limit")));
|
1097
|
-
|
1098
|
-
if (depth != Qnil && TYPE(depth) == T_FIXNUM) {
|
1099
|
-
options |= UPB_DECODE_MAXDEPTH(FIX2INT(depth));
|
1100
|
-
}
|
1101
|
-
}
|
1102
|
-
|
1103
|
-
upb_Arena* arena = upb_Arena_New();
|
1104
|
-
|
1105
|
-
upb_EncodeStatus status =
|
1106
|
-
upb_Encode(msg->msg, upb_MessageDef_MiniTable(msg->msgdef), options,
|
1107
|
-
arena, &data, &size);
|
1108
|
-
|
1109
|
-
if (status == kUpb_EncodeStatus_Ok) {
|
1110
|
-
VALUE ret = rb_str_new(data, size);
|
1111
|
-
rb_enc_associate(ret, rb_ascii8bit_encoding());
|
1112
|
-
upb_Arena_Free(arena);
|
1113
|
-
return ret;
|
1114
|
-
} else {
|
1115
|
-
upb_Arena_Free(arena);
|
1116
|
-
rb_raise(rb_eRuntimeError, "Exceeded maximum depth (possibly cycle)");
|
1117
|
-
}
|
1118
|
-
}
|
1119
|
-
|
1120
|
-
/*
|
1121
|
-
* call-seq:
|
1122
|
-
* MessageClass.encode_json(msg, options = {}) => json_string
|
1123
|
-
*
|
1124
|
-
* Encodes the given message object into its serialized JSON representation.
|
1125
|
-
* @param options [Hash] options for the decoder
|
1126
|
-
* preserve_proto_fieldnames: set true to use original fieldnames (default is
|
1127
|
-
* to camelCase) emit_defaults: set true to emit 0/false values (default is to
|
1128
|
-
* omit them)
|
1129
|
-
*/
|
1130
|
-
static VALUE Message_encode_json(int argc, VALUE* argv, VALUE klass) {
|
1131
|
-
Message* msg = ruby_to_Message(argv[0]);
|
1132
|
-
int options = 0;
|
1133
|
-
char buf[1024];
|
1134
|
-
size_t size;
|
1135
|
-
upb_Status status;
|
1136
|
-
|
1137
|
-
// TODO(haberman): use this message's pool instead.
|
1138
|
-
const upb_DefPool* symtab = DescriptorPool_GetSymtab(generated_pool);
|
1139
|
-
|
1140
|
-
if (argc < 1 || argc > 2) {
|
1141
|
-
rb_raise(rb_eArgError, "Expected 1 or 2 arguments.");
|
1142
|
-
}
|
1143
|
-
|
1144
|
-
if (argc == 2) {
|
1145
|
-
VALUE hash_args = argv[1];
|
1146
|
-
if (TYPE(hash_args) != T_HASH) {
|
1147
|
-
if (RTEST(rb_funcall(hash_args, rb_intern("respond_to?"), 1,
|
1148
|
-
rb_str_new2("to_h")))) {
|
1149
|
-
hash_args = rb_funcall(hash_args, rb_intern("to_h"), 0);
|
1150
|
-
} else {
|
1151
|
-
rb_raise(rb_eArgError, "Expected hash arguments.");
|
1152
|
-
}
|
1153
|
-
}
|
1154
|
-
|
1155
|
-
if (RTEST(rb_hash_lookup2(hash_args,
|
1156
|
-
ID2SYM(rb_intern("preserve_proto_fieldnames")),
|
1157
|
-
Qfalse))) {
|
1158
|
-
options |= upb_JsonEncode_UseProtoNames;
|
1159
|
-
}
|
1160
|
-
|
1161
|
-
if (RTEST(rb_hash_lookup2(hash_args, ID2SYM(rb_intern("emit_defaults")),
|
1162
|
-
Qfalse))) {
|
1163
|
-
options |= upb_JsonEncode_EmitDefaults;
|
1164
|
-
}
|
1165
|
-
}
|
1166
|
-
|
1167
|
-
upb_Status_Clear(&status);
|
1168
|
-
size = upb_JsonEncode(msg->msg, msg->msgdef, symtab, options, buf,
|
1169
|
-
sizeof(buf), &status);
|
1170
|
-
|
1171
|
-
if (!upb_Status_IsOk(&status)) {
|
1172
|
-
rb_raise(cParseError, "Error occurred during encoding: %s",
|
1173
|
-
upb_Status_ErrorMessage(&status));
|
1174
|
-
}
|
1175
|
-
|
1176
|
-
VALUE ret;
|
1177
|
-
if (size >= sizeof(buf)) {
|
1178
|
-
char* buf2 = malloc(size + 1);
|
1179
|
-
upb_JsonEncode(msg->msg, msg->msgdef, symtab, options, buf2, size + 1,
|
1180
|
-
&status);
|
1181
|
-
ret = rb_str_new(buf2, size);
|
1182
|
-
free(buf2);
|
1183
|
-
} else {
|
1184
|
-
ret = rb_str_new(buf, size);
|
1185
|
-
}
|
1186
|
-
|
1187
|
-
rb_enc_associate(ret, rb_utf8_encoding());
|
1188
|
-
return ret;
|
1189
|
-
}
|
1190
|
-
|
1191
|
-
/*
|
1192
|
-
* call-seq:
|
1193
|
-
* Message.descriptor => descriptor
|
1194
|
-
*
|
1195
|
-
* Class method that returns the Descriptor instance corresponding to this
|
1196
|
-
* message class's type.
|
1197
|
-
*/
|
1198
|
-
static VALUE Message_descriptor(VALUE klass) {
|
1199
|
-
return rb_ivar_get(klass, descriptor_instancevar_interned);
|
1200
|
-
}
|
1201
|
-
|
1202
|
-
VALUE build_class_from_descriptor(VALUE descriptor) {
|
1203
|
-
const char* name;
|
1204
|
-
VALUE klass;
|
1205
|
-
|
1206
|
-
name = upb_MessageDef_FullName(Descriptor_GetMsgDef(descriptor));
|
1207
|
-
if (name == NULL) {
|
1208
|
-
rb_raise(rb_eRuntimeError, "Descriptor does not have assigned name.");
|
1209
|
-
}
|
1210
|
-
|
1211
|
-
klass = rb_define_class_id(
|
1212
|
-
// Docs say this parameter is ignored. User will assign return value to
|
1213
|
-
// their own toplevel constant class name.
|
1214
|
-
rb_intern("Message"), cAbstractMessage);
|
1215
|
-
rb_ivar_set(klass, descriptor_instancevar_interned, descriptor);
|
1216
|
-
return klass;
|
1217
|
-
}
|
1218
|
-
|
1219
|
-
/*
|
1220
|
-
* call-seq:
|
1221
|
-
* Enum.lookup(number) => name
|
1222
|
-
*
|
1223
|
-
* This module method, provided on each generated enum module, looks up an enum
|
1224
|
-
* value by number and returns its name as a Ruby symbol, or nil if not found.
|
1225
|
-
*/
|
1226
|
-
static VALUE enum_lookup(VALUE self, VALUE number) {
|
1227
|
-
int32_t num = NUM2INT(number);
|
1228
|
-
VALUE desc = rb_ivar_get(self, descriptor_instancevar_interned);
|
1229
|
-
const upb_EnumDef* e = EnumDescriptor_GetEnumDef(desc);
|
1230
|
-
const upb_EnumValueDef* ev = upb_EnumDef_FindValueByNumber(e, num);
|
1231
|
-
if (ev) {
|
1232
|
-
return ID2SYM(rb_intern(upb_EnumValueDef_Name(ev)));
|
1233
|
-
} else {
|
1234
|
-
return Qnil;
|
1235
|
-
}
|
1236
|
-
}
|
1237
|
-
|
1238
|
-
/*
|
1239
|
-
* call-seq:
|
1240
|
-
* Enum.resolve(name) => number
|
1241
|
-
*
|
1242
|
-
* This module method, provided on each generated enum module, looks up an enum
|
1243
|
-
* value by name (as a Ruby symbol) and returns its name, or nil if not found.
|
1244
|
-
*/
|
1245
|
-
static VALUE enum_resolve(VALUE self, VALUE sym) {
|
1246
|
-
const char* name = rb_id2name(SYM2ID(sym));
|
1247
|
-
VALUE desc = rb_ivar_get(self, descriptor_instancevar_interned);
|
1248
|
-
const upb_EnumDef* e = EnumDescriptor_GetEnumDef(desc);
|
1249
|
-
const upb_EnumValueDef* ev = upb_EnumDef_FindValueByName(e, name);
|
1250
|
-
if (ev) {
|
1251
|
-
return INT2NUM(upb_EnumValueDef_Number(ev));
|
1252
|
-
} else {
|
1253
|
-
return Qnil;
|
1254
|
-
}
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
/*
|
1258
|
-
* call-seq:
|
1259
|
-
* Enum.descriptor
|
1260
|
-
*
|
1261
|
-
* This module method, provided on each generated enum module, returns the
|
1262
|
-
* EnumDescriptor corresponding to this enum type.
|
1263
|
-
*/
|
1264
|
-
static VALUE enum_descriptor(VALUE self) {
|
1265
|
-
return rb_ivar_get(self, descriptor_instancevar_interned);
|
1266
|
-
}
|
1267
|
-
|
1268
|
-
VALUE build_module_from_enumdesc(VALUE _enumdesc) {
|
1269
|
-
const upb_EnumDef* e = EnumDescriptor_GetEnumDef(_enumdesc);
|
1270
|
-
VALUE mod = rb_define_module_id(rb_intern(upb_EnumDef_FullName(e)));
|
1271
|
-
|
1272
|
-
int n = upb_EnumDef_ValueCount(e);
|
1273
|
-
for (int i = 0; i < n; i++) {
|
1274
|
-
const upb_EnumValueDef* ev = upb_EnumDef_Value(e, i);
|
1275
|
-
upb_Arena* arena = upb_Arena_New();
|
1276
|
-
const char* src_name = upb_EnumValueDef_Name(ev);
|
1277
|
-
char* name = upb_strdup2(src_name, strlen(src_name), arena);
|
1278
|
-
int32_t value = upb_EnumValueDef_Number(ev);
|
1279
|
-
if (name[0] < 'A' || name[0] > 'Z') {
|
1280
|
-
if (name[0] >= 'a' && name[0] <= 'z') {
|
1281
|
-
name[0] -= 32; // auto capitalize
|
1282
|
-
} else {
|
1283
|
-
rb_warn(
|
1284
|
-
"Enum value '%s' does not start with an uppercase letter "
|
1285
|
-
"as is required for Ruby constants.",
|
1286
|
-
name);
|
1287
|
-
}
|
1288
|
-
}
|
1289
|
-
rb_define_const(mod, name, INT2NUM(value));
|
1290
|
-
upb_Arena_Free(arena);
|
1291
|
-
}
|
1292
|
-
|
1293
|
-
rb_define_singleton_method(mod, "lookup", enum_lookup, 1);
|
1294
|
-
rb_define_singleton_method(mod, "resolve", enum_resolve, 1);
|
1295
|
-
rb_define_singleton_method(mod, "descriptor", enum_descriptor, 0);
|
1296
|
-
rb_ivar_set(mod, descriptor_instancevar_interned, _enumdesc);
|
1297
|
-
|
1298
|
-
return mod;
|
1299
|
-
}
|
1300
|
-
|
1301
|
-
// Internal to the library; used by Google::Protobuf.deep_copy.
|
1302
|
-
upb_Message* Message_deep_copy(const upb_Message* msg, const upb_MessageDef* m,
|
1303
|
-
upb_Arena* arena) {
|
1304
|
-
// Serialize and parse.
|
1305
|
-
upb_Arena* tmp_arena = upb_Arena_New();
|
1306
|
-
const upb_MiniTable* layout = upb_MessageDef_MiniTable(m);
|
1307
|
-
size_t size;
|
1308
|
-
|
1309
|
-
upb_Message* new_msg = upb_Message_New(layout, arena);
|
1310
|
-
char* data;
|
1311
|
-
|
1312
|
-
if (upb_Encode(msg, layout, 0, tmp_arena, &data, &size) !=
|
1313
|
-
kUpb_EncodeStatus_Ok ||
|
1314
|
-
upb_Decode(data, size, new_msg, layout, NULL, 0, arena) !=
|
1315
|
-
kUpb_DecodeStatus_Ok) {
|
1316
|
-
upb_Arena_Free(tmp_arena);
|
1317
|
-
rb_raise(cParseError, "Error occurred copying proto");
|
1318
|
-
}
|
1319
|
-
|
1320
|
-
upb_Arena_Free(tmp_arena);
|
1321
|
-
return new_msg;
|
1322
|
-
}
|
1323
|
-
|
1324
|
-
const upb_Message* Message_GetUpbMessage(VALUE value, const upb_MessageDef* m,
|
1325
|
-
const char* name, upb_Arena* arena) {
|
1326
|
-
if (value == Qnil) {
|
1327
|
-
rb_raise(cTypeError, "nil message not allowed here.");
|
1328
|
-
}
|
1329
|
-
|
1330
|
-
VALUE klass = CLASS_OF(value);
|
1331
|
-
VALUE desc_rb = rb_ivar_get(klass, descriptor_instancevar_interned);
|
1332
|
-
const upb_MessageDef* val_m =
|
1333
|
-
desc_rb == Qnil ? NULL : Descriptor_GetMsgDef(desc_rb);
|
1334
|
-
|
1335
|
-
if (val_m != m) {
|
1336
|
-
// Check for possible implicit conversions
|
1337
|
-
// TODO: hash conversion?
|
1338
|
-
|
1339
|
-
switch (upb_MessageDef_WellKnownType(m)) {
|
1340
|
-
case kUpb_WellKnown_Timestamp: {
|
1341
|
-
// Time -> Google::Protobuf::Timestamp
|
1342
|
-
const upb_MiniTable* t = upb_MessageDef_MiniTable(m);
|
1343
|
-
upb_Message* msg = upb_Message_New(t, arena);
|
1344
|
-
upb_MessageValue sec, nsec;
|
1345
|
-
struct timespec time;
|
1346
|
-
const upb_FieldDef* sec_f = upb_MessageDef_FindFieldByNumber(m, 1);
|
1347
|
-
const upb_FieldDef* nsec_f = upb_MessageDef_FindFieldByNumber(m, 2);
|
1348
|
-
|
1349
|
-
if (!rb_obj_is_kind_of(value, rb_cTime)) goto badtype;
|
1350
|
-
|
1351
|
-
time = rb_time_timespec(value);
|
1352
|
-
sec.int64_val = time.tv_sec;
|
1353
|
-
nsec.int32_val = time.tv_nsec;
|
1354
|
-
upb_Message_SetFieldByDef(msg, sec_f, sec, arena);
|
1355
|
-
upb_Message_SetFieldByDef(msg, nsec_f, nsec, arena);
|
1356
|
-
return msg;
|
1357
|
-
}
|
1358
|
-
case kUpb_WellKnown_Duration: {
|
1359
|
-
// Numeric -> Google::Protobuf::Duration
|
1360
|
-
const upb_MiniTable* t = upb_MessageDef_MiniTable(m);
|
1361
|
-
upb_Message* msg = upb_Message_New(t, arena);
|
1362
|
-
upb_MessageValue sec, nsec;
|
1363
|
-
const upb_FieldDef* sec_f = upb_MessageDef_FindFieldByNumber(m, 1);
|
1364
|
-
const upb_FieldDef* nsec_f = upb_MessageDef_FindFieldByNumber(m, 2);
|
1365
|
-
|
1366
|
-
if (!rb_obj_is_kind_of(value, rb_cNumeric)) goto badtype;
|
1367
|
-
|
1368
|
-
sec.int64_val = NUM2LL(value);
|
1369
|
-
nsec.int32_val = round((NUM2DBL(value) - NUM2LL(value)) * 1000000000);
|
1370
|
-
upb_Message_SetFieldByDef(msg, sec_f, sec, arena);
|
1371
|
-
upb_Message_SetFieldByDef(msg, nsec_f, nsec, arena);
|
1372
|
-
return msg;
|
1373
|
-
}
|
1374
|
-
default:
|
1375
|
-
badtype:
|
1376
|
-
rb_raise(cTypeError,
|
1377
|
-
"Invalid type %s to assign to submessage field '%s'.",
|
1378
|
-
rb_class2name(CLASS_OF(value)), name);
|
1379
|
-
}
|
1380
|
-
}
|
1381
|
-
|
1382
|
-
Message* self = ruby_to_Message(value);
|
1383
|
-
Arena_fuse(self->arena, arena);
|
1384
|
-
|
1385
|
-
return self->msg;
|
1386
|
-
}
|
1387
|
-
|
1388
|
-
static void Message_define_class(VALUE klass) {
|
1389
|
-
rb_define_alloc_func(klass, Message_alloc);
|
1390
|
-
|
1391
|
-
rb_require("google/protobuf/message_exts");
|
1392
|
-
rb_define_method(klass, "method_missing", Message_method_missing, -1);
|
1393
|
-
rb_define_method(klass, "respond_to_missing?", Message_respond_to_missing,
|
1394
|
-
-1);
|
1395
|
-
rb_define_method(klass, "initialize", Message_initialize, -1);
|
1396
|
-
rb_define_method(klass, "dup", Message_dup, 0);
|
1397
|
-
// Also define #clone so that we don't inherit Object#clone.
|
1398
|
-
rb_define_method(klass, "clone", Message_dup, 0);
|
1399
|
-
rb_define_method(klass, "==", Message_eq, 1);
|
1400
|
-
rb_define_method(klass, "eql?", Message_eq, 1);
|
1401
|
-
rb_define_method(klass, "freeze", Message_freeze, 0);
|
1402
|
-
rb_define_method(klass, "hash", Message_hash, 0);
|
1403
|
-
rb_define_method(klass, "to_h", Message_to_h, 0);
|
1404
|
-
rb_define_method(klass, "inspect", Message_inspect, 0);
|
1405
|
-
rb_define_method(klass, "to_s", Message_inspect, 0);
|
1406
|
-
rb_define_method(klass, "[]", Message_index, 1);
|
1407
|
-
rb_define_method(klass, "[]=", Message_index_set, 2);
|
1408
|
-
rb_define_singleton_method(klass, "decode", Message_decode, -1);
|
1409
|
-
rb_define_singleton_method(klass, "encode", Message_encode, -1);
|
1410
|
-
rb_define_singleton_method(klass, "decode_json", Message_decode_json, -1);
|
1411
|
-
rb_define_singleton_method(klass, "encode_json", Message_encode_json, -1);
|
1412
|
-
rb_define_singleton_method(klass, "descriptor", Message_descriptor, 0);
|
1413
|
-
}
|
1414
|
-
|
1415
|
-
void Message_register(VALUE protobuf) {
|
1416
|
-
cParseError = rb_const_get(protobuf, rb_intern("ParseError"));
|
1417
|
-
cAbstractMessage =
|
1418
|
-
rb_define_class_under(protobuf, "AbstractMessage", rb_cObject);
|
1419
|
-
Message_define_class(cAbstractMessage);
|
1420
|
-
rb_gc_register_address(&cAbstractMessage);
|
1421
|
-
|
1422
|
-
// Ruby-interned string: "descriptor". We use this identifier to store an
|
1423
|
-
// instance variable on message classes we create in order to link them back
|
1424
|
-
// to their descriptors.
|
1425
|
-
descriptor_instancevar_interned = rb_intern("@descriptor");
|
1426
|
-
}
|