dirwatch 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -0
- data/bin/dirwatch +2 -16
- data/lib/dirwatch/errors.rb +48 -0
- data/lib/dirwatch/executors.rb +64 -0
- data/lib/dirwatch/options/parser.rb +137 -0
- data/lib/dirwatch/options.rb +50 -43
- data/lib/dirwatch/os_fetcher.rb +40 -0
- data/lib/dirwatch/settings/watch_setting.rb +39 -16
- data/lib/dirwatch/settings.rb +28 -34
- data/lib/dirwatch/string_extensions.rb +13 -0
- data/lib/dirwatch/symbolize_extensions.rb +19 -0
- data/lib/dirwatch/templates/linux/latex.yml +8 -0
- data/lib/dirwatch/templates/mac/latex.yml +8 -0
- data/lib/dirwatch/templates/windows/latex.yml +8 -0
- data/lib/dirwatch/templates.rb +103 -0
- data/lib/dirwatch/version.rb +1 -1
- data/lib/dirwatch/watcher.rb +31 -23
- data/lib/dirwatch.rb +7 -2
- data/vendor/bundle/ruby/2.3.0/bin/byebug +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/cc-tddium-post-worker +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/codeclimate-test-reporter +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/dirwatch +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/htmldiff +25 -0
- data/vendor/bundle/ruby/2.3.0/bin/ldiff +25 -0
- data/vendor/bundle/ruby/2.3.0/bin/rake +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/rspec +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/rubocop +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/ruby-parse +23 -0
- data/vendor/bundle/ruby/2.3.0/bin/ruby-rewrite +23 -0
- data/vendor/bundle/ruby/2.3.0/cache/ast-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/byebug-9.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/codeclimate-test-reporter-1.0.8.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/docile-1.1.5.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/json-2.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/parser-2.4.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/powerpack-0.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rainbow-2.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rake-12.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-expectations-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-mocks-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rubocop-0.46.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/ruby-progressbar-1.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/simplecov-0.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/simplecov-html-0.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/unicode-display_width-1.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/byebug-9.1.0/gem_make.out +19 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem_make.out +13 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/mkmf.log +61 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem_make.out +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/Gemfile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/README.md +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/Rakefile +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/ast.gemspec +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/node.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/test/helper.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/ast-2.3.0/test/test_ast.rb +264 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/CHANGELOG.md +825 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/CONTRIBUTING.md +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/GUIDE.md +1806 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/LICENSE +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/README.md +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/bin/byebug +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/Makefile +261 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/breakpoint.c +517 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/breakpoint.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/byebug.c +905 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/byebug.h +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/byebug.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/context.c +673 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/context.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/extconf.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/locker.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/threads.c +230 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/ext/byebug/threads.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/attacher.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/breakpoint.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/command.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/command_list.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/break.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/catch.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/condition.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/continue.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/debug.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/delete.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/disable/breakpoints.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/disable/display.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/disable.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/display.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/down.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/edit.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/enable/breakpoints.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/enable/display.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/enable.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/finish.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/frame.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/help.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/history.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/breakpoints.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/display.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/file.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/line.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info/program.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/info.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/interrupt.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/irb.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/kill.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/list.rb +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/method.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/next.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/pry.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/quit.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/restart.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/save.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/set.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/show.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/source.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/step.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/current.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/list.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/resume.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/stop.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread/switch.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/thread.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/tracevar.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/undisplay.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/untracevar.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/up.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/all.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/args.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/const.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/global.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/instance.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var/local.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/var.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands/where.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/commands.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/context.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/core.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/errors.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/bin.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/eval.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/file.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/frame.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/parse.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/path.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/reflection.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/string.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/thread.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/toggle.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/helpers/var.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/history.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interface.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interfaces/local_interface.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interfaces/remote_interface.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interfaces/script_interface.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/interfaces/test_interface.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/option_setter.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/printers/base.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/printers/plain.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/processors/command_processor.rb +174 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/processors/control_processor.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/processors/post_mortem_processor.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/processors/script_processor.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/remote.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/runner.rb +191 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/setting.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/autoirb.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/autolist.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/autopry.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/autosave.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/basename.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/fullpath.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/histfile.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/histsize.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/linetrace.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/listsize.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/post_mortem.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/savefile.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/stack_on_error.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/width.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/subcommands.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/LICENSE.txt +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/README.md +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/cc-tddium-post-worker +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/ci +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/bin/codeclimate-test-reporter +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/config/cacert.pem +3895 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/calculate_blob.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/ci.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/client.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/configuration.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/exception_message.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/formatter.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/git.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/payload_validator.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/post_results.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/shorten_filename.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/codeclimate-test-reporter-1.0.8/lib/codeclimate-test-reporter.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/Gemfile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/HISTORY.md +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/LICENSE +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/README.md +241 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/Rakefile +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/docile.gemspec +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/chaining_fallback_context_proxy.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/execution.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/fallback_context_proxy.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile/version.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/lib/docile.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/on_what.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/spec/docile_spec.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/docile-1.1.5/spec/spec_helper.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/CHANGES.md +388 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Gemfile +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README-json-jruby.md +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README.md +392 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Rakefile +408 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/VERSION +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/example.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/index.html +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/prototype.js +4184 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/Makefile +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/Makefile +262 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.c +1443 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.h +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/Makefile +262 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.c +2109 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.h +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.rl +869 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/extconf.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/install.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ByteListTranscoder.java +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Generator.java +443 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorMethods.java +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorService.java +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorState.java +490 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.java +2362 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.rl +893 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ParserService.java +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/RuntimeInfo.java +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringEncoder.java +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Utils.java +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json-java.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json_pure.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/complex.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/rational.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/common.rb +456 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/generator.rb +458 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/parser.rb +311 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/references/rfc7159.txt +899 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_addition_test.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_common_interface_test.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_encoding_test.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_ext_parser_test.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_fixtures_test.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generator_test.rb +377 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generic_object_test.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_parser_test.rb +471 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_string_matching_test.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/test_helper.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/diff.sh +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/fuzz.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/server.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/CHANGELOG.md +826 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/CONTRIBUTING.md +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/Gemfile +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/README.md +300 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/Rakefile +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/bin/ruby-parse +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/bin/ruby-rewrite +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/doc/AST_FORMAT.md +1713 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/doc/CUSTOMIZATION.md +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/doc/INTERNALS.md +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/doc/css/common.css +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/gauntlet_parser.rb +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/all.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ast/node.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ast/processor.rb +234 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/base.rb +268 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/builders/default.rb +1608 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/clobbering_error.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/compatibility/ruby1_8.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/compatibility/ruby1_9.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/current.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/diagnostic/engine.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer/dedenter.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer/explanation.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer/literal.rb +262 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer/stack_state.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer.rb +21715 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/lexer.rl +2270 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/macruby.rb +6093 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/macruby.y +2173 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/messages.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/meta.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/rewriter.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby18.rb +5637 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby18.y +1917 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby19.rb +6040 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby19.y +2150 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby20.rb +6477 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby20.y +2328 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby21.rb +6547 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby21.y +2337 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby22.rb +6580 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby22.y +2344 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby23.rb +6590 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby23.y +2350 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby24.rb +6626 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/ruby24.y +2361 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/rubymotion.rb +6046 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/rubymotion.y +2157 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/runner/ruby_parse.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/runner/ruby_rewrite.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/runner.rb +241 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/buffer.rb +333 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/comment/associator.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/comment.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/collection.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/condition.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/constant.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/definition.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/for.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/heredoc.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/keyword.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/objc_kwarg.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/operator.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/rescue_body.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/send.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/ternary.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map/variable.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/map.rb +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/range.rb +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/rewriter/action.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/source/rewriter.rb +471 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/static_environment.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/syntax_error.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/lib/parser.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/parser.gemspec +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/bug_163/fixtures/input.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/bug_163/fixtures/output.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/bug_163/rewriter.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/bug_163/test_runner_rewrite.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/helper.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/parse_helper.rb +258 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/racc_coverage_helper.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_base.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_current.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_diagnostic.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_diagnostic_engine.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_encoding.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_lexer.rb +3376 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_lexer_stack_state.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_parse_helper.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_parser.rb +5894 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_buffer.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_comment.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_comment_associator.rb +275 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_map.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_range.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_rewriter.rb +539 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_source_rewriter_action.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/parser-2.4.0.0/test/test_static_environment.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/CHANGELOG.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/Gemfile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/README.md +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/Rakefile +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array/butfirst.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array/butlast.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/array.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/average.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last_while.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/exactly.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/frequencies.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/several.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/sum.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last_while.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/enumerable.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/hash/symbolize_keys.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/hash.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/neg.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/pos.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric/scale.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/numeric.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/ascii_only.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/blank.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/format.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_prefix.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_suffix.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/squish.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_indent.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_margin.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/string.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/lib/powerpack.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/powerpack.gemspec +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/array/butfirst_spec.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/array/butlast_spec.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/average_spec.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_while_spec.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/exactly_spec.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/frequencies_spec.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/several_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/sum_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_while_spec.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/hash/symbolize_keys_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/neg_spec.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/pos_spec.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/numeric/scale_spec.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/ascii_only_spec.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/blank_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/format_spec.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_prefix_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_suffix_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/squish_spec.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_indent_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_margin_spec.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/powerpack-0.1.1/spec/spec_helper.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Changelog.md +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Gemfile +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Guardfile +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/README.markdown +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/Rakefile +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/ext/Rakefile +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/ext/mkrf_conf.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/color.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/ext/string.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/global.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/legacy.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/null_presenter.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/presenter.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/string_utils.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/x11_color_names.rb +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/rainbow.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/instance_spec.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/rainbow_spec.rb +160 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/string_spec.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/spec_helper.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/color_spec.rb +301 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/namespace_spec.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/null_presenter_spec.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/presenter_spec.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/string_utils_spec.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/wrapper_spec.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/CONTRIBUTING.rdoc +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/Gemfile +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/History.rdoc +2266 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/bin/console +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/bin/setup +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/exe/rake +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/application.rb +786 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_utils.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/multi_task.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/packagetask.rb +211 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/rake_module.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/rake_test_loader.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/task.rb +391 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/task_manager.rb +319 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.1.0/rake.gemspec +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.6.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.6.0/README.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.6.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.6.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/Changelog.md +2167 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/README.md +384 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/bisect/server.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb +2177 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration_options.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb +653 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb +883 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/exception_presenter.rb +496 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/html_snippet_extractor.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/json_formatter.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/formatters.rb +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb +624 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/invocations.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/memoized_helpers.rb +535 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/notifications.rb +514 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/option_parser.rb +309 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core/world.rb +264 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.6.0/lib/rspec/core.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/Changelog.md +1072 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/README.md +305 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/change.rb +387 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/contain_exactly.rb +301 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/composable.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/dsl.rb +527 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers.rb +1025 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/Changelog.md +1073 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/README.md +460 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/proxy.rb +484 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.6.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/Changelog.md +211 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/README.md +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/object_formatter.rb +268 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/ruby_features.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/source/node.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/shell_out.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/README.md +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/bin/rubocop +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/default.yml +1338 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/disabled.yml +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/config/enabled.yml +1588 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/builder.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/sexp.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/traversal.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/ast_node.rb +624 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cached_data.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cli.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/comment_config.rb +157 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config.rb +346 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader.rb +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/autocorrect_logic.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/duplicated_gem.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/ordered_gems.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/commissioner.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/cop.rb +304 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/corrector.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/force.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_operator.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/assignment_in_condition.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/block_alignment.rb +198 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/circular_argument_reference.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/condition_position.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/debugger.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/def_end_alignment.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_methods.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicated_key.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/each_with_object_argument.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/else_layout.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_ensure.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_expression.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_interpolation.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_when.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_alignment.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_in_method.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ensure_return.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/eval.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/float_out_of_range.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/handle_exceptions.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/inherit_exception.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/invalid_character_literal.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_condition.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/loop.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/nested_method_definition.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/next_without_accumulator.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_string_array.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_symbol_array.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rand_one.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rescue_exception.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowed_exception.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/syntax.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unified_integer.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_disable.rb +207 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unreachable_code.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_block_argument.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_method_argument.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_access_modifier.rb +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_assignment.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_comparison.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_setter_call.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/void.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/abc_size.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_length.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_nesting.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/class_length.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/line_length.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/method_length.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/module_length.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/parameter_lists.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/access_modifier_node.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/annotation_comment.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_syntax.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/autocorrect_alignment.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/check_assignment.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/classish_length.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/code_length.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_max.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_naming.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_numbering.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/def_node.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/documentation_comment.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/first_element_line_break.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/hash_node.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/if_node.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/integer_node.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/match_range.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_complexity.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_preference.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/min_body_length.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +191 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/negative_conditional.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_method_def.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parentheses.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/percent_literal.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_assignment.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_inside.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/statement_modifier.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_help.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_literals_help.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/surrounding_space.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/trailing_comma.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/unused_argument.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/offense.rb +188 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/case_when_splat.rb +179 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/casecmp.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/compare_with_block.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/count.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/detect.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/double_start_end_with.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/end_with.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/fixed_size.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/flat_map.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/hash_each_methods.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/range_include.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_match.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_merge.rb +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_sort_by.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/reverse_each.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/sample.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/size.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/start_with.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/string_replacement.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/times_map.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/action_filter.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/date.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/dynamic_find_by.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/enum_uniqueness.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/exit.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_by.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_each.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/http_positional_arguments.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/not_null_column.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output_safety.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/pluralization_grammar.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/request_referer.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/safe_navigation.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/save_bang.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/time_zone.rb +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/validation.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/security/json_load.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/severity.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/access_modifier_indentation.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/accessor_method_name.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/alias.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_array.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_hash.rb +266 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_parameters.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/and_or.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/array_join.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_comments.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_identifiers.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/attr.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/bare_percent_literals.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/begin_block.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_comments.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_delimiters.rb +230 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_end_newline.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_equality.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_indentation.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/character_literal.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_camel_case.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_children.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_check.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_methods.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_vars.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/closing_parenthesis_indentation.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/collection_methods.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/colon_method_call.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/command_literal.rb +119 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_annotation.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_indentation.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/conditional_assignment.rb +681 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/constant_name.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/copyright.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/def_with_parentheses.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation_method.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/dot_position.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/double_negation.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_for_simple_loop.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_with_object.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/else_alignment.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_case_condition.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_else.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_line_between_defs.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_access_modifier.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_block_body.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_class_body.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_method_body.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_module_body.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_literal.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_method.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/encoding.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_block.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_of_line.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/even_odd.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/extra_spacing.rb +237 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/file_name.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_array_element_line_break.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_hash_element_line_break.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_argument_line_break.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_parameter_line_break.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_parameter_indentation.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/flip_flop.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/for.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/format_string.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/global_vars.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/guard_clause.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/hash_syntax.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/identical_conditional_branches.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_inside_else.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_with_semicolon.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/implicit_runtime_error.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_array.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_assignment.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_hash.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_consistency.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_width.rb +302 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/infinite_loop.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/initial_indentation.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/inline_comment.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda.rb +209 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda_call.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/leading_comment_space.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/line_end_concatenation.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_call_parentheses.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_def_parentheses.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_missing.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_name.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/missing_else.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/module_function.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_array_brace_layout.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_assignment_layout.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_chain.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_layout.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_hash_brace_layout.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_modifier.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_then.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_memoization.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_brace_layout.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_indentation.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_definition_brace_layout.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_operation_indentation.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/mutable_constant.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_if.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_while.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_modifier.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_ternary_operator.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/next.rb +223 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nil_comparison.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/non_nil_check.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/not.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literals.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_predicate.rb +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/one_line_conditional.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/op_method.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/option_hash.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/optional_arguments.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parallel_assignment.rb +295 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parentheses_around_condition.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_q_literals.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/perl_backrefs.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/predicate_name.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/preferred_hash_methods.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/proc.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/raise_args.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_begin.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_exception.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_freeze.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_parentheses.rb +177 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_return.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_self.rb +163 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/regexp_literal.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_ensure_alignment.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/safe_navigation.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/self_assignment.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/semicolon.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/send.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/signal_exception.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_block_params.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_methods.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_colon.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_comma.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_method_name.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_not.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_semicolon.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_block_parameters.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_equals_in_parameter_default.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_keyword.rb +225 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_operators.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_block_braces.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comma.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comment.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_first_arg.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_semicolon.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_in_lambda_literal.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_block_braces.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_brackets.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_hash_literal_braces.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_parens.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_percent_literal_delimiters.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_string_interpolation.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/special_global_vars.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_methods.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/struct_inheritance.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_array.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_proc.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/tab.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ternary_parentheses.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_blank_lines.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_literal.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_whitespace.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trivial_accessors.rb +176 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unless_else.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_capital_w.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_percent_q.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_interpolation.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_name.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_number.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/when_then.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_do.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_modifier.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/word_array.rb +160 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/zero_length_predicate.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/team.rb +189 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/util.rb +276 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/assignment.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/locatable.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/reference.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/scope.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable_table.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force.rb +458 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/error.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_config_formatter.rb +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/formatter_set.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/html_formatter.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/json_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/offense_count_formatter.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/simple_text_formatter.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/formatter/worst_offenders_formatter.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/node_pattern.rb +542 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/options.rb +320 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/path_util.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/processed_source.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rake_task.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/remote_config.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/result_cache.rb +176 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/cop_helper.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_contexts.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_examples.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/rspec/support.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/runner.rb +323 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/string_util.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/target_finder.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/token.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop.rb +452 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/README.md +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/Rakefile +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/length.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/bar.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/time.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/molecule.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements/enumerator.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/time.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/CHANGELOG.md +411 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/CONTRIBUTING.md +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/Gemfile +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/README.md +633 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/Rakefile +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/cucumber.yml +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/alternate-formatters.md +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/commercial-services.md +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/doc/editor-integration.md +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_autoload.feature +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_command_name.feature +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_deactivate_merging.feature +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_formatters.feature +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_merge_timeout.feature +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_nocov_token.feature +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_profiles.feature +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_project_name.feature +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_styles.feature +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_tracked_files.feature +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/cucumber_basic.feature +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/maximum_coverage_drop.feature +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/merging_test_unit_and_rspec.feature +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/minimum_coverage.feature +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/refuse_coverage_drop.feature +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_basic.feature +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_fails_on_initialization.feature +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_basic.feature +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_complex.feature +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_groups_using_filter_class.feature +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/rspec_without_simplecov.feature +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/skipping_code_blocks_manually.feature +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/html_steps.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/simplecov_steps.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/step_definitions/web_steps.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/support/env.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_basic.feature +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_basic.feature +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_complex.feature +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_groups_using_filter_class.feature +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/test_unit_without_simplecov.feature +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/unicode_compatiblity.feature +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/command_guesser.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/configuration.rb +296 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/defaults.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/exit_codes.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/file_list.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/filter.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter/multi_formatter.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter/simple_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/formatter.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/jruby_fix.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/last_run.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/merge_helpers.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/no_defaults.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/profiles.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/railtie.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/railties/tasks.rake +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/result.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/result_merger.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/source_file.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov/version.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/lib/simplecov.rb +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/simplecov.gemspec +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/1_8_fallbacks_spec.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/command_guesser_spec.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/Gemfile +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/Rakefile +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/cucumber.yml +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/step_definitions/my_steps.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/support/env.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/features/test_stuff.feature +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/framework_specific.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/meta_magic.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/some_class.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/untested_class.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/faked_spec.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/forking_spec.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/meta_magic_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/some_class_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/spec/spec_helper.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/faked_test.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/meta_magic_test.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/some_class_test.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/faked_project/test/test_helper.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/file_list_spec.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/filters_spec.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/app/controllers/sample_controller.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/app/models/user.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/deleted_source_sample.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_bad.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_good.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_bad.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_good.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/iso-8859.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/resultset1.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/resultset2.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/sample.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/fixtures/utf-8.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/helper.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/merge_helpers_spec.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/multi_formatter_spec.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/result_spec.rb +209 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/return_codes_spec.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/source_file_line_spec.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/spec/source_file_spec.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Gemfile +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Guardfile +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/README.md +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/Rakefile +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/application.js +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/highlight.pack.js +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.colorbox.js +1090 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.timeago.js +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.url.js +174 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/application.css +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/highlight.css +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery.colorbox.css +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/reset.css +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/assets/stylesheets/screen.css.sass +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/lib/simplecov-html/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/application.css +799 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/application.js +1707 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/border.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/controls.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/loading.gif +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/colorbox/loading_background.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_green.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_red.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/favicon_yellow.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/loading.gif +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/magnify.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/simplecov-html.gemspec +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/test/helper.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/test/test_simple_cov-html.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/file_list.erb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/layout.erb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/simplecov-html-0.10.2/views/source_file.erb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/CHANGELOG.md +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/README.md +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/Rakefile +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/index.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/spec/display_width_spec.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/unicode-display_width-1.3.0/unicode-display_width.gemspec +18 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ast-2.3.0.gemspec +59 -0
- data/vendor/bundle/ruby/2.3.0/specifications/byebug-9.1.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/specifications/codeclimate-test-reporter-1.0.8.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/ruby/2.3.0/specifications/docile-1.1.5.gemspec +48 -0
- data/vendor/bundle/ruby/2.3.0/specifications/json-2.1.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.3.0/specifications/parser-2.4.0.0.gemspec +61 -0
- data/vendor/bundle/ruby/2.3.0/specifications/powerpack-0.1.1.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rainbow-2.2.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rake-12.1.0.gemspec +49 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-3.6.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.6.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.6.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-3.6.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.6.0.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rubocop-0.46.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ruby-progressbar-1.9.0.gemspec +46 -0
- data/vendor/bundle/ruby/2.3.0/specifications/simplecov-0.13.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.3.0/specifications/simplecov-html-0.10.2.gemspec +33 -0
- data/vendor/bundle/ruby/2.3.0/specifications/unicode-display_width-1.3.0.gemspec +38 -0
- metadata +1525 -3
@@ -0,0 +1,1806 @@
|
|
1
|
+
# GUIDE
|
2
|
+
|
3
|
+
## Introduction
|
4
|
+
|
5
|
+
### First Steps
|
6
|
+
|
7
|
+
A handful of commands are enough to get started using `byebug`. The following
|
8
|
+
session illustrates these commands. Take the following sample file:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
#
|
12
|
+
# The n'th triangle number: triangle(n) = n*(n+1)/2 = 1 + 2 + ... + n
|
13
|
+
#
|
14
|
+
def triangle(n)
|
15
|
+
tri = 0
|
16
|
+
|
17
|
+
0.upto(n) { |i| tri += i }
|
18
|
+
|
19
|
+
tri
|
20
|
+
end
|
21
|
+
|
22
|
+
t = triangle(3)
|
23
|
+
puts t
|
24
|
+
|
25
|
+
```
|
26
|
+
|
27
|
+
Let's debug it.
|
28
|
+
|
29
|
+
```bash
|
30
|
+
$ byebug /path/to/triangle.rb
|
31
|
+
|
32
|
+
[1, 10] in /path/to/triangle.rb
|
33
|
+
1: #
|
34
|
+
2: # The n'th triangle number: triangle(n) = n*(n+1)/2 = 1 + 2 + ... + n
|
35
|
+
3: #
|
36
|
+
=> 4: def triangle(n)
|
37
|
+
5: tri = 0
|
38
|
+
6:
|
39
|
+
7: 0.upto(n) { |i| tri += i }
|
40
|
+
8:
|
41
|
+
9: tri
|
42
|
+
10: end
|
43
|
+
(byebug)
|
44
|
+
```
|
45
|
+
|
46
|
+
We are currently stopped before the first executable line of the program: line 4
|
47
|
+
of `triangle.rb`. If you are used to less dynamic languages and have used
|
48
|
+
debuggers for more statically compiled languages like C, C++, or Java, it may
|
49
|
+
seem odd to be stopped before a function definition but in Ruby line 4 is
|
50
|
+
executed.
|
51
|
+
|
52
|
+
Byebug's prompt is `(byebug)`. If the program has died and you are in
|
53
|
+
post-mortem debugging, `(byebug:post-mortem)` is used instead. If the program
|
54
|
+
has terminated normally and the `--no-quit` option has been specified in the
|
55
|
+
command line, the prompt will be `(byebug:ctrl)` instead. The commands available
|
56
|
+
change depending on the program's state.
|
57
|
+
|
58
|
+
Byebug automatically lists 10 lines of code centered around the current line
|
59
|
+
every time it is stopped. The current line is marked with `=>`. If the range
|
60
|
+
would overflow the beggining or the end of the file, byebug will move it
|
61
|
+
accordingly so that only actual real lines of code are displayed.
|
62
|
+
|
63
|
+
Now let us step through the program.
|
64
|
+
|
65
|
+
```bash
|
66
|
+
(byebug) step
|
67
|
+
|
68
|
+
[5, 14] in /path/to/triangle.rb
|
69
|
+
5: tri = 0
|
70
|
+
6:
|
71
|
+
7: 0.upto(n) { |i| tri += i }
|
72
|
+
9: end
|
73
|
+
10:
|
74
|
+
11: tri
|
75
|
+
12: end
|
76
|
+
13:
|
77
|
+
=> 14: triangle(3)
|
78
|
+
(byebug) <RET> # hit enter
|
79
|
+
|
80
|
+
[1, 10] in /path/to/triangle.rb
|
81
|
+
1: #
|
82
|
+
2: # The n'th triangle number: triangle(n) = n*(n+1)/2 = 1 + 2 + ... + n
|
83
|
+
3: #
|
84
|
+
4: def triangle(n)
|
85
|
+
=> 5: tri = 0
|
86
|
+
6:
|
87
|
+
7: 0.upto(n) { |i| tri += i }
|
88
|
+
8:
|
89
|
+
9: tri
|
90
|
+
10: end
|
91
|
+
(byebug) eval tri
|
92
|
+
nil
|
93
|
+
(byebug) step
|
94
|
+
|
95
|
+
[2, 11] in /path/to/triangle.rb
|
96
|
+
2: # The n'th triangle number: triangle(n) = n*(n+1)/2 = 1 + 2 + ... + n
|
97
|
+
3: #
|
98
|
+
4: def triangle(n)
|
99
|
+
5: tri = 0
|
100
|
+
6:
|
101
|
+
=> 7: 0.upto(n) { |i| tri += i }
|
102
|
+
8:
|
103
|
+
9: tri
|
104
|
+
10: end
|
105
|
+
11:
|
106
|
+
(byebug) eval tri
|
107
|
+
0
|
108
|
+
```
|
109
|
+
|
110
|
+
The first `step` command runs the script one executable unit. The second command
|
111
|
+
we entered was just hitting the return key: `byebug` remembers the last command
|
112
|
+
you entered was `step` and runs it again.
|
113
|
+
|
114
|
+
One way to print the values of variables is `eval` (there are other ways). When we
|
115
|
+
look at the value of `tri` the first time, we see it is `nil`. Again we are
|
116
|
+
stopped _before_ the assignment on line 5, and this variable hadn't been set
|
117
|
+
previously. However after issuing another `step` command we see that the value
|
118
|
+
is 0 as expected. If every time we stop we want to see the value of `tri` to see
|
119
|
+
how things are going, there is a better way by setting a display expression:
|
120
|
+
|
121
|
+
```bash
|
122
|
+
(byebug) display tri
|
123
|
+
1: tri = 0
|
124
|
+
```
|
125
|
+
|
126
|
+
Now let us run the program until right before we return from the function. We'll
|
127
|
+
want to see which lines get run, so we turn on _line tracing_. If we don't want
|
128
|
+
whole paths to be displayed when tracing, we can turn on _basename_.
|
129
|
+
|
130
|
+
```bash
|
131
|
+
(byebug) set linetrace
|
132
|
+
linetrace is on
|
133
|
+
(byebug) set basename
|
134
|
+
basename is on
|
135
|
+
(byebug) finish 0
|
136
|
+
Tracing: triangle.rb:7 0.upto(n) { |i| tri += i }
|
137
|
+
1: tri = 0
|
138
|
+
Tracing: triangle.rb:7 0.upto(n) { |i| tri += i }
|
139
|
+
1: tri = 0
|
140
|
+
Tracing: triangle.rb:7 0.upto(n) { |i| tri += i }
|
141
|
+
1: tri = 1
|
142
|
+
Tracing: triangle.rb:7 0.upto(n) { |i| tri += i }
|
143
|
+
1: tri = 3
|
144
|
+
Tracing: triangle.rb:9 tri
|
145
|
+
1: tri = 6
|
146
|
+
1: tri = 6
|
147
|
+
|
148
|
+
[4, 13] in /home/davidr/Proyectos/byebug/triangle.rb
|
149
|
+
4: def triangle(n)
|
150
|
+
5: tri = 0
|
151
|
+
6:
|
152
|
+
7: 0.upto(n) { |i| tri += i }
|
153
|
+
8:
|
154
|
+
9: tri
|
155
|
+
=> 10: end
|
156
|
+
11:
|
157
|
+
12: t = triangle(3)
|
158
|
+
13: puts t
|
159
|
+
(byebug) quit
|
160
|
+
Really quit? (y/n)
|
161
|
+
y
|
162
|
+
```
|
163
|
+
|
164
|
+
So far, so good. As you can see from the above, to get out of `byebug`, one
|
165
|
+
can issue a `quit` command (or the abbreviation `q`). If you want to quit
|
166
|
+
without being prompted, suffix the command with an exclamation mark, e.g., `q!`.
|
167
|
+
|
168
|
+
### Second Sample Session: Delving Deeper
|
169
|
+
|
170
|
+
In this section we'll introduce breakpoints, the call stack and restarting.
|
171
|
+
Below we will debug a simple Ruby program to solve the classic Towers of Hanoi
|
172
|
+
puzzle. It is augmented by the bane of programming: some command-parameter
|
173
|
+
processing with error checking.
|
174
|
+
|
175
|
+
```ruby
|
176
|
+
#
|
177
|
+
# Solves the classic Towers of Hanoi puzzle.
|
178
|
+
#
|
179
|
+
def hanoi(n, a, b, c)
|
180
|
+
hanoi(n - 1, a, c, b) if n - 1 > 0
|
181
|
+
|
182
|
+
puts "Move disk #{a} to #{b}"
|
183
|
+
|
184
|
+
hanoi(n - 1, c, b, a) if n - 1 > 0
|
185
|
+
end
|
186
|
+
|
187
|
+
n_args = $ARGV.length
|
188
|
+
|
189
|
+
raise('*** Need number of disks or no parameter') if n_args > 1
|
190
|
+
|
191
|
+
n = 3
|
192
|
+
|
193
|
+
if n_args > 0
|
194
|
+
begin
|
195
|
+
n = $ARGV[0].to_i
|
196
|
+
rescue ValueError
|
197
|
+
raise("*** Expecting an integer, got: #{$ARGV[0]}")
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
raise('*** Number of disks should be between 1 and 100') if n < 1 || n > 100
|
202
|
+
|
203
|
+
hanoi(n, :a, :b, :c)
|
204
|
+
```
|
205
|
+
|
206
|
+
Recall in the first section it was stated that before the `def` is run, the
|
207
|
+
method it names is undefined. Let's check that out. First let's see what
|
208
|
+
private methods we can call before running `def hanoi`.
|
209
|
+
|
210
|
+
```bash
|
211
|
+
$ byebug path/to/hanoi.rb
|
212
|
+
|
213
|
+
1: #
|
214
|
+
2: # Solves the classic Towers of Hanoi puzzle.
|
215
|
+
3: #
|
216
|
+
4: def hanoi(n, a, b, c)
|
217
|
+
5: hanoi(n - 1, a, c, b) if n - 1 > 0
|
218
|
+
6:
|
219
|
+
7: puts "Move disk #{a} to #{b}"
|
220
|
+
8:
|
221
|
+
9: hanoi(n - 1, c, b, a) if n - 1 > 0
|
222
|
+
10: end
|
223
|
+
(byebug) private_methods
|
224
|
+
public
|
225
|
+
private
|
226
|
+
include
|
227
|
+
using
|
228
|
+
define_method
|
229
|
+
default_src_encoding
|
230
|
+
DelegateClass
|
231
|
+
Digest
|
232
|
+
timeout
|
233
|
+
initialize_copy
|
234
|
+
initialize_dup
|
235
|
+
initialize_clone
|
236
|
+
sprintf
|
237
|
+
format
|
238
|
+
Integer
|
239
|
+
Float
|
240
|
+
String
|
241
|
+
Array
|
242
|
+
Hash
|
243
|
+
warn
|
244
|
+
raise
|
245
|
+
fail
|
246
|
+
global_variables
|
247
|
+
__method__
|
248
|
+
__callee__
|
249
|
+
__dir__
|
250
|
+
eval
|
251
|
+
local_variables
|
252
|
+
iterator?
|
253
|
+
block_given?
|
254
|
+
catch
|
255
|
+
throw
|
256
|
+
loop
|
257
|
+
respond_to_missing?
|
258
|
+
trace_var
|
259
|
+
untrace_var
|
260
|
+
at_exit
|
261
|
+
syscall
|
262
|
+
open
|
263
|
+
printf
|
264
|
+
print
|
265
|
+
putc
|
266
|
+
puts
|
267
|
+
gets
|
268
|
+
readline
|
269
|
+
select
|
270
|
+
readlines
|
271
|
+
`
|
272
|
+
p
|
273
|
+
test
|
274
|
+
srand
|
275
|
+
rand
|
276
|
+
trap
|
277
|
+
load
|
278
|
+
require
|
279
|
+
require_relative
|
280
|
+
autoload
|
281
|
+
autoload?
|
282
|
+
proc
|
283
|
+
lambda
|
284
|
+
binding
|
285
|
+
caller
|
286
|
+
caller_locations
|
287
|
+
exec
|
288
|
+
fork
|
289
|
+
exit!
|
290
|
+
system
|
291
|
+
spawn
|
292
|
+
sleep
|
293
|
+
exit
|
294
|
+
abort
|
295
|
+
Rational
|
296
|
+
Complex
|
297
|
+
set_trace_func
|
298
|
+
gem_original_require
|
299
|
+
Pathname
|
300
|
+
pp
|
301
|
+
y
|
302
|
+
URI
|
303
|
+
rubygems_require
|
304
|
+
initialize
|
305
|
+
singleton_method_added
|
306
|
+
singleton_method_removed
|
307
|
+
singleton_method_undefined
|
308
|
+
method_missing
|
309
|
+
(byebug) private_methods.member?(:hanoi)
|
310
|
+
false
|
311
|
+
```
|
312
|
+
|
313
|
+
`private_methods` is not a byebug command but a Ruby feature. By default, when
|
314
|
+
`byebug` doesn't understand a command, it will evaluate it as if it was a Ruby
|
315
|
+
command. You can use any Ruby to inspect your program's state at the place it
|
316
|
+
is stopped.
|
317
|
+
|
318
|
+
Now let's see what happens after stepping:
|
319
|
+
|
320
|
+
```bash
|
321
|
+
(byebug) step
|
322
|
+
|
323
|
+
[5, 14] in /path/to/hanoi.rb
|
324
|
+
5: hanoi(n - 1, a, c, b) if n - 1 > 0
|
325
|
+
6:
|
326
|
+
7: puts "Move disk #{a} to #{b}"
|
327
|
+
8:
|
328
|
+
9: hanoi(n - 1, c, b, a) if n - 1 > 0
|
329
|
+
10: end
|
330
|
+
11:
|
331
|
+
=> 12: n_args = $ARGV.length
|
332
|
+
13:
|
333
|
+
14: raise('*** Need number of disks or no parameter') if n_args > 1
|
334
|
+
(byebug) private_methods.member?(:hanoi)
|
335
|
+
true
|
336
|
+
(byebug)
|
337
|
+
```
|
338
|
+
|
339
|
+
Okay, lets go on and talk about program arguments.
|
340
|
+
|
341
|
+
```bash
|
342
|
+
(byebug) $ARGV
|
343
|
+
[]
|
344
|
+
```
|
345
|
+
|
346
|
+
Oops. We forgot to specify any parameters to this program. Let's try again. We
|
347
|
+
can use the `restart` command here.
|
348
|
+
|
349
|
+
```bash
|
350
|
+
(byebug) restart 3
|
351
|
+
Re exec'ing:
|
352
|
+
/path/to/bin/byebug /path/to/hanoi.rb 3
|
353
|
+
|
354
|
+
[1, 10] in /path/to/hanoi.rb
|
355
|
+
1: #
|
356
|
+
2: # Solves the classic Towers of Hanoi puzzle.
|
357
|
+
3: #
|
358
|
+
=> 4: def hanoi(n, a, b, c)
|
359
|
+
5: hanoi(n - 1, a, c, b) if n - 1 > 0
|
360
|
+
6:
|
361
|
+
7: puts "Move disk #{a} to #{b}"
|
362
|
+
8:
|
363
|
+
9: hanoi(n - 1, c, b, a) if n - 1 > 0
|
364
|
+
10: end
|
365
|
+
(byebug) break 5
|
366
|
+
Created breakpoint 1 at /path/to/hanoi.rb:5
|
367
|
+
(byebug) continue
|
368
|
+
Stopped by breakpoint 1 at /path/to/hanoi.rb:5
|
369
|
+
|
370
|
+
[1, 10] in /path/to/hanoi.rb
|
371
|
+
1: #
|
372
|
+
2: # Solves the classic Towers of Hanoi puzzle.
|
373
|
+
3: #
|
374
|
+
4: def hanoi(n, a, b, c)
|
375
|
+
=> 5: hanoi(n - 1, a, c, b) if n - 1 > 0
|
376
|
+
6:
|
377
|
+
7: puts "Move disk #{a} to #{b}"
|
378
|
+
8:
|
379
|
+
9: hanoi(n - 1, c, b, a) if n - 1 > 0
|
380
|
+
10: end
|
381
|
+
(byebug) display n
|
382
|
+
1: n = 3
|
383
|
+
(byebug) display a
|
384
|
+
2: a = :a
|
385
|
+
(byebug) display b
|
386
|
+
3: b = :b
|
387
|
+
(byebug) undisplay 3
|
388
|
+
(byebug) continue
|
389
|
+
Stopped by breakpoint 1 at /path/to/hanoi.rb:5
|
390
|
+
1: n = 2
|
391
|
+
2: a = :a
|
392
|
+
[1, 10] in /path/to/hanoi.rb
|
393
|
+
1: #
|
394
|
+
2: # Solves the classic Towers of Hanoi puzzle.
|
395
|
+
3: #
|
396
|
+
4: def hanoi(n, a, b, c)
|
397
|
+
=> 5: hanoi(n - 1, a, c, b) if n - 1 > 0
|
398
|
+
6:
|
399
|
+
7: puts "Move disk #{a} to #{b}"
|
400
|
+
8:
|
401
|
+
9: hanoi(n - 1, c, b, a) if n - 1 > 0
|
402
|
+
10: end
|
403
|
+
|
404
|
+
(byebug) c
|
405
|
+
Stopped by breakpoint 1 at /path/to/hanoi.rb:5
|
406
|
+
1: n = 1
|
407
|
+
2: a = :a
|
408
|
+
|
409
|
+
[1, 10] in /path/to/hanoi.rb
|
410
|
+
1: #
|
411
|
+
2: # Solves the classic Towers of Hanoi puzzle.
|
412
|
+
3: #
|
413
|
+
4: def hanoi(n, a, b, c)
|
414
|
+
=> 5: hanoi(n - 1, a, c, b) if n - 1 > 0
|
415
|
+
6:
|
416
|
+
7: puts "Move disk #{a} to #{b}"
|
417
|
+
8:
|
418
|
+
9: hanoi(n - 1, c, b, a) if n - 1 > 0
|
419
|
+
10: end
|
420
|
+
(byebug) set nofullpath
|
421
|
+
fullpath is off
|
422
|
+
(byebug) where
|
423
|
+
--> #0 Object.hanoi(n#Fixnum, a#Symbol, b#Symbol, c#Symbol) at .../shortpath/to/hanoi.rb:5
|
424
|
+
#1 Object.hanoi(n#Fixnum, a#Symbol, b#Symbol, c#Symbol) at .../shortpath/to/hanoi.rb:5
|
425
|
+
#2 <top (required)> at .../Proyectos/byebug/hanoi.rb:28
|
426
|
+
(byebug)
|
427
|
+
```
|
428
|
+
|
429
|
+
In the above we added new commands: `break` (see [breakpoints]()), which
|
430
|
+
indicates to stop just before that line of code is run, and `continue`, which
|
431
|
+
resumes execution. To remove a display expression `undisplay` is used. If we
|
432
|
+
give a display number, just that display expression is removed.
|
433
|
+
|
434
|
+
We also used a new command `where`(see [backtrace]()) to show the callstack. In
|
435
|
+
the above situation, starting from the bottom line we see we called the `hanoi`
|
436
|
+
method from line 28 of the file `hanoi.rb` and the `hanoi` method called itself
|
437
|
+
two more times at line 5.
|
438
|
+
|
439
|
+
In the callstack we show a _current frame_ mark, the frame number, the method
|
440
|
+
being called, the names of the parameters, the types those parameters
|
441
|
+
_currently_ have and the file-line position. Remember it's possible that when
|
442
|
+
the program was called the parameters had different types, since the types of
|
443
|
+
variables can change dynamically. You can alter the style of what to show in the
|
444
|
+
trace (see [callstyle]()).
|
445
|
+
|
446
|
+
Now let's move around the callstack.
|
447
|
+
|
448
|
+
```bash
|
449
|
+
(byebug) undisplay
|
450
|
+
Clear all expressions? (y/n) y
|
451
|
+
(byebug) n_args
|
452
|
+
NameError Exception: undefined local variable or method `n_args' for main:Object
|
453
|
+
(byebug) frame 2
|
454
|
+
|
455
|
+
[19, 28] in /path/to/hanoi.rb
|
456
|
+
19: begin
|
457
|
+
20: n = $ARGV[0].to_i
|
458
|
+
21: rescue ValueError
|
459
|
+
22: raise("*** Expecting an integer, got: #{$ARGV[0]}")
|
460
|
+
23: end
|
461
|
+
24: end
|
462
|
+
25:
|
463
|
+
26: raise('*** Number of disks should be between 1 and 100') if n < 1 || n > 100
|
464
|
+
27:
|
465
|
+
=> 28: hanoi(n, :a, :b, :c)
|
466
|
+
(byebug) n_args
|
467
|
+
1
|
468
|
+
(byebug) eval n
|
469
|
+
3
|
470
|
+
(byebug) down 2
|
471
|
+
|
472
|
+
[1, 10] in /path/to/hanoi.rb
|
473
|
+
1: #
|
474
|
+
2: # Solves the classic Towers of Hanoi puzzle.
|
475
|
+
3: #
|
476
|
+
4: def hanoi(n, a, b, c)
|
477
|
+
=> 5: hanoi(n - 1, a, c, b) if n - 1 > 0
|
478
|
+
6:
|
479
|
+
7: puts "Move disk #{a} to #{b}"
|
480
|
+
8:
|
481
|
+
9: hanoi(n - 1, c, b, a) if n - 1 > 0
|
482
|
+
10: end
|
483
|
+
(byebug) eval n
|
484
|
+
2
|
485
|
+
```
|
486
|
+
|
487
|
+
Notice in the above to get the value of variable `n` we had to use a print
|
488
|
+
command like `eval n`. If we entered just `n`, that would be taken to mean byebug
|
489
|
+
command `next`. In the current scope, variable `n_args` is not defined. However
|
490
|
+
I can change to the top-most frame by using the `frame 2` command. Notice that
|
491
|
+
inside frame #2, the value of `n_args` can be shown. Also note that the value of
|
492
|
+
variable `n` is different.
|
493
|
+
|
494
|
+
### Attaching to a running program with `byebug`
|
495
|
+
|
496
|
+
In the previous sessions we've been calling byebug right at the outset, but
|
497
|
+
there is another mode of operation you might use. If there's a lot of code that
|
498
|
+
needs to be run before the part you want to inspect, it might not be efficient
|
499
|
+
or convenient to run byebug from the outset.
|
500
|
+
|
501
|
+
In this section we'll show how to enter the code in the middle of your program,
|
502
|
+
while delving more into byebug's operation. We will also use unit testing. Using
|
503
|
+
unit tests will greatly reduce the amount of debugging needed, while at the same
|
504
|
+
time, will increase the quality of your program.
|
505
|
+
|
506
|
+
What we'll do is take the `triangle` code from the first session and write a
|
507
|
+
unit test for that. In a sense we did write a tiny test for the program which
|
508
|
+
was basically the last line where we printed the value of `triangle(3)`. This
|
509
|
+
test however wasn't automated: the expectation is that someone would look at the
|
510
|
+
output and verify that what was printed is what was expected.
|
511
|
+
|
512
|
+
Before we can turn that into something that can be `required`, we probably want
|
513
|
+
to remove that output. However I like to keep in that line so that when I
|
514
|
+
look at the file, I have an example of how to run it. Therefore we will
|
515
|
+
conditionally run this line if that file is invoked directly, but skip it if it
|
516
|
+
is not. _NOTE: `byebug` resets `$0` to try to make things like this work._
|
517
|
+
|
518
|
+
```ruby
|
519
|
+
if __FILE__ == $PROGRAM_NAME
|
520
|
+
t = triangle(3)
|
521
|
+
puts t
|
522
|
+
end
|
523
|
+
```
|
524
|
+
|
525
|
+
Okay, we're now ready to write our unit test and we'll use the `minitest`
|
526
|
+
framework for that. Here's the test code, it should be placed in the same
|
527
|
+
directory as `triangle.rb`.
|
528
|
+
|
529
|
+
```ruby
|
530
|
+
require 'minitest/autorun'
|
531
|
+
require_relative 'triangle.rb'
|
532
|
+
|
533
|
+
class TestTriangle < Minitest::Test
|
534
|
+
def test_basic
|
535
|
+
solutions = []
|
536
|
+
|
537
|
+
0.upto(5) { |i| solutions << triangle(i) }
|
538
|
+
|
539
|
+
assert_equal([0, 1, 3, 6, 10, 15], solutions, 'First 5 triangle numbers')
|
540
|
+
end
|
541
|
+
end
|
542
|
+
```
|
543
|
+
|
544
|
+
Let's say we want to stop before the first statement in our test method, we'll
|
545
|
+
add the following:
|
546
|
+
|
547
|
+
```ruby
|
548
|
+
...
|
549
|
+
def test_basic
|
550
|
+
byebug
|
551
|
+
solutions = []
|
552
|
+
...
|
553
|
+
```
|
554
|
+
|
555
|
+
Now we run the program, requiring `byebug`
|
556
|
+
|
557
|
+
```bash
|
558
|
+
$ ruby -rbyebug test_triangle.rb
|
559
|
+
Run options: --seed 31679
|
560
|
+
|
561
|
+
# Running:
|
562
|
+
|
563
|
+
[2, 11] in test_triangle.rb
|
564
|
+
2: require_relative 'triangle.rb'
|
565
|
+
3:
|
566
|
+
4: class TestTriangle < Minitest::Test
|
567
|
+
5: def test_basic
|
568
|
+
6: byebug
|
569
|
+
=> 7: solutions = []
|
570
|
+
8:
|
571
|
+
9: 0.upto(5) { |i| solutions << triangle(i) }
|
572
|
+
10:
|
573
|
+
11: assert_equal([0, 1, 3, 6, 10, 15], solutions, 'First 5 triangle numbers')
|
574
|
+
(byebug)
|
575
|
+
```
|
576
|
+
|
577
|
+
and we see that we are stopped at line 7 just before the initialization of the
|
578
|
+
list `solutions`.
|
579
|
+
|
580
|
+
Now let's see where we are...
|
581
|
+
|
582
|
+
```bash
|
583
|
+
(byebug) set nofullpath
|
584
|
+
Displaying frame's full file names is off.
|
585
|
+
(byebug) bt
|
586
|
+
--> #0 TestTriangle.test_basic at .../Proyectos/byebug/test_triangle.rb:7
|
587
|
+
#1 block (3 levels) in Minitest::Test.run at .../lib/minitest/test.rb:108
|
588
|
+
#2 Minitest::Test.capture_exceptions at .../lib/minitest/test.rb:206
|
589
|
+
#3 block (2 levels) in Minitest::Test.run at .../lib/minitest/test.rb:105
|
590
|
+
#4 Minitest::Test.time_it at .../lib/minitest/test.rb:258
|
591
|
+
#5 block in Minitest::Test.run at .../lib/minitest/test.rb:104
|
592
|
+
#6 #<Class:Minitest::Runnable>.on_signal(name#String, action#Proc) at .../minitest-5.5.0/lib/minitest.rb:321
|
593
|
+
#7 Minitest::Test.with_info_handler(&block#Proc) at .../lib/minitest/test.rb:278
|
594
|
+
#8 Minitest::Test.run at .../lib/minitest/test.rb:103
|
595
|
+
#9 #<Class:Minitest>.run_one_method(klass#Class, method_name#String) at .../minitest-5.5.0/lib/minitest.rb:768
|
596
|
+
#10 #<Class:Minitest::Runnable>.run_one_method(klass#Class, method_name#String, reporter#Minitest::CompositeReporter) at .../minitest-5.5.0/lib/minitest.rb:295
|
597
|
+
#11 block (2 levels) in #<Class:Minitest::Runnable>.run(reporter#Minitest::CompositeReporter, options#Hash) at .../minitest-5.5.0/lib/minitest.rb:289
|
598
|
+
ͱ-- #12 Array.each at .../minitest-5.5.0/lib/minitest.rb:288
|
599
|
+
#13 block in #<Class:Minitest::Runnable>.run(reporter#Minitest::CompositeReporter, options#Hash) at .../minitest-5.5.0/lib/minitest.rb:288
|
600
|
+
#14 #<Class:Minitest::Runnable>.on_signal(name#String, action#Proc) at .../minitest-5.5.0/lib/minitest.rb:321
|
601
|
+
#15 #<Class:Minitest::Runnable>.with_info_handler(reporter#Minitest::CompositeReporter, &block#Proc) at .../minitest-5.5.0/lib/minitest.rb:308
|
602
|
+
#16 #<Class:Minitest::Runnable>.run(reporter#Minitest::CompositeReporter, options#Hash) at .../minitest-5.5.0/lib/minitest.rb:287
|
603
|
+
#17 block in #<Class:Minitest>.__run(reporter#Minitest::CompositeReporter, options#Hash) at .../minitest-5.5.0/lib/minitest.rb:150
|
604
|
+
ͱ-- #18 Array.map at .../minitest-5.5.0/lib/minitest.rb:150
|
605
|
+
#19 #<Class:Minitest>.__run(reporter#Minitest::CompositeReporter, options#Hash) at .../minitest-5.5.0/lib/minitest.rb:150
|
606
|
+
#20 #<Class:Minitest>.run(args#Array) at .../minitest-5.5.0/lib/minitest.rb:127
|
607
|
+
#21 block in #<Class:Minitest>.autorun at .../minitest-5.5.0/lib/minitest.rb:56
|
608
|
+
(byebug)
|
609
|
+
```
|
610
|
+
|
611
|
+
We get the same result as if we had run byebug from the outset.
|
612
|
+
|
613
|
+
### Debugging Oddities: How debugging Ruby may be different from other languages
|
614
|
+
|
615
|
+
If you are used to debugging in other languages like C, C++, Perl, Java or even
|
616
|
+
Bash (see [bashdb](http://bashdb.sf.net)), there may be a number of things that
|
617
|
+
seem or feel a little bit different and may confuse you. A number of these
|
618
|
+
things aren't oddities of the debugger per se but differences in how Ruby works
|
619
|
+
compared to those other languages. Because Ruby works a little differently from
|
620
|
+
those other languages, writing a debugger has to also be a little different as
|
621
|
+
well if it is to be useful. In this respect, using Byebug may help you
|
622
|
+
understand Ruby better.
|
623
|
+
|
624
|
+
We've already seen one such difference: the fact that we stop on method
|
625
|
+
definitions or `def`'s and that is because these are in fact executable
|
626
|
+
statements. In other compiled languages this would not happen because that's
|
627
|
+
already been done when you compile the program (or in Perl when it scans in the
|
628
|
+
program). In this section we'll consider some other things that might throw off
|
629
|
+
new users to Ruby who are familiar with other languages and debugging in them.
|
630
|
+
|
631
|
+
#### Bouncing Around in Blocks (iterators)
|
632
|
+
|
633
|
+
When debugging languages with coroutines like Python and Ruby, a method call may
|
634
|
+
not necessarily go to the first statement after the method header. It's possible
|
635
|
+
that the call will continue after a `yield` statement from a prior call.
|
636
|
+
|
637
|
+
```ruby
|
638
|
+
#
|
639
|
+
# Enumerator for primes
|
640
|
+
#
|
641
|
+
class SievePrime
|
642
|
+
def initialize
|
643
|
+
@odd_primes = []
|
644
|
+
end
|
645
|
+
|
646
|
+
def next_prime
|
647
|
+
candidate = 2
|
648
|
+
yield candidate
|
649
|
+
not_prime = false
|
650
|
+
candidate += 1
|
651
|
+
|
652
|
+
loop do
|
653
|
+
@odd_primes.each do |p|
|
654
|
+
not_prime = (0 == (candidate % p))
|
655
|
+
break if not_prime
|
656
|
+
end
|
657
|
+
|
658
|
+
unless not_prime
|
659
|
+
@odd_primes << candidate
|
660
|
+
yield candidate
|
661
|
+
end
|
662
|
+
|
663
|
+
candidate += 2
|
664
|
+
end
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
668
|
+
SievePrime.new.next_prime do |prime|
|
669
|
+
puts prime
|
670
|
+
break if prime > 10
|
671
|
+
end
|
672
|
+
```
|
673
|
+
|
674
|
+
```bash
|
675
|
+
$ byebug primes.rb
|
676
|
+
[1, 10] in /path/to/primes.rb
|
677
|
+
1: #
|
678
|
+
2: # Enumerator for primes
|
679
|
+
3: #
|
680
|
+
=> 4: class SievePrime
|
681
|
+
5: def initialize
|
682
|
+
6: @odd_primes = []
|
683
|
+
7: end
|
684
|
+
8:
|
685
|
+
9: def self.next_prime(&block)
|
686
|
+
10: candidate = 2
|
687
|
+
(byebug) set linetrace
|
688
|
+
line tracing is on.
|
689
|
+
(byebug) set basename
|
690
|
+
basename in on.
|
691
|
+
(byebug) step 9
|
692
|
+
Tracing: primes.rb:5 def initialize
|
693
|
+
Tracing: primes.rb:9 def next_prime
|
694
|
+
Tracing: primes.rb:31 SievePrime.new.next_prime do |prime|
|
695
|
+
Tracing: primes.rb:6 @odd_primes = []
|
696
|
+
Tracing: primes.rb:10 candidate = 2
|
697
|
+
Tracing: primes.rb:11 yield candidate
|
698
|
+
Tracing: primes.rb:32 puts prime
|
699
|
+
2
|
700
|
+
Tracing: primes.rb:33 break if prime > 10
|
701
|
+
Tracing: primes.rb:12 not_prime = false
|
702
|
+
|
703
|
+
[7, 16] in /path/to/primes.rb
|
704
|
+
7: end
|
705
|
+
8:
|
706
|
+
9: def next_prime
|
707
|
+
10: candidate = 2
|
708
|
+
11: yield candidate
|
709
|
+
=> 12: not_prime = false
|
710
|
+
13: candidate += 1
|
711
|
+
14:
|
712
|
+
15: loop do
|
713
|
+
16: @odd_primes.each do |p|
|
714
|
+
17: not_prime = (0 == (candidate % p))
|
715
|
+
(byebug)
|
716
|
+
```
|
717
|
+
|
718
|
+
The loop between lines 31-34 gets interleaved between those of
|
719
|
+
`SievePrime#next_prime`, lines 9-28 above.
|
720
|
+
|
721
|
+
#### No Parameter Values in a Call Stack
|
722
|
+
|
723
|
+
In traditional debuggers, in a call stack you can generally see the names of the
|
724
|
+
parameters and the values that were passed in.
|
725
|
+
|
726
|
+
Ruby is a very dynamic language and it tries to be efficient within the confines
|
727
|
+
of the language definition. Values generally aren't taken out of a variable or
|
728
|
+
expression and pushed onto a stack. Instead a new scope is created and the
|
729
|
+
parameters are given initial values. Parameter passing is by _reference_ not by
|
730
|
+
_value_ as it is say Algol, C, or Perl. During the execution of a method,
|
731
|
+
parameter values can change (and often do). In fact even the _class_ of the
|
732
|
+
object can change.
|
733
|
+
|
734
|
+
So at present, the name of the parameter is shown. The call-style setting
|
735
|
+
([callstyle]()) can be used to set whether the name is shown or the name and the
|
736
|
+
_current_ class of the object.
|
737
|
+
|
738
|
+
#### Lines You Can Stop At
|
739
|
+
|
740
|
+
Consider the following little Ruby program.
|
741
|
+
|
742
|
+
```ruby
|
743
|
+
'Yes it does' =~ /
|
744
|
+
(Yes) \s+
|
745
|
+
it \s+
|
746
|
+
does
|
747
|
+
/ix
|
748
|
+
puts $1
|
749
|
+
```
|
750
|
+
|
751
|
+
The stopping points that Ruby records are the last two lines, lines 5 and 6.
|
752
|
+
|
753
|
+
Inside `byebug` you can get a list of stoppable lines for a file using the `info
|
754
|
+
file` command.
|
755
|
+
|
756
|
+
### Threading support
|
757
|
+
|
758
|
+
Byebug supports debugging Ruby programs making use of multiple threads.
|
759
|
+
|
760
|
+
Let's consider the following sample program:
|
761
|
+
|
762
|
+
```ruby
|
763
|
+
class Company
|
764
|
+
def initialize(task)
|
765
|
+
@tasks, @results = Queue.new, Queue.new
|
766
|
+
|
767
|
+
@tasks.push(task)
|
768
|
+
end
|
769
|
+
|
770
|
+
def run
|
771
|
+
manager = Thread.new { manager_routine }
|
772
|
+
employee = Thread.new { employee_routine }
|
773
|
+
|
774
|
+
sleep 6
|
775
|
+
|
776
|
+
go_home(manager)
|
777
|
+
go_home(employee)
|
778
|
+
end
|
779
|
+
|
780
|
+
#
|
781
|
+
# An employee doing his thing
|
782
|
+
#
|
783
|
+
def employee_routine
|
784
|
+
loop do
|
785
|
+
if @tasks.empty?
|
786
|
+
have_a_break(0.1)
|
787
|
+
else
|
788
|
+
work_hard(@tasks.pop)
|
789
|
+
end
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
793
|
+
#
|
794
|
+
# A manager doing his thing
|
795
|
+
#
|
796
|
+
def manager_routine
|
797
|
+
loop do
|
798
|
+
if @results.empty?
|
799
|
+
have_a_break(1)
|
800
|
+
else
|
801
|
+
show_off(@results.pop)
|
802
|
+
end
|
803
|
+
end
|
804
|
+
end
|
805
|
+
|
806
|
+
private
|
807
|
+
|
808
|
+
def show_off(result)
|
809
|
+
puts result
|
810
|
+
end
|
811
|
+
|
812
|
+
def work_hard(task)
|
813
|
+
task ** task
|
814
|
+
end
|
815
|
+
|
816
|
+
def have_a_break(amount)
|
817
|
+
sleep amount
|
818
|
+
end
|
819
|
+
|
820
|
+
def go_home(person)
|
821
|
+
person.kill
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
825
|
+
Company.new(10).run
|
826
|
+
```
|
827
|
+
|
828
|
+
The `Company` class simulates a real company. The company has a manager and an
|
829
|
+
employee represented by 2 threads: they work concurrently to achieve the
|
830
|
+
company's targets.
|
831
|
+
|
832
|
+
* The employee looks for tasks to complete. If there are tasks, it works hard to
|
833
|
+
complete them. Otherwise he has a quick break.
|
834
|
+
|
835
|
+
```ruby
|
836
|
+
#
|
837
|
+
# An employee doing his thing
|
838
|
+
#
|
839
|
+
def employee_routine
|
840
|
+
loop do
|
841
|
+
if @tasks.empty?
|
842
|
+
have_a_break(0.1)
|
843
|
+
else
|
844
|
+
work_hard(@tasks.pop)
|
845
|
+
end
|
846
|
+
end
|
847
|
+
end
|
848
|
+
```
|
849
|
+
|
850
|
+
* The manager, on the other hand, sits there all day and sporadically checks
|
851
|
+
whether there are any results to show off.
|
852
|
+
|
853
|
+
```ruby
|
854
|
+
#
|
855
|
+
# A manager doing his thing
|
856
|
+
#
|
857
|
+
def manager_routine
|
858
|
+
loop do
|
859
|
+
if @results.empty?
|
860
|
+
have_a_break(1)
|
861
|
+
else
|
862
|
+
show_off(@results.pop)
|
863
|
+
end
|
864
|
+
end
|
865
|
+
end
|
866
|
+
```
|
867
|
+
|
868
|
+
We do some abstractions easily readable in the code. Our tasks are just a
|
869
|
+
`Queue` of numbers, so are our results. What our employer does when he works is
|
870
|
+
some calculation with those numbers and what the manager does with the results
|
871
|
+
is printing them to the screen.
|
872
|
+
|
873
|
+
We instantiate a new company with an initial task and after running that
|
874
|
+
company we expect the result to be printed in the screen, but it is not. Lets
|
875
|
+
debug our sample program:
|
876
|
+
|
877
|
+
```bash
|
878
|
+
[1, 10] in /path/to/company.rb
|
879
|
+
=> 1: class Company
|
880
|
+
2: def initialize(task)
|
881
|
+
3: @tasks, @results = Queue.new, Queue.new
|
882
|
+
4:
|
883
|
+
5: @tasks.push(task)
|
884
|
+
6: end
|
885
|
+
7:
|
886
|
+
8: def run
|
887
|
+
9: manager = Thread.new { manager_routine }
|
888
|
+
10: employee = Thread.new { employee_routine }
|
889
|
+
(byebug) l
|
890
|
+
|
891
|
+
[11, 20] in /path/to/company.rb
|
892
|
+
11:
|
893
|
+
12: sleep 6
|
894
|
+
13:
|
895
|
+
14: go_home(manager)
|
896
|
+
15: go_home(employee)
|
897
|
+
16: end
|
898
|
+
17:
|
899
|
+
18: #
|
900
|
+
19: # An employee doing his thing
|
901
|
+
20: #
|
902
|
+
|
903
|
+
(byebug) c 12
|
904
|
+
Stopped by breakpoint 1 at /path/to/company.rb:12
|
905
|
+
|
906
|
+
[7, 16] in /path/to/company.rb
|
907
|
+
7:
|
908
|
+
8: def run
|
909
|
+
9: manager = Thread.new { manager_routine }
|
910
|
+
10: employee = Thread.new { employee_routine }
|
911
|
+
11:
|
912
|
+
=> 12: sleep 6
|
913
|
+
13:
|
914
|
+
14: go_home(manager)
|
915
|
+
15: go_home(employee)
|
916
|
+
16: end
|
917
|
+
(byebug) th l
|
918
|
+
+ 1 #<Thread:0x0000000192f328 run> /path/to/company.rb:12
|
919
|
+
2 #<Thread:0x00000001ff9870@/path/to/company.rb:9 sleep>
|
920
|
+
3 #<Thread:0x00000001ff80d8@/path/to/company.rb:10 sleep>
|
921
|
+
```
|
922
|
+
|
923
|
+
What we have done here is just start our program and advance to the point
|
924
|
+
inmediately after our `employee` and `manager` threads have been created. We
|
925
|
+
can then check that the threads are there using the `thread list` command. Now
|
926
|
+
we want to debug both of this threads to check what's happening and look for the
|
927
|
+
bug.
|
928
|
+
|
929
|
+
```bash
|
930
|
+
(byebug) th switch 3
|
931
|
+
|
932
|
+
[5, 14] in /path/to/company.rb
|
933
|
+
5: @tasks.push(task)
|
934
|
+
6: end
|
935
|
+
7:
|
936
|
+
8: def run
|
937
|
+
9: manager = Thread.new { manager_routine }
|
938
|
+
=> 10: employee = Thread.new { employee_routine }
|
939
|
+
11:
|
940
|
+
12: sleep 6
|
941
|
+
13:
|
942
|
+
14: go_home(manager)
|
943
|
+
(byebug) th stop 1; th stop 2
|
944
|
+
$ 1 #<Thread:0x00000001307310 sleep> /path/to/company.rb:12
|
945
|
+
$ 2 #<Thread:0x000000018bf438 sleep> /path/to/company.rb:9
|
946
|
+
(byebug) th l
|
947
|
+
$ 1 #<Thread:0x00000001307310 sleep> /path/to/company.rb:12
|
948
|
+
$ 2 #<Thread:0x000000018bf438@/path/to/company.rb:9 sleep> /path/to/company.rb:55
|
949
|
+
+ 3 #<Thread:0x00000001ff80d8@/path/to/company.rb:10 sleep> /path/to/company.rb:10
|
950
|
+
```
|
951
|
+
|
952
|
+
We have started by debugging the `employee` thread. To do that, we switch to
|
953
|
+
that thread using the `thread switch 3` command. The thread number is the one
|
954
|
+
specified by `thread list`, we know this is our worker thread because `thread
|
955
|
+
list` specifies where the thread is defined in the file (and its current
|
956
|
+
position if the thread is currently running, although this is only available
|
957
|
+
since Ruby 2.2.1).
|
958
|
+
|
959
|
+
After that we stopped the main thread and the worker thread, using the command
|
960
|
+
`thread stop`. We do this because we want to focus on the employee thread first
|
961
|
+
and don't want the program to finish while we are debugging. Notice that stopped
|
962
|
+
threads are marked with the "$" symbol whereas the current thread is marked with
|
963
|
+
the "+" symbol.
|
964
|
+
|
965
|
+
```bash
|
966
|
+
(byebug) s
|
967
|
+
|
968
|
+
[17, 26] in /path/to/company.rb
|
969
|
+
17:
|
970
|
+
18: #
|
971
|
+
19: # An employee doing his thing
|
972
|
+
20: #
|
973
|
+
21: def employee_routine
|
974
|
+
=> 22: loop do
|
975
|
+
23: if @tasks.empty?
|
976
|
+
24: have_a_break(0.1)
|
977
|
+
25: else
|
978
|
+
26: work_hard(@tasks.pop)
|
979
|
+
(byebug) s
|
980
|
+
|
981
|
+
[18, 27] in /path/to/company.rb
|
982
|
+
18: #
|
983
|
+
19: # An employee doing his thing
|
984
|
+
20: #
|
985
|
+
21: def employee_routine
|
986
|
+
22: loop do
|
987
|
+
=> 23: if @tasks.empty?
|
988
|
+
24: have_a_break(0.1)
|
989
|
+
25: else
|
990
|
+
26: work_hard(@tasks.pop)
|
991
|
+
27: end
|
992
|
+
(byebug) n
|
993
|
+
|
994
|
+
[21, 30] in /path/to/company.rb
|
995
|
+
21: def employee_routine
|
996
|
+
22: loop do
|
997
|
+
23: if @tasks.empty?
|
998
|
+
24: have_a_break(0.1)
|
999
|
+
25: else
|
1000
|
+
=> 26: work_hard(@tasks.pop)
|
1001
|
+
27: end
|
1002
|
+
28: end
|
1003
|
+
29: end
|
1004
|
+
30:
|
1005
|
+
(byebug) s
|
1006
|
+
|
1007
|
+
[49, 58] in /path/to/company.rb
|
1008
|
+
49: def show_off(result)
|
1009
|
+
50: puts result
|
1010
|
+
51: end
|
1011
|
+
52:
|
1012
|
+
53: def work_hard(task)
|
1013
|
+
=> 54: task ** task
|
1014
|
+
55: end
|
1015
|
+
56:
|
1016
|
+
57: def have_a_break(amount)
|
1017
|
+
58: sleep amount
|
1018
|
+
(byebug) s
|
1019
|
+
|
1020
|
+
[21, 30] in /path/to/company.rb
|
1021
|
+
21: #
|
1022
|
+
22: # An employee doing his thing
|
1023
|
+
23: #
|
1024
|
+
24: def employee_routine
|
1025
|
+
25: loop do
|
1026
|
+
=> 26: if @tasks.empty?
|
1027
|
+
27: have_a_break(0.1)
|
1028
|
+
28: else
|
1029
|
+
29: work_hard(@tasks.pop)
|
1030
|
+
30: end
|
1031
|
+
(byebug) n
|
1032
|
+
|
1033
|
+
[22, 31] in /path/to/company.rb
|
1034
|
+
22: # An employee doing his thing
|
1035
|
+
23: #
|
1036
|
+
24: def employee_routine
|
1037
|
+
25: loop do
|
1038
|
+
26: if @tasks.empty?
|
1039
|
+
=> 27: have_a_break(0.1)
|
1040
|
+
28: else
|
1041
|
+
29: work_hard(@tasks.pop)
|
1042
|
+
30: end
|
1043
|
+
31: end
|
1044
|
+
(byebug) n
|
1045
|
+
|
1046
|
+
[21, 30] in /path/to/company.rb
|
1047
|
+
21: #
|
1048
|
+
22: # An employee doing his thing
|
1049
|
+
23: #
|
1050
|
+
24: def employee_routine
|
1051
|
+
25: loop do
|
1052
|
+
=> 26: if @tasks.empty?
|
1053
|
+
27: have_a_break(0.1)
|
1054
|
+
28: else
|
1055
|
+
29: work_hard(@tasks.pop)
|
1056
|
+
30: end
|
1057
|
+
31: end
|
1058
|
+
(byebug)
|
1059
|
+
```
|
1060
|
+
|
1061
|
+
Everything seems fine in this thread. The first iteration the employee will do
|
1062
|
+
his job, and after that it will just check for new tasks and sleep. Let's debug
|
1063
|
+
the manager task now:
|
1064
|
+
|
1065
|
+
```bash
|
1066
|
+
(byebug) th resume 2
|
1067
|
+
2 #<Thread:0x000000019892d8@/path/to/company.rb:12 run> /path/to/company.rb:12
|
1068
|
+
(byebug) th switch 2
|
1069
|
+
2 #<Thread:0x000000019892d8@/path/to/company.rb:12 sleep> /path/to/company.rb:12
|
1070
|
+
|
1071
|
+
[7, 16] in /path/to/company.rb
|
1072
|
+
7:
|
1073
|
+
8: #
|
1074
|
+
9: # A CEO running his company
|
1075
|
+
10: #
|
1076
|
+
11: def run
|
1077
|
+
=> 12: manager = Thread.new { manager_routine }
|
1078
|
+
13: employee = Thread.new { employee_routine }
|
1079
|
+
14:
|
1080
|
+
15: sleep 6
|
1081
|
+
16:
|
1082
|
+
(byebug)
|
1083
|
+
```
|
1084
|
+
|
1085
|
+
We used the command `thread resume` to restart the manager's thread and then
|
1086
|
+
switch to it using `thread switch`. It's important to resume the thread's
|
1087
|
+
execution before switching to it, otherwise we'll get a hang because we cannot
|
1088
|
+
run a sleeping thread.
|
1089
|
+
|
1090
|
+
Now we can investigate the problem in the employer's side:
|
1091
|
+
|
1092
|
+
```bash
|
1093
|
+
(byebug) s
|
1094
|
+
[30, 39] in /path/to/company.rb
|
1095
|
+
30:
|
1096
|
+
31: #
|
1097
|
+
32: # A manager doing his thing
|
1098
|
+
33: #
|
1099
|
+
34: def manager_routine
|
1100
|
+
=> 35: loop do
|
1101
|
+
36: if @results.empty?
|
1102
|
+
37: have_a_break(1)
|
1103
|
+
38: else
|
1104
|
+
39: show_off(@results.pop)
|
1105
|
+
(byebug) s
|
1106
|
+
|
1107
|
+
[31, 40] in /path/to/company.rb
|
1108
|
+
31: #
|
1109
|
+
32: # A manager doing his thing
|
1110
|
+
33: #
|
1111
|
+
34: def manager_routine
|
1112
|
+
35: loop do
|
1113
|
+
=> 36: if @results.empty?
|
1114
|
+
37: have_a_break(1)
|
1115
|
+
38: else
|
1116
|
+
39: show_off(@results.pop)
|
1117
|
+
40: end
|
1118
|
+
(byebug) n
|
1119
|
+
|
1120
|
+
[32, 41] in /path/to/company.rb
|
1121
|
+
32: # A manager doing his thing
|
1122
|
+
33: #
|
1123
|
+
34: def manager_routine
|
1124
|
+
35: loop do
|
1125
|
+
36: if @results.empty?
|
1126
|
+
=> 37: have_a_break(1)
|
1127
|
+
38: else
|
1128
|
+
39: show_off(@results.pop)
|
1129
|
+
40: end
|
1130
|
+
41: end
|
1131
|
+
(byebug) n
|
1132
|
+
|
1133
|
+
[31, 40] in /path/to/company.rb
|
1134
|
+
31: #
|
1135
|
+
32: # A manager doing his thing
|
1136
|
+
33: #
|
1137
|
+
34: def manager_routine
|
1138
|
+
35: loop do
|
1139
|
+
=> 36: if @results.empty?
|
1140
|
+
37: have_a_break(1)
|
1141
|
+
38: else
|
1142
|
+
39: show_off(@results.pop)
|
1143
|
+
40: end
|
1144
|
+
(byebug)
|
1145
|
+
```
|
1146
|
+
|
1147
|
+
Now we can see the problem, the `@results` variable is always empty! The
|
1148
|
+
employee forgot to leave the results in his manager's deck. We fix it by
|
1149
|
+
changing the line
|
1150
|
+
|
1151
|
+
```ruby
|
1152
|
+
work_hard(@tasks.pop)
|
1153
|
+
```
|
1154
|
+
|
1155
|
+
in the `employee_routine` method with the line
|
1156
|
+
|
1157
|
+
```ruby
|
1158
|
+
@results << work_hard(@tasks.pop)
|
1159
|
+
```
|
1160
|
+
|
1161
|
+
To be continued...
|
1162
|
+
|
1163
|
+
* More complex examples with objects, pretty printing and irb.
|
1164
|
+
* Line tracing and non-interactive tracing.
|
1165
|
+
* Post-mortem debugging.
|
1166
|
+
|
1167
|
+
## Getting in & out
|
1168
|
+
|
1169
|
+
### Starting byebug
|
1170
|
+
|
1171
|
+
There is a wrapper script called `byebug` which basically `require`'s the gem
|
1172
|
+
then loads `byebug` before its argument (the program to be debugged) is started.
|
1173
|
+
If you don't need to pass dash options to your program, which might be confused
|
1174
|
+
with byebug options, then you don't need to add the `--`. To get a brief list of
|
1175
|
+
options and descriptions, use the `--help` option.
|
1176
|
+
|
1177
|
+
```bash
|
1178
|
+
$ byebug --help
|
1179
|
+
|
1180
|
+
byebug 3.5.1
|
1181
|
+
|
1182
|
+
Usage: byebug [options] <script.rb> -- <script.rb parameters>
|
1183
|
+
|
1184
|
+
-d, --debug Set $DEBUG=true
|
1185
|
+
-I, --include list Add to paths to $LOAD_PATH
|
1186
|
+
-m, --[no-]post-mortem Use post-mortem mode
|
1187
|
+
-q, --[no-]quit Quit when script finishes
|
1188
|
+
-x, --[no-]rc Run byebug initialization file
|
1189
|
+
-s, --[no-]stop Stop when script is loaded
|
1190
|
+
-r, --require file Require library before script
|
1191
|
+
-R, --remote [host:]port Remote debug [host:]port
|
1192
|
+
-t, --[no-]trace Turn on line tracing
|
1193
|
+
-v, --version Print program version
|
1194
|
+
-h, --help Display this message
|
1195
|
+
|
1196
|
+
```
|
1197
|
+
|
1198
|
+
Many options appear as a long option name, such as `--help` and a short one
|
1199
|
+
letter option name, such as `-h`. The list of options is detailed below:
|
1200
|
+
|
1201
|
+
#### -h | --help
|
1202
|
+
|
1203
|
+
It causes `byebug` to print some basic help and exit.
|
1204
|
+
|
1205
|
+
#### -v | --version
|
1206
|
+
|
1207
|
+
It causes `byebug` to print its version number and exit.
|
1208
|
+
|
1209
|
+
#### -d | --debug
|
1210
|
+
|
1211
|
+
Sets `$DEBUG` to `true`. Compatible with Ruby's flag.
|
1212
|
+
|
1213
|
+
#### -I | --include path
|
1214
|
+
|
1215
|
+
Adds `path` to load path. `path` can be a single path or a colon separated path
|
1216
|
+
list.
|
1217
|
+
|
1218
|
+
#### -m | --post-mortem
|
1219
|
+
|
1220
|
+
If your program raises an exception that isn't caught you can enter byebug for
|
1221
|
+
inspection of what went wrong. You may also want to use this option in
|
1222
|
+
conjunction with `--no-stop`. See also [Post-Mortem Debugging]().
|
1223
|
+
|
1224
|
+
#### --no-quit
|
1225
|
+
|
1226
|
+
Keep inside `byebug` after your program terminates normally.
|
1227
|
+
|
1228
|
+
#### --no-stop
|
1229
|
+
|
1230
|
+
Normally `byebug` stops before executing the first statement. If instead you
|
1231
|
+
want it to start running initially and perhaps break it later in the execution,
|
1232
|
+
use this option.
|
1233
|
+
|
1234
|
+
#### -r | --require lib
|
1235
|
+
|
1236
|
+
Requires the library before executing the script. This option is compatible
|
1237
|
+
with Ruby's.
|
1238
|
+
|
1239
|
+
#### -t | --trace
|
1240
|
+
|
1241
|
+
Turns on line tracing. Running `byebug --trace <rubyscript>.rb` is pretty much
|
1242
|
+
like running `ruby -rtracer <rubyscript>.rb`. If all you want to do however is
|
1243
|
+
get a line trace, `tracer` is most likely faster than `byebug`.
|
1244
|
+
|
1245
|
+
```bash
|
1246
|
+
$ time byebug --trace --no-stop hanoi.rb > /dev/null
|
1247
|
+
|
1248
|
+
real 0m0.743s
|
1249
|
+
user 0m0.668s
|
1250
|
+
sys 0m0.068s
|
1251
|
+
$ time ruby -rtracer hanoi.rb > /dev/null
|
1252
|
+
|
1253
|
+
real 0m0.077s
|
1254
|
+
user 0m0.072s
|
1255
|
+
sys 0m0.004s
|
1256
|
+
```
|
1257
|
+
|
1258
|
+
### Byebug default options
|
1259
|
+
|
1260
|
+
Byebug has many command-line options,; it seems that some people want to set
|
1261
|
+
them differently from the defaults. For example, some people may want
|
1262
|
+
`--no-quit` to be the default behavior. One could write a wrapper script or set
|
1263
|
+
a shell alias to handle this.
|
1264
|
+
|
1265
|
+
### Command Files
|
1266
|
+
|
1267
|
+
A command file is a file of lines that are `byebug` commands. Comments (lines
|
1268
|
+
starting with `#`) may also be included. An empty line in a command file does
|
1269
|
+
nothing; it does not mean to repeat the last command, as it would from the
|
1270
|
+
terminal.
|
1271
|
+
|
1272
|
+
When you start `byebug`, it automatically executes commands from its
|
1273
|
+
_init file_, called `.byebugrc`. During startup, `byebug` does the following:
|
1274
|
+
|
1275
|
+
* __Processes command line options and operands.__ Reads the init file in your
|
1276
|
+
current directory, if any, and then checks your home directory. The home
|
1277
|
+
directory is the directory named in the `$HOME` or `$HOMEPATH` environment
|
1278
|
+
variable. Thus, you can have more than one init file, one generic in your home
|
1279
|
+
directory, and another, specific to the program you are debugging, in the
|
1280
|
+
directory where you invoke `byebug`.
|
1281
|
+
|
1282
|
+
You can also request the execution of a command file with the `source` command
|
1283
|
+
(see [Source]()).
|
1284
|
+
|
1285
|
+
### Quitting byebug
|
1286
|
+
|
1287
|
+
To exit `byebug`, use the `quit` command (abbreviated to `q`). Normally, if you
|
1288
|
+
are in an interactive session, this command will prompt to ask if you really
|
1289
|
+
want to quit. If you want to quit without being prompted, enter `quit
|
1290
|
+
unconditionally` (abbreviated to `q!`).
|
1291
|
+
|
1292
|
+
Another way to terminate byebug is to use the `kill` command. This does the
|
1293
|
+
more forceful `kill -9`. It can be used in cases where `quit` doesn't work (I
|
1294
|
+
haven't seen those yet).
|
1295
|
+
|
1296
|
+
### Calling byebug from inside your program
|
1297
|
+
|
1298
|
+
Running a program from byebug adds a bit of overhead and slows it down a little.
|
1299
|
+
Furthermore, by necessity, debuggers change the operation of the program they
|
1300
|
+
are debugging. And this can lead to unexpected and unwanted differences. It has
|
1301
|
+
happened so often that the term
|
1302
|
+
[Heisenbugs](http://en.wikipedia.org/wiki/Heisenbug) was coined to describe the
|
1303
|
+
situation where using a debugger (among other possibilities) changes the
|
1304
|
+
behavior of the program so that the bug doesn't manifest itself anymore.
|
1305
|
+
|
1306
|
+
There is another way to get into byebug which adds no overhead or slowdown until
|
1307
|
+
you reach the point at which you want to start debugging. However here you must
|
1308
|
+
change the script and make an explicit call to byebug. Because byebug isn't
|
1309
|
+
involved before the first call, there is no overhead and the script will run
|
1310
|
+
at the same speed as if there were no byebug.
|
1311
|
+
|
1312
|
+
To enter byebug this way, just drop `byebug` in whichever line you want to start
|
1313
|
+
debugging at. You also have to require byebug somehow. If using bundler, it will
|
1314
|
+
take care of that for you, otherwise you can use the ruby `-r` flag or add
|
1315
|
+
`require 'byebug'` in the line previous to the `byebug` call.
|
1316
|
+
|
1317
|
+
If speed is crucial, you may want to start and stop this around certain sections
|
1318
|
+
of code, using `Byebug.start` and `Byebug.stop`. Alternatively, instead of
|
1319
|
+
issuing an explicit `Byebug.stop` you can add a block to the `Byebug.start` and
|
1320
|
+
debugging is turned on for that block. If the block of code raises an uncaught
|
1321
|
+
exception that would cause the block to terminate, the `stop` will occur. See
|
1322
|
+
[Byebug.start with a block]().
|
1323
|
+
|
1324
|
+
When `byebug`is run, `.byebugrc` is read.
|
1325
|
+
|
1326
|
+
You may want to enter byebug at several points in the program where there is a
|
1327
|
+
problem you want to investigate. And since `byebug` is just a method call it's
|
1328
|
+
possible to enclose it in a conditional expression, for example
|
1329
|
+
|
1330
|
+
```ruby
|
1331
|
+
byebug if 'bar' == foo and 20 == iter_count
|
1332
|
+
```
|
1333
|
+
|
1334
|
+
### Restarting Byebug
|
1335
|
+
|
1336
|
+
You can restart the program using `restart [program args]`. This is a re-exec -
|
1337
|
+
all byebug state is lost. If command arguments are passed, those are used.
|
1338
|
+
Otherwise program arguments from the last invocation are used.
|
1339
|
+
|
1340
|
+
You won't be able to restart your program in all cases. First, the program
|
1341
|
+
should have been invoked at the outset rather than having been called from
|
1342
|
+
inside your program or invoked as a result of post-mortem handling.
|
1343
|
+
|
1344
|
+
Also, since this relies on the OS `exec` call, this command is available only if
|
1345
|
+
your OS supports `exec`.
|
1346
|
+
|
1347
|
+
## Debugging remote programs
|
1348
|
+
|
1349
|
+
It is possible to set up debugging so that you can issue byebug commands from
|
1350
|
+
outside the process running the Ruby code. In fact, you might even be on a
|
1351
|
+
different computer than the one running the Ruby program.
|
1352
|
+
|
1353
|
+
To setup remote debugging, drop the following somewhere before the point in the
|
1354
|
+
program that you want to debug (In Rails, the
|
1355
|
+
`config/environments/development.rb` could be a good candidate).
|
1356
|
+
|
1357
|
+
```ruby
|
1358
|
+
require 'byebug/core'
|
1359
|
+
Byebug.wait_connection = true
|
1360
|
+
Byebug.start_server('localhost', <port>)
|
1361
|
+
```
|
1362
|
+
|
1363
|
+
Once this piece gets executed, you can connect to the remote debugger from your
|
1364
|
+
local machine, by running: `byebug -R localhost:<port>`.
|
1365
|
+
|
1366
|
+
Next, at a place of program execution which gets run just before the code you
|
1367
|
+
want to debug, add a call to `byebug` as was done without remote execution:
|
1368
|
+
|
1369
|
+
```ruby
|
1370
|
+
# work, work, work...
|
1371
|
+
byebug
|
1372
|
+
some ruby code # byebug will stop before this line is run
|
1373
|
+
```
|
1374
|
+
|
1375
|
+
## Byebug Command Reference
|
1376
|
+
|
1377
|
+
### Command Syntax
|
1378
|
+
|
1379
|
+
Usually a command is put on a single line. There is no limit on how long it can
|
1380
|
+
be. It starts with a command name, which is followed by arguments whose meaning
|
1381
|
+
depends on the command name. For example, the command `step` accepts an
|
1382
|
+
argument which is the number of times to step, as in `step 5`. You can also use
|
1383
|
+
the `step` command with no arguments. Some commands do not allow any arguments.
|
1384
|
+
|
1385
|
+
Multiple commands can be put on a line by separating each with a semicolon `;`.
|
1386
|
+
You can disable the meaning of a semicolon to separate commands by escaping it
|
1387
|
+
with a backslash.
|
1388
|
+
|
1389
|
+
For example, you might want to enter the following code to compute the 5th
|
1390
|
+
Fibonacci number.
|
1391
|
+
|
1392
|
+
```bash
|
1393
|
+
(byebug) fib1=0; fib2=1; 5.times {|temp| temp=fib1; fib1=fib2; fib2 += temp }
|
1394
|
+
0
|
1395
|
+
1
|
1396
|
+
SyntaxError Exception: /home/davidr/Proyectos/sample_app/trace.rb:1: syntax
|
1397
|
+
error, unexpected end-of-input, expecting '}'
|
1398
|
+
5.times { |temp| temp=fib1
|
1399
|
+
^
|
1400
|
+
nil
|
1401
|
+
1
|
1402
|
+
SyntaxError Exception: /home/davidr/Proyectos/sample_app/trace.rb:1: syntax
|
1403
|
+
error, unexpected tSTRING_DEND, expecting end-of-input
|
1404
|
+
fib2 += temp }
|
1405
|
+
^
|
1406
|
+
nil
|
1407
|
+
(byebug) fib1=0\; fib2=1\; 5.times {|temp| temp=fib1\; fib1=fib2\; fib2 += temp }
|
1408
|
+
5
|
1409
|
+
(byebug) fib2
|
1410
|
+
8
|
1411
|
+
```
|
1412
|
+
|
1413
|
+
You might also consider using the [irb]() or [pry]() commands and then you
|
1414
|
+
won't have to escape semicolons.
|
1415
|
+
|
1416
|
+
A blank line as input (typing just `<RET>`) means to repeat the previous
|
1417
|
+
command.
|
1418
|
+
|
1419
|
+
Byebug uses readline, which handles line editing and retrieval of previous
|
1420
|
+
commands. Up arrow, for example, moves to the previous byebug command; down
|
1421
|
+
arrow moves to the next more recent command (provided you are not already at
|
1422
|
+
the last command). Command history is saved in file `.byebug_history`. A limit
|
1423
|
+
is put on the history size. You can see this with the `show history size`
|
1424
|
+
command. See [history]() for history parameters.
|
1425
|
+
|
1426
|
+
### Command Output
|
1427
|
+
|
1428
|
+
In the command-line interface, when `byebug` is waiting for input it presents a
|
1429
|
+
prompt of the form `(byebug)`. If the program has terminated normally the prompt
|
1430
|
+
will be `(byebug:ctrl)` and in post-mortem debugging it will be
|
1431
|
+
`(byebug:post-mortem)`.
|
1432
|
+
|
1433
|
+
Whenever `byebug` gives an error message such as for an invalid command or an
|
1434
|
+
invalid location position, it will generally preface the message with `***`.
|
1435
|
+
|
1436
|
+
### Command Help
|
1437
|
+
|
1438
|
+
Once inside `byebug` you can always ask it for information on its commands using
|
1439
|
+
the `help` command. You can use `help` (abbreviated `h`) with no arguments to
|
1440
|
+
display a short list of named classes of commands
|
1441
|
+
|
1442
|
+
```bash
|
1443
|
+
(byebug) help
|
1444
|
+
|
1445
|
+
break -- Sets breakpoints in the source code
|
1446
|
+
catch -- Handles exception catchpoints
|
1447
|
+
condition -- Sets conditions on breakpoints
|
1448
|
+
continue -- Runs until program ends, hits a breakpoint or reaches a line
|
1449
|
+
delete -- Deletes breakpoints
|
1450
|
+
disable -- Disables breakpoints or displays
|
1451
|
+
display -- Evaluates expressions every time the debugger stops
|
1452
|
+
down -- Moves to a lower frame in the stack trace
|
1453
|
+
edit -- Edits source files
|
1454
|
+
enable -- Enables breakpoints or displays
|
1455
|
+
finish -- Runs the program until frame returns
|
1456
|
+
frame -- Moves to a frame in the call stack
|
1457
|
+
help -- Helps you using byebug
|
1458
|
+
history -- Shows byebug's history of commands
|
1459
|
+
info -- Shows several informations about the program being debugged
|
1460
|
+
interrupt -- Interrupts the program
|
1461
|
+
irb -- Starts an IRB session
|
1462
|
+
kill -- Sends a signal to the current process
|
1463
|
+
list -- Lists lines of source code
|
1464
|
+
method -- Shows methods of an object, class or module
|
1465
|
+
next -- Runs one or more lines of code
|
1466
|
+
pry -- Starts a Pry session
|
1467
|
+
quit -- Exits byebug
|
1468
|
+
restart -- Restarts the debugged program
|
1469
|
+
save -- Saves current byebug session to a file
|
1470
|
+
set -- Modifies byebug settings
|
1471
|
+
show -- Shows byebug settings
|
1472
|
+
source -- Restores a previously saved byebug session
|
1473
|
+
step -- Steps into blocks or methods one or more times
|
1474
|
+
thread -- Commands to manipulate threads
|
1475
|
+
tracevar -- Enables tracing of a global variable
|
1476
|
+
undisplay -- Stops displaying all or some expressions when program stops
|
1477
|
+
untracevar -- Stops tracing a global variable
|
1478
|
+
up -- Moves to a higher frame in the stack trace
|
1479
|
+
var -- Shows variables and its values
|
1480
|
+
where -- Displays the backtrace
|
1481
|
+
|
1482
|
+
```
|
1483
|
+
|
1484
|
+
With a command name, `help` displays information on how to use the command.
|
1485
|
+
|
1486
|
+
```bash
|
1487
|
+
(byebug) help list
|
1488
|
+
|
1489
|
+
l[ist][[-=]][ nn-mm]
|
1490
|
+
|
1491
|
+
Lists lines of source code
|
1492
|
+
|
1493
|
+
Lists lines forward from current line or from the place where code was
|
1494
|
+
last listed. If "list-" is specified, lists backwards instead. If
|
1495
|
+
"list=" is specified, lists from current line regardless of where code
|
1496
|
+
was last listed. A line range can also be specified to list specific
|
1497
|
+
sections of code.
|
1498
|
+
(byebug)
|
1499
|
+
```
|
1500
|
+
|
1501
|
+
A number of commands, namely `info`, `set`, `show`, `enable` and `disable`, have
|
1502
|
+
many sub-parameters or _subcommands_. When you ask for help for one of these
|
1503
|
+
commands, you will get help for all of the subcommands that command offers.
|
1504
|
+
Sometimes you may want help only on a subcommand and to do this just follow the
|
1505
|
+
command with its subcommand name. For example, `help info breakpoints`will just
|
1506
|
+
give help about the `info breakpoints` command. Furthermore it will give longer
|
1507
|
+
help than the summary information that appears when you ask for help. You don't
|
1508
|
+
need to list the full subcommand name, just enough of the letters to make that
|
1509
|
+
subcommand distinct from others will do. For example, `help info b` is the same
|
1510
|
+
as `help info breakpoints`.
|
1511
|
+
|
1512
|
+
Some examples follow.
|
1513
|
+
|
1514
|
+
```bash
|
1515
|
+
(byebug) help info
|
1516
|
+
info[ subcommand]
|
1517
|
+
|
1518
|
+
Generic command for showing things about the program being debugged.
|
1519
|
+
|
1520
|
+
--
|
1521
|
+
List of "info" subcommands:
|
1522
|
+
--
|
1523
|
+
info args -- Argument variables of current stack frame
|
1524
|
+
info breakpoints -- Status of user-settable breakpoints
|
1525
|
+
info catch -- Exceptions that can be caught in the current stack frame
|
1526
|
+
info display -- Expressions to display when program stops
|
1527
|
+
info file -- Info about a particular file read in
|
1528
|
+
info files -- File names and timestamps of files read in
|
1529
|
+
info line -- Line number and filename of current position in source file
|
1530
|
+
info program -- Execution status of the program
|
1531
|
+
```
|
1532
|
+
|
1533
|
+
```bash
|
1534
|
+
(byebug) help info breakpoints
|
1535
|
+
Status of user-settable breakpoints.
|
1536
|
+
Without argument, list info about all breakpoints.
|
1537
|
+
With an integer argument, list info on that breakpoint.
|
1538
|
+
```
|
1539
|
+
|
1540
|
+
```bash
|
1541
|
+
(byebug) help info b
|
1542
|
+
Status of user-settable breakpoints.
|
1543
|
+
Without argument, list info about all breakpoints.
|
1544
|
+
With an integer argument, list info on that breakpoint.
|
1545
|
+
```
|
1546
|
+
|
1547
|
+
### Control Commands: quit, restart, source
|
1548
|
+
|
1549
|
+
#### Quit
|
1550
|
+
|
1551
|
+
To exit `byebug`, type `quit` (abbreviated to `q`). Normally, if you are in an
|
1552
|
+
interactive session, this command will prompt you to confirm you really want to
|
1553
|
+
quit. If you want to quit without being prompted, enter `quit unconditionally`
|
1554
|
+
(abbreviated to `q!`).
|
1555
|
+
|
1556
|
+
#### Restart
|
1557
|
+
|
1558
|
+
To restart the program, use the `restart|r` command. This is a re-exec - all
|
1559
|
+
`byebug` state is lost. If command arguments are passed, those are used.
|
1560
|
+
Otherwise program arguments from the last invocation are used.
|
1561
|
+
|
1562
|
+
You won't be able to restart your program in all cases. First, the program
|
1563
|
+
should have been invoked at the outset rather than having been called from
|
1564
|
+
inside your program or invoked as a result of post-mortem handling.
|
1565
|
+
|
1566
|
+
#### Source
|
1567
|
+
|
1568
|
+
You can run `byebug` commands inside a file, using the command `source <file>`.
|
1569
|
+
The lines in a command file are executed sequentially. They are not printed as
|
1570
|
+
they are executed. If there is an error, execution proceeds to the next command
|
1571
|
+
in the file. For information about command files that get run automatically on
|
1572
|
+
startup see [Command Files]().
|
1573
|
+
|
1574
|
+
### Display Commands: display, undisplay
|
1575
|
+
|
1576
|
+
#### Display
|
1577
|
+
|
1578
|
+
If you find that you want to print the value of an expression frequently (to see
|
1579
|
+
how it changes), you might want to add it to the *automatic display list** so
|
1580
|
+
that `byebug` evaluates it each time your program stops or after a line is
|
1581
|
+
printed if line tracing is enabled. Each expression added to the list is given a
|
1582
|
+
number to identify it; to remove an expression from the list, you specify that
|
1583
|
+
number. The automatic display looks like this:
|
1584
|
+
|
1585
|
+
```bash
|
1586
|
+
(byebug) display n
|
1587
|
+
1: n = 3
|
1588
|
+
```
|
1589
|
+
|
1590
|
+
This display shows item numbers, expressions and their current values. If the
|
1591
|
+
expression is undefined or illegal the expression will be printed but no value
|
1592
|
+
will appear.
|
1593
|
+
|
1594
|
+
```bash
|
1595
|
+
(byebug) display undefined_variable
|
1596
|
+
2: undefined_variable =
|
1597
|
+
(byebug) display 1/0
|
1598
|
+
3: 1/0 =
|
1599
|
+
```
|
1600
|
+
|
1601
|
+
If you use `display` with no argument, `byebug` will display the current values
|
1602
|
+
of the expressions in the list, just as it is done when your program stops.
|
1603
|
+
Using `info display` has the same effect.
|
1604
|
+
|
1605
|
+
#### Undisplay
|
1606
|
+
|
1607
|
+
To remove an item from the list, use `undisplay` followed by the number
|
1608
|
+
identifying the expression you want to remove. `undisplay` does not repeat if
|
1609
|
+
you press `<RET>`after using it (otherwise you would just get the error _No
|
1610
|
+
display number n_)
|
1611
|
+
|
1612
|
+
You can also temporarily disable or enable display expressions, so that the will
|
1613
|
+
not be printed but they won't be forgotten either, so you can toggle them again
|
1614
|
+
later. To do that, use `disable display` or `enable display` followed by the
|
1615
|
+
expression number.
|
1616
|
+
|
1617
|
+
### Evaluation of expressions: irb, pry
|
1618
|
+
|
1619
|
+
To examine and change data in your script you can just evaluate any Ruby code
|
1620
|
+
from `byebug`'s prompt. Any input that is not recognized as a command will be
|
1621
|
+
evaluated, so `byebug` essentially works as a REPL. If you want to evaluate
|
1622
|
+
something that conflicts with a `byebug` command, just use Ruby's `eval`. For
|
1623
|
+
example, if you want to print a variable called `n`, type `eval n` because
|
1624
|
+
typing just `n` will execute `byebug`'s command `next`.
|
1625
|
+
|
1626
|
+
Finally, if you need more advanced functionality from REPL's, you can enter
|
1627
|
+
`irb` or `pry` using `irb` or `pry` commands. The binding's environment will be
|
1628
|
+
set to the current state in the program. When you leave the repl and go back to
|
1629
|
+
`byebug`'s command prompt we show the file, line and text position of the
|
1630
|
+
program. If you issue a `list` without location information, the default
|
1631
|
+
location used is the current line rather than the current position that may have
|
1632
|
+
got updated via a prior `list` command.
|
1633
|
+
|
1634
|
+
```
|
1635
|
+
$ byebug triangle.rb
|
1636
|
+
[1, 10] in /path/to/triangle.rb
|
1637
|
+
1: # Compute the n'th triangle number, the hard way: triangle(n) == (n*(n+1))/2
|
1638
|
+
=> 2: def triangle(n)
|
1639
|
+
3: tri = 0
|
1640
|
+
4: 0.upto(n) do |i|
|
1641
|
+
5: tri += i
|
1642
|
+
6: end
|
1643
|
+
7: tri
|
1644
|
+
8: end
|
1645
|
+
9:
|
1646
|
+
10: if __FILE__ == $0
|
1647
|
+
(byebug) irb
|
1648
|
+
irb(main):001:0> (0..6).inject { |sum, i| sum += i }
|
1649
|
+
=> 21
|
1650
|
+
irb(main):002:0> exit
|
1651
|
+
(byebug)
|
1652
|
+
```
|
1653
|
+
|
1654
|
+
### Printing variables: var
|
1655
|
+
|
1656
|
+
Byebug can print many different information about variables. Such as
|
1657
|
+
|
1658
|
+
* `var const <object>`. Show the constants of `<object>`. This is basically
|
1659
|
+
listing variables and their values in `<object>.constant`.
|
1660
|
+
* `var instance <object>`. Show the instance variables of `<object>`. This is
|
1661
|
+
basically listing `<object>.instance_variables`.
|
1662
|
+
* `var instance`. Show instance_variables of `self`.
|
1663
|
+
* `var local`. Show local variables.
|
1664
|
+
* `var global`. Show global variables.
|
1665
|
+
* `var all`. Show local, global and instance and class variables of `self`.
|
1666
|
+
* `method instance <object>`. Show methods of `<object>`. Basically this is the
|
1667
|
+
same as running `<object>.instance_methods(false)`.
|
1668
|
+
* `method <class-or-module>`. Show methods of the class or module
|
1669
|
+
`<class-or-module>`. Basically this is the same as running
|
1670
|
+
`<class-or-module>.methods`.
|
1671
|
+
|
1672
|
+
### Examining Program Source Files: list
|
1673
|
+
|
1674
|
+
`byebug` can print parts of your script's source. When your script stops,
|
1675
|
+
`byebug` spontaneously lists the source code around the line where it stopped
|
1676
|
+
that line. It does that when you change the current stack frame as well.
|
1677
|
+
Implicitly there is a default line location. Each time a list command is run
|
1678
|
+
that implicit location is updated, so that running several list commands in
|
1679
|
+
succession shows a contiguous block of program text.
|
1680
|
+
|
1681
|
+
If you don't need code context displayed every time, you can issue the `set
|
1682
|
+
noautolist` command. Now whenever you want code listed, you can explicitly issue
|
1683
|
+
the `list` command or its abbreviation `l`. Notice that when a second listing is
|
1684
|
+
displayed, we continue listing from the place we last left off. When the
|
1685
|
+
beginning or end of the file is reached, the line range to be shown is adjusted
|
1686
|
+
so "it doesn't overflow". You can set the `noautolist` option by default by
|
1687
|
+
dropping `set noautolist` in byebug's startup file `.byebugrc`.
|
1688
|
+
|
1689
|
+
If you want to set how many lines to be printed by default rather than use the
|
1690
|
+
initial number of lines, 10, use the `set listsize` command ([listsize()). To
|
1691
|
+
see the entire program in one shot, give an explicit starting and ending line
|
1692
|
+
number. You can print other portions of source files by giving explicit position
|
1693
|
+
as a parameter to the list command.
|
1694
|
+
|
1695
|
+
There are several ways to specify what part of the file you want to print. `list
|
1696
|
+
nnn` prints lines centered around line number `nnn` in the current source file.
|
1697
|
+
`l` prints more lines, following the last lines printed. `list -` prints lines
|
1698
|
+
just before the lines last printed. `list nnn-mmm` prints lines between `nnn`
|
1699
|
+
and `mmm` inclusive. `list =` prints lines centered around where the script is
|
1700
|
+
stopped. Repeating a `list` command with `RET` discards the argument, so it is
|
1701
|
+
equivalent to typing just `list`. This is more useful than listing the same
|
1702
|
+
lines again. An exception is made for an argument of `-`: that argument is
|
1703
|
+
preserved in repetition so that each repetition moves up in the source file.
|
1704
|
+
|
1705
|
+
### Editing Source files: edit
|
1706
|
+
|
1707
|
+
To edit a source file, use the `edit` command. The editor of your choice is invoked
|
1708
|
+
with the current line set to the active line in the program. Alternatively, you can
|
1709
|
+
give a line specification to specify what part of the file you want to edit.
|
1710
|
+
|
1711
|
+
You can customize `byebug` to use any editor you want by using the `EDITOR`
|
1712
|
+
environment variable. The only restriction is that your editor (say `ex`) recognizes
|
1713
|
+
the following command-line syntax:
|
1714
|
+
|
1715
|
+
```
|
1716
|
+
ex +nnn file
|
1717
|
+
```
|
1718
|
+
|
1719
|
+
The optional numeric value `+nnn` specifies the line number in the file where
|
1720
|
+
you want to start editing. For example, to configure `byebug` to use the `vi` editor,
|
1721
|
+
you could use these commands with the `sh` shell:
|
1722
|
+
|
1723
|
+
```bash
|
1724
|
+
EDITOR=/usr/bin/vi
|
1725
|
+
export EDITOR
|
1726
|
+
byebug ...
|
1727
|
+
```
|
1728
|
+
|
1729
|
+
or in the `csh` shell,
|
1730
|
+
|
1731
|
+
```bash
|
1732
|
+
setenv EDITOR /usr/bin/vi
|
1733
|
+
byebug ...
|
1734
|
+
```
|
1735
|
+
|
1736
|
+
### The stack trace
|
1737
|
+
|
1738
|
+
When your script has stopped, one thing you'll probably want to know is where
|
1739
|
+
it stopped and some idea of how it got there.
|
1740
|
+
|
1741
|
+
Each time your script calls a method or enters a block, information about this
|
1742
|
+
action is saved. This information is what we call a _stack frame_ or just a
|
1743
|
+
_frame_. The set of all frames at a certain point in the program's execution is
|
1744
|
+
called the _stack trace_ or just the _stack_. Each frame contains a line number
|
1745
|
+
and the source-file name that the line refers to. If the frame is the beginning
|
1746
|
+
of a method it also contains the method name.
|
1747
|
+
|
1748
|
+
When your script is started, the stack has only one frame, that of the `main`
|
1749
|
+
method. This is called the _initial frame_ or the _outermost frame_. Each time
|
1750
|
+
a method is called, a new frame is added to the stack trace. Each time a method
|
1751
|
+
returns, the frame for that method invocation is removed. If a method is
|
1752
|
+
recursive, there can be many frames for the same method. The frame for the
|
1753
|
+
method in which execution is actually occurring is called the _innermost
|
1754
|
+
frame_. This is the most recently created of all the stack frames that still
|
1755
|
+
exist.
|
1756
|
+
|
1757
|
+
Every time the debugger stops, one entry in the stack is selected as the
|
1758
|
+
current frame. Many byebug commands refer implicitly to the selected block. In
|
1759
|
+
particular, whenever you ask Byebug to list lines without giving a line number
|
1760
|
+
or location the value is found in the selected frame. There are special
|
1761
|
+
commands to select whichever frame you're interested in, such as `up`, `down`
|
1762
|
+
and `frame`.
|
1763
|
+
|
1764
|
+
After switching frames, when you issue a `list` command without any position
|
1765
|
+
information, the position used is the location in the frame that you just
|
1766
|
+
switched between, rather than a location that got updated via a prior `list`
|
1767
|
+
command.
|
1768
|
+
|
1769
|
+
Byebug assigns numbers to all existing stack frames, starting with zero for the
|
1770
|
+
_innermost frame_, one for the frame that called it, and so on upward. These
|
1771
|
+
numbers do not really exist in your script, they are assigned by Byebug to give
|
1772
|
+
you a way of designating stack frames in commands.
|
1773
|
+
|
1774
|
+
### Printing the Stack: `where` command
|
1775
|
+
|
1776
|
+
The command `where`, aliased to `bt` or `backtrace` prints the call stack., It
|
1777
|
+
shows one line per frame, for many frames, starting with the place that you are
|
1778
|
+
stopped at (frame zero), followed by its caller (frame one), and on up the
|
1779
|
+
stack. Each frame is numbered and can be referred to in the `frame` command.
|
1780
|
+
The position of the current frame is marked with `-->`.
|
1781
|
+
|
1782
|
+
The are some special frames generated for methods that are implemented in C.
|
1783
|
+
One such method is `each`. They are marked differently in the call stack to
|
1784
|
+
indicate that we cannot switch to those frames. This is because they have no
|
1785
|
+
source code in Ruby, so we can not debug them using Byebug.
|
1786
|
+
|
1787
|
+
```bash
|
1788
|
+
(byebug) where
|
1789
|
+
--> #0 Object.gcd(a#Fixnum, b#Fixnum) at line gcd.rb:6
|
1790
|
+
#1 at line gcd.rb:19
|
1791
|
+
```
|
1792
|
+
|
1793
|
+
### Selecting a frame: `up`, `down` and `frame` commands
|
1794
|
+
|
1795
|
+
* `up <n>`: Move `n` frames up the stack, towards the outermost frame (higher
|
1796
|
+
frame numbers, frames that have existed longer). `n` defaults to one.
|
1797
|
+
|
1798
|
+
* `down <n>`: Move `n` frames down the stack, towards the _innermost frame_
|
1799
|
+
(lower frame numbers, frames that were created more recently). `n` defaults to
|
1800
|
+
one.
|
1801
|
+
|
1802
|
+
* `frame <n>`: Allows you to move to an arbitrary frame. `n` is the stack frame
|
1803
|
+
number or 0 if no frame number is given. `frame 0` will show the current and
|
1804
|
+
most recent stack frame. If a negative number is given, counting is from the
|
1805
|
+
other end of the stack frame, so `frame -1` shows the least-recent, outermost
|
1806
|
+
stack frame. Without an argument, `frame` prints the current stack frame.
|