cocRb 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ .gitignore +1 -0
- data/.bundle/config +2 -0
- data/.bundle/ruby/3.0.0/bin/htmldiff +29 -0
- data/.bundle/ruby/3.0.0/bin/htmldiff.bat +2 -0
- data/.bundle/ruby/3.0.0/bin/ldiff +29 -0
- data/.bundle/ruby/3.0.0/bin/ldiff.bat +2 -0
- data/.bundle/ruby/3.0.0/bin/rake +27 -0
- data/.bundle/ruby/3.0.0/bin/rake.bat +2 -0
- data/.bundle/ruby/3.0.0/bin/rspec +27 -0
- data/.bundle/ruby/3.0.0/bin/rspec.bat +2 -0
- data/.bundle/ruby/3.0.0/bin/rubocop +27 -0
- data/.bundle/ruby/3.0.0/bin/rubocop.bat +2 -0
- data/.bundle/ruby/3.0.0/bin/ruby-parse +27 -0
- data/.bundle/ruby/3.0.0/bin/ruby-parse.bat +2 -0
- data/.bundle/ruby/3.0.0/bin/ruby-rewrite +27 -0
- data/.bundle/ruby/3.0.0/bin/ruby-rewrite.bat +2 -0
- data/.bundle/ruby/3.0.0/cache/ast-2.4.2.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/faraday-1.4.1.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/faraday-excon-1.1.0.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/faraday-net_http-1.0.1.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/faraday-net_http_persistent-1.1.0.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/multipart-post-2.1.1.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/parallel-1.20.1.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/parser-3.0.1.1.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rainbow-3.0.0.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rake-13.0.3.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/regexp_parser-2.1.1.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rexml-3.2.5.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rspec-3.10.0.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rspec-core-3.10.1.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rspec-expectations-3.10.1.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rspec-mocks-3.10.2.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rspec-support-3.10.2.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rubocop-1.14.0.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/rubocop-ast-1.5.0.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/ruby-progressbar-1.11.0.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/ruby2_keywords-0.0.4.gem +0 -0
- data/.bundle/ruby/3.0.0/cache/unicode-display_width-2.0.0.gem +0 -0
- data/.bundle/ruby/3.0.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/.bundle/ruby/3.0.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/.bundle/ruby/3.0.0/gems/ast-2.4.2/lib/ast.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/ast-2.4.2/lib/ast/node.rb +268 -0
- data/.bundle/ruby/3.0.0/gems/ast-2.4.2/lib/ast/processor.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/ast-2.4.2/lib/ast/processor/mixin.rb +288 -0
- data/.bundle/ruby/3.0.0/gems/ast-2.4.2/lib/ast/sexp.rb +30 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/.rspec +1 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +74 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/License.md +39 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/Manifest.txt +45 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/README.rdoc +84 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/Rakefile +74 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/bin/htmldiff +35 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/bin/ldiff +9 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +339 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/docs/artistic.txt +127 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +739 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +7 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +325 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +174 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +150 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +358 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +304 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +5 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +89 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +50 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +51 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +416 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +375 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/.bundle/ruby/3.0.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +139 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/CHANGELOG.md +380 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/LICENSE.md +20 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/README.md +53 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/Rakefile +7 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/examples/client_spec.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/examples/client_test.rb +79 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday.rb +178 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter.rb +110 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/em_http.rb +289 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/em_http_ssl_patch.rb +62 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/em_synchrony.rb +153 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +69 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/httpclient.rb +152 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/patron.rb +132 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/rack.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/test.rb +246 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter/typhoeus.rb +15 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/adapter_registry.rb +30 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/autoload.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/connection.rb +615 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/dependency_loader.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/encoders/flat_params_encoder.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/encoders/nested_params_encoder.rb +176 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/error.rb +152 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/file_part.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/logging/formatter.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/methods.rb +6 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/middleware.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/middleware_registry.rb +129 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/options.rb +218 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/options/connection_options.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/options/env.rb +181 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/options/proxy_options.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/options/request_options.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/options/ssl_options.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/param_part.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/parameters.rb +5 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/rack_builder.rb +249 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/request.rb +156 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/request/authorization.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/request/basic_authentication.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/request/instrumentation.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/request/multipart.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/request/retry.rb +239 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/request/token_authentication.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/request/url_encoded.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/response.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/response/logger.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/response/raise_error.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/utils.rb +117 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/utils/headers.rb +139 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/utils/params_hash.rb +61 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/lib/faraday/version.rb +5 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/external_adapters/faraday_specs_setup.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/em_http_spec.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/em_synchrony_spec.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/excon_spec.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/httpclient_spec.rb +73 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/net_http_spec.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/patron_spec.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/rack_spec.rb +8 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/test_spec.rb +260 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/typhoeus_spec.rb +7 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter_registry_spec.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter_spec.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/composite_read_io_spec.rb +80 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/connection_spec.rb +721 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/error_spec.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/middleware_spec.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/options/env_spec.rb +70 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/options/options_spec.rb +297 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/options/proxy_options_spec.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/options/request_options_spec.rb +19 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/params_encoders/flat_spec.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/params_encoders/nested_spec.rb +142 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/rack_builder_spec.rb +345 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/request/authorization_spec.rb +88 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/request/instrumentation_spec.rb +76 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/request/multipart_spec.rb +302 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/request/retry_spec.rb +242 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/request/url_encoded_spec.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/request_spec.rb +120 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/response/logger_spec.rb +220 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/response/middleware_spec.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/response/raise_error_spec.rb +169 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/response_spec.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/utils/headers_spec.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/utils_spec.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday_spec.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/spec_helper.rb +132 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/support/disabling_stub.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/support/fake_safe_buffer.rb +15 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/support/helper_methods.rb +133 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/support/shared_examples/adapter.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/support/shared_examples/params_encoder.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/support/shared_examples/request_method.rb +262 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/support/streaming_response_checker.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/support/webmock_rack_app.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/faraday-excon-1.1.0/LICENSE.md +21 -0
- data/.bundle/ruby/3.0.0/gems/faraday-excon-1.1.0/README.md +61 -0
- data/.bundle/ruby/3.0.0/gems/faraday-excon-1.1.0/lib/faraday/adapter/excon.rb +124 -0
- data/.bundle/ruby/3.0.0/gems/faraday-excon-1.1.0/lib/faraday/excon.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/faraday-excon-1.1.0/lib/faraday/excon/version.rb +7 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http-1.0.1/LICENSE.md +21 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http-1.0.1/README.md +57 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb +213 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http-1.0.1/lib/faraday/net_http.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http-1.0.1/lib/faraday/net_http/version.rb +7 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http_persistent-1.1.0/LICENSE.md +21 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http_persistent-1.1.0/README.md +73 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http_persistent-1.1.0/lib/faraday/adapter/net_http_persistent.rb +91 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http_persistent-1.1.0/lib/faraday/net_http_persistent.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/faraday-net_http_persistent-1.1.0/lib/faraday/net_http_persistent/version.rb +7 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/.gitignore +6 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/.rspec +5 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/.travis.yml +20 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/.yardopts +6 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/Gemfile +6 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/History.txt +64 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/LICENSE +21 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/Manifest.txt +9 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/README.md +127 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/Rakefile +6 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/composite_io.rb +108 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/multipart_post.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/multipartable.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/net/http/post/multipart.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/parts.rb +126 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/multipart-post.gemspec +23 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/composite_io_spec.rb +138 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/multibyte.txt +1 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/net/http/post/multipart_spec.rb +123 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/parts_spec.rb +102 -0
- data/.bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/spec_helper.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/parallel-1.20.1/MIT-LICENSE.txt +20 -0
- data/.bundle/ruby/3.0.0/gems/parallel-1.20.1/lib/parallel.rb +523 -0
- data/.bundle/ruby/3.0.0/gems/parallel-1.20.1/lib/parallel/processor_count.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/parallel-1.20.1/lib/parallel/version.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/LICENSE.txt +25 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/bin/ruby-parse +7 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/bin/ruby-rewrite +7 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/gauntlet_parser.rb +123 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/all.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ast/node.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ast/processor.rb +288 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/base.rb +291 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/builders/default.rb +2224 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/clobbering_error.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/color.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/context.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/current.rb +110 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/current_arg_stack.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/deprecation.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/diagnostic.rb +163 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/diagnostic/engine.rb +104 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/lexer.rb +23780 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/lexer/dedenter.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/lexer/explanation.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/lexer/literal.rb +269 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/lexer/stack_state.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/macruby.rb +6149 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/max_numparam_stack.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/messages.rb +114 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/meta.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/rewriter.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby18.rb +5667 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby19.rb +6092 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby20.rb +6527 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby21.rb +6578 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby22.rb +6613 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby23.rb +6624 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby24.rb +6694 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby25.rb +6662 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby26.rb +6676 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby27.rb +7862 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby28.rb +8047 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby30.rb +8060 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/ruby31.rb +8075 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/rubymotion.rb +6086 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/runner.rb +282 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/runner/ruby_parse.rb +157 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/buffer.rb +355 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/comment.rb +134 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/comment/associator.rb +233 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map.rb +186 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/collection.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/condition.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/constant.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/definition.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/for.rb +19 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/heredoc.rb +19 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/index.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/keyword.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/method_definition.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/operator.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/rescue_body.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/send.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/ternary.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/map/variable.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/range.rb +326 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/rewriter.rb +513 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/rewriter/action.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/tree_rewriter.rb +431 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/source/tree_rewriter/action.rb +242 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/static_environment.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/syntax_error.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/tree_rewriter.rb +133 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/variables_stack.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/lib/parser/version.rb +5 -0
- data/.bundle/ruby/3.0.0/gems/parser-3.0.1.1/parser.gemspec +43 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/.gitignore +17 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/.rubocop.yml +20 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/.rubocop_todo.yml +29 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/.travis.yml +24 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/Changelog.md +93 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/Gemfile +28 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/Guardfile +8 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/LICENSE +20 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/README.markdown +224 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/Rakefile +9 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/appveyor.yml +40 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +143 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +93 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +135 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +151 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/rainbow.gemspec +22 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +157 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/spec_helper.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +296 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +110 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +199 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +94 -0
- data/.bundle/ruby/3.0.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/CONTRIBUTING.rdoc +43 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/Gemfile +10 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/History.rdoc +2386 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/MIT-LICENSE +21 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/README.rdoc +155 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/Rakefile +41 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/bin/bundle +105 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/bin/console +7 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/bin/rake +29 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/bin/rdoc +29 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/bin/rubocop +29 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/bin/setup +6 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/command_line_usage.rdoc +158 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/example/Rakefile1 +38 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/example/Rakefile2 +35 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/example/a.c +6 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/example/b.c +6 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/example/main.c +11 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/glossary.rdoc +42 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/jamis.rb +592 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/proto_rake.rdoc +127 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/rake.1 +156 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/rakefile.rdoc +622 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/doc/rational.rdoc +151 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/exe/rake +27 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake.rb +71 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/application.rb +824 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/backtrace.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/clean.rb +78 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/cloneable.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/cpu_counter.rb +107 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/default_loader.rb +15 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/dsl_definition.rb +195 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/early_time.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/ext/core.rb +26 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/ext/string.rb +176 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/file_creation_task.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/file_list.rb +435 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/file_task.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/file_utils.rb +134 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/file_utils_ext.rb +134 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/invocation_chain.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/invocation_exception_mixin.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/late_time.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/linked_list.rb +112 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/loaders/makefile.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/multi_task.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/name_space.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/packagetask.rb +222 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/phony.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/private_reader.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/promise.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/pseudo_status.rb +30 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/rake_module.rb +67 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb +27 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/scope.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/task.rb +434 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/task_argument_error.rb +8 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/task_arguments.rb +109 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/task_manager.rb +331 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/tasklib.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/testtask.rb +189 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/thread_history_display.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/thread_pool.rb +163 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/trace_output.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/version.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/lib/rake/win32.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/rake-13.0.3/rake.gemspec +43 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/CHANGELOG.md +494 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/Gemfile +14 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/LICENSE +22 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/README.md +479 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/Rakefile +87 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser.rb +8 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/error.rb +4 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression.rb +155 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/alternation.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/anchor.rb +26 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/backref.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/conditional.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/escape.rb +94 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/free_space.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/group.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/keep.rb +5 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/literal.rb +7 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/posix_class.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/property.rb +120 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/root.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/set.rb +27 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/set/intersection.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/set/range.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/classes/type.rb +19 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/methods/match.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/methods/match_length.rb +172 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/methods/options.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/methods/strfregexp.rb +114 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/methods/tests.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/methods/traverse.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/quantifier.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/sequence.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/sequence_operation.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/expression/subexpression.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/lexer.rb +127 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/parser.rb +634 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/scanner.rb +2731 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/scanner/char_type.rl +28 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/scanner/properties/long.yml +594 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/scanner/properties/short.yml +237 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/scanner/property.rl +30 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/scanner/scanner.rl +886 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/any.rb +15 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/base.rb +95 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/anchor.rb +15 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/assertion.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/backref.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/character_set.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/character_type.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/conditional.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/escape.rb +30 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/group.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/keep.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/meta.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/posix_class.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/quantifier.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/tokens/unicode_property.rb +675 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/version_lookup.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions.rb +6 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/1.8.6.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/1.9.1.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/1.9.3.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.0.0.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.2.0.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.3.0.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.4.0.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.4.1.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.5.0.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.6.0.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.6.2.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/syntax/versions/2.6.3.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/token.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/lib/regexp_parser/version.rb +5 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/regexp_parser.gemspec +36 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/base_spec.rb +104 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/clone_spec.rb +152 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/conditional_spec.rb +89 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/free_space_spec.rb +27 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/methods/match_length_spec.rb +161 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/methods/match_spec.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/methods/strfregexp_spec.rb +224 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/methods/tests_spec.rb +99 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/methods/traverse_spec.rb +161 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/options_spec.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/subexpression_spec.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/to_h_spec.rb +26 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/expression/to_s_spec.rb +108 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/lexer/all_spec.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/lexer/conditionals_spec.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/lexer/delimiters_spec.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/lexer/escapes_spec.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/lexer/keep_spec.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/lexer/literals_spec.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/lexer/nesting_spec.rb +99 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/lexer/refcalls_spec.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/all_spec.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/alternation_spec.rb +88 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/anchors_spec.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/conditionals_spec.rb +179 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/errors_spec.rb +30 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/escapes_spec.rb +121 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/free_space_spec.rb +130 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/groups_spec.rb +108 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/keep_spec.rb +6 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/options_spec.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/posix_classes_spec.rb +8 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/properties_spec.rb +115 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/quantifiers_spec.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/refcalls_spec.rb +117 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/set/intersections_spec.rb +127 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/set/ranges_spec.rb +111 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/sets_spec.rb +178 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/parser/types_spec.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/all_spec.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/anchors_spec.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/conditionals_spec.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/delimiters_spec.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/errors_spec.rb +67 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/escapes_spec.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/free_space_spec.rb +165 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/groups_spec.rb +61 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/keep_spec.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/literals_spec.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/meta_spec.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/options_spec.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/properties_spec.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/quantifiers_spec.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/refcalls_spec.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/sets_spec.rb +151 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/scanner/types_spec.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/spec_helper.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/support/runner.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/support/shared_examples.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/support/warning_extractor.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/syntax/syntax_spec.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/syntax/syntax_token_map_spec.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/syntax/versions/1.8.6_spec.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/syntax/versions/1.9.1_spec.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/syntax/versions/1.9.3_spec.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/syntax/versions/2.0.0_spec.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/syntax/versions/2.2.0_spec.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/syntax/versions/aliases_spec.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/regexp_parser-2.1.1/spec/token/token_spec.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/LICENSE.txt +22 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/NEWS.md +178 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/README.md +48 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/context.rdoc +143 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/child.rdoc +87 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/document.rdoc +276 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/element.rdoc +602 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/node.rdoc +97 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/rdoc/parent.rdoc +267 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/child_toc.rdoc +12 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/document_toc.rdoc +30 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/element_toc.rdoc +55 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/master_toc.rdoc +135 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/node_toc.rdoc +16 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/doc/rexml/tasks/tocs/parent_toc.rdoc +25 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/attlistdecl.rb +63 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/attribute.rb +205 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/cdata.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/child.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/comment.rb +80 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/doctype.rb +311 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/document.rb +451 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/attlistdecl.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/dtd.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/elementdecl.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/entitydecl.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/dtd/notationdecl.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/element.rb +2599 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/encoding.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/entity.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/default.rb +116 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/pretty.rb +142 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/formatters/transitive.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/functions.rb +447 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/instruction.rb +79 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/light/node.rb +188 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/namespace.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/node.rb +76 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/output.rb +30 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parent.rb +166 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parseexception.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/baseparser.rb +694 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/lightparser.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/pullparser.rb +197 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/sax2parser.rb +273 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/streamparser.rb +61 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/treeparser.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/ultralightparser.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/parsers/xpathparser.rb +689 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/quickpath.rb +266 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/rexml.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/sax2listener.rb +98 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/security.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/source.rb +298 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/streamlistener.rb +93 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/text.rb +424 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/undefinednamespaceexception.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/relaxng.rb +539 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/validation.rb +144 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/validation/validationexception.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/xmldecl.rb +130 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/xmltokens.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/xpath.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rexml-3.2.5/lib/rexml/xpath_parser.rb +974 -0
- data/.bundle/ruby/3.0.0/gems/rspec-3.10.0/LICENSE.md +27 -0
- data/.bundle/ruby/3.0.0/gems/rspec-3.10.0/README.md +43 -0
- data/.bundle/ruby/3.0.0/gems/rspec-3.10.0/lib/rspec.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/rspec-3.10.0/lib/rspec/version.rb +5 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/.document +5 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/.yardopts +8 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/Changelog.md +2327 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/LICENSE.md +26 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/README.md +384 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/exe/rspec +4 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/autorun.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core.rb +186 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/fork_runner.rb +138 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/server.rb +61 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/utilities.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb +2372 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration_options.rb +233 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/did_you_mean.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/drb.rb +120 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/dsl.rb +98 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb +663 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb +901 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_status_persister.rb +235 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/filter_manager.rb +231 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/flat_map.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters.rb +273 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/exception_presenter.rb +521 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/helpers.rb +110 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/protocol.rb +182 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb +646 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/invocations.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb +554 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/metadata.rb +498 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/metadata_filter.rb +255 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/notifications.rb +521 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/option_parser.rb +324 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/ordering.rb +158 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/output_wrapper.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/pending.rb +165 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/profiler.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer/.rspec +1 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/rake_task.rb +188 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb +265 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/ruby_project.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb +212 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/sandbox.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/set.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/shared_context.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/shared_example_group.rb +271 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/shell_escape.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/version.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/warnings.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/world.rb +277 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/.document +5 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/.yardopts +6 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/Changelog.md +1240 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/LICENSE.md +25 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/README.md +320 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/configuration.rb +230 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/expectation_target.rb +127 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/fail_with.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/failure_aggregator.rb +212 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/handler.rb +182 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/syntax.rb +132 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/version.rb +8 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers.rb +1041 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/all.rb +86 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be.rb +191 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/change.rb +428 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/has.rb +167 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/include.rb +206 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/match.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/output.rb +200 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/raise_error.rb +259 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/yield.rb +355 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/composable.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/dsl.rb +540 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/.document +5 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/.yardopts +6 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/Changelog.md +1167 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/LICENSE.md +25 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/README.md +463 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks.rb +133 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/recorder.rb +295 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/configuration.rb +212 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/error_generator.rb +369 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/example_methods.rb +434 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/message_chain.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/message_expectation.rb +751 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/method_double.rb +288 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/method_reference.rb +202 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/mutate_const.rb +339 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/object_reference.rb +149 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/order_group.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/proxy.rb +519 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/space.rb +238 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/standalone.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/syntax.rb +325 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/targets.rb +124 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/test_double.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_double.rb +129 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/.bundle/ruby/3.0.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/version.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/Changelog.md +332 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/LICENSE.md +23 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/README.md +40 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support.rb +154 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/caller_filter.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/comparable_version.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/differ.rb +215 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/directory_maker.rb +63 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/encoded_string.rb +161 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/hunk_generator.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/matcher_definition.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/mutex.rb +73 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/object_formatter.rb +275 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/reentrant_mutex.rb +61 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/ruby_features.rb +191 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/source.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/source/location.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/source/node.rb +110 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/source/token.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/diff_helpers.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/in_sub_process.rb +67 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/shell_out.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/string_matcher.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/version.rb +7 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/warnings.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rspec-support-3.10.2/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/LICENSE.txt +20 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/README.md +247 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/assets/logo.png +0 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/assets/output.html.erb +261 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/config/default.yml +4877 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/config/obsoletion.yml +200 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/exe/rubocop +15 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop.rb +695 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/ast_aliases.rb +8 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cached_data.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli.rb +133 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/command.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/command/auto_genenerate_config.rb +132 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/command/base.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/command/execute_runner.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/command/init_dotfile.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/command/show_cops.rb +74 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/command/suggest_extensions.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/command/version.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cli/environment.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/comment_config.rb +157 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config.rb +293 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_loader.rb +277 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_loader_resolver.rb +266 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion.rb +103 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/changed_enforced_styles.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/changed_parameter.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/cop_rule.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/extracted_cop.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/parameter_rule.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/removed_cop.rb +41 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/renamed_cop.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/rule.rb +41 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_obsoletion/split_cop.rb +27 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_regeneration.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_store.rb +72 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/config_validator.rb +234 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/autocorrect_logic.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/badge.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/base.rb +450 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/bundler/duplicated_gem.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/bundler/gem_comment.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/bundler/gem_version.rb +99 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +62 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/bundler/ordered_gems.rb +71 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/commissioner.rb +169 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/cop.rb +146 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/corrector.rb +118 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/alignment_corrector.rb +136 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/condition_corrector.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +72 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/line_break_corrector.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +27 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/space_corrector.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/documentation.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/exclude_limit.rb +26 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/force.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/gemspec/date_assignment.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +102 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +113 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/generator.rb +212 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/generator/configuration_injector.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/generator/require_file_injector.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/ignored_node.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs.rb +15 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/empty_line_between_expect_offense_and_correction.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/example_description.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/method_name_equal.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/node_matcher_directive.rb +151 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +41 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/redundant_described_class_as_subject.rb +62 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/redundant_let_rubocop_config_new.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +76 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/style_detected_api_use.rb +148 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/argument_alignment.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/array_alignment.rb +84 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/assignment_indentation.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/begin_end_alignment.rb +74 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/block_alignment.rb +236 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/block_end_newline.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/case_indentation.rb +155 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/class_structure.rb +324 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +124 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +191 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/comment_indentation.rb +137 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/condition_position.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/def_end_alignment.rb +73 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/dot_position.rb +104 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/else_alignment.rb +156 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_comment.rb +151 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +174 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb +136 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +252 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines.rb +71 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +206 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +103 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb +118 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +126 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/end_alignment.rb +183 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/end_of_line.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/extra_spacing.rb +182 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/first_argument_indentation.rb +276 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/first_array_element_indentation.rb +173 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +41 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/first_hash_element_indentation.rb +188 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/hash_alignment.rb +359 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +305 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/heredoc_indentation.rb +172 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/indentation_consistency.rb +205 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/indentation_style.rb +110 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/indentation_width.rb +372 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/initial_indentation.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/leading_comment_space.rb +121 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/leading_empty_lines.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/line_length.rb +267 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +115 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +117 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_block_layout.rb +159 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +115 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +131 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +231 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/parameter_alignment.rb +119 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/redundant_line_break.rb +137 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +198 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/single_line_block_chain.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_after_colon.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_after_comma.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_after_method_name.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_after_not.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_after_semicolon.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +162 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +88 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_around_keyword.rb +240 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_around_method_call_operator.rb +98 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_around_operators.rb +241 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_before_block_braces.rb +152 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_before_brackets.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_before_comma.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_before_comment.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_before_first_arg.rb +69 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_before_semicolon.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +72 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +222 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +243 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +181 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_parens.rb +130 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +139 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/trailing_empty_lines.rb +108 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/layout/trailing_whitespace.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/legacy/corrections_proxy.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/legacy/corrector.rb +27 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/ambiguous_assignment.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +74 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/ambiguous_operator.rb +103 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +73 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/boolean_symbol.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/constant_definition_in_block.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/constant_resolution.rb +89 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/debugger.rb +117 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +146 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/deprecated_constants.rb +80 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb +148 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/duplicate_branch.rb +154 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/duplicate_elsif_condition.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/duplicate_hash_key.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/duplicate_methods.rb +235 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/duplicate_require.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/duplicate_rescue_exception.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/each_with_object_argument.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/else_layout.rb +90 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/empty_block.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/empty_class.rb +93 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/empty_conditional_body.rb +67 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/empty_ensure.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/empty_file.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/empty_interpolation.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/empty_when.rb +61 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/ensure_return.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/erb_new_arguments.rb +162 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/flip_flop.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/float_comparison.rb +93 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/float_out_of_range.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +194 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/hash_compare_by_identity.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/heredoc_method_call_position.rb +154 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/identity_comparison.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +121 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/inherit_exception.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/interpolation_check.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/lambda_without_literal_block.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/literal_as_condition.rb +147 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +127 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/loop.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/missing_super.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/multiple_comparison.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/nested_method_definition.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/nested_percent_literal.rb +63 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/next_without_accumulator.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/non_deterministic_require_order.rb +169 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +86 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/number_conversion.rb +155 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/numbered_parameter_assignment.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/or_assignment_to_constant.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb +96 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/percent_string_array.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/percent_symbol_array.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/raise_exception.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/rand_one.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +259 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_dir_glob_sort.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_require_statement.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_safe_navigation.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_splat_expansion.rb +209 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_string_coercion.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_with_index.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/redundant_with_object.rb +78 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/regexp_as_condition.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/require_parentheses.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/rescue_exception.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/rescue_type.rb +88 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/return_in_void_context.rb +71 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +62 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/script_permission.rb +73 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/self_assignment.rb +78 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/send_with_mixin_argument.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/shadowed_argument.rb +176 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/shadowed_exception.rb +166 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +67 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/struct_new_override.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/suppressed_exception.rb +132 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/symbol_conversion.rb +188 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/syntax.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/to_enum_arguments.rb +89 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/to_json.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/top_level_return_with_argument.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/triple_quotes.rb +71 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +80 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/unexpected_block_arity.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/unified_integer.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb +204 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/unreachable_code.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/unreachable_loop.rb +196 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/unused_block_argument.rb +172 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/unused_method_argument.rb +117 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +79 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/uri_regexp.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/useless_access_modifier.rb +290 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/useless_assignment.rb +125 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/useless_method_definition.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/useless_setter_call.rb +170 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/useless_times.rb +109 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/lint/void.rb +140 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/message_annotator.rb +130 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/abc_size.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/block_length.rb +80 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/block_nesting.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/class_length.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/method_length.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/module_length.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/parameter_lists.rb +117 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/perceived_complexity.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +145 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/utils/code_length_calculator.rb +160 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/utils/iterating_block.rb +61 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb +143 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/migration/department_name.rb +79 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/alignment.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/allowed_identifiers.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/allowed_methods.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/annotation_comment.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/array_min_size.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/auto_corrector.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/check_line_breakable.rb +198 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/code_length.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/comments_help.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/configurable_formatting.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/configurable_max.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/configurable_numbering.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/def_node.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/documentation_comment.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/empty_parameter.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/enforce_superclass.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/gem_declaration.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/hash_alignment_styles.rb +144 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/hash_transform_method.rb +183 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/ignored_methods.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/interpolation.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/line_length_help.rb +90 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/match_range.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/method_complexity.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/method_preference.rb +30 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/multiline_element_indentation.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +226 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/negative_conditional.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/nil_methods.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/parentheses.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/percent_array.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/percent_literal.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +175 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/range_help.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/rational_literal.rb +19 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/rescue_node.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/safe_assignment.rb +27 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/statement_modifier.rb +94 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/string_help.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/surrounding_space.rb +130 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/target_ruby_version.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/trailing_body.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/trailing_comma.rb +209 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +104 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/unused_argument.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/mixin/visibility_help.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/accessor_method_name.rb +71 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/ascii_identifiers.rb +93 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/constant_name.rb +84 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/file_name.rb +214 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +279 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/method_name.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/predicate_name.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +156 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/variable_name.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/naming/variable_number.rb +146 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/offense.rb +239 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/registry.rb +287 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/security/eval.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/security/open.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/security/yaml_load.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/severity.rb +67 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/access_modifier_declarations.rb +136 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/accessor_grouping.rb +150 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/alias.rb +148 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/and_or.rb +153 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/arguments_forwarding.rb +143 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/array_coercion.rb +69 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/ascii_comments.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/attr.rb +70 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/bare_percent_literals.rb +76 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/bisected_attr_accessor.rb +125 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/bisected_attr_accessor/macro.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/block_comments.rb +66 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/block_delimiters.rb +382 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/case_equality.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/case_like_if.rb +258 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/character_literal.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/class_and_module_children.rb +158 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/class_check.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/class_equality_comparison.rb +67 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/class_methods.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/class_methods_definitions.rb +157 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/class_vars.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/collection_compact.rb +91 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/collection_methods.rb +86 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/colon_method_call.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/combinable_loops.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/command_literal.rb +181 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/comment_annotation.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/commented_keyword.rb +86 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/conditional_assignment.rb +652 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/constant_visibility.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/copyright.rb +96 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/date_time.rb +88 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/def_with_parentheses.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/dir.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/document_dynamic_eval_definition.rb +169 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/documentation.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/documentation_method.rb +126 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/double_cop_disable_directive.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/double_negation.rb +79 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/each_for_simple_loop.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/each_with_object.rb +108 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/empty_block_parameter.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/empty_case_condition.rb +103 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/empty_else.rb +167 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/empty_literal.rb +131 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/empty_method.rb +104 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/encoding.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/end_block.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/endless_method.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/eval_with_location.rb +237 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/even_odd.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/expand_path_arguments.rb +196 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/explicit_block_argument.rb +114 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/exponential_notation.rb +116 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/float_division.rb +143 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/for.rb +82 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/format_string.rb +133 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/format_string_token.rb +177 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +204 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/global_std_stream.rb +66 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/guard_clause.rb +141 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/hash_as_last_array_item.rb +88 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/hash_conversion.rb +133 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/hash_each_methods.rb +86 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/hash_except.rb +96 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/hash_like_case.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/hash_syntax.rb +219 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/hash_transform_keys.rb +95 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/hash_transform_values.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/identical_conditional_branches.rb +133 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/if_inside_else.rb +135 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/if_unless_modifier.rb +198 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb +122 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/if_with_semicolon.rb +78 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/implicit_runtime_error.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/infinite_loop.rb +129 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/inverse_methods.rb +185 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/ip_addresses.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/keyword_parameters_order.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/lambda.rb +125 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/lambda_call.rb +76 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +239 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +189 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +84 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/method_def_parentheses.rb +160 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/min_max.rb +64 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/missing_else.rb +168 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/mixin_grouping.rb +135 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/mixin_usage.rb +72 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/module_function.rb +149 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/multiline_block_chain.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/multiline_if_modifier.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/multiline_if_then.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/multiline_memoization.rb +96 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/multiline_method_signature.rb +91 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/multiline_when_then.rb +75 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/multiple_comparison.rb +157 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/mutable_constant.rb +182 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/negated_if.rb +98 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/negated_if_else_condition.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/negated_unless.rb +88 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/negated_while.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/nested_modifier.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +70 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/nested_ternary_operator.rb +58 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/next.rb +235 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/nil_comparison.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/nil_lambda.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/non_nil_check.rb +158 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/not.rb +76 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +119 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/numeric_literals.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/numeric_predicate.rb +130 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/one_line_conditional.rb +147 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/option_hash.rb +54 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/optional_arguments.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/optional_boolean_parameter.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/or_assignment.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/parallel_assignment.rb +290 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/parentheses_around_condition.rb +118 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +119 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/percent_q_literals.rb +70 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/perl_backrefs.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/preferred_hash_methods.rb +69 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/raise_args.rb +147 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/random_with_offset.rb +153 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_argument.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_assignment.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_begin.rb +157 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_capital_w.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_condition.rb +137 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_conditional.rb +96 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_exception.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_fetch_block.rb +115 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_file_extension_in_require.rb +52 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_freeze.rb +69 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_interpolation.rb +103 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_parentheses.rb +244 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_percent_q.rb +109 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_regexp_character_class.rb +104 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_regexp_escape.rb +118 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_return.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_self.rb +169 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_self_assignment.rb +118 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_sort.rb +160 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/redundant_sort_by.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/regexp_literal.rb +213 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/rescue_modifier.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/rescue_standard_error.rb +126 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/return_nil.rb +94 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/safe_navigation.rb +280 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/sample.rb +143 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/self_assignment.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/semicolon.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/send.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/signal_exception.rb +216 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/single_argument_dig.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/single_line_block_params.rb +117 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/single_line_methods.rb +135 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/slicing_with_range.rb +38 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/sole_nested_conditional.rb +176 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/special_global_vars.rb +178 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +79 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/static_class.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/stderr_puts.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/string_chars.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/string_concatenation.rb +142 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/string_hash_keys.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/string_literals.rb +132 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/string_methods.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/strip.rb +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/struct_inheritance.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/swap_values.rb +108 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/symbol_array.rb +108 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/symbol_literal.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/symbol_proc.rb +128 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/ternary_parentheses.rb +218 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_body_on_class.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +55 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_body_on_module.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +96 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_comma_in_block_args.rb +86 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +152 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/trivial_accessors.rb +187 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/unless_else.rb +51 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/unless_logical_operators.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/unpack_first.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/variable_interpolation.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/when_then.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/while_until_do.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/while_until_modifier.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/word_array.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/yoda_condition.rb +155 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/style/zero_length_predicate.rb +119 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/team.rb +259 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/util.rb +143 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/utils/format_string.rb +133 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/variable_force.rb +454 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/variable_force/branch.rb +331 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/variable_force/reference.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/variable_force/scope.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/variable_force/variable.rb +114 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/cops_documentation_generator.rb +270 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/core_ext/string.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/directive_comment.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/error.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/ext/processed_source.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/ext/regexp_node.rb +87 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/ext/regexp_parser.rb +92 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/file_finder.rb +41 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/base_formatter.rb +119 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/clang_style_formatter.rb +59 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/disabled_config_formatter.rb +233 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/emacs_style_formatter.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/formatter_set.rb +106 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/git_hub_actions_formatter.rb +44 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/html_formatter.rb +137 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/json_formatter.rb +77 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/junit_formatter.rb +78 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/progress_formatter.rb +62 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/simple_text_formatter.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/tap_formatter.rb +86 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/lockfile.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/magic_comment.rb +243 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/name_similarity.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/options.rb +507 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/path_util.rb +83 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/platform.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/rake_task.rb +81 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/remote_config.rb +102 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/result_cache.rb +226 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/rspec/cop_helper.rb +70 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/rspec/expect_offense.rb +329 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/rspec/shared_contexts.rb +137 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/rspec/support.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/runner.rb +416 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/string_interpreter.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/target_finder.rb +206 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/target_ruby.rb +264 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/util.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/version.rb +85 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/warning.rb +11 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-1.14.0/lib/rubocop/yaml_duplication_checker.rb +40 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/LICENSE.txt +20 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/README.md +56 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop-ast.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast.rb +89 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/builder.rb +105 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/ext/range.rb +28 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/ext/range_min_max.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node.rb +656 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/arg_node.rb +34 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/args_node.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/array_node.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/block_node.rb +149 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/break_node.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/case_match_node.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/case_node.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/class_node.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/const_node.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/def_node.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/defined_node.rb +19 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/dstr_node.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/float_node.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/forward_args_node.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/hash_node.rb +122 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/if_node.rb +171 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/index_node.rb +48 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/indexasgn_node.rb +50 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/int_node.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/keyword_splat_node.rb +46 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/lambda_node.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/collection_node.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/descendence.rb +112 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +259 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +219 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/numeric_node.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +117 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +39 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/module_node.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/next_node.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/pair_node.rb +67 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/procarg0_node.rb +17 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/range_node.rb +18 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/regexp_node.rb +97 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/resbody_node.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/rescue_node.rb +49 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/return_node.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/send_node.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/super_node.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/when_node.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node/yield_node.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern.rb +126 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/builder.rb +72 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/comment.rb +45 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/compiler.rb +104 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb +56 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/compiler/binding.rb +78 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/compiler/debug.rb +168 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/compiler/node_pattern_subcompiler.rb +146 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb +420 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/compiler/subcompiler.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/lexer.rb +70 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/lexer.rex +42 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/lexer.rex.rb +185 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/method_definer.rb +145 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/node.rb +260 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/parser.racc.rb +470 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/parser.rb +66 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/parser.y +103 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/sets.rb +37 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/node_pattern/with_meta.rb +111 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/processed_source.rb +293 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/rubocop_compatibility.rb +31 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/sexp.rb +16 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/token.rb +116 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/traversal.rb +182 -0
- data/.bundle/ruby/3.0.0/gems/rubocop-ast-1.5.0/lib/rubocop/ast/version.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/LICENSE.txt +19 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/README.md +131 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/Rakefile +2 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +22 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/base.rb +183 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components.rb +5 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/rate.rb +43 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/time.rb +101 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/string.rb +36 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/output.rb +68 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/progress.rb +118 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/time.rb +32 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/timer.rb +72 -0
- data/.bundle/ruby/3.0.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/version.rb +3 -0
- data/.bundle/ruby/3.0.0/gems/ruby2_keywords-0.0.4/LICENSE +22 -0
- data/.bundle/ruby/3.0.0/gems/ruby2_keywords-0.0.4/README.md +67 -0
- data/.bundle/ruby/3.0.0/gems/ruby2_keywords-0.0.4/lib/ruby2_keywords.rb +57 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/CHANGELOG.md +158 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/MIT-LICENSE.txt +22 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/README.md +159 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/data/display_width.marshal.gz +0 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/lib/unicode/display_width.rb +65 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/lib/unicode/display_width/constants.rb +10 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/lib/unicode/display_width/index.rb +14 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/lib/unicode/display_width/no_string_ext.rb +8 -0
- data/.bundle/ruby/3.0.0/gems/unicode-display_width-2.0.0/lib/unicode/display_width/string_ext.rb +9 -0
- data/.bundle/ruby/3.0.0/specifications/ast-2.4.2.gemspec +42 -0
- data/.bundle/ruby/3.0.0/specifications/diff-lcs-1.4.4.gemspec +50 -0
- data/.bundle/ruby/3.0.0/specifications/faraday-1.4.1.gemspec +0 -0
- data/.bundle/ruby/3.0.0/specifications/faraday-excon-1.1.0.gemspec +52 -0
- data/.bundle/ruby/3.0.0/specifications/faraday-net_http-1.0.1.gemspec +50 -0
- data/.bundle/ruby/3.0.0/specifications/faraday-net_http_persistent-1.1.0.gemspec +48 -0
- data/.bundle/ruby/3.0.0/specifications/multipart-post-2.1.1.gemspec +34 -0
- data/.bundle/ruby/3.0.0/specifications/parallel-1.20.1.gemspec +21 -0
- data/.bundle/ruby/3.0.0/specifications/parser-3.0.1.1.gemspec +52 -0
- data/.bundle/ruby/3.0.0/specifications/rainbow-3.0.0.gemspec +31 -0
- data/.bundle/ruby/3.0.0/specifications/rake-13.0.3.gemspec +26 -0
- data/.bundle/ruby/3.0.0/specifications/regexp_parser-2.1.1.gemspec +23 -0
- data/.bundle/ruby/3.0.0/specifications/rexml-3.2.5.gemspec +38 -0
- data/.bundle/ruby/3.0.0/specifications/rspec-3.10.0.gemspec +39 -0
- data/.bundle/ruby/3.0.0/specifications/rspec-core-3.10.1.gemspec +53 -0
- data/.bundle/ruby/3.0.0/specifications/rspec-expectations-3.10.1.gemspec +44 -0
- data/.bundle/ruby/3.0.0/specifications/rspec-mocks-3.10.2.gemspec +44 -0
- data/.bundle/ruby/3.0.0/specifications/rspec-support-3.10.2.gemspec +36 -0
- data/.bundle/ruby/3.0.0/specifications/rubocop-1.14.0.gemspec +52 -0
- data/.bundle/ruby/3.0.0/specifications/rubocop-ast-1.5.0.gemspec +36 -0
- data/.bundle/ruby/3.0.0/specifications/ruby-progressbar-1.11.0.gemspec +38 -0
- data/.bundle/ruby/3.0.0/specifications/ruby2_keywords-0.0.4.gemspec +19 -0
- data/.bundle/ruby/3.0.0/specifications/unicode-display_width-2.0.0.gemspec +36 -0
- data/.rspec +3 -0
- data/.rspec_status +3 -0
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +18 -0
- data/Gemfile.lock +76 -0
- data/LICENSE.txt +21 -0
- data/README.md +35 -0
- data/Rakefile +12 -0
- data/bin/console +14 -0
- data/bin/setup +6 -0
- data/cocRb.gemspec +32 -0
- data/lib/cocRb.rb +29 -0
- data/lib/cocRb/api.rb +50 -0
- data/lib/cocRb/clan.rb +212 -0
- data/lib/cocRb/clanWar.rb +300 -0
- data/lib/cocRb/gp.rb +72 -0
- data/lib/cocRb/labels.rb +68 -0
- data/lib/cocRb/league.rb +140 -0
- data/lib/cocRb/loactions.rb +137 -0
- data/lib/cocRb/player.rb +68 -0
- data/lib/cocRb/utility.rb +43 -0
- data/lib/cocRb/version.rb +5 -0
- metadata +1819 -0
@@ -0,0 +1,126 @@
|
|
1
|
+
RSpec::Support.require_rspec_core "shell_escape"
|
2
|
+
require 'shellwords'
|
3
|
+
|
4
|
+
module RSpec
|
5
|
+
module Core
|
6
|
+
module Bisect
|
7
|
+
# Provides an API to generate shell commands to run the suite for a
|
8
|
+
# set of locations, using the given bisect server to capture the results.
|
9
|
+
# @private
|
10
|
+
class ShellCommand
|
11
|
+
attr_reader :original_cli_args
|
12
|
+
|
13
|
+
def initialize(original_cli_args)
|
14
|
+
@original_cli_args = original_cli_args.reject { |arg| arg.start_with?("--bisect") }
|
15
|
+
end
|
16
|
+
|
17
|
+
def command_for(locations, server)
|
18
|
+
parts = []
|
19
|
+
|
20
|
+
parts << RUBY << load_path
|
21
|
+
parts << open3_safe_escape(RSpec::Core.path_to_executable)
|
22
|
+
|
23
|
+
parts << "--format" << "bisect-drb"
|
24
|
+
parts << "--drb-port" << server.drb_port
|
25
|
+
|
26
|
+
parts.concat(reusable_cli_options)
|
27
|
+
parts.concat(locations.map { |l| open3_safe_escape(l) })
|
28
|
+
|
29
|
+
parts.join(" ")
|
30
|
+
end
|
31
|
+
|
32
|
+
def repro_command_from(locations)
|
33
|
+
parts = []
|
34
|
+
|
35
|
+
parts.concat environment_repro_parts
|
36
|
+
parts << "rspec"
|
37
|
+
parts.concat Formatters::Helpers.organize_ids(locations)
|
38
|
+
parts.concat original_cli_args_without_locations
|
39
|
+
|
40
|
+
parts.join(" ")
|
41
|
+
end
|
42
|
+
|
43
|
+
def original_locations
|
44
|
+
parsed_original_cli_options.fetch(:files_or_directories_to_run)
|
45
|
+
end
|
46
|
+
|
47
|
+
def bisect_environment_hash
|
48
|
+
if ENV.key?('SPEC_OPTS')
|
49
|
+
{ 'SPEC_OPTS' => spec_opts_without_bisect }
|
50
|
+
else
|
51
|
+
{}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def spec_opts_without_bisect
|
56
|
+
Shellwords.join(
|
57
|
+
Shellwords.split(ENV.fetch('SPEC_OPTS', '')).reject do |arg|
|
58
|
+
arg =~ /^--bisect/
|
59
|
+
end
|
60
|
+
)
|
61
|
+
end
|
62
|
+
|
63
|
+
private
|
64
|
+
|
65
|
+
include RSpec::Core::ShellEscape
|
66
|
+
# On JRuby, Open3.popen3 does not handle shellescaped args properly:
|
67
|
+
# https://github.com/jruby/jruby/issues/2767
|
68
|
+
if RSpec::Support::Ruby.jruby?
|
69
|
+
# :nocov:
|
70
|
+
alias open3_safe_escape quote
|
71
|
+
# :nocov:
|
72
|
+
else
|
73
|
+
alias open3_safe_escape escape
|
74
|
+
end
|
75
|
+
|
76
|
+
def environment_repro_parts
|
77
|
+
bisect_environment_hash.map do |k, v|
|
78
|
+
%Q(#{k}="#{v}")
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def reusable_cli_options
|
83
|
+
@reusable_cli_options ||= begin
|
84
|
+
opts = original_cli_args_without_locations
|
85
|
+
|
86
|
+
if (port = parsed_original_cli_options[:drb_port])
|
87
|
+
opts -= %W[ --drb-port #{port} ]
|
88
|
+
end
|
89
|
+
|
90
|
+
parsed_original_cli_options.fetch(:formatters) { [] }.each do |(name, out)|
|
91
|
+
opts -= %W[ --format #{name} -f -f#{name} ]
|
92
|
+
opts -= %W[ --out #{out} -o -o#{out} ]
|
93
|
+
end
|
94
|
+
|
95
|
+
opts
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
def original_cli_args_without_locations
|
100
|
+
@original_cli_args_without_locations ||= begin
|
101
|
+
files_or_dirs = parsed_original_cli_options.fetch(:files_or_directories_to_run)
|
102
|
+
@original_cli_args - files_or_dirs
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
def parsed_original_cli_options
|
107
|
+
@parsed_original_cli_options ||= Parser.parse(@original_cli_args)
|
108
|
+
end
|
109
|
+
|
110
|
+
def load_path
|
111
|
+
@load_path ||= "-I#{$LOAD_PATH.map { |p| open3_safe_escape(p) }.join(':')}"
|
112
|
+
end
|
113
|
+
|
114
|
+
# Path to the currently running Ruby executable, borrowed from Rake:
|
115
|
+
# https://github.com/ruby/rake/blob/v10.4.2/lib/rake/file_utils.rb#L8-L12
|
116
|
+
# Note that we skip `ENV['RUBY']` because we don't have to deal with running
|
117
|
+
# RSpec from within a MRI source repository:
|
118
|
+
# https://github.com/ruby/rake/commit/968682759b3b65e42748cd2befb2ff3e982272d9
|
119
|
+
RUBY = File.join(
|
120
|
+
RbConfig::CONFIG['bindir'],
|
121
|
+
RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT']).
|
122
|
+
sub(/.*\s.*/m, '"\&"')
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'open3'
|
2
|
+
RSpec::Support.require_rspec_core "bisect/server"
|
3
|
+
|
4
|
+
module RSpec
|
5
|
+
module Core
|
6
|
+
module Bisect
|
7
|
+
# Provides an API to run the suite for a set of locations, using
|
8
|
+
# the given bisect server to capture the results.
|
9
|
+
#
|
10
|
+
# Sets of specs are run by shelling out.
|
11
|
+
# @private
|
12
|
+
class ShellRunner
|
13
|
+
def self.start(shell_command, _spec_runner)
|
14
|
+
Server.run do |server|
|
15
|
+
yield new(server, shell_command)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.name
|
20
|
+
:shell
|
21
|
+
end
|
22
|
+
|
23
|
+
def initialize(server, shell_command)
|
24
|
+
@server = server
|
25
|
+
@shell_command = shell_command
|
26
|
+
end
|
27
|
+
|
28
|
+
def run(locations)
|
29
|
+
run_locations(locations, original_results.failed_example_ids)
|
30
|
+
end
|
31
|
+
|
32
|
+
def original_results
|
33
|
+
@original_results ||= run_locations(@shell_command.original_locations)
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
def run_locations(*capture_args)
|
39
|
+
@server.capture_run_results(*capture_args) do
|
40
|
+
run_command @shell_command.command_for([], @server)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# `Open3.capture2e` does not work on JRuby:
|
45
|
+
# https://github.com/jruby/jruby/issues/2766
|
46
|
+
if Open3.respond_to?(:capture2e) && !RSpec::Support::Ruby.jruby?
|
47
|
+
def run_command(cmd)
|
48
|
+
Open3.capture2e(@shell_command.bisect_environment_hash, cmd).first
|
49
|
+
end
|
50
|
+
else # for 1.8.7
|
51
|
+
# :nocov:
|
52
|
+
def run_command(cmd)
|
53
|
+
out = err = nil
|
54
|
+
|
55
|
+
original_spec_opts = ENV['SPEC_OPTS']
|
56
|
+
ENV['SPEC_OPTS'] = @shell_command.spec_opts_without_bisect
|
57
|
+
|
58
|
+
Open3.popen3(cmd) do |_, stdout, stderr|
|
59
|
+
# Reading the streams blocks until the process is complete
|
60
|
+
out = stdout.read
|
61
|
+
err = stderr.read
|
62
|
+
end
|
63
|
+
|
64
|
+
"Stdout:\n#{out}\n\nStderr:\n#{err}"
|
65
|
+
ensure
|
66
|
+
ENV['SPEC_OPTS'] = original_spec_opts
|
67
|
+
end
|
68
|
+
# :nocov:
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
module RSpec
|
2
|
+
module Core
|
3
|
+
module Bisect
|
4
|
+
# @private
|
5
|
+
ExampleSetDescriptor = Struct.new(:all_example_ids, :failed_example_ids)
|
6
|
+
|
7
|
+
# @private
|
8
|
+
class BisectFailedError < StandardError
|
9
|
+
def self.for_failed_spec_run(spec_output)
|
10
|
+
new("Failed to get results from the spec run. Spec run output:\n\n" +
|
11
|
+
spec_output)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
# Wraps a `formatter` providing a simple means to notify it in place
|
16
|
+
# of an `RSpec::Core::Reporter`, without involving configuration in
|
17
|
+
# any way.
|
18
|
+
# @private
|
19
|
+
class Notifier
|
20
|
+
def initialize(formatter)
|
21
|
+
@formatter = formatter
|
22
|
+
end
|
23
|
+
|
24
|
+
def publish(event, *args)
|
25
|
+
return unless @formatter.respond_to?(event)
|
26
|
+
notification = Notifications::CustomNotification.for(*args)
|
27
|
+
@formatter.__send__(event, notification)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# Wraps a pipe to support sending objects between a child and
|
32
|
+
# parent process.
|
33
|
+
# @private
|
34
|
+
class Channel
|
35
|
+
def initialize
|
36
|
+
@read_io, @write_io = IO.pipe
|
37
|
+
end
|
38
|
+
|
39
|
+
def send(message)
|
40
|
+
packet = Marshal.dump(message)
|
41
|
+
@write_io.write("#{packet.bytesize}\n#{packet}")
|
42
|
+
end
|
43
|
+
|
44
|
+
# rubocop:disable Security/MarshalLoad
|
45
|
+
def receive
|
46
|
+
packet_size = Integer(@read_io.gets)
|
47
|
+
Marshal.load(@read_io.read(packet_size))
|
48
|
+
end
|
49
|
+
# rubocop:enable Security/MarshalLoad
|
50
|
+
|
51
|
+
def close
|
52
|
+
@read_io.close
|
53
|
+
@write_io.close
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,2372 @@
|
|
1
|
+
RSpec::Support.require_rspec_core "backtrace_formatter"
|
2
|
+
RSpec::Support.require_rspec_core "ruby_project"
|
3
|
+
RSpec::Support.require_rspec_core "formatters/deprecation_formatter"
|
4
|
+
RSpec::Support.require_rspec_core "output_wrapper"
|
5
|
+
|
6
|
+
module RSpec
|
7
|
+
module Core
|
8
|
+
# rubocop:disable Metrics/ClassLength
|
9
|
+
|
10
|
+
# Stores runtime configuration information.
|
11
|
+
#
|
12
|
+
# Configuration options are loaded from multiple files and joined together
|
13
|
+
# with command-line switches and the `SPEC_OPTS` environment variable.
|
14
|
+
#
|
15
|
+
# Precedence order (where later entries overwrite earlier entries on
|
16
|
+
# conflicts):
|
17
|
+
#
|
18
|
+
# * Global (`$XDG_CONFIG_HOME/rspec/options`, or `~/.rspec` if it does
|
19
|
+
# not exist)
|
20
|
+
# * Project-specific (`./.rspec`)
|
21
|
+
# * Local (`./.rspec-local`)
|
22
|
+
# * Command-line options
|
23
|
+
# * `SPEC_OPTS`
|
24
|
+
#
|
25
|
+
# For example, an option set in the local file will override an option set
|
26
|
+
# in your global file.
|
27
|
+
#
|
28
|
+
# The global, project-specific and local files can all be overridden with a
|
29
|
+
# separate custom file using the --options command-line parameter.
|
30
|
+
#
|
31
|
+
# @example Standard settings
|
32
|
+
# RSpec.configure do |c|
|
33
|
+
# c.drb = true
|
34
|
+
# c.drb_port = 1234
|
35
|
+
# c.default_path = 'behavior'
|
36
|
+
# end
|
37
|
+
#
|
38
|
+
# @example Hooks
|
39
|
+
# RSpec.configure do |c|
|
40
|
+
# c.before(:suite) { establish_connection }
|
41
|
+
# c.before(:example) { log_in_as :authorized }
|
42
|
+
# c.around(:example) { |ex| Database.transaction(&ex) }
|
43
|
+
# end
|
44
|
+
#
|
45
|
+
# @see RSpec.configure
|
46
|
+
# @see Hooks
|
47
|
+
class Configuration
|
48
|
+
include RSpec::Core::Hooks
|
49
|
+
|
50
|
+
# Module that holds `attr_reader` declarations. It's in a separate
|
51
|
+
# module to allow us to override those methods and use `super`.
|
52
|
+
# @private
|
53
|
+
Readers = Module.new
|
54
|
+
include Readers
|
55
|
+
|
56
|
+
# @private
|
57
|
+
class MustBeConfiguredBeforeExampleGroupsError < StandardError; end
|
58
|
+
|
59
|
+
# @private
|
60
|
+
def self.define_reader(name)
|
61
|
+
Readers.class_eval do
|
62
|
+
remove_method name if method_defined?(name)
|
63
|
+
attr_reader name
|
64
|
+
end
|
65
|
+
|
66
|
+
define_method(name) { value_for(name) { super() } }
|
67
|
+
end
|
68
|
+
|
69
|
+
# @private
|
70
|
+
def self.define_alias(name, alias_name)
|
71
|
+
alias_method alias_name, name
|
72
|
+
alias_method "#{alias_name}=", "#{name}="
|
73
|
+
define_predicate alias_name
|
74
|
+
end
|
75
|
+
|
76
|
+
# @private
|
77
|
+
def self.define_predicate(name)
|
78
|
+
define_method "#{name}?" do
|
79
|
+
!!send(name)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# @private
|
84
|
+
#
|
85
|
+
# Invoked by the `add_setting` instance method. Use that method on a
|
86
|
+
# `Configuration` instance rather than this class method.
|
87
|
+
def self.add_setting(name, opts={})
|
88
|
+
raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
|
89
|
+
attr_writer name
|
90
|
+
add_read_only_setting name
|
91
|
+
|
92
|
+
Array(opts[:alias_with]).each do |alias_name|
|
93
|
+
define_alias(name, alias_name)
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# @private
|
98
|
+
#
|
99
|
+
# As `add_setting` but only add the reader.
|
100
|
+
def self.add_read_only_setting(name, opts={})
|
101
|
+
raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
|
102
|
+
define_reader name
|
103
|
+
define_predicate name
|
104
|
+
end
|
105
|
+
|
106
|
+
# @macro [attach] add_setting
|
107
|
+
# @!attribute [rw] $1
|
108
|
+
#
|
109
|
+
# @macro [attach] define_reader
|
110
|
+
# @!attribute [r] $1
|
111
|
+
|
112
|
+
# @macro add_setting
|
113
|
+
# Path to use if no path is provided to the `rspec` command (default:
|
114
|
+
# `"spec"`). Allows you to just type `rspec` instead of `rspec spec` to
|
115
|
+
# run all the examples in the `spec` directory.
|
116
|
+
#
|
117
|
+
# @note Other scripts invoking `rspec` indirectly will ignore this
|
118
|
+
# setting.
|
119
|
+
# @return [String]
|
120
|
+
add_read_only_setting :default_path
|
121
|
+
def default_path=(path)
|
122
|
+
project_source_dirs << path
|
123
|
+
@default_path = path
|
124
|
+
end
|
125
|
+
|
126
|
+
# @macro add_setting
|
127
|
+
# Run examples over DRb (default: `false`). RSpec doesn't supply the DRb
|
128
|
+
# server, but you can use tools like spork.
|
129
|
+
# @return [Boolean]
|
130
|
+
add_setting :drb
|
131
|
+
|
132
|
+
# @macro add_setting
|
133
|
+
# The drb_port (default: nil).
|
134
|
+
add_setting :drb_port
|
135
|
+
|
136
|
+
# @macro add_setting
|
137
|
+
# Default: `$stderr`.
|
138
|
+
add_setting :error_stream
|
139
|
+
|
140
|
+
# Indicates if the DSL has been exposed off of modules and `main`.
|
141
|
+
# Default: true
|
142
|
+
# @return [Boolean]
|
143
|
+
def expose_dsl_globally?
|
144
|
+
Core::DSL.exposed_globally?
|
145
|
+
end
|
146
|
+
|
147
|
+
# Use this to expose the core RSpec DSL via `Module` and the `main`
|
148
|
+
# object. It will be set automatically but you can override it to
|
149
|
+
# remove the DSL.
|
150
|
+
# Default: true
|
151
|
+
def expose_dsl_globally=(value)
|
152
|
+
if value
|
153
|
+
Core::DSL.expose_globally!
|
154
|
+
Core::SharedExampleGroup::TopLevelDSL.expose_globally!
|
155
|
+
else
|
156
|
+
Core::DSL.remove_globally!
|
157
|
+
Core::SharedExampleGroup::TopLevelDSL.remove_globally!
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Determines where deprecation warnings are printed.
|
162
|
+
# Defaults to `$stderr`.
|
163
|
+
# @return [IO, String] IO or filename to write to
|
164
|
+
define_reader :deprecation_stream
|
165
|
+
|
166
|
+
# Determines where deprecation warnings are printed.
|
167
|
+
# @param value [IO, String] IO to write to or filename to write to
|
168
|
+
def deprecation_stream=(value)
|
169
|
+
if @reporter && !value.equal?(@deprecation_stream)
|
170
|
+
warn "RSpec's reporter has already been initialized with " \
|
171
|
+
"#{deprecation_stream.inspect} as the deprecation stream, so your change to "\
|
172
|
+
"`deprecation_stream` will be ignored. You should configure it earlier for " \
|
173
|
+
"it to take effect, or use the `--deprecation-out` CLI option. " \
|
174
|
+
"(Called from #{CallerFilter.first_non_rspec_line})"
|
175
|
+
else
|
176
|
+
@deprecation_stream = value
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# @macro define_reader
|
181
|
+
# The file path to use for persisting example statuses. Necessary for the
|
182
|
+
# `--only-failures` and `--next-failure` CLI options.
|
183
|
+
#
|
184
|
+
# @overload example_status_persistence_file_path
|
185
|
+
# @return [String] the file path
|
186
|
+
# @overload example_status_persistence_file_path=(value)
|
187
|
+
# @param value [String] the file path
|
188
|
+
define_reader :example_status_persistence_file_path
|
189
|
+
|
190
|
+
# Sets the file path to use for persisting example statuses. Necessary for the
|
191
|
+
# `--only-failures` and `--next-failure` CLI options.
|
192
|
+
def example_status_persistence_file_path=(value)
|
193
|
+
@example_status_persistence_file_path = value
|
194
|
+
clear_values_derived_from_example_status_persistence_file_path
|
195
|
+
end
|
196
|
+
|
197
|
+
# @macro define_reader
|
198
|
+
# Indicates if the `--only-failures` (or `--next-failure`) flag is being used.
|
199
|
+
define_reader :only_failures
|
200
|
+
alias_method :only_failures?, :only_failures
|
201
|
+
|
202
|
+
# @private
|
203
|
+
def only_failures_but_not_configured?
|
204
|
+
only_failures? && !example_status_persistence_file_path
|
205
|
+
end
|
206
|
+
|
207
|
+
# @macro define_reader
|
208
|
+
# If specified, indicates the number of failures required before cleaning
|
209
|
+
# up and exit (default: `nil`). Can also be `true` to fail and exit on first
|
210
|
+
# failure
|
211
|
+
define_reader :fail_fast
|
212
|
+
|
213
|
+
# @see fail_fast
|
214
|
+
def fail_fast=(value)
|
215
|
+
case value
|
216
|
+
when true, 'true'
|
217
|
+
@fail_fast = true
|
218
|
+
when false, 'false', 0
|
219
|
+
@fail_fast = false
|
220
|
+
when nil
|
221
|
+
@fail_fast = nil
|
222
|
+
else
|
223
|
+
@fail_fast = value.to_i
|
224
|
+
|
225
|
+
if value.to_i == 0
|
226
|
+
# TODO: in RSpec 4, consider raising an error here.
|
227
|
+
RSpec.warning "Cannot set `RSpec.configuration.fail_fast`" \
|
228
|
+
" to `#{value.inspect}`. Only `true`, `false`, `nil` and integers" \
|
229
|
+
" are valid values."
|
230
|
+
@fail_fast = true
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
# @macro add_setting
|
236
|
+
# Prints the formatter output of your suite without running any
|
237
|
+
# examples or hooks.
|
238
|
+
add_setting :dry_run
|
239
|
+
|
240
|
+
# @macro add_setting
|
241
|
+
# The exit code to return if there are any failures (default: 1).
|
242
|
+
# @return [Integer]
|
243
|
+
add_setting :failure_exit_code
|
244
|
+
|
245
|
+
# @macro add_setting
|
246
|
+
# The exit code to return if there are any errors outside examples (default: failure_exit_code)
|
247
|
+
# @return [Integer]
|
248
|
+
add_setting :error_exit_code
|
249
|
+
|
250
|
+
# @macro add_setting
|
251
|
+
# Whether or not to fail when there are no RSpec examples (default: false).
|
252
|
+
# @return [Boolean]
|
253
|
+
add_setting :fail_if_no_examples
|
254
|
+
|
255
|
+
# @macro define_reader
|
256
|
+
# Indicates files configured to be required.
|
257
|
+
# @return [Array<String>]
|
258
|
+
define_reader :requires
|
259
|
+
|
260
|
+
# @macro define_reader
|
261
|
+
# Returns dirs that have been prepended to the load path by the `-I`
|
262
|
+
# command line option.
|
263
|
+
# @return [Array<String>]
|
264
|
+
define_reader :libs
|
265
|
+
|
266
|
+
# @macro add_setting
|
267
|
+
# Determines where RSpec will send its output.
|
268
|
+
# Default: `$stdout`.
|
269
|
+
# @return [IO, String]
|
270
|
+
define_reader :output_stream
|
271
|
+
|
272
|
+
# Set the output stream for reporter.
|
273
|
+
# @attr value [IO, String] IO to write to or filename to write to, defaults to $stdout
|
274
|
+
def output_stream=(value)
|
275
|
+
if @reporter && !value.equal?(@output_stream)
|
276
|
+
warn "RSpec's reporter has already been initialized with " \
|
277
|
+
"#{output_stream.inspect} as the output stream, so your change to "\
|
278
|
+
"`output_stream` will be ignored. You should configure it earlier for " \
|
279
|
+
"it to take effect. (Called from #{CallerFilter.first_non_rspec_line})"
|
280
|
+
else
|
281
|
+
@output_stream = value
|
282
|
+
output_wrapper.output = @output_stream
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
# @macro define_reader
|
287
|
+
# Load files matching this pattern (default: `'**{,/*/**}/*_spec.rb'`).
|
288
|
+
# @return [String]
|
289
|
+
define_reader :pattern
|
290
|
+
|
291
|
+
# Set pattern to match files to load.
|
292
|
+
# @attr value [String] the filename pattern to filter spec files by
|
293
|
+
def pattern=(value)
|
294
|
+
update_pattern_attr :pattern, value
|
295
|
+
end
|
296
|
+
|
297
|
+
# @macro define_reader
|
298
|
+
# Exclude files matching this pattern.
|
299
|
+
# @return [String]
|
300
|
+
define_reader :exclude_pattern
|
301
|
+
|
302
|
+
# Set pattern to match files to exclude.
|
303
|
+
# @attr value [String] the filename pattern to exclude spec files by
|
304
|
+
def exclude_pattern=(value)
|
305
|
+
update_pattern_attr :exclude_pattern, value
|
306
|
+
end
|
307
|
+
|
308
|
+
# @macro add_setting
|
309
|
+
# Specifies which directories contain the source code for your project.
|
310
|
+
# When a failure occurs, RSpec looks through the backtrace to find a
|
311
|
+
# a line of source to print. It first looks for a line coming from
|
312
|
+
# one of the project source directories so that, for example, it prints
|
313
|
+
# the expectation or assertion call rather than the source code from
|
314
|
+
# the expectation or assertion framework.
|
315
|
+
# @return [Array<String>]
|
316
|
+
add_setting :project_source_dirs
|
317
|
+
|
318
|
+
# @macro add_setting
|
319
|
+
# Report the times for the slowest examples (default: `false`).
|
320
|
+
# Use this to specify the number of examples to include in the profile.
|
321
|
+
# @return [Boolean]
|
322
|
+
attr_writer :profile_examples
|
323
|
+
define_predicate :profile_examples
|
324
|
+
|
325
|
+
# @macro add_setting
|
326
|
+
# Run all examples if none match the configured filters
|
327
|
+
# (default: `false`).
|
328
|
+
# @deprecated Use {#filter_run_when_matching} instead for the specific
|
329
|
+
# filters that you want to be ignored if none match.
|
330
|
+
add_setting :run_all_when_everything_filtered
|
331
|
+
|
332
|
+
# @macro add_setting
|
333
|
+
# Color to use to indicate success. Defaults to `:green` but can be set
|
334
|
+
# to one of the following: `[:black, :white, :red, :green, :yellow,
|
335
|
+
# :blue, :magenta, :cyan]`
|
336
|
+
# @return [Symbol]
|
337
|
+
add_setting :success_color
|
338
|
+
|
339
|
+
# @macro add_setting
|
340
|
+
# Color to use to print pending examples. Defaults to `:yellow` but can
|
341
|
+
# be set to one of the following: `[:black, :white, :red, :green,
|
342
|
+
# :yellow, :blue, :magenta, :cyan]`
|
343
|
+
# @return [Symbol]
|
344
|
+
add_setting :pending_color
|
345
|
+
|
346
|
+
# @macro add_setting
|
347
|
+
# Color to use to indicate failure. Defaults to `:red` but can be set to
|
348
|
+
# one of the following: `[:black, :white, :red, :green, :yellow, :blue,
|
349
|
+
# :magenta, :cyan]`
|
350
|
+
# @return [Symbol]
|
351
|
+
add_setting :failure_color
|
352
|
+
|
353
|
+
# @macro add_setting
|
354
|
+
# The default output color. Defaults to `:white` but can be set to one of
|
355
|
+
# the following: `[:black, :white, :red, :green, :yellow, :blue,
|
356
|
+
# :magenta, :cyan]`
|
357
|
+
# @return [Symbol]
|
358
|
+
add_setting :default_color
|
359
|
+
|
360
|
+
# @macro add_setting
|
361
|
+
# Color used when a pending example is fixed. Defaults to `:blue` but can
|
362
|
+
# be set to one of the following: `[:black, :white, :red, :green,
|
363
|
+
# :yellow, :blue, :magenta, :cyan]`
|
364
|
+
# @return [Symbol]
|
365
|
+
add_setting :fixed_color
|
366
|
+
|
367
|
+
# @macro add_setting
|
368
|
+
# Color used to print details. Defaults to `:cyan` but can be set to one
|
369
|
+
# of the following: `[:black, :white, :red, :green, :yellow, :blue,
|
370
|
+
# :magenta, :cyan]`
|
371
|
+
# @return [Symbol]
|
372
|
+
add_setting :detail_color
|
373
|
+
|
374
|
+
# @macro add_setting
|
375
|
+
# Don't print filter info i.e. "Run options: include {:focus=>true}"
|
376
|
+
# (default `false`).
|
377
|
+
# return [Boolean]
|
378
|
+
add_setting :silence_filter_announcements
|
379
|
+
|
380
|
+
# @deprecated This config option was added in RSpec 2 to pave the way
|
381
|
+
# for this being the default behavior in RSpec 3. Now this option is
|
382
|
+
# a no-op.
|
383
|
+
def treat_symbols_as_metadata_keys_with_true_values=(_value)
|
384
|
+
RSpec.deprecate(
|
385
|
+
"RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values=",
|
386
|
+
:message => "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= " \
|
387
|
+
"is deprecated, it is now set to true as default and " \
|
388
|
+
"setting it to false has no effect."
|
389
|
+
)
|
390
|
+
end
|
391
|
+
|
392
|
+
# @macro define_reader
|
393
|
+
# Configures how RSpec treats metadata passed as part of a shared example
|
394
|
+
# group definition. For example, given this shared example group definition:
|
395
|
+
#
|
396
|
+
# RSpec.shared_context "uses DB", :db => true do
|
397
|
+
# around(:example) do |ex|
|
398
|
+
# MyORM.transaction(:rollback => true, &ex)
|
399
|
+
# end
|
400
|
+
# end
|
401
|
+
#
|
402
|
+
# ...there are two ways RSpec can treat the `:db => true` metadata, each
|
403
|
+
# of which has a corresponding config option:
|
404
|
+
#
|
405
|
+
# 1. `:trigger_inclusion`: this shared context will be implicitly included
|
406
|
+
# in any groups (or examples) that have `:db => true` metadata.
|
407
|
+
# 2. `:apply_to_host_groups`: the metadata will be inherited by the metadata
|
408
|
+
# hash of all host groups and examples.
|
409
|
+
#
|
410
|
+
# `:trigger_inclusion` is the legacy behavior from before RSpec 3.5 but should
|
411
|
+
# be considered deprecated. Instead, you can explicitly include a group with
|
412
|
+
# `include_context`:
|
413
|
+
#
|
414
|
+
# RSpec.describe "My model" do
|
415
|
+
# include_context "uses DB"
|
416
|
+
# end
|
417
|
+
#
|
418
|
+
# ...or you can configure RSpec to include the context based on matching metadata
|
419
|
+
# using an API that mirrors configured module inclusion:
|
420
|
+
#
|
421
|
+
# RSpec.configure do |rspec|
|
422
|
+
# rspec.include_context "uses DB", :db => true
|
423
|
+
# end
|
424
|
+
#
|
425
|
+
# `:apply_to_host_groups` is a new feature of RSpec 3.5 and will be the only
|
426
|
+
# supported behavior in RSpec 4.
|
427
|
+
#
|
428
|
+
# @overload shared_context_metadata_behavior
|
429
|
+
# @return [:trigger_inclusion, :apply_to_host_groups] the configured behavior
|
430
|
+
# @overload shared_context_metadata_behavior=(value)
|
431
|
+
# @param value [:trigger_inclusion, :apply_to_host_groups] sets the configured behavior
|
432
|
+
define_reader :shared_context_metadata_behavior
|
433
|
+
# @see shared_context_metadata_behavior
|
434
|
+
def shared_context_metadata_behavior=(value)
|
435
|
+
case value
|
436
|
+
when :trigger_inclusion, :apply_to_host_groups
|
437
|
+
@shared_context_metadata_behavior = value
|
438
|
+
else
|
439
|
+
raise ArgumentError, "Cannot set `RSpec.configuration." \
|
440
|
+
"shared_context_metadata_behavior` to `#{value.inspect}`. Only " \
|
441
|
+
"`:trigger_inclusion` and `:apply_to_host_groups` are valid values."
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
# Record the start time of the spec suite to measure load time.
|
446
|
+
# return [Time]
|
447
|
+
add_setting :start_time
|
448
|
+
|
449
|
+
# @macro add_setting
|
450
|
+
# Use threadsafe options where available.
|
451
|
+
# Currently this will place a mutex around memoized values such as let blocks.
|
452
|
+
# return [Boolean]
|
453
|
+
add_setting :threadsafe
|
454
|
+
|
455
|
+
# @macro add_setting
|
456
|
+
# Maximum count of failed source lines to display in the failure reports.
|
457
|
+
# (default `10`).
|
458
|
+
# return [Integer]
|
459
|
+
add_setting :max_displayed_failure_line_count
|
460
|
+
|
461
|
+
# Determines which bisect runner implementation gets used to run subsets
|
462
|
+
# of the suite during a bisection. Your choices are:
|
463
|
+
#
|
464
|
+
# - `:shell`: Performs a spec run by shelling out, booting RSpec and your
|
465
|
+
# application environment each time. This runner is the most widely
|
466
|
+
# compatible runner, but is not as fast. On platforms that do not
|
467
|
+
# support forking, this is the default.
|
468
|
+
# - `:fork`: Pre-boots RSpec and your application environment in a parent
|
469
|
+
# process, and then forks a child process for each spec run. This runner
|
470
|
+
# tends to be significantly faster than the `:shell` runner but cannot
|
471
|
+
# be used in some situations. On platforms that support forking, this
|
472
|
+
# is the default. If you use this runner, you should ensure that all
|
473
|
+
# of your one-time setup logic goes in a `before(:suite)` hook instead
|
474
|
+
# of getting run at the top-level of a file loaded by `--require`.
|
475
|
+
#
|
476
|
+
# @note This option will only be used by `--bisect` if you set it in a file
|
477
|
+
# loaded via `--require`.
|
478
|
+
#
|
479
|
+
# @return [Symbol]
|
480
|
+
attr_reader :bisect_runner
|
481
|
+
def bisect_runner=(value)
|
482
|
+
if @bisect_runner_class && value != @bisect_runner
|
483
|
+
raise "`config.bisect_runner = #{value.inspect}` can no longer take " \
|
484
|
+
"effect as the #{@bisect_runner.inspect} bisect runnner is already " \
|
485
|
+
"in use. This config setting must be set in a file loaded by a " \
|
486
|
+
"`--require` option (passed at the CLI or in a `.rspec` file) for " \
|
487
|
+
"it to have any effect."
|
488
|
+
end
|
489
|
+
|
490
|
+
@bisect_runner = value
|
491
|
+
end
|
492
|
+
|
493
|
+
# @private
|
494
|
+
# @deprecated Use {#color_mode} = :on, instead of {#color} with {#tty}
|
495
|
+
add_setting :tty
|
496
|
+
# @private
|
497
|
+
attr_writer :files_to_run
|
498
|
+
# @private
|
499
|
+
attr_accessor :filter_manager, :world
|
500
|
+
# @private
|
501
|
+
attr_accessor :static_config_filter_manager
|
502
|
+
# @private
|
503
|
+
attr_reader :backtrace_formatter, :ordering_manager, :loaded_spec_files
|
504
|
+
|
505
|
+
# rubocop:disable Metrics/AbcSize, Metrics/MethodLength
|
506
|
+
|
507
|
+
# Build an object to store runtime configuration options and set defaults
|
508
|
+
def initialize
|
509
|
+
# rubocop:disable Style/GlobalVars
|
510
|
+
@start_time = $_rspec_core_load_started_at || ::RSpec::Core::Time.now
|
511
|
+
# rubocop:enable Style/GlobalVars
|
512
|
+
@expectation_frameworks = []
|
513
|
+
@include_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
514
|
+
@extend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
515
|
+
@prepend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
|
516
|
+
|
517
|
+
@bisect_runner = RSpec::Support::RubyFeatures.fork_supported? ? :fork : :shell
|
518
|
+
@bisect_runner_class = nil
|
519
|
+
|
520
|
+
@before_suite_hooks = []
|
521
|
+
@after_suite_hooks = []
|
522
|
+
|
523
|
+
@mock_framework = nil
|
524
|
+
@files_or_directories_to_run = []
|
525
|
+
@loaded_spec_files = Set.new
|
526
|
+
@color = false
|
527
|
+
@color_mode = :automatic
|
528
|
+
@pattern = '**{,/*/**}/*_spec.rb'
|
529
|
+
@exclude_pattern = ''
|
530
|
+
@failure_exit_code = 1
|
531
|
+
@error_exit_code = nil # so it can be overridden by failure exit code
|
532
|
+
@fail_if_no_examples = false
|
533
|
+
@spec_files_loaded = false
|
534
|
+
|
535
|
+
@backtrace_formatter = BacktraceFormatter.new
|
536
|
+
|
537
|
+
@default_path = 'spec'
|
538
|
+
@project_source_dirs = %w[ spec lib app ]
|
539
|
+
@deprecation_stream = $stderr
|
540
|
+
@output_stream = $stdout
|
541
|
+
@reporter = nil
|
542
|
+
@reporter_buffer = nil
|
543
|
+
@filter_manager = FilterManager.new
|
544
|
+
@static_config_filter_manager = FilterManager.new
|
545
|
+
@ordering_manager = Ordering::ConfigurationManager.new
|
546
|
+
@preferred_options = {}
|
547
|
+
@failure_color = :red
|
548
|
+
@success_color = :green
|
549
|
+
@pending_color = :yellow
|
550
|
+
@default_color = :white
|
551
|
+
@fixed_color = :blue
|
552
|
+
@detail_color = :cyan
|
553
|
+
@profile_examples = false
|
554
|
+
@requires = []
|
555
|
+
@libs = []
|
556
|
+
@derived_metadata_blocks = FilterableItemRepository::QueryOptimized.new(:any?)
|
557
|
+
@threadsafe = true
|
558
|
+
@max_displayed_failure_line_count = 10
|
559
|
+
@world = World::Null
|
560
|
+
@shared_context_metadata_behavior = :trigger_inclusion
|
561
|
+
|
562
|
+
define_built_in_hooks
|
563
|
+
end
|
564
|
+
# rubocop:enable Metrics/MethodLength, Metrics/AbcSize
|
565
|
+
|
566
|
+
# @private
|
567
|
+
#
|
568
|
+
# Used to set higher priority option values from the command line.
|
569
|
+
def force(hash)
|
570
|
+
ordering_manager.force(hash)
|
571
|
+
@preferred_options.merge!(hash)
|
572
|
+
|
573
|
+
return unless hash.key?(:example_status_persistence_file_path)
|
574
|
+
clear_values_derived_from_example_status_persistence_file_path
|
575
|
+
end
|
576
|
+
|
577
|
+
# @private
|
578
|
+
def reset
|
579
|
+
@spec_files_loaded = false
|
580
|
+
reset_reporter
|
581
|
+
end
|
582
|
+
|
583
|
+
# @private
|
584
|
+
def reset_reporter
|
585
|
+
@reporter = nil
|
586
|
+
@formatter_loader = nil
|
587
|
+
@output_wrapper = nil
|
588
|
+
end
|
589
|
+
|
590
|
+
# @private
|
591
|
+
def reset_filters
|
592
|
+
self.filter_manager = FilterManager.new
|
593
|
+
filter_manager.include_only(
|
594
|
+
Metadata.deep_hash_dup(static_config_filter_manager.inclusions.rules)
|
595
|
+
)
|
596
|
+
filter_manager.exclude_only(
|
597
|
+
Metadata.deep_hash_dup(static_config_filter_manager.exclusions.rules)
|
598
|
+
)
|
599
|
+
end
|
600
|
+
|
601
|
+
# @overload add_setting(name)
|
602
|
+
# @overload add_setting(name, opts)
|
603
|
+
# @option opts [Symbol] :default
|
604
|
+
#
|
605
|
+
# Set a default value for the generated getter and predicate methods:
|
606
|
+
#
|
607
|
+
# add_setting(:foo, :default => "default value")
|
608
|
+
#
|
609
|
+
# @option opts [Symbol] :alias_with
|
610
|
+
#
|
611
|
+
# Use `:alias_with` to alias the setter, getter, and predicate to
|
612
|
+
# another name, or names:
|
613
|
+
#
|
614
|
+
# add_setting(:foo, :alias_with => :bar)
|
615
|
+
# add_setting(:foo, :alias_with => [:bar, :baz])
|
616
|
+
#
|
617
|
+
# Adds a custom setting to the RSpec.configuration object.
|
618
|
+
#
|
619
|
+
# RSpec.configuration.add_setting :foo
|
620
|
+
#
|
621
|
+
# Used internally and by extension frameworks like rspec-rails, so they
|
622
|
+
# can add config settings that are domain specific. For example:
|
623
|
+
#
|
624
|
+
# RSpec.configure do |c|
|
625
|
+
# c.add_setting :use_transactional_fixtures,
|
626
|
+
# :default => true,
|
627
|
+
# :alias_with => :use_transactional_examples
|
628
|
+
# end
|
629
|
+
#
|
630
|
+
# `add_setting` creates three methods on the configuration object, a
|
631
|
+
# setter, a getter, and a predicate:
|
632
|
+
#
|
633
|
+
# RSpec.configuration.foo=(value)
|
634
|
+
# RSpec.configuration.foo
|
635
|
+
# RSpec.configuration.foo? # Returns true if foo returns anything but nil or false.
|
636
|
+
def add_setting(name, opts={})
|
637
|
+
default = opts.delete(:default)
|
638
|
+
(class << self; self; end).class_exec do
|
639
|
+
add_setting(name, opts)
|
640
|
+
end
|
641
|
+
__send__("#{name}=", default) if default
|
642
|
+
end
|
643
|
+
|
644
|
+
# Returns the configured mock framework adapter module.
|
645
|
+
# @return [Symbol]
|
646
|
+
def mock_framework
|
647
|
+
if @mock_framework.nil?
|
648
|
+
begin
|
649
|
+
mock_with :rspec
|
650
|
+
rescue LoadError
|
651
|
+
mock_with :nothing
|
652
|
+
end
|
653
|
+
end
|
654
|
+
@mock_framework
|
655
|
+
end
|
656
|
+
|
657
|
+
# Delegates to mock_framework=(framework).
|
658
|
+
def mock_framework=(framework)
|
659
|
+
mock_with framework
|
660
|
+
end
|
661
|
+
|
662
|
+
# Regexps used to exclude lines from backtraces.
|
663
|
+
#
|
664
|
+
# Excludes lines from ruby (and jruby) source, installed gems, anything
|
665
|
+
# in any "bin" directory, and any of the RSpec libs (outside gem
|
666
|
+
# installs) by default.
|
667
|
+
#
|
668
|
+
# You can modify the list via the getter, or replace it with the setter.
|
669
|
+
#
|
670
|
+
# To override this behaviour and display a full backtrace, use
|
671
|
+
# `--backtrace` on the command line, in a `.rspec` file, or in the
|
672
|
+
# `rspec_options` attribute of RSpec's rake task.
|
673
|
+
# @return [Array<Regexp>]
|
674
|
+
def backtrace_exclusion_patterns
|
675
|
+
@backtrace_formatter.exclusion_patterns
|
676
|
+
end
|
677
|
+
|
678
|
+
# Set regular expressions used to exclude lines in backtrace.
|
679
|
+
# @param patterns [Array<Regexp>] set backtrace_formatter exlusion_patterns
|
680
|
+
def backtrace_exclusion_patterns=(patterns)
|
681
|
+
@backtrace_formatter.exclusion_patterns = patterns
|
682
|
+
end
|
683
|
+
|
684
|
+
# Regexps used to include lines in backtraces.
|
685
|
+
#
|
686
|
+
# Defaults to [Regexp.new Dir.getwd].
|
687
|
+
#
|
688
|
+
# Lines that match an exclusion _and_ an inclusion pattern
|
689
|
+
# will be included.
|
690
|
+
#
|
691
|
+
# You can modify the list via the getter, or replace it with the setter.
|
692
|
+
# @return [Array<Regexp>]
|
693
|
+
def backtrace_inclusion_patterns
|
694
|
+
@backtrace_formatter.inclusion_patterns
|
695
|
+
end
|
696
|
+
|
697
|
+
# Set regular expressions used to include lines in backtrace.
|
698
|
+
# @attr patterns [Array<Regexp>] set backtrace_formatter inclusion_patterns
|
699
|
+
def backtrace_inclusion_patterns=(patterns)
|
700
|
+
@backtrace_formatter.inclusion_patterns = patterns
|
701
|
+
end
|
702
|
+
|
703
|
+
# Adds {#backtrace_exclusion_patterns} that will filter lines from
|
704
|
+
# the named gems from backtraces.
|
705
|
+
#
|
706
|
+
# @param gem_names [Array<String>] Names of the gems to filter
|
707
|
+
#
|
708
|
+
# @example
|
709
|
+
# RSpec.configure do |config|
|
710
|
+
# config.filter_gems_from_backtrace "rack", "rake"
|
711
|
+
# end
|
712
|
+
#
|
713
|
+
# @note The patterns this adds will match the named gems in their common
|
714
|
+
# locations (e.g. system gems, vendored with bundler, installed as a
|
715
|
+
# :git dependency with bundler, etc) but is not guaranteed to work for
|
716
|
+
# all possible gem locations. For example, if you have the gem source
|
717
|
+
# in a directory with a completely unrelated name, and use bundler's
|
718
|
+
# :path option, this will not filter it.
|
719
|
+
def filter_gems_from_backtrace(*gem_names)
|
720
|
+
gem_names.each do |name|
|
721
|
+
@backtrace_formatter.filter_gem(name)
|
722
|
+
end
|
723
|
+
end
|
724
|
+
|
725
|
+
# @private
|
726
|
+
MOCKING_ADAPTERS = {
|
727
|
+
:rspec => :RSpec,
|
728
|
+
:flexmock => :Flexmock,
|
729
|
+
:rr => :RR,
|
730
|
+
:mocha => :Mocha,
|
731
|
+
:nothing => :Null
|
732
|
+
}
|
733
|
+
|
734
|
+
# Sets the mock framework adapter module.
|
735
|
+
#
|
736
|
+
# `framework` can be a Symbol or a Module.
|
737
|
+
#
|
738
|
+
# Given any of `:rspec`, `:mocha`, `:flexmock`, or `:rr`, configures the
|
739
|
+
# named framework.
|
740
|
+
#
|
741
|
+
# Given `:nothing`, configures no framework. Use this if you don't use
|
742
|
+
# any mocking framework to save a little bit of overhead.
|
743
|
+
#
|
744
|
+
# Given a Module, includes that module in every example group. The module
|
745
|
+
# should adhere to RSpec's mock framework adapter API:
|
746
|
+
#
|
747
|
+
# setup_mocks_for_rspec
|
748
|
+
# - called before each example
|
749
|
+
#
|
750
|
+
# verify_mocks_for_rspec
|
751
|
+
# - called after each example if the example hasn't yet failed.
|
752
|
+
# Framework should raise an exception when expectations fail
|
753
|
+
#
|
754
|
+
# teardown_mocks_for_rspec
|
755
|
+
# - called after verify_mocks_for_rspec (even if there are errors)
|
756
|
+
#
|
757
|
+
# If the module responds to `configuration` and `mock_with` receives a
|
758
|
+
# block, it will yield the configuration object to the block e.g.
|
759
|
+
#
|
760
|
+
# config.mock_with OtherMockFrameworkAdapter do |mod_config|
|
761
|
+
# mod_config.custom_setting = true
|
762
|
+
# end
|
763
|
+
def mock_with(framework)
|
764
|
+
framework_module =
|
765
|
+
if framework.is_a?(Module)
|
766
|
+
framework
|
767
|
+
else
|
768
|
+
const_name = MOCKING_ADAPTERS.fetch(framework) do
|
769
|
+
raise ArgumentError,
|
770
|
+
"Unknown mocking framework: #{framework.inspect}. " \
|
771
|
+
"Pass a module or one of #{MOCKING_ADAPTERS.keys.inspect}"
|
772
|
+
end
|
773
|
+
|
774
|
+
RSpec::Support.require_rspec_core "mocking_adapters/#{const_name.to_s.downcase}"
|
775
|
+
RSpec::Core::MockingAdapters.const_get(const_name)
|
776
|
+
end
|
777
|
+
|
778
|
+
new_name, old_name = [framework_module, @mock_framework].map do |mod|
|
779
|
+
mod.respond_to?(:framework_name) ? mod.framework_name : :unnamed
|
780
|
+
end
|
781
|
+
|
782
|
+
unless new_name == old_name
|
783
|
+
assert_no_example_groups_defined(:mock_framework)
|
784
|
+
end
|
785
|
+
|
786
|
+
if block_given?
|
787
|
+
raise "#{framework_module} must respond to `configuration` so that " \
|
788
|
+
"mock_with can yield it." unless framework_module.respond_to?(:configuration)
|
789
|
+
yield framework_module.configuration
|
790
|
+
end
|
791
|
+
|
792
|
+
@mock_framework = framework_module
|
793
|
+
end
|
794
|
+
|
795
|
+
# Returns the configured expectation framework adapter module(s)
|
796
|
+
def expectation_frameworks
|
797
|
+
if @expectation_frameworks.empty?
|
798
|
+
begin
|
799
|
+
expect_with :rspec
|
800
|
+
rescue LoadError
|
801
|
+
expect_with Module.new
|
802
|
+
end
|
803
|
+
end
|
804
|
+
@expectation_frameworks
|
805
|
+
end
|
806
|
+
|
807
|
+
# Delegates to expect_with(framework).
|
808
|
+
def expectation_framework=(framework)
|
809
|
+
expect_with(framework)
|
810
|
+
end
|
811
|
+
|
812
|
+
# Sets the expectation framework module(s) to be included in each example
|
813
|
+
# group.
|
814
|
+
#
|
815
|
+
# `frameworks` can be `:rspec`, `:test_unit`, `:minitest`, a custom
|
816
|
+
# module, or any combination thereof:
|
817
|
+
#
|
818
|
+
# config.expect_with :rspec
|
819
|
+
# config.expect_with :test_unit
|
820
|
+
# config.expect_with :minitest
|
821
|
+
# config.expect_with :rspec, :minitest
|
822
|
+
# config.expect_with OtherExpectationFramework
|
823
|
+
#
|
824
|
+
# RSpec will translate `:rspec`, `:minitest`, and `:test_unit` into the
|
825
|
+
# appropriate modules.
|
826
|
+
#
|
827
|
+
# ## Configuration
|
828
|
+
#
|
829
|
+
# If the module responds to `configuration`, `expect_with` will
|
830
|
+
# yield the `configuration` object if given a block:
|
831
|
+
#
|
832
|
+
# config.expect_with OtherExpectationFramework do |custom_config|
|
833
|
+
# custom_config.custom_setting = true
|
834
|
+
# end
|
835
|
+
def expect_with(*frameworks)
|
836
|
+
modules = frameworks.map do |framework|
|
837
|
+
case framework
|
838
|
+
when Module
|
839
|
+
framework
|
840
|
+
when :rspec
|
841
|
+
require 'rspec/expectations'
|
842
|
+
|
843
|
+
# Tag this exception class so our exception formatting logic knows
|
844
|
+
# that it satisfies the `MultipleExceptionError` interface.
|
845
|
+
::RSpec::Expectations::MultipleExpectationsNotMetError.__send__(
|
846
|
+
:include, MultipleExceptionError::InterfaceTag
|
847
|
+
)
|
848
|
+
|
849
|
+
::RSpec::Matchers
|
850
|
+
when :test_unit
|
851
|
+
require 'rspec/core/test_unit_assertions_adapter'
|
852
|
+
::RSpec::Core::TestUnitAssertionsAdapter
|
853
|
+
when :minitest
|
854
|
+
require 'rspec/core/minitest_assertions_adapter'
|
855
|
+
::RSpec::Core::MinitestAssertionsAdapter
|
856
|
+
else
|
857
|
+
raise ArgumentError, "#{framework.inspect} is not supported"
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
861
|
+
if (modules - @expectation_frameworks).any?
|
862
|
+
assert_no_example_groups_defined(:expect_with)
|
863
|
+
end
|
864
|
+
|
865
|
+
if block_given?
|
866
|
+
raise "expect_with only accepts a block with a single argument. " \
|
867
|
+
"Call expect_with #{modules.length} times, " \
|
868
|
+
"once with each argument, instead." if modules.length > 1
|
869
|
+
raise "#{modules.first} must respond to `configuration` so that " \
|
870
|
+
"expect_with can yield it." unless modules.first.respond_to?(:configuration)
|
871
|
+
yield modules.first.configuration
|
872
|
+
end
|
873
|
+
|
874
|
+
@expectation_frameworks.push(*modules)
|
875
|
+
end
|
876
|
+
|
877
|
+
# Check if full backtrace is enabled.
|
878
|
+
# @return [Boolean] is full backtrace enabled
|
879
|
+
def full_backtrace?
|
880
|
+
@backtrace_formatter.full_backtrace?
|
881
|
+
end
|
882
|
+
|
883
|
+
# Toggle full backtrace.
|
884
|
+
# @attr true_or_false [Boolean] toggle full backtrace display
|
885
|
+
def full_backtrace=(true_or_false)
|
886
|
+
@backtrace_formatter.full_backtrace = true_or_false
|
887
|
+
end
|
888
|
+
|
889
|
+
# Enables color output if the output is a TTY. As of RSpec 3.6, this is
|
890
|
+
# the default behavior and this option is retained only for backwards
|
891
|
+
# compatibility.
|
892
|
+
#
|
893
|
+
# @deprecated No longer recommended because of complex behavior. Instead,
|
894
|
+
# rely on the fact that TTYs will display color by default, or set
|
895
|
+
# {#color_mode} to :on to display color on a non-TTY output.
|
896
|
+
# @see color_mode
|
897
|
+
# @see color_enabled?
|
898
|
+
# @return [Boolean]
|
899
|
+
def color
|
900
|
+
value_for(:color) { @color }
|
901
|
+
end
|
902
|
+
|
903
|
+
# The mode for determining whether to display output in color. One of:
|
904
|
+
#
|
905
|
+
# - :automatic - the output will be in color if the output is a TTY (the
|
906
|
+
# default)
|
907
|
+
# - :on - the output will be in color, whether or not the output is a TTY
|
908
|
+
# - :off - the output will not be in color
|
909
|
+
#
|
910
|
+
# @see color_enabled?
|
911
|
+
# @return [Boolean]
|
912
|
+
def color_mode
|
913
|
+
value_for(:color_mode) { @color_mode }
|
914
|
+
end
|
915
|
+
|
916
|
+
# Check if color is enabled for a particular output.
|
917
|
+
# @param output [IO] an output stream to use, defaults to the current
|
918
|
+
# `output_stream`
|
919
|
+
# @return [Boolean]
|
920
|
+
def color_enabled?(output=output_stream)
|
921
|
+
case color_mode
|
922
|
+
when :on then true
|
923
|
+
when :off then false
|
924
|
+
else # automatic
|
925
|
+
output_to_tty?(output) || (color && tty?)
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
# Set the color mode.
|
930
|
+
attr_writer :color_mode
|
931
|
+
|
932
|
+
# Toggle output color.
|
933
|
+
#
|
934
|
+
# @deprecated No longer recommended because of complex behavior. Instead,
|
935
|
+
# rely on the fact that TTYs will display color by default, or set
|
936
|
+
# {:color_mode} to :on to display color on a non-TTY output.
|
937
|
+
attr_writer :color
|
938
|
+
|
939
|
+
# @private
|
940
|
+
def libs=(libs)
|
941
|
+
libs.map do |lib|
|
942
|
+
@libs.unshift lib
|
943
|
+
$LOAD_PATH.unshift lib
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
# Run examples matching on `description` in all files to run.
|
948
|
+
# @param description [String, Regexp] the pattern to filter on
|
949
|
+
def full_description=(description)
|
950
|
+
filter_run :full_description => Regexp.union(*Array(description).map { |d| Regexp.new(d) })
|
951
|
+
end
|
952
|
+
|
953
|
+
# @return [Array] full description filter
|
954
|
+
def full_description
|
955
|
+
filter.fetch :full_description, nil
|
956
|
+
end
|
957
|
+
|
958
|
+
# @overload add_formatter(formatter)
|
959
|
+
# @overload add_formatter(formatter, output)
|
960
|
+
#
|
961
|
+
# @param formatter [Class, String, Object] formatter to use. Can be any of the
|
962
|
+
# string values supported from the CLI (`p`/`progress`,
|
963
|
+
# `d`/`doc`/`documentation`, `h`/`html`, or `j`/`json`), any
|
964
|
+
# class that implements the formatter protocol and has registered
|
965
|
+
# itself with RSpec as a formatter, or a formatter instance.
|
966
|
+
# @param output [String, IO] where the formatter will write its output.
|
967
|
+
# Can be an IO object or a string path to a file. If not provided,
|
968
|
+
# the configured `output_stream` (`$stdout`, by default) will be used.
|
969
|
+
#
|
970
|
+
# Adds a formatter to the set RSpec will use for this run.
|
971
|
+
#
|
972
|
+
# @see RSpec::Core::Formatters::Protocol
|
973
|
+
def add_formatter(formatter, output=output_wrapper)
|
974
|
+
formatter_loader.add(formatter, output)
|
975
|
+
end
|
976
|
+
alias_method :formatter=, :add_formatter
|
977
|
+
|
978
|
+
# The formatter that will be used if no formatter has been set.
|
979
|
+
# Defaults to 'progress'.
|
980
|
+
def default_formatter
|
981
|
+
formatter_loader.default_formatter
|
982
|
+
end
|
983
|
+
|
984
|
+
# Sets a fallback formatter to use if none other has been set.
|
985
|
+
#
|
986
|
+
# @example
|
987
|
+
#
|
988
|
+
# RSpec.configure do |rspec|
|
989
|
+
# rspec.default_formatter = 'doc'
|
990
|
+
# end
|
991
|
+
def default_formatter=(value)
|
992
|
+
formatter_loader.default_formatter = value
|
993
|
+
end
|
994
|
+
|
995
|
+
# Returns a duplicate of the formatters currently loaded in
|
996
|
+
# the `FormatterLoader` for introspection.
|
997
|
+
#
|
998
|
+
# Note as this is a duplicate, any mutations will be disregarded.
|
999
|
+
#
|
1000
|
+
# @return [Array] the formatters currently loaded
|
1001
|
+
def formatters
|
1002
|
+
formatter_loader.formatters.dup
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# @private
|
1006
|
+
def formatter_loader
|
1007
|
+
@formatter_loader ||= Formatters::Loader.new(Reporter.new(self))
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
# @private
|
1011
|
+
#
|
1012
|
+
# This buffer is used to capture all messages sent to the reporter during
|
1013
|
+
# reporter initialization. It can then replay those messages after the
|
1014
|
+
# formatter is correctly initialized. Otherwise, deprecation warnings
|
1015
|
+
# during formatter initialization can cause an infinite loop.
|
1016
|
+
class DeprecationReporterBuffer
|
1017
|
+
def initialize
|
1018
|
+
@calls = []
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
def deprecation(*args)
|
1022
|
+
@calls << args
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
def play_onto(reporter)
|
1026
|
+
@calls.each do |args|
|
1027
|
+
reporter.deprecation(*args)
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
# @return [RSpec::Core::Reporter] the currently configured reporter
|
1033
|
+
def reporter
|
1034
|
+
# @reporter_buffer should only ever be set in this method to cover
|
1035
|
+
# initialization of @reporter.
|
1036
|
+
@reporter_buffer || @reporter ||=
|
1037
|
+
begin
|
1038
|
+
@reporter_buffer = DeprecationReporterBuffer.new
|
1039
|
+
formatter_loader.prepare_default output_wrapper, deprecation_stream
|
1040
|
+
@reporter_buffer.play_onto(formatter_loader.reporter)
|
1041
|
+
@reporter_buffer = nil
|
1042
|
+
formatter_loader.reporter
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# @api private
|
1047
|
+
#
|
1048
|
+
# Defaults `profile_examples` to 10 examples when `@profile_examples` is
|
1049
|
+
# `true`.
|
1050
|
+
def profile_examples
|
1051
|
+
profile = value_for(:profile_examples) { @profile_examples }
|
1052
|
+
if profile && !profile.is_a?(Integer)
|
1053
|
+
10
|
1054
|
+
else
|
1055
|
+
profile
|
1056
|
+
end
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# @private
|
1060
|
+
def files_or_directories_to_run=(*files)
|
1061
|
+
files = files.flatten
|
1062
|
+
|
1063
|
+
if (command == 'rspec' || Runner.running_in_drb?) && default_path && files.empty?
|
1064
|
+
files << default_path
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
@files_or_directories_to_run = files
|
1068
|
+
@files_to_run = nil
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
# The spec files RSpec will run.
|
1072
|
+
# @return [Array] specified files about to run
|
1073
|
+
def files_to_run
|
1074
|
+
@files_to_run ||= get_files_to_run(@files_or_directories_to_run)
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# @private
|
1078
|
+
def last_run_statuses
|
1079
|
+
@last_run_statuses ||= Hash.new(UNKNOWN_STATUS).tap do |statuses|
|
1080
|
+
if (path = example_status_persistence_file_path)
|
1081
|
+
begin
|
1082
|
+
ExampleStatusPersister.load_from(path).inject(statuses) do |hash, example|
|
1083
|
+
status = example[:status]
|
1084
|
+
status = UNKNOWN_STATUS unless VALID_STATUSES.include?(status)
|
1085
|
+
hash[example.fetch(:example_id)] = status
|
1086
|
+
hash
|
1087
|
+
end
|
1088
|
+
rescue SystemCallError => e
|
1089
|
+
RSpec.warning "Could not read from #{path.inspect} (configured as " \
|
1090
|
+
"`config.example_status_persistence_file_path`) due " \
|
1091
|
+
"to a system error: #{e.inspect}. Please check that " \
|
1092
|
+
"the config option is set to an accessible, valid " \
|
1093
|
+
"file path", :call_site => nil
|
1094
|
+
end
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# @private
|
1100
|
+
UNKNOWN_STATUS = "unknown".freeze
|
1101
|
+
|
1102
|
+
# @private
|
1103
|
+
FAILED_STATUS = "failed".freeze
|
1104
|
+
|
1105
|
+
# @private
|
1106
|
+
PASSED_STATUS = "passed".freeze
|
1107
|
+
|
1108
|
+
# @private
|
1109
|
+
PENDING_STATUS = "pending".freeze
|
1110
|
+
|
1111
|
+
# @private
|
1112
|
+
VALID_STATUSES = [UNKNOWN_STATUS, FAILED_STATUS, PASSED_STATUS, PENDING_STATUS]
|
1113
|
+
|
1114
|
+
# @private
|
1115
|
+
def spec_files_with_failures
|
1116
|
+
@spec_files_with_failures ||= last_run_statuses.inject(Set.new) do |files, (id, status)|
|
1117
|
+
files << Example.parse_id(id).first if status == FAILED_STATUS
|
1118
|
+
files
|
1119
|
+
end.to_a
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# Creates a method that delegates to `example` including the submitted
|
1123
|
+
# `args`. Used internally to add variants of `example` like `pending`:
|
1124
|
+
# @param name [String] example name alias
|
1125
|
+
# @param args [Array<Symbol>, Hash] metadata for the generated example
|
1126
|
+
#
|
1127
|
+
# @note The specific example alias below (`pending`) is already
|
1128
|
+
# defined for you.
|
1129
|
+
# @note Use with caution. This extends the language used in your
|
1130
|
+
# specs, but does not add any additional documentation. We use this
|
1131
|
+
# in RSpec to define methods like `focus` and `xit`, but we also add
|
1132
|
+
# docs for those methods.
|
1133
|
+
#
|
1134
|
+
# @example
|
1135
|
+
# RSpec.configure do |config|
|
1136
|
+
# config.alias_example_to :pending, :pending => true
|
1137
|
+
# end
|
1138
|
+
#
|
1139
|
+
# # This lets you do this:
|
1140
|
+
#
|
1141
|
+
# RSpec.describe Thing do
|
1142
|
+
# pending "does something" do
|
1143
|
+
# thing = Thing.new
|
1144
|
+
# end
|
1145
|
+
# end
|
1146
|
+
#
|
1147
|
+
# # ... which is the equivalent of
|
1148
|
+
#
|
1149
|
+
# RSpec.describe Thing do
|
1150
|
+
# it "does something", :pending => true do
|
1151
|
+
# thing = Thing.new
|
1152
|
+
# end
|
1153
|
+
# end
|
1154
|
+
def alias_example_to(name, *args)
|
1155
|
+
extra_options = Metadata.build_hash_from(args)
|
1156
|
+
RSpec::Core::ExampleGroup.define_example_method(name, extra_options)
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# Creates a method that defines an example group with the provided
|
1160
|
+
# metadata. Can be used to define example group/metadata shortcuts.
|
1161
|
+
#
|
1162
|
+
# @example
|
1163
|
+
# RSpec.configure do |config|
|
1164
|
+
# config.alias_example_group_to :describe_model, :type => :model
|
1165
|
+
# end
|
1166
|
+
#
|
1167
|
+
# shared_context_for "model tests", :type => :model do
|
1168
|
+
# # define common model test helper methods, `let` declarations, etc
|
1169
|
+
# end
|
1170
|
+
#
|
1171
|
+
# # This lets you do this:
|
1172
|
+
#
|
1173
|
+
# RSpec.describe_model User do
|
1174
|
+
# end
|
1175
|
+
#
|
1176
|
+
# # ... which is the equivalent of
|
1177
|
+
#
|
1178
|
+
# RSpec.describe User, :type => :model do
|
1179
|
+
# end
|
1180
|
+
#
|
1181
|
+
# @note The defined aliased will also be added to the top level
|
1182
|
+
# (e.g. `main` and from within modules) if
|
1183
|
+
# `expose_dsl_globally` is set to true.
|
1184
|
+
# @see #alias_example_to
|
1185
|
+
# @see #expose_dsl_globally=
|
1186
|
+
def alias_example_group_to(new_name, *args)
|
1187
|
+
extra_options = Metadata.build_hash_from(args)
|
1188
|
+
RSpec::Core::ExampleGroup.define_example_group_method(new_name, extra_options)
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
# Define an alias for it_should_behave_like that allows different
|
1192
|
+
# language (like "it_has_behavior" or "it_behaves_like") to be
|
1193
|
+
# employed when including shared examples.
|
1194
|
+
#
|
1195
|
+
# @example
|
1196
|
+
# RSpec.configure do |config|
|
1197
|
+
# config.alias_it_behaves_like_to(:it_has_behavior, 'has behavior:')
|
1198
|
+
# end
|
1199
|
+
#
|
1200
|
+
# # allows the user to include a shared example group like:
|
1201
|
+
#
|
1202
|
+
# RSpec.describe Entity do
|
1203
|
+
# it_has_behavior 'sortability' do
|
1204
|
+
# let(:sortable) { Entity.new }
|
1205
|
+
# end
|
1206
|
+
# end
|
1207
|
+
#
|
1208
|
+
# # which is reported in the output as:
|
1209
|
+
# # Entity
|
1210
|
+
# # has behavior: sortability
|
1211
|
+
# # ...sortability examples here
|
1212
|
+
#
|
1213
|
+
# @note Use with caution. This extends the language used in your
|
1214
|
+
# specs, but does not add any additional documentation. We use this
|
1215
|
+
# in RSpec to define `it_should_behave_like` (for backward
|
1216
|
+
# compatibility), but we also add docs for that method.
|
1217
|
+
def alias_it_behaves_like_to(new_name, report_label='')
|
1218
|
+
RSpec::Core::ExampleGroup.define_nested_shared_group_method(new_name, report_label)
|
1219
|
+
end
|
1220
|
+
alias_method :alias_it_should_behave_like_to, :alias_it_behaves_like_to
|
1221
|
+
|
1222
|
+
# Adds key/value pairs to the `inclusion_filter`. If `args`
|
1223
|
+
# includes any symbols that are not part of the hash, each symbol
|
1224
|
+
# is treated as a key in the hash with the value `true`.
|
1225
|
+
#
|
1226
|
+
# ### Note
|
1227
|
+
#
|
1228
|
+
# Filters set using this method can be overridden from the command line
|
1229
|
+
# or config files (e.g. `.rspec`).
|
1230
|
+
#
|
1231
|
+
# @example
|
1232
|
+
# # Given this declaration.
|
1233
|
+
# describe "something", :foo => 'bar' do
|
1234
|
+
# # ...
|
1235
|
+
# end
|
1236
|
+
#
|
1237
|
+
# # Any of the following will include that group.
|
1238
|
+
# config.filter_run_including :foo => 'bar'
|
1239
|
+
# config.filter_run_including :foo => /^ba/
|
1240
|
+
# config.filter_run_including :foo => lambda {|v| v == 'bar'}
|
1241
|
+
# config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1242
|
+
#
|
1243
|
+
# # Given a proc with an arity of 1, the lambda is passed the value
|
1244
|
+
# # related to the key, e.g.
|
1245
|
+
# config.filter_run_including :foo => lambda {|v| v == 'bar'}
|
1246
|
+
#
|
1247
|
+
# # Given a proc with an arity of 2, the lambda is passed the value
|
1248
|
+
# # related to the key, and the metadata itself e.g.
|
1249
|
+
# config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1250
|
+
#
|
1251
|
+
# filter_run_including :foo # same as filter_run_including :foo => true
|
1252
|
+
def filter_run_including(*args)
|
1253
|
+
meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
|
1254
|
+
filter_manager.include_with_low_priority meta
|
1255
|
+
static_config_filter_manager.include_with_low_priority Metadata.deep_hash_dup(meta)
|
1256
|
+
end
|
1257
|
+
alias_method :filter_run, :filter_run_including
|
1258
|
+
|
1259
|
+
# Applies the provided filter only if any of examples match, in constrast
|
1260
|
+
# to {#filter_run}, which always applies even if no examples match, in
|
1261
|
+
# which case no examples will be run. This allows you to leave configured
|
1262
|
+
# filters in place that are intended only for temporary use. The most common
|
1263
|
+
# example is focus filtering: `config.filter_run_when_matching :focus`.
|
1264
|
+
# With that configured, you can temporarily focus an example or group
|
1265
|
+
# by tagging it with `:focus` metadata, or prefixing it with an `f`
|
1266
|
+
# (as in `fdescribe`, `fcontext` and `fit`) since those are aliases for
|
1267
|
+
# `describe`/`context`/`it` with `:focus` metadata.
|
1268
|
+
def filter_run_when_matching(*args)
|
1269
|
+
when_first_matching_example_defined(*args) do
|
1270
|
+
filter_run(*args)
|
1271
|
+
end
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
# Clears and reassigns the `inclusion_filter`. Set to `nil` if you don't
|
1275
|
+
# want any inclusion filter at all.
|
1276
|
+
#
|
1277
|
+
# ### Warning
|
1278
|
+
#
|
1279
|
+
# This overrides any inclusion filters/tags set on the command line or in
|
1280
|
+
# configuration files.
|
1281
|
+
def inclusion_filter=(filter)
|
1282
|
+
meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
|
1283
|
+
filter_manager.include_only meta
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
alias_method :filter=, :inclusion_filter=
|
1287
|
+
|
1288
|
+
# Returns the `inclusion_filter`. If none has been set, returns an empty
|
1289
|
+
# hash.
|
1290
|
+
def inclusion_filter
|
1291
|
+
filter_manager.inclusions
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
alias_method :filter, :inclusion_filter
|
1295
|
+
|
1296
|
+
# Adds key/value pairs to the `exclusion_filter`. If `args`
|
1297
|
+
# includes any symbols that are not part of the hash, each symbol
|
1298
|
+
# is treated as a key in the hash with the value `true`.
|
1299
|
+
#
|
1300
|
+
# ### Note
|
1301
|
+
#
|
1302
|
+
# Filters set using this method can be overridden from the command line
|
1303
|
+
# or config files (e.g. `.rspec`).
|
1304
|
+
#
|
1305
|
+
# @example
|
1306
|
+
# # Given this declaration.
|
1307
|
+
# describe "something", :foo => 'bar' do
|
1308
|
+
# # ...
|
1309
|
+
# end
|
1310
|
+
#
|
1311
|
+
# # Any of the following will exclude that group.
|
1312
|
+
# config.filter_run_excluding :foo => 'bar'
|
1313
|
+
# config.filter_run_excluding :foo => /^ba/
|
1314
|
+
# config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
|
1315
|
+
# config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1316
|
+
#
|
1317
|
+
# # Given a proc with an arity of 1, the lambda is passed the value
|
1318
|
+
# # related to the key, e.g.
|
1319
|
+
# config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
|
1320
|
+
#
|
1321
|
+
# # Given a proc with an arity of 2, the lambda is passed the value
|
1322
|
+
# # related to the key, and the metadata itself e.g.
|
1323
|
+
# config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
|
1324
|
+
#
|
1325
|
+
# filter_run_excluding :foo # same as filter_run_excluding :foo => true
|
1326
|
+
def filter_run_excluding(*args)
|
1327
|
+
meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
|
1328
|
+
filter_manager.exclude_with_low_priority meta
|
1329
|
+
static_config_filter_manager.exclude_with_low_priority Metadata.deep_hash_dup(meta)
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
# Clears and reassigns the `exclusion_filter`. Set to `nil` if you don't
|
1333
|
+
# want any exclusion filter at all.
|
1334
|
+
#
|
1335
|
+
# ### Warning
|
1336
|
+
#
|
1337
|
+
# This overrides any exclusion filters/tags set on the command line or in
|
1338
|
+
# configuration files.
|
1339
|
+
def exclusion_filter=(filter)
|
1340
|
+
meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
|
1341
|
+
filter_manager.exclude_only meta
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# Returns the `exclusion_filter`. If none has been set, returns an empty
|
1345
|
+
# hash.
|
1346
|
+
def exclusion_filter
|
1347
|
+
filter_manager.exclusions
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
# Tells RSpec to include `mod` in example groups. Methods defined in
|
1351
|
+
# `mod` are exposed to examples (not example groups). Use `filters` to
|
1352
|
+
# constrain the groups or examples in which to include the module.
|
1353
|
+
#
|
1354
|
+
# @example
|
1355
|
+
#
|
1356
|
+
# module AuthenticationHelpers
|
1357
|
+
# def login_as(user)
|
1358
|
+
# # ...
|
1359
|
+
# end
|
1360
|
+
# end
|
1361
|
+
#
|
1362
|
+
# module PreferencesHelpers
|
1363
|
+
# def preferences(user, preferences = {})
|
1364
|
+
# # ...
|
1365
|
+
# end
|
1366
|
+
# end
|
1367
|
+
#
|
1368
|
+
# module UserHelpers
|
1369
|
+
# def users(username)
|
1370
|
+
# # ...
|
1371
|
+
# end
|
1372
|
+
# end
|
1373
|
+
#
|
1374
|
+
# RSpec.configure do |config|
|
1375
|
+
# config.include(UserHelpers) # included in all groups
|
1376
|
+
#
|
1377
|
+
# # included in examples with `:preferences` metadata
|
1378
|
+
# config.include(PreferenceHelpers, :preferences)
|
1379
|
+
#
|
1380
|
+
# # included in examples with `:type => :request` metadata
|
1381
|
+
# config.include(AuthenticationHelpers, :type => :request)
|
1382
|
+
# end
|
1383
|
+
#
|
1384
|
+
# describe "edit profile", :preferences, :type => :request do
|
1385
|
+
# it "can be viewed by owning user" do
|
1386
|
+
# login_as preferences(users(:jdoe), :lang => 'es')
|
1387
|
+
# get "/profiles/jdoe"
|
1388
|
+
# assert_select ".username", :text => 'jdoe'
|
1389
|
+
# end
|
1390
|
+
# end
|
1391
|
+
#
|
1392
|
+
# @note Filtered module inclusions can also be applied to
|
1393
|
+
# individual examples that have matching metadata. Just like
|
1394
|
+
# Ruby's object model is that every object has a singleton class
|
1395
|
+
# which has only a single instance, RSpec's model is that every
|
1396
|
+
# example has a singleton example group containing just the one
|
1397
|
+
# example.
|
1398
|
+
#
|
1399
|
+
# @see #include_context
|
1400
|
+
# @see #extend
|
1401
|
+
# @see #prepend
|
1402
|
+
def include(mod, *filters)
|
1403
|
+
define_mixed_in_module(mod, filters, @include_modules, :include) do |group|
|
1404
|
+
safe_include(mod, group)
|
1405
|
+
end
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
# Tells RSpec to include the named shared example group in example groups.
|
1409
|
+
# Use `filters` to constrain the groups or examples in which to include
|
1410
|
+
# the example group.
|
1411
|
+
#
|
1412
|
+
# @example
|
1413
|
+
#
|
1414
|
+
# RSpec.shared_context "example admin user" do
|
1415
|
+
# let(:admin_user) { create_user(:admin) }
|
1416
|
+
# end
|
1417
|
+
#
|
1418
|
+
# RSpec.shared_context "example guest user" do
|
1419
|
+
# let(:guest_user) { create_user(:guest) }
|
1420
|
+
# end
|
1421
|
+
#
|
1422
|
+
# RSpec.configure do |config|
|
1423
|
+
# config.include_context "example guest user", :type => :request
|
1424
|
+
# config.include_context "example admin user", :admin, :type => :request
|
1425
|
+
# end
|
1426
|
+
#
|
1427
|
+
# RSpec.describe "The admin page", :type => :request do
|
1428
|
+
# it "can be viewed by admins", :admin do
|
1429
|
+
# login_with admin_user
|
1430
|
+
# get "/admin"
|
1431
|
+
# expect(response).to be_ok
|
1432
|
+
# end
|
1433
|
+
#
|
1434
|
+
# it "cannot be viewed by guests" do
|
1435
|
+
# login_with guest_user
|
1436
|
+
# get "/admin"
|
1437
|
+
# expect(response).to be_forbidden
|
1438
|
+
# end
|
1439
|
+
# end
|
1440
|
+
#
|
1441
|
+
# @note Filtered context inclusions can also be applied to
|
1442
|
+
# individual examples that have matching metadata. Just like
|
1443
|
+
# Ruby's object model is that every object has a singleton class
|
1444
|
+
# which has only a single instance, RSpec's model is that every
|
1445
|
+
# example has a singleton example group containing just the one
|
1446
|
+
# example.
|
1447
|
+
#
|
1448
|
+
# @see #include
|
1449
|
+
def include_context(shared_group_name, *filters)
|
1450
|
+
shared_module = world.shared_example_group_registry.find([:main], shared_group_name)
|
1451
|
+
include shared_module, *filters
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
# Tells RSpec to extend example groups with `mod`. Methods defined in
|
1455
|
+
# `mod` are exposed to example groups (not examples). Use `filters` to
|
1456
|
+
# constrain the groups to extend.
|
1457
|
+
#
|
1458
|
+
# Similar to `include`, but behavior is added to example groups, which
|
1459
|
+
# are classes, rather than the examples, which are instances of those
|
1460
|
+
# classes.
|
1461
|
+
#
|
1462
|
+
# @example
|
1463
|
+
#
|
1464
|
+
# module UiHelpers
|
1465
|
+
# def run_in_browser
|
1466
|
+
# # ...
|
1467
|
+
# end
|
1468
|
+
# end
|
1469
|
+
#
|
1470
|
+
# module PermissionHelpers
|
1471
|
+
# def define_permissions
|
1472
|
+
# # ...
|
1473
|
+
# end
|
1474
|
+
# end
|
1475
|
+
#
|
1476
|
+
# RSpec.configure do |config|
|
1477
|
+
# config.extend(UiHelpers, :type => :request)
|
1478
|
+
# config.extend(PermissionHelpers, :with_permissions, :type => :request)
|
1479
|
+
# end
|
1480
|
+
#
|
1481
|
+
# describe "edit profile", :with_permissions, :type => :request do
|
1482
|
+
# run_in_browser
|
1483
|
+
# define_permissions
|
1484
|
+
#
|
1485
|
+
# it "does stuff in the client" do
|
1486
|
+
# # ...
|
1487
|
+
# end
|
1488
|
+
# end
|
1489
|
+
#
|
1490
|
+
# @see #include
|
1491
|
+
# @see #prepend
|
1492
|
+
def extend(mod, *filters)
|
1493
|
+
define_mixed_in_module(mod, filters, @extend_modules, :extend) do |group|
|
1494
|
+
safe_extend(mod, group)
|
1495
|
+
end
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
if RSpec::Support::RubyFeatures.module_prepends_supported?
|
1499
|
+
# Tells RSpec to prepend example groups with `mod`. Methods defined in
|
1500
|
+
# `mod` are exposed to examples (not example groups). Use `filters` to
|
1501
|
+
# constrain the groups in which to prepend the module.
|
1502
|
+
#
|
1503
|
+
# Similar to `include`, but module is included before the example group's class
|
1504
|
+
# in the ancestor chain.
|
1505
|
+
#
|
1506
|
+
# @example
|
1507
|
+
#
|
1508
|
+
# module OverrideMod
|
1509
|
+
# def override_me
|
1510
|
+
# "overridden"
|
1511
|
+
# end
|
1512
|
+
# end
|
1513
|
+
#
|
1514
|
+
# RSpec.configure do |config|
|
1515
|
+
# config.prepend(OverrideMod, :method => :prepend)
|
1516
|
+
# end
|
1517
|
+
#
|
1518
|
+
# describe "overriding example's class", :method => :prepend do
|
1519
|
+
# it "finds the user" do
|
1520
|
+
# self.class.class_eval do
|
1521
|
+
# def override_me
|
1522
|
+
# end
|
1523
|
+
# end
|
1524
|
+
# override_me # => "overridden"
|
1525
|
+
# # ...
|
1526
|
+
# end
|
1527
|
+
# end
|
1528
|
+
#
|
1529
|
+
# @see #include
|
1530
|
+
# @see #extend
|
1531
|
+
def prepend(mod, *filters)
|
1532
|
+
define_mixed_in_module(mod, filters, @prepend_modules, :prepend) do |group|
|
1533
|
+
safe_prepend(mod, group)
|
1534
|
+
end
|
1535
|
+
end
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
# @private
|
1539
|
+
#
|
1540
|
+
# Used internally to extend a group with modules using `include`, `prepend` and/or
|
1541
|
+
# `extend`.
|
1542
|
+
def configure_group(group)
|
1543
|
+
group.hooks.register_globals(group, hooks)
|
1544
|
+
|
1545
|
+
configure_group_with group, @include_modules, :safe_include
|
1546
|
+
configure_group_with group, @extend_modules, :safe_extend
|
1547
|
+
configure_group_with group, @prepend_modules, :safe_prepend
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
# @private
|
1551
|
+
#
|
1552
|
+
# Used internally to extend the singleton class of a single example's
|
1553
|
+
# example group instance with modules using `include` and/or `extend`.
|
1554
|
+
def configure_example(example, example_hooks)
|
1555
|
+
example_hooks.register_global_singleton_context_hooks(example, hooks)
|
1556
|
+
singleton_group = example.example_group_instance.singleton_class
|
1557
|
+
|
1558
|
+
# We replace the metadata so that SharedExampleGroupModule#included
|
1559
|
+
# has access to the example's metadata[:location].
|
1560
|
+
singleton_group.with_replaced_metadata(example.metadata) do
|
1561
|
+
modules = @include_modules.items_for(example.metadata)
|
1562
|
+
modules.each do |mod|
|
1563
|
+
safe_include(mod, example.example_group_instance.singleton_class)
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
MemoizedHelpers.define_helpers_on(singleton_group) unless modules.empty?
|
1567
|
+
end
|
1568
|
+
end
|
1569
|
+
|
1570
|
+
# @private
|
1571
|
+
def requires=(paths)
|
1572
|
+
directories = ['lib', default_path].select { |p| File.directory? p }
|
1573
|
+
RSpec::Core::RubyProject.add_to_load_path(*directories)
|
1574
|
+
paths.each { |path| load_file_handling_errors(:require, path) }
|
1575
|
+
@requires += paths
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
# @private
|
1579
|
+
def in_project_source_dir_regex
|
1580
|
+
regexes = project_source_dirs.map do |dir|
|
1581
|
+
/\A#{Regexp.escape(File.expand_path(dir))}\//
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
Regexp.union(regexes)
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
# @private
|
1588
|
+
def configure_mock_framework
|
1589
|
+
RSpec::Core::ExampleGroup.__send__(:include, mock_framework)
|
1590
|
+
conditionally_disable_mocks_monkey_patching
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
# @private
|
1594
|
+
def configure_expectation_framework
|
1595
|
+
expectation_frameworks.each do |framework|
|
1596
|
+
RSpec::Core::ExampleGroup.__send__(:include, framework)
|
1597
|
+
end
|
1598
|
+
conditionally_disable_expectations_monkey_patching
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
# @private
|
1602
|
+
def load_spec_files
|
1603
|
+
# Note which spec files world is already aware of.
|
1604
|
+
# This is generally only needed for when the user runs
|
1605
|
+
# `ruby path/to/spec.rb` (and loads `rspec/autorun`) --
|
1606
|
+
# in that case, the spec file was loaded by `ruby` and
|
1607
|
+
# isn't loaded by us here so we only know about it because
|
1608
|
+
# of an example group being registered in it.
|
1609
|
+
world.registered_example_group_files.each do |f|
|
1610
|
+
loaded_spec_files << f # the registered files are already expended absolute paths
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
files_to_run.uniq.each do |f|
|
1614
|
+
file = File.expand_path(f)
|
1615
|
+
load_file_handling_errors(:load, file)
|
1616
|
+
loaded_spec_files << file
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
@spec_files_loaded = true
|
1620
|
+
end
|
1621
|
+
|
1622
|
+
# @private
|
1623
|
+
DEFAULT_FORMATTER = lambda { |string| string }
|
1624
|
+
|
1625
|
+
# Formats the docstring output using the block provided.
|
1626
|
+
#
|
1627
|
+
# @example
|
1628
|
+
# # This will strip the descriptions of both examples and example
|
1629
|
+
# # groups.
|
1630
|
+
# RSpec.configure do |config|
|
1631
|
+
# config.format_docstrings { |s| s.strip }
|
1632
|
+
# end
|
1633
|
+
def format_docstrings(&block)
|
1634
|
+
@format_docstrings_block = block_given? ? block : DEFAULT_FORMATTER
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
# @private
|
1638
|
+
def format_docstrings_block
|
1639
|
+
@format_docstrings_block ||= DEFAULT_FORMATTER
|
1640
|
+
end
|
1641
|
+
|
1642
|
+
# @private
|
1643
|
+
def self.delegate_to_ordering_manager(*methods)
|
1644
|
+
methods.each do |method|
|
1645
|
+
define_method method do |*args, &block|
|
1646
|
+
ordering_manager.__send__(method, *args, &block)
|
1647
|
+
end
|
1648
|
+
end
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
# @!method seed=(value)
|
1652
|
+
#
|
1653
|
+
# Sets the seed value and sets the default global ordering to random.
|
1654
|
+
delegate_to_ordering_manager :seed=
|
1655
|
+
|
1656
|
+
# @!method seed
|
1657
|
+
# Seed for random ordering (default: generated randomly each run).
|
1658
|
+
#
|
1659
|
+
# When you run specs with `--order random`, RSpec generates a random seed
|
1660
|
+
# for the randomization and prints it to the `output_stream` (assuming
|
1661
|
+
# you're using RSpec's built-in formatters). If you discover an ordering
|
1662
|
+
# dependency (i.e. examples fail intermittently depending on order), set
|
1663
|
+
# this (on Configuration or on the command line with `--seed`) to run
|
1664
|
+
# using the same seed while you debug the issue.
|
1665
|
+
#
|
1666
|
+
# We recommend, actually, that you use the command line approach so you
|
1667
|
+
# don't accidentally leave the seed encoded.
|
1668
|
+
delegate_to_ordering_manager :seed
|
1669
|
+
|
1670
|
+
# @!method order=(value)
|
1671
|
+
#
|
1672
|
+
# Sets the default global ordering strategy. By default this can be one
|
1673
|
+
# of `:defined`, `:random`, but is customizable through the
|
1674
|
+
# `register_ordering` API. If order is set to `'rand:<seed>'`,
|
1675
|
+
# the seed will also be set.
|
1676
|
+
#
|
1677
|
+
# @see #register_ordering
|
1678
|
+
delegate_to_ordering_manager :order=
|
1679
|
+
|
1680
|
+
# @!method register_ordering(name)
|
1681
|
+
#
|
1682
|
+
# Registers a named ordering strategy that can later be
|
1683
|
+
# used to order an example group's subgroups by adding
|
1684
|
+
# `:order => <name>` metadata to the example group.
|
1685
|
+
#
|
1686
|
+
# @param name [Symbol] The name of the ordering.
|
1687
|
+
# @yield Block that will order the given examples or example groups
|
1688
|
+
# @yieldparam list [Array<RSpec::Core::Example>,
|
1689
|
+
# Array<RSpec::Core::ExampleGroup>] The examples or groups to order
|
1690
|
+
# @yieldreturn [Array<RSpec::Core::Example>,
|
1691
|
+
# Array<RSpec::Core::ExampleGroup>] The re-ordered examples or groups
|
1692
|
+
#
|
1693
|
+
# @example
|
1694
|
+
# RSpec.configure do |rspec|
|
1695
|
+
# rspec.register_ordering :reverse do |list|
|
1696
|
+
# list.reverse
|
1697
|
+
# end
|
1698
|
+
# end
|
1699
|
+
#
|
1700
|
+
# RSpec.describe 'MyClass', :order => :reverse do
|
1701
|
+
# # ...
|
1702
|
+
# end
|
1703
|
+
#
|
1704
|
+
# @note Pass the symbol `:global` to set the ordering strategy that
|
1705
|
+
# will be used to order the top-level example groups and any example
|
1706
|
+
# groups that do not have declared `:order` metadata.
|
1707
|
+
#
|
1708
|
+
# @example
|
1709
|
+
# RSpec.configure do |rspec|
|
1710
|
+
# rspec.register_ordering :global do |examples|
|
1711
|
+
# acceptance, other = examples.partition do |example|
|
1712
|
+
# example.metadata[:type] == :acceptance
|
1713
|
+
# end
|
1714
|
+
# other + acceptance
|
1715
|
+
# end
|
1716
|
+
# end
|
1717
|
+
#
|
1718
|
+
# RSpec.describe 'MyClass', :type => :acceptance do
|
1719
|
+
# # will run last
|
1720
|
+
# end
|
1721
|
+
#
|
1722
|
+
# RSpec.describe 'MyClass' do
|
1723
|
+
# # will run first
|
1724
|
+
# end
|
1725
|
+
#
|
1726
|
+
delegate_to_ordering_manager :register_ordering
|
1727
|
+
|
1728
|
+
# @private
|
1729
|
+
delegate_to_ordering_manager :seed_used?, :ordering_registry
|
1730
|
+
|
1731
|
+
# Set Ruby warnings on or off.
|
1732
|
+
def warnings=(value)
|
1733
|
+
$VERBOSE = !!value
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
# @return [Boolean] Whether or not ruby warnings are enabled.
|
1737
|
+
def warnings?
|
1738
|
+
$VERBOSE
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# @private
|
1742
|
+
RAISE_ERROR_WARNING_NOTIFIER = lambda { |message| raise message }
|
1743
|
+
|
1744
|
+
# Turns warnings into errors. This can be useful when
|
1745
|
+
# you want RSpec to run in a 'strict' no warning situation.
|
1746
|
+
#
|
1747
|
+
# @example
|
1748
|
+
#
|
1749
|
+
# RSpec.configure do |rspec|
|
1750
|
+
# rspec.raise_on_warning = true
|
1751
|
+
# end
|
1752
|
+
def raise_on_warning=(value)
|
1753
|
+
if value
|
1754
|
+
RSpec::Support.warning_notifier = RAISE_ERROR_WARNING_NOTIFIER
|
1755
|
+
else
|
1756
|
+
RSpec::Support.warning_notifier = RSpec::Support::DEFAULT_WARNING_NOTIFIER
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
|
1760
|
+
# Exposes the current running example via the named
|
1761
|
+
# helper method. RSpec 2.x exposed this via `example`,
|
1762
|
+
# but in RSpec 3.0, the example is instead exposed via
|
1763
|
+
# an arg yielded to `it`, `before`, `let`, etc. However,
|
1764
|
+
# some extension gems (such as Capybara) depend on the
|
1765
|
+
# RSpec 2.x's `example` method, so this config option
|
1766
|
+
# can be used to maintain compatibility.
|
1767
|
+
#
|
1768
|
+
# @param method_name [Symbol] the name of the helper method
|
1769
|
+
#
|
1770
|
+
# @example
|
1771
|
+
#
|
1772
|
+
# RSpec.configure do |rspec|
|
1773
|
+
# rspec.expose_current_running_example_as :example
|
1774
|
+
# end
|
1775
|
+
#
|
1776
|
+
# RSpec.describe MyClass do
|
1777
|
+
# before do
|
1778
|
+
# # `example` can be used here because of the above config.
|
1779
|
+
# do_something if example.metadata[:type] == "foo"
|
1780
|
+
# end
|
1781
|
+
# end
|
1782
|
+
def expose_current_running_example_as(method_name)
|
1783
|
+
ExposeCurrentExample.module_exec do
|
1784
|
+
extend RSpec::SharedContext
|
1785
|
+
let(method_name) { |ex| ex }
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
include ExposeCurrentExample
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
# @private
|
1792
|
+
module ExposeCurrentExample; end
|
1793
|
+
|
1794
|
+
# Turns deprecation warnings into errors, in order to surface
|
1795
|
+
# the full backtrace of the call site. This can be useful when
|
1796
|
+
# you need more context to address a deprecation than the
|
1797
|
+
# single-line call site normally provided.
|
1798
|
+
#
|
1799
|
+
# @example
|
1800
|
+
#
|
1801
|
+
# RSpec.configure do |rspec|
|
1802
|
+
# rspec.raise_errors_for_deprecations!
|
1803
|
+
# end
|
1804
|
+
def raise_errors_for_deprecations!
|
1805
|
+
self.deprecation_stream = Formatters::DeprecationFormatter::RaiseErrorStream.new
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# Enables zero monkey patching mode for RSpec. It removes monkey
|
1809
|
+
# patching of the top-level DSL methods (`describe`,
|
1810
|
+
# `shared_examples_for`, etc) onto `main` and `Module`, instead
|
1811
|
+
# requiring you to prefix these methods with `RSpec.`. It enables
|
1812
|
+
# expect-only syntax for rspec-mocks and rspec-expectations. It
|
1813
|
+
# simply disables monkey patching on whatever pieces of RSpec
|
1814
|
+
# the user is using.
|
1815
|
+
#
|
1816
|
+
# @note It configures rspec-mocks and rspec-expectations only
|
1817
|
+
# if the user is using those (either explicitly or implicitly
|
1818
|
+
# by not setting `mock_with` or `expect_with` to anything else).
|
1819
|
+
#
|
1820
|
+
# @note If the user uses this options with `mock_with :mocha`
|
1821
|
+
# (or similiar) they will still have monkey patching active
|
1822
|
+
# in their test environment from mocha.
|
1823
|
+
#
|
1824
|
+
# @example
|
1825
|
+
#
|
1826
|
+
# # It disables all monkey patching.
|
1827
|
+
# RSpec.configure do |config|
|
1828
|
+
# config.disable_monkey_patching!
|
1829
|
+
# end
|
1830
|
+
#
|
1831
|
+
# # Is an equivalent to
|
1832
|
+
# RSpec.configure do |config|
|
1833
|
+
# config.expose_dsl_globally = false
|
1834
|
+
#
|
1835
|
+
# config.mock_with :rspec do |mocks|
|
1836
|
+
# mocks.syntax = :expect
|
1837
|
+
# mocks.patch_marshal_to_support_partial_doubles = false
|
1838
|
+
# end
|
1839
|
+
#
|
1840
|
+
# config.expect_with :rspec do |expectations|
|
1841
|
+
# expectations.syntax = :expect
|
1842
|
+
# end
|
1843
|
+
# end
|
1844
|
+
def disable_monkey_patching!
|
1845
|
+
self.expose_dsl_globally = false
|
1846
|
+
self.disable_monkey_patching = true
|
1847
|
+
conditionally_disable_mocks_monkey_patching
|
1848
|
+
conditionally_disable_expectations_monkey_patching
|
1849
|
+
end
|
1850
|
+
|
1851
|
+
# @private
|
1852
|
+
attr_accessor :disable_monkey_patching
|
1853
|
+
|
1854
|
+
# Defines a callback that can assign derived metadata values.
|
1855
|
+
#
|
1856
|
+
# @param filters [Array<Symbol>, Hash] metadata filters that determine
|
1857
|
+
# which example or group metadata hashes the callback will be triggered
|
1858
|
+
# for. If none are given, the callback will be run against the metadata
|
1859
|
+
# hashes of all groups and examples.
|
1860
|
+
# @yieldparam metadata [Hash] original metadata hash from an example or
|
1861
|
+
# group. Mutate this in your block as needed.
|
1862
|
+
#
|
1863
|
+
# @example
|
1864
|
+
# RSpec.configure do |config|
|
1865
|
+
# # Tag all groups and examples in the spec/unit directory with
|
1866
|
+
# # :type => :unit
|
1867
|
+
# config.define_derived_metadata(:file_path => %r{/spec/unit/}) do |metadata|
|
1868
|
+
# metadata[:type] = :unit
|
1869
|
+
# end
|
1870
|
+
# end
|
1871
|
+
def define_derived_metadata(*filters, &block)
|
1872
|
+
meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
1873
|
+
@derived_metadata_blocks.append(block, meta)
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
# Defines a callback that runs after the first example with matching
|
1877
|
+
# metadata is defined. If no examples are defined with matching metadata,
|
1878
|
+
# it will not get called at all.
|
1879
|
+
#
|
1880
|
+
# This can be used to ensure some setup is performed (such as bootstrapping
|
1881
|
+
# a DB or loading a specific file that adds significantly to the boot time)
|
1882
|
+
# if needed (as indicated by the presence of an example with matching metadata)
|
1883
|
+
# but avoided otherwise.
|
1884
|
+
#
|
1885
|
+
# @example
|
1886
|
+
# RSpec.configure do |config|
|
1887
|
+
# config.when_first_matching_example_defined(:db) do
|
1888
|
+
# # Load a support file that does some heavyweight setup,
|
1889
|
+
# # including bootstrapping the DB, but only if we have loaded
|
1890
|
+
# # any examples tagged with `:db`.
|
1891
|
+
# require 'support/db'
|
1892
|
+
# end
|
1893
|
+
# end
|
1894
|
+
def when_first_matching_example_defined(*filters)
|
1895
|
+
specified_meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
1896
|
+
|
1897
|
+
callback = lambda do |example_or_group_meta|
|
1898
|
+
# Example groups do not have `:example_group` metadata
|
1899
|
+
# (instead they have `:parent_example_group` metadata).
|
1900
|
+
return unless example_or_group_meta.key?(:example_group)
|
1901
|
+
|
1902
|
+
# Ensure the callback only fires once.
|
1903
|
+
@derived_metadata_blocks.delete(callback, specified_meta)
|
1904
|
+
|
1905
|
+
yield
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
@derived_metadata_blocks.append(callback, specified_meta)
|
1909
|
+
end
|
1910
|
+
|
1911
|
+
# @private
|
1912
|
+
def apply_derived_metadata_to(metadata)
|
1913
|
+
already_run_blocks = Set.new
|
1914
|
+
|
1915
|
+
# We loop and attempt to re-apply metadata blocks to support cascades
|
1916
|
+
# (e.g. where a derived bit of metadata triggers the application of
|
1917
|
+
# another piece of derived metadata, etc)
|
1918
|
+
#
|
1919
|
+
# We limit our looping to 200 times as a way to detect infinitely recursing derived metadata blocks.
|
1920
|
+
# It's hard to imagine a valid use case for a derived metadata cascade greater than 200 iterations.
|
1921
|
+
200.times do
|
1922
|
+
return if @derived_metadata_blocks.items_for(metadata).all? do |block|
|
1923
|
+
already_run_blocks.include?(block).tap do |skip_block|
|
1924
|
+
block.call(metadata) unless skip_block
|
1925
|
+
already_run_blocks << block
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
# If we got here, then `@derived_metadata_blocks.items_for(metadata).all?` never returned
|
1931
|
+
# `true` above and we treat this as an attempt to recurse infinitely. It's better to fail
|
1932
|
+
# with a clear # error than hang indefinitely, which is what would happen if we didn't limit
|
1933
|
+
# the looping above.
|
1934
|
+
raise SystemStackError, "Attempted to recursively derive metadata indefinitely."
|
1935
|
+
end
|
1936
|
+
|
1937
|
+
# Defines a `before` hook. See {Hooks#before} for full docs.
|
1938
|
+
#
|
1939
|
+
# This method differs from {Hooks#before} in only one way: it supports
|
1940
|
+
# the `:suite` scope. Hooks with the `:suite` scope will be run once before
|
1941
|
+
# the first example of the entire suite is executed. Conditions passed along
|
1942
|
+
# with `:suite` are effectively ignored.
|
1943
|
+
#
|
1944
|
+
# @see #prepend_before
|
1945
|
+
# @see #after
|
1946
|
+
# @see #append_after
|
1947
|
+
def before(scope=nil, *meta, &block)
|
1948
|
+
handle_suite_hook(scope, meta) do
|
1949
|
+
@before_suite_hooks << Hooks::BeforeHook.new(block, {})
|
1950
|
+
end || begin
|
1951
|
+
# defeat Ruby 2.5 lazy proc allocation to ensure
|
1952
|
+
# the methods below are passed the same proc instances
|
1953
|
+
# so `Hook` equality is preserved. For more info, see:
|
1954
|
+
# https://bugs.ruby-lang.org/issues/14045#note-5
|
1955
|
+
block.__id__
|
1956
|
+
|
1957
|
+
add_hook_to_existing_matching_groups(meta, scope) { |g| g.before(scope, *meta, &block) }
|
1958
|
+
super(scope, *meta, &block)
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
alias_method :append_before, :before
|
1962
|
+
|
1963
|
+
# Adds `block` to the start of the list of `before` blocks in the same
|
1964
|
+
# scope (`:example`, `:context`, or `:suite`), in contrast to {#before},
|
1965
|
+
# which adds the hook to the end of the list.
|
1966
|
+
#
|
1967
|
+
# See {Hooks#before} for full `before` hook docs.
|
1968
|
+
#
|
1969
|
+
# This method differs from {Hooks#prepend_before} in only one way: it supports
|
1970
|
+
# the `:suite` scope. Hooks with the `:suite` scope will be run once before
|
1971
|
+
# the first example of the entire suite is executed. Conditions passed along
|
1972
|
+
# with `:suite` are effectively ignored.
|
1973
|
+
#
|
1974
|
+
# @see #before
|
1975
|
+
# @see #after
|
1976
|
+
# @see #append_after
|
1977
|
+
def prepend_before(scope=nil, *meta, &block)
|
1978
|
+
handle_suite_hook(scope, meta) do
|
1979
|
+
@before_suite_hooks.unshift Hooks::BeforeHook.new(block, {})
|
1980
|
+
end || begin
|
1981
|
+
# defeat Ruby 2.5 lazy proc allocation to ensure
|
1982
|
+
# the methods below are passed the same proc instances
|
1983
|
+
# so `Hook` equality is preserved. For more info, see:
|
1984
|
+
# https://bugs.ruby-lang.org/issues/14045#note-5
|
1985
|
+
block.__id__
|
1986
|
+
|
1987
|
+
add_hook_to_existing_matching_groups(meta, scope) { |g| g.prepend_before(scope, *meta, &block) }
|
1988
|
+
super(scope, *meta, &block)
|
1989
|
+
end
|
1990
|
+
end
|
1991
|
+
|
1992
|
+
# Defines a `after` hook. See {Hooks#after} for full docs.
|
1993
|
+
#
|
1994
|
+
# This method differs from {Hooks#after} in only one way: it supports
|
1995
|
+
# the `:suite` scope. Hooks with the `:suite` scope will be run once after
|
1996
|
+
# the last example of the entire suite is executed. Conditions passed along
|
1997
|
+
# with `:suite` are effectively ignored.
|
1998
|
+
#
|
1999
|
+
# @see #append_after
|
2000
|
+
# @see #before
|
2001
|
+
# @see #prepend_before
|
2002
|
+
def after(scope=nil, *meta, &block)
|
2003
|
+
handle_suite_hook(scope, meta) do
|
2004
|
+
@after_suite_hooks.unshift Hooks::AfterHook.new(block, {})
|
2005
|
+
end || begin
|
2006
|
+
# defeat Ruby 2.5 lazy proc allocation to ensure
|
2007
|
+
# the methods below are passed the same proc instances
|
2008
|
+
# so `Hook` equality is preserved. For more info, see:
|
2009
|
+
# https://bugs.ruby-lang.org/issues/14045#note-5
|
2010
|
+
block.__id__
|
2011
|
+
|
2012
|
+
add_hook_to_existing_matching_groups(meta, scope) { |g| g.after(scope, *meta, &block) }
|
2013
|
+
super(scope, *meta, &block)
|
2014
|
+
end
|
2015
|
+
end
|
2016
|
+
alias_method :prepend_after, :after
|
2017
|
+
|
2018
|
+
# Adds `block` to the end of the list of `after` blocks in the same
|
2019
|
+
# scope (`:example`, `:context`, or `:suite`), in contrast to {#after},
|
2020
|
+
# which adds the hook to the start of the list.
|
2021
|
+
#
|
2022
|
+
# See {Hooks#after} for full `after` hook docs.
|
2023
|
+
#
|
2024
|
+
# This method differs from {Hooks#append_after} in only one way: it supports
|
2025
|
+
# the `:suite` scope. Hooks with the `:suite` scope will be run once after
|
2026
|
+
# the last example of the entire suite is executed. Conditions passed along
|
2027
|
+
# with `:suite` are effectively ignored.
|
2028
|
+
#
|
2029
|
+
# @see #append_after
|
2030
|
+
# @see #before
|
2031
|
+
# @see #prepend_before
|
2032
|
+
def append_after(scope=nil, *meta, &block)
|
2033
|
+
handle_suite_hook(scope, meta) do
|
2034
|
+
@after_suite_hooks << Hooks::AfterHook.new(block, {})
|
2035
|
+
end || begin
|
2036
|
+
# defeat Ruby 2.5 lazy proc allocation to ensure
|
2037
|
+
# the methods below are passed the same proc instances
|
2038
|
+
# so `Hook` equality is preserved. For more info, see:
|
2039
|
+
# https://bugs.ruby-lang.org/issues/14045#note-5
|
2040
|
+
block.__id__
|
2041
|
+
|
2042
|
+
add_hook_to_existing_matching_groups(meta, scope) { |g| g.append_after(scope, *meta, &block) }
|
2043
|
+
super(scope, *meta, &block)
|
2044
|
+
end
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
# Registers `block` as an `around` hook.
|
2048
|
+
#
|
2049
|
+
# See {Hooks#around} for full `around` hook docs.
|
2050
|
+
def around(scope=nil, *meta, &block)
|
2051
|
+
# defeat Ruby 2.5 lazy proc allocation to ensure
|
2052
|
+
# the methods below are passed the same proc instances
|
2053
|
+
# so `Hook` equality is preserved. For more info, see:
|
2054
|
+
# https://bugs.ruby-lang.org/issues/14045#note-5
|
2055
|
+
block.__id__
|
2056
|
+
|
2057
|
+
add_hook_to_existing_matching_groups(meta, scope) { |g| g.around(scope, *meta, &block) }
|
2058
|
+
super(scope, *meta, &block)
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
# @private
|
2062
|
+
def with_suite_hooks
|
2063
|
+
return yield if dry_run?
|
2064
|
+
|
2065
|
+
begin
|
2066
|
+
run_suite_hooks("a `before(:suite)` hook", @before_suite_hooks)
|
2067
|
+
yield
|
2068
|
+
ensure
|
2069
|
+
run_suite_hooks("an `after(:suite)` hook", @after_suite_hooks)
|
2070
|
+
end
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
# @private
|
2074
|
+
# Holds the various registered hooks. Here we use a FilterableItemRepository
|
2075
|
+
# implementation that is specifically optimized for the read/write patterns
|
2076
|
+
# of the config object.
|
2077
|
+
def hooks
|
2078
|
+
@hooks ||= HookCollections.new(self, FilterableItemRepository::QueryOptimized)
|
2079
|
+
end
|
2080
|
+
|
2081
|
+
# Invokes block before defining an example group
|
2082
|
+
def on_example_group_definition(&block)
|
2083
|
+
on_example_group_definition_callbacks << block
|
2084
|
+
end
|
2085
|
+
|
2086
|
+
# @api private
|
2087
|
+
# Returns an array of blocks to call before defining an example group
|
2088
|
+
def on_example_group_definition_callbacks
|
2089
|
+
@on_example_group_definition_callbacks ||= []
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
# @private
|
2093
|
+
def bisect_runner_class
|
2094
|
+
@bisect_runner_class ||= begin
|
2095
|
+
case bisect_runner
|
2096
|
+
when :fork
|
2097
|
+
RSpec::Support.require_rspec_core 'bisect/fork_runner'
|
2098
|
+
Bisect::ForkRunner
|
2099
|
+
when :shell
|
2100
|
+
RSpec::Support.require_rspec_core 'bisect/shell_runner'
|
2101
|
+
Bisect::ShellRunner
|
2102
|
+
else
|
2103
|
+
raise "Unsupported value for `bisect_runner` (#{bisect_runner.inspect}). " \
|
2104
|
+
"Only `:fork` and `:shell` are supported."
|
2105
|
+
end
|
2106
|
+
end
|
2107
|
+
end
|
2108
|
+
|
2109
|
+
private
|
2110
|
+
|
2111
|
+
def load_file_handling_errors(method, file)
|
2112
|
+
__send__(method, file)
|
2113
|
+
rescue LoadError => ex
|
2114
|
+
relative_file = Metadata.relative_path(file)
|
2115
|
+
suggestions = DidYouMean.new(relative_file).call
|
2116
|
+
reporter.notify_non_example_exception(ex, "An error occurred while loading #{relative_file}.#{suggestions}")
|
2117
|
+
RSpec.world.wants_to_quit = true
|
2118
|
+
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
|
2119
|
+
relative_file = Metadata.relative_path(file)
|
2120
|
+
reporter.notify_non_example_exception(ex, "An error occurred while loading #{relative_file}.")
|
2121
|
+
RSpec.world.wants_to_quit = true
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
def handle_suite_hook(scope, meta)
|
2125
|
+
return nil unless scope == :suite
|
2126
|
+
|
2127
|
+
unless meta.empty?
|
2128
|
+
# TODO: in RSpec 4, consider raising an error here.
|
2129
|
+
# We warn only for backwards compatibility.
|
2130
|
+
RSpec.warn_with "WARNING: `:suite` hooks do not support metadata since " \
|
2131
|
+
"they apply to the suite as a whole rather than " \
|
2132
|
+
"any individual example or example group that has metadata. " \
|
2133
|
+
"The metadata you have provided (#{meta.inspect}) will be ignored."
|
2134
|
+
end
|
2135
|
+
|
2136
|
+
yield
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
def run_suite_hooks(hook_description, hooks)
|
2140
|
+
context = SuiteHookContext.new(hook_description, reporter)
|
2141
|
+
|
2142
|
+
hooks.each do |hook|
|
2143
|
+
begin
|
2144
|
+
hook.run(context)
|
2145
|
+
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
|
2146
|
+
context.set_exception(ex)
|
2147
|
+
|
2148
|
+
# Do not run subsequent `before` hooks if one fails.
|
2149
|
+
# But for `after` hooks, we run them all so that all
|
2150
|
+
# cleanup bits get a chance to complete, minimizing the
|
2151
|
+
# chance that resources get left behind.
|
2152
|
+
break if hooks.equal?(@before_suite_hooks)
|
2153
|
+
end
|
2154
|
+
end
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
def get_files_to_run(paths)
|
2158
|
+
files = FlatMap.flat_map(paths_to_check(paths)) do |path|
|
2159
|
+
path = path.gsub(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR
|
2160
|
+
File.directory?(path) ? gather_directories(path) : extract_location(path)
|
2161
|
+
end.uniq
|
2162
|
+
|
2163
|
+
return files unless only_failures?
|
2164
|
+
relative_files = files.map { |f| Metadata.relative_path(File.expand_path f) }
|
2165
|
+
intersection = (relative_files & spec_files_with_failures.to_a)
|
2166
|
+
intersection.empty? ? files : intersection
|
2167
|
+
end
|
2168
|
+
|
2169
|
+
def paths_to_check(paths)
|
2170
|
+
return paths if pattern_might_load_specs_from_vendored_dirs?
|
2171
|
+
paths + [Dir.getwd]
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
def pattern_might_load_specs_from_vendored_dirs?
|
2175
|
+
pattern.split(File::SEPARATOR).first.include?('**')
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
def gather_directories(path)
|
2179
|
+
include_files = get_matching_files(path, pattern)
|
2180
|
+
exclude_files = get_matching_files(path, exclude_pattern)
|
2181
|
+
(include_files - exclude_files).uniq
|
2182
|
+
end
|
2183
|
+
|
2184
|
+
def get_matching_files(path, pattern)
|
2185
|
+
raw_files = Dir[file_glob_from(path, pattern)]
|
2186
|
+
raw_files.map { |file| File.expand_path(file) }.sort
|
2187
|
+
end
|
2188
|
+
|
2189
|
+
def file_glob_from(path, pattern)
|
2190
|
+
stripped = "{#{pattern.gsub(/\s*,\s*/, ',')}}"
|
2191
|
+
return stripped if pattern =~ /^(\.\/)?#{Regexp.escape path}/ || absolute_pattern?(pattern)
|
2192
|
+
File.join(path, stripped)
|
2193
|
+
end
|
2194
|
+
|
2195
|
+
if RSpec::Support::OS.windows?
|
2196
|
+
# :nocov:
|
2197
|
+
def absolute_pattern?(pattern)
|
2198
|
+
pattern =~ /\A[A-Z]:\\/ || windows_absolute_network_path?(pattern)
|
2199
|
+
end
|
2200
|
+
|
2201
|
+
def windows_absolute_network_path?(pattern)
|
2202
|
+
return false unless ::File::ALT_SEPARATOR
|
2203
|
+
pattern.start_with?(::File::ALT_SEPARATOR + ::File::ALT_SEPARATOR)
|
2204
|
+
end
|
2205
|
+
# :nocov:
|
2206
|
+
else
|
2207
|
+
def absolute_pattern?(pattern)
|
2208
|
+
pattern.start_with?(File::Separator)
|
2209
|
+
end
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
def extract_location(path)
|
2213
|
+
match = /^(.*?)((?:\:\d+)+)$/.match(path)
|
2214
|
+
|
2215
|
+
if match
|
2216
|
+
captures = match.captures
|
2217
|
+
path = captures[0]
|
2218
|
+
lines = captures[1][1..-1].split(":").map(&:to_i)
|
2219
|
+
filter_manager.add_location path, lines
|
2220
|
+
else
|
2221
|
+
path, scoped_ids = Example.parse_id(path)
|
2222
|
+
filter_manager.add_ids(path, scoped_ids.split(/\s*,\s*/)) if scoped_ids
|
2223
|
+
end
|
2224
|
+
|
2225
|
+
return [] if path == default_path
|
2226
|
+
File.expand_path(path)
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
def command
|
2230
|
+
$0.split(File::SEPARATOR).last
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
def value_for(key)
|
2234
|
+
@preferred_options.fetch(key) { yield }
|
2235
|
+
end
|
2236
|
+
|
2237
|
+
def define_built_in_hooks
|
2238
|
+
around(:example, :aggregate_failures => true) do |procsy|
|
2239
|
+
begin
|
2240
|
+
aggregate_failures(nil, :hide_backtrace => true, &procsy)
|
2241
|
+
rescue Support::AllExceptionsExceptOnesWeMustNotRescue => exception
|
2242
|
+
procsy.example.set_aggregate_failures_exception(exception)
|
2243
|
+
end
|
2244
|
+
end
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
def assert_no_example_groups_defined(config_option)
|
2248
|
+
return unless world.example_groups.any?
|
2249
|
+
|
2250
|
+
raise MustBeConfiguredBeforeExampleGroupsError.new(
|
2251
|
+
"RSpec's #{config_option} configuration option must be configured before " \
|
2252
|
+
"any example groups are defined, but you have already defined a group."
|
2253
|
+
)
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
def output_wrapper
|
2257
|
+
@output_wrapper ||= OutputWrapper.new(output_stream)
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
def output_to_tty?(output=output_stream)
|
2261
|
+
output.respond_to?(:tty?) && output.tty?
|
2262
|
+
end
|
2263
|
+
|
2264
|
+
def conditionally_disable_mocks_monkey_patching
|
2265
|
+
return unless disable_monkey_patching && rspec_mocks_loaded?
|
2266
|
+
|
2267
|
+
RSpec::Mocks.configuration.tap do |config|
|
2268
|
+
config.syntax = :expect
|
2269
|
+
config.patch_marshal_to_support_partial_doubles = false
|
2270
|
+
end
|
2271
|
+
end
|
2272
|
+
|
2273
|
+
def conditionally_disable_expectations_monkey_patching
|
2274
|
+
return unless disable_monkey_patching && rspec_expectations_loaded?
|
2275
|
+
|
2276
|
+
RSpec::Expectations.configuration.syntax = :expect
|
2277
|
+
end
|
2278
|
+
|
2279
|
+
def rspec_mocks_loaded?
|
2280
|
+
defined?(RSpec::Mocks.configuration)
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
def rspec_expectations_loaded?
|
2284
|
+
defined?(RSpec::Expectations.configuration)
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
def update_pattern_attr(name, value)
|
2288
|
+
if @spec_files_loaded
|
2289
|
+
RSpec.warning "Configuring `#{name}` to #{value} has no effect since " \
|
2290
|
+
"RSpec has already loaded the spec files."
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
instance_variable_set(:"@#{name}", value)
|
2294
|
+
@files_to_run = nil
|
2295
|
+
end
|
2296
|
+
|
2297
|
+
def clear_values_derived_from_example_status_persistence_file_path
|
2298
|
+
@last_run_statuses = nil
|
2299
|
+
@spec_files_with_failures = nil
|
2300
|
+
end
|
2301
|
+
|
2302
|
+
def configure_group_with(group, module_list, application_method)
|
2303
|
+
module_list.items_for(group.metadata).each do |mod|
|
2304
|
+
__send__(application_method, mod, group)
|
2305
|
+
end
|
2306
|
+
end
|
2307
|
+
|
2308
|
+
def add_hook_to_existing_matching_groups(meta, scope, &block)
|
2309
|
+
# For example hooks, we have to apply it to each of the top level
|
2310
|
+
# groups, even if the groups do not match. When we apply it, we
|
2311
|
+
# apply it with the metadata, so it will only apply to examples
|
2312
|
+
# in the group that match the metadata.
|
2313
|
+
# #2280 for background and discussion.
|
2314
|
+
if scope == :example || scope == :each || scope.nil?
|
2315
|
+
world.example_groups.each(&block)
|
2316
|
+
else
|
2317
|
+
meta = Metadata.build_hash_from(meta.dup)
|
2318
|
+
on_existing_matching_groups(meta, &block)
|
2319
|
+
end
|
2320
|
+
end
|
2321
|
+
|
2322
|
+
def on_existing_matching_groups(meta)
|
2323
|
+
world.traverse_example_group_trees_until do |group|
|
2324
|
+
metadata_applies_to_group?(meta, group).tap do |applies|
|
2325
|
+
yield group if applies
|
2326
|
+
end
|
2327
|
+
end
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
def metadata_applies_to_group?(meta, group)
|
2331
|
+
meta.empty? || MetadataFilter.apply?(:any?, meta, group.metadata)
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
if RSpec::Support::RubyFeatures.module_prepends_supported?
|
2335
|
+
def safe_prepend(mod, host)
|
2336
|
+
host.__send__(:prepend, mod) unless host < mod
|
2337
|
+
end
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
if RUBY_VERSION.to_f >= 1.9
|
2341
|
+
def safe_include(mod, host)
|
2342
|
+
host.__send__(:include, mod) unless host < mod
|
2343
|
+
end
|
2344
|
+
|
2345
|
+
def safe_extend(mod, host)
|
2346
|
+
host.extend(mod) unless host.singleton_class < mod
|
2347
|
+
end
|
2348
|
+
else # for 1.8.7
|
2349
|
+
# :nocov:
|
2350
|
+
def safe_include(mod, host)
|
2351
|
+
host.__send__(:include, mod) unless host.included_modules.include?(mod)
|
2352
|
+
end
|
2353
|
+
|
2354
|
+
def safe_extend(mod, host)
|
2355
|
+
host.extend(mod) unless (class << host; self; end).included_modules.include?(mod)
|
2356
|
+
end
|
2357
|
+
# :nocov:
|
2358
|
+
end
|
2359
|
+
|
2360
|
+
def define_mixed_in_module(mod, filters, mod_list, config_method, &block)
|
2361
|
+
unless Module === mod
|
2362
|
+
raise TypeError, "`RSpec.configuration.#{config_method}` expects a module but got: #{mod.inspect}"
|
2363
|
+
end
|
2364
|
+
|
2365
|
+
meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
|
2366
|
+
mod_list.append(mod, meta)
|
2367
|
+
on_existing_matching_groups(meta, &block)
|
2368
|
+
end
|
2369
|
+
end
|
2370
|
+
# rubocop:enable Metrics/ClassLength
|
2371
|
+
end
|
2372
|
+
end
|