files.com 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CONTRIBUTORS +4 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +82 -0
- data/LICENSE +21 -0
- data/README.md +119 -0
- data/Rakefile +12 -0
- data/_VERSION +1 -0
- data/bin/files +8 -0
- data/bin/files-console +16 -0
- data/docs/account_line_item.md +41 -0
- data/docs/action.md +37 -0
- data/docs/api_key.md +190 -0
- data/docs/as2_key.md +133 -0
- data/docs/auto.md +11 -0
- data/docs/automation.md +182 -0
- data/docs/behavior.md +184 -0
- data/docs/bundle.md +218 -0
- data/docs/dns_record.md +35 -0
- data/docs/errors.md +17 -0
- data/docs/file.md +206 -0
- data/docs/file_action.md +122 -0
- data/docs/file_comment.md +116 -0
- data/docs/file_comment_reaction.md +62 -0
- data/docs/file_part_upload.md +37 -0
- data/docs/file_utils.md +4 -0
- data/docs/folder.md +88 -0
- data/docs/group.md +145 -0
- data/docs/group_user.md +114 -0
- data/docs/history.md +155 -0
- data/docs/history_export.md +174 -0
- data/docs/image.md +13 -0
- data/docs/invoice.md +72 -0
- data/docs/invoice_line_item.md +27 -0
- data/docs/ip_address.md +37 -0
- data/docs/lock.md +98 -0
- data/docs/message.md +147 -0
- data/docs/message_comment.md +132 -0
- data/docs/message_comment_reaction.md +94 -0
- data/docs/message_reaction.md +94 -0
- data/docs/notification.md +169 -0
- data/docs/payment.md +72 -0
- data/docs/payment_line_item.md +19 -0
- data/docs/permission.md +87 -0
- data/docs/preview.md +19 -0
- data/docs/project.md +121 -0
- data/docs/public_key.md +133 -0
- data/docs/remote_server.md +336 -0
- data/docs/request.md +119 -0
- data/docs/session.md +78 -0
- data/docs/site.md +436 -0
- data/docs/sso_strategy.md +114 -0
- data/docs/status.md +21 -0
- data/docs/style.md +93 -0
- data/docs/usage_daily_snapshot.md +37 -0
- data/docs/usage_snapshot.md +53 -0
- data/docs/user.md +514 -0
- data/docs/user_cipher_use.md +41 -0
- data/files.com.gemspec +22 -0
- data/lib/files.com.rb +179 -0
- data/lib/files.com/api.rb +38 -0
- data/lib/files.com/api_client.rb +340 -0
- data/lib/files.com/errors.rb +41 -0
- data/lib/files.com/list.rb +95 -0
- data/lib/files.com/models/account_line_item.rb +82 -0
- data/lib/files.com/models/action.rb +77 -0
- data/lib/files.com/models/api_key.rb +244 -0
- data/lib/files.com/models/as2_key.rb +179 -0
- data/lib/files.com/models/auto.rb +17 -0
- data/lib/files.com/models/automation.rb +289 -0
- data/lib/files.com/models/behavior.rb +227 -0
- data/lib/files.com/models/bundle.rb +302 -0
- data/lib/files.com/models/dir.rb +3 -0
- data/lib/files.com/models/dns_record.rb +51 -0
- data/lib/files.com/models/errors.rb +22 -0
- data/lib/files.com/models/file.rb +968 -0
- data/lib/files.com/models/file_action.rb +124 -0
- data/lib/files.com/models/file_comment.rb +146 -0
- data/lib/files.com/models/file_comment_reaction.rb +100 -0
- data/lib/files.com/models/file_part_upload.rb +82 -0
- data/lib/files.com/models/file_utils.rb +118 -0
- data/lib/files.com/models/folder.rb +356 -0
- data/lib/files.com/models/group.rb +193 -0
- data/lib/files.com/models/group_user.rb +157 -0
- data/lib/files.com/models/history.rb +201 -0
- data/lib/files.com/models/history_export.rb +353 -0
- data/lib/files.com/models/image.rb +22 -0
- data/lib/files.com/models/invoice.rb +117 -0
- data/lib/files.com/models/invoice_line_item.rb +57 -0
- data/lib/files.com/models/ip_address.rb +51 -0
- data/lib/files.com/models/lock.rb +173 -0
- data/lib/files.com/models/message.rb +201 -0
- data/lib/files.com/models/message_comment.rb +165 -0
- data/lib/files.com/models/message_comment_reaction.rb +128 -0
- data/lib/files.com/models/message_reaction.rb +128 -0
- data/lib/files.com/models/notification.rb +248 -0
- data/lib/files.com/models/payment.rb +117 -0
- data/lib/files.com/models/payment_line_item.rb +37 -0
- data/lib/files.com/models/permission.rb +157 -0
- data/lib/files.com/models/preview.rb +37 -0
- data/lib/files.com/models/project.rb +140 -0
- data/lib/files.com/models/public_key.rb +179 -0
- data/lib/files.com/models/remote_server.rb +635 -0
- data/lib/files.com/models/request.rb +192 -0
- data/lib/files.com/models/session.rb +247 -0
- data/lib/files.com/models/site.rb +715 -0
- data/lib/files.com/models/sso_strategy.rb +227 -0
- data/lib/files.com/models/status.rb +37 -0
- data/lib/files.com/models/style.rb +131 -0
- data/lib/files.com/models/usage_daily_snapshot.rb +51 -0
- data/lib/files.com/models/usage_snapshot.rb +96 -0
- data/lib/files.com/models/user.rb +834 -0
- data/lib/files.com/models/user_cipher_use.rb +63 -0
- data/lib/files.com/response.rb +25 -0
- data/lib/files.com/sizable_io.rb +32 -0
- data/lib/files.com/system_profiler.rb +56 -0
- data/lib/files.com/util.rb +106 -0
- data/lib/files.com/version.rb +5 -0
- data/spec/list_spec.rb +192 -0
- data/spec/models/file_spec.rb +68 -0
- data/spec/models/folder_spec.rb +40 -0
- data/spec/spec_helper.rb +36 -0
- data/test.sh +8 -0
- data/test/test.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/bin/byebug +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/coderay +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/files +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/files-console +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.5.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.5.0/bin/pry +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rspec +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rubocop +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/ruby-parse +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/ruby-rewrite +27 -0
- data/vendor/bundle/ruby/2.5.0/cache/addressable-2.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ast-2.4.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/byebug-11.1.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/coderay-1.1.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/concurrent-ruby-1.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/connection_pool-2.2.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/faraday-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/memory_profiler-0.9.14.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/method_source-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/multipart-post-2.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/net-http-persistent-4.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parallel-1.19.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-2.7.1.4.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/pry-0.13.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/pry-byebug-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/public_suffix-4.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rainbow-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rake-12.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/regexp_parser-1.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rexml-3.2.4.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.9.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.9.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.9.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rubocop-0.85.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rubocop-ast-0.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/unicode-display_width-1.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/byebug-11.1.3/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/byebug-11.1.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/byebug-11.1.3/gem_make.out +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/CHANGELOG.md +235 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/Gemfile +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/README.md +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/Rakefile +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/idna.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/idna/native.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/idna/pure.rb +676 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/template.rb +1045 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/uri.rb +2529 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/lib/addressable/version.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/idna_spec.rb +300 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/net_http_compat_spec.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/rack_mount_compat_spec.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/security_spec.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/template_spec.rb +1451 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/addressable/uri_spec.rb +6603 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/spec/spec_helper.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/clobber.rake +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/gem.rake +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/git.rake +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/metrics.rake +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/rspec.rake +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/addressable-2.7.0/tasks/yard.rake +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast/node.rb +260 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.1/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/CONTRIBUTING.md +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/GUIDE.md +1806 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/LICENSE +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/README.md +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/exe/byebug +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/.sitearchdir.-.byebug.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +263 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/breakpoint.c +517 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/breakpoint.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.c +900 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.h +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/context.c +686 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/context.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/locker.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/threads.c +230 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/threads.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/breakpoint.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/break.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/catch.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/condition.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/continue.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/delete.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/edit.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/breakpoints.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/display.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/file.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/irb.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/kill.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/pry.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/skip.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/source.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/resume.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/tracevar.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/undisplay.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/const.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/where.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/core.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/eval.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/file.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/parse.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/string.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/toggle.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/var.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/history.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/local_interface.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/script_interface.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/base.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote/client.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/bin/coderay +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/html/output.rb +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/java_script.rb +237 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/tokens.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.2/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/CHANGELOG.md +502 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/Gemfile +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/README.md +384 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/Rakefile +332 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent-ruby.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/agent.rb +587 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/array.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/async.rb +459 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +164 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +254 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/logging.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/configuration.rb +188 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/errors.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/exchanger.rb +352 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +367 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executor/timer_set.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/executors.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/hash.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/immutable_struct.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/ivar.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/map.rb +337 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/mutable_struct.rb +239 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promise.rb +579 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promises.rb +2167 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/re_include.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/scheduled_task.rb +318 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/set.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/settable_struct.rb +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/condition.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/jruby_object.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/lock.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mri_object.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/object.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/rbx_lockable_object.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/rbx_object.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/truffleruby_object.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/timer_task.rb +334 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/tuple.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/tvar.rb +258 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/engine.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/native_integer.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/.gitignore +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/.travis.yml +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/Changes.md +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/Gemfile +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/README.md +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/Rakefile +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/connection_pool.gemspec +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool/timed_stack.rb +170 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/lib/connection_pool/wrapper.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/test/helper.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/test/test_connection_pool.rb +553 -0
- data/vendor/bundle/ruby/2.5.0/gems/connection_pool-2.2.3/test/test_connection_pool_timed_stack.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/.rspec +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/CHANGELOG.md +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/README.md +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/Rakefile +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/examples/client_spec.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/examples/client_test.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday.rb +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http.rb +286 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http_ssl_patch.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/excon.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/httpclient.rb +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb +219 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http_persistent.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/patron.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/rack.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/test.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter/typhoeus.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/adapter_registry.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/autoload.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/connection.rb +614 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/encoders/flat_params_encoder.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/encoders/nested_params_encoder.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/error.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/file_part.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/logging/formatter.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/middleware.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/middleware_registry.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/connection_options.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/env.rb +181 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/proxy_options.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/request_options.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/options/ssl_options.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/param_part.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/parameters.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb +248 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/authorization.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/basic_authentication.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/instrumentation.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/multipart.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/retry.rb +239 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/token_authentication.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/request/url_encoded.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response/logger.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/response/raise_error.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils/headers.rb +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/lib/faraday/utils/params_hash.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/external_adapters/faraday_specs_setup.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/em_http_spec.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/em_synchrony_spec.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/excon_spec.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/httpclient_spec.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_persistent_spec.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_spec.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/patron_spec.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/rack_spec.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter/typhoeus_spec.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter_registry_spec.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/adapter_spec.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/composite_read_io_spec.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/connection_spec.rb +691 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/error_spec.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/middleware_spec.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/env_spec.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/options_spec.rb +297 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/proxy_options_spec.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/options/request_options_spec.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/params_encoders/flat_spec.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/params_encoders/nested_spec.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/rack_builder_spec.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/authorization_spec.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/instrumentation_spec.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/multipart_spec.rb +274 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/retry_spec.rb +242 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request/url_encoded_spec.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/request_spec.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/logger_spec.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/middleware_spec.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response/raise_error_spec.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/response_spec.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/utils/headers_spec.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday/utils_spec.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/faraday_spec.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/spec_helper.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/disabling_stub.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/fake_safe_buffer.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/helper_methods.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/adapter.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/params_encoder.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/shared_examples/request_method.rb +234 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/streaming_response_checker.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/faraday-1.0.1/spec/support/webmock_rack_app.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/CHANGELOG.md +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/README.md +399 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/helpers.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/monochrome.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/polychrome.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/reporter.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/results.rb +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/stat.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/stat_hash.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/top_n.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/memory_profiler-0.9.14/lib/memory_profiler/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.circleci/config.yml +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.gemtest +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.yardopts +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/CHANGELOG.md +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/Gemfile +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/README.markdown +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/Rakefile +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/method_source.gemspec +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/method_source_spec.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/spec_helper.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/.gitignore +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/.rspec +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/.travis.yml +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/.yardopts +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/Gemfile +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/History.txt +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/Manifest.txt +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/README.md +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/Rakefile +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/composite_io.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/multipart_post.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/multipartable.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/net/http/post/multipart.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/lib/parts.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/multipart-post.gemspec +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/composite_io_spec.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/multibyte.txt +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/net/http/post/multipart_spec.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/parts_spec.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/multipart-post-2.1.1/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/.autotest +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/.gemtest +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/.travis.yml +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/Gemfile +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/History.txt +430 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/Manifest.txt +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/README.rdoc +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/Rakefile +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent.rb +1088 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent/connection.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent/pool.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/test/test_net_http_persistent.rb +1441 -0
- data/vendor/bundle/ruby/2.5.0/gems/net-http-persistent-4.0.0/test/test_net_http_persistent_timed_stack_multi.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.19.2/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.19.2/lib/parallel.rb +524 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.19.2/lib/parallel/processor_count.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.19.2/lib/parallel/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/.gitignore +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/.travis.yml +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/.yardopts +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/CHANGELOG.md +1116 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/CONTRIBUTING.md +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/Gemfile +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/README.md +309 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/Rakefile +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/ci/run_rubocop_specs +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/AST_FORMAT.md +2283 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/CUSTOMIZATION.md +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/INTERNALS.md +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/css/.gitkeep +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/doc/css/common.css +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/all.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ast/processor.rb +292 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/base.rb +289 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/builders/default.rb +2075 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/context.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/current.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/current_arg_stack.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer.rl +2550 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer/dedenter.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer/literal.rb +269 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/macruby.y +2208 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/max_numparam_stack.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/messages.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/meta.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby18.y +1936 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby19.y +2185 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby20.y +2363 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby21.y +2364 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby22.y +2371 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby23.y +2377 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby24.y +2415 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby25.y +2412 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby26.y +2420 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby27.y +2950 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/ruby28.y +3043 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/rubymotion.y +2192 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/runner.rb +277 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/buffer.rb +332 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/comment.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/comment/associator.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/endless_definition.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/tree_rewriter.rb +404 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/source/tree_rewriter/action.rb +242 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/static_environment.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/variables_stack.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/parser.gemspec +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/bug_163/fixtures/input.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/bug_163/fixtures/output.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/bug_163/rewriter.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/helper.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/parse_helper.rb +323 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/racc_coverage_helper.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_ast_processor.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_base.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_current.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_diagnostic.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_diagnostic_engine.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_encoding.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_lexer.rb +3617 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_lexer_stack_state.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_meta.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_parse_helper.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_parser.rb +9780 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_runner_parse.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_runner_rewrite.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_buffer.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_comment.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_comment_associator.rb +399 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_map.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_range.rb +192 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_rewriter.rb +541 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_rewriter_action.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_source_tree_rewriter.rb +361 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/test_static_environment.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/using_tree_rewriter/fixtures/input.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/using_tree_rewriter/fixtures/output.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.7.1.4/test/using_tree_rewriter/using_tree_rewriter.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/CHANGELOG.md +1076 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/LICENSE +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/README.md +452 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/bin/pry +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/basic_object.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/block_command.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/class_command.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/cli.rb +227 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code.rb +365 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/code_file.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/code_range.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/loc.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code_object.rb +197 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/color_printer.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command.rb +520 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command_set.rb +418 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command_state.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/amend_line.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/bang.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/bang_pry.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/abstract_formatter.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/exception_formatter.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/file_formatter.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/input_expression_formatter.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cd.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/change_inspector.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/change_prompt.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/clear_screen.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/code_collector.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/disable_pry.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/easter_eggs.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit.rb +223 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit/exception_patcher.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit/file_and_line_locator.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit_all.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit_program.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/find_method.rb +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/fix_indent.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/help.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/hist.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/import_set.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/jump_to.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/list_inspectors.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/constants.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/formatter.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/globals.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/grep.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/instance_vars.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/interrogatable.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/jruby_hacks.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/local_names.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/local_vars.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/ls_entity.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/methods.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/methods_helper.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/nesting.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/play.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/pry_backtrace.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/pry_version.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/raise_up.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/reload_code.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/reset.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ri.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/save_file.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/shell_command.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/shell_mode.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_doc.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_info.rb +234 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_input.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_source.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/stat.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/switch_to.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/toggle_color.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/watch_expression.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/watch_expression/expression.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/whereami.rb +205 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/wtf.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config.rb +321 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/attributable.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/lazy_value.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/memoized_value.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/value.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/control_d_handler.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/core_extensions.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/editor.rb +155 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/env.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/exception_handler.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/exceptions.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/forwardable.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/command_helpers.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/documentation_helpers.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/options_helpers.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/platform.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/table.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/text.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/history.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/hooks.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/indent.rb +412 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/input_completer.rb +283 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/input_lock.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/inspector.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method.rb +599 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/disowned.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/patcher.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/object_path.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/output.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pager.rb +249 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/plugins.rb +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/prompt.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pry_class.rb +388 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pry_instance.rb +701 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/repl.rb +257 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/repl_file_loader.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/ring.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop.rb +672 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/commands.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/option.rb +210 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/syntax_highlighter.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/system_command_handler.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/evalable.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/mockable.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/pry_tester.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/utility.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/variables.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/warning.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/wrapped_module.rb +387 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/CHANGELOG.md +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/README.md +192 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/byebug/processors/pry_processor.rb +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/base.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/cli.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/backtrace.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/breakpoint.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/continue.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/down.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/finish.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/frame.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/next.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/step.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/up.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/control_d_handler.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/breakpoints.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/location.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/multiline.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/navigation.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_remote_ext.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry/byebug/breakpoints.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.github/FUNDING.yml +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.github/workflows/tests.yml +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.gitignore +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.rubocop.yml +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.rubocop_opinionated.yml +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.travis.yml +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/.yardopts +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/2.0-Upgrade.md +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/CHANGELOG.md +399 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/Gemfile +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/README.md +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/Rakefile +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/SECURITY.md +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/bin/console +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/codecov.yml +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/data/list.txt +13146 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix.rb +179 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/errors.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/list.rb +247 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/rule.rb +350 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/lib/public_suffix/version.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/public_suffix.gemspec +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/.empty +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/acceptance_test.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_find.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_find_all.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_names.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_select.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_select_incremental.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/benchmarks/bm_valid.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/domain_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/find_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/find_profiler_jp.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/initialization_profiler.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/list_profsize.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/profilers/object_binsize.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/psl_test.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/test_helper.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/tests.txt +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/domain_test.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/errors_test.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/list_test.rb +241 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/public_suffix_test.rb +188 -0
- data/vendor/bundle/ruby/2.5.0/gems/public_suffix-4.0.5/test/unit/rule_test.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.gitignore +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.rubocop.yml +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.rubocop_todo.yml +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.travis.yml +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Changelog.md +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Gemfile +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Guardfile +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/README.markdown +224 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Rakefile +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/appveyor.yml +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/rainbow.gemspec +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/spec_helper.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +296 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/.gitignore +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/.rubocop.yml +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/.travis.yml +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/CONTRIBUTING.rdoc +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/Gemfile +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/History.rdoc +2247 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/appveyor.yml +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/bin/console +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/bin/setup +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/exe/rake +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/application.rb +785 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/clean.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/cpu_counter.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/dsl_definition.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_list.rb +434 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_utils.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/linked_list.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/multi_task.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/name_space.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/packagetask.rb +210 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/rule_recursion_overflow_error.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/task.rb +390 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/task_arguments.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/task_manager.rb +303 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/tasklib.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/testtask.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/thread_pool.rb +162 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/lib/rake/win32.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.0.0/rake.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/CHANGELOG.md +356 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/Gemfile +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/LICENSE +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/README.md +467 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/Rakefile +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/alternation.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/anchor.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/backref.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/conditional.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/escape.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/free_space.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/group.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/keep.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/literal.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/posix_class.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/property.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/root.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/set.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/set/intersection.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/set/range.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/classes/type.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/match.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/match_length.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/options.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/strfregexp.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/tests.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/methods/traverse.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/quantifier.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/sequence.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/sequence_operation.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/expression/subexpression.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/lexer.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/parser.rb +653 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner.rb +2796 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/char_type.rl +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/properties/long.yml +594 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/properties/short.yml +237 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/property.rl +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/scanner/scanner.rl +908 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/any.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/base.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/anchor.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/assertion.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/backref.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/character_set.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/character_type.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/conditional.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/escape.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/group.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/keep.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/meta.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/posix_class.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/quantifier.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/tokens/unicode_property.rb +675 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/version_lookup.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/1.8.6.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/1.9.1.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/1.9.3.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.0.0.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.2.0.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.3.0.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.4.0.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.4.1.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.5.0.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.6.0.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.6.2.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/syntax/versions/2.6.3.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/token.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/lib/regexp_parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/regexp_parser.gemspec +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/base_spec.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/clone_spec.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/conditional_spec.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/free_space_spec.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/match_length_spec.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/match_spec.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/strfregexp_spec.rb +224 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/tests_spec.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/methods/traverse_spec.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/options_spec.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/root_spec.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/sequence_spec.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/subexpression_spec.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/to_h_spec.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/expression/to_s_spec.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/all_spec.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/conditionals_spec.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/delimiters_spec.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/escapes_spec.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/keep_spec.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/literals_spec.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/nesting_spec.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/lexer/refcalls_spec.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/all_spec.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/alternation_spec.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/anchors_spec.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/conditionals_spec.rb +179 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/errors_spec.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/escapes_spec.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/free_space_spec.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/groups_spec.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/keep_spec.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/posix_classes_spec.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/properties_spec.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/quantifiers_spec.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/refcalls_spec.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/set/intersections_spec.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/set/ranges_spec.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/sets_spec.rb +178 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/parser/types_spec.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/all_spec.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/anchors_spec.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/conditionals_spec.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/delimiters_spec.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/errors_spec.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/escapes_spec.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/free_space_spec.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/groups_spec.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/keep_spec.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/literals_spec.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/meta_spec.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/properties_spec.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/quantifiers_spec.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/refcalls_spec.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/sets_spec.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/scanner/types_spec.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/spec_helper.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/support/runner.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/support/shared_examples.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/support/warning_extractor.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/syntax_spec.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/syntax_token_map_spec.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/1.8.6_spec.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/1.9.1_spec.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/1.9.3_spec.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/2.0.0_spec.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/2.2.0_spec.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/syntax/versions/aliases_spec.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/regexp_parser-1.7.1/spec/token/token_spec.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/.gitignore +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/.travis.yml +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/Gemfile +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/NEWS.md +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/README.md +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/Rakefile +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/attlistdecl.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/attribute.rb +205 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/cdata.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/child.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/comment.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/doctype.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/document.rb +291 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/attlistdecl.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/dtd.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/elementdecl.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/entitydecl.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/dtd/notationdecl.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/element.rb +1269 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/encoding.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/entity.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/formatters/default.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/formatters/pretty.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/formatters/transitive.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/functions.rb +447 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/instruction.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/light/node.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/namespace.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/node.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/output.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parent.rb +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parseexception.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/baseparser.rb +594 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/lightparser.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/pullparser.rb +197 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/sax2parser.rb +273 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/streamparser.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/treeparser.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/ultralightparser.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/parsers/xpathparser.rb +675 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/quickpath.rb +266 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/rexml.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/sax2listener.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/security.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/source.rb +298 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/streamlistener.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/text.rb +424 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/undefinednamespaceexception.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/validation/relaxng.rb +539 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/validation/validation.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/validation/validationexception.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/xmldecl.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/xmltokens.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/xpath.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/lib/rexml/xpath_parser.rb +968 -0
- data/vendor/bundle/ruby/2.5.0/gems/rexml-3.2.4/rexml.gemspec +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/README.md +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.9.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/.document +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/.yardopts +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/Changelog.md +2274 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/README.md +384 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core.rb +186 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/fork_runner.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/bisect/utilities.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb +2336 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb +656 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb +889 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters.rb +272 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/exception_presenter.rb +508 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb +632 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/memoized_helpers.rb +554 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/option_parser.rb +316 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/shared_example_group.rb +269 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/world.rb +275 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/.document +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/Changelog.md +1170 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/README.md +320 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/configuration.rb +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers.rb +1038 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/change.rb +428 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/include.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/respond_to.rb +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/dsl.rb +534 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.9.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/.document +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/.yardopts +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/Changelog.md +1133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/README.md +463 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +294 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +751 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +503 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/Changelog.md +302 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/README.md +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/README.md +213 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/bin/console +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/bin/setup +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/config/default.yml +4133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/exe/rubocop +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop.rb +588 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/ast_aliases.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/auto_genenerate_config.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/base.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/execute_runner.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/init_dotfile.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/show_cops.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/version.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/environment.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/comment_config.rb +206 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config.rb +281 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_loader.rb +277 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_loader_resolver.rb +234 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_obsoletion.rb +278 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_store.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/config_validator.rb +223 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/autocorrect_logic.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/bundler/gem_comment.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/commissioner.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/cop.rb +311 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/corrector.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/alignment_corrector.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/condition_corrector.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/space_corrector.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/gemspec/ordered_dependencies.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/generator.rb +223 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/generator/configuration_injector.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/ignored_node.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/method_name_equal.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/argument_alignment.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/array_alignment.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/assignment_indentation.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/block_end_newline.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/class_structure.rb +343 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/comment_indentation.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/condition_position.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/else_alignment.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_comment.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_line_between_defs.rb +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +211 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/end_of_line.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/extra_spacing.rb +201 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_argument_indentation.rb +247 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_array_element_indentation.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_hash_element_indentation.rb +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_method_argument_line_break.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/first_parameter_indentation.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/hash_alignment.rb +366 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +285 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/heredoc_indentation.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/indentation_style.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/indentation_width.rb +362 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/leading_comment_space.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/leading_empty_lines.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/line_length.rb +280 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_block_layout.rb +155 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/multiline_operation_indentation.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/parameter_alignment.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_block_parameters.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_keyword.rb +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_method_call_operator.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_around_operators.rb +242 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_block_braces.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_comment.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_first_arg.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_in_lambda_literal.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_block_braces.rb +248 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +200 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/trailing_empty_lines.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/layout/trailing_whitespace.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ambiguous_operator.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/boolean_symbol.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/debugger.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/duplicate_hash_key.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/duplicate_methods.rb +235 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/empty_when.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ensure_return.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/erb_new_arguments.rb +162 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/format_parameter_mismatch.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/literal_as_condition.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/loop.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/multiple_comparison.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/non_deterministic_require_order.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/number_conversion.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/percent_string_array.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/raise_exception.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +258 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_require_statement.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_splat_expansion.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_string_coercion.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/safe_navigation_chain.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/send_with_mixin_argument.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/struct_new_override.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/suppressed_exception.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/syntax.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/to_json.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/unified_integer.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/unused_block_argument.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/unused_method_argument.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_access_modifier.rb +284 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_assignment.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_else_without_rescue.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/useless_setter_call.rb +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/lint/void.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/message_annotator.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/migration/department_name.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/alignment.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/array_min_size.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/check_line_breakable.rb +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_enforced_style.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_formatting.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/end_keyword_alignment.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/frozen_string_literal.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/hash_alignment_styles.rb +147 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/hash_transform_method.rb +178 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/interpolation.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/line_length_help.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/method_complexity.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/rational_literal.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/regexp_literal_help.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/statement_modifier.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/target_ruby_version.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/trailing_comma.rb +212 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/class_and_module_camel_case.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/constant_name.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/file_name.rb +225 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/method_name.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/variable_name.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/offense.rb +216 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/registry.rb +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/severity.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/access_modifier_declarations.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/alias.rb +147 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/and_or.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/attr.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/block_comments.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/block_delimiters.rb +384 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/case_equality.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/class_methods.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/collection_methods.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/commented_keyword.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/conditional_assignment.rb +666 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/constant_visibility.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/copyright.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/documentation.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/documentation_method.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/double_cop_disable_directive.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/double_negation.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_literal.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/empty_method.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/end_block.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/exponential_notation.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/float_division.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/format_string.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/format_string_token.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/frozen_string_literal_comment.rb +234 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/guard_clause.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/hash_each_methods.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/hash_syntax.rb +221 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/hash_transform_keys.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/hash_transform_values.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/if_inside_else.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/if_unless_modifier.rb +189 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/if_with_semicolon.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/infinite_loop.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/inverse_methods.rb +197 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/lambda.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/lambda_call.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/line_end_concatenation.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_def_parentheses.rb +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/mixin_usage.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/module_function.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiline_when_then.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/mutable_constant.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/negated_unless.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/nested_modifier.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/non_nil_check.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/numeric_literals.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/numeric_predicate.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/one_line_conditional.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/optional_arguments.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/or_assignment.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/parentheses_around_condition.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/random_with_offset.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_capital_w.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_condition.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_conditional.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_parentheses.rb +227 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_percent_q.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_regexp_character_class.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_regexp_escape.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_return.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_self.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_sort.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/rescue_modifier.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/safe_navigation.rb +271 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/sample.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/semicolon.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/single_line_methods.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/slicing_with_range.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/special_global_vars.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/stderr_puts.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/strip.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/symbol_proc.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/ternary_parentheses.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_comma_in_block_args.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trailing_underscore_variable.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/unless_else.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/unpack_first.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/yoda_condition.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/team.rb +240 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/util.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/utils/format_string.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force.rb +463 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/assignment.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/branch.rb +320 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/scope.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/variable.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/core_ext/string.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/error.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/ext/processed_source.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/file_finder.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/base_formatter.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/clang_style_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/disabled_config_formatter.rb +216 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/emacs_style_formatter.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/formatter_set.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/json_formatter.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/junit_formatter.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/simple_text_formatter.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/tap_formatter.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/magic_comment.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/name_similarity.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/options.rb +481 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rake_task.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/remote_config.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/result_cache.rb +205 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/cop_helper.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/expect_offense.rb +273 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/shared_contexts.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/rspec/support.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/runner.rb +386 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/target_finder.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/target_ruby.rb +154 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/version.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/yaml_duplication_checker.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/README.md +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop-ast.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/builder.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node.rb +637 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/array_node.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/block_node.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/case_match_node.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/class_node.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/def_node.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/float_node.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/forward_args_node.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/int_node.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +269 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/module_node.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/range_node.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/regexp_node.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/resbody_node.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/return_node.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/send_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/node_pattern.rb +883 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/processed_source.rb +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/token.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/traversal.rb +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-ast-0.0.3/lib/rubocop/ast/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/README.md +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/Rakefile +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/time.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/time.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/CHANGELOG.md +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/README.md +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/specifications/addressable-2.7.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ast-2.4.1.gemspec +50 -0
- data/vendor/bundle/ruby/2.5.0/specifications/byebug-11.1.3.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/coderay-1.1.2.gemspec +25 -0
- data/vendor/bundle/ruby/2.5.0/specifications/concurrent-ruby-1.1.6.gemspec +24 -0
- data/vendor/bundle/ruby/2.5.0/specifications/connection_pool-2.2.3.gemspec +38 -0
- data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/ruby/2.5.0/specifications/faraday-1.0.1.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/specifications/memory_profiler-0.9.14.gemspec +21 -0
- data/vendor/bundle/ruby/2.5.0/specifications/method_source-1.0.0.gemspec +35 -0
- data/vendor/bundle/ruby/2.5.0/specifications/multipart-post-2.1.1.gemspec +38 -0
- data/vendor/bundle/ruby/2.5.0/specifications/net-http-persistent-4.0.0.gemspec +53 -0
- data/vendor/bundle/ruby/2.5.0/specifications/parallel-1.19.2.gemspec +21 -0
- data/vendor/bundle/ruby/2.5.0/specifications/parser-2.7.1.4.gemspec +63 -0
- data/vendor/bundle/ruby/2.5.0/specifications/pry-0.13.1.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/pry-byebug-3.9.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.5.0/specifications/public_suffix-4.0.5.gemspec +24 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rainbow-3.0.0.gemspec +33 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rake-12.0.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/specifications/regexp_parser-1.7.1.gemspec +23 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rexml-3.2.4.gemspec +36 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.9.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.9.1.gemspec +63 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.9.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.9.1.gemspec +51 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.9.3.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rubocop-0.85.1.gemspec +62 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rubocop-ast-0.0.3.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ruby-progressbar-1.10.1.gemspec +46 -0
- data/vendor/bundle/ruby/2.5.0/specifications/unicode-display_width-1.7.0.gemspec +39 -0
- metadata +2449 -0
@@ -0,0 +1,289 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Parser
|
4
|
+
|
5
|
+
##
|
6
|
+
# Base class for version-specific parsers.
|
7
|
+
#
|
8
|
+
# @api public
|
9
|
+
#
|
10
|
+
# @!attribute [r] diagnostics
|
11
|
+
# @return [Parser::Diagnostic::Engine]
|
12
|
+
#
|
13
|
+
# @!attribute [r] static_env
|
14
|
+
# @return [Parser::StaticEnvironment]
|
15
|
+
#
|
16
|
+
class Base < Racc::Parser
|
17
|
+
##
|
18
|
+
# Parses a string of Ruby code and returns the AST. If the source
|
19
|
+
# cannot be parsed, {SyntaxError} is raised and a diagnostic is
|
20
|
+
# printed to `stderr`.
|
21
|
+
#
|
22
|
+
# @example
|
23
|
+
# Parser::Base.parse('puts "hello"')
|
24
|
+
#
|
25
|
+
# @param [String] string The block of code to parse.
|
26
|
+
# @param [String] file The name of the file the code originated from.
|
27
|
+
# @param [Numeric] line The initial line number.
|
28
|
+
# @return [Parser::AST::Node]
|
29
|
+
#
|
30
|
+
def self.parse(string, file='(string)', line=1)
|
31
|
+
parser = default_parser
|
32
|
+
source_buffer = setup_source_buffer(file, line, string, parser.default_encoding)
|
33
|
+
parser.parse(source_buffer)
|
34
|
+
end
|
35
|
+
|
36
|
+
##
|
37
|
+
# Parses a string of Ruby code and returns the AST and comments. If the
|
38
|
+
# source cannot be parsed, {SyntaxError} is raised and a diagnostic is
|
39
|
+
# printed to `stderr`.
|
40
|
+
#
|
41
|
+
# @example
|
42
|
+
# Parser::Base.parse_with_comments('puts "hello"')
|
43
|
+
#
|
44
|
+
# @param [String] string The block of code to parse.
|
45
|
+
# @param [String] file The name of the file the code originated from.
|
46
|
+
# @param [Numeric] line The initial line number.
|
47
|
+
# @return [Array]
|
48
|
+
#
|
49
|
+
def self.parse_with_comments(string, file='(string)', line=1)
|
50
|
+
parser = default_parser
|
51
|
+
source_buffer = setup_source_buffer(file, line, string, parser.default_encoding)
|
52
|
+
parser.parse_with_comments(source_buffer)
|
53
|
+
end
|
54
|
+
|
55
|
+
##
|
56
|
+
# Parses Ruby source code by reading it from a file. If the source
|
57
|
+
# cannot be parsed, {SyntaxError} is raised and a diagnostic is
|
58
|
+
# printed to `stderr`.
|
59
|
+
#
|
60
|
+
# @param [String] filename Path to the file to parse.
|
61
|
+
# @return [Parser::AST::Node]
|
62
|
+
# @see #parse
|
63
|
+
#
|
64
|
+
def self.parse_file(filename)
|
65
|
+
parse(File.read(filename), filename)
|
66
|
+
end
|
67
|
+
|
68
|
+
##
|
69
|
+
# Parses Ruby source code by reading it from a file and returns the AST and
|
70
|
+
# comments. If the source cannot be parsed, {SyntaxError} is raised and a
|
71
|
+
# diagnostic is printed to `stderr`.
|
72
|
+
#
|
73
|
+
# @param [String] filename Path to the file to parse.
|
74
|
+
# @return [Array]
|
75
|
+
# @see #parse
|
76
|
+
#
|
77
|
+
def self.parse_file_with_comments(filename)
|
78
|
+
parse_with_comments(File.read(filename), filename)
|
79
|
+
end
|
80
|
+
|
81
|
+
##
|
82
|
+
# @return [Parser::Base] parser with the default options set.
|
83
|
+
#
|
84
|
+
def self.default_parser
|
85
|
+
parser = new
|
86
|
+
|
87
|
+
parser.diagnostics.all_errors_are_fatal = true
|
88
|
+
parser.diagnostics.ignore_warnings = true
|
89
|
+
|
90
|
+
parser.diagnostics.consumer = lambda do |diagnostic|
|
91
|
+
$stderr.puts(diagnostic.render)
|
92
|
+
end
|
93
|
+
|
94
|
+
parser
|
95
|
+
end
|
96
|
+
|
97
|
+
def self.setup_source_buffer(file, line, string, encoding)
|
98
|
+
string = string.dup.force_encoding(encoding)
|
99
|
+
|
100
|
+
source_buffer = Source::Buffer.new(file, line)
|
101
|
+
|
102
|
+
if name == 'Parser::Ruby18'
|
103
|
+
source_buffer.raw_source = string
|
104
|
+
else
|
105
|
+
source_buffer.source = string
|
106
|
+
end
|
107
|
+
|
108
|
+
source_buffer
|
109
|
+
end
|
110
|
+
private_class_method :setup_source_buffer
|
111
|
+
|
112
|
+
attr_reader :diagnostics
|
113
|
+
attr_reader :builder
|
114
|
+
attr_reader :static_env
|
115
|
+
attr_reader :source_buffer
|
116
|
+
attr_reader :context
|
117
|
+
attr_reader :max_numparam_stack
|
118
|
+
attr_reader :current_arg_stack
|
119
|
+
attr_reader :pattern_variables
|
120
|
+
attr_reader :pattern_hash_keys
|
121
|
+
|
122
|
+
##
|
123
|
+
# @param [Parser::Builders::Default] builder The AST builder to use.
|
124
|
+
#
|
125
|
+
def initialize(builder=Parser::Builders::Default.new)
|
126
|
+
@diagnostics = Diagnostic::Engine.new
|
127
|
+
|
128
|
+
@static_env = StaticEnvironment.new
|
129
|
+
|
130
|
+
# Stack that holds current parsing context
|
131
|
+
@context = Context.new
|
132
|
+
|
133
|
+
# Maximum numbered parameters stack
|
134
|
+
@max_numparam_stack = MaxNumparamStack.new
|
135
|
+
|
136
|
+
# Current argument names stack
|
137
|
+
@current_arg_stack = CurrentArgStack.new
|
138
|
+
|
139
|
+
# Stack of set of variables used in the current pattern
|
140
|
+
@pattern_variables = VariablesStack.new
|
141
|
+
|
142
|
+
# Stack of set of keys used in the current hash in pattern matchinig
|
143
|
+
@pattern_hash_keys = VariablesStack.new
|
144
|
+
|
145
|
+
@lexer = Lexer.new(version)
|
146
|
+
@lexer.diagnostics = @diagnostics
|
147
|
+
@lexer.static_env = @static_env
|
148
|
+
@lexer.context = @context
|
149
|
+
|
150
|
+
@builder = builder
|
151
|
+
@builder.parser = self
|
152
|
+
|
153
|
+
# Last emitted token
|
154
|
+
@last_token = nil
|
155
|
+
|
156
|
+
if self.class::Racc_debug_parser && ENV['RACC_DEBUG']
|
157
|
+
@yydebug = true
|
158
|
+
end
|
159
|
+
|
160
|
+
reset
|
161
|
+
end
|
162
|
+
|
163
|
+
##
|
164
|
+
# Resets the state of the parser.
|
165
|
+
#
|
166
|
+
def reset
|
167
|
+
@source_buffer = nil
|
168
|
+
|
169
|
+
@lexer.reset
|
170
|
+
@static_env.reset
|
171
|
+
@context.reset
|
172
|
+
@current_arg_stack.reset
|
173
|
+
@pattern_variables.reset
|
174
|
+
@pattern_hash_keys.reset
|
175
|
+
|
176
|
+
self
|
177
|
+
end
|
178
|
+
|
179
|
+
##
|
180
|
+
# Parses a source buffer and returns the AST.
|
181
|
+
#
|
182
|
+
# @param [Parser::Source::Buffer] source_buffer The source buffer to parse.
|
183
|
+
# @return [Parser::AST::Node]
|
184
|
+
#
|
185
|
+
def parse(source_buffer)
|
186
|
+
@lexer.source_buffer = source_buffer
|
187
|
+
@source_buffer = source_buffer
|
188
|
+
|
189
|
+
do_parse
|
190
|
+
ensure
|
191
|
+
# Don't keep references to the source file.
|
192
|
+
@source_buffer = nil
|
193
|
+
@lexer.source_buffer = nil
|
194
|
+
end
|
195
|
+
|
196
|
+
##
|
197
|
+
# Parses a source buffer and returns the AST and the source code comments.
|
198
|
+
#
|
199
|
+
# @see #parse
|
200
|
+
# @see Parser::Source::Comment#associate
|
201
|
+
# @return [Array]
|
202
|
+
#
|
203
|
+
def parse_with_comments(source_buffer)
|
204
|
+
@lexer.comments = []
|
205
|
+
|
206
|
+
[ parse(source_buffer), @lexer.comments ]
|
207
|
+
ensure
|
208
|
+
@lexer.comments = nil
|
209
|
+
end
|
210
|
+
|
211
|
+
##
|
212
|
+
# Parses a source buffer and returns the AST, the source code comments,
|
213
|
+
# and the tokens emitted by the lexer. If `recover` is true and a fatal
|
214
|
+
# {SyntaxError} is encountered, `nil` is returned instead of the AST, and
|
215
|
+
# comments as well as tokens are only returned up to the location of
|
216
|
+
# the error.
|
217
|
+
#
|
218
|
+
# Currently, token stream format returned by #tokenize is not documented,
|
219
|
+
# but is considered part of a public API and only changed according
|
220
|
+
# to Semantic Versioning.
|
221
|
+
#
|
222
|
+
# However, note that the exact token composition of various constructs
|
223
|
+
# might vary. For example, a string `"foo"` is represented equally well
|
224
|
+
# by `:tSTRING_BEG " :tSTRING_CONTENT foo :tSTRING_END "` and
|
225
|
+
# `:tSTRING "foo"`; such details must not be relied upon.
|
226
|
+
#
|
227
|
+
# @param [Parser::Source::Buffer] source_buffer
|
228
|
+
# @param [Boolean] recover If true, recover from syntax errors. False by default.
|
229
|
+
# @return [Array]
|
230
|
+
#
|
231
|
+
def tokenize(source_buffer, recover=false)
|
232
|
+
@lexer.tokens = []
|
233
|
+
@lexer.comments = []
|
234
|
+
|
235
|
+
begin
|
236
|
+
ast = parse(source_buffer)
|
237
|
+
rescue Parser::SyntaxError
|
238
|
+
raise if !recover
|
239
|
+
end
|
240
|
+
|
241
|
+
[ ast, @lexer.comments, @lexer.tokens ]
|
242
|
+
ensure
|
243
|
+
@lexer.tokens = nil
|
244
|
+
@lexer.comments = nil
|
245
|
+
end
|
246
|
+
|
247
|
+
private
|
248
|
+
|
249
|
+
def next_token
|
250
|
+
token = @lexer.advance
|
251
|
+
@last_token = token
|
252
|
+
token
|
253
|
+
end
|
254
|
+
|
255
|
+
def check_kwarg_name(name_t)
|
256
|
+
case name_t[0]
|
257
|
+
when /^[a-z_]/
|
258
|
+
# OK
|
259
|
+
when /^[A-Z]/
|
260
|
+
diagnostic :error, :argument_const, nil, name_t
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
def diagnostic(level, reason, arguments, location_t, highlights_ts=[])
|
265
|
+
_, location = location_t
|
266
|
+
|
267
|
+
highlights = highlights_ts.map do |token|
|
268
|
+
_, range = token
|
269
|
+
range
|
270
|
+
end
|
271
|
+
|
272
|
+
@diagnostics.process(
|
273
|
+
Diagnostic.new(level, reason, arguments, location, highlights))
|
274
|
+
|
275
|
+
if level == :error
|
276
|
+
yyerror
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
def on_error(error_token_id, error_value, value_stack)
|
281
|
+
token_name = token_to_str(error_token_id)
|
282
|
+
_, location = error_value
|
283
|
+
|
284
|
+
@diagnostics.process(Diagnostic.new(
|
285
|
+
:error, :unexpected_token, { :token => token_name }, location))
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
end
|
@@ -0,0 +1,2075 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Parser
|
4
|
+
|
5
|
+
##
|
6
|
+
# Default AST builder. Uses {AST::Node}s.
|
7
|
+
#
|
8
|
+
class Builders::Default
|
9
|
+
class << self
|
10
|
+
##
|
11
|
+
# AST compatibility attribute; since `-> {}` is not semantically
|
12
|
+
# equivalent to `lambda {}`, all new code should set this attribute
|
13
|
+
# to true.
|
14
|
+
#
|
15
|
+
# If set to false (the default), `-> {}` is emitted as
|
16
|
+
# `s(:block, s(:send, nil, :lambda), s(:args), nil)`.
|
17
|
+
#
|
18
|
+
# If set to true, `-> {}` is emitted as
|
19
|
+
# `s(:block, s(:lambda), s(:args), nil)`.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
attr_accessor :emit_lambda
|
23
|
+
end
|
24
|
+
|
25
|
+
@emit_lambda = false
|
26
|
+
|
27
|
+
class << self
|
28
|
+
##
|
29
|
+
# AST compatibility attribute; block arguments of `m { |a| }` are
|
30
|
+
# not semantically equivalent to block arguments of `m { |a,| }` or `m { |a, b| }`,
|
31
|
+
# all new code should set this attribute to true.
|
32
|
+
#
|
33
|
+
# If set to false (the default), arguments of `m { |a| }` are emitted as
|
34
|
+
# `s(:args, s(:arg, :a))`.
|
35
|
+
#
|
36
|
+
# If set to true, arguments of `m { |a| }` are emitted as
|
37
|
+
# `s(:args, s(:procarg0, :a)).
|
38
|
+
#
|
39
|
+
# @return [Boolean]
|
40
|
+
attr_accessor :emit_procarg0
|
41
|
+
end
|
42
|
+
|
43
|
+
@emit_procarg0 = false
|
44
|
+
|
45
|
+
class << self
|
46
|
+
##
|
47
|
+
# AST compatibility attribute; locations of `__ENCODING__` are not the same
|
48
|
+
# as locations of `Encoding::UTF_8` causing problems during rewriting,
|
49
|
+
# all new code should set this attribute to true.
|
50
|
+
#
|
51
|
+
# If set to false (the default), `__ENCODING__` is emitted as
|
52
|
+
# ` s(:const, s(:const, nil, :Encoding), :UTF_8)`.
|
53
|
+
#
|
54
|
+
# If set to true, `__ENCODING__` is emitted as
|
55
|
+
# `s(:__ENCODING__)`.
|
56
|
+
#
|
57
|
+
# @return [Boolean]
|
58
|
+
attr_accessor :emit_encoding
|
59
|
+
end
|
60
|
+
|
61
|
+
@emit_encoding = false
|
62
|
+
|
63
|
+
class << self
|
64
|
+
##
|
65
|
+
# AST compatibility attribute; indexed assignment, `x[] = 1`, is not
|
66
|
+
# semantically equivalent to calling the method directly, `x.[]=(1)`.
|
67
|
+
# Specifically, in the former case, the expression's value is always 1,
|
68
|
+
# and in the latter case, the expression's value is the return value
|
69
|
+
# of the `[]=` method.
|
70
|
+
#
|
71
|
+
# If set to false (the default), `self[1]` is emitted as
|
72
|
+
# `s(:send, s(:self), :[], s(:int, 1))`, and `self[1] = 2` is
|
73
|
+
# emitted as `s(:send, s(:self), :[]=, s(:int, 1), s(:int, 2))`.
|
74
|
+
#
|
75
|
+
# If set to true, `self[1]` is emitted as
|
76
|
+
# `s(:index, s(:self), s(:int, 1))`, and `self[1] = 2` is
|
77
|
+
# emitted as `s(:indexasgn, s(:self), s(:int, 1), s(:int, 2))`.
|
78
|
+
#
|
79
|
+
# @return [Boolean]
|
80
|
+
attr_accessor :emit_index
|
81
|
+
end
|
82
|
+
|
83
|
+
@emit_index = false
|
84
|
+
|
85
|
+
class << self
|
86
|
+
##
|
87
|
+
# AST compatibility attribute; causes a single non-mlhs
|
88
|
+
# block argument to be wrapped in s(:procarg0).
|
89
|
+
#
|
90
|
+
# If set to false (the default), block arguments `|a|` are emitted as
|
91
|
+
# `s(:args, s(:procarg0, :a))`
|
92
|
+
#
|
93
|
+
# If set to true, block arguments `|a|` are emitted as
|
94
|
+
# `s(:args, s(:procarg0, s(:arg, :a))`
|
95
|
+
#
|
96
|
+
# @return [Boolean]
|
97
|
+
attr_accessor :emit_arg_inside_procarg0
|
98
|
+
end
|
99
|
+
|
100
|
+
@emit_arg_inside_procarg0 = false
|
101
|
+
|
102
|
+
class << self
|
103
|
+
##
|
104
|
+
# AST compatibility attribute; arguments forwarding initially
|
105
|
+
# didn't have support for leading arguments
|
106
|
+
# (i.e. `def m(a, ...); end` was a syntax error). However, Ruby 2.8
|
107
|
+
# added support for any number of arguments in front of the `...`.
|
108
|
+
#
|
109
|
+
# If set to false (the default):
|
110
|
+
# 1. `def m(...) end` is emitted as
|
111
|
+
# s(:def, :m, s(:forward_args), nil)
|
112
|
+
# 2. `def m(a, b, ...) end` is emitted as
|
113
|
+
# s(:def, :m,
|
114
|
+
# s(:args, s(:arg, :a), s(:arg, :b), s(:forward_arg)))
|
115
|
+
#
|
116
|
+
# If set to true it uses a single format:
|
117
|
+
# 1. `def m(...) end` is emitted as
|
118
|
+
# s(:def, :m, s(:args, s(:forward_arg)))
|
119
|
+
# 2. `def m(a, b, ...) end` is emitted as
|
120
|
+
# s(:def, :m, s(:args, s(:arg, :a), s(:arg, :b), s(:forward_arg)))
|
121
|
+
#
|
122
|
+
# It does't matter that much on 2.7 (because there can't be any leading arguments),
|
123
|
+
# but on 2.8 it should be better enabled to use a single AST format.
|
124
|
+
#
|
125
|
+
# @return [Boolean]
|
126
|
+
attr_accessor :emit_forward_arg
|
127
|
+
end
|
128
|
+
|
129
|
+
@emit_forward_arg = false
|
130
|
+
|
131
|
+
class << self
|
132
|
+
##
|
133
|
+
# @api private
|
134
|
+
def modernize
|
135
|
+
@emit_lambda = true
|
136
|
+
@emit_procarg0 = true
|
137
|
+
@emit_encoding = true
|
138
|
+
@emit_index = true
|
139
|
+
@emit_arg_inside_procarg0 = true
|
140
|
+
@emit_forward_arg = true
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
##
|
145
|
+
# @api private
|
146
|
+
attr_accessor :parser
|
147
|
+
|
148
|
+
##
|
149
|
+
# If set to true (the default), `__FILE__` and `__LINE__` are transformed to
|
150
|
+
# literal nodes. For example, `s(:str, "lib/foo.rb")` and `s(:int, 10)`.
|
151
|
+
#
|
152
|
+
# If set to false, `__FILE__` and `__LINE__` are emitted as-is,
|
153
|
+
# i.e. as `s(:__FILE__)` and `s(:__LINE__)` nodes.
|
154
|
+
#
|
155
|
+
# Source maps are identical in both cases.
|
156
|
+
#
|
157
|
+
# @return [Boolean]
|
158
|
+
attr_accessor :emit_file_line_as_literals
|
159
|
+
|
160
|
+
##
|
161
|
+
# Initializes attributes:
|
162
|
+
#
|
163
|
+
# * `emit_file_line_as_literals`: `true`
|
164
|
+
def initialize
|
165
|
+
@emit_file_line_as_literals = true
|
166
|
+
end
|
167
|
+
|
168
|
+
# @!parse private
|
169
|
+
|
170
|
+
#
|
171
|
+
# Literals
|
172
|
+
#
|
173
|
+
|
174
|
+
# Singletons
|
175
|
+
|
176
|
+
def nil(nil_t)
|
177
|
+
n0(:nil,
|
178
|
+
token_map(nil_t))
|
179
|
+
end
|
180
|
+
|
181
|
+
def true(true_t)
|
182
|
+
n0(:true,
|
183
|
+
token_map(true_t))
|
184
|
+
end
|
185
|
+
|
186
|
+
def false(false_t)
|
187
|
+
n0(:false,
|
188
|
+
token_map(false_t))
|
189
|
+
end
|
190
|
+
|
191
|
+
# Numerics
|
192
|
+
|
193
|
+
def integer(integer_t)
|
194
|
+
numeric(:int, integer_t)
|
195
|
+
end
|
196
|
+
|
197
|
+
def float(float_t)
|
198
|
+
numeric(:float, float_t)
|
199
|
+
end
|
200
|
+
|
201
|
+
def rational(rational_t)
|
202
|
+
numeric(:rational, rational_t)
|
203
|
+
end
|
204
|
+
|
205
|
+
def complex(complex_t)
|
206
|
+
numeric(:complex, complex_t)
|
207
|
+
end
|
208
|
+
|
209
|
+
def numeric(kind, token)
|
210
|
+
n(kind, [ value(token) ],
|
211
|
+
Source::Map::Operator.new(nil, loc(token)))
|
212
|
+
end
|
213
|
+
private :numeric
|
214
|
+
|
215
|
+
def unary_num(unary_t, numeric)
|
216
|
+
value, = *numeric
|
217
|
+
operator_loc = loc(unary_t)
|
218
|
+
|
219
|
+
case value(unary_t)
|
220
|
+
when '+'
|
221
|
+
value = +value
|
222
|
+
when '-'
|
223
|
+
value = -value
|
224
|
+
end
|
225
|
+
|
226
|
+
numeric.updated(nil, [ value ],
|
227
|
+
:location =>
|
228
|
+
Source::Map::Operator.new(
|
229
|
+
operator_loc,
|
230
|
+
operator_loc.join(numeric.loc.expression)))
|
231
|
+
end
|
232
|
+
|
233
|
+
def __LINE__(__LINE__t)
|
234
|
+
n0(:__LINE__,
|
235
|
+
token_map(__LINE__t))
|
236
|
+
end
|
237
|
+
|
238
|
+
# Strings
|
239
|
+
|
240
|
+
def string(string_t)
|
241
|
+
n(:str, [ string_value(string_t) ],
|
242
|
+
delimited_string_map(string_t))
|
243
|
+
end
|
244
|
+
|
245
|
+
def string_internal(string_t)
|
246
|
+
n(:str, [ string_value(string_t) ],
|
247
|
+
unquoted_map(string_t))
|
248
|
+
end
|
249
|
+
|
250
|
+
def string_compose(begin_t, parts, end_t)
|
251
|
+
if collapse_string_parts?(parts)
|
252
|
+
if begin_t.nil? && end_t.nil?
|
253
|
+
parts.first
|
254
|
+
else
|
255
|
+
n(:str, parts.first.children,
|
256
|
+
string_map(begin_t, parts, end_t))
|
257
|
+
end
|
258
|
+
else
|
259
|
+
n(:dstr, [ *parts ],
|
260
|
+
string_map(begin_t, parts, end_t))
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
def character(char_t)
|
265
|
+
n(:str, [ string_value(char_t) ],
|
266
|
+
prefix_string_map(char_t))
|
267
|
+
end
|
268
|
+
|
269
|
+
def __FILE__(__FILE__t)
|
270
|
+
n0(:__FILE__,
|
271
|
+
token_map(__FILE__t))
|
272
|
+
end
|
273
|
+
|
274
|
+
# Symbols
|
275
|
+
|
276
|
+
def symbol(symbol_t)
|
277
|
+
n(:sym, [ string_value(symbol_t).to_sym ],
|
278
|
+
prefix_string_map(symbol_t))
|
279
|
+
end
|
280
|
+
|
281
|
+
def symbol_internal(symbol_t)
|
282
|
+
n(:sym, [ string_value(symbol_t).to_sym ],
|
283
|
+
unquoted_map(symbol_t))
|
284
|
+
end
|
285
|
+
|
286
|
+
def symbol_compose(begin_t, parts, end_t)
|
287
|
+
if collapse_string_parts?(parts)
|
288
|
+
str = parts.first
|
289
|
+
|
290
|
+
n(:sym, [ str.children.first.to_sym ],
|
291
|
+
collection_map(begin_t, str.loc.expression, end_t))
|
292
|
+
elsif @parser.version == 18 && parts.empty?
|
293
|
+
diagnostic :error, :empty_symbol, nil, loc(begin_t).join(loc(end_t))
|
294
|
+
else
|
295
|
+
n(:dsym, [ *parts ],
|
296
|
+
collection_map(begin_t, parts, end_t))
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
# Executable strings
|
301
|
+
|
302
|
+
def xstring_compose(begin_t, parts, end_t)
|
303
|
+
n(:xstr, [ *parts ],
|
304
|
+
string_map(begin_t, parts, end_t))
|
305
|
+
end
|
306
|
+
|
307
|
+
# Indented (interpolated, noninterpolated, executable) strings
|
308
|
+
|
309
|
+
def dedent_string(node, dedent_level)
|
310
|
+
if !dedent_level.nil?
|
311
|
+
dedenter = Lexer::Dedenter.new(dedent_level)
|
312
|
+
|
313
|
+
if node.type == :str
|
314
|
+
str = node.children.first
|
315
|
+
dedenter.dedent(str)
|
316
|
+
elsif node.type == :dstr || node.type == :xstr
|
317
|
+
node.children.each do |str_node|
|
318
|
+
if str_node.type == :str
|
319
|
+
str = str_node.children.first
|
320
|
+
dedenter.dedent(str)
|
321
|
+
else
|
322
|
+
dedenter.interrupt
|
323
|
+
end
|
324
|
+
end
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
node
|
329
|
+
end
|
330
|
+
|
331
|
+
# Regular expressions
|
332
|
+
|
333
|
+
def regexp_options(regopt_t)
|
334
|
+
options = value(regopt_t).
|
335
|
+
each_char.sort.uniq.
|
336
|
+
map(&:to_sym)
|
337
|
+
|
338
|
+
n(:regopt, options,
|
339
|
+
token_map(regopt_t))
|
340
|
+
end
|
341
|
+
|
342
|
+
def regexp_compose(begin_t, parts, end_t, options)
|
343
|
+
begin
|
344
|
+
static_regexp(parts, options)
|
345
|
+
rescue RegexpError => e
|
346
|
+
diagnostic :error, :invalid_regexp, { :message => e.message },
|
347
|
+
loc(begin_t).join(loc(end_t))
|
348
|
+
end
|
349
|
+
|
350
|
+
n(:regexp, (parts << options),
|
351
|
+
regexp_map(begin_t, end_t, options))
|
352
|
+
end
|
353
|
+
|
354
|
+
# Arrays
|
355
|
+
|
356
|
+
def array(begin_t, elements, end_t)
|
357
|
+
n(:array, elements,
|
358
|
+
collection_map(begin_t, elements, end_t))
|
359
|
+
end
|
360
|
+
|
361
|
+
def splat(star_t, arg=nil)
|
362
|
+
if arg.nil?
|
363
|
+
n0(:splat,
|
364
|
+
unary_op_map(star_t))
|
365
|
+
else
|
366
|
+
n(:splat, [ arg ],
|
367
|
+
unary_op_map(star_t, arg))
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
def word(parts)
|
372
|
+
if collapse_string_parts?(parts)
|
373
|
+
parts.first
|
374
|
+
else
|
375
|
+
n(:dstr, [ *parts ],
|
376
|
+
collection_map(nil, parts, nil))
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
def words_compose(begin_t, parts, end_t)
|
381
|
+
n(:array, [ *parts ],
|
382
|
+
collection_map(begin_t, parts, end_t))
|
383
|
+
end
|
384
|
+
|
385
|
+
def symbols_compose(begin_t, parts, end_t)
|
386
|
+
parts = parts.map do |part|
|
387
|
+
case part.type
|
388
|
+
when :str
|
389
|
+
value, = *part
|
390
|
+
part.updated(:sym, [ value.to_sym ])
|
391
|
+
when :dstr
|
392
|
+
part.updated(:dsym)
|
393
|
+
else
|
394
|
+
part
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
n(:array, [ *parts ],
|
399
|
+
collection_map(begin_t, parts, end_t))
|
400
|
+
end
|
401
|
+
|
402
|
+
# Hashes
|
403
|
+
|
404
|
+
def pair(key, assoc_t, value)
|
405
|
+
n(:pair, [ key, value ],
|
406
|
+
binary_op_map(key, assoc_t, value))
|
407
|
+
end
|
408
|
+
|
409
|
+
def pair_list_18(list)
|
410
|
+
if list.size % 2 != 0
|
411
|
+
diagnostic :error, :odd_hash, nil, list.last.loc.expression
|
412
|
+
else
|
413
|
+
list.
|
414
|
+
each_slice(2).map do |key, value|
|
415
|
+
n(:pair, [ key, value ],
|
416
|
+
binary_op_map(key, nil, value))
|
417
|
+
end
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
def pair_keyword(key_t, value)
|
422
|
+
key_map, pair_map = pair_keyword_map(key_t, value)
|
423
|
+
|
424
|
+
key = n(:sym, [ value(key_t).to_sym ], key_map)
|
425
|
+
|
426
|
+
n(:pair, [ key, value ], pair_map)
|
427
|
+
end
|
428
|
+
|
429
|
+
def pair_quoted(begin_t, parts, end_t, value)
|
430
|
+
end_t, pair_map = pair_quoted_map(begin_t, end_t, value)
|
431
|
+
|
432
|
+
key = symbol_compose(begin_t, parts, end_t)
|
433
|
+
|
434
|
+
n(:pair, [ key, value ], pair_map)
|
435
|
+
end
|
436
|
+
|
437
|
+
def kwsplat(dstar_t, arg)
|
438
|
+
n(:kwsplat, [ arg ],
|
439
|
+
unary_op_map(dstar_t, arg))
|
440
|
+
end
|
441
|
+
|
442
|
+
def associate(begin_t, pairs, end_t)
|
443
|
+
n(:hash, [ *pairs ],
|
444
|
+
collection_map(begin_t, pairs, end_t))
|
445
|
+
end
|
446
|
+
|
447
|
+
# Ranges
|
448
|
+
|
449
|
+
def range_inclusive(lhs, dot2_t, rhs)
|
450
|
+
n(:irange, [ lhs, rhs ],
|
451
|
+
range_map(lhs, dot2_t, rhs))
|
452
|
+
end
|
453
|
+
|
454
|
+
def range_exclusive(lhs, dot3_t, rhs)
|
455
|
+
n(:erange, [ lhs, rhs ],
|
456
|
+
range_map(lhs, dot3_t, rhs))
|
457
|
+
end
|
458
|
+
|
459
|
+
#
|
460
|
+
# Access
|
461
|
+
#
|
462
|
+
|
463
|
+
def self(token)
|
464
|
+
n0(:self,
|
465
|
+
token_map(token))
|
466
|
+
end
|
467
|
+
|
468
|
+
def ident(token)
|
469
|
+
n(:ident, [ value(token).to_sym ],
|
470
|
+
variable_map(token))
|
471
|
+
end
|
472
|
+
|
473
|
+
def ivar(token)
|
474
|
+
n(:ivar, [ value(token).to_sym ],
|
475
|
+
variable_map(token))
|
476
|
+
end
|
477
|
+
|
478
|
+
def gvar(token)
|
479
|
+
n(:gvar, [ value(token).to_sym ],
|
480
|
+
variable_map(token))
|
481
|
+
end
|
482
|
+
|
483
|
+
def cvar(token)
|
484
|
+
n(:cvar, [ value(token).to_sym ],
|
485
|
+
variable_map(token))
|
486
|
+
end
|
487
|
+
|
488
|
+
def back_ref(token)
|
489
|
+
n(:back_ref, [ value(token).to_sym ],
|
490
|
+
token_map(token))
|
491
|
+
end
|
492
|
+
|
493
|
+
def nth_ref(token)
|
494
|
+
n(:nth_ref, [ value(token) ],
|
495
|
+
token_map(token))
|
496
|
+
end
|
497
|
+
|
498
|
+
def accessible(node)
|
499
|
+
case node.type
|
500
|
+
when :__FILE__
|
501
|
+
if @emit_file_line_as_literals
|
502
|
+
n(:str, [ node.loc.expression.source_buffer.name ],
|
503
|
+
node.loc.dup)
|
504
|
+
else
|
505
|
+
node
|
506
|
+
end
|
507
|
+
|
508
|
+
when :__LINE__
|
509
|
+
if @emit_file_line_as_literals
|
510
|
+
n(:int, [ node.loc.expression.line ],
|
511
|
+
node.loc.dup)
|
512
|
+
else
|
513
|
+
node
|
514
|
+
end
|
515
|
+
|
516
|
+
when :__ENCODING__
|
517
|
+
if !self.class.emit_encoding
|
518
|
+
n(:const, [ n(:const, [ nil, :Encoding], nil), :UTF_8 ],
|
519
|
+
node.loc.dup)
|
520
|
+
else
|
521
|
+
node
|
522
|
+
end
|
523
|
+
|
524
|
+
when :ident
|
525
|
+
name, = *node
|
526
|
+
|
527
|
+
if @parser.static_env.declared?(name)
|
528
|
+
if name.to_s == parser.current_arg_stack.top
|
529
|
+
diagnostic :error, :circular_argument_reference,
|
530
|
+
{ :var_name => name.to_s }, node.loc.expression
|
531
|
+
end
|
532
|
+
|
533
|
+
node.updated(:lvar)
|
534
|
+
else
|
535
|
+
name, = *node
|
536
|
+
n(:send, [ nil, name ],
|
537
|
+
var_send_map(node))
|
538
|
+
end
|
539
|
+
|
540
|
+
else
|
541
|
+
node
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
545
|
+
def const(name_t)
|
546
|
+
n(:const, [ nil, value(name_t).to_sym ],
|
547
|
+
constant_map(nil, nil, name_t))
|
548
|
+
end
|
549
|
+
|
550
|
+
def const_global(t_colon3, name_t)
|
551
|
+
cbase = n0(:cbase, token_map(t_colon3))
|
552
|
+
|
553
|
+
n(:const, [ cbase, value(name_t).to_sym ],
|
554
|
+
constant_map(cbase, t_colon3, name_t))
|
555
|
+
end
|
556
|
+
|
557
|
+
def const_fetch(scope, t_colon2, name_t)
|
558
|
+
n(:const, [ scope, value(name_t).to_sym ],
|
559
|
+
constant_map(scope, t_colon2, name_t))
|
560
|
+
end
|
561
|
+
|
562
|
+
def __ENCODING__(__ENCODING__t)
|
563
|
+
n0(:__ENCODING__,
|
564
|
+
token_map(__ENCODING__t))
|
565
|
+
end
|
566
|
+
|
567
|
+
#
|
568
|
+
# Assignment
|
569
|
+
#
|
570
|
+
|
571
|
+
def assignable(node)
|
572
|
+
case node.type
|
573
|
+
when :cvar
|
574
|
+
node.updated(:cvasgn)
|
575
|
+
|
576
|
+
when :ivar
|
577
|
+
node.updated(:ivasgn)
|
578
|
+
|
579
|
+
when :gvar
|
580
|
+
node.updated(:gvasgn)
|
581
|
+
|
582
|
+
when :const
|
583
|
+
unless @parser.context.dynamic_const_definition_allowed?
|
584
|
+
diagnostic :error, :dynamic_const, nil, node.loc.expression
|
585
|
+
end
|
586
|
+
|
587
|
+
node.updated(:casgn)
|
588
|
+
|
589
|
+
when :ident
|
590
|
+
name, = *node
|
591
|
+
|
592
|
+
check_assignment_to_numparam(node)
|
593
|
+
|
594
|
+
@parser.static_env.declare(name)
|
595
|
+
|
596
|
+
node.updated(:lvasgn)
|
597
|
+
|
598
|
+
when :nil, :self, :true, :false,
|
599
|
+
:__FILE__, :__LINE__, :__ENCODING__
|
600
|
+
diagnostic :error, :invalid_assignment, nil, node.loc.expression
|
601
|
+
|
602
|
+
when :back_ref, :nth_ref
|
603
|
+
diagnostic :error, :backref_assignment, nil, node.loc.expression
|
604
|
+
end
|
605
|
+
end
|
606
|
+
|
607
|
+
def const_op_assignable(node)
|
608
|
+
node.updated(:casgn)
|
609
|
+
end
|
610
|
+
|
611
|
+
def assign(lhs, eql_t, rhs)
|
612
|
+
(lhs << rhs).updated(nil, nil,
|
613
|
+
:location => lhs.loc.
|
614
|
+
with_operator(loc(eql_t)).
|
615
|
+
with_expression(join_exprs(lhs, rhs)))
|
616
|
+
end
|
617
|
+
|
618
|
+
def op_assign(lhs, op_t, rhs)
|
619
|
+
case lhs.type
|
620
|
+
when :gvasgn, :ivasgn, :lvasgn, :cvasgn, :casgn, :send, :csend, :index
|
621
|
+
operator = value(op_t)[0..-1].to_sym
|
622
|
+
source_map = lhs.loc.
|
623
|
+
with_operator(loc(op_t)).
|
624
|
+
with_expression(join_exprs(lhs, rhs))
|
625
|
+
|
626
|
+
if lhs.type == :index
|
627
|
+
lhs = lhs.updated(:indexasgn)
|
628
|
+
end
|
629
|
+
|
630
|
+
case operator
|
631
|
+
when :'&&'
|
632
|
+
n(:and_asgn, [ lhs, rhs ], source_map)
|
633
|
+
when :'||'
|
634
|
+
n(:or_asgn, [ lhs, rhs ], source_map)
|
635
|
+
else
|
636
|
+
n(:op_asgn, [ lhs, operator, rhs ], source_map)
|
637
|
+
end
|
638
|
+
|
639
|
+
when :back_ref, :nth_ref
|
640
|
+
diagnostic :error, :backref_assignment, nil, lhs.loc.expression
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
644
|
+
def multi_lhs(begin_t, items, end_t)
|
645
|
+
n(:mlhs, [ *items ],
|
646
|
+
collection_map(begin_t, items, end_t))
|
647
|
+
end
|
648
|
+
|
649
|
+
def multi_assign(lhs, eql_t, rhs)
|
650
|
+
n(:masgn, [ lhs, rhs ],
|
651
|
+
binary_op_map(lhs, eql_t, rhs))
|
652
|
+
end
|
653
|
+
|
654
|
+
def rassign(lhs, assoc_t, rhs)
|
655
|
+
n(:rasgn, [lhs, rhs], binary_op_map(lhs, assoc_t, rhs))
|
656
|
+
end
|
657
|
+
|
658
|
+
def multi_rassign(lhs, assoc_t, rhs)
|
659
|
+
n(:mrasgn, [ lhs, rhs ],
|
660
|
+
binary_op_map(lhs, assoc_t, rhs))
|
661
|
+
end
|
662
|
+
|
663
|
+
#
|
664
|
+
# Class and module definition
|
665
|
+
#
|
666
|
+
|
667
|
+
def def_class(class_t, name,
|
668
|
+
lt_t, superclass,
|
669
|
+
body, end_t)
|
670
|
+
n(:class, [ name, superclass, body ],
|
671
|
+
module_definition_map(class_t, name, lt_t, end_t))
|
672
|
+
end
|
673
|
+
|
674
|
+
def def_sclass(class_t, lshft_t, expr,
|
675
|
+
body, end_t)
|
676
|
+
n(:sclass, [ expr, body ],
|
677
|
+
module_definition_map(class_t, nil, lshft_t, end_t))
|
678
|
+
end
|
679
|
+
|
680
|
+
def def_module(module_t, name,
|
681
|
+
body, end_t)
|
682
|
+
n(:module, [ name, body ],
|
683
|
+
module_definition_map(module_t, name, nil, end_t))
|
684
|
+
end
|
685
|
+
|
686
|
+
#
|
687
|
+
# Method (un)definition
|
688
|
+
#
|
689
|
+
|
690
|
+
def def_method(def_t, name_t, args,
|
691
|
+
body, end_t)
|
692
|
+
n(:def, [ value(name_t).to_sym, args, body ],
|
693
|
+
definition_map(def_t, nil, name_t, end_t))
|
694
|
+
end
|
695
|
+
|
696
|
+
def def_endless_method(def_t, name_t, args,
|
697
|
+
assignment_t, body)
|
698
|
+
n(:def_e, [ value(name_t).to_sym, args, body ],
|
699
|
+
endless_definition_map(def_t, nil, name_t, assignment_t, body))
|
700
|
+
end
|
701
|
+
|
702
|
+
def def_singleton(def_t, definee, dot_t,
|
703
|
+
name_t, args,
|
704
|
+
body, end_t)
|
705
|
+
return unless validate_definee(definee)
|
706
|
+
|
707
|
+
n(:defs, [ definee, value(name_t).to_sym, args, body ],
|
708
|
+
definition_map(def_t, dot_t, name_t, end_t))
|
709
|
+
end
|
710
|
+
|
711
|
+
def def_endless_singleton(def_t, definee, dot_t,
|
712
|
+
name_t, args,
|
713
|
+
assignment_t, body)
|
714
|
+
return unless validate_definee(definee)
|
715
|
+
|
716
|
+
n(:defs_e, [ definee, value(name_t).to_sym, args, body ],
|
717
|
+
endless_definition_map(def_t, dot_t, name_t, assignment_t, body))
|
718
|
+
end
|
719
|
+
|
720
|
+
def undef_method(undef_t, names)
|
721
|
+
n(:undef, [ *names ],
|
722
|
+
keyword_map(undef_t, nil, names, nil))
|
723
|
+
end
|
724
|
+
|
725
|
+
def alias(alias_t, to, from)
|
726
|
+
n(:alias, [ to, from ],
|
727
|
+
keyword_map(alias_t, nil, [to, from], nil))
|
728
|
+
end
|
729
|
+
|
730
|
+
#
|
731
|
+
# Formal arguments
|
732
|
+
#
|
733
|
+
|
734
|
+
def args(begin_t, args, end_t, check_args=true)
|
735
|
+
args = check_duplicate_args(args) if check_args
|
736
|
+
n(:args, args,
|
737
|
+
collection_map(begin_t, args, end_t))
|
738
|
+
end
|
739
|
+
|
740
|
+
def numargs(max_numparam)
|
741
|
+
n(:numargs, [ max_numparam ], nil)
|
742
|
+
end
|
743
|
+
|
744
|
+
def forward_only_args(begin_t, dots_t, end_t)
|
745
|
+
if self.class.emit_forward_arg
|
746
|
+
arg = forward_arg(dots_t)
|
747
|
+
n(:args, [ arg ],
|
748
|
+
collection_map(begin_t, [ arg ], end_t))
|
749
|
+
else
|
750
|
+
n(:forward_args, [], collection_map(begin_t, token_map(dots_t), end_t))
|
751
|
+
end
|
752
|
+
end
|
753
|
+
|
754
|
+
def forward_arg(dots_t)
|
755
|
+
n(:forward_arg, [], token_map(dots_t))
|
756
|
+
end
|
757
|
+
|
758
|
+
def arg(name_t)
|
759
|
+
n(:arg, [ value(name_t).to_sym ],
|
760
|
+
variable_map(name_t))
|
761
|
+
end
|
762
|
+
|
763
|
+
def optarg(name_t, eql_t, value)
|
764
|
+
n(:optarg, [ value(name_t).to_sym, value ],
|
765
|
+
variable_map(name_t).
|
766
|
+
with_operator(loc(eql_t)).
|
767
|
+
with_expression(loc(name_t).join(value.loc.expression)))
|
768
|
+
end
|
769
|
+
|
770
|
+
def restarg(star_t, name_t=nil)
|
771
|
+
if name_t
|
772
|
+
n(:restarg, [ value(name_t).to_sym ],
|
773
|
+
arg_prefix_map(star_t, name_t))
|
774
|
+
else
|
775
|
+
n0(:restarg,
|
776
|
+
arg_prefix_map(star_t))
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
780
|
+
def kwarg(name_t)
|
781
|
+
n(:kwarg, [ value(name_t).to_sym ],
|
782
|
+
kwarg_map(name_t))
|
783
|
+
end
|
784
|
+
|
785
|
+
def kwoptarg(name_t, value)
|
786
|
+
n(:kwoptarg, [ value(name_t).to_sym, value ],
|
787
|
+
kwarg_map(name_t, value))
|
788
|
+
end
|
789
|
+
|
790
|
+
def kwrestarg(dstar_t, name_t=nil)
|
791
|
+
if name_t
|
792
|
+
n(:kwrestarg, [ value(name_t).to_sym ],
|
793
|
+
arg_prefix_map(dstar_t, name_t))
|
794
|
+
else
|
795
|
+
n0(:kwrestarg,
|
796
|
+
arg_prefix_map(dstar_t))
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
800
|
+
def kwnilarg(dstar_t, nil_t)
|
801
|
+
n0(:kwnilarg,
|
802
|
+
arg_prefix_map(dstar_t, nil_t))
|
803
|
+
end
|
804
|
+
|
805
|
+
def shadowarg(name_t)
|
806
|
+
n(:shadowarg, [ value(name_t).to_sym ],
|
807
|
+
variable_map(name_t))
|
808
|
+
end
|
809
|
+
|
810
|
+
def blockarg(amper_t, name_t)
|
811
|
+
n(:blockarg, [ value(name_t).to_sym ],
|
812
|
+
arg_prefix_map(amper_t, name_t))
|
813
|
+
end
|
814
|
+
|
815
|
+
def procarg0(arg)
|
816
|
+
if self.class.emit_procarg0
|
817
|
+
if arg.type == :arg && self.class.emit_arg_inside_procarg0
|
818
|
+
n(:procarg0, [ arg ],
|
819
|
+
Source::Map::Collection.new(nil, nil, arg.location.expression))
|
820
|
+
else
|
821
|
+
arg.updated(:procarg0)
|
822
|
+
end
|
823
|
+
else
|
824
|
+
arg
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
828
|
+
# Ruby 1.8 block arguments
|
829
|
+
|
830
|
+
def arg_expr(expr)
|
831
|
+
if expr.type == :lvasgn
|
832
|
+
expr.updated(:arg)
|
833
|
+
else
|
834
|
+
n(:arg_expr, [ expr ],
|
835
|
+
expr.loc.dup)
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
839
|
+
def restarg_expr(star_t, expr=nil)
|
840
|
+
if expr.nil?
|
841
|
+
n0(:restarg, token_map(star_t))
|
842
|
+
elsif expr.type == :lvasgn
|
843
|
+
expr.updated(:restarg)
|
844
|
+
else
|
845
|
+
n(:restarg_expr, [ expr ],
|
846
|
+
expr.loc.dup)
|
847
|
+
end
|
848
|
+
end
|
849
|
+
|
850
|
+
def blockarg_expr(amper_t, expr)
|
851
|
+
if expr.type == :lvasgn
|
852
|
+
expr.updated(:blockarg)
|
853
|
+
else
|
854
|
+
n(:blockarg_expr, [ expr ],
|
855
|
+
expr.loc.dup)
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
# MacRuby Objective-C arguments
|
860
|
+
|
861
|
+
def objc_kwarg(kwname_t, assoc_t, name_t)
|
862
|
+
kwname_l = loc(kwname_t)
|
863
|
+
if assoc_t.nil? # a: b, not a => b
|
864
|
+
kwname_l = kwname_l.resize(kwname_l.size - 1)
|
865
|
+
operator_l = kwname_l.end.resize(1)
|
866
|
+
else
|
867
|
+
operator_l = loc(assoc_t)
|
868
|
+
end
|
869
|
+
|
870
|
+
n(:objc_kwarg, [ value(kwname_t).to_sym, value(name_t).to_sym ],
|
871
|
+
Source::Map::ObjcKwarg.new(kwname_l, operator_l, loc(name_t),
|
872
|
+
kwname_l.join(loc(name_t))))
|
873
|
+
end
|
874
|
+
|
875
|
+
def objc_restarg(star_t, name=nil)
|
876
|
+
if name.nil?
|
877
|
+
n0(:restarg, arg_prefix_map(star_t))
|
878
|
+
elsif name.type == :arg # regular restarg
|
879
|
+
name.updated(:restarg, nil,
|
880
|
+
{ :location => name.loc.with_operator(loc(star_t)) })
|
881
|
+
else # restarg with objc_kwarg inside
|
882
|
+
n(:objc_restarg, [ name ],
|
883
|
+
unary_op_map(star_t, name))
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
887
|
+
#
|
888
|
+
# Method calls
|
889
|
+
#
|
890
|
+
|
891
|
+
def call_type_for_dot(dot_t)
|
892
|
+
if !dot_t.nil? && value(dot_t) == :anddot
|
893
|
+
:csend
|
894
|
+
else
|
895
|
+
# This case is a bit tricky. ruby23.y returns the token tDOT with
|
896
|
+
# the value :dot, and the token :tANDDOT with the value :anddot.
|
897
|
+
#
|
898
|
+
# But, ruby{18..22}.y (which unconditionally expect tDOT) just
|
899
|
+
# return "." there, since they are to be kept close to the corresponding
|
900
|
+
# Ruby MRI grammars.
|
901
|
+
#
|
902
|
+
# Thankfully, we don't have to care.
|
903
|
+
:send
|
904
|
+
end
|
905
|
+
end
|
906
|
+
|
907
|
+
def forwarded_args(dots_t)
|
908
|
+
n(:forwarded_args, [], token_map(dots_t))
|
909
|
+
end
|
910
|
+
|
911
|
+
def call_method(receiver, dot_t, selector_t,
|
912
|
+
lparen_t=nil, args=[], rparen_t=nil)
|
913
|
+
type = call_type_for_dot(dot_t)
|
914
|
+
if selector_t.nil?
|
915
|
+
n(type, [ receiver, :call, *args ],
|
916
|
+
send_map(receiver, dot_t, nil, lparen_t, args, rparen_t))
|
917
|
+
else
|
918
|
+
n(type, [ receiver, value(selector_t).to_sym, *args ],
|
919
|
+
send_map(receiver, dot_t, selector_t, lparen_t, args, rparen_t))
|
920
|
+
end
|
921
|
+
end
|
922
|
+
|
923
|
+
def call_lambda(lambda_t)
|
924
|
+
if self.class.emit_lambda
|
925
|
+
n0(:lambda, expr_map(loc(lambda_t)))
|
926
|
+
else
|
927
|
+
n(:send, [ nil, :lambda ],
|
928
|
+
send_map(nil, nil, lambda_t))
|
929
|
+
end
|
930
|
+
end
|
931
|
+
|
932
|
+
def block(method_call, begin_t, args, body, end_t)
|
933
|
+
_receiver, _selector, *call_args = *method_call
|
934
|
+
|
935
|
+
if method_call.type == :yield
|
936
|
+
diagnostic :error, :block_given_to_yield, nil, method_call.loc.keyword, [loc(begin_t)]
|
937
|
+
end
|
938
|
+
|
939
|
+
last_arg = call_args.last
|
940
|
+
if last_arg && (last_arg.type == :block_pass || last_arg.type == :forwarded_args)
|
941
|
+
diagnostic :error, :block_and_blockarg, nil, last_arg.loc.expression, [loc(begin_t)]
|
942
|
+
end
|
943
|
+
|
944
|
+
if args.type == :numargs
|
945
|
+
block_type = :numblock
|
946
|
+
args = args.children[0]
|
947
|
+
else
|
948
|
+
block_type = :block
|
949
|
+
end
|
950
|
+
|
951
|
+
if [:send, :csend, :index, :super, :zsuper, :lambda].include?(method_call.type)
|
952
|
+
n(block_type, [ method_call, args, body ],
|
953
|
+
block_map(method_call.loc.expression, begin_t, end_t))
|
954
|
+
else
|
955
|
+
# Code like "return foo 1 do end" is reduced in a weird sequence.
|
956
|
+
# Here, method_call is actually (return).
|
957
|
+
actual_send, = *method_call
|
958
|
+
block =
|
959
|
+
n(block_type, [ actual_send, args, body ],
|
960
|
+
block_map(actual_send.loc.expression, begin_t, end_t))
|
961
|
+
|
962
|
+
n(method_call.type, [ block ],
|
963
|
+
method_call.loc.with_expression(join_exprs(method_call, block)))
|
964
|
+
end
|
965
|
+
end
|
966
|
+
|
967
|
+
def block_pass(amper_t, arg)
|
968
|
+
n(:block_pass, [ arg ],
|
969
|
+
unary_op_map(amper_t, arg))
|
970
|
+
end
|
971
|
+
|
972
|
+
def objc_varargs(pair, rest_of_varargs)
|
973
|
+
value, first_vararg = *pair
|
974
|
+
vararg_array = array(nil, [ first_vararg, *rest_of_varargs ], nil).
|
975
|
+
updated(:objc_varargs)
|
976
|
+
pair.updated(nil, [ value, vararg_array ],
|
977
|
+
{ :location => pair.loc.with_expression(
|
978
|
+
pair.loc.expression.join(vararg_array.loc.expression)) })
|
979
|
+
end
|
980
|
+
|
981
|
+
def attr_asgn(receiver, dot_t, selector_t)
|
982
|
+
method_name = (value(selector_t) + '=').to_sym
|
983
|
+
type = call_type_for_dot(dot_t)
|
984
|
+
|
985
|
+
# Incomplete method call.
|
986
|
+
n(type, [ receiver, method_name ],
|
987
|
+
send_map(receiver, dot_t, selector_t))
|
988
|
+
end
|
989
|
+
|
990
|
+
def index(receiver, lbrack_t, indexes, rbrack_t)
|
991
|
+
if self.class.emit_index
|
992
|
+
n(:index, [ receiver, *indexes ],
|
993
|
+
index_map(receiver, lbrack_t, rbrack_t))
|
994
|
+
else
|
995
|
+
n(:send, [ receiver, :[], *indexes ],
|
996
|
+
send_index_map(receiver, lbrack_t, rbrack_t))
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
1000
|
+
def index_asgn(receiver, lbrack_t, indexes, rbrack_t)
|
1001
|
+
if self.class.emit_index
|
1002
|
+
n(:indexasgn, [ receiver, *indexes ],
|
1003
|
+
index_map(receiver, lbrack_t, rbrack_t))
|
1004
|
+
else
|
1005
|
+
# Incomplete method call.
|
1006
|
+
n(:send, [ receiver, :[]=, *indexes ],
|
1007
|
+
send_index_map(receiver, lbrack_t, rbrack_t))
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
def binary_op(receiver, operator_t, arg)
|
1012
|
+
source_map = send_binary_op_map(receiver, operator_t, arg)
|
1013
|
+
|
1014
|
+
if @parser.version == 18
|
1015
|
+
operator = value(operator_t)
|
1016
|
+
|
1017
|
+
if operator == '!='
|
1018
|
+
method_call = n(:send, [ receiver, :==, arg ], source_map)
|
1019
|
+
elsif operator == '!~'
|
1020
|
+
method_call = n(:send, [ receiver, :=~, arg ], source_map)
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
if %w(!= !~).include?(operator)
|
1024
|
+
return n(:not, [ method_call ],
|
1025
|
+
expr_map(source_map.expression))
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
n(:send, [ receiver, value(operator_t).to_sym, arg ],
|
1030
|
+
source_map)
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
def match_op(receiver, match_t, arg)
|
1034
|
+
source_map = send_binary_op_map(receiver, match_t, arg)
|
1035
|
+
|
1036
|
+
if (regexp = static_regexp_node(receiver))
|
1037
|
+
regexp.names.each do |name|
|
1038
|
+
@parser.static_env.declare(name)
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
n(:match_with_lvasgn, [ receiver, arg ],
|
1042
|
+
source_map)
|
1043
|
+
else
|
1044
|
+
n(:send, [ receiver, :=~, arg ],
|
1045
|
+
source_map)
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
def unary_op(op_t, receiver)
|
1050
|
+
case value(op_t)
|
1051
|
+
when '+', '-'
|
1052
|
+
method = value(op_t) + '@'
|
1053
|
+
else
|
1054
|
+
method = value(op_t)
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
n(:send, [ receiver, method.to_sym ],
|
1058
|
+
send_unary_op_map(op_t, receiver))
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
def not_op(not_t, begin_t=nil, receiver=nil, end_t=nil)
|
1062
|
+
if @parser.version == 18
|
1063
|
+
n(:not, [ check_condition(receiver) ],
|
1064
|
+
unary_op_map(not_t, receiver))
|
1065
|
+
else
|
1066
|
+
if receiver.nil?
|
1067
|
+
nil_node = n0(:begin, collection_map(begin_t, nil, end_t))
|
1068
|
+
|
1069
|
+
n(:send, [
|
1070
|
+
nil_node, :'!'
|
1071
|
+
], send_unary_op_map(not_t, nil_node))
|
1072
|
+
else
|
1073
|
+
n(:send, [ check_condition(receiver), :'!' ],
|
1074
|
+
send_map(nil, nil, not_t, begin_t, [receiver], end_t))
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
#
|
1080
|
+
# Control flow
|
1081
|
+
#
|
1082
|
+
|
1083
|
+
# Logical operations: and, or
|
1084
|
+
|
1085
|
+
def logical_op(type, lhs, op_t, rhs)
|
1086
|
+
n(type, [ lhs, rhs ],
|
1087
|
+
binary_op_map(lhs, op_t, rhs))
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
# Conditionals
|
1091
|
+
|
1092
|
+
def condition(cond_t, cond, then_t,
|
1093
|
+
if_true, else_t, if_false, end_t)
|
1094
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1095
|
+
condition_map(cond_t, cond, then_t, if_true, else_t, if_false, end_t))
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
def condition_mod(if_true, if_false, cond_t, cond)
|
1099
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1100
|
+
keyword_mod_map(if_true || if_false, cond_t, cond))
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
def ternary(cond, question_t, if_true, colon_t, if_false)
|
1104
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1105
|
+
ternary_map(cond, question_t, if_true, colon_t, if_false))
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# Case matching
|
1109
|
+
|
1110
|
+
def when(when_t, patterns, then_t, body)
|
1111
|
+
children = patterns << body
|
1112
|
+
n(:when, children,
|
1113
|
+
keyword_map(when_t, then_t, children, nil))
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
def case(case_t, expr, when_bodies, else_t, else_body, end_t)
|
1117
|
+
n(:case, [ expr, *(when_bodies << else_body)],
|
1118
|
+
condition_map(case_t, expr, nil, nil, else_t, else_body, end_t))
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
# Loops
|
1122
|
+
|
1123
|
+
def loop(type, keyword_t, cond, do_t, body, end_t)
|
1124
|
+
n(type, [ check_condition(cond), body ],
|
1125
|
+
keyword_map(keyword_t, do_t, nil, end_t))
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
def loop_mod(type, body, keyword_t, cond)
|
1129
|
+
if body.type == :kwbegin
|
1130
|
+
type = :"#{type}_post"
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
n(type, [ check_condition(cond), body ],
|
1134
|
+
keyword_mod_map(body, keyword_t, cond))
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
def for(for_t, iterator, in_t, iteratee,
|
1138
|
+
do_t, body, end_t)
|
1139
|
+
n(:for, [ iterator, iteratee, body ],
|
1140
|
+
for_map(for_t, in_t, do_t, end_t))
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
# Keywords
|
1144
|
+
|
1145
|
+
def keyword_cmd(type, keyword_t, lparen_t=nil, args=[], rparen_t=nil)
|
1146
|
+
if type == :yield && args.count > 0
|
1147
|
+
last_arg = args.last
|
1148
|
+
if last_arg.type == :block_pass
|
1149
|
+
diagnostic :error, :block_given_to_yield, nil, loc(keyword_t), [last_arg.loc.expression]
|
1150
|
+
end
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
n(type, args,
|
1154
|
+
keyword_map(keyword_t, lparen_t, args, rparen_t))
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
# BEGIN, END
|
1158
|
+
|
1159
|
+
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t)
|
1160
|
+
n(:preexe, [ compstmt ],
|
1161
|
+
keyword_map(preexe_t, lbrace_t, [], rbrace_t))
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t)
|
1165
|
+
n(:postexe, [ compstmt ],
|
1166
|
+
keyword_map(postexe_t, lbrace_t, [], rbrace_t))
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# Exception handling
|
1170
|
+
|
1171
|
+
def rescue_body(rescue_t,
|
1172
|
+
exc_list, assoc_t, exc_var,
|
1173
|
+
then_t, compound_stmt)
|
1174
|
+
n(:resbody, [ exc_list, exc_var, compound_stmt ],
|
1175
|
+
rescue_body_map(rescue_t, exc_list, assoc_t,
|
1176
|
+
exc_var, then_t, compound_stmt))
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
def begin_body(compound_stmt, rescue_bodies=[],
|
1180
|
+
else_t=nil, else_=nil,
|
1181
|
+
ensure_t=nil, ensure_=nil)
|
1182
|
+
if rescue_bodies.any?
|
1183
|
+
if else_t
|
1184
|
+
compound_stmt =
|
1185
|
+
n(:rescue,
|
1186
|
+
[ compound_stmt, *(rescue_bodies + [ else_ ]) ],
|
1187
|
+
eh_keyword_map(compound_stmt, nil, rescue_bodies, else_t, else_))
|
1188
|
+
else
|
1189
|
+
compound_stmt =
|
1190
|
+
n(:rescue,
|
1191
|
+
[ compound_stmt, *(rescue_bodies + [ nil ]) ],
|
1192
|
+
eh_keyword_map(compound_stmt, nil, rescue_bodies, nil, nil))
|
1193
|
+
end
|
1194
|
+
elsif else_t
|
1195
|
+
statements = []
|
1196
|
+
if !compound_stmt.nil?
|
1197
|
+
if compound_stmt.type == :begin
|
1198
|
+
statements += compound_stmt.children
|
1199
|
+
else
|
1200
|
+
statements.push(compound_stmt)
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
statements.push(
|
1204
|
+
n(:begin, [ else_ ],
|
1205
|
+
collection_map(else_t, [ else_ ], nil)))
|
1206
|
+
compound_stmt =
|
1207
|
+
n(:begin, statements,
|
1208
|
+
collection_map(nil, statements, nil))
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
if ensure_t
|
1212
|
+
compound_stmt =
|
1213
|
+
n(:ensure,
|
1214
|
+
[ compound_stmt, ensure_ ],
|
1215
|
+
eh_keyword_map(compound_stmt, ensure_t, [ ensure_ ], nil, nil))
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
compound_stmt
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
#
|
1222
|
+
# Expression grouping
|
1223
|
+
#
|
1224
|
+
|
1225
|
+
def compstmt(statements)
|
1226
|
+
case
|
1227
|
+
when statements.none?
|
1228
|
+
nil
|
1229
|
+
when statements.one?
|
1230
|
+
statements.first
|
1231
|
+
else
|
1232
|
+
n(:begin, statements,
|
1233
|
+
collection_map(nil, statements, nil))
|
1234
|
+
end
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
def begin(begin_t, body, end_t)
|
1238
|
+
if body.nil?
|
1239
|
+
# A nil expression: `()'.
|
1240
|
+
n0(:begin,
|
1241
|
+
collection_map(begin_t, nil, end_t))
|
1242
|
+
elsif body.type == :mlhs ||
|
1243
|
+
(body.type == :begin &&
|
1244
|
+
body.loc.begin.nil? && body.loc.end.nil?)
|
1245
|
+
# Synthesized (begin) from compstmt "a; b" or (mlhs)
|
1246
|
+
# from multi_lhs "(a, b) = *foo".
|
1247
|
+
n(body.type, body.children,
|
1248
|
+
collection_map(begin_t, body.children, end_t))
|
1249
|
+
else
|
1250
|
+
n(:begin, [ body ],
|
1251
|
+
collection_map(begin_t, [ body ], end_t))
|
1252
|
+
end
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
def begin_keyword(begin_t, body, end_t)
|
1256
|
+
if body.nil?
|
1257
|
+
# A nil expression: `begin end'.
|
1258
|
+
n0(:kwbegin,
|
1259
|
+
collection_map(begin_t, nil, end_t))
|
1260
|
+
elsif (body.type == :begin &&
|
1261
|
+
body.loc.begin.nil? && body.loc.end.nil?)
|
1262
|
+
# Synthesized (begin) from compstmt "a; b".
|
1263
|
+
n(:kwbegin, body.children,
|
1264
|
+
collection_map(begin_t, body.children, end_t))
|
1265
|
+
else
|
1266
|
+
n(:kwbegin, [ body ],
|
1267
|
+
collection_map(begin_t, [ body ], end_t))
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
#
|
1272
|
+
# PATTERN MATCHING
|
1273
|
+
#
|
1274
|
+
|
1275
|
+
def case_match(case_t, expr, in_bodies, else_t, else_body, end_t)
|
1276
|
+
else_body = n(:empty_else, nil, token_map(else_t)) if else_t && !else_body
|
1277
|
+
n(:case_match, [ expr, *(in_bodies << else_body)],
|
1278
|
+
condition_map(case_t, expr, nil, nil, else_t, else_body, end_t))
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
def in_match(lhs, in_t, rhs)
|
1282
|
+
n(:in_match, [lhs, rhs],
|
1283
|
+
binary_op_map(lhs, in_t, rhs))
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
def in_pattern(in_t, pattern, guard, then_t, body)
|
1287
|
+
children = [pattern, guard, body]
|
1288
|
+
n(:in_pattern, children,
|
1289
|
+
keyword_map(in_t, then_t, children.compact, nil))
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
def if_guard(if_t, if_body)
|
1293
|
+
n(:if_guard, [if_body], guard_map(if_t, if_body))
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
def unless_guard(unless_t, unless_body)
|
1297
|
+
n(:unless_guard, [unless_body], guard_map(unless_t, unless_body))
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
def match_var(name_t)
|
1301
|
+
name = value(name_t).to_sym
|
1302
|
+
name_l = loc(name_t)
|
1303
|
+
|
1304
|
+
check_lvar_name(name, name_l)
|
1305
|
+
check_duplicate_pattern_variable(name, name_l)
|
1306
|
+
@parser.static_env.declare(name)
|
1307
|
+
|
1308
|
+
n(:match_var, [ name ],
|
1309
|
+
variable_map(name_t))
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
def match_hash_var(name_t)
|
1313
|
+
name = value(name_t).to_sym
|
1314
|
+
|
1315
|
+
expr_l = loc(name_t)
|
1316
|
+
name_l = expr_l.adjust(end_pos: -1)
|
1317
|
+
|
1318
|
+
check_lvar_name(name, name_l)
|
1319
|
+
check_duplicate_pattern_variable(name, name_l)
|
1320
|
+
@parser.static_env.declare(name)
|
1321
|
+
|
1322
|
+
n(:match_var, [ name ],
|
1323
|
+
Source::Map::Variable.new(name_l, expr_l))
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
def match_hash_var_from_str(begin_t, strings, end_t)
|
1327
|
+
if strings.length > 1
|
1328
|
+
diagnostic :error, :pm_interp_in_var_name, nil, loc(begin_t).join(loc(end_t))
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
string = strings[0]
|
1332
|
+
|
1333
|
+
case string.type
|
1334
|
+
when :str
|
1335
|
+
# MRI supports plain strings in hash pattern matching
|
1336
|
+
name, = *string
|
1337
|
+
name_l = string.loc.expression
|
1338
|
+
|
1339
|
+
check_lvar_name(name, name_l)
|
1340
|
+
check_duplicate_pattern_variable(name, name_l)
|
1341
|
+
|
1342
|
+
@parser.static_env.declare(name)
|
1343
|
+
|
1344
|
+
if (begin_l = string.loc.begin)
|
1345
|
+
# exclude beginning of the string from the location of the variable
|
1346
|
+
name_l = name_l.adjust(begin_pos: begin_l.length)
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
if (end_l = string.loc.end)
|
1350
|
+
# exclude end of the string from the location of the variable
|
1351
|
+
name_l = name_l.adjust(end_pos: -end_l.length)
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
expr_l = loc(begin_t).join(string.loc.expression).join(loc(end_t))
|
1355
|
+
n(:match_var, [ name.to_sym ],
|
1356
|
+
Source::Map::Variable.new(name_l, expr_l))
|
1357
|
+
when :begin
|
1358
|
+
match_hash_var_from_str(begin_t, string.children, end_t)
|
1359
|
+
else
|
1360
|
+
# we only can get here if there is an interpolation, e.g., ``in "#{ a }":`
|
1361
|
+
diagnostic :error, :pm_interp_in_var_name, nil, loc(begin_t).join(loc(end_t))
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
|
1365
|
+
def match_rest(star_t, name_t = nil)
|
1366
|
+
if name_t.nil?
|
1367
|
+
n0(:match_rest,
|
1368
|
+
unary_op_map(star_t))
|
1369
|
+
else
|
1370
|
+
name = match_var(name_t)
|
1371
|
+
n(:match_rest, [ name ],
|
1372
|
+
unary_op_map(star_t, name))
|
1373
|
+
end
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
def hash_pattern(lbrace_t, kwargs, rbrace_t)
|
1377
|
+
args = check_duplicate_args(kwargs)
|
1378
|
+
n(:hash_pattern, args,
|
1379
|
+
collection_map(lbrace_t, args, rbrace_t))
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
def array_pattern(lbrack_t, elements, rbrack_t)
|
1383
|
+
return n(:array_pattern, nil, collection_map(lbrack_t, [], rbrack_t)) if elements.nil?
|
1384
|
+
|
1385
|
+
trailing_comma = false
|
1386
|
+
|
1387
|
+
node_elements = elements.map do |element|
|
1388
|
+
if element.type == :match_with_trailing_comma
|
1389
|
+
trailing_comma = true
|
1390
|
+
element.children.first
|
1391
|
+
else
|
1392
|
+
trailing_comma = false
|
1393
|
+
element
|
1394
|
+
end
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
node_type = trailing_comma ? :array_pattern_with_tail : :array_pattern
|
1398
|
+
|
1399
|
+
n(node_type, node_elements,
|
1400
|
+
collection_map(lbrack_t, elements, rbrack_t))
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
def find_pattern(lbrack_t, elements, rbrack_t)
|
1404
|
+
n(:find_pattern, elements,
|
1405
|
+
collection_map(lbrack_t, elements, rbrack_t))
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
def match_with_trailing_comma(match, comma_t)
|
1409
|
+
n(:match_with_trailing_comma, [ match ], expr_map(match.loc.expression.join(loc(comma_t))))
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
def const_pattern(const, ldelim_t, pattern, rdelim_t)
|
1413
|
+
n(:const_pattern, [const, pattern],
|
1414
|
+
Source::Map::Collection.new(
|
1415
|
+
loc(ldelim_t), loc(rdelim_t),
|
1416
|
+
const.loc.expression.join(loc(rdelim_t))
|
1417
|
+
)
|
1418
|
+
)
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
def pin(pin_t, var)
|
1422
|
+
n(:pin, [ var ],
|
1423
|
+
send_unary_op_map(pin_t, var))
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
def match_alt(left, pipe_t, right)
|
1427
|
+
source_map = binary_op_map(left, pipe_t, right)
|
1428
|
+
|
1429
|
+
n(:match_alt, [ left, right ],
|
1430
|
+
source_map)
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
def match_as(value, assoc_t, as)
|
1434
|
+
source_map = binary_op_map(value, assoc_t, as)
|
1435
|
+
|
1436
|
+
n(:match_as, [ value, as ],
|
1437
|
+
source_map)
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
def match_nil_pattern(dstar_t, nil_t)
|
1441
|
+
n0(:match_nil_pattern,
|
1442
|
+
arg_prefix_map(dstar_t, nil_t))
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
def match_pair(label_type, label, value)
|
1446
|
+
if label_type == :label
|
1447
|
+
check_duplicate_pattern_key(label[0], label[1])
|
1448
|
+
pair_keyword(label, value)
|
1449
|
+
else
|
1450
|
+
begin_t, parts, end_t = label
|
1451
|
+
label_loc = loc(begin_t).join(loc(end_t))
|
1452
|
+
|
1453
|
+
# quoted label like "label": value
|
1454
|
+
if (var_name = static_string(parts))
|
1455
|
+
check_duplicate_pattern_key(var_name, label_loc)
|
1456
|
+
else
|
1457
|
+
diagnostic :error, :pm_interp_in_var_name, nil, label_loc
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
pair_quoted(begin_t, parts, end_t, value)
|
1461
|
+
end
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
def match_label(label_type, label)
|
1465
|
+
if label_type == :label
|
1466
|
+
match_hash_var(label)
|
1467
|
+
else
|
1468
|
+
# quoted label like "label": value
|
1469
|
+
begin_t, strings, end_t = label
|
1470
|
+
match_hash_var_from_str(begin_t, strings, end_t)
|
1471
|
+
end
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
private
|
1475
|
+
|
1476
|
+
#
|
1477
|
+
# VERIFICATION
|
1478
|
+
#
|
1479
|
+
|
1480
|
+
def check_condition(cond)
|
1481
|
+
case cond.type
|
1482
|
+
when :masgn
|
1483
|
+
if @parser.version <= 23
|
1484
|
+
diagnostic :error, :masgn_as_condition, nil, cond.loc.expression
|
1485
|
+
else
|
1486
|
+
cond
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
when :begin
|
1490
|
+
if cond.children.count == 1
|
1491
|
+
cond.updated(nil, [
|
1492
|
+
check_condition(cond.children.last)
|
1493
|
+
])
|
1494
|
+
else
|
1495
|
+
cond
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
when :and, :or, :irange, :erange
|
1499
|
+
lhs, rhs = *cond
|
1500
|
+
|
1501
|
+
type = case cond.type
|
1502
|
+
when :irange then :iflipflop
|
1503
|
+
when :erange then :eflipflop
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
if [:and, :or].include?(cond.type) &&
|
1507
|
+
@parser.version == 18
|
1508
|
+
cond
|
1509
|
+
else
|
1510
|
+
cond.updated(type, [
|
1511
|
+
check_condition(lhs),
|
1512
|
+
check_condition(rhs)
|
1513
|
+
])
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
when :regexp
|
1517
|
+
n(:match_current_line, [ cond ], expr_map(cond.loc.expression))
|
1518
|
+
|
1519
|
+
else
|
1520
|
+
cond
|
1521
|
+
end
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
def check_duplicate_args(args, map={})
|
1525
|
+
args.each do |this_arg|
|
1526
|
+
case this_arg.type
|
1527
|
+
when :arg, :optarg, :restarg, :blockarg,
|
1528
|
+
:kwarg, :kwoptarg, :kwrestarg,
|
1529
|
+
:shadowarg
|
1530
|
+
|
1531
|
+
check_duplicate_arg(this_arg, map)
|
1532
|
+
|
1533
|
+
when :procarg0
|
1534
|
+
|
1535
|
+
if this_arg.children[0].is_a?(Symbol)
|
1536
|
+
# s(:procarg0, :a)
|
1537
|
+
check_duplicate_arg(this_arg, map)
|
1538
|
+
else
|
1539
|
+
# s(:procarg0, s(:arg, :a), ...)
|
1540
|
+
check_duplicate_args(this_arg.children, map)
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
when :mlhs
|
1544
|
+
check_duplicate_args(this_arg.children, map)
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
def check_duplicate_arg(this_arg, map={})
|
1550
|
+
this_name, = *this_arg
|
1551
|
+
|
1552
|
+
that_arg = map[this_name]
|
1553
|
+
that_name, = *that_arg
|
1554
|
+
|
1555
|
+
if that_arg.nil?
|
1556
|
+
map[this_name] = this_arg
|
1557
|
+
elsif arg_name_collides?(this_name, that_name)
|
1558
|
+
diagnostic :error, :duplicate_argument, nil,
|
1559
|
+
this_arg.loc.name, [ that_arg.loc.name ]
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
def check_assignment_to_numparam(node)
|
1564
|
+
name = node.children[0].to_s
|
1565
|
+
|
1566
|
+
assigning_to_numparam =
|
1567
|
+
@parser.context.in_dynamic_block? &&
|
1568
|
+
name =~ /\A_([1-9])\z/ &&
|
1569
|
+
@parser.max_numparam_stack.has_numparams?
|
1570
|
+
|
1571
|
+
if assigning_to_numparam
|
1572
|
+
diagnostic :error, :cant_assign_to_numparam, { :name => name }, node.loc.expression
|
1573
|
+
end
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
def arg_name_collides?(this_name, that_name)
|
1577
|
+
case @parser.version
|
1578
|
+
when 18
|
1579
|
+
this_name == that_name
|
1580
|
+
when 19
|
1581
|
+
# Ignore underscore.
|
1582
|
+
this_name != :_ &&
|
1583
|
+
this_name == that_name
|
1584
|
+
else
|
1585
|
+
# Ignore everything beginning with underscore.
|
1586
|
+
this_name && this_name[0] != '_' &&
|
1587
|
+
this_name == that_name
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
def check_lvar_name(name, loc)
|
1592
|
+
if name =~ /\A[[[:lower:]]|_][[[:alnum:]]_]*\z/
|
1593
|
+
# OK
|
1594
|
+
else
|
1595
|
+
diagnostic :error, :lvar_name, { name: name }, loc
|
1596
|
+
end
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
def check_duplicate_pattern_variable(name, loc)
|
1600
|
+
return if name.to_s.start_with?('_')
|
1601
|
+
|
1602
|
+
if @parser.pattern_variables.declared?(name)
|
1603
|
+
diagnostic :error, :duplicate_variable_name, { name: name.to_s }, loc
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
@parser.pattern_variables.declare(name)
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
def check_duplicate_pattern_key(name, loc)
|
1610
|
+
if @parser.pattern_hash_keys.declared?(name)
|
1611
|
+
diagnostic :error, :duplicate_pattern_key, { name: name.to_s }, loc
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
@parser.pattern_hash_keys.declare(name)
|
1615
|
+
end
|
1616
|
+
|
1617
|
+
#
|
1618
|
+
# SOURCE MAPS
|
1619
|
+
#
|
1620
|
+
|
1621
|
+
def n(type, children, source_map)
|
1622
|
+
AST::Node.new(type, children, :location => source_map)
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
def n0(type, source_map)
|
1626
|
+
n(type, [], source_map)
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
def join_exprs(left_expr, right_expr)
|
1630
|
+
left_expr.loc.expression.
|
1631
|
+
join(right_expr.loc.expression)
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
def token_map(token)
|
1635
|
+
Source::Map.new(loc(token))
|
1636
|
+
end
|
1637
|
+
|
1638
|
+
def delimited_string_map(string_t)
|
1639
|
+
str_range = loc(string_t)
|
1640
|
+
|
1641
|
+
begin_l = str_range.with(end_pos: str_range.begin_pos + 1)
|
1642
|
+
|
1643
|
+
end_l = str_range.with(begin_pos: str_range.end_pos - 1)
|
1644
|
+
|
1645
|
+
Source::Map::Collection.new(begin_l, end_l,
|
1646
|
+
loc(string_t))
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
def prefix_string_map(symbol)
|
1650
|
+
str_range = loc(symbol)
|
1651
|
+
|
1652
|
+
begin_l = str_range.with(end_pos: str_range.begin_pos + 1)
|
1653
|
+
|
1654
|
+
Source::Map::Collection.new(begin_l, nil,
|
1655
|
+
loc(symbol))
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
def unquoted_map(token)
|
1659
|
+
Source::Map::Collection.new(nil, nil,
|
1660
|
+
loc(token))
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
def pair_keyword_map(key_t, value_e)
|
1664
|
+
key_range = loc(key_t)
|
1665
|
+
|
1666
|
+
key_l = key_range.adjust(end_pos: -1)
|
1667
|
+
|
1668
|
+
colon_l = key_range.with(begin_pos: key_range.end_pos - 1)
|
1669
|
+
|
1670
|
+
[ # key map
|
1671
|
+
Source::Map::Collection.new(nil, nil,
|
1672
|
+
key_l),
|
1673
|
+
# pair map
|
1674
|
+
Source::Map::Operator.new(colon_l,
|
1675
|
+
key_range.join(value_e.loc.expression)) ]
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
def pair_quoted_map(begin_t, end_t, value_e)
|
1679
|
+
end_l = loc(end_t)
|
1680
|
+
|
1681
|
+
quote_l = end_l.with(begin_pos: end_l.end_pos - 2,
|
1682
|
+
end_pos: end_l.end_pos - 1)
|
1683
|
+
|
1684
|
+
colon_l = end_l.with(begin_pos: end_l.end_pos - 1)
|
1685
|
+
|
1686
|
+
[ # modified end token
|
1687
|
+
[ value(end_t), quote_l ],
|
1688
|
+
# pair map
|
1689
|
+
Source::Map::Operator.new(colon_l,
|
1690
|
+
loc(begin_t).join(value_e.loc.expression)) ]
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
def expr_map(loc)
|
1694
|
+
Source::Map.new(loc)
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
def collection_map(begin_t, parts, end_t)
|
1698
|
+
if begin_t.nil? || end_t.nil?
|
1699
|
+
if parts.any?
|
1700
|
+
expr_l = join_exprs(parts.first, parts.last)
|
1701
|
+
elsif !begin_t.nil?
|
1702
|
+
expr_l = loc(begin_t)
|
1703
|
+
elsif !end_t.nil?
|
1704
|
+
expr_l = loc(end_t)
|
1705
|
+
end
|
1706
|
+
else
|
1707
|
+
expr_l = loc(begin_t).join(loc(end_t))
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t), expr_l)
|
1711
|
+
end
|
1712
|
+
|
1713
|
+
def string_map(begin_t, parts, end_t)
|
1714
|
+
if begin_t && value(begin_t).start_with?('<<')
|
1715
|
+
if parts.any?
|
1716
|
+
expr_l = join_exprs(parts.first, parts.last)
|
1717
|
+
else
|
1718
|
+
expr_l = loc(end_t).begin
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
Source::Map::Heredoc.new(loc(begin_t), expr_l, loc(end_t))
|
1722
|
+
else
|
1723
|
+
collection_map(begin_t, parts, end_t)
|
1724
|
+
end
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
def regexp_map(begin_t, end_t, options_e)
|
1728
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t),
|
1729
|
+
loc(begin_t).join(options_e.loc.expression))
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
def constant_map(scope, colon2_t, name_t)
|
1733
|
+
if scope.nil?
|
1734
|
+
expr_l = loc(name_t)
|
1735
|
+
else
|
1736
|
+
expr_l = scope.loc.expression.join(loc(name_t))
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
Source::Map::Constant.new(loc(colon2_t), loc(name_t), expr_l)
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
def variable_map(name_t)
|
1743
|
+
Source::Map::Variable.new(loc(name_t))
|
1744
|
+
end
|
1745
|
+
|
1746
|
+
def binary_op_map(left_e, op_t, right_e)
|
1747
|
+
Source::Map::Operator.new(loc(op_t), join_exprs(left_e, right_e))
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
def unary_op_map(op_t, arg_e=nil)
|
1751
|
+
if arg_e.nil?
|
1752
|
+
expr_l = loc(op_t)
|
1753
|
+
else
|
1754
|
+
expr_l = loc(op_t).join(arg_e.loc.expression)
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
Source::Map::Operator.new(loc(op_t), expr_l)
|
1758
|
+
end
|
1759
|
+
|
1760
|
+
def range_map(start_e, op_t, end_e)
|
1761
|
+
if start_e && end_e
|
1762
|
+
expr_l = join_exprs(start_e, end_e)
|
1763
|
+
elsif start_e
|
1764
|
+
expr_l = start_e.loc.expression.join(loc(op_t))
|
1765
|
+
elsif end_e
|
1766
|
+
expr_l = loc(op_t).join(end_e.loc.expression)
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
Source::Map::Operator.new(loc(op_t), expr_l)
|
1770
|
+
end
|
1771
|
+
|
1772
|
+
def arg_prefix_map(op_t, name_t=nil)
|
1773
|
+
if name_t.nil?
|
1774
|
+
expr_l = loc(op_t)
|
1775
|
+
else
|
1776
|
+
expr_l = loc(op_t).join(loc(name_t))
|
1777
|
+
end
|
1778
|
+
|
1779
|
+
Source::Map::Variable.new(loc(name_t), expr_l)
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
def kwarg_map(name_t, value_e=nil)
|
1783
|
+
label_range = loc(name_t)
|
1784
|
+
name_range = label_range.adjust(end_pos: -1)
|
1785
|
+
|
1786
|
+
if value_e
|
1787
|
+
expr_l = loc(name_t).join(value_e.loc.expression)
|
1788
|
+
else
|
1789
|
+
expr_l = loc(name_t)
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
Source::Map::Variable.new(name_range, expr_l)
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
def module_definition_map(keyword_t, name_e, operator_t, end_t)
|
1796
|
+
if name_e
|
1797
|
+
name_l = name_e.loc.expression
|
1798
|
+
end
|
1799
|
+
|
1800
|
+
Source::Map::Definition.new(loc(keyword_t),
|
1801
|
+
loc(operator_t), name_l,
|
1802
|
+
loc(end_t))
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
def definition_map(keyword_t, operator_t, name_t, end_t)
|
1806
|
+
Source::Map::Definition.new(loc(keyword_t),
|
1807
|
+
loc(operator_t), loc(name_t),
|
1808
|
+
loc(end_t))
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e)
|
1812
|
+
body_l = body_e.loc.expression
|
1813
|
+
|
1814
|
+
Source::Map::EndlessDefinition.new(loc(keyword_t),
|
1815
|
+
loc(operator_t), loc(name_t),
|
1816
|
+
loc(assignment_t), body_l)
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
def send_map(receiver_e, dot_t, selector_t, begin_t=nil, args=[], end_t=nil)
|
1820
|
+
if receiver_e
|
1821
|
+
begin_l = receiver_e.loc.expression
|
1822
|
+
elsif selector_t
|
1823
|
+
begin_l = loc(selector_t)
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
if end_t
|
1827
|
+
end_l = loc(end_t)
|
1828
|
+
elsif args.any?
|
1829
|
+
end_l = args.last.loc.expression
|
1830
|
+
elsif selector_t
|
1831
|
+
end_l = loc(selector_t)
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
Source::Map::Send.new(loc(dot_t), loc(selector_t),
|
1835
|
+
loc(begin_t), loc(end_t),
|
1836
|
+
begin_l.join(end_l))
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
def var_send_map(variable_e)
|
1840
|
+
Source::Map::Send.new(nil, variable_e.loc.expression,
|
1841
|
+
nil, nil,
|
1842
|
+
variable_e.loc.expression)
|
1843
|
+
end
|
1844
|
+
|
1845
|
+
def send_binary_op_map(lhs_e, selector_t, rhs_e)
|
1846
|
+
Source::Map::Send.new(nil, loc(selector_t),
|
1847
|
+
nil, nil,
|
1848
|
+
join_exprs(lhs_e, rhs_e))
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
def send_unary_op_map(selector_t, arg_e)
|
1852
|
+
if arg_e.nil?
|
1853
|
+
expr_l = loc(selector_t)
|
1854
|
+
else
|
1855
|
+
expr_l = loc(selector_t).join(arg_e.loc.expression)
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
Source::Map::Send.new(nil, loc(selector_t),
|
1859
|
+
nil, nil,
|
1860
|
+
expr_l)
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
def index_map(receiver_e, lbrack_t, rbrack_t)
|
1864
|
+
Source::Map::Index.new(loc(lbrack_t), loc(rbrack_t),
|
1865
|
+
receiver_e.loc.expression.join(loc(rbrack_t)))
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
def send_index_map(receiver_e, lbrack_t, rbrack_t)
|
1869
|
+
Source::Map::Send.new(nil, loc(lbrack_t).join(loc(rbrack_t)),
|
1870
|
+
nil, nil,
|
1871
|
+
receiver_e.loc.expression.join(loc(rbrack_t)))
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
def block_map(receiver_l, begin_t, end_t)
|
1875
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t),
|
1876
|
+
receiver_l.join(loc(end_t)))
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
def keyword_map(keyword_t, begin_t, args, end_t)
|
1880
|
+
args ||= []
|
1881
|
+
|
1882
|
+
if end_t
|
1883
|
+
end_l = loc(end_t)
|
1884
|
+
elsif args.any? && !args.last.nil?
|
1885
|
+
end_l = args.last.loc.expression
|
1886
|
+
elsif args.any? && args.count > 1
|
1887
|
+
end_l = args[-2].loc.expression
|
1888
|
+
else
|
1889
|
+
end_l = loc(keyword_t)
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
Source::Map::Keyword.new(loc(keyword_t), loc(begin_t), loc(end_t),
|
1893
|
+
loc(keyword_t).join(end_l))
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
def keyword_mod_map(pre_e, keyword_t, post_e)
|
1897
|
+
Source::Map::Keyword.new(loc(keyword_t), nil, nil,
|
1898
|
+
join_exprs(pre_e, post_e))
|
1899
|
+
end
|
1900
|
+
|
1901
|
+
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t)
|
1902
|
+
if end_t
|
1903
|
+
end_l = loc(end_t)
|
1904
|
+
elsif else_e && else_e.loc.expression
|
1905
|
+
end_l = else_e.loc.expression
|
1906
|
+
elsif loc(else_t)
|
1907
|
+
end_l = loc(else_t)
|
1908
|
+
elsif body_e && body_e.loc.expression
|
1909
|
+
end_l = body_e.loc.expression
|
1910
|
+
elsif loc(begin_t)
|
1911
|
+
end_l = loc(begin_t)
|
1912
|
+
else
|
1913
|
+
end_l = cond_e.loc.expression
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
Source::Map::Condition.new(loc(keyword_t),
|
1917
|
+
loc(begin_t), loc(else_t), loc(end_t),
|
1918
|
+
loc(keyword_t).join(end_l))
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
def ternary_map(begin_e, question_t, mid_e, colon_t, end_e)
|
1922
|
+
Source::Map::Ternary.new(loc(question_t), loc(colon_t),
|
1923
|
+
join_exprs(begin_e, end_e))
|
1924
|
+
end
|
1925
|
+
|
1926
|
+
def for_map(keyword_t, in_t, begin_t, end_t)
|
1927
|
+
Source::Map::For.new(loc(keyword_t), loc(in_t),
|
1928
|
+
loc(begin_t), loc(end_t),
|
1929
|
+
loc(keyword_t).join(loc(end_t)))
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
def rescue_body_map(keyword_t, exc_list_e, assoc_t,
|
1933
|
+
exc_var_e, then_t,
|
1934
|
+
compstmt_e)
|
1935
|
+
end_l = compstmt_e.loc.expression if compstmt_e
|
1936
|
+
end_l = loc(then_t) if end_l.nil? && then_t
|
1937
|
+
end_l = exc_var_e.loc.expression if end_l.nil? && exc_var_e
|
1938
|
+
end_l = exc_list_e.loc.expression if end_l.nil? && exc_list_e
|
1939
|
+
end_l = loc(keyword_t) if end_l.nil?
|
1940
|
+
|
1941
|
+
Source::Map::RescueBody.new(loc(keyword_t), loc(assoc_t), loc(then_t),
|
1942
|
+
loc(keyword_t).join(end_l))
|
1943
|
+
end
|
1944
|
+
|
1945
|
+
def eh_keyword_map(compstmt_e, keyword_t, body_es,
|
1946
|
+
else_t, else_e)
|
1947
|
+
if compstmt_e.nil?
|
1948
|
+
if keyword_t.nil?
|
1949
|
+
begin_l = body_es.first.loc.expression
|
1950
|
+
else
|
1951
|
+
begin_l = loc(keyword_t)
|
1952
|
+
end
|
1953
|
+
else
|
1954
|
+
begin_l = compstmt_e.loc.expression
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
if else_t
|
1958
|
+
if else_e.nil?
|
1959
|
+
end_l = loc(else_t)
|
1960
|
+
else
|
1961
|
+
end_l = else_e.loc.expression
|
1962
|
+
end
|
1963
|
+
elsif !body_es.last.nil?
|
1964
|
+
end_l = body_es.last.loc.expression
|
1965
|
+
else
|
1966
|
+
end_l = loc(keyword_t)
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
Source::Map::Condition.new(loc(keyword_t), nil, loc(else_t), nil,
|
1970
|
+
begin_l.join(end_l))
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
def guard_map(keyword_t, guard_body_e)
|
1974
|
+
keyword_l = loc(keyword_t)
|
1975
|
+
guard_body_l = guard_body_e.loc.expression
|
1976
|
+
|
1977
|
+
Source::Map::Keyword.new(keyword_l, nil, nil, keyword_l.join(guard_body_l))
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
#
|
1981
|
+
# HELPERS
|
1982
|
+
#
|
1983
|
+
|
1984
|
+
# Extract a static string from e.g. a regular expression,
|
1985
|
+
# honoring the fact that MRI expands interpolations like #{""}
|
1986
|
+
# at parse time.
|
1987
|
+
def static_string(nodes)
|
1988
|
+
nodes.map do |node|
|
1989
|
+
case node.type
|
1990
|
+
when :str
|
1991
|
+
node.children[0]
|
1992
|
+
when :begin
|
1993
|
+
if (string = static_string(node.children))
|
1994
|
+
string
|
1995
|
+
else
|
1996
|
+
return nil
|
1997
|
+
end
|
1998
|
+
else
|
1999
|
+
return nil
|
2000
|
+
end
|
2001
|
+
end.join
|
2002
|
+
end
|
2003
|
+
|
2004
|
+
def static_regexp(parts, options)
|
2005
|
+
source = static_string(parts)
|
2006
|
+
return nil if source.nil?
|
2007
|
+
|
2008
|
+
source = case
|
2009
|
+
when options.children.include?(:u)
|
2010
|
+
source.encode(Encoding::UTF_8)
|
2011
|
+
when options.children.include?(:e)
|
2012
|
+
source.encode(Encoding::EUC_JP)
|
2013
|
+
when options.children.include?(:s)
|
2014
|
+
source.encode(Encoding::WINDOWS_31J)
|
2015
|
+
when options.children.include?(:n)
|
2016
|
+
source.encode(Encoding::BINARY)
|
2017
|
+
else
|
2018
|
+
source
|
2019
|
+
end
|
2020
|
+
|
2021
|
+
Regexp.new(source, (Regexp::EXTENDED if options.children.include?(:x)))
|
2022
|
+
end
|
2023
|
+
|
2024
|
+
def static_regexp_node(node)
|
2025
|
+
if node.type == :regexp
|
2026
|
+
parts, options = node.children[0..-2], node.children[-1]
|
2027
|
+
static_regexp(parts, options)
|
2028
|
+
end
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
def collapse_string_parts?(parts)
|
2032
|
+
parts.one? &&
|
2033
|
+
[:str, :dstr].include?(parts.first.type)
|
2034
|
+
end
|
2035
|
+
|
2036
|
+
def value(token)
|
2037
|
+
token[0]
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
def string_value(token)
|
2041
|
+
unless token[0].valid_encoding?
|
2042
|
+
diagnostic(:error, :invalid_encoding, nil, token[1])
|
2043
|
+
end
|
2044
|
+
|
2045
|
+
token[0]
|
2046
|
+
end
|
2047
|
+
|
2048
|
+
def loc(token)
|
2049
|
+
# Pass through `nil`s and return nil for tNL.
|
2050
|
+
token[1] if token && token[0]
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
def diagnostic(type, reason, arguments, location, highlights=[])
|
2054
|
+
@parser.diagnostics.process(
|
2055
|
+
Diagnostic.new(type, reason, arguments, location, highlights))
|
2056
|
+
|
2057
|
+
if type == :error
|
2058
|
+
@parser.send :yyerror
|
2059
|
+
end
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
def validate_definee(definee)
|
2063
|
+
case definee.type
|
2064
|
+
when :int, :str, :dstr, :sym, :dsym,
|
2065
|
+
:regexp, :array, :hash
|
2066
|
+
|
2067
|
+
diagnostic :error, :singleton_literal, nil, definee.loc.expression
|
2068
|
+
false
|
2069
|
+
else
|
2070
|
+
true
|
2071
|
+
end
|
2072
|
+
end
|
2073
|
+
end
|
2074
|
+
|
2075
|
+
end
|