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
data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/promises.rb
ADDED
@@ -0,0 +1,2167 @@
|
|
1
|
+
require 'concurrent/synchronization'
|
2
|
+
require 'concurrent/atomic/atomic_boolean'
|
3
|
+
require 'concurrent/atomic/atomic_fixnum'
|
4
|
+
require 'concurrent/collection/lock_free_stack'
|
5
|
+
require 'concurrent/errors'
|
6
|
+
require 'concurrent/re_include'
|
7
|
+
|
8
|
+
module Concurrent
|
9
|
+
|
10
|
+
# {include:file:docs-source/promises-main.md}
|
11
|
+
module Promises
|
12
|
+
|
13
|
+
# @!macro promises.param.default_executor
|
14
|
+
# @param [Executor, :io, :fast] default_executor Instance of an executor or a name of the
|
15
|
+
# global executor. Default executor propagates to chained futures unless overridden with
|
16
|
+
# executor parameter or changed with {AbstractEventFuture#with_default_executor}.
|
17
|
+
#
|
18
|
+
# @!macro promises.param.executor
|
19
|
+
# @param [Executor, :io, :fast] executor Instance of an executor or a name of the
|
20
|
+
# global executor. The task is executed on it, default executor remains unchanged.
|
21
|
+
#
|
22
|
+
# @!macro promises.param.args
|
23
|
+
# @param [Object] args arguments which are passed to the task when it's executed.
|
24
|
+
# (It might be prepended with other arguments, see the @yeild section).
|
25
|
+
#
|
26
|
+
# @!macro promises.shortcut.on
|
27
|
+
# Shortcut of {#$0_on} with default `:io` executor supplied.
|
28
|
+
# @see #$0_on
|
29
|
+
#
|
30
|
+
# @!macro promises.shortcut.using
|
31
|
+
# Shortcut of {#$0_using} with default `:io` executor supplied.
|
32
|
+
# @see #$0_using
|
33
|
+
#
|
34
|
+
# @!macro promise.param.task-future
|
35
|
+
# @yieldreturn will become result of the returned Future.
|
36
|
+
# Its returned value becomes {Future#value} fulfilling it,
|
37
|
+
# raised exception becomes {Future#reason} rejecting it.
|
38
|
+
#
|
39
|
+
# @!macro promise.param.callback
|
40
|
+
# @yieldreturn is forgotten.
|
41
|
+
|
42
|
+
# Container of all {Future}, {Event} factory methods. They are never constructed directly with
|
43
|
+
# new.
|
44
|
+
module FactoryMethods
|
45
|
+
extend ReInclude
|
46
|
+
extend self
|
47
|
+
|
48
|
+
module Configuration
|
49
|
+
# @return [Executor, :io, :fast] the executor which is used when none is supplied
|
50
|
+
# to a factory method. The method can be overridden in the receivers of
|
51
|
+
# `include FactoryMethod`
|
52
|
+
def default_executor
|
53
|
+
:io
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
include Configuration
|
58
|
+
|
59
|
+
# @!macro promises.shortcut.on
|
60
|
+
# @return [ResolvableEvent]
|
61
|
+
def resolvable_event
|
62
|
+
resolvable_event_on default_executor
|
63
|
+
end
|
64
|
+
|
65
|
+
# Created resolvable event, user is responsible for resolving the event once by
|
66
|
+
# {Promises::ResolvableEvent#resolve}.
|
67
|
+
#
|
68
|
+
# @!macro promises.param.default_executor
|
69
|
+
# @return [ResolvableEvent]
|
70
|
+
def resolvable_event_on(default_executor = self.default_executor)
|
71
|
+
ResolvableEventPromise.new(default_executor).future
|
72
|
+
end
|
73
|
+
|
74
|
+
# @!macro promises.shortcut.on
|
75
|
+
# @return [ResolvableFuture]
|
76
|
+
def resolvable_future
|
77
|
+
resolvable_future_on default_executor
|
78
|
+
end
|
79
|
+
|
80
|
+
# Creates resolvable future, user is responsible for resolving the future once by
|
81
|
+
# {Promises::ResolvableFuture#resolve}, {Promises::ResolvableFuture#fulfill},
|
82
|
+
# or {Promises::ResolvableFuture#reject}
|
83
|
+
#
|
84
|
+
# @!macro promises.param.default_executor
|
85
|
+
# @return [ResolvableFuture]
|
86
|
+
def resolvable_future_on(default_executor = self.default_executor)
|
87
|
+
ResolvableFuturePromise.new(default_executor).future
|
88
|
+
end
|
89
|
+
|
90
|
+
# @!macro promises.shortcut.on
|
91
|
+
# @return [Future]
|
92
|
+
def future(*args, &task)
|
93
|
+
future_on(default_executor, *args, &task)
|
94
|
+
end
|
95
|
+
|
96
|
+
# Constructs new Future which will be resolved after block is evaluated on default executor.
|
97
|
+
# Evaluation begins immediately.
|
98
|
+
#
|
99
|
+
# @!macro promises.param.default_executor
|
100
|
+
# @!macro promises.param.args
|
101
|
+
# @yield [*args] to the task.
|
102
|
+
# @!macro promise.param.task-future
|
103
|
+
# @return [Future]
|
104
|
+
def future_on(default_executor, *args, &task)
|
105
|
+
ImmediateEventPromise.new(default_executor).future.then(*args, &task)
|
106
|
+
end
|
107
|
+
|
108
|
+
# Creates resolved future with will be either fulfilled with the given value or rejection with
|
109
|
+
# the given reason.
|
110
|
+
#
|
111
|
+
# @param [true, false] fulfilled
|
112
|
+
# @param [Object] value
|
113
|
+
# @param [Object] reason
|
114
|
+
# @!macro promises.param.default_executor
|
115
|
+
# @return [Future]
|
116
|
+
def resolved_future(fulfilled, value, reason, default_executor = self.default_executor)
|
117
|
+
ImmediateFuturePromise.new(default_executor, fulfilled, value, reason).future
|
118
|
+
end
|
119
|
+
|
120
|
+
# Creates resolved future with will be fulfilled with the given value.
|
121
|
+
#
|
122
|
+
# @!macro promises.param.default_executor
|
123
|
+
# @param [Object] value
|
124
|
+
# @return [Future]
|
125
|
+
def fulfilled_future(value, default_executor = self.default_executor)
|
126
|
+
resolved_future true, value, nil, default_executor
|
127
|
+
end
|
128
|
+
|
129
|
+
# Creates resolved future with will be rejected with the given reason.
|
130
|
+
#
|
131
|
+
# @!macro promises.param.default_executor
|
132
|
+
# @param [Object] reason
|
133
|
+
# @return [Future]
|
134
|
+
def rejected_future(reason, default_executor = self.default_executor)
|
135
|
+
resolved_future false, nil, reason, default_executor
|
136
|
+
end
|
137
|
+
|
138
|
+
# Creates resolved event.
|
139
|
+
#
|
140
|
+
# @!macro promises.param.default_executor
|
141
|
+
# @return [Event]
|
142
|
+
def resolved_event(default_executor = self.default_executor)
|
143
|
+
ImmediateEventPromise.new(default_executor).event
|
144
|
+
end
|
145
|
+
|
146
|
+
# General constructor. Behaves differently based on the argument's type. It's provided for convenience
|
147
|
+
# but it's better to be explicit.
|
148
|
+
#
|
149
|
+
# @see rejected_future, resolved_event, fulfilled_future
|
150
|
+
# @!macro promises.param.default_executor
|
151
|
+
# @return [Event, Future]
|
152
|
+
#
|
153
|
+
# @overload make_future(nil, default_executor = self.default_executor)
|
154
|
+
# @param [nil] nil
|
155
|
+
# @return [Event] resolved event.
|
156
|
+
#
|
157
|
+
# @overload make_future(a_future, default_executor = self.default_executor)
|
158
|
+
# @param [Future] a_future
|
159
|
+
# @return [Future] a future which will be resolved when a_future is.
|
160
|
+
#
|
161
|
+
# @overload make_future(an_event, default_executor = self.default_executor)
|
162
|
+
# @param [Event] an_event
|
163
|
+
# @return [Event] an event which will be resolved when an_event is.
|
164
|
+
#
|
165
|
+
# @overload make_future(exception, default_executor = self.default_executor)
|
166
|
+
# @param [Exception] exception
|
167
|
+
# @return [Future] a rejected future with the exception as its reason.
|
168
|
+
#
|
169
|
+
# @overload make_future(value, default_executor = self.default_executor)
|
170
|
+
# @param [Object] value when none of the above overloads fits
|
171
|
+
# @return [Future] a fulfilled future with the value.
|
172
|
+
def make_future(argument = nil, default_executor = self.default_executor)
|
173
|
+
case argument
|
174
|
+
when AbstractEventFuture
|
175
|
+
# returning wrapper would change nothing
|
176
|
+
argument
|
177
|
+
when Exception
|
178
|
+
rejected_future argument, default_executor
|
179
|
+
when nil
|
180
|
+
resolved_event default_executor
|
181
|
+
else
|
182
|
+
fulfilled_future argument, default_executor
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# @!macro promises.shortcut.on
|
187
|
+
# @return [Future, Event]
|
188
|
+
def delay(*args, &task)
|
189
|
+
delay_on default_executor, *args, &task
|
190
|
+
end
|
191
|
+
|
192
|
+
# Creates new event or future which is resolved only after it is touched,
|
193
|
+
# see {Concurrent::AbstractEventFuture#touch}.
|
194
|
+
#
|
195
|
+
# @!macro promises.param.default_executor
|
196
|
+
# @overload delay_on(default_executor, *args, &task)
|
197
|
+
# If task is provided it returns a {Future} representing the result of the task.
|
198
|
+
# @!macro promises.param.args
|
199
|
+
# @yield [*args] to the task.
|
200
|
+
# @!macro promise.param.task-future
|
201
|
+
# @return [Future]
|
202
|
+
# @overload delay_on(default_executor)
|
203
|
+
# If no task is provided, it returns an {Event}
|
204
|
+
# @return [Event]
|
205
|
+
def delay_on(default_executor, *args, &task)
|
206
|
+
event = DelayPromise.new(default_executor).event
|
207
|
+
task ? event.chain(*args, &task) : event
|
208
|
+
end
|
209
|
+
|
210
|
+
# @!macro promises.shortcut.on
|
211
|
+
# @return [Future, Event]
|
212
|
+
def schedule(intended_time, *args, &task)
|
213
|
+
schedule_on default_executor, intended_time, *args, &task
|
214
|
+
end
|
215
|
+
|
216
|
+
# Creates new event or future which is resolved in intended_time.
|
217
|
+
#
|
218
|
+
# @!macro promises.param.default_executor
|
219
|
+
# @!macro promises.param.intended_time
|
220
|
+
# @param [Numeric, Time] intended_time `Numeric` means to run in `intended_time` seconds.
|
221
|
+
# `Time` means to run on `intended_time`.
|
222
|
+
# @overload schedule_on(default_executor, intended_time, *args, &task)
|
223
|
+
# If task is provided it returns a {Future} representing the result of the task.
|
224
|
+
# @!macro promises.param.args
|
225
|
+
# @yield [*args] to the task.
|
226
|
+
# @!macro promise.param.task-future
|
227
|
+
# @return [Future]
|
228
|
+
# @overload schedule_on(default_executor, intended_time)
|
229
|
+
# If no task is provided, it returns an {Event}
|
230
|
+
# @return [Event]
|
231
|
+
def schedule_on(default_executor, intended_time, *args, &task)
|
232
|
+
event = ScheduledPromise.new(default_executor, intended_time).event
|
233
|
+
task ? event.chain(*args, &task) : event
|
234
|
+
end
|
235
|
+
|
236
|
+
# @!macro promises.shortcut.on
|
237
|
+
# @return [Future]
|
238
|
+
def zip_futures(*futures_and_or_events)
|
239
|
+
zip_futures_on default_executor, *futures_and_or_events
|
240
|
+
end
|
241
|
+
|
242
|
+
# Creates new future which is resolved after all futures_and_or_events are resolved.
|
243
|
+
# Its value is array of zipped future values. Its reason is array of reasons for rejection.
|
244
|
+
# If there is an error it rejects.
|
245
|
+
# @!macro promises.event-conversion
|
246
|
+
# If event is supplied, which does not have value and can be only resolved, it's
|
247
|
+
# represented as `:fulfilled` with value `nil`.
|
248
|
+
#
|
249
|
+
# @!macro promises.param.default_executor
|
250
|
+
# @param [AbstractEventFuture] futures_and_or_events
|
251
|
+
# @return [Future]
|
252
|
+
def zip_futures_on(default_executor, *futures_and_or_events)
|
253
|
+
ZipFuturesPromise.new_blocked_by(futures_and_or_events, default_executor).future
|
254
|
+
end
|
255
|
+
|
256
|
+
alias_method :zip, :zip_futures
|
257
|
+
|
258
|
+
# @!macro promises.shortcut.on
|
259
|
+
# @return [Event]
|
260
|
+
def zip_events(*futures_and_or_events)
|
261
|
+
zip_events_on default_executor, *futures_and_or_events
|
262
|
+
end
|
263
|
+
|
264
|
+
# Creates new event which is resolved after all futures_and_or_events are resolved.
|
265
|
+
# (Future is resolved when fulfilled or rejected.)
|
266
|
+
#
|
267
|
+
# @!macro promises.param.default_executor
|
268
|
+
# @param [AbstractEventFuture] futures_and_or_events
|
269
|
+
# @return [Event]
|
270
|
+
def zip_events_on(default_executor, *futures_and_or_events)
|
271
|
+
ZipEventsPromise.new_blocked_by(futures_and_or_events, default_executor).event
|
272
|
+
end
|
273
|
+
|
274
|
+
# @!macro promises.shortcut.on
|
275
|
+
# @return [Future]
|
276
|
+
def any_resolved_future(*futures_and_or_events)
|
277
|
+
any_resolved_future_on default_executor, *futures_and_or_events
|
278
|
+
end
|
279
|
+
|
280
|
+
alias_method :any, :any_resolved_future
|
281
|
+
|
282
|
+
# Creates new future which is resolved after first futures_and_or_events is resolved.
|
283
|
+
# Its result equals result of the first resolved future.
|
284
|
+
# @!macro promises.any-touch
|
285
|
+
# If resolved it does not propagate {Concurrent::AbstractEventFuture#touch}, leaving delayed
|
286
|
+
# futures un-executed if they are not required any more.
|
287
|
+
# @!macro promises.event-conversion
|
288
|
+
#
|
289
|
+
# @!macro promises.param.default_executor
|
290
|
+
# @param [AbstractEventFuture] futures_and_or_events
|
291
|
+
# @return [Future]
|
292
|
+
def any_resolved_future_on(default_executor, *futures_and_or_events)
|
293
|
+
AnyResolvedFuturePromise.new_blocked_by(futures_and_or_events, default_executor).future
|
294
|
+
end
|
295
|
+
|
296
|
+
# @!macro promises.shortcut.on
|
297
|
+
# @return [Future]
|
298
|
+
def any_fulfilled_future(*futures_and_or_events)
|
299
|
+
any_fulfilled_future_on default_executor, *futures_and_or_events
|
300
|
+
end
|
301
|
+
|
302
|
+
# Creates new future which is resolved after first of futures_and_or_events is fulfilled.
|
303
|
+
# Its result equals result of the first resolved future or if all futures_and_or_events reject,
|
304
|
+
# it has reason of the last resolved future.
|
305
|
+
# @!macro promises.any-touch
|
306
|
+
# @!macro promises.event-conversion
|
307
|
+
#
|
308
|
+
# @!macro promises.param.default_executor
|
309
|
+
# @param [AbstractEventFuture] futures_and_or_events
|
310
|
+
# @return [Future]
|
311
|
+
def any_fulfilled_future_on(default_executor, *futures_and_or_events)
|
312
|
+
AnyFulfilledFuturePromise.new_blocked_by(futures_and_or_events, default_executor).future
|
313
|
+
end
|
314
|
+
|
315
|
+
# @!macro promises.shortcut.on
|
316
|
+
# @return [Future]
|
317
|
+
def any_event(*futures_and_or_events)
|
318
|
+
any_event_on default_executor, *futures_and_or_events
|
319
|
+
end
|
320
|
+
|
321
|
+
# Creates new event which becomes resolved after first of the futures_and_or_events resolves.
|
322
|
+
# @!macro promises.any-touch
|
323
|
+
#
|
324
|
+
# @!macro promises.param.default_executor
|
325
|
+
# @param [AbstractEventFuture] futures_and_or_events
|
326
|
+
# @return [Event]
|
327
|
+
def any_event_on(default_executor, *futures_and_or_events)
|
328
|
+
AnyResolvedEventPromise.new_blocked_by(futures_and_or_events, default_executor).event
|
329
|
+
end
|
330
|
+
|
331
|
+
# TODO consider adding first(count, *futures)
|
332
|
+
# TODO consider adding zip_by(slice, *futures) processing futures in slices
|
333
|
+
# TODO or rather a generic aggregator taking a function
|
334
|
+
end
|
335
|
+
|
336
|
+
module InternalStates
|
337
|
+
# @!visibility private
|
338
|
+
class State
|
339
|
+
def resolved?
|
340
|
+
raise NotImplementedError
|
341
|
+
end
|
342
|
+
|
343
|
+
def to_sym
|
344
|
+
raise NotImplementedError
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
# @!visibility private
|
349
|
+
class Pending < State
|
350
|
+
def resolved?
|
351
|
+
false
|
352
|
+
end
|
353
|
+
|
354
|
+
def to_sym
|
355
|
+
:pending
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
# @!visibility private
|
360
|
+
class Reserved < Pending
|
361
|
+
end
|
362
|
+
|
363
|
+
# @!visibility private
|
364
|
+
class ResolvedWithResult < State
|
365
|
+
def resolved?
|
366
|
+
true
|
367
|
+
end
|
368
|
+
|
369
|
+
def to_sym
|
370
|
+
:resolved
|
371
|
+
end
|
372
|
+
|
373
|
+
def result
|
374
|
+
[fulfilled?, value, reason]
|
375
|
+
end
|
376
|
+
|
377
|
+
def fulfilled?
|
378
|
+
raise NotImplementedError
|
379
|
+
end
|
380
|
+
|
381
|
+
def value
|
382
|
+
raise NotImplementedError
|
383
|
+
end
|
384
|
+
|
385
|
+
def reason
|
386
|
+
raise NotImplementedError
|
387
|
+
end
|
388
|
+
|
389
|
+
def apply
|
390
|
+
raise NotImplementedError
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
# @!visibility private
|
395
|
+
class Fulfilled < ResolvedWithResult
|
396
|
+
|
397
|
+
def initialize(value)
|
398
|
+
@Value = value
|
399
|
+
end
|
400
|
+
|
401
|
+
def fulfilled?
|
402
|
+
true
|
403
|
+
end
|
404
|
+
|
405
|
+
def apply(args, block)
|
406
|
+
block.call value, *args
|
407
|
+
end
|
408
|
+
|
409
|
+
def value
|
410
|
+
@Value
|
411
|
+
end
|
412
|
+
|
413
|
+
def reason
|
414
|
+
nil
|
415
|
+
end
|
416
|
+
|
417
|
+
def to_sym
|
418
|
+
:fulfilled
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
# @!visibility private
|
423
|
+
class FulfilledArray < Fulfilled
|
424
|
+
def apply(args, block)
|
425
|
+
block.call(*value, *args)
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
# @!visibility private
|
430
|
+
class Rejected < ResolvedWithResult
|
431
|
+
def initialize(reason)
|
432
|
+
@Reason = reason
|
433
|
+
end
|
434
|
+
|
435
|
+
def fulfilled?
|
436
|
+
false
|
437
|
+
end
|
438
|
+
|
439
|
+
def value
|
440
|
+
nil
|
441
|
+
end
|
442
|
+
|
443
|
+
def reason
|
444
|
+
@Reason
|
445
|
+
end
|
446
|
+
|
447
|
+
def to_sym
|
448
|
+
:rejected
|
449
|
+
end
|
450
|
+
|
451
|
+
def apply(args, block)
|
452
|
+
block.call reason, *args
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
# @!visibility private
|
457
|
+
class PartiallyRejected < ResolvedWithResult
|
458
|
+
def initialize(value, reason)
|
459
|
+
super()
|
460
|
+
@Value = value
|
461
|
+
@Reason = reason
|
462
|
+
end
|
463
|
+
|
464
|
+
def fulfilled?
|
465
|
+
false
|
466
|
+
end
|
467
|
+
|
468
|
+
def to_sym
|
469
|
+
:rejected
|
470
|
+
end
|
471
|
+
|
472
|
+
def value
|
473
|
+
@Value
|
474
|
+
end
|
475
|
+
|
476
|
+
def reason
|
477
|
+
@Reason
|
478
|
+
end
|
479
|
+
|
480
|
+
def apply(args, block)
|
481
|
+
block.call(*reason, *args)
|
482
|
+
end
|
483
|
+
end
|
484
|
+
|
485
|
+
# @!visibility private
|
486
|
+
PENDING = Pending.new
|
487
|
+
# @!visibility private
|
488
|
+
RESERVED = Reserved.new
|
489
|
+
# @!visibility private
|
490
|
+
RESOLVED = Fulfilled.new(nil)
|
491
|
+
|
492
|
+
def RESOLVED.to_sym
|
493
|
+
:resolved
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
private_constant :InternalStates
|
498
|
+
|
499
|
+
# @!macro promises.shortcut.event-future
|
500
|
+
# @see Event#$0
|
501
|
+
# @see Future#$0
|
502
|
+
|
503
|
+
# @!macro promises.param.timeout
|
504
|
+
# @param [Numeric] timeout the maximum time in second to wait.
|
505
|
+
|
506
|
+
# @!macro promises.warn.blocks
|
507
|
+
# @note This function potentially blocks current thread until the Future is resolved.
|
508
|
+
# Be careful it can deadlock. Try to chain instead.
|
509
|
+
|
510
|
+
# Common ancestor of {Event} and {Future} classes, many shared methods are defined here.
|
511
|
+
class AbstractEventFuture < Synchronization::Object
|
512
|
+
safe_initialization!
|
513
|
+
attr_atomic(:internal_state)
|
514
|
+
private :internal_state=, :swap_internal_state, :compare_and_set_internal_state, :update_internal_state
|
515
|
+
# @!method internal_state
|
516
|
+
# @!visibility private
|
517
|
+
|
518
|
+
include InternalStates
|
519
|
+
|
520
|
+
def initialize(promise, default_executor)
|
521
|
+
super()
|
522
|
+
@Lock = Mutex.new
|
523
|
+
@Condition = ConditionVariable.new
|
524
|
+
@Promise = promise
|
525
|
+
@DefaultExecutor = default_executor
|
526
|
+
@Callbacks = LockFreeStack.new
|
527
|
+
@Waiters = AtomicFixnum.new 0
|
528
|
+
self.internal_state = PENDING
|
529
|
+
end
|
530
|
+
|
531
|
+
private :initialize
|
532
|
+
|
533
|
+
# Returns its state.
|
534
|
+
# @return [Symbol]
|
535
|
+
#
|
536
|
+
# @overload an_event.state
|
537
|
+
# @return [:pending, :resolved]
|
538
|
+
# @overload a_future.state
|
539
|
+
# Both :fulfilled, :rejected implies :resolved.
|
540
|
+
# @return [:pending, :fulfilled, :rejected]
|
541
|
+
def state
|
542
|
+
internal_state.to_sym
|
543
|
+
end
|
544
|
+
|
545
|
+
# Is it in pending state?
|
546
|
+
# @return [Boolean]
|
547
|
+
def pending?
|
548
|
+
!internal_state.resolved?
|
549
|
+
end
|
550
|
+
|
551
|
+
# Is it in resolved state?
|
552
|
+
# @return [Boolean]
|
553
|
+
def resolved?
|
554
|
+
internal_state.resolved?
|
555
|
+
end
|
556
|
+
|
557
|
+
# Propagates touch. Requests all the delayed futures, which it depends on, to be
|
558
|
+
# executed. This method is called by any other method requiring resolved state, like {#wait}.
|
559
|
+
# @return [self]
|
560
|
+
def touch
|
561
|
+
@Promise.touch
|
562
|
+
self
|
563
|
+
end
|
564
|
+
|
565
|
+
# @!macro promises.touches
|
566
|
+
# Calls {Concurrent::AbstractEventFuture#touch}.
|
567
|
+
|
568
|
+
# @!macro promises.method.wait
|
569
|
+
# Wait (block the Thread) until receiver is {#resolved?}.
|
570
|
+
# @!macro promises.touches
|
571
|
+
#
|
572
|
+
# @!macro promises.warn.blocks
|
573
|
+
# @!macro promises.param.timeout
|
574
|
+
# @return [self, true, false] self implies timeout was not used, true implies timeout was used
|
575
|
+
# and it was resolved, false implies it was not resolved within timeout.
|
576
|
+
def wait(timeout = nil)
|
577
|
+
result = wait_until_resolved(timeout)
|
578
|
+
timeout ? result : self
|
579
|
+
end
|
580
|
+
|
581
|
+
# Returns default executor.
|
582
|
+
# @return [Executor] default executor
|
583
|
+
# @see #with_default_executor
|
584
|
+
# @see FactoryMethods#future_on
|
585
|
+
# @see FactoryMethods#resolvable_future
|
586
|
+
# @see FactoryMethods#any_fulfilled_future_on
|
587
|
+
# @see similar
|
588
|
+
def default_executor
|
589
|
+
@DefaultExecutor
|
590
|
+
end
|
591
|
+
|
592
|
+
# @!macro promises.shortcut.on
|
593
|
+
# @return [Future]
|
594
|
+
def chain(*args, &task)
|
595
|
+
chain_on @DefaultExecutor, *args, &task
|
596
|
+
end
|
597
|
+
|
598
|
+
# Chains the task to be executed asynchronously on executor after it is resolved.
|
599
|
+
#
|
600
|
+
# @!macro promises.param.executor
|
601
|
+
# @!macro promises.param.args
|
602
|
+
# @return [Future]
|
603
|
+
# @!macro promise.param.task-future
|
604
|
+
#
|
605
|
+
# @overload an_event.chain_on(executor, *args, &task)
|
606
|
+
# @yield [*args] to the task.
|
607
|
+
# @overload a_future.chain_on(executor, *args, &task)
|
608
|
+
# @yield [fulfilled, value, reason, *args] to the task.
|
609
|
+
# @yieldparam [true, false] fulfilled
|
610
|
+
# @yieldparam [Object] value
|
611
|
+
# @yieldparam [Object] reason
|
612
|
+
def chain_on(executor, *args, &task)
|
613
|
+
ChainPromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
|
614
|
+
end
|
615
|
+
|
616
|
+
# @return [String] Short string representation.
|
617
|
+
def to_s
|
618
|
+
format '%s %s>', super[0..-2], state
|
619
|
+
end
|
620
|
+
|
621
|
+
alias_method :inspect, :to_s
|
622
|
+
|
623
|
+
# Resolves the resolvable when receiver is resolved.
|
624
|
+
#
|
625
|
+
# @param [Resolvable] resolvable
|
626
|
+
# @return [self]
|
627
|
+
def chain_resolvable(resolvable)
|
628
|
+
on_resolution! { resolvable.resolve_with internal_state }
|
629
|
+
end
|
630
|
+
|
631
|
+
alias_method :tangle, :chain_resolvable
|
632
|
+
|
633
|
+
# @!macro promises.shortcut.using
|
634
|
+
# @return [self]
|
635
|
+
def on_resolution(*args, &callback)
|
636
|
+
on_resolution_using @DefaultExecutor, *args, &callback
|
637
|
+
end
|
638
|
+
|
639
|
+
# Stores the callback to be executed synchronously on resolving thread after it is
|
640
|
+
# resolved.
|
641
|
+
#
|
642
|
+
# @!macro promises.param.args
|
643
|
+
# @!macro promise.param.callback
|
644
|
+
# @return [self]
|
645
|
+
#
|
646
|
+
# @overload an_event.on_resolution!(*args, &callback)
|
647
|
+
# @yield [*args] to the callback.
|
648
|
+
# @overload a_future.on_resolution!(*args, &callback)
|
649
|
+
# @yield [fulfilled, value, reason, *args] to the callback.
|
650
|
+
# @yieldparam [true, false] fulfilled
|
651
|
+
# @yieldparam [Object] value
|
652
|
+
# @yieldparam [Object] reason
|
653
|
+
def on_resolution!(*args, &callback)
|
654
|
+
add_callback :callback_on_resolution, args, callback
|
655
|
+
end
|
656
|
+
|
657
|
+
# Stores the callback to be executed asynchronously on executor after it is resolved.
|
658
|
+
#
|
659
|
+
# @!macro promises.param.executor
|
660
|
+
# @!macro promises.param.args
|
661
|
+
# @!macro promise.param.callback
|
662
|
+
# @return [self]
|
663
|
+
#
|
664
|
+
# @overload an_event.on_resolution_using(executor, *args, &callback)
|
665
|
+
# @yield [*args] to the callback.
|
666
|
+
# @overload a_future.on_resolution_using(executor, *args, &callback)
|
667
|
+
# @yield [fulfilled, value, reason, *args] to the callback.
|
668
|
+
# @yieldparam [true, false] fulfilled
|
669
|
+
# @yieldparam [Object] value
|
670
|
+
# @yieldparam [Object] reason
|
671
|
+
def on_resolution_using(executor, *args, &callback)
|
672
|
+
add_callback :async_callback_on_resolution, executor, args, callback
|
673
|
+
end
|
674
|
+
|
675
|
+
# @!macro promises.method.with_default_executor
|
676
|
+
# Crates new object with same class with the executor set as its new default executor.
|
677
|
+
# Any futures depending on it will use the new default executor.
|
678
|
+
# @!macro promises.shortcut.event-future
|
679
|
+
# @abstract
|
680
|
+
# @return [AbstractEventFuture]
|
681
|
+
def with_default_executor(executor)
|
682
|
+
raise NotImplementedError
|
683
|
+
end
|
684
|
+
|
685
|
+
# @!visibility private
|
686
|
+
def resolve_with(state, raise_on_reassign = true, reserved = false)
|
687
|
+
if compare_and_set_internal_state(reserved ? RESERVED : PENDING, state)
|
688
|
+
# go to synchronized block only if there were waiting threads
|
689
|
+
@Lock.synchronize { @Condition.broadcast } unless @Waiters.value == 0
|
690
|
+
call_callbacks state
|
691
|
+
else
|
692
|
+
return rejected_resolution(raise_on_reassign, state)
|
693
|
+
end
|
694
|
+
self
|
695
|
+
end
|
696
|
+
|
697
|
+
# For inspection.
|
698
|
+
# @!visibility private
|
699
|
+
# @return [Array<AbstractPromise>]
|
700
|
+
def blocks
|
701
|
+
@Callbacks.each_with_object([]) do |(method, args), promises|
|
702
|
+
promises.push(args[0]) if method == :callback_notify_blocked
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
# For inspection.
|
707
|
+
# @!visibility private
|
708
|
+
def callbacks
|
709
|
+
@Callbacks.each.to_a
|
710
|
+
end
|
711
|
+
|
712
|
+
# For inspection.
|
713
|
+
# @!visibility private
|
714
|
+
def promise
|
715
|
+
@Promise
|
716
|
+
end
|
717
|
+
|
718
|
+
# For inspection.
|
719
|
+
# @!visibility private
|
720
|
+
def touched?
|
721
|
+
promise.touched?
|
722
|
+
end
|
723
|
+
|
724
|
+
# For inspection.
|
725
|
+
# @!visibility private
|
726
|
+
def waiting_threads
|
727
|
+
@Waiters.each.to_a
|
728
|
+
end
|
729
|
+
|
730
|
+
# @!visibility private
|
731
|
+
def add_callback_notify_blocked(promise, index)
|
732
|
+
add_callback :callback_notify_blocked, promise, index
|
733
|
+
end
|
734
|
+
|
735
|
+
# @!visibility private
|
736
|
+
def add_callback_clear_delayed_node(node)
|
737
|
+
add_callback(:callback_clear_delayed_node, node)
|
738
|
+
end
|
739
|
+
|
740
|
+
# @!visibility private
|
741
|
+
def with_hidden_resolvable
|
742
|
+
# TODO (pitr-ch 10-Dec-2018): documentation, better name if in edge
|
743
|
+
self
|
744
|
+
end
|
745
|
+
|
746
|
+
private
|
747
|
+
|
748
|
+
def add_callback(method, *args)
|
749
|
+
state = internal_state
|
750
|
+
if state.resolved?
|
751
|
+
call_callback method, state, args
|
752
|
+
else
|
753
|
+
@Callbacks.push [method, args]
|
754
|
+
state = internal_state
|
755
|
+
# take back if it was resolved in the meanwhile
|
756
|
+
call_callbacks state if state.resolved?
|
757
|
+
end
|
758
|
+
self
|
759
|
+
end
|
760
|
+
|
761
|
+
def callback_clear_delayed_node(state, node)
|
762
|
+
node.value = nil
|
763
|
+
end
|
764
|
+
|
765
|
+
# @return [Boolean]
|
766
|
+
def wait_until_resolved(timeout)
|
767
|
+
return true if resolved?
|
768
|
+
|
769
|
+
touch
|
770
|
+
|
771
|
+
@Lock.synchronize do
|
772
|
+
@Waiters.increment
|
773
|
+
begin
|
774
|
+
unless resolved?
|
775
|
+
@Condition.wait @Lock, timeout
|
776
|
+
end
|
777
|
+
ensure
|
778
|
+
# JRuby may raise ConcurrencyError
|
779
|
+
@Waiters.decrement
|
780
|
+
end
|
781
|
+
end
|
782
|
+
resolved?
|
783
|
+
end
|
784
|
+
|
785
|
+
def call_callback(method, state, args)
|
786
|
+
self.send method, state, *args
|
787
|
+
end
|
788
|
+
|
789
|
+
def call_callbacks(state)
|
790
|
+
method, args = @Callbacks.pop
|
791
|
+
while method
|
792
|
+
call_callback method, state, args
|
793
|
+
method, args = @Callbacks.pop
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
797
|
+
def with_async(executor, *args, &block)
|
798
|
+
Concurrent.executor(executor).post(*args, &block)
|
799
|
+
end
|
800
|
+
|
801
|
+
def async_callback_on_resolution(state, executor, args, callback)
|
802
|
+
with_async(executor, state, args, callback) do |st, ar, cb|
|
803
|
+
callback_on_resolution st, ar, cb
|
804
|
+
end
|
805
|
+
end
|
806
|
+
|
807
|
+
def callback_notify_blocked(state, promise, index)
|
808
|
+
promise.on_blocker_resolution self, index
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
812
|
+
# Represents an event which will happen in future (will be resolved). The event is either
|
813
|
+
# pending or resolved. It should be always resolved. Use {Future} to communicate rejections and
|
814
|
+
# cancellation.
|
815
|
+
class Event < AbstractEventFuture
|
816
|
+
|
817
|
+
alias_method :then, :chain
|
818
|
+
|
819
|
+
|
820
|
+
# @!macro promises.method.zip
|
821
|
+
# Creates a new event or a future which will be resolved when receiver and other are.
|
822
|
+
# Returns an event if receiver and other are events, otherwise returns a future.
|
823
|
+
# If just one of the parties is Future then the result
|
824
|
+
# of the returned future is equal to the result of the supplied future. If both are futures
|
825
|
+
# then the result is as described in {FactoryMethods#zip_futures_on}.
|
826
|
+
#
|
827
|
+
# @return [Future, Event]
|
828
|
+
def zip(other)
|
829
|
+
if other.is_a?(Future)
|
830
|
+
ZipFutureEventPromise.new_blocked_by2(other, self, @DefaultExecutor).future
|
831
|
+
else
|
832
|
+
ZipEventEventPromise.new_blocked_by2(self, other, @DefaultExecutor).event
|
833
|
+
end
|
834
|
+
end
|
835
|
+
|
836
|
+
alias_method :&, :zip
|
837
|
+
|
838
|
+
# Creates a new event which will be resolved when the first of receiver, `event_or_future`
|
839
|
+
# resolves.
|
840
|
+
#
|
841
|
+
# @return [Event]
|
842
|
+
def any(event_or_future)
|
843
|
+
AnyResolvedEventPromise.new_blocked_by2(self, event_or_future, @DefaultExecutor).event
|
844
|
+
end
|
845
|
+
|
846
|
+
alias_method :|, :any
|
847
|
+
|
848
|
+
# Creates new event dependent on receiver which will not evaluate until touched, see {#touch}.
|
849
|
+
# In other words, it inserts delay into the chain of Futures making rest of it lazy evaluated.
|
850
|
+
#
|
851
|
+
# @return [Event]
|
852
|
+
def delay
|
853
|
+
event = DelayPromise.new(@DefaultExecutor).event
|
854
|
+
ZipEventEventPromise.new_blocked_by2(self, event, @DefaultExecutor).event
|
855
|
+
end
|
856
|
+
|
857
|
+
# @!macro promise.method.schedule
|
858
|
+
# Creates new event dependent on receiver scheduled to execute on/in intended_time.
|
859
|
+
# In time is interpreted from the moment the receiver is resolved, therefore it inserts
|
860
|
+
# delay into the chain.
|
861
|
+
#
|
862
|
+
# @!macro promises.param.intended_time
|
863
|
+
# @return [Event]
|
864
|
+
def schedule(intended_time)
|
865
|
+
chain do
|
866
|
+
event = ScheduledPromise.new(@DefaultExecutor, intended_time).event
|
867
|
+
ZipEventEventPromise.new_blocked_by2(self, event, @DefaultExecutor).event
|
868
|
+
end.flat_event
|
869
|
+
end
|
870
|
+
|
871
|
+
# Converts event to a future. The future is fulfilled when the event is resolved, the future may never fail.
|
872
|
+
#
|
873
|
+
# @return [Future]
|
874
|
+
def to_future
|
875
|
+
future = Promises.resolvable_future
|
876
|
+
ensure
|
877
|
+
chain_resolvable(future)
|
878
|
+
end
|
879
|
+
|
880
|
+
# Returns self, since this is event
|
881
|
+
# @return [Event]
|
882
|
+
def to_event
|
883
|
+
self
|
884
|
+
end
|
885
|
+
|
886
|
+
# @!macro promises.method.with_default_executor
|
887
|
+
# @return [Event]
|
888
|
+
def with_default_executor(executor)
|
889
|
+
EventWrapperPromise.new_blocked_by1(self, executor).event
|
890
|
+
end
|
891
|
+
|
892
|
+
private
|
893
|
+
|
894
|
+
def rejected_resolution(raise_on_reassign, state)
|
895
|
+
Concurrent::MultipleAssignmentError.new('Event can be resolved only once') if raise_on_reassign
|
896
|
+
return false
|
897
|
+
end
|
898
|
+
|
899
|
+
def callback_on_resolution(state, args, callback)
|
900
|
+
callback.call(*args)
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
904
|
+
# Represents a value which will become available in future. May reject with a reason instead,
|
905
|
+
# e.g. when the tasks raises an exception.
|
906
|
+
class Future < AbstractEventFuture
|
907
|
+
|
908
|
+
# Is it in fulfilled state?
|
909
|
+
# @return [Boolean]
|
910
|
+
def fulfilled?
|
911
|
+
state = internal_state
|
912
|
+
state.resolved? && state.fulfilled?
|
913
|
+
end
|
914
|
+
|
915
|
+
# Is it in rejected state?
|
916
|
+
# @return [Boolean]
|
917
|
+
def rejected?
|
918
|
+
state = internal_state
|
919
|
+
state.resolved? && !state.fulfilled?
|
920
|
+
end
|
921
|
+
|
922
|
+
# @!macro promises.warn.nil
|
923
|
+
# @note Make sure returned `nil` is not confused with timeout, no value when rejected,
|
924
|
+
# no reason when fulfilled, etc.
|
925
|
+
# Use more exact methods if needed, like {#wait}, {#value!}, {#result}, etc.
|
926
|
+
|
927
|
+
# @!macro promises.method.value
|
928
|
+
# Return value of the future.
|
929
|
+
# @!macro promises.touches
|
930
|
+
#
|
931
|
+
# @!macro promises.warn.blocks
|
932
|
+
# @!macro promises.warn.nil
|
933
|
+
# @!macro promises.param.timeout
|
934
|
+
# @!macro promises.param.timeout_value
|
935
|
+
# @param [Object] timeout_value a value returned by the method when it times out
|
936
|
+
# @return [Object, nil, timeout_value] the value of the Future when fulfilled,
|
937
|
+
# timeout_value on timeout,
|
938
|
+
# nil on rejection.
|
939
|
+
def value(timeout = nil, timeout_value = nil)
|
940
|
+
if wait_until_resolved timeout
|
941
|
+
internal_state.value
|
942
|
+
else
|
943
|
+
timeout_value
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
# Returns reason of future's rejection.
|
948
|
+
# @!macro promises.touches
|
949
|
+
#
|
950
|
+
# @!macro promises.warn.blocks
|
951
|
+
# @!macro promises.warn.nil
|
952
|
+
# @!macro promises.param.timeout
|
953
|
+
# @!macro promises.param.timeout_value
|
954
|
+
# @return [Object, timeout_value] the reason, or timeout_value on timeout, or nil on fulfillment.
|
955
|
+
def reason(timeout = nil, timeout_value = nil)
|
956
|
+
if wait_until_resolved timeout
|
957
|
+
internal_state.reason
|
958
|
+
else
|
959
|
+
timeout_value
|
960
|
+
end
|
961
|
+
end
|
962
|
+
|
963
|
+
# Returns triplet fulfilled?, value, reason.
|
964
|
+
# @!macro promises.touches
|
965
|
+
#
|
966
|
+
# @!macro promises.warn.blocks
|
967
|
+
# @!macro promises.param.timeout
|
968
|
+
# @return [Array(Boolean, Object, Object), nil] triplet of fulfilled?, value, reason, or nil
|
969
|
+
# on timeout.
|
970
|
+
def result(timeout = nil)
|
971
|
+
internal_state.result if wait_until_resolved timeout
|
972
|
+
end
|
973
|
+
|
974
|
+
# @!macro promises.method.wait
|
975
|
+
# @raise [Exception] {#reason} on rejection
|
976
|
+
def wait!(timeout = nil)
|
977
|
+
result = wait_until_resolved!(timeout)
|
978
|
+
timeout ? result : self
|
979
|
+
end
|
980
|
+
|
981
|
+
# @!macro promises.method.value
|
982
|
+
# @return [Object, nil, timeout_value] the value of the Future when fulfilled,
|
983
|
+
# or nil on rejection,
|
984
|
+
# or timeout_value on timeout.
|
985
|
+
# @raise [Exception] {#reason} on rejection
|
986
|
+
def value!(timeout = nil, timeout_value = nil)
|
987
|
+
if wait_until_resolved! timeout
|
988
|
+
internal_state.value
|
989
|
+
else
|
990
|
+
timeout_value
|
991
|
+
end
|
992
|
+
end
|
993
|
+
|
994
|
+
# Allows rejected Future to be risen with `raise` method.
|
995
|
+
# If the reason is not an exception `Runtime.new(reason)` is returned.
|
996
|
+
#
|
997
|
+
# @example
|
998
|
+
# raise Promises.rejected_future(StandardError.new("boom"))
|
999
|
+
# raise Promises.rejected_future("or just boom")
|
1000
|
+
# @raise [Concurrent::Error] when raising not rejected future
|
1001
|
+
# @return [Exception]
|
1002
|
+
def exception(*args)
|
1003
|
+
raise Concurrent::Error, 'it is not rejected' unless rejected?
|
1004
|
+
raise ArgumentError unless args.size <= 1
|
1005
|
+
reason = Array(internal_state.reason).flatten.compact
|
1006
|
+
if reason.size > 1
|
1007
|
+
ex = Concurrent::MultipleErrors.new reason
|
1008
|
+
ex.set_backtrace(caller)
|
1009
|
+
ex
|
1010
|
+
else
|
1011
|
+
ex = if reason[0].respond_to? :exception
|
1012
|
+
reason[0].exception(*args)
|
1013
|
+
else
|
1014
|
+
RuntimeError.new(reason[0]).exception(*args)
|
1015
|
+
end
|
1016
|
+
ex.set_backtrace Array(ex.backtrace) + caller
|
1017
|
+
ex
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# @!macro promises.shortcut.on
|
1022
|
+
# @return [Future]
|
1023
|
+
def then(*args, &task)
|
1024
|
+
then_on @DefaultExecutor, *args, &task
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# Chains the task to be executed asynchronously on executor after it fulfills. Does not run
|
1028
|
+
# the task if it rejects. It will resolve though, triggering any dependent futures.
|
1029
|
+
#
|
1030
|
+
# @!macro promises.param.executor
|
1031
|
+
# @!macro promises.param.args
|
1032
|
+
# @!macro promise.param.task-future
|
1033
|
+
# @return [Future]
|
1034
|
+
# @yield [value, *args] to the task.
|
1035
|
+
def then_on(executor, *args, &task)
|
1036
|
+
ThenPromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# @!macro promises.shortcut.on
|
1040
|
+
# @return [Future]
|
1041
|
+
def rescue(*args, &task)
|
1042
|
+
rescue_on @DefaultExecutor, *args, &task
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
# Chains the task to be executed asynchronously on executor after it rejects. Does not run
|
1046
|
+
# the task if it fulfills. It will resolve though, triggering any dependent futures.
|
1047
|
+
#
|
1048
|
+
# @!macro promises.param.executor
|
1049
|
+
# @!macro promises.param.args
|
1050
|
+
# @!macro promise.param.task-future
|
1051
|
+
# @return [Future]
|
1052
|
+
# @yield [reason, *args] to the task.
|
1053
|
+
def rescue_on(executor, *args, &task)
|
1054
|
+
RescuePromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# @!macro promises.method.zip
|
1058
|
+
# @return [Future]
|
1059
|
+
def zip(other)
|
1060
|
+
if other.is_a?(Future)
|
1061
|
+
ZipFuturesPromise.new_blocked_by2(self, other, @DefaultExecutor).future
|
1062
|
+
else
|
1063
|
+
ZipFutureEventPromise.new_blocked_by2(self, other, @DefaultExecutor).future
|
1064
|
+
end
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
alias_method :&, :zip
|
1068
|
+
|
1069
|
+
# Creates a new event which will be resolved when the first of receiver, `event_or_future`
|
1070
|
+
# resolves. Returning future will have value nil if event_or_future is event and resolves
|
1071
|
+
# first.
|
1072
|
+
#
|
1073
|
+
# @return [Future]
|
1074
|
+
def any(event_or_future)
|
1075
|
+
AnyResolvedFuturePromise.new_blocked_by2(self, event_or_future, @DefaultExecutor).future
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
alias_method :|, :any
|
1079
|
+
|
1080
|
+
# Creates new future dependent on receiver which will not evaluate until touched, see {#touch}.
|
1081
|
+
# In other words, it inserts delay into the chain of Futures making rest of it lazy evaluated.
|
1082
|
+
#
|
1083
|
+
# @return [Future]
|
1084
|
+
def delay
|
1085
|
+
event = DelayPromise.new(@DefaultExecutor).event
|
1086
|
+
ZipFutureEventPromise.new_blocked_by2(self, event, @DefaultExecutor).future
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# @!macro promise.method.schedule
|
1090
|
+
# @return [Future]
|
1091
|
+
def schedule(intended_time)
|
1092
|
+
chain do
|
1093
|
+
event = ScheduledPromise.new(@DefaultExecutor, intended_time).event
|
1094
|
+
ZipFutureEventPromise.new_blocked_by2(self, event, @DefaultExecutor).future
|
1095
|
+
end.flat
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# @!macro promises.method.with_default_executor
|
1099
|
+
# @return [Future]
|
1100
|
+
def with_default_executor(executor)
|
1101
|
+
FutureWrapperPromise.new_blocked_by1(self, executor).future
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# Creates new future which will have result of the future returned by receiver. If receiver
|
1105
|
+
# rejects it will have its rejection.
|
1106
|
+
#
|
1107
|
+
# @param [Integer] level how many levels of futures should flatten
|
1108
|
+
# @return [Future]
|
1109
|
+
def flat_future(level = 1)
|
1110
|
+
FlatFuturePromise.new_blocked_by1(self, level, @DefaultExecutor).future
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
alias_method :flat, :flat_future
|
1114
|
+
|
1115
|
+
# Creates new event which will be resolved when the returned event by receiver is.
|
1116
|
+
# Be careful if the receiver rejects it will just resolve since Event does not hold reason.
|
1117
|
+
#
|
1118
|
+
# @return [Event]
|
1119
|
+
def flat_event
|
1120
|
+
FlatEventPromise.new_blocked_by1(self, @DefaultExecutor).event
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# @!macro promises.shortcut.using
|
1124
|
+
# @return [self]
|
1125
|
+
def on_fulfillment(*args, &callback)
|
1126
|
+
on_fulfillment_using @DefaultExecutor, *args, &callback
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
# Stores the callback to be executed synchronously on resolving thread after it is
|
1130
|
+
# fulfilled. Does nothing on rejection.
|
1131
|
+
#
|
1132
|
+
# @!macro promises.param.args
|
1133
|
+
# @!macro promise.param.callback
|
1134
|
+
# @return [self]
|
1135
|
+
# @yield [value, *args] to the callback.
|
1136
|
+
def on_fulfillment!(*args, &callback)
|
1137
|
+
add_callback :callback_on_fulfillment, args, callback
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
# Stores the callback to be executed asynchronously on executor after it is
|
1141
|
+
# fulfilled. Does nothing on rejection.
|
1142
|
+
#
|
1143
|
+
# @!macro promises.param.executor
|
1144
|
+
# @!macro promises.param.args
|
1145
|
+
# @!macro promise.param.callback
|
1146
|
+
# @return [self]
|
1147
|
+
# @yield [value, *args] to the callback.
|
1148
|
+
def on_fulfillment_using(executor, *args, &callback)
|
1149
|
+
add_callback :async_callback_on_fulfillment, executor, args, callback
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
# @!macro promises.shortcut.using
|
1153
|
+
# @return [self]
|
1154
|
+
def on_rejection(*args, &callback)
|
1155
|
+
on_rejection_using @DefaultExecutor, *args, &callback
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# Stores the callback to be executed synchronously on resolving thread after it is
|
1159
|
+
# rejected. Does nothing on fulfillment.
|
1160
|
+
#
|
1161
|
+
# @!macro promises.param.args
|
1162
|
+
# @!macro promise.param.callback
|
1163
|
+
# @return [self]
|
1164
|
+
# @yield [reason, *args] to the callback.
|
1165
|
+
def on_rejection!(*args, &callback)
|
1166
|
+
add_callback :callback_on_rejection, args, callback
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# Stores the callback to be executed asynchronously on executor after it is
|
1170
|
+
# rejected. Does nothing on fulfillment.
|
1171
|
+
#
|
1172
|
+
# @!macro promises.param.executor
|
1173
|
+
# @!macro promises.param.args
|
1174
|
+
# @!macro promise.param.callback
|
1175
|
+
# @return [self]
|
1176
|
+
# @yield [reason, *args] to the callback.
|
1177
|
+
def on_rejection_using(executor, *args, &callback)
|
1178
|
+
add_callback :async_callback_on_rejection, executor, args, callback
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
# Allows to use futures as green threads. The receiver has to evaluate to a future which
|
1182
|
+
# represents what should be done next. It basically flattens indefinitely until non Future
|
1183
|
+
# values is returned which becomes result of the returned future. Any encountered exception
|
1184
|
+
# will become reason of the returned future.
|
1185
|
+
#
|
1186
|
+
# @return [Future]
|
1187
|
+
# @param [#call(value)] run_test
|
1188
|
+
# an object which when called returns either Future to keep running with
|
1189
|
+
# or nil, then the run completes with the value.
|
1190
|
+
# The run_test can be used to extract the Future from deeper structure,
|
1191
|
+
# or to distinguish Future which is a resulting value from a future
|
1192
|
+
# which is suppose to continue running.
|
1193
|
+
# @example
|
1194
|
+
# body = lambda do |v|
|
1195
|
+
# v += 1
|
1196
|
+
# v < 5 ? Promises.future(v, &body) : v
|
1197
|
+
# end
|
1198
|
+
# Promises.future(0, &body).run.value! # => 5
|
1199
|
+
def run(run_test = method(:run_test))
|
1200
|
+
RunFuturePromise.new_blocked_by1(self, @DefaultExecutor, run_test).future
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
# @!visibility private
|
1204
|
+
def apply(args, block)
|
1205
|
+
internal_state.apply args, block
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# Converts future to event which is resolved when future is resolved by fulfillment or rejection.
|
1209
|
+
#
|
1210
|
+
# @return [Event]
|
1211
|
+
def to_event
|
1212
|
+
event = Promises.resolvable_event
|
1213
|
+
ensure
|
1214
|
+
chain_resolvable(event)
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
# Returns self, since this is a future
|
1218
|
+
# @return [Future]
|
1219
|
+
def to_future
|
1220
|
+
self
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
# @return [String] Short string representation.
|
1224
|
+
def to_s
|
1225
|
+
if resolved?
|
1226
|
+
format '%s with %s>', super[0..-2], (fulfilled? ? value : reason).inspect
|
1227
|
+
else
|
1228
|
+
super
|
1229
|
+
end
|
1230
|
+
end
|
1231
|
+
|
1232
|
+
alias_method :inspect, :to_s
|
1233
|
+
|
1234
|
+
private
|
1235
|
+
|
1236
|
+
def run_test(v)
|
1237
|
+
v if v.is_a?(Future)
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
def rejected_resolution(raise_on_reassign, state)
|
1241
|
+
if raise_on_reassign
|
1242
|
+
if internal_state == RESERVED
|
1243
|
+
raise Concurrent::MultipleAssignmentError.new(
|
1244
|
+
"Future can be resolved only once. It is already reserved.")
|
1245
|
+
else
|
1246
|
+
raise Concurrent::MultipleAssignmentError.new(
|
1247
|
+
"Future can be resolved only once. It's #{result}, trying to set #{state.result}.",
|
1248
|
+
current_result: result,
|
1249
|
+
new_result: state.result)
|
1250
|
+
end
|
1251
|
+
end
|
1252
|
+
return false
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
def wait_until_resolved!(timeout = nil)
|
1256
|
+
result = wait_until_resolved(timeout)
|
1257
|
+
raise self if rejected?
|
1258
|
+
result
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
def async_callback_on_fulfillment(state, executor, args, callback)
|
1262
|
+
with_async(executor, state, args, callback) do |st, ar, cb|
|
1263
|
+
callback_on_fulfillment st, ar, cb
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
def async_callback_on_rejection(state, executor, args, callback)
|
1268
|
+
with_async(executor, state, args, callback) do |st, ar, cb|
|
1269
|
+
callback_on_rejection st, ar, cb
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
def callback_on_fulfillment(state, args, callback)
|
1274
|
+
state.apply args, callback if state.fulfilled?
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
def callback_on_rejection(state, args, callback)
|
1278
|
+
state.apply args, callback unless state.fulfilled?
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
def callback_on_resolution(state, args, callback)
|
1282
|
+
callback.call(*state.result, *args)
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# Marker module of Future, Event resolved manually.
|
1288
|
+
module Resolvable
|
1289
|
+
include InternalStates
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# A Event which can be resolved by user.
|
1293
|
+
class ResolvableEvent < Event
|
1294
|
+
include Resolvable
|
1295
|
+
|
1296
|
+
# @!macro raise_on_reassign
|
1297
|
+
# @raise [MultipleAssignmentError] when already resolved and raise_on_reassign is true.
|
1298
|
+
|
1299
|
+
# @!macro promise.param.raise_on_reassign
|
1300
|
+
# @param [Boolean] raise_on_reassign should method raise exception if already resolved
|
1301
|
+
# @return [self, false] false is returner when raise_on_reassign is false and the receiver
|
1302
|
+
# is already resolved.
|
1303
|
+
#
|
1304
|
+
|
1305
|
+
# Makes the event resolved, which triggers all dependent futures.
|
1306
|
+
#
|
1307
|
+
# @!macro promise.param.raise_on_reassign
|
1308
|
+
# @!macro promise.param.reserved
|
1309
|
+
# @param [true, false] reserved
|
1310
|
+
# Set to true if the resolvable is {#reserve}d by you,
|
1311
|
+
# marks resolution of reserved resolvable events and futures explicitly.
|
1312
|
+
# Advanced feature, ignore unless you use {Resolvable#reserve} from edge.
|
1313
|
+
def resolve(raise_on_reassign = true, reserved = false)
|
1314
|
+
resolve_with RESOLVED, raise_on_reassign, reserved
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# Creates new event wrapping receiver, effectively hiding the resolve method.
|
1318
|
+
#
|
1319
|
+
# @return [Event]
|
1320
|
+
def with_hidden_resolvable
|
1321
|
+
@with_hidden_resolvable ||= EventWrapperPromise.new_blocked_by1(self, @DefaultExecutor).event
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
# Behaves as {AbstractEventFuture#wait} but has one additional optional argument
|
1325
|
+
# resolve_on_timeout.
|
1326
|
+
#
|
1327
|
+
# @param [true, false] resolve_on_timeout
|
1328
|
+
# If it times out and the argument is true it will also resolve the event.
|
1329
|
+
# @return [self, true, false]
|
1330
|
+
# @see AbstractEventFuture#wait
|
1331
|
+
def wait(timeout = nil, resolve_on_timeout = false)
|
1332
|
+
super(timeout) or if resolve_on_timeout
|
1333
|
+
# if it fails to resolve it was resolved in the meantime
|
1334
|
+
# so return true as if there was no timeout
|
1335
|
+
!resolve(false)
|
1336
|
+
else
|
1337
|
+
false
|
1338
|
+
end
|
1339
|
+
end
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
# A Future which can be resolved by user.
|
1343
|
+
class ResolvableFuture < Future
|
1344
|
+
include Resolvable
|
1345
|
+
|
1346
|
+
# Makes the future resolved with result of triplet `fulfilled?`, `value`, `reason`,
|
1347
|
+
# which triggers all dependent futures.
|
1348
|
+
#
|
1349
|
+
# @param [true, false] fulfilled
|
1350
|
+
# @param [Object] value
|
1351
|
+
# @param [Object] reason
|
1352
|
+
# @!macro promise.param.raise_on_reassign
|
1353
|
+
# @!macro promise.param.reserved
|
1354
|
+
def resolve(fulfilled = true, value = nil, reason = nil, raise_on_reassign = true, reserved = false)
|
1355
|
+
resolve_with(fulfilled ? Fulfilled.new(value) : Rejected.new(reason), raise_on_reassign, reserved)
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
# Makes the future fulfilled with `value`,
|
1359
|
+
# which triggers all dependent futures.
|
1360
|
+
#
|
1361
|
+
# @param [Object] value
|
1362
|
+
# @!macro promise.param.raise_on_reassign
|
1363
|
+
# @!macro promise.param.reserved
|
1364
|
+
def fulfill(value, raise_on_reassign = true, reserved = false)
|
1365
|
+
resolve_with Fulfilled.new(value), raise_on_reassign, reserved
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# Makes the future rejected with `reason`,
|
1369
|
+
# which triggers all dependent futures.
|
1370
|
+
#
|
1371
|
+
# @param [Object] reason
|
1372
|
+
# @!macro promise.param.raise_on_reassign
|
1373
|
+
# @!macro promise.param.reserved
|
1374
|
+
def reject(reason, raise_on_reassign = true, reserved = false)
|
1375
|
+
resolve_with Rejected.new(reason), raise_on_reassign, reserved
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
# Evaluates the block and sets its result as future's value fulfilling, if the block raises
|
1379
|
+
# an exception the future rejects with it.
|
1380
|
+
#
|
1381
|
+
# @yield [*args] to the block.
|
1382
|
+
# @yieldreturn [Object] value
|
1383
|
+
# @return [self]
|
1384
|
+
def evaluate_to(*args, &block)
|
1385
|
+
promise.evaluate_to(*args, block)
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
# Evaluates the block and sets its result as future's value fulfilling, if the block raises
|
1389
|
+
# an exception the future rejects with it.
|
1390
|
+
#
|
1391
|
+
# @yield [*args] to the block.
|
1392
|
+
# @yieldreturn [Object] value
|
1393
|
+
# @return [self]
|
1394
|
+
# @raise [Exception] also raise reason on rejection.
|
1395
|
+
def evaluate_to!(*args, &block)
|
1396
|
+
promise.evaluate_to(*args, block).wait!
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
# @!macro promises.resolvable.resolve_on_timeout
|
1400
|
+
# @param [::Array(true, Object, nil), ::Array(false, nil, Exception), nil] resolve_on_timeout
|
1401
|
+
# If it times out and the argument is not nil it will also resolve the future
|
1402
|
+
# to the provided resolution.
|
1403
|
+
|
1404
|
+
# Behaves as {AbstractEventFuture#wait} but has one additional optional argument
|
1405
|
+
# resolve_on_timeout.
|
1406
|
+
#
|
1407
|
+
# @!macro promises.resolvable.resolve_on_timeout
|
1408
|
+
# @return [self, true, false]
|
1409
|
+
# @see AbstractEventFuture#wait
|
1410
|
+
def wait(timeout = nil, resolve_on_timeout = nil)
|
1411
|
+
super(timeout) or if resolve_on_timeout
|
1412
|
+
# if it fails to resolve it was resolved in the meantime
|
1413
|
+
# so return true as if there was no timeout
|
1414
|
+
!resolve(*resolve_on_timeout, false)
|
1415
|
+
else
|
1416
|
+
false
|
1417
|
+
end
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
# Behaves as {Future#wait!} but has one additional optional argument
|
1421
|
+
# resolve_on_timeout.
|
1422
|
+
#
|
1423
|
+
# @!macro promises.resolvable.resolve_on_timeout
|
1424
|
+
# @return [self, true, false]
|
1425
|
+
# @raise [Exception] {#reason} on rejection
|
1426
|
+
# @see Future#wait!
|
1427
|
+
def wait!(timeout = nil, resolve_on_timeout = nil)
|
1428
|
+
super(timeout) or if resolve_on_timeout
|
1429
|
+
if resolve(*resolve_on_timeout, false)
|
1430
|
+
false
|
1431
|
+
else
|
1432
|
+
# if it fails to resolve it was resolved in the meantime
|
1433
|
+
# so return true as if there was no timeout
|
1434
|
+
raise self if rejected?
|
1435
|
+
true
|
1436
|
+
end
|
1437
|
+
else
|
1438
|
+
false
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
# Behaves as {Future#value} but has one additional optional argument
|
1443
|
+
# resolve_on_timeout.
|
1444
|
+
#
|
1445
|
+
# @!macro promises.resolvable.resolve_on_timeout
|
1446
|
+
# @return [Object, timeout_value, nil]
|
1447
|
+
# @see Future#value
|
1448
|
+
def value(timeout = nil, timeout_value = nil, resolve_on_timeout = nil)
|
1449
|
+
if wait_until_resolved timeout
|
1450
|
+
internal_state.value
|
1451
|
+
else
|
1452
|
+
if resolve_on_timeout
|
1453
|
+
unless resolve(*resolve_on_timeout, false)
|
1454
|
+
# if it fails to resolve it was resolved in the meantime
|
1455
|
+
# so return value as if there was no timeout
|
1456
|
+
return internal_state.value
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
timeout_value
|
1460
|
+
end
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
# Behaves as {Future#value!} but has one additional optional argument
|
1464
|
+
# resolve_on_timeout.
|
1465
|
+
#
|
1466
|
+
# @!macro promises.resolvable.resolve_on_timeout
|
1467
|
+
# @return [Object, timeout_value, nil]
|
1468
|
+
# @raise [Exception] {#reason} on rejection
|
1469
|
+
# @see Future#value!
|
1470
|
+
def value!(timeout = nil, timeout_value = nil, resolve_on_timeout = nil)
|
1471
|
+
if wait_until_resolved! timeout
|
1472
|
+
internal_state.value
|
1473
|
+
else
|
1474
|
+
if resolve_on_timeout
|
1475
|
+
unless resolve(*resolve_on_timeout, false)
|
1476
|
+
# if it fails to resolve it was resolved in the meantime
|
1477
|
+
# so return value as if there was no timeout
|
1478
|
+
raise self if rejected?
|
1479
|
+
return internal_state.value
|
1480
|
+
end
|
1481
|
+
end
|
1482
|
+
timeout_value
|
1483
|
+
end
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
# Behaves as {Future#reason} but has one additional optional argument
|
1487
|
+
# resolve_on_timeout.
|
1488
|
+
#
|
1489
|
+
# @!macro promises.resolvable.resolve_on_timeout
|
1490
|
+
# @return [Exception, timeout_value, nil]
|
1491
|
+
# @see Future#reason
|
1492
|
+
def reason(timeout = nil, timeout_value = nil, resolve_on_timeout = nil)
|
1493
|
+
if wait_until_resolved timeout
|
1494
|
+
internal_state.reason
|
1495
|
+
else
|
1496
|
+
if resolve_on_timeout
|
1497
|
+
unless resolve(*resolve_on_timeout, false)
|
1498
|
+
# if it fails to resolve it was resolved in the meantime
|
1499
|
+
# so return value as if there was no timeout
|
1500
|
+
return internal_state.reason
|
1501
|
+
end
|
1502
|
+
end
|
1503
|
+
timeout_value
|
1504
|
+
end
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
# Behaves as {Future#result} but has one additional optional argument
|
1508
|
+
# resolve_on_timeout.
|
1509
|
+
#
|
1510
|
+
# @!macro promises.resolvable.resolve_on_timeout
|
1511
|
+
# @return [::Array(Boolean, Object, Exception), nil]
|
1512
|
+
# @see Future#result
|
1513
|
+
def result(timeout = nil, resolve_on_timeout = nil)
|
1514
|
+
if wait_until_resolved timeout
|
1515
|
+
internal_state.result
|
1516
|
+
else
|
1517
|
+
if resolve_on_timeout
|
1518
|
+
unless resolve(*resolve_on_timeout, false)
|
1519
|
+
# if it fails to resolve it was resolved in the meantime
|
1520
|
+
# so return value as if there was no timeout
|
1521
|
+
internal_state.result
|
1522
|
+
end
|
1523
|
+
end
|
1524
|
+
# otherwise returns nil
|
1525
|
+
end
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
# Creates new future wrapping receiver, effectively hiding the resolve method and similar.
|
1529
|
+
#
|
1530
|
+
# @return [Future]
|
1531
|
+
def with_hidden_resolvable
|
1532
|
+
@with_hidden_resolvable ||= FutureWrapperPromise.new_blocked_by1(self, @DefaultExecutor).future
|
1533
|
+
end
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
# @abstract
|
1537
|
+
# @private
|
1538
|
+
class AbstractPromise < Synchronization::Object
|
1539
|
+
safe_initialization!
|
1540
|
+
include InternalStates
|
1541
|
+
|
1542
|
+
def initialize(future)
|
1543
|
+
super()
|
1544
|
+
@Future = future
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
def future
|
1548
|
+
@Future
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
alias_method :event, :future
|
1552
|
+
|
1553
|
+
def default_executor
|
1554
|
+
future.default_executor
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
def state
|
1558
|
+
future.state
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
def touch
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
def to_s
|
1565
|
+
format '%s %s>', super[0..-2], @Future
|
1566
|
+
end
|
1567
|
+
|
1568
|
+
alias_method :inspect, :to_s
|
1569
|
+
|
1570
|
+
def delayed_because
|
1571
|
+
nil
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
private
|
1575
|
+
|
1576
|
+
def resolve_with(new_state, raise_on_reassign = true)
|
1577
|
+
@Future.resolve_with(new_state, raise_on_reassign)
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
# @return [Future]
|
1581
|
+
def evaluate_to(*args, block)
|
1582
|
+
resolve_with Fulfilled.new(block.call(*args))
|
1583
|
+
rescue Exception => error
|
1584
|
+
resolve_with Rejected.new(error)
|
1585
|
+
raise error unless error.is_a?(StandardError)
|
1586
|
+
end
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
class ResolvableEventPromise < AbstractPromise
|
1590
|
+
def initialize(default_executor)
|
1591
|
+
super ResolvableEvent.new(self, default_executor)
|
1592
|
+
end
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
class ResolvableFuturePromise < AbstractPromise
|
1596
|
+
def initialize(default_executor)
|
1597
|
+
super ResolvableFuture.new(self, default_executor)
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
public :evaluate_to
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
# @abstract
|
1604
|
+
class InnerPromise < AbstractPromise
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
# @abstract
|
1608
|
+
class BlockedPromise < InnerPromise
|
1609
|
+
|
1610
|
+
private_class_method :new
|
1611
|
+
|
1612
|
+
def self.new_blocked_by1(blocker, *args, &block)
|
1613
|
+
blocker_delayed = blocker.promise.delayed_because
|
1614
|
+
promise = new(blocker_delayed, 1, *args, &block)
|
1615
|
+
blocker.add_callback_notify_blocked promise, 0
|
1616
|
+
promise
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
def self.new_blocked_by2(blocker1, blocker2, *args, &block)
|
1620
|
+
blocker_delayed1 = blocker1.promise.delayed_because
|
1621
|
+
blocker_delayed2 = blocker2.promise.delayed_because
|
1622
|
+
delayed = if blocker_delayed1 && blocker_delayed2
|
1623
|
+
# TODO (pitr-ch 23-Dec-2016): use arrays when we know it will not grow (only flat adds delay)
|
1624
|
+
LockFreeStack.of2(blocker_delayed1, blocker_delayed2)
|
1625
|
+
else
|
1626
|
+
blocker_delayed1 || blocker_delayed2
|
1627
|
+
end
|
1628
|
+
promise = new(delayed, 2, *args, &block)
|
1629
|
+
blocker1.add_callback_notify_blocked promise, 0
|
1630
|
+
blocker2.add_callback_notify_blocked promise, 1
|
1631
|
+
promise
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
def self.new_blocked_by(blockers, *args, &block)
|
1635
|
+
delayed = blockers.reduce(nil) { |d, f| add_delayed d, f.promise.delayed_because }
|
1636
|
+
promise = new(delayed, blockers.size, *args, &block)
|
1637
|
+
blockers.each_with_index { |f, i| f.add_callback_notify_blocked promise, i }
|
1638
|
+
promise
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
def self.add_delayed(delayed1, delayed2)
|
1642
|
+
if delayed1 && delayed2
|
1643
|
+
delayed1.push delayed2
|
1644
|
+
delayed1
|
1645
|
+
else
|
1646
|
+
delayed1 || delayed2
|
1647
|
+
end
|
1648
|
+
end
|
1649
|
+
|
1650
|
+
def initialize(delayed, blockers_count, future)
|
1651
|
+
super(future)
|
1652
|
+
@Delayed = delayed
|
1653
|
+
@Countdown = AtomicFixnum.new blockers_count
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
def on_blocker_resolution(future, index)
|
1657
|
+
countdown = process_on_blocker_resolution(future, index)
|
1658
|
+
resolvable = resolvable?(countdown, future, index)
|
1659
|
+
|
1660
|
+
on_resolvable(future, index) if resolvable
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
def delayed_because
|
1664
|
+
@Delayed
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
def touch
|
1668
|
+
clear_and_propagate_touch
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
# for inspection only
|
1672
|
+
def blocked_by
|
1673
|
+
blocked_by = []
|
1674
|
+
ObjectSpace.each_object(AbstractEventFuture) { |o| blocked_by.push o if o.blocks.include? self }
|
1675
|
+
blocked_by
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
private
|
1679
|
+
|
1680
|
+
def clear_and_propagate_touch(stack_or_element = @Delayed)
|
1681
|
+
return if stack_or_element.nil?
|
1682
|
+
|
1683
|
+
if stack_or_element.is_a? LockFreeStack
|
1684
|
+
stack_or_element.clear_each { |element| clear_and_propagate_touch element }
|
1685
|
+
else
|
1686
|
+
stack_or_element.touch unless stack_or_element.nil? # if still present
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
# @return [true,false] if resolvable
|
1691
|
+
def resolvable?(countdown, future, index)
|
1692
|
+
countdown.zero?
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
def process_on_blocker_resolution(future, index)
|
1696
|
+
@Countdown.decrement
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
def on_resolvable(resolved_future, index)
|
1700
|
+
raise NotImplementedError
|
1701
|
+
end
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
# @abstract
|
1705
|
+
class BlockedTaskPromise < BlockedPromise
|
1706
|
+
def initialize(delayed, blockers_count, default_executor, executor, args, &task)
|
1707
|
+
raise ArgumentError, 'no block given' unless block_given?
|
1708
|
+
super delayed, 1, Future.new(self, default_executor)
|
1709
|
+
@Executor = executor
|
1710
|
+
@Task = task
|
1711
|
+
@Args = args
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
def executor
|
1715
|
+
@Executor
|
1716
|
+
end
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
class ThenPromise < BlockedTaskPromise
|
1720
|
+
private
|
1721
|
+
|
1722
|
+
def initialize(delayed, blockers_count, default_executor, executor, args, &task)
|
1723
|
+
super delayed, blockers_count, default_executor, executor, args, &task
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
def on_resolvable(resolved_future, index)
|
1727
|
+
if resolved_future.fulfilled?
|
1728
|
+
Concurrent.executor(@Executor).post(resolved_future, @Args, @Task) do |future, args, task|
|
1729
|
+
evaluate_to lambda { future.apply args, task }
|
1730
|
+
end
|
1731
|
+
else
|
1732
|
+
resolve_with resolved_future.internal_state
|
1733
|
+
end
|
1734
|
+
end
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
class RescuePromise < BlockedTaskPromise
|
1738
|
+
private
|
1739
|
+
|
1740
|
+
def initialize(delayed, blockers_count, default_executor, executor, args, &task)
|
1741
|
+
super delayed, blockers_count, default_executor, executor, args, &task
|
1742
|
+
end
|
1743
|
+
|
1744
|
+
def on_resolvable(resolved_future, index)
|
1745
|
+
if resolved_future.rejected?
|
1746
|
+
Concurrent.executor(@Executor).post(resolved_future, @Args, @Task) do |future, args, task|
|
1747
|
+
evaluate_to lambda { future.apply args, task }
|
1748
|
+
end
|
1749
|
+
else
|
1750
|
+
resolve_with resolved_future.internal_state
|
1751
|
+
end
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
class ChainPromise < BlockedTaskPromise
|
1756
|
+
private
|
1757
|
+
|
1758
|
+
def on_resolvable(resolved_future, index)
|
1759
|
+
if Future === resolved_future
|
1760
|
+
Concurrent.executor(@Executor).post(resolved_future, @Args, @Task) do |future, args, task|
|
1761
|
+
evaluate_to(*future.result, *args, task)
|
1762
|
+
end
|
1763
|
+
else
|
1764
|
+
Concurrent.executor(@Executor).post(@Args, @Task) do |args, task|
|
1765
|
+
evaluate_to(*args, task)
|
1766
|
+
end
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# will be immediately resolved
|
1772
|
+
class ImmediateEventPromise < InnerPromise
|
1773
|
+
def initialize(default_executor)
|
1774
|
+
super Event.new(self, default_executor).resolve_with(RESOLVED)
|
1775
|
+
end
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
class ImmediateFuturePromise < InnerPromise
|
1779
|
+
def initialize(default_executor, fulfilled, value, reason)
|
1780
|
+
super Future.new(self, default_executor).
|
1781
|
+
resolve_with(fulfilled ? Fulfilled.new(value) : Rejected.new(reason))
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
class AbstractFlatPromise < BlockedPromise
|
1786
|
+
|
1787
|
+
def initialize(delayed_because, blockers_count, event_or_future)
|
1788
|
+
delayed = LockFreeStack.of1(self)
|
1789
|
+
super(delayed, blockers_count, event_or_future)
|
1790
|
+
# noinspection RubyArgCount
|
1791
|
+
@Touched = AtomicBoolean.new false
|
1792
|
+
@DelayedBecause = delayed_because || LockFreeStack.new
|
1793
|
+
|
1794
|
+
event_or_future.add_callback_clear_delayed_node delayed.peek
|
1795
|
+
end
|
1796
|
+
|
1797
|
+
def touch
|
1798
|
+
if @Touched.make_true
|
1799
|
+
clear_and_propagate_touch @DelayedBecause
|
1800
|
+
end
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
private
|
1804
|
+
|
1805
|
+
def touched?
|
1806
|
+
@Touched.value
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
def on_resolvable(resolved_future, index)
|
1810
|
+
resolve_with resolved_future.internal_state
|
1811
|
+
end
|
1812
|
+
|
1813
|
+
def resolvable?(countdown, future, index)
|
1814
|
+
!@Future.internal_state.resolved? && super(countdown, future, index)
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
def add_delayed_of(future)
|
1818
|
+
delayed = future.promise.delayed_because
|
1819
|
+
if touched?
|
1820
|
+
clear_and_propagate_touch delayed
|
1821
|
+
else
|
1822
|
+
BlockedPromise.add_delayed @DelayedBecause, delayed
|
1823
|
+
clear_and_propagate_touch @DelayedBecause if touched?
|
1824
|
+
end
|
1825
|
+
end
|
1826
|
+
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
class FlatEventPromise < AbstractFlatPromise
|
1830
|
+
|
1831
|
+
private
|
1832
|
+
|
1833
|
+
def initialize(delayed, blockers_count, default_executor)
|
1834
|
+
super delayed, 2, Event.new(self, default_executor)
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
def process_on_blocker_resolution(future, index)
|
1838
|
+
countdown = super(future, index)
|
1839
|
+
if countdown.nonzero?
|
1840
|
+
internal_state = future.internal_state
|
1841
|
+
|
1842
|
+
unless internal_state.fulfilled?
|
1843
|
+
resolve_with RESOLVED
|
1844
|
+
return countdown
|
1845
|
+
end
|
1846
|
+
|
1847
|
+
value = internal_state.value
|
1848
|
+
case value
|
1849
|
+
when AbstractEventFuture
|
1850
|
+
add_delayed_of value
|
1851
|
+
value.add_callback_notify_blocked self, nil
|
1852
|
+
countdown
|
1853
|
+
else
|
1854
|
+
resolve_with RESOLVED
|
1855
|
+
end
|
1856
|
+
end
|
1857
|
+
countdown
|
1858
|
+
end
|
1859
|
+
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
class FlatFuturePromise < AbstractFlatPromise
|
1863
|
+
|
1864
|
+
private
|
1865
|
+
|
1866
|
+
def initialize(delayed, blockers_count, levels, default_executor)
|
1867
|
+
raise ArgumentError, 'levels has to be higher than 0' if levels < 1
|
1868
|
+
# flat promise may result to a future having delayed futures, therefore we have to have empty stack
|
1869
|
+
# to be able to add new delayed futures
|
1870
|
+
super delayed || LockFreeStack.new, 1 + levels, Future.new(self, default_executor)
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
def process_on_blocker_resolution(future, index)
|
1874
|
+
countdown = super(future, index)
|
1875
|
+
if countdown.nonzero?
|
1876
|
+
internal_state = future.internal_state
|
1877
|
+
|
1878
|
+
unless internal_state.fulfilled?
|
1879
|
+
resolve_with internal_state
|
1880
|
+
return countdown
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
value = internal_state.value
|
1884
|
+
case value
|
1885
|
+
when AbstractEventFuture
|
1886
|
+
add_delayed_of value
|
1887
|
+
value.add_callback_notify_blocked self, nil
|
1888
|
+
countdown
|
1889
|
+
else
|
1890
|
+
evaluate_to(lambda { raise TypeError, "returned value #{value.inspect} is not a Future" })
|
1891
|
+
end
|
1892
|
+
end
|
1893
|
+
countdown
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
end
|
1897
|
+
|
1898
|
+
class RunFuturePromise < AbstractFlatPromise
|
1899
|
+
|
1900
|
+
private
|
1901
|
+
|
1902
|
+
def initialize(delayed, blockers_count, default_executor, run_test)
|
1903
|
+
super delayed, 1, Future.new(self, default_executor)
|
1904
|
+
@RunTest = run_test
|
1905
|
+
end
|
1906
|
+
|
1907
|
+
def process_on_blocker_resolution(future, index)
|
1908
|
+
internal_state = future.internal_state
|
1909
|
+
|
1910
|
+
unless internal_state.fulfilled?
|
1911
|
+
resolve_with internal_state
|
1912
|
+
return 0
|
1913
|
+
end
|
1914
|
+
|
1915
|
+
value = internal_state.value
|
1916
|
+
continuation_future = @RunTest.call value
|
1917
|
+
|
1918
|
+
if continuation_future
|
1919
|
+
add_delayed_of continuation_future
|
1920
|
+
continuation_future.add_callback_notify_blocked self, nil
|
1921
|
+
else
|
1922
|
+
resolve_with internal_state
|
1923
|
+
end
|
1924
|
+
|
1925
|
+
1
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
class ZipEventEventPromise < BlockedPromise
|
1930
|
+
def initialize(delayed, blockers_count, default_executor)
|
1931
|
+
super delayed, 2, Event.new(self, default_executor)
|
1932
|
+
end
|
1933
|
+
|
1934
|
+
private
|
1935
|
+
|
1936
|
+
def on_resolvable(resolved_future, index)
|
1937
|
+
resolve_with RESOLVED
|
1938
|
+
end
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
class ZipFutureEventPromise < BlockedPromise
|
1942
|
+
def initialize(delayed, blockers_count, default_executor)
|
1943
|
+
super delayed, 2, Future.new(self, default_executor)
|
1944
|
+
@result = nil
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
private
|
1948
|
+
|
1949
|
+
def process_on_blocker_resolution(future, index)
|
1950
|
+
# first blocking is future, take its result
|
1951
|
+
@result = future.internal_state if index == 0
|
1952
|
+
# super has to be called after above to piggyback on volatile @Countdown
|
1953
|
+
super future, index
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
def on_resolvable(resolved_future, index)
|
1957
|
+
resolve_with @result
|
1958
|
+
end
|
1959
|
+
end
|
1960
|
+
|
1961
|
+
class EventWrapperPromise < BlockedPromise
|
1962
|
+
def initialize(delayed, blockers_count, default_executor)
|
1963
|
+
super delayed, 1, Event.new(self, default_executor)
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
private
|
1967
|
+
|
1968
|
+
def on_resolvable(resolved_future, index)
|
1969
|
+
resolve_with RESOLVED
|
1970
|
+
end
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
class FutureWrapperPromise < BlockedPromise
|
1974
|
+
def initialize(delayed, blockers_count, default_executor)
|
1975
|
+
super delayed, 1, Future.new(self, default_executor)
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
private
|
1979
|
+
|
1980
|
+
def on_resolvable(resolved_future, index)
|
1981
|
+
resolve_with resolved_future.internal_state
|
1982
|
+
end
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
class ZipFuturesPromise < BlockedPromise
|
1986
|
+
|
1987
|
+
private
|
1988
|
+
|
1989
|
+
def initialize(delayed, blockers_count, default_executor)
|
1990
|
+
super(delayed, blockers_count, Future.new(self, default_executor))
|
1991
|
+
@Resolutions = ::Array.new(blockers_count, nil)
|
1992
|
+
|
1993
|
+
on_resolvable nil, nil if blockers_count == 0
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
def process_on_blocker_resolution(future, index)
|
1997
|
+
# TODO (pitr-ch 18-Dec-2016): Can we assume that array will never break under parallel access when never re-sized?
|
1998
|
+
@Resolutions[index] = future.internal_state # has to be set before countdown in super
|
1999
|
+
super future, index
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
def on_resolvable(resolved_future, index)
|
2003
|
+
all_fulfilled = true
|
2004
|
+
values = ::Array.new(@Resolutions.size)
|
2005
|
+
reasons = ::Array.new(@Resolutions.size)
|
2006
|
+
|
2007
|
+
@Resolutions.each_with_index do |internal_state, i|
|
2008
|
+
fulfilled, values[i], reasons[i] = internal_state.result
|
2009
|
+
all_fulfilled &&= fulfilled
|
2010
|
+
end
|
2011
|
+
|
2012
|
+
if all_fulfilled
|
2013
|
+
resolve_with FulfilledArray.new(values)
|
2014
|
+
else
|
2015
|
+
resolve_with PartiallyRejected.new(values, reasons)
|
2016
|
+
end
|
2017
|
+
end
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
class ZipEventsPromise < BlockedPromise
|
2021
|
+
|
2022
|
+
private
|
2023
|
+
|
2024
|
+
def initialize(delayed, blockers_count, default_executor)
|
2025
|
+
super delayed, blockers_count, Event.new(self, default_executor)
|
2026
|
+
|
2027
|
+
on_resolvable nil, nil if blockers_count == 0
|
2028
|
+
end
|
2029
|
+
|
2030
|
+
def on_resolvable(resolved_future, index)
|
2031
|
+
resolve_with RESOLVED
|
2032
|
+
end
|
2033
|
+
end
|
2034
|
+
|
2035
|
+
# @abstract
|
2036
|
+
class AbstractAnyPromise < BlockedPromise
|
2037
|
+
end
|
2038
|
+
|
2039
|
+
class AnyResolvedEventPromise < AbstractAnyPromise
|
2040
|
+
|
2041
|
+
private
|
2042
|
+
|
2043
|
+
def initialize(delayed, blockers_count, default_executor)
|
2044
|
+
super delayed, blockers_count, Event.new(self, default_executor)
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
def resolvable?(countdown, future, index)
|
2048
|
+
true
|
2049
|
+
end
|
2050
|
+
|
2051
|
+
def on_resolvable(resolved_future, index)
|
2052
|
+
resolve_with RESOLVED, false
|
2053
|
+
end
|
2054
|
+
end
|
2055
|
+
|
2056
|
+
class AnyResolvedFuturePromise < AbstractAnyPromise
|
2057
|
+
|
2058
|
+
private
|
2059
|
+
|
2060
|
+
def initialize(delayed, blockers_count, default_executor)
|
2061
|
+
super delayed, blockers_count, Future.new(self, default_executor)
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
def resolvable?(countdown, future, index)
|
2065
|
+
true
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
def on_resolvable(resolved_future, index)
|
2069
|
+
resolve_with resolved_future.internal_state, false
|
2070
|
+
end
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
class AnyFulfilledFuturePromise < AnyResolvedFuturePromise
|
2074
|
+
|
2075
|
+
private
|
2076
|
+
|
2077
|
+
def resolvable?(countdown, future, index)
|
2078
|
+
future.fulfilled? ||
|
2079
|
+
# inlined super from BlockedPromise
|
2080
|
+
countdown.zero?
|
2081
|
+
end
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
class DelayPromise < InnerPromise
|
2085
|
+
|
2086
|
+
def initialize(default_executor)
|
2087
|
+
event = Event.new(self, default_executor)
|
2088
|
+
@Delayed = LockFreeStack.of1(self)
|
2089
|
+
super event
|
2090
|
+
event.add_callback_clear_delayed_node @Delayed.peek
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
def touch
|
2094
|
+
@Future.resolve_with RESOLVED
|
2095
|
+
end
|
2096
|
+
|
2097
|
+
def delayed_because
|
2098
|
+
@Delayed
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
end
|
2102
|
+
|
2103
|
+
class ScheduledPromise < InnerPromise
|
2104
|
+
def intended_time
|
2105
|
+
@IntendedTime
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
def inspect
|
2109
|
+
"#{to_s[0..-2]} intended_time: #{@IntendedTime}>"
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
private
|
2113
|
+
|
2114
|
+
def initialize(default_executor, intended_time)
|
2115
|
+
super Event.new(self, default_executor)
|
2116
|
+
|
2117
|
+
@IntendedTime = intended_time
|
2118
|
+
|
2119
|
+
in_seconds = begin
|
2120
|
+
now = Time.now
|
2121
|
+
schedule_time = if @IntendedTime.is_a? Time
|
2122
|
+
@IntendedTime
|
2123
|
+
else
|
2124
|
+
now + @IntendedTime
|
2125
|
+
end
|
2126
|
+
[0, schedule_time.to_f - now.to_f].max
|
2127
|
+
end
|
2128
|
+
|
2129
|
+
Concurrent.global_timer_set.post(in_seconds) do
|
2130
|
+
@Future.resolve_with RESOLVED
|
2131
|
+
end
|
2132
|
+
end
|
2133
|
+
end
|
2134
|
+
|
2135
|
+
extend FactoryMethods
|
2136
|
+
|
2137
|
+
private_constant :AbstractPromise,
|
2138
|
+
:ResolvableEventPromise,
|
2139
|
+
:ResolvableFuturePromise,
|
2140
|
+
:InnerPromise,
|
2141
|
+
:BlockedPromise,
|
2142
|
+
:BlockedTaskPromise,
|
2143
|
+
:ThenPromise,
|
2144
|
+
:RescuePromise,
|
2145
|
+
:ChainPromise,
|
2146
|
+
:ImmediateEventPromise,
|
2147
|
+
:ImmediateFuturePromise,
|
2148
|
+
:AbstractFlatPromise,
|
2149
|
+
:FlatFuturePromise,
|
2150
|
+
:FlatEventPromise,
|
2151
|
+
:RunFuturePromise,
|
2152
|
+
:ZipEventEventPromise,
|
2153
|
+
:ZipFutureEventPromise,
|
2154
|
+
:EventWrapperPromise,
|
2155
|
+
:FutureWrapperPromise,
|
2156
|
+
:ZipFuturesPromise,
|
2157
|
+
:ZipEventsPromise,
|
2158
|
+
:AbstractAnyPromise,
|
2159
|
+
:AnyResolvedFuturePromise,
|
2160
|
+
:AnyFulfilledFuturePromise,
|
2161
|
+
:AnyResolvedEventPromise,
|
2162
|
+
:DelayPromise,
|
2163
|
+
:ScheduledPromise
|
2164
|
+
|
2165
|
+
|
2166
|
+
end
|
2167
|
+
end
|