primary_connect_proto 0.0.8 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/connect_proto.gemspec +3 -3
- data/lib/connect_proto/build/demographics_pb.rb +1 -0
- data/lib/connect_proto/src/demographics.proto +1 -0
- 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/2.6.0/gems/psych-4.0.2/LICENSE +21 -0
- 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
- metadata +1715 -16
@@ -0,0 +1,2358 @@
|
|
1
|
+
|
2
|
+
#include "yaml_private.h"
|
3
|
+
|
4
|
+
/*
|
5
|
+
* Flush the buffer if needed.
|
6
|
+
*/
|
7
|
+
|
8
|
+
#define FLUSH(emitter) \
|
9
|
+
((emitter->buffer.pointer+5 < emitter->buffer.end) \
|
10
|
+
|| yaml_emitter_flush(emitter))
|
11
|
+
|
12
|
+
/*
|
13
|
+
* Put a character to the output buffer.
|
14
|
+
*/
|
15
|
+
|
16
|
+
#define PUT(emitter,value) \
|
17
|
+
(FLUSH(emitter) \
|
18
|
+
&& (*(emitter->buffer.pointer++) = (yaml_char_t)(value), \
|
19
|
+
emitter->column++, \
|
20
|
+
1))
|
21
|
+
|
22
|
+
/*
|
23
|
+
* Put a line break to the output buffer.
|
24
|
+
*/
|
25
|
+
|
26
|
+
#define PUT_BREAK(emitter) \
|
27
|
+
(FLUSH(emitter) ? \
|
28
|
+
((emitter->line_break == YAML_CR_BREAK ? \
|
29
|
+
(*(emitter->buffer.pointer++) = (yaml_char_t) '\r') : \
|
30
|
+
emitter->line_break == YAML_LN_BREAK ? \
|
31
|
+
(*(emitter->buffer.pointer++) = (yaml_char_t) '\n') : \
|
32
|
+
emitter->line_break == YAML_CRLN_BREAK ? \
|
33
|
+
(*(emitter->buffer.pointer++) = (yaml_char_t) '\r', \
|
34
|
+
*(emitter->buffer.pointer++) = (yaml_char_t) '\n') : 0), \
|
35
|
+
emitter->column = 0, \
|
36
|
+
emitter->line ++, \
|
37
|
+
1) : 0)
|
38
|
+
|
39
|
+
/*
|
40
|
+
* Copy a character from a string into buffer.
|
41
|
+
*/
|
42
|
+
|
43
|
+
#define WRITE(emitter,string) \
|
44
|
+
(FLUSH(emitter) \
|
45
|
+
&& (COPY(emitter->buffer,string), \
|
46
|
+
emitter->column ++, \
|
47
|
+
1))
|
48
|
+
|
49
|
+
/*
|
50
|
+
* Copy a line break character from a string into buffer.
|
51
|
+
*/
|
52
|
+
|
53
|
+
#define WRITE_BREAK(emitter,string) \
|
54
|
+
(FLUSH(emitter) \
|
55
|
+
&& (CHECK(string,'\n') ? \
|
56
|
+
(PUT_BREAK(emitter), \
|
57
|
+
string.pointer ++, \
|
58
|
+
1) : \
|
59
|
+
(COPY(emitter->buffer,string), \
|
60
|
+
emitter->column = 0, \
|
61
|
+
emitter->line ++, \
|
62
|
+
1)))
|
63
|
+
|
64
|
+
/*
|
65
|
+
* API functions.
|
66
|
+
*/
|
67
|
+
|
68
|
+
YAML_DECLARE(int)
|
69
|
+
yaml_emitter_emit(yaml_emitter_t *emitter, yaml_event_t *event);
|
70
|
+
|
71
|
+
/*
|
72
|
+
* Utility functions.
|
73
|
+
*/
|
74
|
+
|
75
|
+
static int
|
76
|
+
yaml_emitter_set_emitter_error(yaml_emitter_t *emitter, const char *problem);
|
77
|
+
|
78
|
+
static int
|
79
|
+
yaml_emitter_need_more_events(yaml_emitter_t *emitter);
|
80
|
+
|
81
|
+
static int
|
82
|
+
yaml_emitter_append_tag_directive(yaml_emitter_t *emitter,
|
83
|
+
yaml_tag_directive_t value, int allow_duplicates);
|
84
|
+
|
85
|
+
static int
|
86
|
+
yaml_emitter_increase_indent(yaml_emitter_t *emitter,
|
87
|
+
int flow, int indentless);
|
88
|
+
|
89
|
+
/*
|
90
|
+
* State functions.
|
91
|
+
*/
|
92
|
+
|
93
|
+
static int
|
94
|
+
yaml_emitter_state_machine(yaml_emitter_t *emitter, yaml_event_t *event);
|
95
|
+
|
96
|
+
static int
|
97
|
+
yaml_emitter_emit_stream_start(yaml_emitter_t *emitter,
|
98
|
+
yaml_event_t *event);
|
99
|
+
|
100
|
+
static int
|
101
|
+
yaml_emitter_emit_document_start(yaml_emitter_t *emitter,
|
102
|
+
yaml_event_t *event, int first);
|
103
|
+
|
104
|
+
static int
|
105
|
+
yaml_emitter_emit_document_content(yaml_emitter_t *emitter,
|
106
|
+
yaml_event_t *event);
|
107
|
+
|
108
|
+
static int
|
109
|
+
yaml_emitter_emit_document_end(yaml_emitter_t *emitter,
|
110
|
+
yaml_event_t *event);
|
111
|
+
|
112
|
+
static int
|
113
|
+
yaml_emitter_emit_flow_sequence_item(yaml_emitter_t *emitter,
|
114
|
+
yaml_event_t *event, int first);
|
115
|
+
|
116
|
+
static int
|
117
|
+
yaml_emitter_emit_flow_mapping_key(yaml_emitter_t *emitter,
|
118
|
+
yaml_event_t *event, int first);
|
119
|
+
|
120
|
+
static int
|
121
|
+
yaml_emitter_emit_flow_mapping_value(yaml_emitter_t *emitter,
|
122
|
+
yaml_event_t *event, int simple);
|
123
|
+
|
124
|
+
static int
|
125
|
+
yaml_emitter_emit_block_sequence_item(yaml_emitter_t *emitter,
|
126
|
+
yaml_event_t *event, int first);
|
127
|
+
|
128
|
+
static int
|
129
|
+
yaml_emitter_emit_block_mapping_key(yaml_emitter_t *emitter,
|
130
|
+
yaml_event_t *event, int first);
|
131
|
+
|
132
|
+
static int
|
133
|
+
yaml_emitter_emit_block_mapping_value(yaml_emitter_t *emitter,
|
134
|
+
yaml_event_t *event, int simple);
|
135
|
+
|
136
|
+
static int
|
137
|
+
yaml_emitter_emit_node(yaml_emitter_t *emitter, yaml_event_t *event,
|
138
|
+
int root, int sequence, int mapping, int simple_key);
|
139
|
+
|
140
|
+
static int
|
141
|
+
yaml_emitter_emit_alias(yaml_emitter_t *emitter, yaml_event_t *event);
|
142
|
+
|
143
|
+
static int
|
144
|
+
yaml_emitter_emit_scalar(yaml_emitter_t *emitter, yaml_event_t *event);
|
145
|
+
|
146
|
+
static int
|
147
|
+
yaml_emitter_emit_sequence_start(yaml_emitter_t *emitter, yaml_event_t *event);
|
148
|
+
|
149
|
+
static int
|
150
|
+
yaml_emitter_emit_mapping_start(yaml_emitter_t *emitter, yaml_event_t *event);
|
151
|
+
|
152
|
+
/*
|
153
|
+
* Checkers.
|
154
|
+
*/
|
155
|
+
|
156
|
+
static int
|
157
|
+
yaml_emitter_check_empty_document(yaml_emitter_t *emitter);
|
158
|
+
|
159
|
+
static int
|
160
|
+
yaml_emitter_check_empty_sequence(yaml_emitter_t *emitter);
|
161
|
+
|
162
|
+
static int
|
163
|
+
yaml_emitter_check_empty_mapping(yaml_emitter_t *emitter);
|
164
|
+
|
165
|
+
static int
|
166
|
+
yaml_emitter_check_simple_key(yaml_emitter_t *emitter);
|
167
|
+
|
168
|
+
static int
|
169
|
+
yaml_emitter_select_scalar_style(yaml_emitter_t *emitter, yaml_event_t *event);
|
170
|
+
|
171
|
+
/*
|
172
|
+
* Processors.
|
173
|
+
*/
|
174
|
+
|
175
|
+
static int
|
176
|
+
yaml_emitter_process_anchor(yaml_emitter_t *emitter);
|
177
|
+
|
178
|
+
static int
|
179
|
+
yaml_emitter_process_tag(yaml_emitter_t *emitter);
|
180
|
+
|
181
|
+
static int
|
182
|
+
yaml_emitter_process_scalar(yaml_emitter_t *emitter);
|
183
|
+
|
184
|
+
/*
|
185
|
+
* Analyzers.
|
186
|
+
*/
|
187
|
+
|
188
|
+
static int
|
189
|
+
yaml_emitter_analyze_version_directive(yaml_emitter_t *emitter,
|
190
|
+
yaml_version_directive_t version_directive);
|
191
|
+
|
192
|
+
static int
|
193
|
+
yaml_emitter_analyze_tag_directive(yaml_emitter_t *emitter,
|
194
|
+
yaml_tag_directive_t tag_directive);
|
195
|
+
|
196
|
+
static int
|
197
|
+
yaml_emitter_analyze_anchor(yaml_emitter_t *emitter,
|
198
|
+
yaml_char_t *anchor, int alias);
|
199
|
+
|
200
|
+
static int
|
201
|
+
yaml_emitter_analyze_tag(yaml_emitter_t *emitter,
|
202
|
+
yaml_char_t *tag);
|
203
|
+
|
204
|
+
static int
|
205
|
+
yaml_emitter_analyze_scalar(yaml_emitter_t *emitter,
|
206
|
+
yaml_char_t *value, size_t length);
|
207
|
+
|
208
|
+
static int
|
209
|
+
yaml_emitter_analyze_event(yaml_emitter_t *emitter,
|
210
|
+
yaml_event_t *event);
|
211
|
+
|
212
|
+
/*
|
213
|
+
* Writers.
|
214
|
+
*/
|
215
|
+
|
216
|
+
static int
|
217
|
+
yaml_emitter_write_bom(yaml_emitter_t *emitter);
|
218
|
+
|
219
|
+
static int
|
220
|
+
yaml_emitter_write_indent(yaml_emitter_t *emitter);
|
221
|
+
|
222
|
+
static int
|
223
|
+
yaml_emitter_write_indicator(yaml_emitter_t *emitter,
|
224
|
+
const char *indicator, int need_whitespace,
|
225
|
+
int is_whitespace, int is_indention);
|
226
|
+
|
227
|
+
static int
|
228
|
+
yaml_emitter_write_anchor(yaml_emitter_t *emitter,
|
229
|
+
yaml_char_t *value, size_t length);
|
230
|
+
|
231
|
+
static int
|
232
|
+
yaml_emitter_write_tag_handle(yaml_emitter_t *emitter,
|
233
|
+
yaml_char_t *value, size_t length);
|
234
|
+
|
235
|
+
static int
|
236
|
+
yaml_emitter_write_tag_content(yaml_emitter_t *emitter,
|
237
|
+
yaml_char_t *value, size_t length, int need_whitespace);
|
238
|
+
|
239
|
+
static int
|
240
|
+
yaml_emitter_write_plain_scalar(yaml_emitter_t *emitter,
|
241
|
+
yaml_char_t *value, size_t length, int allow_breaks);
|
242
|
+
|
243
|
+
static int
|
244
|
+
yaml_emitter_write_single_quoted_scalar(yaml_emitter_t *emitter,
|
245
|
+
yaml_char_t *value, size_t length, int allow_breaks);
|
246
|
+
|
247
|
+
static int
|
248
|
+
yaml_emitter_write_double_quoted_scalar(yaml_emitter_t *emitter,
|
249
|
+
yaml_char_t *value, size_t length, int allow_breaks);
|
250
|
+
|
251
|
+
static int
|
252
|
+
yaml_emitter_write_block_scalar_hints(yaml_emitter_t *emitter,
|
253
|
+
yaml_string_t string);
|
254
|
+
|
255
|
+
static int
|
256
|
+
yaml_emitter_write_literal_scalar(yaml_emitter_t *emitter,
|
257
|
+
yaml_char_t *value, size_t length);
|
258
|
+
|
259
|
+
static int
|
260
|
+
yaml_emitter_write_folded_scalar(yaml_emitter_t *emitter,
|
261
|
+
yaml_char_t *value, size_t length);
|
262
|
+
|
263
|
+
/*
|
264
|
+
* Set an emitter error and return 0.
|
265
|
+
*/
|
266
|
+
|
267
|
+
static int
|
268
|
+
yaml_emitter_set_emitter_error(yaml_emitter_t *emitter, const char *problem)
|
269
|
+
{
|
270
|
+
emitter->error = YAML_EMITTER_ERROR;
|
271
|
+
emitter->problem = problem;
|
272
|
+
|
273
|
+
return 0;
|
274
|
+
}
|
275
|
+
|
276
|
+
/*
|
277
|
+
* Emit an event.
|
278
|
+
*/
|
279
|
+
|
280
|
+
YAML_DECLARE(int)
|
281
|
+
yaml_emitter_emit(yaml_emitter_t *emitter, yaml_event_t *event)
|
282
|
+
{
|
283
|
+
if (!ENQUEUE(emitter, emitter->events, *event)) {
|
284
|
+
yaml_event_delete(event);
|
285
|
+
return 0;
|
286
|
+
}
|
287
|
+
|
288
|
+
while (!yaml_emitter_need_more_events(emitter)) {
|
289
|
+
if (!yaml_emitter_analyze_event(emitter, emitter->events.head))
|
290
|
+
return 0;
|
291
|
+
if (!yaml_emitter_state_machine(emitter, emitter->events.head))
|
292
|
+
return 0;
|
293
|
+
yaml_event_delete(&DEQUEUE(emitter, emitter->events));
|
294
|
+
}
|
295
|
+
|
296
|
+
return 1;
|
297
|
+
}
|
298
|
+
|
299
|
+
/*
|
300
|
+
* Check if we need to accumulate more events before emitting.
|
301
|
+
*
|
302
|
+
* We accumulate extra
|
303
|
+
* - 1 event for DOCUMENT-START
|
304
|
+
* - 2 events for SEQUENCE-START
|
305
|
+
* - 3 events for MAPPING-START
|
306
|
+
*/
|
307
|
+
|
308
|
+
static int
|
309
|
+
yaml_emitter_need_more_events(yaml_emitter_t *emitter)
|
310
|
+
{
|
311
|
+
int level = 0;
|
312
|
+
int accumulate = 0;
|
313
|
+
yaml_event_t *event;
|
314
|
+
|
315
|
+
if (QUEUE_EMPTY(emitter, emitter->events))
|
316
|
+
return 1;
|
317
|
+
|
318
|
+
switch (emitter->events.head->type) {
|
319
|
+
case YAML_DOCUMENT_START_EVENT:
|
320
|
+
accumulate = 1;
|
321
|
+
break;
|
322
|
+
case YAML_SEQUENCE_START_EVENT:
|
323
|
+
accumulate = 2;
|
324
|
+
break;
|
325
|
+
case YAML_MAPPING_START_EVENT:
|
326
|
+
accumulate = 3;
|
327
|
+
break;
|
328
|
+
default:
|
329
|
+
return 0;
|
330
|
+
}
|
331
|
+
|
332
|
+
if (emitter->events.tail - emitter->events.head > accumulate)
|
333
|
+
return 0;
|
334
|
+
|
335
|
+
for (event = emitter->events.head; event != emitter->events.tail; event ++) {
|
336
|
+
switch (event->type) {
|
337
|
+
case YAML_STREAM_START_EVENT:
|
338
|
+
case YAML_DOCUMENT_START_EVENT:
|
339
|
+
case YAML_SEQUENCE_START_EVENT:
|
340
|
+
case YAML_MAPPING_START_EVENT:
|
341
|
+
level += 1;
|
342
|
+
break;
|
343
|
+
case YAML_STREAM_END_EVENT:
|
344
|
+
case YAML_DOCUMENT_END_EVENT:
|
345
|
+
case YAML_SEQUENCE_END_EVENT:
|
346
|
+
case YAML_MAPPING_END_EVENT:
|
347
|
+
level -= 1;
|
348
|
+
break;
|
349
|
+
default:
|
350
|
+
break;
|
351
|
+
}
|
352
|
+
if (!level)
|
353
|
+
return 0;
|
354
|
+
}
|
355
|
+
|
356
|
+
return 1;
|
357
|
+
}
|
358
|
+
|
359
|
+
/*
|
360
|
+
* Append a directive to the directives stack.
|
361
|
+
*/
|
362
|
+
|
363
|
+
static int
|
364
|
+
yaml_emitter_append_tag_directive(yaml_emitter_t *emitter,
|
365
|
+
yaml_tag_directive_t value, int allow_duplicates)
|
366
|
+
{
|
367
|
+
yaml_tag_directive_t *tag_directive;
|
368
|
+
yaml_tag_directive_t copy = { NULL, NULL };
|
369
|
+
|
370
|
+
for (tag_directive = emitter->tag_directives.start;
|
371
|
+
tag_directive != emitter->tag_directives.top; tag_directive ++) {
|
372
|
+
if (strcmp((char *)value.handle, (char *)tag_directive->handle) == 0) {
|
373
|
+
if (allow_duplicates)
|
374
|
+
return 1;
|
375
|
+
return yaml_emitter_set_emitter_error(emitter,
|
376
|
+
"duplicate %TAG directive");
|
377
|
+
}
|
378
|
+
}
|
379
|
+
|
380
|
+
copy.handle = yaml_strdup(value.handle);
|
381
|
+
copy.prefix = yaml_strdup(value.prefix);
|
382
|
+
if (!copy.handle || !copy.prefix) {
|
383
|
+
emitter->error = YAML_MEMORY_ERROR;
|
384
|
+
goto error;
|
385
|
+
}
|
386
|
+
|
387
|
+
if (!PUSH(emitter, emitter->tag_directives, copy))
|
388
|
+
goto error;
|
389
|
+
|
390
|
+
return 1;
|
391
|
+
|
392
|
+
error:
|
393
|
+
yaml_free(copy.handle);
|
394
|
+
yaml_free(copy.prefix);
|
395
|
+
return 0;
|
396
|
+
}
|
397
|
+
|
398
|
+
/*
|
399
|
+
* Increase the indentation level.
|
400
|
+
*/
|
401
|
+
|
402
|
+
static int
|
403
|
+
yaml_emitter_increase_indent(yaml_emitter_t *emitter,
|
404
|
+
int flow, int indentless)
|
405
|
+
{
|
406
|
+
if (!PUSH(emitter, emitter->indents, emitter->indent))
|
407
|
+
return 0;
|
408
|
+
|
409
|
+
if (emitter->indent < 0) {
|
410
|
+
emitter->indent = flow ? emitter->best_indent : 0;
|
411
|
+
}
|
412
|
+
else if (!indentless) {
|
413
|
+
emitter->indent += emitter->best_indent;
|
414
|
+
}
|
415
|
+
|
416
|
+
return 1;
|
417
|
+
}
|
418
|
+
|
419
|
+
/*
|
420
|
+
* State dispatcher.
|
421
|
+
*/
|
422
|
+
|
423
|
+
static int
|
424
|
+
yaml_emitter_state_machine(yaml_emitter_t *emitter, yaml_event_t *event)
|
425
|
+
{
|
426
|
+
switch (emitter->state)
|
427
|
+
{
|
428
|
+
case YAML_EMIT_STREAM_START_STATE:
|
429
|
+
return yaml_emitter_emit_stream_start(emitter, event);
|
430
|
+
|
431
|
+
case YAML_EMIT_FIRST_DOCUMENT_START_STATE:
|
432
|
+
return yaml_emitter_emit_document_start(emitter, event, 1);
|
433
|
+
|
434
|
+
case YAML_EMIT_DOCUMENT_START_STATE:
|
435
|
+
return yaml_emitter_emit_document_start(emitter, event, 0);
|
436
|
+
|
437
|
+
case YAML_EMIT_DOCUMENT_CONTENT_STATE:
|
438
|
+
return yaml_emitter_emit_document_content(emitter, event);
|
439
|
+
|
440
|
+
case YAML_EMIT_DOCUMENT_END_STATE:
|
441
|
+
return yaml_emitter_emit_document_end(emitter, event);
|
442
|
+
|
443
|
+
case YAML_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE:
|
444
|
+
return yaml_emitter_emit_flow_sequence_item(emitter, event, 1);
|
445
|
+
|
446
|
+
case YAML_EMIT_FLOW_SEQUENCE_ITEM_STATE:
|
447
|
+
return yaml_emitter_emit_flow_sequence_item(emitter, event, 0);
|
448
|
+
|
449
|
+
case YAML_EMIT_FLOW_MAPPING_FIRST_KEY_STATE:
|
450
|
+
return yaml_emitter_emit_flow_mapping_key(emitter, event, 1);
|
451
|
+
|
452
|
+
case YAML_EMIT_FLOW_MAPPING_KEY_STATE:
|
453
|
+
return yaml_emitter_emit_flow_mapping_key(emitter, event, 0);
|
454
|
+
|
455
|
+
case YAML_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE:
|
456
|
+
return yaml_emitter_emit_flow_mapping_value(emitter, event, 1);
|
457
|
+
|
458
|
+
case YAML_EMIT_FLOW_MAPPING_VALUE_STATE:
|
459
|
+
return yaml_emitter_emit_flow_mapping_value(emitter, event, 0);
|
460
|
+
|
461
|
+
case YAML_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE:
|
462
|
+
return yaml_emitter_emit_block_sequence_item(emitter, event, 1);
|
463
|
+
|
464
|
+
case YAML_EMIT_BLOCK_SEQUENCE_ITEM_STATE:
|
465
|
+
return yaml_emitter_emit_block_sequence_item(emitter, event, 0);
|
466
|
+
|
467
|
+
case YAML_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE:
|
468
|
+
return yaml_emitter_emit_block_mapping_key(emitter, event, 1);
|
469
|
+
|
470
|
+
case YAML_EMIT_BLOCK_MAPPING_KEY_STATE:
|
471
|
+
return yaml_emitter_emit_block_mapping_key(emitter, event, 0);
|
472
|
+
|
473
|
+
case YAML_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE:
|
474
|
+
return yaml_emitter_emit_block_mapping_value(emitter, event, 1);
|
475
|
+
|
476
|
+
case YAML_EMIT_BLOCK_MAPPING_VALUE_STATE:
|
477
|
+
return yaml_emitter_emit_block_mapping_value(emitter, event, 0);
|
478
|
+
|
479
|
+
case YAML_EMIT_END_STATE:
|
480
|
+
return yaml_emitter_set_emitter_error(emitter,
|
481
|
+
"expected nothing after STREAM-END");
|
482
|
+
|
483
|
+
default:
|
484
|
+
assert(1); /* Invalid state. */
|
485
|
+
}
|
486
|
+
|
487
|
+
return 0;
|
488
|
+
}
|
489
|
+
|
490
|
+
/*
|
491
|
+
* Expect STREAM-START.
|
492
|
+
*/
|
493
|
+
|
494
|
+
static int
|
495
|
+
yaml_emitter_emit_stream_start(yaml_emitter_t *emitter,
|
496
|
+
yaml_event_t *event)
|
497
|
+
{
|
498
|
+
emitter->open_ended = 0;
|
499
|
+
if (event->type == YAML_STREAM_START_EVENT)
|
500
|
+
{
|
501
|
+
if (!emitter->encoding) {
|
502
|
+
emitter->encoding = event->data.stream_start.encoding;
|
503
|
+
}
|
504
|
+
|
505
|
+
if (!emitter->encoding) {
|
506
|
+
emitter->encoding = YAML_UTF8_ENCODING;
|
507
|
+
}
|
508
|
+
|
509
|
+
if (emitter->best_indent < 2 || emitter->best_indent > 9) {
|
510
|
+
emitter->best_indent = 2;
|
511
|
+
}
|
512
|
+
|
513
|
+
if (emitter->best_width >= 0
|
514
|
+
&& emitter->best_width <= emitter->best_indent*2) {
|
515
|
+
emitter->best_width = 80;
|
516
|
+
}
|
517
|
+
|
518
|
+
if (emitter->best_width < 0) {
|
519
|
+
emitter->best_width = INT_MAX;
|
520
|
+
}
|
521
|
+
|
522
|
+
if (!emitter->line_break) {
|
523
|
+
emitter->line_break = YAML_LN_BREAK;
|
524
|
+
}
|
525
|
+
|
526
|
+
emitter->indent = -1;
|
527
|
+
|
528
|
+
emitter->line = 0;
|
529
|
+
emitter->column = 0;
|
530
|
+
emitter->whitespace = 1;
|
531
|
+
emitter->indention = 1;
|
532
|
+
|
533
|
+
if (emitter->encoding != YAML_UTF8_ENCODING) {
|
534
|
+
if (!yaml_emitter_write_bom(emitter))
|
535
|
+
return 0;
|
536
|
+
}
|
537
|
+
|
538
|
+
emitter->state = YAML_EMIT_FIRST_DOCUMENT_START_STATE;
|
539
|
+
|
540
|
+
return 1;
|
541
|
+
}
|
542
|
+
|
543
|
+
return yaml_emitter_set_emitter_error(emitter,
|
544
|
+
"expected STREAM-START");
|
545
|
+
}
|
546
|
+
|
547
|
+
/*
|
548
|
+
* Expect DOCUMENT-START or STREAM-END.
|
549
|
+
*/
|
550
|
+
|
551
|
+
static int
|
552
|
+
yaml_emitter_emit_document_start(yaml_emitter_t *emitter,
|
553
|
+
yaml_event_t *event, int first)
|
554
|
+
{
|
555
|
+
if (event->type == YAML_DOCUMENT_START_EVENT)
|
556
|
+
{
|
557
|
+
yaml_tag_directive_t default_tag_directives[] = {
|
558
|
+
{(yaml_char_t *)"!", (yaml_char_t *)"!"},
|
559
|
+
{(yaml_char_t *)"!!", (yaml_char_t *)"tag:yaml.org,2002:"},
|
560
|
+
{NULL, NULL}
|
561
|
+
};
|
562
|
+
yaml_tag_directive_t *tag_directive;
|
563
|
+
int implicit;
|
564
|
+
|
565
|
+
if (event->data.document_start.version_directive) {
|
566
|
+
if (!yaml_emitter_analyze_version_directive(emitter,
|
567
|
+
*event->data.document_start.version_directive))
|
568
|
+
return 0;
|
569
|
+
}
|
570
|
+
|
571
|
+
for (tag_directive = event->data.document_start.tag_directives.start;
|
572
|
+
tag_directive != event->data.document_start.tag_directives.end;
|
573
|
+
tag_directive ++) {
|
574
|
+
if (!yaml_emitter_analyze_tag_directive(emitter, *tag_directive))
|
575
|
+
return 0;
|
576
|
+
if (!yaml_emitter_append_tag_directive(emitter, *tag_directive, 0))
|
577
|
+
return 0;
|
578
|
+
}
|
579
|
+
|
580
|
+
for (tag_directive = default_tag_directives;
|
581
|
+
tag_directive->handle; tag_directive ++) {
|
582
|
+
if (!yaml_emitter_append_tag_directive(emitter, *tag_directive, 1))
|
583
|
+
return 0;
|
584
|
+
}
|
585
|
+
|
586
|
+
implicit = event->data.document_start.implicit;
|
587
|
+
if (!first || emitter->canonical) {
|
588
|
+
implicit = 0;
|
589
|
+
}
|
590
|
+
|
591
|
+
if ((event->data.document_start.version_directive ||
|
592
|
+
(event->data.document_start.tag_directives.start
|
593
|
+
!= event->data.document_start.tag_directives.end)) &&
|
594
|
+
emitter->open_ended)
|
595
|
+
{
|
596
|
+
if (!yaml_emitter_write_indicator(emitter, "...", 1, 0, 0))
|
597
|
+
return 0;
|
598
|
+
if (!yaml_emitter_write_indent(emitter))
|
599
|
+
return 0;
|
600
|
+
}
|
601
|
+
emitter->open_ended = 0;
|
602
|
+
|
603
|
+
if (event->data.document_start.version_directive) {
|
604
|
+
implicit = 0;
|
605
|
+
if (!yaml_emitter_write_indicator(emitter, "%YAML", 1, 0, 0))
|
606
|
+
return 0;
|
607
|
+
if (event->data.document_start.version_directive->minor == 1) {
|
608
|
+
if (!yaml_emitter_write_indicator(emitter, "1.1", 1, 0, 0))
|
609
|
+
return 0;
|
610
|
+
}
|
611
|
+
else {
|
612
|
+
if (!yaml_emitter_write_indicator(emitter, "1.2", 1, 0, 0))
|
613
|
+
return 0;
|
614
|
+
}
|
615
|
+
if (!yaml_emitter_write_indent(emitter))
|
616
|
+
return 0;
|
617
|
+
}
|
618
|
+
|
619
|
+
if (event->data.document_start.tag_directives.start
|
620
|
+
!= event->data.document_start.tag_directives.end) {
|
621
|
+
implicit = 0;
|
622
|
+
for (tag_directive = event->data.document_start.tag_directives.start;
|
623
|
+
tag_directive != event->data.document_start.tag_directives.end;
|
624
|
+
tag_directive ++) {
|
625
|
+
if (!yaml_emitter_write_indicator(emitter, "%TAG", 1, 0, 0))
|
626
|
+
return 0;
|
627
|
+
if (!yaml_emitter_write_tag_handle(emitter, tag_directive->handle,
|
628
|
+
strlen((char *)tag_directive->handle)))
|
629
|
+
return 0;
|
630
|
+
if (!yaml_emitter_write_tag_content(emitter, tag_directive->prefix,
|
631
|
+
strlen((char *)tag_directive->prefix), 1))
|
632
|
+
return 0;
|
633
|
+
if (!yaml_emitter_write_indent(emitter))
|
634
|
+
return 0;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
|
638
|
+
if (yaml_emitter_check_empty_document(emitter)) {
|
639
|
+
implicit = 0;
|
640
|
+
}
|
641
|
+
|
642
|
+
if (!implicit) {
|
643
|
+
if (!yaml_emitter_write_indent(emitter))
|
644
|
+
return 0;
|
645
|
+
if (!yaml_emitter_write_indicator(emitter, "---", 1, 0, 0))
|
646
|
+
return 0;
|
647
|
+
if (emitter->canonical) {
|
648
|
+
if (!yaml_emitter_write_indent(emitter))
|
649
|
+
return 0;
|
650
|
+
}
|
651
|
+
}
|
652
|
+
|
653
|
+
emitter->state = YAML_EMIT_DOCUMENT_CONTENT_STATE;
|
654
|
+
|
655
|
+
emitter->open_ended = 0;
|
656
|
+
return 1;
|
657
|
+
}
|
658
|
+
|
659
|
+
else if (event->type == YAML_STREAM_END_EVENT)
|
660
|
+
{
|
661
|
+
|
662
|
+
/**
|
663
|
+
* This can happen if a block scalar with trailing empty lines
|
664
|
+
* is at the end of the stream
|
665
|
+
*/
|
666
|
+
if (emitter->open_ended == 2)
|
667
|
+
{
|
668
|
+
if (!yaml_emitter_write_indicator(emitter, "...", 1, 0, 0))
|
669
|
+
return 0;
|
670
|
+
emitter->open_ended = 0;
|
671
|
+
if (!yaml_emitter_write_indent(emitter))
|
672
|
+
return 0;
|
673
|
+
}
|
674
|
+
if (!yaml_emitter_flush(emitter))
|
675
|
+
return 0;
|
676
|
+
|
677
|
+
emitter->state = YAML_EMIT_END_STATE;
|
678
|
+
|
679
|
+
return 1;
|
680
|
+
}
|
681
|
+
|
682
|
+
return yaml_emitter_set_emitter_error(emitter,
|
683
|
+
"expected DOCUMENT-START or STREAM-END");
|
684
|
+
}
|
685
|
+
|
686
|
+
/*
|
687
|
+
* Expect the root node.
|
688
|
+
*/
|
689
|
+
|
690
|
+
static int
|
691
|
+
yaml_emitter_emit_document_content(yaml_emitter_t *emitter,
|
692
|
+
yaml_event_t *event)
|
693
|
+
{
|
694
|
+
if (!PUSH(emitter, emitter->states, YAML_EMIT_DOCUMENT_END_STATE))
|
695
|
+
return 0;
|
696
|
+
|
697
|
+
return yaml_emitter_emit_node(emitter, event, 1, 0, 0, 0);
|
698
|
+
}
|
699
|
+
|
700
|
+
/*
|
701
|
+
* Expect DOCUMENT-END.
|
702
|
+
*/
|
703
|
+
|
704
|
+
static int
|
705
|
+
yaml_emitter_emit_document_end(yaml_emitter_t *emitter,
|
706
|
+
yaml_event_t *event)
|
707
|
+
{
|
708
|
+
if (event->type == YAML_DOCUMENT_END_EVENT)
|
709
|
+
{
|
710
|
+
if (!yaml_emitter_write_indent(emitter))
|
711
|
+
return 0;
|
712
|
+
if (!event->data.document_end.implicit) {
|
713
|
+
if (!yaml_emitter_write_indicator(emitter, "...", 1, 0, 0))
|
714
|
+
return 0;
|
715
|
+
emitter->open_ended = 0;
|
716
|
+
if (!yaml_emitter_write_indent(emitter))
|
717
|
+
return 0;
|
718
|
+
}
|
719
|
+
else if (!emitter->open_ended)
|
720
|
+
emitter->open_ended = 1;
|
721
|
+
if (!yaml_emitter_flush(emitter))
|
722
|
+
return 0;
|
723
|
+
|
724
|
+
emitter->state = YAML_EMIT_DOCUMENT_START_STATE;
|
725
|
+
|
726
|
+
while (!STACK_EMPTY(emitter, emitter->tag_directives)) {
|
727
|
+
yaml_tag_directive_t tag_directive = POP(emitter,
|
728
|
+
emitter->tag_directives);
|
729
|
+
yaml_free(tag_directive.handle);
|
730
|
+
yaml_free(tag_directive.prefix);
|
731
|
+
}
|
732
|
+
|
733
|
+
return 1;
|
734
|
+
}
|
735
|
+
|
736
|
+
return yaml_emitter_set_emitter_error(emitter,
|
737
|
+
"expected DOCUMENT-END");
|
738
|
+
}
|
739
|
+
|
740
|
+
/*
|
741
|
+
*
|
742
|
+
* Expect a flow item node.
|
743
|
+
*/
|
744
|
+
|
745
|
+
static int
|
746
|
+
yaml_emitter_emit_flow_sequence_item(yaml_emitter_t *emitter,
|
747
|
+
yaml_event_t *event, int first)
|
748
|
+
{
|
749
|
+
if (first)
|
750
|
+
{
|
751
|
+
if (!yaml_emitter_write_indicator(emitter, "[", 1, 1, 0))
|
752
|
+
return 0;
|
753
|
+
if (!yaml_emitter_increase_indent(emitter, 1, 0))
|
754
|
+
return 0;
|
755
|
+
emitter->flow_level ++;
|
756
|
+
}
|
757
|
+
|
758
|
+
if (event->type == YAML_SEQUENCE_END_EVENT)
|
759
|
+
{
|
760
|
+
emitter->flow_level --;
|
761
|
+
emitter->indent = POP(emitter, emitter->indents);
|
762
|
+
if (emitter->canonical && !first) {
|
763
|
+
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
|
764
|
+
return 0;
|
765
|
+
if (!yaml_emitter_write_indent(emitter))
|
766
|
+
return 0;
|
767
|
+
}
|
768
|
+
if (!yaml_emitter_write_indicator(emitter, "]", 0, 0, 0))
|
769
|
+
return 0;
|
770
|
+
emitter->state = POP(emitter, emitter->states);
|
771
|
+
|
772
|
+
return 1;
|
773
|
+
}
|
774
|
+
|
775
|
+
if (!first) {
|
776
|
+
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
|
777
|
+
return 0;
|
778
|
+
}
|
779
|
+
|
780
|
+
if (emitter->canonical || emitter->column > emitter->best_width) {
|
781
|
+
if (!yaml_emitter_write_indent(emitter))
|
782
|
+
return 0;
|
783
|
+
}
|
784
|
+
if (!PUSH(emitter, emitter->states, YAML_EMIT_FLOW_SEQUENCE_ITEM_STATE))
|
785
|
+
return 0;
|
786
|
+
|
787
|
+
return yaml_emitter_emit_node(emitter, event, 0, 1, 0, 0);
|
788
|
+
}
|
789
|
+
|
790
|
+
/*
|
791
|
+
* Expect a flow key node.
|
792
|
+
*/
|
793
|
+
|
794
|
+
static int
|
795
|
+
yaml_emitter_emit_flow_mapping_key(yaml_emitter_t *emitter,
|
796
|
+
yaml_event_t *event, int first)
|
797
|
+
{
|
798
|
+
if (first)
|
799
|
+
{
|
800
|
+
if (!yaml_emitter_write_indicator(emitter, "{", 1, 1, 0))
|
801
|
+
return 0;
|
802
|
+
if (!yaml_emitter_increase_indent(emitter, 1, 0))
|
803
|
+
return 0;
|
804
|
+
emitter->flow_level ++;
|
805
|
+
}
|
806
|
+
|
807
|
+
if (event->type == YAML_MAPPING_END_EVENT)
|
808
|
+
{
|
809
|
+
emitter->flow_level --;
|
810
|
+
emitter->indent = POP(emitter, emitter->indents);
|
811
|
+
if (emitter->canonical && !first) {
|
812
|
+
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
|
813
|
+
return 0;
|
814
|
+
if (!yaml_emitter_write_indent(emitter))
|
815
|
+
return 0;
|
816
|
+
}
|
817
|
+
if (!yaml_emitter_write_indicator(emitter, "}", 0, 0, 0))
|
818
|
+
return 0;
|
819
|
+
emitter->state = POP(emitter, emitter->states);
|
820
|
+
|
821
|
+
return 1;
|
822
|
+
}
|
823
|
+
|
824
|
+
if (!first) {
|
825
|
+
if (!yaml_emitter_write_indicator(emitter, ",", 0, 0, 0))
|
826
|
+
return 0;
|
827
|
+
}
|
828
|
+
if (emitter->canonical || emitter->column > emitter->best_width) {
|
829
|
+
if (!yaml_emitter_write_indent(emitter))
|
830
|
+
return 0;
|
831
|
+
}
|
832
|
+
|
833
|
+
if (!emitter->canonical && yaml_emitter_check_simple_key(emitter))
|
834
|
+
{
|
835
|
+
if (!PUSH(emitter, emitter->states,
|
836
|
+
YAML_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE))
|
837
|
+
return 0;
|
838
|
+
|
839
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 1);
|
840
|
+
}
|
841
|
+
else
|
842
|
+
{
|
843
|
+
if (!yaml_emitter_write_indicator(emitter, "?", 1, 0, 0))
|
844
|
+
return 0;
|
845
|
+
if (!PUSH(emitter, emitter->states,
|
846
|
+
YAML_EMIT_FLOW_MAPPING_VALUE_STATE))
|
847
|
+
return 0;
|
848
|
+
|
849
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
|
850
|
+
}
|
851
|
+
}
|
852
|
+
|
853
|
+
/*
|
854
|
+
* Expect a flow value node.
|
855
|
+
*/
|
856
|
+
|
857
|
+
static int
|
858
|
+
yaml_emitter_emit_flow_mapping_value(yaml_emitter_t *emitter,
|
859
|
+
yaml_event_t *event, int simple)
|
860
|
+
{
|
861
|
+
if (simple) {
|
862
|
+
if (!yaml_emitter_write_indicator(emitter, ":", 0, 0, 0))
|
863
|
+
return 0;
|
864
|
+
}
|
865
|
+
else {
|
866
|
+
if (emitter->canonical || emitter->column > emitter->best_width) {
|
867
|
+
if (!yaml_emitter_write_indent(emitter))
|
868
|
+
return 0;
|
869
|
+
}
|
870
|
+
if (!yaml_emitter_write_indicator(emitter, ":", 1, 0, 0))
|
871
|
+
return 0;
|
872
|
+
}
|
873
|
+
if (!PUSH(emitter, emitter->states, YAML_EMIT_FLOW_MAPPING_KEY_STATE))
|
874
|
+
return 0;
|
875
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
|
876
|
+
}
|
877
|
+
|
878
|
+
/*
|
879
|
+
* Expect a block item node.
|
880
|
+
*/
|
881
|
+
|
882
|
+
static int
|
883
|
+
yaml_emitter_emit_block_sequence_item(yaml_emitter_t *emitter,
|
884
|
+
yaml_event_t *event, int first)
|
885
|
+
{
|
886
|
+
if (first)
|
887
|
+
{
|
888
|
+
if (!yaml_emitter_increase_indent(emitter, 0,
|
889
|
+
(emitter->mapping_context && !emitter->indention)))
|
890
|
+
return 0;
|
891
|
+
}
|
892
|
+
|
893
|
+
if (event->type == YAML_SEQUENCE_END_EVENT)
|
894
|
+
{
|
895
|
+
emitter->indent = POP(emitter, emitter->indents);
|
896
|
+
emitter->state = POP(emitter, emitter->states);
|
897
|
+
|
898
|
+
return 1;
|
899
|
+
}
|
900
|
+
|
901
|
+
if (!yaml_emitter_write_indent(emitter))
|
902
|
+
return 0;
|
903
|
+
if (!yaml_emitter_write_indicator(emitter, "-", 1, 0, 1))
|
904
|
+
return 0;
|
905
|
+
if (!PUSH(emitter, emitter->states,
|
906
|
+
YAML_EMIT_BLOCK_SEQUENCE_ITEM_STATE))
|
907
|
+
return 0;
|
908
|
+
|
909
|
+
return yaml_emitter_emit_node(emitter, event, 0, 1, 0, 0);
|
910
|
+
}
|
911
|
+
|
912
|
+
/*
|
913
|
+
* Expect a block key node.
|
914
|
+
*/
|
915
|
+
|
916
|
+
static int
|
917
|
+
yaml_emitter_emit_block_mapping_key(yaml_emitter_t *emitter,
|
918
|
+
yaml_event_t *event, int first)
|
919
|
+
{
|
920
|
+
if (first)
|
921
|
+
{
|
922
|
+
if (!yaml_emitter_increase_indent(emitter, 0, 0))
|
923
|
+
return 0;
|
924
|
+
}
|
925
|
+
|
926
|
+
if (event->type == YAML_MAPPING_END_EVENT)
|
927
|
+
{
|
928
|
+
emitter->indent = POP(emitter, emitter->indents);
|
929
|
+
emitter->state = POP(emitter, emitter->states);
|
930
|
+
|
931
|
+
return 1;
|
932
|
+
}
|
933
|
+
|
934
|
+
if (!yaml_emitter_write_indent(emitter))
|
935
|
+
return 0;
|
936
|
+
|
937
|
+
if (yaml_emitter_check_simple_key(emitter))
|
938
|
+
{
|
939
|
+
if (!PUSH(emitter, emitter->states,
|
940
|
+
YAML_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE))
|
941
|
+
return 0;
|
942
|
+
|
943
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 1);
|
944
|
+
}
|
945
|
+
else
|
946
|
+
{
|
947
|
+
if (!yaml_emitter_write_indicator(emitter, "?", 1, 0, 1))
|
948
|
+
return 0;
|
949
|
+
if (!PUSH(emitter, emitter->states,
|
950
|
+
YAML_EMIT_BLOCK_MAPPING_VALUE_STATE))
|
951
|
+
return 0;
|
952
|
+
|
953
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
|
954
|
+
}
|
955
|
+
}
|
956
|
+
|
957
|
+
/*
|
958
|
+
* Expect a block value node.
|
959
|
+
*/
|
960
|
+
|
961
|
+
static int
|
962
|
+
yaml_emitter_emit_block_mapping_value(yaml_emitter_t *emitter,
|
963
|
+
yaml_event_t *event, int simple)
|
964
|
+
{
|
965
|
+
if (simple) {
|
966
|
+
if (!yaml_emitter_write_indicator(emitter, ":", 0, 0, 0))
|
967
|
+
return 0;
|
968
|
+
}
|
969
|
+
else {
|
970
|
+
if (!yaml_emitter_write_indent(emitter))
|
971
|
+
return 0;
|
972
|
+
if (!yaml_emitter_write_indicator(emitter, ":", 1, 0, 1))
|
973
|
+
return 0;
|
974
|
+
}
|
975
|
+
if (!PUSH(emitter, emitter->states,
|
976
|
+
YAML_EMIT_BLOCK_MAPPING_KEY_STATE))
|
977
|
+
return 0;
|
978
|
+
|
979
|
+
return yaml_emitter_emit_node(emitter, event, 0, 0, 1, 0);
|
980
|
+
}
|
981
|
+
|
982
|
+
/*
|
983
|
+
* Expect a node.
|
984
|
+
*/
|
985
|
+
|
986
|
+
static int
|
987
|
+
yaml_emitter_emit_node(yaml_emitter_t *emitter, yaml_event_t *event,
|
988
|
+
int root, int sequence, int mapping, int simple_key)
|
989
|
+
{
|
990
|
+
emitter->root_context = root;
|
991
|
+
emitter->sequence_context = sequence;
|
992
|
+
emitter->mapping_context = mapping;
|
993
|
+
emitter->simple_key_context = simple_key;
|
994
|
+
|
995
|
+
switch (event->type)
|
996
|
+
{
|
997
|
+
case YAML_ALIAS_EVENT:
|
998
|
+
return yaml_emitter_emit_alias(emitter, event);
|
999
|
+
|
1000
|
+
case YAML_SCALAR_EVENT:
|
1001
|
+
return yaml_emitter_emit_scalar(emitter, event);
|
1002
|
+
|
1003
|
+
case YAML_SEQUENCE_START_EVENT:
|
1004
|
+
return yaml_emitter_emit_sequence_start(emitter, event);
|
1005
|
+
|
1006
|
+
case YAML_MAPPING_START_EVENT:
|
1007
|
+
return yaml_emitter_emit_mapping_start(emitter, event);
|
1008
|
+
|
1009
|
+
default:
|
1010
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1011
|
+
"expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS");
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
return 0;
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
/*
|
1018
|
+
* Expect ALIAS.
|
1019
|
+
*/
|
1020
|
+
|
1021
|
+
static int
|
1022
|
+
yaml_emitter_emit_alias(yaml_emitter_t *emitter, SHIM(yaml_event_t *event))
|
1023
|
+
{
|
1024
|
+
if (!yaml_emitter_process_anchor(emitter))
|
1025
|
+
return 0;
|
1026
|
+
if (emitter->simple_key_context)
|
1027
|
+
if (!PUT(emitter, ' ')) return 0;
|
1028
|
+
emitter->state = POP(emitter, emitter->states);
|
1029
|
+
|
1030
|
+
return 1;
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
/*
|
1034
|
+
* Expect SCALAR.
|
1035
|
+
*/
|
1036
|
+
|
1037
|
+
static int
|
1038
|
+
yaml_emitter_emit_scalar(yaml_emitter_t *emitter, yaml_event_t *event)
|
1039
|
+
{
|
1040
|
+
if (!yaml_emitter_select_scalar_style(emitter, event))
|
1041
|
+
return 0;
|
1042
|
+
if (!yaml_emitter_process_anchor(emitter))
|
1043
|
+
return 0;
|
1044
|
+
if (!yaml_emitter_process_tag(emitter))
|
1045
|
+
return 0;
|
1046
|
+
if (!yaml_emitter_increase_indent(emitter, 1, 0))
|
1047
|
+
return 0;
|
1048
|
+
if (!yaml_emitter_process_scalar(emitter))
|
1049
|
+
return 0;
|
1050
|
+
emitter->indent = POP(emitter, emitter->indents);
|
1051
|
+
emitter->state = POP(emitter, emitter->states);
|
1052
|
+
|
1053
|
+
return 1;
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
/*
|
1057
|
+
* Expect SEQUENCE-START.
|
1058
|
+
*/
|
1059
|
+
|
1060
|
+
static int
|
1061
|
+
yaml_emitter_emit_sequence_start(yaml_emitter_t *emitter, yaml_event_t *event)
|
1062
|
+
{
|
1063
|
+
if (!yaml_emitter_process_anchor(emitter))
|
1064
|
+
return 0;
|
1065
|
+
if (!yaml_emitter_process_tag(emitter))
|
1066
|
+
return 0;
|
1067
|
+
|
1068
|
+
if (emitter->flow_level || emitter->canonical
|
1069
|
+
|| event->data.sequence_start.style == YAML_FLOW_SEQUENCE_STYLE
|
1070
|
+
|| yaml_emitter_check_empty_sequence(emitter)) {
|
1071
|
+
emitter->state = YAML_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE;
|
1072
|
+
}
|
1073
|
+
else {
|
1074
|
+
emitter->state = YAML_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
return 1;
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
/*
|
1081
|
+
* Expect MAPPING-START.
|
1082
|
+
*/
|
1083
|
+
|
1084
|
+
static int
|
1085
|
+
yaml_emitter_emit_mapping_start(yaml_emitter_t *emitter, yaml_event_t *event)
|
1086
|
+
{
|
1087
|
+
if (!yaml_emitter_process_anchor(emitter))
|
1088
|
+
return 0;
|
1089
|
+
if (!yaml_emitter_process_tag(emitter))
|
1090
|
+
return 0;
|
1091
|
+
|
1092
|
+
if (emitter->flow_level || emitter->canonical
|
1093
|
+
|| event->data.mapping_start.style == YAML_FLOW_MAPPING_STYLE
|
1094
|
+
|| yaml_emitter_check_empty_mapping(emitter)) {
|
1095
|
+
emitter->state = YAML_EMIT_FLOW_MAPPING_FIRST_KEY_STATE;
|
1096
|
+
}
|
1097
|
+
else {
|
1098
|
+
emitter->state = YAML_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE;
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
return 1;
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
/*
|
1105
|
+
* Check if the document content is an empty scalar.
|
1106
|
+
*/
|
1107
|
+
|
1108
|
+
static int
|
1109
|
+
yaml_emitter_check_empty_document(SHIM(yaml_emitter_t *emitter))
|
1110
|
+
{
|
1111
|
+
return 0;
|
1112
|
+
}
|
1113
|
+
|
1114
|
+
/*
|
1115
|
+
* Check if the next events represent an empty sequence.
|
1116
|
+
*/
|
1117
|
+
|
1118
|
+
static int
|
1119
|
+
yaml_emitter_check_empty_sequence(yaml_emitter_t *emitter)
|
1120
|
+
{
|
1121
|
+
if (emitter->events.tail - emitter->events.head < 2)
|
1122
|
+
return 0;
|
1123
|
+
|
1124
|
+
return (emitter->events.head[0].type == YAML_SEQUENCE_START_EVENT
|
1125
|
+
&& emitter->events.head[1].type == YAML_SEQUENCE_END_EVENT);
|
1126
|
+
}
|
1127
|
+
|
1128
|
+
/*
|
1129
|
+
* Check if the next events represent an empty mapping.
|
1130
|
+
*/
|
1131
|
+
|
1132
|
+
static int
|
1133
|
+
yaml_emitter_check_empty_mapping(yaml_emitter_t *emitter)
|
1134
|
+
{
|
1135
|
+
if (emitter->events.tail - emitter->events.head < 2)
|
1136
|
+
return 0;
|
1137
|
+
|
1138
|
+
return (emitter->events.head[0].type == YAML_MAPPING_START_EVENT
|
1139
|
+
&& emitter->events.head[1].type == YAML_MAPPING_END_EVENT);
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
/*
|
1143
|
+
* Check if the next node can be expressed as a simple key.
|
1144
|
+
*/
|
1145
|
+
|
1146
|
+
static int
|
1147
|
+
yaml_emitter_check_simple_key(yaml_emitter_t *emitter)
|
1148
|
+
{
|
1149
|
+
yaml_event_t *event = emitter->events.head;
|
1150
|
+
size_t length = 0;
|
1151
|
+
|
1152
|
+
switch (event->type)
|
1153
|
+
{
|
1154
|
+
case YAML_ALIAS_EVENT:
|
1155
|
+
length += emitter->anchor_data.anchor_length;
|
1156
|
+
break;
|
1157
|
+
|
1158
|
+
case YAML_SCALAR_EVENT:
|
1159
|
+
if (emitter->scalar_data.multiline)
|
1160
|
+
return 0;
|
1161
|
+
length += emitter->anchor_data.anchor_length
|
1162
|
+
+ emitter->tag_data.handle_length
|
1163
|
+
+ emitter->tag_data.suffix_length
|
1164
|
+
+ emitter->scalar_data.length;
|
1165
|
+
break;
|
1166
|
+
|
1167
|
+
case YAML_SEQUENCE_START_EVENT:
|
1168
|
+
if (!yaml_emitter_check_empty_sequence(emitter))
|
1169
|
+
return 0;
|
1170
|
+
length += emitter->anchor_data.anchor_length
|
1171
|
+
+ emitter->tag_data.handle_length
|
1172
|
+
+ emitter->tag_data.suffix_length;
|
1173
|
+
break;
|
1174
|
+
|
1175
|
+
case YAML_MAPPING_START_EVENT:
|
1176
|
+
if (!yaml_emitter_check_empty_mapping(emitter))
|
1177
|
+
return 0;
|
1178
|
+
length += emitter->anchor_data.anchor_length
|
1179
|
+
+ emitter->tag_data.handle_length
|
1180
|
+
+ emitter->tag_data.suffix_length;
|
1181
|
+
break;
|
1182
|
+
|
1183
|
+
default:
|
1184
|
+
return 0;
|
1185
|
+
}
|
1186
|
+
|
1187
|
+
if (length > 128)
|
1188
|
+
return 0;
|
1189
|
+
|
1190
|
+
return 1;
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
/*
|
1194
|
+
* Determine an acceptable scalar style.
|
1195
|
+
*/
|
1196
|
+
|
1197
|
+
static int
|
1198
|
+
yaml_emitter_select_scalar_style(yaml_emitter_t *emitter, yaml_event_t *event)
|
1199
|
+
{
|
1200
|
+
yaml_scalar_style_t style = event->data.scalar.style;
|
1201
|
+
int no_tag = (!emitter->tag_data.handle && !emitter->tag_data.suffix);
|
1202
|
+
|
1203
|
+
if (no_tag && !event->data.scalar.plain_implicit
|
1204
|
+
&& !event->data.scalar.quoted_implicit) {
|
1205
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1206
|
+
"neither tag nor implicit flags are specified");
|
1207
|
+
}
|
1208
|
+
|
1209
|
+
if (style == YAML_ANY_SCALAR_STYLE)
|
1210
|
+
style = YAML_PLAIN_SCALAR_STYLE;
|
1211
|
+
|
1212
|
+
if (emitter->canonical)
|
1213
|
+
style = YAML_DOUBLE_QUOTED_SCALAR_STYLE;
|
1214
|
+
|
1215
|
+
if (emitter->simple_key_context && emitter->scalar_data.multiline)
|
1216
|
+
style = YAML_DOUBLE_QUOTED_SCALAR_STYLE;
|
1217
|
+
|
1218
|
+
if (style == YAML_PLAIN_SCALAR_STYLE)
|
1219
|
+
{
|
1220
|
+
if ((emitter->flow_level && !emitter->scalar_data.flow_plain_allowed)
|
1221
|
+
|| (!emitter->flow_level && !emitter->scalar_data.block_plain_allowed))
|
1222
|
+
style = YAML_SINGLE_QUOTED_SCALAR_STYLE;
|
1223
|
+
if (!emitter->scalar_data.length
|
1224
|
+
&& (emitter->flow_level || emitter->simple_key_context))
|
1225
|
+
style = YAML_SINGLE_QUOTED_SCALAR_STYLE;
|
1226
|
+
if (no_tag && !event->data.scalar.plain_implicit)
|
1227
|
+
style = YAML_SINGLE_QUOTED_SCALAR_STYLE;
|
1228
|
+
}
|
1229
|
+
|
1230
|
+
if (style == YAML_SINGLE_QUOTED_SCALAR_STYLE)
|
1231
|
+
{
|
1232
|
+
if (!emitter->scalar_data.single_quoted_allowed)
|
1233
|
+
style = YAML_DOUBLE_QUOTED_SCALAR_STYLE;
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
if (style == YAML_LITERAL_SCALAR_STYLE || style == YAML_FOLDED_SCALAR_STYLE)
|
1237
|
+
{
|
1238
|
+
if (!emitter->scalar_data.block_allowed
|
1239
|
+
|| emitter->flow_level || emitter->simple_key_context)
|
1240
|
+
style = YAML_DOUBLE_QUOTED_SCALAR_STYLE;
|
1241
|
+
}
|
1242
|
+
|
1243
|
+
if (no_tag && !event->data.scalar.quoted_implicit
|
1244
|
+
&& style != YAML_PLAIN_SCALAR_STYLE)
|
1245
|
+
{
|
1246
|
+
emitter->tag_data.handle = (yaml_char_t *)"!";
|
1247
|
+
emitter->tag_data.handle_length = 1;
|
1248
|
+
}
|
1249
|
+
|
1250
|
+
emitter->scalar_data.style = style;
|
1251
|
+
|
1252
|
+
return 1;
|
1253
|
+
}
|
1254
|
+
|
1255
|
+
/*
|
1256
|
+
* Write an anchor.
|
1257
|
+
*/
|
1258
|
+
|
1259
|
+
static int
|
1260
|
+
yaml_emitter_process_anchor(yaml_emitter_t *emitter)
|
1261
|
+
{
|
1262
|
+
if (!emitter->anchor_data.anchor)
|
1263
|
+
return 1;
|
1264
|
+
|
1265
|
+
if (!yaml_emitter_write_indicator(emitter,
|
1266
|
+
(emitter->anchor_data.alias ? "*" : "&"), 1, 0, 0))
|
1267
|
+
return 0;
|
1268
|
+
|
1269
|
+
return yaml_emitter_write_anchor(emitter,
|
1270
|
+
emitter->anchor_data.anchor, emitter->anchor_data.anchor_length);
|
1271
|
+
}
|
1272
|
+
|
1273
|
+
/*
|
1274
|
+
* Write a tag.
|
1275
|
+
*/
|
1276
|
+
|
1277
|
+
static int
|
1278
|
+
yaml_emitter_process_tag(yaml_emitter_t *emitter)
|
1279
|
+
{
|
1280
|
+
if (!emitter->tag_data.handle && !emitter->tag_data.suffix)
|
1281
|
+
return 1;
|
1282
|
+
|
1283
|
+
if (emitter->tag_data.handle)
|
1284
|
+
{
|
1285
|
+
if (!yaml_emitter_write_tag_handle(emitter, emitter->tag_data.handle,
|
1286
|
+
emitter->tag_data.handle_length))
|
1287
|
+
return 0;
|
1288
|
+
if (emitter->tag_data.suffix) {
|
1289
|
+
if (!yaml_emitter_write_tag_content(emitter, emitter->tag_data.suffix,
|
1290
|
+
emitter->tag_data.suffix_length, 0))
|
1291
|
+
return 0;
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
else
|
1295
|
+
{
|
1296
|
+
if (!yaml_emitter_write_indicator(emitter, "!<", 1, 0, 0))
|
1297
|
+
return 0;
|
1298
|
+
if (!yaml_emitter_write_tag_content(emitter, emitter->tag_data.suffix,
|
1299
|
+
emitter->tag_data.suffix_length, 0))
|
1300
|
+
return 0;
|
1301
|
+
if (!yaml_emitter_write_indicator(emitter, ">", 0, 0, 0))
|
1302
|
+
return 0;
|
1303
|
+
}
|
1304
|
+
|
1305
|
+
return 1;
|
1306
|
+
}
|
1307
|
+
|
1308
|
+
/*
|
1309
|
+
* Write a scalar.
|
1310
|
+
*/
|
1311
|
+
|
1312
|
+
static int
|
1313
|
+
yaml_emitter_process_scalar(yaml_emitter_t *emitter)
|
1314
|
+
{
|
1315
|
+
switch (emitter->scalar_data.style)
|
1316
|
+
{
|
1317
|
+
case YAML_PLAIN_SCALAR_STYLE:
|
1318
|
+
return yaml_emitter_write_plain_scalar(emitter,
|
1319
|
+
emitter->scalar_data.value, emitter->scalar_data.length,
|
1320
|
+
!emitter->simple_key_context);
|
1321
|
+
|
1322
|
+
case YAML_SINGLE_QUOTED_SCALAR_STYLE:
|
1323
|
+
return yaml_emitter_write_single_quoted_scalar(emitter,
|
1324
|
+
emitter->scalar_data.value, emitter->scalar_data.length,
|
1325
|
+
!emitter->simple_key_context);
|
1326
|
+
|
1327
|
+
case YAML_DOUBLE_QUOTED_SCALAR_STYLE:
|
1328
|
+
return yaml_emitter_write_double_quoted_scalar(emitter,
|
1329
|
+
emitter->scalar_data.value, emitter->scalar_data.length,
|
1330
|
+
!emitter->simple_key_context);
|
1331
|
+
|
1332
|
+
case YAML_LITERAL_SCALAR_STYLE:
|
1333
|
+
return yaml_emitter_write_literal_scalar(emitter,
|
1334
|
+
emitter->scalar_data.value, emitter->scalar_data.length);
|
1335
|
+
|
1336
|
+
case YAML_FOLDED_SCALAR_STYLE:
|
1337
|
+
return yaml_emitter_write_folded_scalar(emitter,
|
1338
|
+
emitter->scalar_data.value, emitter->scalar_data.length);
|
1339
|
+
|
1340
|
+
default:
|
1341
|
+
assert(1); /* Impossible. */
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
return 0;
|
1345
|
+
}
|
1346
|
+
|
1347
|
+
/*
|
1348
|
+
* Check if a %YAML directive is valid.
|
1349
|
+
*/
|
1350
|
+
|
1351
|
+
static int
|
1352
|
+
yaml_emitter_analyze_version_directive(yaml_emitter_t *emitter,
|
1353
|
+
yaml_version_directive_t version_directive)
|
1354
|
+
{
|
1355
|
+
if (version_directive.major != 1 || (
|
1356
|
+
version_directive.minor != 1
|
1357
|
+
&& version_directive.minor != 2
|
1358
|
+
)) {
|
1359
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1360
|
+
"incompatible %YAML directive");
|
1361
|
+
}
|
1362
|
+
|
1363
|
+
return 1;
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
/*
|
1367
|
+
* Check if a %TAG directive is valid.
|
1368
|
+
*/
|
1369
|
+
|
1370
|
+
static int
|
1371
|
+
yaml_emitter_analyze_tag_directive(yaml_emitter_t *emitter,
|
1372
|
+
yaml_tag_directive_t tag_directive)
|
1373
|
+
{
|
1374
|
+
yaml_string_t handle;
|
1375
|
+
yaml_string_t prefix;
|
1376
|
+
size_t handle_length;
|
1377
|
+
size_t prefix_length;
|
1378
|
+
|
1379
|
+
handle_length = strlen((char *)tag_directive.handle);
|
1380
|
+
prefix_length = strlen((char *)tag_directive.prefix);
|
1381
|
+
STRING_ASSIGN(handle, tag_directive.handle, handle_length);
|
1382
|
+
STRING_ASSIGN(prefix, tag_directive.prefix, prefix_length);
|
1383
|
+
|
1384
|
+
if (handle.start == handle.end) {
|
1385
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1386
|
+
"tag handle must not be empty");
|
1387
|
+
}
|
1388
|
+
|
1389
|
+
if (handle.start[0] != '!') {
|
1390
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1391
|
+
"tag handle must start with '!'");
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
if (handle.end[-1] != '!') {
|
1395
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1396
|
+
"tag handle must end with '!'");
|
1397
|
+
}
|
1398
|
+
|
1399
|
+
handle.pointer ++;
|
1400
|
+
|
1401
|
+
while (handle.pointer < handle.end-1) {
|
1402
|
+
if (!IS_ALPHA(handle)) {
|
1403
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1404
|
+
"tag handle must contain alphanumerical characters only");
|
1405
|
+
}
|
1406
|
+
MOVE(handle);
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
if (prefix.start == prefix.end) {
|
1410
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1411
|
+
"tag prefix must not be empty");
|
1412
|
+
}
|
1413
|
+
|
1414
|
+
return 1;
|
1415
|
+
}
|
1416
|
+
|
1417
|
+
/*
|
1418
|
+
* Check if an anchor is valid.
|
1419
|
+
*/
|
1420
|
+
|
1421
|
+
static int
|
1422
|
+
yaml_emitter_analyze_anchor(yaml_emitter_t *emitter,
|
1423
|
+
yaml_char_t *anchor, int alias)
|
1424
|
+
{
|
1425
|
+
size_t anchor_length;
|
1426
|
+
yaml_string_t string;
|
1427
|
+
|
1428
|
+
anchor_length = strlen((char *)anchor);
|
1429
|
+
STRING_ASSIGN(string, anchor, anchor_length);
|
1430
|
+
|
1431
|
+
if (string.start == string.end) {
|
1432
|
+
return yaml_emitter_set_emitter_error(emitter, alias ?
|
1433
|
+
"alias value must not be empty" :
|
1434
|
+
"anchor value must not be empty");
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
while (string.pointer != string.end) {
|
1438
|
+
if (!IS_ALPHA(string)) {
|
1439
|
+
return yaml_emitter_set_emitter_error(emitter, alias ?
|
1440
|
+
"alias value must contain alphanumerical characters only" :
|
1441
|
+
"anchor value must contain alphanumerical characters only");
|
1442
|
+
}
|
1443
|
+
MOVE(string);
|
1444
|
+
}
|
1445
|
+
|
1446
|
+
emitter->anchor_data.anchor = string.start;
|
1447
|
+
emitter->anchor_data.anchor_length = string.end - string.start;
|
1448
|
+
emitter->anchor_data.alias = alias;
|
1449
|
+
|
1450
|
+
return 1;
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
/*
|
1454
|
+
* Check if a tag is valid.
|
1455
|
+
*/
|
1456
|
+
|
1457
|
+
static int
|
1458
|
+
yaml_emitter_analyze_tag(yaml_emitter_t *emitter,
|
1459
|
+
yaml_char_t *tag)
|
1460
|
+
{
|
1461
|
+
size_t tag_length;
|
1462
|
+
yaml_string_t string;
|
1463
|
+
yaml_tag_directive_t *tag_directive;
|
1464
|
+
|
1465
|
+
tag_length = strlen((char *)tag);
|
1466
|
+
STRING_ASSIGN(string, tag, tag_length);
|
1467
|
+
|
1468
|
+
if (string.start == string.end) {
|
1469
|
+
return yaml_emitter_set_emitter_error(emitter,
|
1470
|
+
"tag value must not be empty");
|
1471
|
+
}
|
1472
|
+
|
1473
|
+
for (tag_directive = emitter->tag_directives.start;
|
1474
|
+
tag_directive != emitter->tag_directives.top; tag_directive ++) {
|
1475
|
+
size_t prefix_length = strlen((char *)tag_directive->prefix);
|
1476
|
+
if (prefix_length < (size_t)(string.end - string.start)
|
1477
|
+
&& strncmp((char *)tag_directive->prefix, (char *)string.start,
|
1478
|
+
prefix_length) == 0)
|
1479
|
+
{
|
1480
|
+
emitter->tag_data.handle = tag_directive->handle;
|
1481
|
+
emitter->tag_data.handle_length =
|
1482
|
+
strlen((char *)tag_directive->handle);
|
1483
|
+
emitter->tag_data.suffix = string.start + prefix_length;
|
1484
|
+
emitter->tag_data.suffix_length =
|
1485
|
+
(string.end - string.start) - prefix_length;
|
1486
|
+
return 1;
|
1487
|
+
}
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
emitter->tag_data.suffix = string.start;
|
1491
|
+
emitter->tag_data.suffix_length = string.end - string.start;
|
1492
|
+
|
1493
|
+
return 1;
|
1494
|
+
}
|
1495
|
+
|
1496
|
+
/*
|
1497
|
+
* Check if a scalar is valid.
|
1498
|
+
*/
|
1499
|
+
|
1500
|
+
static int
|
1501
|
+
yaml_emitter_analyze_scalar(yaml_emitter_t *emitter,
|
1502
|
+
yaml_char_t *value, size_t length)
|
1503
|
+
{
|
1504
|
+
yaml_string_t string;
|
1505
|
+
|
1506
|
+
int block_indicators = 0;
|
1507
|
+
int flow_indicators = 0;
|
1508
|
+
int line_breaks = 0;
|
1509
|
+
int special_characters = 0;
|
1510
|
+
|
1511
|
+
int leading_space = 0;
|
1512
|
+
int leading_break = 0;
|
1513
|
+
int trailing_space = 0;
|
1514
|
+
int trailing_break = 0;
|
1515
|
+
int break_space = 0;
|
1516
|
+
int space_break = 0;
|
1517
|
+
|
1518
|
+
int preceded_by_whitespace = 0;
|
1519
|
+
int followed_by_whitespace = 0;
|
1520
|
+
int previous_space = 0;
|
1521
|
+
int previous_break = 0;
|
1522
|
+
|
1523
|
+
STRING_ASSIGN(string, value, length);
|
1524
|
+
|
1525
|
+
emitter->scalar_data.value = value;
|
1526
|
+
emitter->scalar_data.length = length;
|
1527
|
+
|
1528
|
+
if (string.start == string.end)
|
1529
|
+
{
|
1530
|
+
emitter->scalar_data.multiline = 0;
|
1531
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1532
|
+
emitter->scalar_data.block_plain_allowed = 1;
|
1533
|
+
emitter->scalar_data.single_quoted_allowed = 1;
|
1534
|
+
emitter->scalar_data.block_allowed = 0;
|
1535
|
+
|
1536
|
+
return 1;
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
if ((CHECK_AT(string, '-', 0)
|
1540
|
+
&& CHECK_AT(string, '-', 1)
|
1541
|
+
&& CHECK_AT(string, '-', 2))
|
1542
|
+
|| (CHECK_AT(string, '.', 0)
|
1543
|
+
&& CHECK_AT(string, '.', 1)
|
1544
|
+
&& CHECK_AT(string, '.', 2))) {
|
1545
|
+
block_indicators = 1;
|
1546
|
+
flow_indicators = 1;
|
1547
|
+
}
|
1548
|
+
|
1549
|
+
preceded_by_whitespace = 1;
|
1550
|
+
followed_by_whitespace = IS_BLANKZ_AT(string, WIDTH(string));
|
1551
|
+
|
1552
|
+
while (string.pointer != string.end)
|
1553
|
+
{
|
1554
|
+
if (string.start == string.pointer)
|
1555
|
+
{
|
1556
|
+
if (CHECK(string, '#') || CHECK(string, ',')
|
1557
|
+
|| CHECK(string, '[') || CHECK(string, ']')
|
1558
|
+
|| CHECK(string, '{') || CHECK(string, '}')
|
1559
|
+
|| CHECK(string, '&') || CHECK(string, '*')
|
1560
|
+
|| CHECK(string, '!') || CHECK(string, '|')
|
1561
|
+
|| CHECK(string, '>') || CHECK(string, '\'')
|
1562
|
+
|| CHECK(string, '"') || CHECK(string, '%')
|
1563
|
+
|| CHECK(string, '@') || CHECK(string, '`')) {
|
1564
|
+
flow_indicators = 1;
|
1565
|
+
block_indicators = 1;
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
if (CHECK(string, '?') || CHECK(string, ':')) {
|
1569
|
+
flow_indicators = 1;
|
1570
|
+
if (followed_by_whitespace) {
|
1571
|
+
block_indicators = 1;
|
1572
|
+
}
|
1573
|
+
}
|
1574
|
+
|
1575
|
+
if (CHECK(string, '-') && followed_by_whitespace) {
|
1576
|
+
flow_indicators = 1;
|
1577
|
+
block_indicators = 1;
|
1578
|
+
}
|
1579
|
+
}
|
1580
|
+
else
|
1581
|
+
{
|
1582
|
+
if (CHECK(string, ',') || CHECK(string, '?')
|
1583
|
+
|| CHECK(string, '[') || CHECK(string, ']')
|
1584
|
+
|| CHECK(string, '{') || CHECK(string, '}')) {
|
1585
|
+
flow_indicators = 1;
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
if (CHECK(string, ':')) {
|
1589
|
+
flow_indicators = 1;
|
1590
|
+
if (followed_by_whitespace) {
|
1591
|
+
block_indicators = 1;
|
1592
|
+
}
|
1593
|
+
}
|
1594
|
+
|
1595
|
+
if (CHECK(string, '#') && preceded_by_whitespace) {
|
1596
|
+
flow_indicators = 1;
|
1597
|
+
block_indicators = 1;
|
1598
|
+
}
|
1599
|
+
}
|
1600
|
+
|
1601
|
+
if (!IS_PRINTABLE(string)
|
1602
|
+
|| (!IS_ASCII(string) && !emitter->unicode)) {
|
1603
|
+
special_characters = 1;
|
1604
|
+
}
|
1605
|
+
|
1606
|
+
if (IS_BREAK(string)) {
|
1607
|
+
line_breaks = 1;
|
1608
|
+
}
|
1609
|
+
|
1610
|
+
if (IS_SPACE(string))
|
1611
|
+
{
|
1612
|
+
if (string.start == string.pointer) {
|
1613
|
+
leading_space = 1;
|
1614
|
+
}
|
1615
|
+
if (string.pointer+WIDTH(string) == string.end) {
|
1616
|
+
trailing_space = 1;
|
1617
|
+
}
|
1618
|
+
if (previous_break) {
|
1619
|
+
break_space = 1;
|
1620
|
+
}
|
1621
|
+
previous_space = 1;
|
1622
|
+
previous_break = 0;
|
1623
|
+
}
|
1624
|
+
else if (IS_BREAK(string))
|
1625
|
+
{
|
1626
|
+
if (string.start == string.pointer) {
|
1627
|
+
leading_break = 1;
|
1628
|
+
}
|
1629
|
+
if (string.pointer+WIDTH(string) == string.end) {
|
1630
|
+
trailing_break = 1;
|
1631
|
+
}
|
1632
|
+
if (previous_space) {
|
1633
|
+
space_break = 1;
|
1634
|
+
}
|
1635
|
+
previous_space = 0;
|
1636
|
+
previous_break = 1;
|
1637
|
+
}
|
1638
|
+
else
|
1639
|
+
{
|
1640
|
+
previous_space = 0;
|
1641
|
+
previous_break = 0;
|
1642
|
+
}
|
1643
|
+
|
1644
|
+
preceded_by_whitespace = IS_BLANKZ(string);
|
1645
|
+
MOVE(string);
|
1646
|
+
if (string.pointer != string.end) {
|
1647
|
+
followed_by_whitespace = IS_BLANKZ_AT(string, WIDTH(string));
|
1648
|
+
}
|
1649
|
+
}
|
1650
|
+
|
1651
|
+
emitter->scalar_data.multiline = line_breaks;
|
1652
|
+
|
1653
|
+
emitter->scalar_data.flow_plain_allowed = 1;
|
1654
|
+
emitter->scalar_data.block_plain_allowed = 1;
|
1655
|
+
emitter->scalar_data.single_quoted_allowed = 1;
|
1656
|
+
emitter->scalar_data.block_allowed = 1;
|
1657
|
+
|
1658
|
+
if (leading_space || leading_break || trailing_space || trailing_break) {
|
1659
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1660
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1661
|
+
}
|
1662
|
+
|
1663
|
+
if (trailing_space) {
|
1664
|
+
emitter->scalar_data.block_allowed = 0;
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
if (break_space) {
|
1668
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1669
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1670
|
+
emitter->scalar_data.single_quoted_allowed = 0;
|
1671
|
+
}
|
1672
|
+
|
1673
|
+
if (space_break || special_characters) {
|
1674
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1675
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1676
|
+
emitter->scalar_data.single_quoted_allowed = 0;
|
1677
|
+
emitter->scalar_data.block_allowed = 0;
|
1678
|
+
}
|
1679
|
+
|
1680
|
+
if (line_breaks) {
|
1681
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1682
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
if (flow_indicators) {
|
1686
|
+
emitter->scalar_data.flow_plain_allowed = 0;
|
1687
|
+
}
|
1688
|
+
|
1689
|
+
if (block_indicators) {
|
1690
|
+
emitter->scalar_data.block_plain_allowed = 0;
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
return 1;
|
1694
|
+
}
|
1695
|
+
|
1696
|
+
/*
|
1697
|
+
* Check if the event data is valid.
|
1698
|
+
*/
|
1699
|
+
|
1700
|
+
static int
|
1701
|
+
yaml_emitter_analyze_event(yaml_emitter_t *emitter,
|
1702
|
+
yaml_event_t *event)
|
1703
|
+
{
|
1704
|
+
emitter->anchor_data.anchor = NULL;
|
1705
|
+
emitter->anchor_data.anchor_length = 0;
|
1706
|
+
emitter->tag_data.handle = NULL;
|
1707
|
+
emitter->tag_data.handle_length = 0;
|
1708
|
+
emitter->tag_data.suffix = NULL;
|
1709
|
+
emitter->tag_data.suffix_length = 0;
|
1710
|
+
emitter->scalar_data.value = NULL;
|
1711
|
+
emitter->scalar_data.length = 0;
|
1712
|
+
|
1713
|
+
switch (event->type)
|
1714
|
+
{
|
1715
|
+
case YAML_ALIAS_EVENT:
|
1716
|
+
if (!yaml_emitter_analyze_anchor(emitter,
|
1717
|
+
event->data.alias.anchor, 1))
|
1718
|
+
return 0;
|
1719
|
+
return 1;
|
1720
|
+
|
1721
|
+
case YAML_SCALAR_EVENT:
|
1722
|
+
if (event->data.scalar.anchor) {
|
1723
|
+
if (!yaml_emitter_analyze_anchor(emitter,
|
1724
|
+
event->data.scalar.anchor, 0))
|
1725
|
+
return 0;
|
1726
|
+
}
|
1727
|
+
if (event->data.scalar.tag && (emitter->canonical ||
|
1728
|
+
(!event->data.scalar.plain_implicit
|
1729
|
+
&& !event->data.scalar.quoted_implicit))) {
|
1730
|
+
if (!yaml_emitter_analyze_tag(emitter, event->data.scalar.tag))
|
1731
|
+
return 0;
|
1732
|
+
}
|
1733
|
+
if (!yaml_emitter_analyze_scalar(emitter,
|
1734
|
+
event->data.scalar.value, event->data.scalar.length))
|
1735
|
+
return 0;
|
1736
|
+
return 1;
|
1737
|
+
|
1738
|
+
case YAML_SEQUENCE_START_EVENT:
|
1739
|
+
if (event->data.sequence_start.anchor) {
|
1740
|
+
if (!yaml_emitter_analyze_anchor(emitter,
|
1741
|
+
event->data.sequence_start.anchor, 0))
|
1742
|
+
return 0;
|
1743
|
+
}
|
1744
|
+
if (event->data.sequence_start.tag && (emitter->canonical ||
|
1745
|
+
!event->data.sequence_start.implicit)) {
|
1746
|
+
if (!yaml_emitter_analyze_tag(emitter,
|
1747
|
+
event->data.sequence_start.tag))
|
1748
|
+
return 0;
|
1749
|
+
}
|
1750
|
+
return 1;
|
1751
|
+
|
1752
|
+
case YAML_MAPPING_START_EVENT:
|
1753
|
+
if (event->data.mapping_start.anchor) {
|
1754
|
+
if (!yaml_emitter_analyze_anchor(emitter,
|
1755
|
+
event->data.mapping_start.anchor, 0))
|
1756
|
+
return 0;
|
1757
|
+
}
|
1758
|
+
if (event->data.mapping_start.tag && (emitter->canonical ||
|
1759
|
+
!event->data.mapping_start.implicit)) {
|
1760
|
+
if (!yaml_emitter_analyze_tag(emitter,
|
1761
|
+
event->data.mapping_start.tag))
|
1762
|
+
return 0;
|
1763
|
+
}
|
1764
|
+
return 1;
|
1765
|
+
|
1766
|
+
default:
|
1767
|
+
return 1;
|
1768
|
+
}
|
1769
|
+
}
|
1770
|
+
|
1771
|
+
/*
|
1772
|
+
* Write the BOM character.
|
1773
|
+
*/
|
1774
|
+
|
1775
|
+
static int
|
1776
|
+
yaml_emitter_write_bom(yaml_emitter_t *emitter)
|
1777
|
+
{
|
1778
|
+
if (!FLUSH(emitter)) return 0;
|
1779
|
+
|
1780
|
+
*(emitter->buffer.pointer++) = (yaml_char_t) '\xEF';
|
1781
|
+
*(emitter->buffer.pointer++) = (yaml_char_t) '\xBB';
|
1782
|
+
*(emitter->buffer.pointer++) = (yaml_char_t) '\xBF';
|
1783
|
+
|
1784
|
+
return 1;
|
1785
|
+
}
|
1786
|
+
|
1787
|
+
static int
|
1788
|
+
yaml_emitter_write_indent(yaml_emitter_t *emitter)
|
1789
|
+
{
|
1790
|
+
int indent = (emitter->indent >= 0) ? emitter->indent : 0;
|
1791
|
+
|
1792
|
+
if (!emitter->indention || emitter->column > indent
|
1793
|
+
|| (emitter->column == indent && !emitter->whitespace)) {
|
1794
|
+
if (!PUT_BREAK(emitter)) return 0;
|
1795
|
+
}
|
1796
|
+
|
1797
|
+
while (emitter->column < indent) {
|
1798
|
+
if (!PUT(emitter, ' ')) return 0;
|
1799
|
+
}
|
1800
|
+
|
1801
|
+
emitter->whitespace = 1;
|
1802
|
+
emitter->indention = 1;
|
1803
|
+
|
1804
|
+
return 1;
|
1805
|
+
}
|
1806
|
+
|
1807
|
+
static int
|
1808
|
+
yaml_emitter_write_indicator(yaml_emitter_t *emitter,
|
1809
|
+
const char *indicator, int need_whitespace,
|
1810
|
+
int is_whitespace, int is_indention)
|
1811
|
+
{
|
1812
|
+
size_t indicator_length;
|
1813
|
+
yaml_string_t string;
|
1814
|
+
|
1815
|
+
indicator_length = strlen(indicator);
|
1816
|
+
STRING_ASSIGN(string, (yaml_char_t *)indicator, indicator_length);
|
1817
|
+
|
1818
|
+
if (need_whitespace && !emitter->whitespace) {
|
1819
|
+
if (!PUT(emitter, ' ')) return 0;
|
1820
|
+
}
|
1821
|
+
|
1822
|
+
while (string.pointer != string.end) {
|
1823
|
+
if (!WRITE(emitter, string)) return 0;
|
1824
|
+
}
|
1825
|
+
|
1826
|
+
emitter->whitespace = is_whitespace;
|
1827
|
+
emitter->indention = (emitter->indention && is_indention);
|
1828
|
+
|
1829
|
+
return 1;
|
1830
|
+
}
|
1831
|
+
|
1832
|
+
static int
|
1833
|
+
yaml_emitter_write_anchor(yaml_emitter_t *emitter,
|
1834
|
+
yaml_char_t *value, size_t length)
|
1835
|
+
{
|
1836
|
+
yaml_string_t string;
|
1837
|
+
STRING_ASSIGN(string, value, length);
|
1838
|
+
|
1839
|
+
while (string.pointer != string.end) {
|
1840
|
+
if (!WRITE(emitter, string)) return 0;
|
1841
|
+
}
|
1842
|
+
|
1843
|
+
emitter->whitespace = 0;
|
1844
|
+
emitter->indention = 0;
|
1845
|
+
|
1846
|
+
return 1;
|
1847
|
+
}
|
1848
|
+
|
1849
|
+
static int
|
1850
|
+
yaml_emitter_write_tag_handle(yaml_emitter_t *emitter,
|
1851
|
+
yaml_char_t *value, size_t length)
|
1852
|
+
{
|
1853
|
+
yaml_string_t string;
|
1854
|
+
STRING_ASSIGN(string, value, length);
|
1855
|
+
|
1856
|
+
if (!emitter->whitespace) {
|
1857
|
+
if (!PUT(emitter, ' ')) return 0;
|
1858
|
+
}
|
1859
|
+
|
1860
|
+
while (string.pointer != string.end) {
|
1861
|
+
if (!WRITE(emitter, string)) return 0;
|
1862
|
+
}
|
1863
|
+
|
1864
|
+
emitter->whitespace = 0;
|
1865
|
+
emitter->indention = 0;
|
1866
|
+
|
1867
|
+
return 1;
|
1868
|
+
}
|
1869
|
+
|
1870
|
+
static int
|
1871
|
+
yaml_emitter_write_tag_content(yaml_emitter_t *emitter,
|
1872
|
+
yaml_char_t *value, size_t length,
|
1873
|
+
int need_whitespace)
|
1874
|
+
{
|
1875
|
+
yaml_string_t string;
|
1876
|
+
STRING_ASSIGN(string, value, length);
|
1877
|
+
|
1878
|
+
if (need_whitespace && !emitter->whitespace) {
|
1879
|
+
if (!PUT(emitter, ' ')) return 0;
|
1880
|
+
}
|
1881
|
+
|
1882
|
+
while (string.pointer != string.end) {
|
1883
|
+
if (IS_ALPHA(string)
|
1884
|
+
|| CHECK(string, ';') || CHECK(string, '/')
|
1885
|
+
|| CHECK(string, '?') || CHECK(string, ':')
|
1886
|
+
|| CHECK(string, '@') || CHECK(string, '&')
|
1887
|
+
|| CHECK(string, '=') || CHECK(string, '+')
|
1888
|
+
|| CHECK(string, '$') || CHECK(string, ',')
|
1889
|
+
|| CHECK(string, '_') || CHECK(string, '.')
|
1890
|
+
|| CHECK(string, '~') || CHECK(string, '*')
|
1891
|
+
|| CHECK(string, '\'') || CHECK(string, '(')
|
1892
|
+
|| CHECK(string, ')') || CHECK(string, '[')
|
1893
|
+
|| CHECK(string, ']')) {
|
1894
|
+
if (!WRITE(emitter, string)) return 0;
|
1895
|
+
}
|
1896
|
+
else {
|
1897
|
+
int width = WIDTH(string);
|
1898
|
+
unsigned int value;
|
1899
|
+
while (width --) {
|
1900
|
+
value = *(string.pointer++);
|
1901
|
+
if (!PUT(emitter, '%')) return 0;
|
1902
|
+
if (!PUT(emitter, (value >> 4)
|
1903
|
+
+ ((value >> 4) < 10 ? '0' : 'A' - 10)))
|
1904
|
+
return 0;
|
1905
|
+
if (!PUT(emitter, (value & 0x0F)
|
1906
|
+
+ ((value & 0x0F) < 10 ? '0' : 'A' - 10)))
|
1907
|
+
return 0;
|
1908
|
+
}
|
1909
|
+
}
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
emitter->whitespace = 0;
|
1913
|
+
emitter->indention = 0;
|
1914
|
+
|
1915
|
+
return 1;
|
1916
|
+
}
|
1917
|
+
|
1918
|
+
static int
|
1919
|
+
yaml_emitter_write_plain_scalar(yaml_emitter_t *emitter,
|
1920
|
+
yaml_char_t *value, size_t length, int allow_breaks)
|
1921
|
+
{
|
1922
|
+
yaml_string_t string;
|
1923
|
+
int spaces = 0;
|
1924
|
+
int breaks = 0;
|
1925
|
+
|
1926
|
+
STRING_ASSIGN(string, value, length);
|
1927
|
+
|
1928
|
+
/**
|
1929
|
+
* Avoid trailing spaces for empty values in block mode.
|
1930
|
+
* In flow mode, we still want the space to prevent ambiguous things
|
1931
|
+
* like {a:}.
|
1932
|
+
* Currently, the emitter forbids any plain empty scalar in flow mode
|
1933
|
+
* (e.g. it outputs {a: ''} instead), so emitter->flow_level will
|
1934
|
+
* never be true here.
|
1935
|
+
* But if the emitter is ever changed to allow emitting empty values,
|
1936
|
+
* the check for flow_level is already here.
|
1937
|
+
*/
|
1938
|
+
if (!emitter->whitespace && (length || emitter->flow_level)) {
|
1939
|
+
if (!PUT(emitter, ' ')) return 0;
|
1940
|
+
}
|
1941
|
+
|
1942
|
+
while (string.pointer != string.end)
|
1943
|
+
{
|
1944
|
+
if (IS_SPACE(string))
|
1945
|
+
{
|
1946
|
+
if (allow_breaks && !spaces
|
1947
|
+
&& emitter->column > emitter->best_width
|
1948
|
+
&& !IS_SPACE_AT(string, 1)) {
|
1949
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
1950
|
+
MOVE(string);
|
1951
|
+
}
|
1952
|
+
else {
|
1953
|
+
if (!WRITE(emitter, string)) return 0;
|
1954
|
+
}
|
1955
|
+
spaces = 1;
|
1956
|
+
}
|
1957
|
+
else if (IS_BREAK(string))
|
1958
|
+
{
|
1959
|
+
if (!breaks && CHECK(string, '\n')) {
|
1960
|
+
if (!PUT_BREAK(emitter)) return 0;
|
1961
|
+
}
|
1962
|
+
if (!WRITE_BREAK(emitter, string)) return 0;
|
1963
|
+
emitter->indention = 1;
|
1964
|
+
breaks = 1;
|
1965
|
+
}
|
1966
|
+
else
|
1967
|
+
{
|
1968
|
+
if (breaks) {
|
1969
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
1970
|
+
}
|
1971
|
+
if (!WRITE(emitter, string)) return 0;
|
1972
|
+
emitter->indention = 0;
|
1973
|
+
spaces = 0;
|
1974
|
+
breaks = 0;
|
1975
|
+
}
|
1976
|
+
}
|
1977
|
+
|
1978
|
+
emitter->whitespace = 0;
|
1979
|
+
emitter->indention = 0;
|
1980
|
+
|
1981
|
+
return 1;
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
static int
|
1985
|
+
yaml_emitter_write_single_quoted_scalar(yaml_emitter_t *emitter,
|
1986
|
+
yaml_char_t *value, size_t length, int allow_breaks)
|
1987
|
+
{
|
1988
|
+
yaml_string_t string;
|
1989
|
+
int spaces = 0;
|
1990
|
+
int breaks = 0;
|
1991
|
+
|
1992
|
+
STRING_ASSIGN(string, value, length);
|
1993
|
+
|
1994
|
+
if (!yaml_emitter_write_indicator(emitter, "'", 1, 0, 0))
|
1995
|
+
return 0;
|
1996
|
+
|
1997
|
+
while (string.pointer != string.end)
|
1998
|
+
{
|
1999
|
+
if (IS_SPACE(string))
|
2000
|
+
{
|
2001
|
+
if (allow_breaks && !spaces
|
2002
|
+
&& emitter->column > emitter->best_width
|
2003
|
+
&& string.pointer != string.start
|
2004
|
+
&& string.pointer != string.end - 1
|
2005
|
+
&& !IS_SPACE_AT(string, 1)) {
|
2006
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2007
|
+
MOVE(string);
|
2008
|
+
}
|
2009
|
+
else {
|
2010
|
+
if (!WRITE(emitter, string)) return 0;
|
2011
|
+
}
|
2012
|
+
spaces = 1;
|
2013
|
+
}
|
2014
|
+
else if (IS_BREAK(string))
|
2015
|
+
{
|
2016
|
+
if (!breaks && CHECK(string, '\n')) {
|
2017
|
+
if (!PUT_BREAK(emitter)) return 0;
|
2018
|
+
}
|
2019
|
+
if (!WRITE_BREAK(emitter, string)) return 0;
|
2020
|
+
emitter->indention = 1;
|
2021
|
+
breaks = 1;
|
2022
|
+
}
|
2023
|
+
else
|
2024
|
+
{
|
2025
|
+
if (breaks) {
|
2026
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2027
|
+
}
|
2028
|
+
if (CHECK(string, '\'')) {
|
2029
|
+
if (!PUT(emitter, '\'')) return 0;
|
2030
|
+
}
|
2031
|
+
if (!WRITE(emitter, string)) return 0;
|
2032
|
+
emitter->indention = 0;
|
2033
|
+
spaces = 0;
|
2034
|
+
breaks = 0;
|
2035
|
+
}
|
2036
|
+
}
|
2037
|
+
|
2038
|
+
if (breaks)
|
2039
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2040
|
+
|
2041
|
+
if (!yaml_emitter_write_indicator(emitter, "'", 0, 0, 0))
|
2042
|
+
return 0;
|
2043
|
+
|
2044
|
+
emitter->whitespace = 0;
|
2045
|
+
emitter->indention = 0;
|
2046
|
+
|
2047
|
+
return 1;
|
2048
|
+
}
|
2049
|
+
|
2050
|
+
static int
|
2051
|
+
yaml_emitter_write_double_quoted_scalar(yaml_emitter_t *emitter,
|
2052
|
+
yaml_char_t *value, size_t length, int allow_breaks)
|
2053
|
+
{
|
2054
|
+
yaml_string_t string;
|
2055
|
+
int spaces = 0;
|
2056
|
+
|
2057
|
+
STRING_ASSIGN(string, value, length);
|
2058
|
+
|
2059
|
+
if (!yaml_emitter_write_indicator(emitter, "\"", 1, 0, 0))
|
2060
|
+
return 0;
|
2061
|
+
|
2062
|
+
while (string.pointer != string.end)
|
2063
|
+
{
|
2064
|
+
if (!IS_PRINTABLE(string) || (!emitter->unicode && !IS_ASCII(string))
|
2065
|
+
|| IS_BOM(string) || IS_BREAK(string)
|
2066
|
+
|| CHECK(string, '"') || CHECK(string, '\\'))
|
2067
|
+
{
|
2068
|
+
unsigned char octet;
|
2069
|
+
unsigned int width;
|
2070
|
+
unsigned int value;
|
2071
|
+
int k;
|
2072
|
+
|
2073
|
+
octet = string.pointer[0];
|
2074
|
+
width = (octet & 0x80) == 0x00 ? 1 :
|
2075
|
+
(octet & 0xE0) == 0xC0 ? 2 :
|
2076
|
+
(octet & 0xF0) == 0xE0 ? 3 :
|
2077
|
+
(octet & 0xF8) == 0xF0 ? 4 : 0;
|
2078
|
+
value = (octet & 0x80) == 0x00 ? octet & 0x7F :
|
2079
|
+
(octet & 0xE0) == 0xC0 ? octet & 0x1F :
|
2080
|
+
(octet & 0xF0) == 0xE0 ? octet & 0x0F :
|
2081
|
+
(octet & 0xF8) == 0xF0 ? octet & 0x07 : 0;
|
2082
|
+
for (k = 1; k < (int)width; k ++) {
|
2083
|
+
octet = string.pointer[k];
|
2084
|
+
value = (value << 6) + (octet & 0x3F);
|
2085
|
+
}
|
2086
|
+
string.pointer += width;
|
2087
|
+
|
2088
|
+
if (!PUT(emitter, '\\')) return 0;
|
2089
|
+
|
2090
|
+
switch (value)
|
2091
|
+
{
|
2092
|
+
case 0x00:
|
2093
|
+
if (!PUT(emitter, '0')) return 0;
|
2094
|
+
break;
|
2095
|
+
|
2096
|
+
case 0x07:
|
2097
|
+
if (!PUT(emitter, 'a')) return 0;
|
2098
|
+
break;
|
2099
|
+
|
2100
|
+
case 0x08:
|
2101
|
+
if (!PUT(emitter, 'b')) return 0;
|
2102
|
+
break;
|
2103
|
+
|
2104
|
+
case 0x09:
|
2105
|
+
if (!PUT(emitter, 't')) return 0;
|
2106
|
+
break;
|
2107
|
+
|
2108
|
+
case 0x0A:
|
2109
|
+
if (!PUT(emitter, 'n')) return 0;
|
2110
|
+
break;
|
2111
|
+
|
2112
|
+
case 0x0B:
|
2113
|
+
if (!PUT(emitter, 'v')) return 0;
|
2114
|
+
break;
|
2115
|
+
|
2116
|
+
case 0x0C:
|
2117
|
+
if (!PUT(emitter, 'f')) return 0;
|
2118
|
+
break;
|
2119
|
+
|
2120
|
+
case 0x0D:
|
2121
|
+
if (!PUT(emitter, 'r')) return 0;
|
2122
|
+
break;
|
2123
|
+
|
2124
|
+
case 0x1B:
|
2125
|
+
if (!PUT(emitter, 'e')) return 0;
|
2126
|
+
break;
|
2127
|
+
|
2128
|
+
case 0x22:
|
2129
|
+
if (!PUT(emitter, '\"')) return 0;
|
2130
|
+
break;
|
2131
|
+
|
2132
|
+
case 0x5C:
|
2133
|
+
if (!PUT(emitter, '\\')) return 0;
|
2134
|
+
break;
|
2135
|
+
|
2136
|
+
case 0x85:
|
2137
|
+
if (!PUT(emitter, 'N')) return 0;
|
2138
|
+
break;
|
2139
|
+
|
2140
|
+
case 0xA0:
|
2141
|
+
if (!PUT(emitter, '_')) return 0;
|
2142
|
+
break;
|
2143
|
+
|
2144
|
+
case 0x2028:
|
2145
|
+
if (!PUT(emitter, 'L')) return 0;
|
2146
|
+
break;
|
2147
|
+
|
2148
|
+
case 0x2029:
|
2149
|
+
if (!PUT(emitter, 'P')) return 0;
|
2150
|
+
break;
|
2151
|
+
|
2152
|
+
default:
|
2153
|
+
if (value <= 0xFF) {
|
2154
|
+
if (!PUT(emitter, 'x')) return 0;
|
2155
|
+
width = 2;
|
2156
|
+
}
|
2157
|
+
else if (value <= 0xFFFF) {
|
2158
|
+
if (!PUT(emitter, 'u')) return 0;
|
2159
|
+
width = 4;
|
2160
|
+
}
|
2161
|
+
else {
|
2162
|
+
if (!PUT(emitter, 'U')) return 0;
|
2163
|
+
width = 8;
|
2164
|
+
}
|
2165
|
+
for (k = (width-1)*4; k >= 0; k -= 4) {
|
2166
|
+
int digit = (value >> k) & 0x0F;
|
2167
|
+
if (!PUT(emitter, digit + (digit < 10 ? '0' : 'A'-10)))
|
2168
|
+
return 0;
|
2169
|
+
}
|
2170
|
+
}
|
2171
|
+
spaces = 0;
|
2172
|
+
}
|
2173
|
+
else if (IS_SPACE(string))
|
2174
|
+
{
|
2175
|
+
if (allow_breaks && !spaces
|
2176
|
+
&& emitter->column > emitter->best_width
|
2177
|
+
&& string.pointer != string.start
|
2178
|
+
&& string.pointer != string.end - 1) {
|
2179
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2180
|
+
if (IS_SPACE_AT(string, 1)) {
|
2181
|
+
if (!PUT(emitter, '\\')) return 0;
|
2182
|
+
}
|
2183
|
+
MOVE(string);
|
2184
|
+
}
|
2185
|
+
else {
|
2186
|
+
if (!WRITE(emitter, string)) return 0;
|
2187
|
+
}
|
2188
|
+
spaces = 1;
|
2189
|
+
}
|
2190
|
+
else
|
2191
|
+
{
|
2192
|
+
if (!WRITE(emitter, string)) return 0;
|
2193
|
+
spaces = 0;
|
2194
|
+
}
|
2195
|
+
}
|
2196
|
+
|
2197
|
+
if (!yaml_emitter_write_indicator(emitter, "\"", 0, 0, 0))
|
2198
|
+
return 0;
|
2199
|
+
|
2200
|
+
emitter->whitespace = 0;
|
2201
|
+
emitter->indention = 0;
|
2202
|
+
|
2203
|
+
return 1;
|
2204
|
+
}
|
2205
|
+
|
2206
|
+
static int
|
2207
|
+
yaml_emitter_write_block_scalar_hints(yaml_emitter_t *emitter,
|
2208
|
+
yaml_string_t string)
|
2209
|
+
{
|
2210
|
+
char indent_hint[2];
|
2211
|
+
const char *chomp_hint = NULL;
|
2212
|
+
|
2213
|
+
if (IS_SPACE(string) || IS_BREAK(string))
|
2214
|
+
{
|
2215
|
+
indent_hint[0] = '0' + (char)emitter->best_indent;
|
2216
|
+
indent_hint[1] = '\0';
|
2217
|
+
if (!yaml_emitter_write_indicator(emitter, indent_hint, 0, 0, 0))
|
2218
|
+
return 0;
|
2219
|
+
}
|
2220
|
+
|
2221
|
+
emitter->open_ended = 0;
|
2222
|
+
|
2223
|
+
string.pointer = string.end;
|
2224
|
+
if (string.start == string.pointer)
|
2225
|
+
{
|
2226
|
+
chomp_hint = "-";
|
2227
|
+
}
|
2228
|
+
else
|
2229
|
+
{
|
2230
|
+
do {
|
2231
|
+
string.pointer --;
|
2232
|
+
} while ((*string.pointer & 0xC0) == 0x80);
|
2233
|
+
if (!IS_BREAK(string))
|
2234
|
+
{
|
2235
|
+
chomp_hint = "-";
|
2236
|
+
}
|
2237
|
+
else if (string.start == string.pointer)
|
2238
|
+
{
|
2239
|
+
chomp_hint = "+";
|
2240
|
+
emitter->open_ended = 2;
|
2241
|
+
}
|
2242
|
+
else
|
2243
|
+
{
|
2244
|
+
do {
|
2245
|
+
string.pointer --;
|
2246
|
+
} while ((*string.pointer & 0xC0) == 0x80);
|
2247
|
+
if (IS_BREAK(string))
|
2248
|
+
{
|
2249
|
+
chomp_hint = "+";
|
2250
|
+
emitter->open_ended = 2;
|
2251
|
+
}
|
2252
|
+
}
|
2253
|
+
}
|
2254
|
+
|
2255
|
+
if (chomp_hint)
|
2256
|
+
{
|
2257
|
+
if (!yaml_emitter_write_indicator(emitter, chomp_hint, 0, 0, 0))
|
2258
|
+
return 0;
|
2259
|
+
}
|
2260
|
+
|
2261
|
+
return 1;
|
2262
|
+
}
|
2263
|
+
|
2264
|
+
static int
|
2265
|
+
yaml_emitter_write_literal_scalar(yaml_emitter_t *emitter,
|
2266
|
+
yaml_char_t *value, size_t length)
|
2267
|
+
{
|
2268
|
+
yaml_string_t string;
|
2269
|
+
int breaks = 1;
|
2270
|
+
|
2271
|
+
STRING_ASSIGN(string, value, length);
|
2272
|
+
|
2273
|
+
if (!yaml_emitter_write_indicator(emitter, "|", 1, 0, 0))
|
2274
|
+
return 0;
|
2275
|
+
if (!yaml_emitter_write_block_scalar_hints(emitter, string))
|
2276
|
+
return 0;
|
2277
|
+
if (!PUT_BREAK(emitter)) return 0;
|
2278
|
+
emitter->indention = 1;
|
2279
|
+
emitter->whitespace = 1;
|
2280
|
+
|
2281
|
+
while (string.pointer != string.end)
|
2282
|
+
{
|
2283
|
+
if (IS_BREAK(string))
|
2284
|
+
{
|
2285
|
+
if (!WRITE_BREAK(emitter, string)) return 0;
|
2286
|
+
emitter->indention = 1;
|
2287
|
+
breaks = 1;
|
2288
|
+
}
|
2289
|
+
else
|
2290
|
+
{
|
2291
|
+
if (breaks) {
|
2292
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2293
|
+
}
|
2294
|
+
if (!WRITE(emitter, string)) return 0;
|
2295
|
+
emitter->indention = 0;
|
2296
|
+
breaks = 0;
|
2297
|
+
}
|
2298
|
+
}
|
2299
|
+
|
2300
|
+
return 1;
|
2301
|
+
}
|
2302
|
+
|
2303
|
+
static int
|
2304
|
+
yaml_emitter_write_folded_scalar(yaml_emitter_t *emitter,
|
2305
|
+
yaml_char_t *value, size_t length)
|
2306
|
+
{
|
2307
|
+
yaml_string_t string;
|
2308
|
+
int breaks = 1;
|
2309
|
+
int leading_spaces = 1;
|
2310
|
+
|
2311
|
+
STRING_ASSIGN(string, value, length);
|
2312
|
+
|
2313
|
+
if (!yaml_emitter_write_indicator(emitter, ">", 1, 0, 0))
|
2314
|
+
return 0;
|
2315
|
+
if (!yaml_emitter_write_block_scalar_hints(emitter, string))
|
2316
|
+
return 0;
|
2317
|
+
if (!PUT_BREAK(emitter)) return 0;
|
2318
|
+
emitter->indention = 1;
|
2319
|
+
emitter->whitespace = 1;
|
2320
|
+
|
2321
|
+
while (string.pointer != string.end)
|
2322
|
+
{
|
2323
|
+
if (IS_BREAK(string))
|
2324
|
+
{
|
2325
|
+
if (!breaks && !leading_spaces && CHECK(string, '\n')) {
|
2326
|
+
int k = 0;
|
2327
|
+
while (IS_BREAK_AT(string, k)) {
|
2328
|
+
k += WIDTH_AT(string, k);
|
2329
|
+
}
|
2330
|
+
if (!IS_BLANKZ_AT(string, k)) {
|
2331
|
+
if (!PUT_BREAK(emitter)) return 0;
|
2332
|
+
}
|
2333
|
+
}
|
2334
|
+
if (!WRITE_BREAK(emitter, string)) return 0;
|
2335
|
+
emitter->indention = 1;
|
2336
|
+
breaks = 1;
|
2337
|
+
}
|
2338
|
+
else
|
2339
|
+
{
|
2340
|
+
if (breaks) {
|
2341
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2342
|
+
leading_spaces = IS_BLANK(string);
|
2343
|
+
}
|
2344
|
+
if (!breaks && IS_SPACE(string) && !IS_SPACE_AT(string, 1)
|
2345
|
+
&& emitter->column > emitter->best_width) {
|
2346
|
+
if (!yaml_emitter_write_indent(emitter)) return 0;
|
2347
|
+
MOVE(string);
|
2348
|
+
}
|
2349
|
+
else {
|
2350
|
+
if (!WRITE(emitter, string)) return 0;
|
2351
|
+
}
|
2352
|
+
emitter->indention = 0;
|
2353
|
+
breaks = 0;
|
2354
|
+
}
|
2355
|
+
}
|
2356
|
+
|
2357
|
+
return 1;
|
2358
|
+
}
|