plaid 14.8.0 → 14.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +9 -5
- data/Makefile +10 -1
- data/PUBLISH.md +1 -1
- data/README.md +9 -4
- data/doc/rdoc/.DS_Store +0 -0
- data/doc/rdoc/apple-touch-icon.png +0 -0
- data/doc/rdoc/classes/Object.html +118 -0
- data/doc/rdoc/classes/Plaid/APIError.html +97 -0
- data/doc/rdoc/classes/Plaid/AccessToken/InvalidateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/AccessToken.html +211 -0
- data/doc/rdoc/classes/Plaid/Accounts.html +257 -0
- data/doc/rdoc/classes/Plaid/AccountsResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/Apex/ProcessorToken.html +205 -0
- data/doc/rdoc/classes/Plaid/Apex.html +149 -0
- data/doc/rdoc/classes/Plaid/AssetReport.html +683 -0
- data/doc/rdoc/classes/Plaid/AssetReportCreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/AssetReportFilterResponse.html +96 -0
- data/doc/rdoc/classes/Plaid/AssetReportGetResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/AssetReportRefreshResponse.html +96 -0
- data/doc/rdoc/classes/Plaid/AssetReportRemoveResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/AuditCopyCreateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/AuditCopyGetResponse.html +96 -0
- data/doc/rdoc/classes/Plaid/AuditCopyRemoveResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Auth.html +206 -0
- data/doc/rdoc/classes/Plaid/AuthResponse.html +127 -0
- data/doc/rdoc/classes/Plaid/Balance.html +206 -0
- data/doc/rdoc/classes/Plaid/BaseProduct.html +304 -0
- data/doc/rdoc/classes/Plaid/Categories.html +191 -0
- data/doc/rdoc/classes/Plaid/CategoriesResponse.html +111 -0
- data/doc/rdoc/classes/Plaid/Client.html +802 -0
- data/doc/rdoc/classes/Plaid/CreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/CreditDetails.html +203 -0
- data/doc/rdoc/classes/Plaid/CreditDetailsResponse.html +128 -0
- data/doc/rdoc/classes/Plaid/DepositSwitch/CreateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/DepositSwitch/CreateTokenResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/DepositSwitch/GetResponse.html +150 -0
- data/doc/rdoc/classes/Plaid/DepositSwitch.html +339 -0
- data/doc/rdoc/classes/Plaid/Dwolla/ProcessorToken.html +205 -0
- data/doc/rdoc/classes/Plaid/Dwolla.html +150 -0
- data/doc/rdoc/classes/Plaid/Error.html +214 -0
- data/doc/rdoc/classes/Plaid/GetResponse.html +134 -0
- data/doc/rdoc/classes/Plaid/Holdings/GetResponse.html +137 -0
- data/doc/rdoc/classes/Plaid/Holdings.html +218 -0
- data/doc/rdoc/classes/Plaid/Identity.html +199 -0
- data/doc/rdoc/classes/Plaid/IdentityResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/Income.html +198 -0
- data/doc/rdoc/classes/Plaid/IncomeResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/InstitutionError.html +96 -0
- data/doc/rdoc/classes/Plaid/Institutions.html +356 -0
- data/doc/rdoc/classes/Plaid/InvalidInputError.html +97 -0
- data/doc/rdoc/classes/Plaid/InvalidRequestError.html +96 -0
- data/doc/rdoc/classes/Plaid/InvestmentTransactions/GetResponse.html +145 -0
- data/doc/rdoc/classes/Plaid/InvestmentTransactions.html +240 -0
- data/doc/rdoc/classes/Plaid/Investments.html +204 -0
- data/doc/rdoc/classes/Plaid/Item/GetResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/Item/ImportResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Item/RemoveResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Item.html +382 -0
- data/doc/rdoc/classes/Plaid/ItemError.html +98 -0
- data/doc/rdoc/classes/Plaid/Liabilities.html +202 -0
- data/doc/rdoc/classes/Plaid/LiabilitiesResponse.html +128 -0
- data/doc/rdoc/classes/Plaid/LinkToken.html +215 -0
- data/doc/rdoc/classes/Plaid/Middleware.html +225 -0
- data/doc/rdoc/classes/Plaid/Models/Account.html +166 -0
- data/doc/rdoc/classes/Plaid/Models/AccountWithOwners.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReport.html +153 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportAccount.html +198 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportBalance.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportHistoricalBalance.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportItem.html +145 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportOwner.html +139 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportTransaction.html +187 -0
- data/doc/rdoc/classes/Plaid/Models/AssetReportUser.html +159 -0
- data/doc/rdoc/classes/Plaid/Models/Balances.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/BaseError.html +140 -0
- data/doc/rdoc/classes/Plaid/Models/BaseModel.html +259 -0
- data/doc/rdoc/classes/Plaid/Models/BaseResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/Category.html +127 -0
- data/doc/rdoc/classes/Plaid/Models/Cause.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/CreditCardLiability.html +175 -0
- data/doc/rdoc/classes/Plaid/Models/CreditCardLiabilityAPRs.html +137 -0
- data/doc/rdoc/classes/Plaid/Models/CreditDetails.html +166 -0
- data/doc/rdoc/classes/Plaid/Models/CreditDetailsAPR.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/CreditDetailsAPRs.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/Error.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/Holding.html +181 -0
- data/doc/rdoc/classes/Plaid/Models/Identity.html +135 -0
- data/doc/rdoc/classes/Plaid/Models/IdentityAddress.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/IdentityAddressData.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/IdentityEmail.html +127 -0
- data/doc/rdoc/classes/Plaid/Models/IdentityPhoneNumber.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/Income.html +173 -0
- data/doc/rdoc/classes/Plaid/Models/IncomeStream.html +136 -0
- data/doc/rdoc/classes/Plaid/Models/Institution.html +230 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionCredential.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionPaymentInitiationMetadata.html +136 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionStatus.html +111 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionStatusBreakdown.html +129 -0
- data/doc/rdoc/classes/Plaid/Models/InstitutionStatusItemLogins.html +127 -0
- data/doc/rdoc/classes/Plaid/Models/InvestmentTransaction.html +224 -0
- data/doc/rdoc/classes/Plaid/Models/Item.html +169 -0
- data/doc/rdoc/classes/Plaid/Models/ItemStatus.html +129 -0
- data/doc/rdoc/classes/Plaid/Models/ItemStatusInvestments.html +119 -0
- data/doc/rdoc/classes/Plaid/Models/ItemStatusLastWebhook.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/ItemStatusTransactions.html +119 -0
- data/doc/rdoc/classes/Plaid/Models/Liabilities.html +130 -0
- data/doc/rdoc/classes/Plaid/Models/LinkTokenMetadata.html +158 -0
- data/doc/rdoc/classes/Plaid/Models/MFA/Device.html +110 -0
- data/doc/rdoc/classes/Plaid/Models/MFA/DeviceListElement.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/MFA/Selection.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/MFA.html +129 -0
- data/doc/rdoc/classes/Plaid/Models/NumberACH.html +134 -0
- data/doc/rdoc/classes/Plaid/Models/NumberBACS.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/NumberEFT.html +134 -0
- data/doc/rdoc/classes/Plaid/Models/NumberInternational.html +127 -0
- data/doc/rdoc/classes/Plaid/Models/Numbers.html +135 -0
- data/doc/rdoc/classes/Plaid/Models/PSLFStatus.html +128 -0
- data/doc/rdoc/classes/Plaid/Models/Payment.html +191 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentAmount.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentRecipient.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentRecipientAddress.html +134 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentRecipientBACS.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/PaymentSchedule.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/Security.html +228 -0
- data/doc/rdoc/classes/Plaid/Models/StandingOrderMetadata.html +129 -0
- data/doc/rdoc/classes/Plaid/Models/StudentLoanLiability.html +305 -0
- data/doc/rdoc/classes/Plaid/Models/StudentLoanRepaymentPlan.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/StudentLoanServicerAddress.html +142 -0
- data/doc/rdoc/classes/Plaid/Models/StudentLoanStatus.html +118 -0
- data/doc/rdoc/classes/Plaid/Models/Transaction.html +265 -0
- data/doc/rdoc/classes/Plaid/Models/TransactionLocation.html +166 -0
- data/doc/rdoc/classes/Plaid/Models/TransactionPaymentMeta.html +167 -0
- data/doc/rdoc/classes/Plaid/Models/Warning.html +126 -0
- data/doc/rdoc/classes/Plaid/Models/WebhookVerificationKey.html +174 -0
- data/doc/rdoc/classes/Plaid/Models.html +506 -0
- data/doc/rdoc/classes/Plaid/MultipleInstitutionsResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/Ocrolus/ProcessorToken.html +205 -0
- data/doc/rdoc/classes/Plaid/Ocrolus.html +151 -0
- data/doc/rdoc/classes/Plaid/PaymentCreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/PaymentGetResponse.html +191 -0
- data/doc/rdoc/classes/Plaid/PaymentInitiation.html +570 -0
- data/doc/rdoc/classes/Plaid/PaymentListResponse.html +119 -0
- data/doc/rdoc/classes/Plaid/PaymentRecipientCreateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/PaymentRecipientGetResponse.html +142 -0
- data/doc/rdoc/classes/Plaid/PaymentRecipientListResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/PaymentTokenCreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/PlaidAPIError.html +260 -0
- data/doc/rdoc/classes/Plaid/PlaidError.html +96 -0
- data/doc/rdoc/classes/Plaid/PlaidServerError.html +96 -0
- data/doc/rdoc/classes/Plaid/Processor.html +143 -0
- data/doc/rdoc/classes/Plaid/ProcessorToken.html +219 -0
- data/doc/rdoc/classes/Plaid/ProcessorTokenResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/PublicToken/CreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/PublicToken/ExchangeResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/PublicToken.html +283 -0
- data/doc/rdoc/classes/Plaid/RateLimitExceededError.html +97 -0
- data/doc/rdoc/classes/Plaid/Sandbox.html +119 -0
- data/doc/rdoc/classes/Plaid/SandboxItem/FireWebhookResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/SandboxItem/ResetLoginResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/SandboxItem.html +351 -0
- data/doc/rdoc/classes/Plaid/SandboxPublicToken/SandboxCreateResponse.html +118 -0
- data/doc/rdoc/classes/Plaid/SandboxPublicToken.html +249 -0
- data/doc/rdoc/classes/Plaid/SingleInstitutionResponse.html +111 -0
- data/doc/rdoc/classes/Plaid/Stripe/BankAccountToken/CreateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Stripe/BankAccountToken.html +215 -0
- data/doc/rdoc/classes/Plaid/Stripe.html +151 -0
- data/doc/rdoc/classes/Plaid/SubproductMixin.html +179 -0
- data/doc/rdoc/classes/Plaid/Transactions/GetResponse.html +144 -0
- data/doc/rdoc/classes/Plaid/Transactions.html +302 -0
- data/doc/rdoc/classes/Plaid/Webhook/UpdateResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Webhook.html +214 -0
- data/doc/rdoc/classes/Plaid/Webhooks/WebhookVerificationKeyGetResponse.html +110 -0
- data/doc/rdoc/classes/Plaid/Webhooks.html +207 -0
- data/doc/rdoc/classes/Plaid.html +772 -0
- data/doc/rdoc/created.rid +28 -0
- data/doc/rdoc/css/github.css +123 -0
- data/doc/rdoc/css/main.css +333 -0
- data/doc/rdoc/css/panel.css +383 -0
- data/doc/rdoc/css/reset.css +48 -0
- data/doc/rdoc/favicon.ico +0 -0
- data/doc/rdoc/files/LICENSE_txt.html +98 -0
- data/doc/rdoc/files/README_md.html +388 -0
- data/doc/rdoc/files/lib/plaid/client_rb.html +121 -0
- data/doc/rdoc/files/lib/plaid/errors_rb.html +132 -0
- data/doc/rdoc/files/lib/plaid/middleware_rb.html +99 -0
- data/doc/rdoc/files/lib/plaid/models_rb.html +450 -0
- data/doc/rdoc/files/lib/plaid/products/accounts_rb.html +102 -0
- data/doc/rdoc/files/lib/plaid/products/asset_report_rb.html +132 -0
- data/doc/rdoc/files/lib/plaid/products/auth_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/base_product_rb.html +92 -0
- data/doc/rdoc/files/lib/plaid/products/categories_rb.html +92 -0
- data/doc/rdoc/files/lib/plaid/products/credit_details_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/deposit_switch_rb.html +102 -0
- data/doc/rdoc/files/lib/plaid/products/identity_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/income_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/institutions_rb.html +102 -0
- data/doc/rdoc/files/lib/plaid/products/investments_rb.html +120 -0
- data/doc/rdoc/files/lib/plaid/products/item_rb.html +142 -0
- data/doc/rdoc/files/lib/plaid/products/liabilities_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/products/link_token_rb.html +102 -0
- data/doc/rdoc/files/lib/plaid/products/payment_initiation_rb.html +127 -0
- data/doc/rdoc/files/lib/plaid/products/processor_rb.html +142 -0
- data/doc/rdoc/files/lib/plaid/products/sandbox_rb.html +117 -0
- data/doc/rdoc/files/lib/plaid/products/transactions_rb.html +105 -0
- data/doc/rdoc/files/lib/plaid/products/webhooks_rb.html +97 -0
- data/doc/rdoc/files/lib/plaid/version_rb.html +82 -0
- data/doc/rdoc/files/lib/plaid_rb.html +120 -0
- data/doc/rdoc/i/arrows.png +0 -0
- data/doc/rdoc/i/results_bg.png +0 -0
- data/doc/rdoc/i/tree_bg.png +0 -0
- data/doc/rdoc/index.html +13 -0
- data/doc/rdoc/js/highlight.pack.js +1 -0
- data/doc/rdoc/js/jquery-1.3.2.min.js +19 -0
- data/doc/rdoc/js/main.js +29 -0
- data/doc/rdoc/js/navigation.js +142 -0
- data/doc/rdoc/js/navigation.js.gz +0 -0
- data/doc/rdoc/js/search_index.js +1 -0
- data/doc/rdoc/js/search_index.js.gz +0 -0
- data/doc/rdoc/js/searchdoc.js +468 -0
- data/doc/rdoc/js/searcher.js +229 -0
- data/doc/rdoc/js/searcher.js.gz +0 -0
- data/doc/rdoc/panel/index.html +74 -0
- data/doc/rdoc/panel/links.html +60 -0
- data/doc/rdoc/panel/tree.js +1 -0
- data/lib/plaid/.DS_Store +0 -0
- data/lib/plaid/api/plaid_api.rb +546 -26
- data/lib/plaid/api_client.rb +2 -2
- data/lib/plaid/api_error.rb +1 -1
- data/lib/plaid/configuration.rb +1 -1
- data/lib/plaid/models/account_access.rb +1 -1
- data/lib/plaid/models/account_assets.rb +2 -2
- data/lib/plaid/models/account_assets_all_of.rb +2 -2
- data/lib/plaid/models/account_balance.rb +3 -3
- data/lib/plaid/models/account_base.rb +1 -1
- data/lib/plaid/models/account_filter.rb +1 -1
- data/lib/plaid/models/account_filters_response.rb +1 -1
- data/lib/plaid/models/account_identity.rb +2 -2
- data/lib/plaid/models/account_identity_all_of.rb +2 -2
- data/lib/plaid/models/account_product_access.rb +1 -1
- data/lib/plaid/models/account_product_access_nullable.rb +1 -1
- data/lib/plaid/models/account_selection_cardinality.rb +1 -1
- data/lib/plaid/models/account_subtype.rb +1 -1
- data/lib/plaid/models/account_type.rb +1 -1
- data/lib/plaid/models/accounts_balance_get_request.rb +1 -1
- data/lib/plaid/models/accounts_balance_get_request_options.rb +1 -1
- data/lib/plaid/models/accounts_get_request.rb +1 -1
- data/lib/plaid/models/accounts_get_request_options.rb +1 -1
- data/lib/plaid/models/accounts_get_response.rb +1 -1
- data/lib/plaid/models/ach_class.rb +1 -1
- data/lib/plaid/models/address.rb +1 -1
- data/lib/plaid/models/address_data.rb +3 -3
- data/lib/plaid/models/address_data_nullable.rb +3 -3
- data/lib/plaid/models/address_nullable.rb +1 -1
- data/lib/plaid/models/application.rb +1 -1
- data/lib/plaid/models/application_get_request.rb +1 -1
- data/lib/plaid/models/application_get_response.rb +1 -1
- data/lib/plaid/models/apr.rb +1 -1
- data/lib/plaid/models/asset_report.rb +2 -6
- data/lib/plaid/models/asset_report_audit_copy_create_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_create_response.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_remove_request.rb +1 -1
- data/lib/plaid/models/asset_report_audit_copy_remove_response.rb +1 -1
- data/lib/plaid/models/asset_report_create_request.rb +1 -1
- data/lib/plaid/models/asset_report_create_request_options.rb +1 -1
- data/lib/plaid/models/asset_report_create_response.rb +1 -1
- data/lib/plaid/models/asset_report_filter_request.rb +1 -1
- data/lib/plaid/models/asset_report_filter_response.rb +1 -1
- data/lib/plaid/models/asset_report_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_get_response.rb +1 -1
- data/lib/plaid/models/asset_report_item.rb +1 -1
- data/lib/plaid/models/asset_report_pdf_get_request.rb +1 -1
- data/lib/plaid/models/asset_report_refresh_request.rb +1 -1
- data/lib/plaid/models/asset_report_refresh_request_options.rb +1 -1
- data/lib/plaid/models/asset_report_refresh_response.rb +1 -1
- data/lib/plaid/models/asset_report_remove_request.rb +1 -1
- data/lib/plaid/models/asset_report_remove_response.rb +1 -1
- data/lib/plaid/models/asset_report_transaction.rb +1 -1
- data/lib/plaid/models/asset_report_transaction_all_of.rb +1 -1
- data/lib/plaid/models/asset_report_user.rb +1 -1
- data/lib/plaid/models/assets_error_webhook.rb +7 -3
- data/lib/plaid/models/assets_product_ready_webhook.rb +1 -1
- data/lib/plaid/models/auth_get_numbers.rb +1 -1
- data/lib/plaid/models/auth_get_request.rb +1 -1
- data/lib/plaid/models/auth_get_request_options.rb +1 -1
- data/lib/plaid/models/auth_get_response.rb +1 -1
- data/lib/plaid/models/auth_metadata.rb +1 -1
- data/lib/plaid/models/auth_supported_methods.rb +1 -1
- data/lib/plaid/models/automatically_verified_webhook.rb +1 -1
- data/lib/plaid/models/bank_initiated_return_risk.rb +1 -1
- data/lib/plaid/models/bank_transfer.rb +1 -1
- data/lib/plaid/models/bank_transfer_balance.rb +1 -1
- data/lib/plaid/models/bank_transfer_balance_get_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_balance_get_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_cancel_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_cancel_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_create_request.rb +2 -2
- data/lib/plaid/models/bank_transfer_create_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_direction.rb +1 -1
- data/lib/plaid/models/bank_transfer_event.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_list_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_list_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_sync_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_sync_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_event_type.rb +1 -1
- data/lib/plaid/models/bank_transfer_failure.rb +1 -1
- data/lib/plaid/models/bank_transfer_get_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_get_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_list_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_list_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_migrate_account_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_migrate_account_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_network.rb +1 -1
- data/lib/plaid/models/bank_transfer_receiver_details.rb +1 -1
- data/lib/plaid/models/bank_transfer_status.rb +1 -1
- data/lib/plaid/models/bank_transfer_sweep.rb +5 -30
- data/lib/plaid/models/bank_transfer_sweep_get_request.rb +6 -17
- data/lib/plaid/models/bank_transfer_sweep_get_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_sweep_list_request.rb +1 -1
- data/lib/plaid/models/bank_transfer_sweep_list_response.rb +1 -1
- data/lib/plaid/models/bank_transfer_type.rb +1 -1
- data/lib/plaid/models/bank_transfer_user.rb +1 -1
- data/lib/plaid/models/bank_transfers_events_update_webhook.rb +1 -1
- data/lib/plaid/models/categories_get_response.rb +1 -1
- data/lib/plaid/models/category.rb +1 -1
- data/lib/plaid/models/cause.rb +7 -3
- data/lib/plaid/models/connected_application.rb +1 -1
- data/lib/plaid/models/country_code.rb +1 -1
- data/lib/plaid/models/credit_card_liability.rb +2 -6
- data/lib/plaid/models/credit_filter.rb +1 -1
- data/lib/plaid/models/customer_initiated_return_risk.rb +1 -1
- data/lib/plaid/models/deductions.rb +1 -1
- data/lib/plaid/models/deductions_breakdown.rb +1 -1
- data/lib/plaid/models/deductions_total.rb +1 -1
- data/lib/plaid/models/default_update_webhook.rb +2 -3
- data/lib/plaid/models/deposit_switch_address_data.rb +1 -1
- data/lib/plaid/models/deposit_switch_alt_create_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_alt_create_response.rb +1 -1
- data/lib/plaid/models/deposit_switch_create_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_create_request_options.rb +1 -1
- data/lib/plaid/models/deposit_switch_create_response.rb +1 -1
- data/lib/plaid/models/deposit_switch_get_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_get_response.rb +1 -1
- data/lib/plaid/models/deposit_switch_state_update_webhook.rb +1 -1
- data/lib/plaid/models/deposit_switch_target_account.rb +1 -1
- data/lib/plaid/models/deposit_switch_target_user.rb +1 -1
- data/lib/plaid/models/deposit_switch_token_create_request.rb +1 -1
- data/lib/plaid/models/deposit_switch_token_create_response.rb +1 -1
- data/lib/plaid/models/depository_filter.rb +1 -1
- data/lib/plaid/models/distribution_breakdown.rb +1 -1
- data/lib/plaid/models/doc_type.rb +1 -1
- data/lib/plaid/models/document_metadata.rb +1 -1
- data/lib/plaid/models/earnings.rb +1 -1
- data/lib/plaid/models/earnings_breakdown.rb +1 -1
- data/lib/plaid/models/earnings_breakdown_canonical_description.rb +1 -1
- data/lib/plaid/models/earnings_total.rb +1 -1
- data/lib/plaid/models/email.rb +1 -1
- data/lib/plaid/models/employee.rb +1 -1
- data/lib/plaid/models/employee_income_summary_field_string.rb +1 -1
- data/lib/plaid/models/employer.rb +1 -1
- data/lib/plaid/models/employer_income_summary_field_string.rb +1 -1
- data/lib/plaid/models/employer_verification.rb +1 -1
- data/lib/plaid/models/employers_search_request.rb +1 -1
- data/lib/plaid/models/employers_search_response.rb +1 -1
- data/lib/plaid/models/employment_details.rb +1 -1
- data/lib/plaid/models/employment_verification.rb +1 -1
- data/lib/plaid/models/employment_verification_get_request.rb +1 -1
- data/lib/plaid/models/employment_verification_get_response.rb +2 -3
- data/lib/plaid/models/employment_verification_status.rb +1 -1
- data/lib/plaid/models/error.rb +2 -2
- data/lib/plaid/models/external_payment_options.rb +39 -18
- data/lib/plaid/models/external_payment_refund_details.rb +1 -1
- data/lib/plaid/models/external_payment_schedule_base.rb +1 -1
- data/lib/plaid/models/external_payment_schedule_get.rb +1 -1
- data/lib/plaid/models/external_payment_schedule_request.rb +1 -1
- data/lib/plaid/models/health_incident.rb +1 -1
- data/lib/plaid/models/historical_balance.rb +1 -1
- data/lib/plaid/models/historical_update_webhook.rb +2 -3
- data/lib/plaid/models/holding.rb +1 -1
- data/lib/plaid/models/holdings_default_update_webhook.rb +2 -3
- data/lib/plaid/models/holdings_override.rb +1 -1
- data/lib/plaid/models/identity_get_request.rb +1 -1
- data/lib/plaid/models/identity_get_request_options.rb +1 -1
- data/lib/plaid/models/identity_get_response.rb +1 -1
- data/lib/plaid/models/incident_update.rb +1 -1
- data/lib/plaid/models/income_breakdown.rb +1 -1
- data/lib/plaid/models/income_breakdown_type.rb +1 -1
- data/lib/plaid/models/income_override.rb +1 -1
- data/lib/plaid/models/income_summary.rb +1 -1
- data/lib/plaid/models/income_summary_field_number.rb +1 -1
- data/lib/plaid/models/income_summary_field_string.rb +1 -1
- data/lib/plaid/models/income_verification_create_request.rb +1 -1
- data/lib/plaid/models/income_verification_create_request_options.rb +2 -2
- data/lib/plaid/models/income_verification_create_response.rb +1 -1
- data/lib/plaid/models/income_verification_documents_download_request.rb +1 -1
- data/lib/plaid/models/income_verification_paystub_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_paystub_get_response.rb +2 -3
- data/lib/plaid/models/income_verification_paystubs_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_paystubs_get_response.rb +2 -3
- data/lib/plaid/models/income_verification_precheck_confidence.rb +1 -1
- data/lib/plaid/models/income_verification_precheck_employer.rb +1 -1
- data/lib/plaid/models/income_verification_precheck_employer_address.rb +4 -17
- data/lib/plaid/models/income_verification_precheck_employer_address_data.rb +260 -0
- data/lib/plaid/models/income_verification_precheck_military_info.rb +3 -3
- data/lib/plaid/models/income_verification_precheck_request.rb +1 -1
- data/lib/plaid/models/income_verification_precheck_response.rb +1 -1
- data/lib/plaid/models/income_verification_precheck_user.rb +1 -1
- data/lib/plaid/models/income_verification_refresh_request.rb +1 -1
- data/lib/plaid/models/income_verification_refresh_response.rb +1 -1
- data/lib/plaid/models/income_verification_status_webhook.rb +2 -2
- data/lib/plaid/models/income_verification_summary_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_summary_get_response.rb +2 -3
- data/lib/plaid/models/income_verification_taxforms_get_request.rb +1 -1
- data/lib/plaid/models/income_verification_taxforms_get_response.rb +2 -3
- data/lib/plaid/models/income_verification_webhook_status.rb +1 -1
- data/lib/plaid/models/inflow_model.rb +2 -2
- data/lib/plaid/models/initial_update_webhook.rb +1 -1
- data/lib/plaid/models/institution.rb +6 -2
- data/lib/plaid/models/institution_status.rb +2 -16
- data/lib/plaid/models/institutions_get_by_id_request.rb +2 -2
- data/lib/plaid/models/institutions_get_by_id_request_options.rb +1 -1
- data/lib/plaid/models/institutions_get_by_id_response.rb +1 -1
- data/lib/plaid/models/institutions_get_request.rb +2 -2
- data/lib/plaid/models/institutions_get_request_options.rb +2 -2
- data/lib/plaid/models/institutions_get_response.rb +1 -1
- data/lib/plaid/models/institutions_search_account_filter.rb +1 -1
- data/lib/plaid/models/institutions_search_payment_initiation_options.rb +1 -1
- data/lib/plaid/models/institutions_search_request.rb +2 -2
- data/lib/plaid/models/institutions_search_request_options.rb +1 -1
- data/lib/plaid/models/institutions_search_response.rb +1 -1
- data/lib/plaid/models/investment_filter.rb +2 -2
- data/lib/plaid/models/investment_holdings_get_request_options.rb +1 -1
- data/lib/plaid/models/investment_transaction.rb +2 -2
- data/lib/plaid/models/investments_default_update_webhook.rb +2 -3
- data/lib/plaid/models/investments_holdings_get_request.rb +1 -1
- data/lib/plaid/models/investments_holdings_get_response.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_request.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_request_options.rb +1 -1
- data/lib/plaid/models/investments_transactions_get_response.rb +1 -1
- data/lib/plaid/models/investments_transactions_override.rb +1 -1
- data/lib/plaid/models/item.rb +1 -1
- data/lib/plaid/models/item_access_token_invalidate_request.rb +1 -1
- data/lib/plaid/models/item_access_token_invalidate_response.rb +1 -1
- data/lib/plaid/models/item_application_list_request.rb +1 -1
- data/lib/plaid/models/item_application_list_response.rb +1 -1
- data/lib/plaid/models/item_application_list_user_auth.rb +1 -1
- data/lib/plaid/models/item_application_scopes_update_request.rb +1 -1
- data/lib/plaid/models/item_application_scopes_update_response.rb +1 -1
- data/lib/plaid/models/item_error_webhook.rb +7 -3
- data/lib/plaid/models/item_get_request.rb +1 -1
- data/lib/plaid/models/item_get_response.rb +1 -1
- data/lib/plaid/models/item_import_request.rb +1 -1
- data/lib/plaid/models/item_import_request_options.rb +1 -1
- data/lib/plaid/models/item_import_request_user_auth.rb +1 -1
- data/lib/plaid/models/item_import_response.rb +1 -1
- data/lib/plaid/models/item_product_ready_webhook.rb +2 -3
- data/lib/plaid/models/item_public_token_create_request.rb +1 -1
- data/lib/plaid/models/item_public_token_create_response.rb +1 -1
- data/lib/plaid/models/item_public_token_exchange_request.rb +1 -1
- data/lib/plaid/models/item_public_token_exchange_response.rb +1 -1
- data/lib/plaid/models/item_remove_request.rb +1 -1
- data/lib/plaid/models/item_remove_response.rb +1 -1
- data/lib/plaid/models/item_status.rb +1 -1
- data/lib/plaid/models/item_status_investments.rb +1 -1
- data/lib/plaid/models/item_status_last_webhook.rb +1 -1
- data/lib/plaid/models/item_status_nullable.rb +1 -1
- data/lib/plaid/models/item_status_transactions.rb +1 -1
- data/lib/plaid/models/item_webhook_update_request.rb +2 -6
- data/lib/plaid/models/item_webhook_update_response.rb +1 -1
- data/lib/plaid/models/jwk_public_key.rb +1 -1
- data/lib/plaid/models/jwt_header.rb +1 -1
- data/lib/plaid/models/liabilities_default_update_webhook.rb +7 -3
- data/lib/plaid/models/liabilities_get_request.rb +1 -1
- data/lib/plaid/models/liabilities_get_request_options.rb +1 -1
- data/lib/plaid/models/liabilities_get_response.rb +1 -1
- data/lib/plaid/models/liabilities_object.rb +1 -1
- data/lib/plaid/models/liability_override.rb +1 -1
- data/lib/plaid/models/link_token_account_filters.rb +1 -1
- data/lib/plaid/models/link_token_create_request.rb +13 -4
- data/lib/plaid/models/link_token_create_request_account_subtypes.rb +2 -2
- data/lib/plaid/models/link_token_create_request_auth.rb +1 -1
- data/lib/plaid/models/link_token_create_request_deposit_switch.rb +1 -1
- data/lib/plaid/models/link_token_create_request_income_verification.rb +1 -1
- data/lib/plaid/models/link_token_create_request_payment_initiation.rb +1 -1
- data/lib/plaid/models/link_token_create_request_transfer.rb +220 -0
- data/lib/plaid/models/link_token_create_request_update.rb +1 -1
- data/lib/plaid/models/link_token_create_request_user.rb +1 -1
- data/lib/plaid/models/link_token_create_response.rb +1 -1
- data/lib/plaid/models/link_token_eu_config.rb +1 -1
- data/lib/plaid/models/link_token_get_metadata_response.rb +1 -1
- data/lib/plaid/models/link_token_get_request.rb +1 -1
- data/lib/plaid/models/link_token_get_response.rb +1 -1
- data/lib/plaid/models/loan_filter.rb +1 -1
- data/lib/plaid/models/location.rb +3 -3
- data/lib/plaid/models/meta.rb +1 -1
- data/lib/plaid/models/mfa.rb +1 -1
- data/lib/plaid/models/mortgage_interest_rate.rb +1 -1
- data/lib/plaid/models/mortgage_liability.rb +1 -1
- data/lib/plaid/models/mortgage_property_address.rb +1 -1
- data/lib/plaid/models/net_pay.rb +1 -1
- data/lib/plaid/models/new_accounts_available_webhook.rb +2 -3
- data/lib/plaid/models/numbers.rb +1 -1
- data/lib/plaid/models/numbers_ach.rb +1 -1
- data/lib/plaid/models/numbers_ach_nullable.rb +1 -1
- data/lib/plaid/models/numbers_bacs.rb +1 -1
- data/lib/plaid/models/numbers_bacs_nullable.rb +1 -1
- data/lib/plaid/models/numbers_eft.rb +1 -1
- data/lib/plaid/models/numbers_eft_nullable.rb +1 -1
- data/lib/plaid/models/numbers_international.rb +1 -1
- data/lib/plaid/models/numbers_international_nullable.rb +1 -1
- data/lib/plaid/models/override_account_type.rb +1 -1
- data/lib/plaid/models/override_accounts.rb +1 -1
- data/lib/plaid/models/owner.rb +1 -1
- data/lib/plaid/models/owner_override.rb +1 -1
- data/lib/plaid/models/pay.rb +1 -1
- data/lib/plaid/models/pay_frequency.rb +1 -1
- data/lib/plaid/models/pay_frequency_value.rb +1 -1
- data/lib/plaid/models/pay_period_details.rb +1 -1
- data/lib/plaid/models/payment_amount.rb +1 -1
- data/lib/plaid/models/payment_initiation_address.rb +1 -1
- data/lib/plaid/models/payment_initiation_metadata.rb +1 -1
- data/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment.rb +30 -62
- data/lib/plaid/models/payment_initiation_payment_create_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_create_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_get_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_get_response.rb +31 -63
- data/lib/plaid/models/payment_initiation_payment_list_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_list_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_reverse_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_reverse_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_status.rb +50 -0
- data/lib/plaid/models/payment_initiation_payment_token_create_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_payment_token_create_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_create_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_create_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_get_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_get_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_list_request.rb +1 -1
- data/lib/plaid/models/payment_initiation_recipient_list_response.rb +1 -1
- data/lib/plaid/models/payment_initiation_refund.rb +1 -1
- data/lib/plaid/models/payment_initiation_standing_order_metadata.rb +1 -1
- data/lib/plaid/models/payment_meta.rb +1 -1
- data/lib/plaid/models/payment_schedule_interval.rb +1 -1
- data/lib/plaid/models/payment_scheme.rb +41 -0
- data/lib/plaid/models/payment_status_update_webhook.rb +2 -3
- data/lib/plaid/models/paystub.rb +1 -1
- data/lib/plaid/models/paystub_address.rb +1 -1
- data/lib/plaid/models/paystub_deduction.rb +1 -1
- data/lib/plaid/models/paystub_details.rb +1 -1
- data/lib/plaid/models/paystub_employer.rb +1 -1
- data/lib/plaid/models/paystub_override.rb +1 -1
- data/lib/plaid/models/paystub_override_employee.rb +1 -1
- data/lib/plaid/models/paystub_override_employee_address.rb +1 -1
- data/lib/plaid/models/paystub_override_employer.rb +1 -1
- data/lib/plaid/models/paystub_pay_frequency.rb +1 -1
- data/lib/plaid/models/paystub_verification.rb +7 -2
- data/lib/plaid/models/paystub_verification_status.rb +1 -1
- data/lib/plaid/models/paystub_ytd_details.rb +1 -1
- data/lib/plaid/models/pending_expiration_webhook.rb +1 -1
- data/lib/plaid/models/personal_finance_category.rb +1 -1
- data/lib/plaid/models/phone_number.rb +1 -1
- data/lib/plaid/models/plaid_error.rb +359 -0
- data/lib/plaid/models/platform_ids.rb +1 -1
- data/lib/plaid/models/processor_apex_processor_token_create_request.rb +1 -1
- data/lib/plaid/models/processor_auth_get_request.rb +1 -1
- data/lib/plaid/models/processor_auth_get_response.rb +1 -1
- data/lib/plaid/models/processor_balance_get_request.rb +1 -1
- data/lib/plaid/models/processor_balance_get_request_options.rb +1 -1
- data/lib/plaid/models/processor_balance_get_response.rb +1 -1
- data/lib/plaid/models/processor_bank_transfer_create_request.rb +1 -1
- data/lib/plaid/models/processor_bank_transfer_create_response.rb +1 -1
- data/lib/plaid/models/processor_identity_get_request.rb +1 -1
- data/lib/plaid/models/processor_identity_get_response.rb +1 -1
- data/lib/plaid/models/processor_number.rb +1 -1
- data/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +1 -1
- data/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +1 -1
- data/lib/plaid/models/processor_token_create_request.rb +1 -1
- data/lib/plaid/models/processor_token_create_response.rb +1 -1
- data/lib/plaid/models/product_access.rb +1 -1
- data/lib/plaid/models/product_status.rb +1 -1
- data/lib/plaid/models/product_status_breakdown.rb +1 -1
- data/lib/plaid/models/products.rb +1 -1
- data/lib/plaid/models/projected_income_summary_field_number.rb +1 -1
- data/lib/plaid/models/pslf_status.rb +1 -1
- data/lib/plaid/models/recaptcha_required_error.rb +1 -1
- data/lib/plaid/models/recipient_bacs.rb +1 -1
- data/lib/plaid/models/recipient_bacs_nullable.rb +1 -1
- data/lib/plaid/models/recurring_transaction_frequency.rb +1 -1
- data/lib/plaid/models/removed_transaction.rb +1 -1
- data/lib/plaid/models/requested_scopes.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +1 -1
- data/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +1 -1
- data/lib/plaid/models/sandbox_income_fire_webhook_request.rb +4 -4
- data/lib/plaid/models/sandbox_income_fire_webhook_response.rb +1 -1
- data/lib/plaid/models/sandbox_item_fire_webhook_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_fire_webhook_response.rb +1 -1
- data/lib/plaid/models/sandbox_item_reset_login_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_reset_login_response.rb +1 -1
- data/lib/plaid/models/sandbox_item_set_verification_status_request.rb +1 -1
- data/lib/plaid/models/sandbox_item_set_verification_status_response.rb +1 -1
- data/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +1 -1
- data/lib/plaid/models/sandbox_processor_token_create_request.rb +1 -1
- data/lib/plaid/models/sandbox_processor_token_create_request_options.rb +1 -1
- data/lib/plaid/models/sandbox_processor_token_create_response.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request_options.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +1 -1
- data/lib/plaid/models/sandbox_public_token_create_response.rb +1 -1
- data/lib/plaid/models/sandbox_transfer_simulate_request.rb +1 -1
- data/lib/plaid/models/sandbox_transfer_simulate_response.rb +1 -1
- data/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb +230 -0
- data/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb +234 -0
- data/lib/plaid/models/scopes.rb +1 -1
- data/lib/plaid/models/scopes_context.rb +1 -1
- data/lib/plaid/models/scopes_nullable.rb +1 -1
- data/lib/plaid/models/security.rb +1 -1
- data/lib/plaid/models/security_override.rb +1 -1
- data/lib/plaid/models/sender_bacs_nullable.rb +1 -1
- data/lib/plaid/models/servicer_address_data.rb +1 -1
- data/lib/plaid/models/signal_address_data.rb +1 -1
- data/lib/plaid/models/signal_decision_report_request.rb +1 -1
- data/lib/plaid/models/signal_decision_report_response.rb +1 -1
- data/lib/plaid/models/signal_device.rb +1 -1
- data/lib/plaid/models/signal_evaluate_core_attributes.rb +2 -2
- data/lib/plaid/models/signal_evaluate_request.rb +1 -1
- data/lib/plaid/models/signal_evaluate_response.rb +1 -1
- data/lib/plaid/models/signal_person_name.rb +1 -1
- data/lib/plaid/models/signal_return_report_request.rb +1 -1
- data/lib/plaid/models/signal_return_report_response.rb +1 -1
- data/lib/plaid/models/signal_scores.rb +1 -1
- data/lib/plaid/models/signal_user.rb +1 -1
- data/lib/plaid/models/simulated_transfer_sweep.rb +277 -0
- data/lib/plaid/models/standalone_account_type.rb +2 -2
- data/lib/plaid/models/standalone_currency_code_list.rb +1 -1
- data/lib/plaid/models/standalone_investment_transaction_type.rb +1 -1
- data/lib/plaid/models/student_loan.rb +1 -1
- data/lib/plaid/models/student_loan_repayment_model.rb +1 -1
- data/lib/plaid/models/student_loan_status.rb +1 -1
- data/lib/plaid/models/student_repayment_plan.rb +1 -1
- data/lib/plaid/models/taxform.rb +1 -1
- data/lib/plaid/models/taxpayer_id.rb +1 -1
- data/lib/plaid/models/total.rb +1 -1
- data/lib/plaid/models/total_canonical_description.rb +1 -1
- data/lib/plaid/models/transaction.rb +1 -1
- data/lib/plaid/models/transaction_all_of.rb +1 -1
- data/lib/plaid/models/transaction_base.rb +1 -1
- data/lib/plaid/models/transaction_code.rb +1 -1
- data/lib/plaid/models/transaction_data.rb +1 -1
- data/lib/plaid/models/transaction_override.rb +1 -1
- data/lib/plaid/models/transaction_stream.rb +1 -1
- data/lib/plaid/models/transaction_stream_amount.rb +1 -1
- data/lib/plaid/models/transactions_get_request.rb +1 -1
- data/lib/plaid/models/transactions_get_request_options.rb +1 -1
- data/lib/plaid/models/transactions_get_response.rb +1 -1
- data/lib/plaid/models/transactions_recurring_get_request.rb +1 -1
- data/lib/plaid/models/transactions_recurring_get_response.rb +1 -1
- data/lib/plaid/models/transactions_refresh_request.rb +1 -1
- data/lib/plaid/models/transactions_refresh_response.rb +1 -1
- data/lib/plaid/models/transactions_removed_webhook.rb +2 -3
- data/lib/plaid/models/transactions_sync_request.rb +1 -1
- data/lib/plaid/models/transactions_sync_response.rb +20 -5
- data/lib/plaid/models/transfer.rb +30 -5
- data/lib/plaid/models/transfer_authorization.rb +3 -3
- data/lib/plaid/models/transfer_authorization_create_request.rb +15 -5
- data/lib/plaid/models/transfer_authorization_create_response.rb +1 -1
- data/lib/plaid/models/transfer_authorization_decision_rationale.rb +1 -1
- data/lib/plaid/models/transfer_authorization_device.rb +1 -1
- data/lib/plaid/models/transfer_authorization_proposed_transfer.rb +20 -5
- data/lib/plaid/models/transfer_cancel_request.rb +1 -1
- data/lib/plaid/models/transfer_cancel_response.rb +1 -1
- data/lib/plaid/models/transfer_create_request.rb +17 -7
- data/lib/plaid/models/transfer_create_response.rb +1 -1
- data/lib/plaid/models/transfer_event.rb +26 -6
- data/lib/plaid/models/transfer_event_list_request.rb +12 -2
- data/lib/plaid/models/transfer_event_list_response.rb +1 -1
- data/lib/plaid/models/transfer_event_sync_request.rb +1 -1
- data/lib/plaid/models/transfer_event_sync_response.rb +1 -1
- data/lib/plaid/models/transfer_event_type.rb +3 -1
- data/lib/plaid/models/transfer_failure.rb +1 -1
- data/lib/plaid/models/transfer_get_request.rb +1 -1
- data/lib/plaid/models/transfer_get_response.rb +1 -1
- data/lib/plaid/models/transfer_intent_create.rb +424 -0
- data/lib/plaid/models/transfer_intent_create_mode.rb +39 -0
- data/lib/plaid/models/transfer_intent_create_request.rb +387 -0
- data/lib/plaid/models/transfer_intent_create_response.rb +239 -0
- data/lib/plaid/models/transfer_intent_get.rb +478 -0
- data/lib/plaid/models/transfer_intent_get_failure_reason.rb +240 -0
- data/lib/plaid/models/transfer_intent_get_request.rb +255 -0
- data/lib/plaid/models/transfer_intent_get_response.rb +239 -0
- data/lib/plaid/models/transfer_list_request.rb +1 -1
- data/lib/plaid/models/transfer_list_response.rb +1 -1
- data/lib/plaid/models/transfer_network.rb +1 -1
- data/lib/plaid/models/transfer_status.rb +1 -1
- data/lib/plaid/models/transfer_sweep.rb +270 -0
- data/lib/plaid/models/transfer_sweep_get_request.rb +245 -0
- data/lib/plaid/models/{bank_transfer_sweep_account.rb → transfer_sweep_get_response.rb} +25 -24
- data/lib/plaid/models/transfer_sweep_list_request.rb +320 -0
- data/lib/plaid/models/transfer_sweep_list_response.rb +241 -0
- data/lib/plaid/models/transfer_sweep_status.rb +41 -0
- data/lib/plaid/models/transfer_type.rb +1 -1
- data/lib/plaid/models/transfer_user_address_in_request.rb +1 -1
- data/lib/plaid/models/transfer_user_address_in_response.rb +1 -1
- data/lib/plaid/models/transfer_user_in_request.rb +1 -1
- data/lib/plaid/models/transfer_user_in_response.rb +1 -1
- data/lib/plaid/models/user_custom_password.rb +1 -1
- data/lib/plaid/models/user_permission_revoked_webhook.rb +2 -3
- data/lib/plaid/models/verification_attribute.rb +3 -3
- data/lib/plaid/models/verification_expired_webhook.rb +1 -1
- data/lib/plaid/models/verification_refresh_status.rb +4 -2
- data/lib/plaid/models/verification_status.rb +1 -1
- data/lib/plaid/models/w2.rb +1 -1
- data/lib/plaid/models/w2_box12.rb +1 -1
- data/lib/plaid/models/w2_state_and_local_wages.rb +1 -1
- data/lib/plaid/models/wallet_balance.rb +240 -0
- data/lib/plaid/models/wallet_get_request.rb +266 -0
- data/lib/plaid/models/wallet_get_response.rb +250 -0
- data/lib/plaid/models/wallet_transaction.rb +346 -0
- data/lib/plaid/models/wallet_transaction_amount.rb +306 -0
- data/lib/plaid/models/wallet_transaction_counterparty.rb +260 -0
- data/lib/plaid/models/wallet_transaction_counterparty_bacs.rb +288 -0
- data/lib/plaid/models/wallet_transaction_counterparty_numbers.rb +224 -0
- data/lib/plaid/models/wallet_transaction_execute_request.rb +384 -0
- data/lib/plaid/models/wallet_transaction_execute_response.rb +254 -0
- data/lib/plaid/models/wallet_transaction_status.rb +41 -0
- data/lib/plaid/models/wallet_transactions_list_request.rb +331 -0
- data/lib/plaid/models/wallet_transactions_list_response.rb +252 -0
- data/lib/plaid/models/warning.rb +1 -1
- data/lib/plaid/models/webhook_update_acknowledged_webhook.rb +2 -3
- data/lib/plaid/models/webhook_verification_key_get_request.rb +1 -1
- data/lib/plaid/models/webhook_verification_key_get_response.rb +1 -1
- data/lib/plaid/models/ytd_gross_income_summary_field_number.rb +1 -1
- data/lib/plaid/models/ytd_net_income_summary_field_number.rb +1 -1
- data/lib/plaid/version.rb +2 -2
- data/lib/plaid.rb +36 -2
- data/plaid.gemspec +1 -1
- data/templates/ruby/api_client.mustache +1 -1
- data/test/test_income_verifications.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/bin/dotenv +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.6.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/rubocop +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/ruby-parse +27 -0
- data/vendor/bundle/ruby/2.6.0/bin/ruby-rewrite +27 -0
- data/vendor/bundle/ruby/2.6.0/cache/ast-2.4.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/dotenv-2.7.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-1.9.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-em_http-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-em_synchrony-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-excon-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-httpclient-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-multipart-1.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-net_http-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-net_http_persistent-1.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-patron-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-rack-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/faraday-retry-1.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/minitest-5.14.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/minitest-around-0.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/multipart-post-2.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/parallel-1.20.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/parser-2.7.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rainbow-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rake-13.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/regexp_parser-1.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rexml-3.2.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rubocop-0.91.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rubocop-ast-0.4.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ruby-progressbar-1.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/ruby2_keywords-0.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/unicode-display_width-1.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.1/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.1/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.1/lib/ast/node.rb +260 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.1/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.1/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.1/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/ast-2.4.1/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/.rspec +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/License.md +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Manifest.txt +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/Rakefile +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/bin/ldiff +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +358 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +304 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +739 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +375 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/README.md +258 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/bin/dotenv +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/cli.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/environment.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/load.rb +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/missing_keys.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/parser.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/substitutions/command.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/substitutions/variable.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/tasks.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/template.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/dotenv-2.7.6/lib/dotenv.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/CHANGELOG.md +380 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/README.md +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/Rakefile +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/examples/client_spec.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/examples/client_test.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/adapter/test.rb +262 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/adapter/typhoeus.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/adapter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/adapter_registry.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/autoload.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/connection.rb +642 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/dependency_loader.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/encoders/flat_params_encoder.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/encoders/nested_params_encoder.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/error.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/logging/formatter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/methods.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/middleware.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/middleware_registry.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/options/connection_options.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/options/env.rb +181 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/options/proxy_options.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/options/request_options.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/options/ssl_options.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/options.rb +218 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/parameters.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/rack_builder.rb +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/request/authorization.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/request/basic_authentication.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/request/instrumentation.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/request/token_authentication.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/request/url_encoded.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/request.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/response/logger.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/response/raise_error.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/response.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/utils/headers.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/utils/params_hash.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/utils.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/lib/faraday.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/external_adapters/faraday_specs_setup.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/em_http_spec.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/em_synchrony_spec.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/excon_spec.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/httpclient_spec.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/net_http_spec.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/patron_spec.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/rack_spec.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/test_spec.rb +377 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter/typhoeus_spec.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter_registry_spec.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/adapter_spec.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/composite_read_io_spec.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/connection_spec.rb +736 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/error_spec.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/middleware_spec.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/options/env_spec.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/options/options_spec.rb +297 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/options/proxy_options_spec.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/options/request_options_spec.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/params_encoders/flat_spec.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/params_encoders/nested_spec.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/rack_builder_spec.rb +345 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/request/authorization_spec.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/request/instrumentation_spec.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/request/url_encoded_spec.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/request_spec.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/response/logger_spec.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/response/middleware_spec.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/response/raise_error_spec.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/response_spec.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/utils/headers_spec.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday/utils_spec.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/faraday_spec.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/spec_helper.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/support/disabling_stub.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/support/fake_safe_buffer.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/support/helper_methods.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/support/shared_examples/adapter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/support/shared_examples/params_encoder.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/support/shared_examples/request_method.rb +262 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/support/streaming_response_checker.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-1.9.3/spec/support/webmock_rack_app.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/README.md +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/lib/faraday/adapter/em_http.rb +289 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/lib/faraday/adapter/em_http_ssl_patch.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/lib/faraday/em_http/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_http-1.0.0/lib/faraday/em_http.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/README.md +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/lib/faraday/adapter/em_synchrony/parallel_manager.rb +69 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/lib/faraday/adapter/em_synchrony.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/lib/faraday/em_synchrony/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-em_synchrony-1.0.0/lib/faraday/em_synchrony.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/README.md +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/lib/faraday/adapter/excon.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/lib/faraday/excon/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-excon-1.1.0/lib/faraday/excon.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/README.md +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/lib/faraday/adapter/httpclient.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/lib/faraday/httpclient/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-httpclient-1.0.1/lib/faraday/httpclient.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/CHANGELOG.md +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/README.md +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart/file_part.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart/middleware.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart/param_part.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/README.md +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb +213 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/lib/faraday/net_http/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http-1.0.1/lib/faraday/net_http.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/README.md +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/lib/faraday/adapter/net_http_persistent.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/lib/faraday/net_http_persistent/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-net_http_persistent-1.2.0/lib/faraday/net_http_persistent.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/README.md +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/lib/faraday/adapter/patron.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/lib/faraday/patron/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-patron-1.0.0/lib/faraday/patron.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/README.md +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/lib/faraday/adapter/rack.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/lib/faraday/rack/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-rack-1.0.0/lib/faraday/rack.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-1.0.3/CHANGELOG.md +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-1.0.3/LICENSE.md +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-1.0.3/README.md +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-1.0.3/lib/faraday/retriable_response.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-1.0.3/lib/faraday/retry/middleware.rb +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-1.0.3/lib/faraday/retry/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/faraday-retry-1.0.3/lib/faraday/retry.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/.autotest +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/History.rdoc +1397 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/Manifest.txt +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/README.rdoc +764 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/Rakefile +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/assertions.rb +807 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/expectations.rb +303 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/mock.rb +240 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/spec.rb +342 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/test.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/lib/minitest.rb +1056 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/test/minitest/metametameta.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/test/minitest/test_minitest_assertions.rb +1575 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/test/minitest/test_minitest_mock.rb +872 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/test/minitest/test_minitest_spec.rb +1061 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-5.14.2/test/minitest/test_minitest_test.rb +1084 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/.gitignore +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/.travis.yml +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/Gemfile +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/LICENSE +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/README.md +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/Rakefile +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/config/cucumber.yml +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/examples/chdir_spec.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/features/around_spec.feature +378 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/features/step_definitions/around_steps.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/features/support/env.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/lib/minitest/around/spec.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/lib/minitest/around/unit.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/lib/minitest/around/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/lib/minitest/around.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/minitest-around.gemspec +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/test/around_spec.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/test/around_test.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/test/helper.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/test/nested_spec.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/minitest-around-0.5.0/test/nested_test.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/.gitignore +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/.rspec +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/.travis.yml +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/.yardopts +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/Gemfile +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/History.txt +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/LICENSE +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/Manifest.txt +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/README.md +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/Rakefile +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/composite_io.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/multipart_post.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/multipartable.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/net/http/post/multipart.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/lib/parts.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/multipart-post.gemspec +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/composite_io_spec.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/multibyte.txt +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/net/http/post/multipart_spec.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/parts_spec.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/multipart-post-2.1.1/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.20.1/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.20.1/lib/parallel/processor_count.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.20.1/lib/parallel/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/parallel-1.20.1/lib/parallel.rb +523 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/all.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ast/processor.rb +285 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/base.rb +290 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/builders/default.rb +2111 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/context.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/current.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/current_arg_stack.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/lexer/dedenter.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/lexer/literal.rb +269 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/lexer.rb +23770 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/macruby.rb +6149 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/max_numparam_stack.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/messages.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/meta.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby18.rb +5663 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby19.rb +6092 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby20.rb +6527 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby21.rb +6578 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby22.rb +6613 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby23.rb +6624 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby24.rb +6694 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby25.rb +6662 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby26.rb +6676 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby27.rb +7803 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby28.rb +8047 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/ruby30.rb +8052 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/rubymotion.rb +6086 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/runner.rb +277 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/buffer.rb +332 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/comment/associator.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/comment.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/method_definition.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/tree_rewriter/action.rb +242 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/source/tree_rewriter.rb +404 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/static_environment.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/variables_stack.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/lib/parser.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/parser-2.7.2.0/parser.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/.gitignore +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/.rubocop.yml +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/.rubocop_todo.yml +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/.travis.yml +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Changelog.md +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Gemfile +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Guardfile +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/README.markdown +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/Rakefile +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/appveyor.yml +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/lib/rainbow.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/rainbow.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/spec_helper.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +296 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +199 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/.github/workflows/macos.yml +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/.github/workflows/ubuntu-rvm.yml +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/.github/workflows/ubuntu.yml +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/.github/workflows/windows.yml +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/Gemfile +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/History.rdoc +2368 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/Rakefile +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/console +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/rake +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/bin/setup +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.1/rake.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/CHANGELOG.md +376 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/Gemfile +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/README.md +478 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/Rakefile +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/alternation.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/anchor.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/backref.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/conditional.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/escape.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/free_space.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/group.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/keep.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/literal.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/posix_class.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/property.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/root.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/set/intersection.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/set/range.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/set.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/classes/type.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/methods/match.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/methods/match_length.rb +172 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/methods/options.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/methods/strfregexp.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/methods/tests.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/methods/traverse.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/quantifier.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/sequence.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/sequence_operation.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression/subexpression.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/expression.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/lexer.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/parser.rb +659 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/scanner/char_type.rl +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/scanner/properties/long.yml +594 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/scanner/properties/short.yml +237 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/scanner/property.rl +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/scanner/scanner.rl +915 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/scanner.rb +2790 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/any.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/base.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/anchor.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/assertion.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/backref.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/character_set.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/character_type.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/conditional.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/escape.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/group.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/keep.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/meta.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/posix_class.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/quantifier.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens/unicode_property.rb +675 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/tokens.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/version_lookup.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/1.8.6.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/1.9.1.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/1.9.3.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.0.0.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.2.0.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.3.0.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.4.0.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.4.1.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.5.0.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.6.0.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.6.2.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions/2.6.3.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax/versions.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/syntax.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/token.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/lib/regexp_parser.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/regexp_parser.gemspec +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/base_spec.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/clone_spec.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/conditional_spec.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/free_space_spec.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/methods/match_length_spec.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/methods/match_spec.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/methods/strfregexp_spec.rb +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/methods/tests_spec.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/methods/traverse_spec.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/options_spec.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/root_spec.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/sequence_spec.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/subexpression_spec.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/to_h_spec.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/expression/to_s_spec.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/lexer/all_spec.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/lexer/conditionals_spec.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/lexer/delimiters_spec.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/lexer/escapes_spec.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/lexer/keep_spec.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/lexer/literals_spec.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/lexer/nesting_spec.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/lexer/refcalls_spec.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/all_spec.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/alternation_spec.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/anchors_spec.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/conditionals_spec.rb +179 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/errors_spec.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/escapes_spec.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/free_space_spec.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/groups_spec.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/keep_spec.rb +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/options_spec.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/posix_classes_spec.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/properties_spec.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/quantifiers_spec.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/refcalls_spec.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/set/intersections_spec.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/set/ranges_spec.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/sets_spec.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/parser/types_spec.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/all_spec.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/anchors_spec.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/conditionals_spec.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/delimiters_spec.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/errors_spec.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/escapes_spec.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/free_space_spec.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/groups_spec.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/keep_spec.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/literals_spec.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/meta_spec.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/options_spec.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/properties_spec.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/quantifiers_spec.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/refcalls_spec.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/sets_spec.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/scanner/types_spec.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/spec_helper.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/support/runner.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/support/shared_examples.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/support/warning_extractor.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/syntax/syntax_spec.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/syntax/syntax_token_map_spec.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/syntax/versions/1.8.6_spec.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/syntax/versions/1.9.1_spec.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/syntax/versions/1.9.3_spec.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/syntax/versions/2.0.0_spec.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/syntax/versions/2.2.0_spec.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/syntax/versions/aliases_spec.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/regexp_parser-1.8.0/spec/token/token_spec.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/.gitignore +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/.travis.yml +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/Gemfile +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/NEWS.md +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/README.md +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/Rakefile +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/attlistdecl.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/attribute.rb +205 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/cdata.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/child.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/comment.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/doctype.rb +287 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/document.rb +291 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/dtd/attlistdecl.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/dtd/dtd.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/dtd/elementdecl.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/dtd/entitydecl.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/dtd/notationdecl.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/element.rb +1269 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/encoding.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/entity.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/formatters/default.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/formatters/pretty.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/formatters/transitive.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/functions.rb +447 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/instruction.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/light/node.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/namespace.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/node.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/output.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parent.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parseexception.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parsers/baseparser.rb +594 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parsers/lightparser.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parsers/pullparser.rb +197 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parsers/sax2parser.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parsers/streamparser.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parsers/treeparser.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parsers/ultralightparser.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/parsers/xpathparser.rb +675 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/quickpath.rb +266 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/rexml.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/sax2listener.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/security.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/source.rb +298 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/streamlistener.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/text.rb +424 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/undefinednamespaceexception.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/validation/relaxng.rb +539 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/validation/validation.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/validation/validationexception.rb +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/xmldecl.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/xmltokens.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/xpath.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/lib/rexml/xpath_parser.rb +968 -0
- data/vendor/bundle/ruby/2.6.0/gems/rexml-3.2.4/rexml.gemspec +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/README.md +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-3.10.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/.yardopts +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/Changelog.md +2318 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/README.md +384 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/bisect/fork_runner.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/bisect/utilities.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/configuration.rb +2372 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/example.rb +663 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/example_group.rb +901 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/exception_presenter.rb +521 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/formatters.rb +273 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/memoized_helpers.rb +554 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/option_parser.rb +321 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/runner.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core/world.rb +277 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.10.0/lib/rspec/core.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/Changelog.md +1232 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/README.md +320 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/configuration.rb +230 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/failure_aggregator.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/handler.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/change.rb +428 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/has.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/include.rb +206 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/raise_error.rb +259 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in/yield.rb +355 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/dsl.rb +540 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.10.0/lib/rspec/matchers.rb +1041 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/.document +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/Changelog.md +1143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/README.md +463 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/recorder.rb +294 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/message_expectation.rb +751 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/proxy.rb +503 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.10.0/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/Changelog.md +314 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/README.md +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/reentrant_mutex.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/ruby_features.rb +190 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/source.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/diff_helpers.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/in_sub_process.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/shell_out.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/string_matcher.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/spec.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.10.0/lib/rspec/support.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/README.md +225 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/bin/console +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/bin/rubocop-profile +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/bin/setup +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/config/default.yml +4445 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/exe/rubocop +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/ast_aliases.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cached_data.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/auto_genenerate_config.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/base.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/execute_runner.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/init_dotfile.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/show_cops.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/version.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/environment.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/comment_config.rb +213 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/config.rb +298 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/config_loader.rb +260 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/config_loader_resolver.rb +235 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/config_obsoletion.rb +283 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/config_store.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/config_validator.rb +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/autocorrect_logic.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/base.rb +430 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/bundler/duplicated_gem.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/bundler/gem_comment.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/bundler/insecure_protocol_source.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/commissioner.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/cop.rb +160 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/corrector.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/alignment_corrector.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/condition_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/empty_line_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/parentheses_corrector.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/percent_literal_corrector.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/punctuation_corrector.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/space_corrector.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/correctors/unused_arg_corrector.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/documentation.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/force.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/gemspec/ordered_dependencies.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/gemspec/required_ruby_version.rb +111 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/generator/configuration_injector.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/generator.rb +224 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/ignored_node.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/internal_affairs/method_name_equal.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/internal_affairs.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/argument_alignment.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/array_alignment.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/assignment_indentation.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/begin_end_alignment.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/block_alignment.rb +248 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/block_end_newline.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/case_indentation.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/class_structure.rb +305 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/comment_indentation.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/condition_position.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/def_end_alignment.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/dot_position.rb +109 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/else_alignment.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_comment.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +160 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_line_between_defs.rb +150 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_attribute_accessor.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/end_alignment.rb +184 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/end_of_line.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/extra_spacing.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/first_argument_indentation.rb +251 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/first_array_element_indentation.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/first_array_element_line_break.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/first_hash_element_indentation.rb +184 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/first_hash_element_line_break.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/first_method_argument_line_break.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/first_parameter_indentation.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/hash_alignment.rb +362 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +286 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/heredoc_indentation.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/indentation_style.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/indentation_width.rb +362 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/initial_indentation.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/leading_comment_space.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/leading_empty_lines.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/line_length.rb +280 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_assignment_layout.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_block_layout.rb +167 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/multiline_operation_indentation.rb +123 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/parameter_alignment.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +208 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_after_colon.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_after_comma.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_after_method_name.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_after_not.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_after_semicolon.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_around_block_parameters.rb +164 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_around_keyword.rb +243 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_around_method_call_operator.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_around_operators.rb +243 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_before_block_braces.rb +151 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_before_comma.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_before_comment.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_before_first_arg.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_before_semicolon.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_in_lambda_literal.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +227 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_block_braces.rb +249 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_parens.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_range_literal.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/trailing_empty_lines.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/layout/trailing_whitespace.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/legacy/corrections_proxy.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/legacy/corrector.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/ambiguous_block_association.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/ambiguous_operator.rb +103 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/big_decimal_new.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/boolean_symbol.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/constant_definition_in_block.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/constant_resolution.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/debugger.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/deprecated_class_methods.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/duplicate_elsif_condition.rb +39 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/duplicate_hash_key.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/duplicate_methods.rb +236 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/duplicate_require.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/duplicate_rescue_exception.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/each_with_object_argument.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/empty_conditional_body.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/empty_file.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/empty_interpolation.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/empty_when.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/ensure_return.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/erb_new_arguments.rb +165 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/float_comparison.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/format_parameter_mismatch.rb +196 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/heredoc_method_call_position.rb +155 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/identity_comparison.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/implicit_string_concatenation.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/ineffective_access_modifier.rb +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/inherit_exception.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/interpolation_check.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/literal_as_condition.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/loop.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/missing_super.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/mixed_regexp_capture_types.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/multiple_comparison.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/nested_method_definition.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/non_deterministic_require_order.rb +160 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/number_conversion.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/ordered_magic_comments.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/percent_string_array.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/percent_symbol_array.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/raise_exception.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/rand_one.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/redundant_cop_disable_directive.rb +271 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/redundant_require_statement.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/redundant_splat_expansion.rb +176 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/redundant_string_coercion.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/redundant_with_index.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/redundant_with_object.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/regexp_as_condition.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/rescue_type.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/return_in_void_context.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/safe_navigation_chain.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/safe_navigation_consistency.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/script_permission.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/self_assignment.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/send_with_mixin_argument.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/struct_new_override.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/suppressed_exception.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/syntax.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/to_json.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/top_level_return_with_argument.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/unified_integer.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/unreachable_loop.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/unused_block_argument.rb +170 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/unused_method_argument.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/uri_escape_unescape.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/uri_regexp.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/useless_access_modifier.rb +288 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/useless_assignment.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/useless_else_without_rescue.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/useless_method_definition.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/useless_setter_call.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/useless_times.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/lint/void.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/message_annotator.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/block_length.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/class_length.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/method_length.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/module_length.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/parameter_lists.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/perceived_complexity.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +138 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/utils/code_length_calculator.rb +158 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/utils/iterating_block.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/metrics/utils/repeated_csend_discount.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/migration/department_name.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/alignment.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/allowed_methods.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/annotation_comment.rb +42 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/array_min_size.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/auto_corrector.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/check_line_breakable.rb +193 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/code_length.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/comments_help.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/configurable_enforced_style.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/configurable_formatting.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/empty_lines_around_body.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/empty_parameter.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/end_keyword_alignment.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/enforce_superclass.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/first_element_line_break.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/frozen_string_literal.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/hash_alignment_styles.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/hash_transform_method.rb +197 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/interpolation.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/line_length_help.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/method_complexity.rb +70 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/nil_methods.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/ordered_gem_node.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/parentheses.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/percent_array.rb +59 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/range_help.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/rational_literal.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/regexp_literal_help.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/rescue_node.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/space_after_punctuation.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/space_before_punctuation.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/statement_modifier.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/surrounding_space.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/target_ruby_version.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/trailing_comma.rb +210 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/uncommunicative_name.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/unused_argument.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/mixin/visibility_help.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/accessor_method_name.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/ascii_identifiers.rb +95 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/block_parameter_name.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/class_and_module_camel_case.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/constant_name.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/file_name.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/method_name.rb +79 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/method_parameter_name.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/predicate_name.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/variable_name.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/offense.rb +231 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/registry.rb +276 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/security/eval.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/security/json_load.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/security/marshal_load.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/security/open.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/security/yaml_load.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/severity.rb +67 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/access_modifier_declarations.rb +131 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/accessor_grouping.rb +149 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/alias.rb +154 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/and_or.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/array_coercion.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/array_join.rb +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/attr.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/bare_percent_literals.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/bisected_attr_accessor.rb +141 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/block_comments.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/block_delimiters.rb +382 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/case_equality.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/case_like_if.rb +236 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/class_and_module_children.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/class_check.rb +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/class_methods.rb +56 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/class_methods_definitions.rb +157 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/class_vars.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/collection_methods.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/colon_method_call.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/combinable_loops.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/command_literal.rb +186 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/commented_keyword.rb +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/conditional_assignment.rb +664 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/constant_visibility.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/copyright.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/def_with_parentheses.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/dir.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/disable_cops_within_source_code_directive.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/documentation.rb +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/documentation_method.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/double_cop_disable_directive.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/double_negation.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/each_for_simple_loop.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/each_with_object.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/empty_block_parameter.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/empty_case_condition.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/empty_else.rb +173 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/empty_lambda_parameter.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/empty_literal.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/empty_method.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/encoding.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/end_block.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/even_odd.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/expand_path_arguments.rb +195 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/explicit_block_argument.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/exponential_notation.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/float_division.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/for.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/format_string.rb +126 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/format_string_token.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/frozen_string_literal_comment.rb +212 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/global_std_stream.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/guard_clause.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/hash_as_last_array_item.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/hash_each_methods.rb +86 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/hash_like_case.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/hash_syntax.rb +223 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/hash_transform_keys.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/hash_transform_values.rb +88 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/if_inside_else.rb +87 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/if_unless_modifier.rb +163 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/if_with_semicolon.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/implicit_runtime_error.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/infinite_loop.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/inverse_methods.rb +187 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/keyword_parameters_order.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/lambda.rb +127 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/lambda_call.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/line_end_concatenation.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +174 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +191 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/method_called_on_do_end_block.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/method_def_parentheses.rb +161 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/min_max.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/missing_else.rb +170 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/missing_respond_to_missing.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/mixin_grouping.rb +145 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/mixin_usage.rb +91 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/module_function.rb +147 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/multiline_block_chain.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/multiline_if_modifier.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/multiline_if_then.rb +44 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/multiline_memoization.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/multiline_ternary_operator.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/multiline_when_then.rb +73 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/mutable_constant.rb +175 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/negated_unless.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/negated_while.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/nested_modifier.rb +104 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/nested_parenthesized_calls.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/nested_ternary_operator.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/next.rb +240 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/nil_comparison.rb +77 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/non_nil_check.rb +144 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/not.rb +76 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/numeric_literal_prefix.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/numeric_literals.rb +114 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/numeric_predicate.rb +132 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/one_line_conditional.rb +148 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/optional_arguments.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/optional_boolean_parameter.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/or_assignment.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/parentheses_around_condition.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/percent_literal_delimiters.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/percent_q_literals.rb +71 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/perl_backrefs.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/preferred_hash_methods.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/raise_args.rb +136 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/random_with_offset.rb +153 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_assignment.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_begin.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_capital_w.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_condition.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_exception.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_fetch_block.rb +113 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_file_extension_in_require.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_freeze.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_interpolation.rb +99 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_parentheses.rb +239 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_percent_q.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_regexp_character_class.rb +83 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_regexp_escape.rb +112 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_return.rb +169 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_self.rb +166 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_self_assignment.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_sort.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/redundant_sort_by.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/regexp_literal.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/rescue_modifier.rb +93 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/rescue_standard_error.rb +128 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/safe_navigation.rb +277 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/sample.rb +142 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/self_assignment.rb +101 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/semicolon.rb +98 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/send.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/signal_exception.rb +217 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/single_argument_dig.rb +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/single_line_block_params.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/single_line_methods.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/slicing_with_range.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/sole_nested_conditional.rb +66 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/special_global_vars.rb +202 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/stderr_puts.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/string_concatenation.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/string_hash_keys.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/string_methods.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/strip.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/struct_inheritance.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/symbol_array.rb +108 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/symbol_literal.rb +30 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/symbol_proc.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/ternary_parentheses.rb +220 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_body_on_class.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_body_on_module.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +106 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +96 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_comma_in_block_args.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_method_end_statement.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trailing_underscore_variable.rb +156 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/trivial_accessors.rb +188 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/unless_else.rb +52 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/unpack_first.rb +58 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/variable_interpolation.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/when_then.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/while_until_do.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/while_until_modifier.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/word_array.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/yoda_condition.rb +162 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/style/zero_length_predicate.rb +115 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/team.rb +257 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/util.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/utils/format_string.rb +135 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/variable_force/assignment.rb +97 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/variable_force/branch.rb +321 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/variable_force/scope.rb +110 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/variable_force/variable.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cop/variable_force.rb +463 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cops_documentation_generator.rb +284 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/core_ext/string.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/directive_comment.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/error.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/ext/processed_source.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/ext/regexp_node.rb +46 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/file_finder.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/auto_gen_config_formatter.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/base_formatter.rb +119 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/clang_style_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/disabled_config_formatter.rb +216 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/emacs_style_formatter.rb +37 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/formatter_set.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/html_formatter.rb +143 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/json_formatter.rb +81 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/junit_formatter.rb +84 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/progress_formatter.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/simple_text_formatter.rb +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/tap_formatter.rb +82 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/magic_comment.rb +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/name_similarity.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/options.rb +509 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/rake_task.rb +78 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/remote_config.rb +105 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/result_cache.rb +227 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/rspec/cop_helper.rb +74 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/rspec/expect_offense.rb +319 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/rspec/shared_contexts.rb +140 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/rspec/support.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/runner.rb +403 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/string_interpreter.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/target_finder.rb +200 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/target_ruby.rb +160 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/version.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/yaml_duplication_checker.rb +40 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop.rb +638 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/README.md +54 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/builder.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/ext/range.rb +28 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/ext/set.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/array_node.rb +64 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/block_node.rb +121 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/break_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/case_match_node.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/case_node.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/class_node.rb +31 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/const_node.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/def_node.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/defined_node.rb +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/float_node.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/forward_args_node.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/hash_node.rb +122 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/if_node.rb +168 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/index_node.rb +48 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/indexasgn_node.rb +50 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/int_node.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/lambda_node.rb +65 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +263 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +210 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/parameterized_node.rb +117 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/module_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/next_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/range_node.rb +18 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/regexp_node.rb +92 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/resbody_node.rb +45 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/rescue_node.rb +49 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/return_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/send_node.rb +24 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/super_node.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/when_node.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node/yield_node.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node.rb +708 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/node_pattern.rb +952 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/processed_source.rb +286 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/token.rb +116 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/traversal.rb +204 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast/version.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop/ast.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/rubocop-ast-0.4.2/lib/rubocop-ast.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/README.md +38 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/Rakefile +2 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/time.rb +107 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/time.rb +32 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib/ruby-progressbar.rb +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/ChangeLog +214 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/LICENSE +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/README.md +75 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/lib/ruby2_keywords.rb +57 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.0 +25 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.1 +9 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.2 +55 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.3 +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/ruby2_keywords-0.0.5/logs/ChangeLog-0.0.4 +53 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/CHANGELOG.md +133 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/README.md +124 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.6.0/gems/unicode-display_width-1.7.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ast-2.4.1.gemspec +50 -0
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.4.4.gemspec +59 -0
- data/vendor/bundle/ruby/2.6.0/specifications/dotenv-2.7.6.gemspec +40 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-1.9.3.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-em_http-1.0.0.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-em_synchrony-1.0.0.gemspec +70 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-excon-1.1.0.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-httpclient-1.0.1.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-multipart-1.0.3.gemspec +34 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-net_http-1.0.1.gemspec +61 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-net_http_persistent-1.2.0.gemspec +58 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-patron-1.0.0.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-rack-1.0.0.gemspec +64 -0
- data/vendor/bundle/ruby/2.6.0/specifications/faraday-retry-1.0.3.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/minitest-5.14.2.gemspec +41 -0
- data/vendor/bundle/ruby/2.6.0/specifications/minitest-around-0.5.0.gemspec +44 -0
- data/vendor/bundle/ruby/2.6.0/specifications/multipart-post-2.1.1.gemspec +38 -0
- data/vendor/bundle/ruby/2.6.0/specifications/parallel-1.20.1.gemspec +21 -0
- data/vendor/bundle/ruby/2.6.0/specifications/parser-2.7.2.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rainbow-3.0.0.gemspec +33 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rake-13.0.1.gemspec +26 -0
- data/vendor/bundle/ruby/2.6.0/specifications/regexp_parser-1.8.0.gemspec +23 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.4.gemspec +36 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.10.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.10.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.10.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.10.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.10.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rubocop-0.91.1.gemspec +62 -0
- data/vendor/bundle/ruby/2.6.0/specifications/rubocop-ast-0.4.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ruby-progressbar-1.10.1.gemspec +46 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ruby2_keywords-0.0.5.gemspec +22 -0
- data/vendor/bundle/ruby/2.6.0/specifications/unicode-display_width-1.7.0.gemspec +39 -0
- metadata +1960 -4
- data/pkg/plaid-14.8.0.gem +0 -0
@@ -0,0 +1,4445 @@
|
|
1
|
+
# Common configuration.
|
2
|
+
|
3
|
+
AllCops:
|
4
|
+
RubyInterpreters:
|
5
|
+
- ruby
|
6
|
+
- macruby
|
7
|
+
- rake
|
8
|
+
- jruby
|
9
|
+
- rbx
|
10
|
+
# Include common Ruby source files.
|
11
|
+
Include:
|
12
|
+
- '**/*.rb'
|
13
|
+
- '**/*.arb'
|
14
|
+
- '**/*.axlsx'
|
15
|
+
- '**/*.builder'
|
16
|
+
- '**/*.fcgi'
|
17
|
+
- '**/*.gemfile'
|
18
|
+
- '**/*.gemspec'
|
19
|
+
- '**/*.god'
|
20
|
+
- '**/*.jb'
|
21
|
+
- '**/*.jbuilder'
|
22
|
+
- '**/*.mspec'
|
23
|
+
- '**/*.opal'
|
24
|
+
- '**/*.pluginspec'
|
25
|
+
- '**/*.podspec'
|
26
|
+
- '**/*.rabl'
|
27
|
+
- '**/*.rake'
|
28
|
+
- '**/*.rbuild'
|
29
|
+
- '**/*.rbw'
|
30
|
+
- '**/*.rbx'
|
31
|
+
- '**/*.ru'
|
32
|
+
- '**/*.ruby'
|
33
|
+
- '**/*.spec'
|
34
|
+
- '**/*.thor'
|
35
|
+
- '**/*.watchr'
|
36
|
+
- '**/.irbrc'
|
37
|
+
- '**/.pryrc'
|
38
|
+
- '**/.simplecov'
|
39
|
+
- '**/buildfile'
|
40
|
+
- '**/Appraisals'
|
41
|
+
- '**/Berksfile'
|
42
|
+
- '**/Brewfile'
|
43
|
+
- '**/Buildfile'
|
44
|
+
- '**/Capfile'
|
45
|
+
- '**/Cheffile'
|
46
|
+
- '**/Dangerfile'
|
47
|
+
- '**/Deliverfile'
|
48
|
+
- '**/Fastfile'
|
49
|
+
- '**/*Fastfile'
|
50
|
+
- '**/Gemfile'
|
51
|
+
- '**/Guardfile'
|
52
|
+
- '**/Jarfile'
|
53
|
+
- '**/Mavenfile'
|
54
|
+
- '**/Podfile'
|
55
|
+
- '**/Puppetfile'
|
56
|
+
- '**/Rakefile'
|
57
|
+
- '**/rakefile'
|
58
|
+
- '**/Snapfile'
|
59
|
+
- '**/Steepfile'
|
60
|
+
- '**/Thorfile'
|
61
|
+
- '**/Vagabondfile'
|
62
|
+
- '**/Vagrantfile'
|
63
|
+
Exclude:
|
64
|
+
- 'node_modules/**/*'
|
65
|
+
- 'tmp/**/*'
|
66
|
+
- 'vendor/**/*'
|
67
|
+
- '.git/**/*'
|
68
|
+
# Default formatter will be used if no `-f/--format` option is given.
|
69
|
+
DefaultFormatter: progress
|
70
|
+
# Cop names are displayed in offense messages by default. Change behavior
|
71
|
+
# by overriding DisplayCopNames, or by giving the `--no-display-cop-names`
|
72
|
+
# option.
|
73
|
+
DisplayCopNames: true
|
74
|
+
# Style guide URLs are not displayed in offense messages by default. Change
|
75
|
+
# behavior by overriding `DisplayStyleGuide`, or by giving the
|
76
|
+
# `-S/--display-style-guide` option.
|
77
|
+
DisplayStyleGuide: false
|
78
|
+
# When specifying style guide URLs, any paths and/or fragments will be
|
79
|
+
# evaluated relative to the base URL.
|
80
|
+
StyleGuideBaseURL: https://rubystyle.guide
|
81
|
+
# Extra details are not displayed in offense messages by default. Change
|
82
|
+
# behavior by overriding ExtraDetails, or by giving the
|
83
|
+
# `-E/--extra-details` option.
|
84
|
+
ExtraDetails: false
|
85
|
+
# Additional cops that do not reference a style guide rule may be enabled by
|
86
|
+
# default. Change behavior by overriding `StyleGuideCopsOnly`, or by giving
|
87
|
+
# the `--only-guide-cops` option.
|
88
|
+
StyleGuideCopsOnly: false
|
89
|
+
# All cops except the ones configured `Enabled: false` in this file are enabled by default.
|
90
|
+
# Change this behavior by overriding either `DisabledByDefault` or `EnabledByDefault`.
|
91
|
+
# When `DisabledByDefault` is `true`, all cops in the default configuration
|
92
|
+
# are disabled, and only cops in user configuration are enabled. This makes
|
93
|
+
# cops opt-in instead of opt-out. Note that when `DisabledByDefault` is `true`,
|
94
|
+
# cops in user configuration will be enabled even if they don't set the
|
95
|
+
# Enabled parameter.
|
96
|
+
# When `EnabledByDefault` is `true`, all cops, even those configured `Enabled: false`
|
97
|
+
# in this file are enabled by default. Cops can still be disabled in user configuration.
|
98
|
+
# Note that it is invalid to set both EnabledByDefault and DisabledByDefault
|
99
|
+
# to true in the same configuration.
|
100
|
+
EnabledByDefault: false
|
101
|
+
DisabledByDefault: false
|
102
|
+
# New cops introduced between major versions are set to a special pending status
|
103
|
+
# and are not enabled by default with warning message.
|
104
|
+
# Change this behavior by overriding either `NewCops: enable` or `NewCops: disable`.
|
105
|
+
# When `NewCops` is `enable`, pending cops are enabled in bulk. Can be overridden by
|
106
|
+
# the `--enable-pending-cops` command-line option.
|
107
|
+
# When `NewCops` is `disable`, pending cops are disabled in bulk. Can be overridden by
|
108
|
+
# the `--disable-pending-cops` command-line option.
|
109
|
+
NewCops: pending
|
110
|
+
# Enables the result cache if `true`. Can be overridden by the `--cache` command
|
111
|
+
# line option.
|
112
|
+
UseCache: true
|
113
|
+
# Threshold for how many files can be stored in the result cache before some
|
114
|
+
# of the files are automatically removed.
|
115
|
+
MaxFilesInCache: 20000
|
116
|
+
# The cache will be stored in "rubocop_cache" under this directory. If
|
117
|
+
# CacheRootDirectory is ~ (nil), which it is by default, the root will be
|
118
|
+
# taken from the environment variable `$XDG_CACHE_HOME` if it is set, or if
|
119
|
+
# `$XDG_CACHE_HOME` is not set, it will be `$HOME/.cache/`.
|
120
|
+
# The CacheRootDirectory can be overwritten by passing the `--cache-root` command
|
121
|
+
# line option or by setting `$RUBOCOP_CACHE_ROOT` environment variable.
|
122
|
+
CacheRootDirectory: ~
|
123
|
+
# It is possible for a malicious user to know the location of RuboCop's cache
|
124
|
+
# directory by looking at CacheRootDirectory, and create a symlink in its
|
125
|
+
# place that could cause RuboCop to overwrite unintended files, or read
|
126
|
+
# malicious input. If you are certain that your cache location is secure from
|
127
|
+
# this kind of attack, and wish to use a symlinked cache location, set this
|
128
|
+
# value to "true".
|
129
|
+
AllowSymlinksInCacheRootDirectory: false
|
130
|
+
# What MRI version of the Ruby interpreter is the inspected code intended to
|
131
|
+
# run on? (If there is more than one, set this to the lowest version.)
|
132
|
+
# If a value is specified for TargetRubyVersion then it is used. Acceptable
|
133
|
+
# values are specificed as a float (i.e. 2.5); the teeny version of Ruby
|
134
|
+
# should not be included. If the project specifies a Ruby version in the
|
135
|
+
# .ruby-version file, Gemfile or gems.rb file, RuboCop will try to determine
|
136
|
+
# the desired version of Ruby by inspecting the .ruby-version file first,
|
137
|
+
# followed by the Gemfile.lock or gems.locked file. (Although the Ruby version
|
138
|
+
# is specified in the Gemfile or gems.rb file, RuboCop reads the final value
|
139
|
+
# from the lock file.) If the Ruby version is still unresolved, RuboCop will
|
140
|
+
# use the oldest officially supported Ruby version (currently Ruby 2.4).
|
141
|
+
TargetRubyVersion: ~
|
142
|
+
|
143
|
+
#################### Bundler ###############################
|
144
|
+
|
145
|
+
Bundler/DuplicatedGem:
|
146
|
+
Description: 'Checks for duplicate gem entries in Gemfile.'
|
147
|
+
Enabled: true
|
148
|
+
VersionAdded: '0.46'
|
149
|
+
Include:
|
150
|
+
- '**/*.gemfile'
|
151
|
+
- '**/Gemfile'
|
152
|
+
- '**/gems.rb'
|
153
|
+
|
154
|
+
Bundler/GemComment:
|
155
|
+
Description: 'Add a comment describing each gem.'
|
156
|
+
Enabled: false
|
157
|
+
VersionAdded: '0.59'
|
158
|
+
VersionChanged: '0.85'
|
159
|
+
Include:
|
160
|
+
- '**/*.gemfile'
|
161
|
+
- '**/Gemfile'
|
162
|
+
- '**/gems.rb'
|
163
|
+
IgnoredGems: []
|
164
|
+
OnlyFor: []
|
165
|
+
|
166
|
+
Bundler/InsecureProtocolSource:
|
167
|
+
Description: >-
|
168
|
+
The source `:gemcutter`, `:rubygems` and `:rubyforge` are deprecated
|
169
|
+
because HTTP requests are insecure. Please change your source to
|
170
|
+
'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
|
171
|
+
Enabled: true
|
172
|
+
VersionAdded: '0.50'
|
173
|
+
Include:
|
174
|
+
- '**/*.gemfile'
|
175
|
+
- '**/Gemfile'
|
176
|
+
- '**/gems.rb'
|
177
|
+
|
178
|
+
Bundler/OrderedGems:
|
179
|
+
Description: >-
|
180
|
+
Gems within groups in the Gemfile should be alphabetically sorted.
|
181
|
+
Enabled: true
|
182
|
+
VersionAdded: '0.46'
|
183
|
+
VersionChanged: '0.47'
|
184
|
+
TreatCommentsAsGroupSeparators: true
|
185
|
+
# By default, "-" and "_" are ignored for order purposes.
|
186
|
+
# This can be overridden by setting this parameter to true.
|
187
|
+
ConsiderPunctuation: false
|
188
|
+
Include:
|
189
|
+
- '**/*.gemfile'
|
190
|
+
- '**/Gemfile'
|
191
|
+
- '**/gems.rb'
|
192
|
+
|
193
|
+
#################### Gemspec ###############################
|
194
|
+
|
195
|
+
Gemspec/DuplicatedAssignment:
|
196
|
+
Description: 'An attribute assignment method calls should be listed only once in a gemspec.'
|
197
|
+
Enabled: true
|
198
|
+
VersionAdded: '0.52'
|
199
|
+
Include:
|
200
|
+
- '**/*.gemspec'
|
201
|
+
|
202
|
+
Gemspec/OrderedDependencies:
|
203
|
+
Description: >-
|
204
|
+
Dependencies in the gemspec should be alphabetically sorted.
|
205
|
+
Enabled: true
|
206
|
+
VersionAdded: '0.51'
|
207
|
+
TreatCommentsAsGroupSeparators: true
|
208
|
+
# By default, "-" and "_" are ignored for order purposes.
|
209
|
+
# This can be overridden by setting this parameter to true.
|
210
|
+
ConsiderPunctuation: false
|
211
|
+
Include:
|
212
|
+
- '**/*.gemspec'
|
213
|
+
|
214
|
+
Gemspec/RequiredRubyVersion:
|
215
|
+
Description: 'Checks that `required_ruby_version` of gemspec is specified and equal to `TargetRubyVersion` of .rubocop.yml.'
|
216
|
+
Enabled: true
|
217
|
+
VersionAdded: '0.52'
|
218
|
+
VersionChanged: '0.89'
|
219
|
+
Include:
|
220
|
+
- '**/*.gemspec'
|
221
|
+
|
222
|
+
Gemspec/RubyVersionGlobalsUsage:
|
223
|
+
Description: Checks usage of RUBY_VERSION in gemspec.
|
224
|
+
StyleGuide: '#no-ruby-version-in-the-gemspec'
|
225
|
+
Enabled: true
|
226
|
+
VersionAdded: '0.72'
|
227
|
+
Include:
|
228
|
+
- '**/*.gemspec'
|
229
|
+
|
230
|
+
#################### Layout ###########################
|
231
|
+
|
232
|
+
Layout/AccessModifierIndentation:
|
233
|
+
Description: Check indentation of private/protected visibility modifiers.
|
234
|
+
StyleGuide: '#indent-public-private-protected'
|
235
|
+
Enabled: true
|
236
|
+
VersionAdded: '0.49'
|
237
|
+
EnforcedStyle: indent
|
238
|
+
SupportedStyles:
|
239
|
+
- outdent
|
240
|
+
- indent
|
241
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
242
|
+
# But it can be overridden by setting this parameter
|
243
|
+
IndentationWidth: ~
|
244
|
+
|
245
|
+
Layout/ArgumentAlignment:
|
246
|
+
Description: >-
|
247
|
+
Align the arguments of a method call if they span more
|
248
|
+
than one line.
|
249
|
+
StyleGuide: '#no-double-indent'
|
250
|
+
Enabled: true
|
251
|
+
VersionAdded: '0.68'
|
252
|
+
VersionChanged: '0.77'
|
253
|
+
# Alignment of arguments in multi-line method calls.
|
254
|
+
#
|
255
|
+
# The `with_first_argument` style aligns the following lines along the same
|
256
|
+
# column as the first parameter.
|
257
|
+
#
|
258
|
+
# method_call(a,
|
259
|
+
# b)
|
260
|
+
#
|
261
|
+
# The `with_fixed_indentation` style aligns the following lines with one
|
262
|
+
# level of indentation relative to the start of the line with the method call.
|
263
|
+
#
|
264
|
+
# method_call(a,
|
265
|
+
# b)
|
266
|
+
EnforcedStyle: with_first_argument
|
267
|
+
SupportedStyles:
|
268
|
+
- with_first_argument
|
269
|
+
- with_fixed_indentation
|
270
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
271
|
+
# But it can be overridden by setting this parameter
|
272
|
+
IndentationWidth: ~
|
273
|
+
|
274
|
+
Layout/ArrayAlignment:
|
275
|
+
Description: >-
|
276
|
+
Align the elements of an array literal if they span more than
|
277
|
+
one line.
|
278
|
+
StyleGuide: '#no-double-indent'
|
279
|
+
Enabled: true
|
280
|
+
VersionAdded: '0.49'
|
281
|
+
VersionChanged: '0.77'
|
282
|
+
# Alignment of elements of a multi-line array.
|
283
|
+
#
|
284
|
+
# The `with_first_parameter` style aligns the following lines along the same
|
285
|
+
# column as the first element.
|
286
|
+
#
|
287
|
+
# array = [1, 2, 3,
|
288
|
+
# 4, 5, 6]
|
289
|
+
#
|
290
|
+
# The `with_fixed_indentation` style aligns the following lines with one
|
291
|
+
# level of indentation relative to the start of the line with start of array.
|
292
|
+
#
|
293
|
+
# array = [1, 2, 3,
|
294
|
+
# 4, 5, 6]
|
295
|
+
EnforcedStyle: with_first_element
|
296
|
+
SupportedStyles:
|
297
|
+
- with_first_element
|
298
|
+
- with_fixed_indentation
|
299
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
300
|
+
# But it can be overridden by setting this parameter
|
301
|
+
IndentationWidth: ~
|
302
|
+
|
303
|
+
Layout/AssignmentIndentation:
|
304
|
+
Description: >-
|
305
|
+
Checks the indentation of the first line of the
|
306
|
+
right-hand-side of a multi-line assignment.
|
307
|
+
Enabled: true
|
308
|
+
VersionAdded: '0.49'
|
309
|
+
VersionChanged: '0.77'
|
310
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
311
|
+
# But it can be overridden by setting this parameter
|
312
|
+
IndentationWidth: ~
|
313
|
+
|
314
|
+
Layout/BeginEndAlignment:
|
315
|
+
Description: 'Align ends corresponding to begins correctly.'
|
316
|
+
Enabled: pending
|
317
|
+
VersionAdded: '0.91'
|
318
|
+
# The value `start_of_line` means that `end` should be aligned the start of the line
|
319
|
+
# where the `begin` keyword is.
|
320
|
+
# The value `begin` means that `end` should be aligned with the `begin` keyword.
|
321
|
+
EnforcedStyleAlignWith: start_of_line
|
322
|
+
SupportedStylesAlignWith:
|
323
|
+
- start_of_line
|
324
|
+
- begin
|
325
|
+
Severity: warning
|
326
|
+
|
327
|
+
Layout/BlockAlignment:
|
328
|
+
Description: 'Align block ends correctly.'
|
329
|
+
Enabled: true
|
330
|
+
VersionAdded: '0.53'
|
331
|
+
# The value `start_of_block` means that the `end` should be aligned with line
|
332
|
+
# where the `do` keyword appears.
|
333
|
+
# The value `start_of_line` means it should be aligned with the whole
|
334
|
+
# expression's starting line.
|
335
|
+
# The value `either` means both are allowed.
|
336
|
+
EnforcedStyleAlignWith: either
|
337
|
+
SupportedStylesAlignWith:
|
338
|
+
- either
|
339
|
+
- start_of_block
|
340
|
+
- start_of_line
|
341
|
+
|
342
|
+
Layout/BlockEndNewline:
|
343
|
+
Description: 'Put end statement of multiline block on its own line.'
|
344
|
+
Enabled: true
|
345
|
+
VersionAdded: '0.49'
|
346
|
+
|
347
|
+
Layout/CaseIndentation:
|
348
|
+
Description: 'Indentation of when in a case/when/[else/]end.'
|
349
|
+
StyleGuide: '#indent-when-to-case'
|
350
|
+
Enabled: true
|
351
|
+
VersionAdded: '0.49'
|
352
|
+
EnforcedStyle: case
|
353
|
+
SupportedStyles:
|
354
|
+
- case
|
355
|
+
- end
|
356
|
+
IndentOneStep: false
|
357
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used.
|
358
|
+
# But it can be overridden by setting this parameter.
|
359
|
+
# This only matters if `IndentOneStep` is `true`
|
360
|
+
IndentationWidth: ~
|
361
|
+
|
362
|
+
Layout/ClassStructure:
|
363
|
+
Description: 'Enforces a configured order of definitions within a class body.'
|
364
|
+
StyleGuide: '#consistent-classes'
|
365
|
+
Enabled: false
|
366
|
+
VersionAdded: '0.52'
|
367
|
+
Categories:
|
368
|
+
module_inclusion:
|
369
|
+
- include
|
370
|
+
- prepend
|
371
|
+
- extend
|
372
|
+
ExpectedOrder:
|
373
|
+
- module_inclusion
|
374
|
+
- constants
|
375
|
+
- public_class_methods
|
376
|
+
- initializer
|
377
|
+
- public_methods
|
378
|
+
- protected_methods
|
379
|
+
- private_methods
|
380
|
+
|
381
|
+
Layout/ClosingHeredocIndentation:
|
382
|
+
Description: 'Checks the indentation of here document closings.'
|
383
|
+
Enabled: true
|
384
|
+
VersionAdded: '0.57'
|
385
|
+
|
386
|
+
Layout/ClosingParenthesisIndentation:
|
387
|
+
Description: 'Checks the indentation of hanging closing parentheses.'
|
388
|
+
Enabled: true
|
389
|
+
VersionAdded: '0.49'
|
390
|
+
|
391
|
+
Layout/CommentIndentation:
|
392
|
+
Description: 'Indentation of comments.'
|
393
|
+
Enabled: true
|
394
|
+
VersionAdded: '0.49'
|
395
|
+
|
396
|
+
Layout/ConditionPosition:
|
397
|
+
Description: >-
|
398
|
+
Checks for condition placed in a confusing position relative to
|
399
|
+
the keyword.
|
400
|
+
StyleGuide: '#same-line-condition'
|
401
|
+
Enabled: true
|
402
|
+
VersionAdded: '0.53'
|
403
|
+
VersionChanged: '0.83'
|
404
|
+
|
405
|
+
Layout/DefEndAlignment:
|
406
|
+
Description: 'Align ends corresponding to defs correctly.'
|
407
|
+
Enabled: true
|
408
|
+
VersionAdded: '0.53'
|
409
|
+
# The value `def` means that `end` should be aligned with the def keyword.
|
410
|
+
# The value `start_of_line` means that `end` should be aligned with method
|
411
|
+
# calls like `private`, `public`, etc, if present in front of the `def`
|
412
|
+
# keyword on the same line.
|
413
|
+
EnforcedStyleAlignWith: start_of_line
|
414
|
+
SupportedStylesAlignWith:
|
415
|
+
- start_of_line
|
416
|
+
- def
|
417
|
+
Severity: warning
|
418
|
+
|
419
|
+
Layout/DotPosition:
|
420
|
+
Description: 'Checks the position of the dot in multi-line method calls.'
|
421
|
+
StyleGuide: '#consistent-multi-line-chains'
|
422
|
+
Enabled: true
|
423
|
+
VersionAdded: '0.49'
|
424
|
+
EnforcedStyle: leading
|
425
|
+
SupportedStyles:
|
426
|
+
- leading
|
427
|
+
- trailing
|
428
|
+
|
429
|
+
Layout/ElseAlignment:
|
430
|
+
Description: 'Align elses and elsifs correctly.'
|
431
|
+
Enabled: true
|
432
|
+
VersionAdded: '0.49'
|
433
|
+
|
434
|
+
Layout/EmptyComment:
|
435
|
+
Description: 'Checks empty comment.'
|
436
|
+
Enabled: true
|
437
|
+
VersionAdded: '0.53'
|
438
|
+
AllowBorderComment: true
|
439
|
+
AllowMarginComment: true
|
440
|
+
|
441
|
+
Layout/EmptyLineAfterGuardClause:
|
442
|
+
Description: 'Add empty line after guard clause.'
|
443
|
+
Enabled: true
|
444
|
+
VersionAdded: '0.56'
|
445
|
+
VersionChanged: '0.59'
|
446
|
+
|
447
|
+
Layout/EmptyLineAfterMagicComment:
|
448
|
+
Description: 'Add an empty line after magic comments to separate them from code.'
|
449
|
+
StyleGuide: '#separate-magic-comments-from-code'
|
450
|
+
Enabled: true
|
451
|
+
VersionAdded: '0.49'
|
452
|
+
|
453
|
+
Layout/EmptyLineAfterMultilineCondition:
|
454
|
+
Description: 'Enforces empty line after multiline condition.'
|
455
|
+
# This is disabled, because this style is not very common in practice.
|
456
|
+
Enabled: false
|
457
|
+
VersionAdded: '0.90'
|
458
|
+
Reference:
|
459
|
+
- https://github.com/airbnb/ruby#multiline-if-newline
|
460
|
+
|
461
|
+
Layout/EmptyLineBetweenDefs:
|
462
|
+
Description: 'Use empty lines between defs.'
|
463
|
+
StyleGuide: '#empty-lines-between-methods'
|
464
|
+
Enabled: true
|
465
|
+
VersionAdded: '0.49'
|
466
|
+
# If `true`, this parameter means that single line method definitions don't
|
467
|
+
# need an empty line between them.
|
468
|
+
AllowAdjacentOneLineDefs: false
|
469
|
+
# Can be array to specify minimum and maximum number of empty lines, e.g. [1, 2]
|
470
|
+
NumberOfEmptyLines: 1
|
471
|
+
|
472
|
+
Layout/EmptyLines:
|
473
|
+
Description: "Don't use several empty lines in a row."
|
474
|
+
StyleGuide: '#two-or-more-empty-lines'
|
475
|
+
Enabled: true
|
476
|
+
VersionAdded: '0.49'
|
477
|
+
|
478
|
+
Layout/EmptyLinesAroundAccessModifier:
|
479
|
+
Description: "Keep blank lines around access modifiers."
|
480
|
+
StyleGuide: '#empty-lines-around-access-modifier'
|
481
|
+
Enabled: true
|
482
|
+
VersionAdded: '0.49'
|
483
|
+
EnforcedStyle: around
|
484
|
+
SupportedStyles:
|
485
|
+
- around
|
486
|
+
- only_before
|
487
|
+
Reference:
|
488
|
+
# A reference to `EnforcedStyle: only_before`.
|
489
|
+
- https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions
|
490
|
+
|
491
|
+
Layout/EmptyLinesAroundArguments:
|
492
|
+
Description: "Keeps track of empty lines around method arguments."
|
493
|
+
Enabled: true
|
494
|
+
VersionAdded: '0.52'
|
495
|
+
|
496
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
497
|
+
Description: "Keep blank lines around attribute accessors."
|
498
|
+
StyleGuide: '#empty-lines-around-attribute-accessor'
|
499
|
+
Enabled: pending
|
500
|
+
VersionAdded: '0.83'
|
501
|
+
VersionChanged: '0.84'
|
502
|
+
AllowAliasSyntax: true
|
503
|
+
AllowedMethods:
|
504
|
+
- alias_method
|
505
|
+
- public
|
506
|
+
- protected
|
507
|
+
- private
|
508
|
+
|
509
|
+
Layout/EmptyLinesAroundBeginBody:
|
510
|
+
Description: "Keeps track of empty lines around begin-end bodies."
|
511
|
+
StyleGuide: '#empty-lines-around-bodies'
|
512
|
+
Enabled: true
|
513
|
+
VersionAdded: '0.49'
|
514
|
+
|
515
|
+
Layout/EmptyLinesAroundBlockBody:
|
516
|
+
Description: "Keeps track of empty lines around block bodies."
|
517
|
+
StyleGuide: '#empty-lines-around-bodies'
|
518
|
+
Enabled: true
|
519
|
+
VersionAdded: '0.49'
|
520
|
+
EnforcedStyle: no_empty_lines
|
521
|
+
SupportedStyles:
|
522
|
+
- empty_lines
|
523
|
+
- no_empty_lines
|
524
|
+
|
525
|
+
Layout/EmptyLinesAroundClassBody:
|
526
|
+
Description: "Keeps track of empty lines around class bodies."
|
527
|
+
StyleGuide: '#empty-lines-around-bodies'
|
528
|
+
Enabled: true
|
529
|
+
VersionAdded: '0.49'
|
530
|
+
VersionChanged: '0.53'
|
531
|
+
EnforcedStyle: no_empty_lines
|
532
|
+
SupportedStyles:
|
533
|
+
- empty_lines
|
534
|
+
- empty_lines_except_namespace
|
535
|
+
- empty_lines_special
|
536
|
+
- no_empty_lines
|
537
|
+
- beginning_only
|
538
|
+
- ending_only
|
539
|
+
|
540
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
541
|
+
Description: "Keeps track of empty lines around exception handling keywords."
|
542
|
+
StyleGuide: '#empty-lines-around-bodies'
|
543
|
+
Enabled: true
|
544
|
+
VersionAdded: '0.49'
|
545
|
+
|
546
|
+
Layout/EmptyLinesAroundMethodBody:
|
547
|
+
Description: "Keeps track of empty lines around method bodies."
|
548
|
+
StyleGuide: '#empty-lines-around-bodies'
|
549
|
+
Enabled: true
|
550
|
+
VersionAdded: '0.49'
|
551
|
+
|
552
|
+
Layout/EmptyLinesAroundModuleBody:
|
553
|
+
Description: "Keeps track of empty lines around module bodies."
|
554
|
+
StyleGuide: '#empty-lines-around-bodies'
|
555
|
+
Enabled: true
|
556
|
+
VersionAdded: '0.49'
|
557
|
+
EnforcedStyle: no_empty_lines
|
558
|
+
SupportedStyles:
|
559
|
+
- empty_lines
|
560
|
+
- empty_lines_except_namespace
|
561
|
+
- empty_lines_special
|
562
|
+
- no_empty_lines
|
563
|
+
|
564
|
+
Layout/EndAlignment:
|
565
|
+
Description: 'Align ends correctly.'
|
566
|
+
Enabled: true
|
567
|
+
VersionAdded: '0.53'
|
568
|
+
# The value `keyword` means that `end` should be aligned with the matching
|
569
|
+
# keyword (`if`, `while`, etc.).
|
570
|
+
# The value `variable` means that in assignments, `end` should be aligned
|
571
|
+
# with the start of the variable on the left hand side of `=`. In all other
|
572
|
+
# situations, `end` should still be aligned with the keyword.
|
573
|
+
# The value `start_of_line` means that `end` should be aligned with the start
|
574
|
+
# of the line which the matching keyword appears on.
|
575
|
+
EnforcedStyleAlignWith: keyword
|
576
|
+
SupportedStylesAlignWith:
|
577
|
+
- keyword
|
578
|
+
- variable
|
579
|
+
- start_of_line
|
580
|
+
Severity: warning
|
581
|
+
|
582
|
+
Layout/EndOfLine:
|
583
|
+
Description: 'Use Unix-style line endings.'
|
584
|
+
StyleGuide: '#crlf'
|
585
|
+
Enabled: true
|
586
|
+
VersionAdded: '0.49'
|
587
|
+
# The `native` style means that CR+LF (Carriage Return + Line Feed) is
|
588
|
+
# enforced on Windows, and LF is enforced on other platforms. The other styles
|
589
|
+
# mean LF and CR+LF, respectively.
|
590
|
+
EnforcedStyle: native
|
591
|
+
SupportedStyles:
|
592
|
+
- native
|
593
|
+
- lf
|
594
|
+
- crlf
|
595
|
+
|
596
|
+
Layout/ExtraSpacing:
|
597
|
+
Description: 'Do not use unnecessary spacing.'
|
598
|
+
Enabled: true
|
599
|
+
VersionAdded: '0.49'
|
600
|
+
# When true, allows most uses of extra spacing if the intent is to align
|
601
|
+
# things with the previous or next line, not counting empty lines or comment
|
602
|
+
# lines.
|
603
|
+
AllowForAlignment: true
|
604
|
+
# When true, allows things like 'obj.meth(arg) # comment',
|
605
|
+
# rather than insisting on 'obj.meth(arg) # comment'.
|
606
|
+
# If done for alignment, either this OR AllowForAlignment will allow it.
|
607
|
+
AllowBeforeTrailingComments: false
|
608
|
+
# When true, forces the alignment of `=` in assignments on consecutive lines.
|
609
|
+
ForceEqualSignAlignment: false
|
610
|
+
|
611
|
+
Layout/FirstArgumentIndentation:
|
612
|
+
Description: 'Checks the indentation of the first argument in a method call.'
|
613
|
+
Enabled: true
|
614
|
+
VersionAdded: '0.68'
|
615
|
+
VersionChanged: '0.77'
|
616
|
+
EnforcedStyle: special_for_inner_method_call_in_parentheses
|
617
|
+
SupportedStyles:
|
618
|
+
# The first parameter should always be indented one step more than the
|
619
|
+
# preceding line.
|
620
|
+
- consistent
|
621
|
+
# The first parameter should always be indented one level relative to the
|
622
|
+
# parent that is receiving the parameter
|
623
|
+
- consistent_relative_to_receiver
|
624
|
+
# The first parameter should normally be indented one step more than the
|
625
|
+
# preceding line, but if it's a parameter for a method call that is itself
|
626
|
+
# a parameter in a method call, then the inner parameter should be indented
|
627
|
+
# relative to the inner method.
|
628
|
+
- special_for_inner_method_call
|
629
|
+
# Same as `special_for_inner_method_call` except that the special rule only
|
630
|
+
# applies if the outer method call encloses its arguments in parentheses.
|
631
|
+
- special_for_inner_method_call_in_parentheses
|
632
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
633
|
+
# But it can be overridden by setting this parameter
|
634
|
+
IndentationWidth: ~
|
635
|
+
|
636
|
+
Layout/FirstArrayElementIndentation:
|
637
|
+
Description: >-
|
638
|
+
Checks the indentation of the first element in an array
|
639
|
+
literal.
|
640
|
+
Enabled: true
|
641
|
+
VersionAdded: '0.68'
|
642
|
+
VersionChanged: '0.77'
|
643
|
+
# The value `special_inside_parentheses` means that array literals with
|
644
|
+
# brackets that have their opening bracket on the same line as a surrounding
|
645
|
+
# opening round parenthesis, shall have their first element indented relative
|
646
|
+
# to the first position inside the parenthesis.
|
647
|
+
#
|
648
|
+
# The value `consistent` means that the indentation of the first element shall
|
649
|
+
# always be relative to the first position of the line where the opening
|
650
|
+
# bracket is.
|
651
|
+
#
|
652
|
+
# The value `align_brackets` means that the indentation of the first element
|
653
|
+
# shall always be relative to the position of the opening bracket.
|
654
|
+
EnforcedStyle: special_inside_parentheses
|
655
|
+
SupportedStyles:
|
656
|
+
- special_inside_parentheses
|
657
|
+
- consistent
|
658
|
+
- align_brackets
|
659
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
660
|
+
# But it can be overridden by setting this parameter
|
661
|
+
IndentationWidth: ~
|
662
|
+
|
663
|
+
Layout/FirstArrayElementLineBreak:
|
664
|
+
Description: >-
|
665
|
+
Checks for a line break before the first element in a
|
666
|
+
multi-line array.
|
667
|
+
Enabled: false
|
668
|
+
VersionAdded: '0.49'
|
669
|
+
|
670
|
+
Layout/FirstHashElementIndentation:
|
671
|
+
Description: 'Checks the indentation of the first key in a hash literal.'
|
672
|
+
Enabled: true
|
673
|
+
VersionAdded: '0.68'
|
674
|
+
VersionChanged: '0.77'
|
675
|
+
# The value `special_inside_parentheses` means that hash literals with braces
|
676
|
+
# that have their opening brace on the same line as a surrounding opening
|
677
|
+
# round parenthesis, shall have their first key indented relative to the
|
678
|
+
# first position inside the parenthesis.
|
679
|
+
#
|
680
|
+
# The value `consistent` means that the indentation of the first key shall
|
681
|
+
# always be relative to the first position of the line where the opening
|
682
|
+
# brace is.
|
683
|
+
#
|
684
|
+
# The value `align_braces` means that the indentation of the first key shall
|
685
|
+
# always be relative to the position of the opening brace.
|
686
|
+
EnforcedStyle: special_inside_parentheses
|
687
|
+
SupportedStyles:
|
688
|
+
- special_inside_parentheses
|
689
|
+
- consistent
|
690
|
+
- align_braces
|
691
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
692
|
+
# But it can be overridden by setting this parameter
|
693
|
+
IndentationWidth: ~
|
694
|
+
|
695
|
+
Layout/FirstHashElementLineBreak:
|
696
|
+
Description: >-
|
697
|
+
Checks for a line break before the first element in a
|
698
|
+
multi-line hash.
|
699
|
+
Enabled: false
|
700
|
+
VersionAdded: '0.49'
|
701
|
+
|
702
|
+
Layout/FirstMethodArgumentLineBreak:
|
703
|
+
Description: >-
|
704
|
+
Checks for a line break before the first argument in a
|
705
|
+
multi-line method call.
|
706
|
+
Enabled: false
|
707
|
+
VersionAdded: '0.49'
|
708
|
+
|
709
|
+
Layout/FirstMethodParameterLineBreak:
|
710
|
+
Description: >-
|
711
|
+
Checks for a line break before the first parameter in a
|
712
|
+
multi-line method parameter definition.
|
713
|
+
Enabled: false
|
714
|
+
VersionAdded: '0.49'
|
715
|
+
|
716
|
+
Layout/FirstParameterIndentation:
|
717
|
+
Description: >-
|
718
|
+
Checks the indentation of the first parameter in a
|
719
|
+
method definition.
|
720
|
+
Enabled: true
|
721
|
+
VersionAdded: '0.49'
|
722
|
+
VersionChanged: '0.77'
|
723
|
+
EnforcedStyle: consistent
|
724
|
+
SupportedStyles:
|
725
|
+
- consistent
|
726
|
+
- align_parentheses
|
727
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
728
|
+
# But it can be overridden by setting this parameter
|
729
|
+
IndentationWidth: ~
|
730
|
+
|
731
|
+
Layout/HashAlignment:
|
732
|
+
Description: >-
|
733
|
+
Align the elements of a hash literal if they span more than
|
734
|
+
one line.
|
735
|
+
Enabled: true
|
736
|
+
AllowMultipleStyles: true
|
737
|
+
VersionAdded: '0.49'
|
738
|
+
VersionChanged: '0.77'
|
739
|
+
# Alignment of entries using hash rocket as separator. Valid values are:
|
740
|
+
#
|
741
|
+
# key - left alignment of keys
|
742
|
+
# 'a' => 2
|
743
|
+
# 'bb' => 3
|
744
|
+
# separator - alignment of hash rockets, keys are right aligned
|
745
|
+
# 'a' => 2
|
746
|
+
# 'bb' => 3
|
747
|
+
# table - left alignment of keys, hash rockets, and values
|
748
|
+
# 'a' => 2
|
749
|
+
# 'bb' => 3
|
750
|
+
EnforcedHashRocketStyle: key
|
751
|
+
SupportedHashRocketStyles:
|
752
|
+
- key
|
753
|
+
- separator
|
754
|
+
- table
|
755
|
+
# Alignment of entries using colon as separator. Valid values are:
|
756
|
+
#
|
757
|
+
# key - left alignment of keys
|
758
|
+
# a: 0
|
759
|
+
# bb: 1
|
760
|
+
# separator - alignment of colons, keys are right aligned
|
761
|
+
# a: 0
|
762
|
+
# bb: 1
|
763
|
+
# table - left alignment of keys and values
|
764
|
+
# a: 0
|
765
|
+
# bb: 1
|
766
|
+
EnforcedColonStyle: key
|
767
|
+
SupportedColonStyles:
|
768
|
+
- key
|
769
|
+
- separator
|
770
|
+
- table
|
771
|
+
# Select whether hashes that are the last argument in a method call should be
|
772
|
+
# inspected? Valid values are:
|
773
|
+
#
|
774
|
+
# always_inspect - Inspect both implicit and explicit hashes.
|
775
|
+
# Registers an offense for:
|
776
|
+
# function(a: 1,
|
777
|
+
# b: 2)
|
778
|
+
# Registers an offense for:
|
779
|
+
# function({a: 1,
|
780
|
+
# b: 2})
|
781
|
+
# always_ignore - Ignore both implicit and explicit hashes.
|
782
|
+
# Accepts:
|
783
|
+
# function(a: 1,
|
784
|
+
# b: 2)
|
785
|
+
# Accepts:
|
786
|
+
# function({a: 1,
|
787
|
+
# b: 2})
|
788
|
+
# ignore_implicit - Ignore only implicit hashes.
|
789
|
+
# Accepts:
|
790
|
+
# function(a: 1,
|
791
|
+
# b: 2)
|
792
|
+
# Registers an offense for:
|
793
|
+
# function({a: 1,
|
794
|
+
# b: 2})
|
795
|
+
# ignore_explicit - Ignore only explicit hashes.
|
796
|
+
# Accepts:
|
797
|
+
# function({a: 1,
|
798
|
+
# b: 2})
|
799
|
+
# Registers an offense for:
|
800
|
+
# function(a: 1,
|
801
|
+
# b: 2)
|
802
|
+
EnforcedLastArgumentHashStyle: always_inspect
|
803
|
+
SupportedLastArgumentHashStyles:
|
804
|
+
- always_inspect
|
805
|
+
- always_ignore
|
806
|
+
- ignore_implicit
|
807
|
+
- ignore_explicit
|
808
|
+
|
809
|
+
Layout/HeredocArgumentClosingParenthesis:
|
810
|
+
Description: >-
|
811
|
+
Checks for the placement of the closing parenthesis in a
|
812
|
+
method call that passes a HEREDOC string as an argument.
|
813
|
+
Enabled: false
|
814
|
+
StyleGuide: '#heredoc-argument-closing-parentheses'
|
815
|
+
VersionAdded: '0.68'
|
816
|
+
|
817
|
+
Layout/HeredocIndentation:
|
818
|
+
Description: 'This cop checks the indentation of the here document bodies.'
|
819
|
+
StyleGuide: '#squiggly-heredocs'
|
820
|
+
Enabled: true
|
821
|
+
VersionAdded: '0.49'
|
822
|
+
VersionChanged: '0.85'
|
823
|
+
|
824
|
+
Layout/IndentationConsistency:
|
825
|
+
Description: 'Keep indentation straight.'
|
826
|
+
StyleGuide: '#spaces-indentation'
|
827
|
+
Enabled: true
|
828
|
+
VersionAdded: '0.49'
|
829
|
+
# The difference between `indented` and `normal` is that the `indented_internal_methods`
|
830
|
+
# style prescribes that in classes and modules the `protected` and `private`
|
831
|
+
# modifier keywords shall be indented the same as public methods and that
|
832
|
+
# protected and private members shall be indented one step more than the
|
833
|
+
# modifiers. Other than that, both styles mean that entities on the same
|
834
|
+
# logical depth shall have the same indentation.
|
835
|
+
EnforcedStyle: normal
|
836
|
+
SupportedStyles:
|
837
|
+
- normal
|
838
|
+
- indented_internal_methods
|
839
|
+
Reference:
|
840
|
+
# A reference to `EnforcedStyle: indented_internal_methods`.
|
841
|
+
- https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions
|
842
|
+
|
843
|
+
Layout/IndentationStyle:
|
844
|
+
Description: 'Consistent indentation either with tabs only or spaces only.'
|
845
|
+
StyleGuide: '#spaces-indentation'
|
846
|
+
Enabled: true
|
847
|
+
VersionAdded: '0.49'
|
848
|
+
VersionChanged: '0.82'
|
849
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
850
|
+
# But it can be overridden by setting this parameter
|
851
|
+
# It is used during auto-correction to determine how many spaces should
|
852
|
+
# replace each tab.
|
853
|
+
IndentationWidth: ~
|
854
|
+
EnforcedStyle: spaces
|
855
|
+
SupportedStyles:
|
856
|
+
- spaces
|
857
|
+
- tabs
|
858
|
+
|
859
|
+
Layout/IndentationWidth:
|
860
|
+
Description: 'Use 2 spaces for indentation.'
|
861
|
+
StyleGuide: '#spaces-indentation'
|
862
|
+
Enabled: true
|
863
|
+
VersionAdded: '0.49'
|
864
|
+
# Number of spaces for each indentation level.
|
865
|
+
Width: 2
|
866
|
+
IgnoredPatterns: []
|
867
|
+
|
868
|
+
Layout/InitialIndentation:
|
869
|
+
Description: >-
|
870
|
+
Checks the indentation of the first non-blank non-comment line in a file.
|
871
|
+
Enabled: true
|
872
|
+
VersionAdded: '0.49'
|
873
|
+
|
874
|
+
Layout/LeadingCommentSpace:
|
875
|
+
Description: 'Comments should start with a space.'
|
876
|
+
StyleGuide: '#hash-space'
|
877
|
+
Enabled: true
|
878
|
+
VersionAdded: '0.49'
|
879
|
+
VersionChanged: '0.73'
|
880
|
+
AllowDoxygenCommentStyle: false
|
881
|
+
AllowGemfileRubyComment: false
|
882
|
+
|
883
|
+
Layout/LeadingEmptyLines:
|
884
|
+
Description: Check for unnecessary blank lines at the beginning of a file.
|
885
|
+
Enabled: true
|
886
|
+
VersionAdded: '0.57'
|
887
|
+
VersionChanged: '0.77'
|
888
|
+
|
889
|
+
Layout/LineLength:
|
890
|
+
Description: 'Checks that line length does not exceed the configured limit.'
|
891
|
+
StyleGuide: '#max-line-length'
|
892
|
+
Enabled: true
|
893
|
+
VersionAdded: '0.25'
|
894
|
+
VersionChanged: '0.84'
|
895
|
+
AutoCorrect: false
|
896
|
+
Max: 120
|
897
|
+
# To make it possible to copy or click on URIs in the code, we allow lines
|
898
|
+
# containing a URI to be longer than Max.
|
899
|
+
AllowHeredoc: true
|
900
|
+
AllowURI: true
|
901
|
+
URISchemes:
|
902
|
+
- http
|
903
|
+
- https
|
904
|
+
# The IgnoreCopDirectives option causes the LineLength rule to ignore cop
|
905
|
+
# directives like '# rubocop: enable ...' when calculating a line's length.
|
906
|
+
IgnoreCopDirectives: true
|
907
|
+
# The IgnoredPatterns option is a list of !ruby/regexp and/or string
|
908
|
+
# elements. Strings will be converted to Regexp objects. A line that matches
|
909
|
+
# any regular expression listed in this option will be ignored by LineLength.
|
910
|
+
IgnoredPatterns: []
|
911
|
+
|
912
|
+
Layout/MultilineArrayBraceLayout:
|
913
|
+
Description: >-
|
914
|
+
Checks that the closing brace in an array literal is
|
915
|
+
either on the same line as the last array element, or
|
916
|
+
a new line.
|
917
|
+
Enabled: true
|
918
|
+
VersionAdded: '0.49'
|
919
|
+
EnforcedStyle: symmetrical
|
920
|
+
SupportedStyles:
|
921
|
+
# symmetrical: closing brace is positioned in same way as opening brace
|
922
|
+
# new_line: closing brace is always on a new line
|
923
|
+
# same_line: closing brace is always on the same line as last element
|
924
|
+
- symmetrical
|
925
|
+
- new_line
|
926
|
+
- same_line
|
927
|
+
|
928
|
+
Layout/MultilineArrayLineBreaks:
|
929
|
+
Description: >-
|
930
|
+
Checks that each item in a multi-line array literal
|
931
|
+
starts on a separate line.
|
932
|
+
Enabled: false
|
933
|
+
VersionAdded: '0.67'
|
934
|
+
|
935
|
+
Layout/MultilineAssignmentLayout:
|
936
|
+
Description: 'Check for a newline after the assignment operator in multi-line assignments.'
|
937
|
+
StyleGuide: '#indent-conditional-assignment'
|
938
|
+
Enabled: false
|
939
|
+
VersionAdded: '0.49'
|
940
|
+
# The types of assignments which are subject to this rule.
|
941
|
+
SupportedTypes:
|
942
|
+
- block
|
943
|
+
- case
|
944
|
+
- class
|
945
|
+
- if
|
946
|
+
- kwbegin
|
947
|
+
- module
|
948
|
+
EnforcedStyle: new_line
|
949
|
+
SupportedStyles:
|
950
|
+
# Ensures that the assignment operator and the rhs are on the same line for
|
951
|
+
# the set of supported types.
|
952
|
+
- same_line
|
953
|
+
# Ensures that the assignment operator and the rhs are on separate lines
|
954
|
+
# for the set of supported types.
|
955
|
+
- new_line
|
956
|
+
|
957
|
+
Layout/MultilineBlockLayout:
|
958
|
+
Description: 'Ensures newlines after multiline block do statements.'
|
959
|
+
Enabled: true
|
960
|
+
VersionAdded: '0.49'
|
961
|
+
|
962
|
+
Layout/MultilineHashBraceLayout:
|
963
|
+
Description: >-
|
964
|
+
Checks that the closing brace in a hash literal is
|
965
|
+
either on the same line as the last hash element, or
|
966
|
+
a new line.
|
967
|
+
Enabled: true
|
968
|
+
VersionAdded: '0.49'
|
969
|
+
EnforcedStyle: symmetrical
|
970
|
+
SupportedStyles:
|
971
|
+
# symmetrical: closing brace is positioned in same way as opening brace
|
972
|
+
# new_line: closing brace is always on a new line
|
973
|
+
# same_line: closing brace is always on same line as last element
|
974
|
+
- symmetrical
|
975
|
+
- new_line
|
976
|
+
- same_line
|
977
|
+
|
978
|
+
Layout/MultilineHashKeyLineBreaks:
|
979
|
+
Description: >-
|
980
|
+
Checks that each item in a multi-line hash literal
|
981
|
+
starts on a separate line.
|
982
|
+
Enabled: false
|
983
|
+
VersionAdded: '0.67'
|
984
|
+
|
985
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
986
|
+
Description: >-
|
987
|
+
Checks that each argument in a multi-line method call
|
988
|
+
starts on a separate line.
|
989
|
+
Enabled: false
|
990
|
+
VersionAdded: '0.67'
|
991
|
+
|
992
|
+
Layout/MultilineMethodCallBraceLayout:
|
993
|
+
Description: >-
|
994
|
+
Checks that the closing brace in a method call is
|
995
|
+
either on the same line as the last method argument, or
|
996
|
+
a new line.
|
997
|
+
Enabled: true
|
998
|
+
VersionAdded: '0.49'
|
999
|
+
EnforcedStyle: symmetrical
|
1000
|
+
SupportedStyles:
|
1001
|
+
# symmetrical: closing brace is positioned in same way as opening brace
|
1002
|
+
# new_line: closing brace is always on a new line
|
1003
|
+
# same_line: closing brace is always on the same line as last argument
|
1004
|
+
- symmetrical
|
1005
|
+
- new_line
|
1006
|
+
- same_line
|
1007
|
+
|
1008
|
+
Layout/MultilineMethodCallIndentation:
|
1009
|
+
Description: >-
|
1010
|
+
Checks indentation of method calls with the dot operator
|
1011
|
+
that span more than one line.
|
1012
|
+
Enabled: true
|
1013
|
+
VersionAdded: '0.49'
|
1014
|
+
EnforcedStyle: aligned
|
1015
|
+
SupportedStyles:
|
1016
|
+
- aligned
|
1017
|
+
- indented
|
1018
|
+
- indented_relative_to_receiver
|
1019
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
1020
|
+
# But it can be overridden by setting this parameter
|
1021
|
+
IndentationWidth: ~
|
1022
|
+
|
1023
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
1024
|
+
Description: >-
|
1025
|
+
Checks that the closing brace in a method definition is
|
1026
|
+
either on the same line as the last method parameter, or
|
1027
|
+
a new line.
|
1028
|
+
Enabled: true
|
1029
|
+
VersionAdded: '0.49'
|
1030
|
+
EnforcedStyle: symmetrical
|
1031
|
+
SupportedStyles:
|
1032
|
+
# symmetrical: closing brace is positioned in same way as opening brace
|
1033
|
+
# new_line: closing brace is always on a new line
|
1034
|
+
# same_line: closing brace is always on the same line as last parameter
|
1035
|
+
- symmetrical
|
1036
|
+
- new_line
|
1037
|
+
- same_line
|
1038
|
+
|
1039
|
+
Layout/MultilineOperationIndentation:
|
1040
|
+
Description: >-
|
1041
|
+
Checks indentation of binary operations that span more than
|
1042
|
+
one line.
|
1043
|
+
Enabled: true
|
1044
|
+
VersionAdded: '0.49'
|
1045
|
+
EnforcedStyle: aligned
|
1046
|
+
SupportedStyles:
|
1047
|
+
- aligned
|
1048
|
+
- indented
|
1049
|
+
# By default, the indentation width from `Layout/IndentationWidth` is used
|
1050
|
+
# But it can be overridden by setting this parameter
|
1051
|
+
IndentationWidth: ~
|
1052
|
+
|
1053
|
+
Layout/ParameterAlignment:
|
1054
|
+
Description: >-
|
1055
|
+
Align the parameters of a method definition if they span more
|
1056
|
+
than one line.
|
1057
|
+
StyleGuide: '#no-double-indent'
|
1058
|
+
Enabled: true
|
1059
|
+
VersionAdded: '0.49'
|
1060
|
+
VersionChanged: '0.77'
|
1061
|
+
# Alignment of parameters in multi-line method calls.
|
1062
|
+
#
|
1063
|
+
# The `with_first_parameter` style aligns the following lines along the same
|
1064
|
+
# column as the first parameter.
|
1065
|
+
#
|
1066
|
+
# def method_foo(a,
|
1067
|
+
# b)
|
1068
|
+
#
|
1069
|
+
# The `with_fixed_indentation` style aligns the following lines with one
|
1070
|
+
# level of indentation relative to the start of the line with the method call.
|
1071
|
+
#
|
1072
|
+
# def method_foo(a,
|
1073
|
+
# b)
|
1074
|
+
EnforcedStyle: with_first_parameter
|
1075
|
+
SupportedStyles:
|
1076
|
+
- with_first_parameter
|
1077
|
+
- with_fixed_indentation
|
1078
|
+
# By default, the indentation width from Layout/IndentationWidth is used
|
1079
|
+
# But it can be overridden by setting this parameter
|
1080
|
+
IndentationWidth: ~
|
1081
|
+
|
1082
|
+
Layout/RescueEnsureAlignment:
|
1083
|
+
Description: 'Align rescues and ensures correctly.'
|
1084
|
+
Enabled: true
|
1085
|
+
VersionAdded: '0.49'
|
1086
|
+
|
1087
|
+
Layout/SpaceAfterColon:
|
1088
|
+
Description: 'Use spaces after colons.'
|
1089
|
+
StyleGuide: '#spaces-operators'
|
1090
|
+
Enabled: true
|
1091
|
+
VersionAdded: '0.49'
|
1092
|
+
|
1093
|
+
Layout/SpaceAfterComma:
|
1094
|
+
Description: 'Use spaces after commas.'
|
1095
|
+
StyleGuide: '#spaces-operators'
|
1096
|
+
Enabled: true
|
1097
|
+
VersionAdded: '0.49'
|
1098
|
+
|
1099
|
+
Layout/SpaceAfterMethodName:
|
1100
|
+
Description: >-
|
1101
|
+
Do not put a space between a method name and the opening
|
1102
|
+
parenthesis in a method definition.
|
1103
|
+
StyleGuide: '#parens-no-spaces'
|
1104
|
+
Enabled: true
|
1105
|
+
VersionAdded: '0.49'
|
1106
|
+
|
1107
|
+
Layout/SpaceAfterNot:
|
1108
|
+
Description: Tracks redundant space after the ! operator.
|
1109
|
+
StyleGuide: '#no-space-bang'
|
1110
|
+
Enabled: true
|
1111
|
+
VersionAdded: '0.49'
|
1112
|
+
|
1113
|
+
Layout/SpaceAfterSemicolon:
|
1114
|
+
Description: 'Use spaces after semicolons.'
|
1115
|
+
StyleGuide: '#spaces-operators'
|
1116
|
+
Enabled: true
|
1117
|
+
VersionAdded: '0.49'
|
1118
|
+
|
1119
|
+
Layout/SpaceAroundBlockParameters:
|
1120
|
+
Description: 'Checks the spacing inside and after block parameters pipes.'
|
1121
|
+
Enabled: true
|
1122
|
+
VersionAdded: '0.49'
|
1123
|
+
EnforcedStyleInsidePipes: no_space
|
1124
|
+
SupportedStylesInsidePipes:
|
1125
|
+
- space
|
1126
|
+
- no_space
|
1127
|
+
|
1128
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
1129
|
+
Description: >-
|
1130
|
+
Checks that the equals signs in parameter default assignments
|
1131
|
+
have or don't have surrounding space depending on
|
1132
|
+
configuration.
|
1133
|
+
StyleGuide: '#spaces-around-equals'
|
1134
|
+
Enabled: true
|
1135
|
+
VersionAdded: '0.49'
|
1136
|
+
EnforcedStyle: space
|
1137
|
+
SupportedStyles:
|
1138
|
+
- space
|
1139
|
+
- no_space
|
1140
|
+
|
1141
|
+
Layout/SpaceAroundKeyword:
|
1142
|
+
Description: 'Use a space around keywords if appropriate.'
|
1143
|
+
Enabled: true
|
1144
|
+
VersionAdded: '0.49'
|
1145
|
+
|
1146
|
+
Layout/SpaceAroundMethodCallOperator:
|
1147
|
+
Description: 'Checks method call operators to not have spaces around them.'
|
1148
|
+
Enabled: pending
|
1149
|
+
VersionAdded: '0.82'
|
1150
|
+
|
1151
|
+
Layout/SpaceAroundOperators:
|
1152
|
+
Description: 'Use a single space around operators.'
|
1153
|
+
StyleGuide: '#spaces-operators'
|
1154
|
+
Enabled: true
|
1155
|
+
VersionAdded: '0.49'
|
1156
|
+
# When `true`, allows most uses of extra spacing if the intent is to align
|
1157
|
+
# with an operator on the previous or next line, not counting empty lines
|
1158
|
+
# or comment lines.
|
1159
|
+
AllowForAlignment: true
|
1160
|
+
EnforcedStyleForExponentOperator: no_space
|
1161
|
+
SupportedStylesForExponentOperator:
|
1162
|
+
- space
|
1163
|
+
- no_space
|
1164
|
+
|
1165
|
+
Layout/SpaceBeforeBlockBraces:
|
1166
|
+
Description: >-
|
1167
|
+
Checks that the left block brace has or doesn't have space
|
1168
|
+
before it.
|
1169
|
+
Enabled: true
|
1170
|
+
VersionAdded: '0.49'
|
1171
|
+
EnforcedStyle: space
|
1172
|
+
SupportedStyles:
|
1173
|
+
- space
|
1174
|
+
- no_space
|
1175
|
+
EnforcedStyleForEmptyBraces: space
|
1176
|
+
SupportedStylesForEmptyBraces:
|
1177
|
+
- space
|
1178
|
+
- no_space
|
1179
|
+
VersionChanged: '0.52.1'
|
1180
|
+
|
1181
|
+
Layout/SpaceBeforeComma:
|
1182
|
+
Description: 'No spaces before commas.'
|
1183
|
+
Enabled: true
|
1184
|
+
VersionAdded: '0.49'
|
1185
|
+
|
1186
|
+
Layout/SpaceBeforeComment:
|
1187
|
+
Description: >-
|
1188
|
+
Checks for missing space between code and a comment on the
|
1189
|
+
same line.
|
1190
|
+
Enabled: true
|
1191
|
+
VersionAdded: '0.49'
|
1192
|
+
|
1193
|
+
Layout/SpaceBeforeFirstArg:
|
1194
|
+
Description: >-
|
1195
|
+
Checks that exactly one space is used between a method name
|
1196
|
+
and the first argument for method calls without parentheses.
|
1197
|
+
Enabled: true
|
1198
|
+
VersionAdded: '0.49'
|
1199
|
+
# When `true`, allows most uses of extra spacing if the intent is to align
|
1200
|
+
# things with the previous or next line, not counting empty lines or comment
|
1201
|
+
# lines.
|
1202
|
+
AllowForAlignment: true
|
1203
|
+
|
1204
|
+
Layout/SpaceBeforeSemicolon:
|
1205
|
+
Description: 'No spaces before semicolons.'
|
1206
|
+
Enabled: true
|
1207
|
+
VersionAdded: '0.49'
|
1208
|
+
|
1209
|
+
Layout/SpaceInLambdaLiteral:
|
1210
|
+
Description: 'Checks for spaces in lambda literals.'
|
1211
|
+
Enabled: true
|
1212
|
+
VersionAdded: '0.49'
|
1213
|
+
EnforcedStyle: require_no_space
|
1214
|
+
SupportedStyles:
|
1215
|
+
- require_no_space
|
1216
|
+
- require_space
|
1217
|
+
|
1218
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
1219
|
+
Description: 'Checks the spacing inside array literal brackets.'
|
1220
|
+
Enabled: true
|
1221
|
+
VersionAdded: '0.52'
|
1222
|
+
EnforcedStyle: no_space
|
1223
|
+
SupportedStyles:
|
1224
|
+
- space
|
1225
|
+
- no_space
|
1226
|
+
# 'compact' normally requires a space inside the brackets, with the exception
|
1227
|
+
# that successive left brackets or right brackets are collapsed together
|
1228
|
+
- compact
|
1229
|
+
EnforcedStyleForEmptyBrackets: no_space
|
1230
|
+
SupportedStylesForEmptyBrackets:
|
1231
|
+
- space
|
1232
|
+
- no_space
|
1233
|
+
|
1234
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
1235
|
+
Description: 'No unnecessary additional spaces between elements in %i/%w literals.'
|
1236
|
+
Enabled: true
|
1237
|
+
VersionAdded: '0.49'
|
1238
|
+
|
1239
|
+
Layout/SpaceInsideBlockBraces:
|
1240
|
+
Description: >-
|
1241
|
+
Checks that block braces have or don't have surrounding space.
|
1242
|
+
For blocks taking parameters, checks that the left brace has
|
1243
|
+
or doesn't have trailing space.
|
1244
|
+
Enabled: true
|
1245
|
+
VersionAdded: '0.49'
|
1246
|
+
EnforcedStyle: space
|
1247
|
+
SupportedStyles:
|
1248
|
+
- space
|
1249
|
+
- no_space
|
1250
|
+
EnforcedStyleForEmptyBraces: no_space
|
1251
|
+
SupportedStylesForEmptyBraces:
|
1252
|
+
- space
|
1253
|
+
- no_space
|
1254
|
+
# Space between `{` and `|`. Overrides `EnforcedStyle` if there is a conflict.
|
1255
|
+
SpaceBeforeBlockParameters: true
|
1256
|
+
|
1257
|
+
Layout/SpaceInsideHashLiteralBraces:
|
1258
|
+
Description: "Use spaces inside hash literal braces - or don't."
|
1259
|
+
StyleGuide: '#spaces-braces'
|
1260
|
+
Enabled: true
|
1261
|
+
VersionAdded: '0.49'
|
1262
|
+
EnforcedStyle: space
|
1263
|
+
SupportedStyles:
|
1264
|
+
- space
|
1265
|
+
- no_space
|
1266
|
+
# 'compact' normally requires a space inside hash braces, with the exception
|
1267
|
+
# that successive left braces or right braces are collapsed together
|
1268
|
+
- compact
|
1269
|
+
EnforcedStyleForEmptyBraces: no_space
|
1270
|
+
SupportedStylesForEmptyBraces:
|
1271
|
+
- space
|
1272
|
+
- no_space
|
1273
|
+
|
1274
|
+
|
1275
|
+
Layout/SpaceInsideParens:
|
1276
|
+
Description: 'No spaces after ( or before ).'
|
1277
|
+
StyleGuide: '#spaces-braces'
|
1278
|
+
Enabled: true
|
1279
|
+
VersionAdded: '0.49'
|
1280
|
+
VersionChanged: '0.55'
|
1281
|
+
EnforcedStyle: no_space
|
1282
|
+
SupportedStyles:
|
1283
|
+
- space
|
1284
|
+
- no_space
|
1285
|
+
|
1286
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
1287
|
+
Description: 'No unnecessary spaces inside delimiters of %i/%w/%x literals.'
|
1288
|
+
Enabled: true
|
1289
|
+
VersionAdded: '0.49'
|
1290
|
+
|
1291
|
+
Layout/SpaceInsideRangeLiteral:
|
1292
|
+
Description: 'No spaces inside range literals.'
|
1293
|
+
StyleGuide: '#no-space-inside-range-literals'
|
1294
|
+
Enabled: true
|
1295
|
+
VersionAdded: '0.49'
|
1296
|
+
|
1297
|
+
Layout/SpaceInsideReferenceBrackets:
|
1298
|
+
Description: 'Checks the spacing inside referential brackets.'
|
1299
|
+
Enabled: true
|
1300
|
+
VersionAdded: '0.52'
|
1301
|
+
VersionChanged: '0.53'
|
1302
|
+
EnforcedStyle: no_space
|
1303
|
+
SupportedStyles:
|
1304
|
+
- space
|
1305
|
+
- no_space
|
1306
|
+
EnforcedStyleForEmptyBrackets: no_space
|
1307
|
+
SupportedStylesForEmptyBrackets:
|
1308
|
+
- space
|
1309
|
+
- no_space
|
1310
|
+
|
1311
|
+
Layout/SpaceInsideStringInterpolation:
|
1312
|
+
Description: 'Checks for padding/surrounding spaces inside string interpolation.'
|
1313
|
+
StyleGuide: '#string-interpolation'
|
1314
|
+
Enabled: true
|
1315
|
+
VersionAdded: '0.49'
|
1316
|
+
EnforcedStyle: no_space
|
1317
|
+
SupportedStyles:
|
1318
|
+
- space
|
1319
|
+
- no_space
|
1320
|
+
|
1321
|
+
Layout/TrailingEmptyLines:
|
1322
|
+
Description: 'Checks trailing blank lines and final newline.'
|
1323
|
+
StyleGuide: '#newline-eof'
|
1324
|
+
Enabled: true
|
1325
|
+
VersionAdded: '0.49'
|
1326
|
+
VersionChanged: '0.77'
|
1327
|
+
EnforcedStyle: final_newline
|
1328
|
+
SupportedStyles:
|
1329
|
+
- final_newline
|
1330
|
+
- final_blank_line
|
1331
|
+
|
1332
|
+
Layout/TrailingWhitespace:
|
1333
|
+
Description: 'Avoid trailing whitespace.'
|
1334
|
+
StyleGuide: '#no-trailing-whitespace'
|
1335
|
+
Enabled: true
|
1336
|
+
VersionAdded: '0.49'
|
1337
|
+
VersionChanged: '0.83'
|
1338
|
+
AllowInHeredoc: true
|
1339
|
+
|
1340
|
+
#################### Lint ##################################
|
1341
|
+
### Warnings
|
1342
|
+
|
1343
|
+
Lint/AmbiguousBlockAssociation:
|
1344
|
+
Description: >-
|
1345
|
+
Checks for ambiguous block association with method when param passed without
|
1346
|
+
parentheses.
|
1347
|
+
StyleGuide: '#syntax'
|
1348
|
+
Enabled: true
|
1349
|
+
VersionAdded: '0.48'
|
1350
|
+
|
1351
|
+
Lint/AmbiguousOperator:
|
1352
|
+
Description: >-
|
1353
|
+
Checks for ambiguous operators in the first argument of a
|
1354
|
+
method invocation without parentheses.
|
1355
|
+
StyleGuide: '#method-invocation-parens'
|
1356
|
+
Enabled: true
|
1357
|
+
VersionAdded: '0.17'
|
1358
|
+
VersionChanged: '0.83'
|
1359
|
+
|
1360
|
+
Lint/AmbiguousRegexpLiteral:
|
1361
|
+
Description: >-
|
1362
|
+
Checks for ambiguous regexp literals in the first argument of
|
1363
|
+
a method invocation without parentheses.
|
1364
|
+
Enabled: true
|
1365
|
+
VersionAdded: '0.17'
|
1366
|
+
VersionChanged: '0.83'
|
1367
|
+
|
1368
|
+
Lint/AssignmentInCondition:
|
1369
|
+
Description: "Don't use assignment in conditions."
|
1370
|
+
StyleGuide: '#safe-assignment-in-condition'
|
1371
|
+
Enabled: true
|
1372
|
+
VersionAdded: '0.9'
|
1373
|
+
AllowSafeAssignment: true
|
1374
|
+
|
1375
|
+
Lint/BigDecimalNew:
|
1376
|
+
Description: '`BigDecimal.new()` is deprecated. Use `BigDecimal()` instead.'
|
1377
|
+
Enabled: true
|
1378
|
+
VersionAdded: '0.53'
|
1379
|
+
|
1380
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
1381
|
+
Description: 'This cop checks for places where binary operator has identical operands.'
|
1382
|
+
Enabled: pending
|
1383
|
+
Safe: false
|
1384
|
+
VersionAdded: '0.89'
|
1385
|
+
|
1386
|
+
Lint/BooleanSymbol:
|
1387
|
+
Description: 'Check for `:true` and `:false` symbols.'
|
1388
|
+
Enabled: true
|
1389
|
+
Safe: false
|
1390
|
+
VersionAdded: '0.50'
|
1391
|
+
VersionChanged: '0.83'
|
1392
|
+
|
1393
|
+
Lint/CircularArgumentReference:
|
1394
|
+
Description: "Default values in optional keyword arguments and optional ordinal arguments should not refer back to the name of the argument."
|
1395
|
+
Enabled: true
|
1396
|
+
VersionAdded: '0.33'
|
1397
|
+
|
1398
|
+
Lint/ConstantDefinitionInBlock:
|
1399
|
+
Description: 'Do not define constants within a block.'
|
1400
|
+
StyleGuide: '#no-constant-definition-in-block'
|
1401
|
+
Enabled: pending
|
1402
|
+
VersionAdded: '0.91'
|
1403
|
+
|
1404
|
+
Lint/ConstantResolution:
|
1405
|
+
Description: 'Check that constants are fully qualified with `::`.'
|
1406
|
+
Enabled: false
|
1407
|
+
VersionAdded: '0.86'
|
1408
|
+
# Restrict this cop to only looking at certain names
|
1409
|
+
Only: []
|
1410
|
+
# Restrict this cop from only looking at certain names
|
1411
|
+
Ignore: []
|
1412
|
+
|
1413
|
+
Lint/Debugger:
|
1414
|
+
Description: 'Check for debugger calls.'
|
1415
|
+
Enabled: true
|
1416
|
+
VersionAdded: '0.14'
|
1417
|
+
VersionChanged: '0.49'
|
1418
|
+
|
1419
|
+
Lint/DeprecatedClassMethods:
|
1420
|
+
Description: 'Check for deprecated class method calls.'
|
1421
|
+
Enabled: true
|
1422
|
+
VersionAdded: '0.19'
|
1423
|
+
|
1424
|
+
Lint/DeprecatedOpenSSLConstant:
|
1425
|
+
Description: "Don't use algorithm constants for `OpenSSL::Cipher` and `OpenSSL::Digest`."
|
1426
|
+
Enabled: pending
|
1427
|
+
VersionAdded: '0.84'
|
1428
|
+
|
1429
|
+
Lint/DisjunctiveAssignmentInConstructor:
|
1430
|
+
Description: 'In constructor, plain assignment is preferred over disjunctive.'
|
1431
|
+
Enabled: true
|
1432
|
+
Safe: false
|
1433
|
+
VersionAdded: '0.62'
|
1434
|
+
VersionChanged: '0.88'
|
1435
|
+
|
1436
|
+
Lint/DuplicateCaseCondition:
|
1437
|
+
Description: 'Do not repeat values in case conditionals.'
|
1438
|
+
Enabled: true
|
1439
|
+
VersionAdded: '0.45'
|
1440
|
+
|
1441
|
+
Lint/DuplicateElsifCondition:
|
1442
|
+
Description: 'Do not repeat conditions used in if `elsif`.'
|
1443
|
+
Enabled: 'pending'
|
1444
|
+
VersionAdded: '0.88'
|
1445
|
+
|
1446
|
+
Lint/DuplicateHashKey:
|
1447
|
+
Description: 'Check for duplicate keys in hash literals.'
|
1448
|
+
Enabled: true
|
1449
|
+
VersionAdded: '0.34'
|
1450
|
+
VersionChanged: '0.77'
|
1451
|
+
|
1452
|
+
Lint/DuplicateMethods:
|
1453
|
+
Description: 'Check for duplicate method definitions.'
|
1454
|
+
Enabled: true
|
1455
|
+
VersionAdded: '0.29'
|
1456
|
+
|
1457
|
+
Lint/DuplicateRequire:
|
1458
|
+
Description: 'Check for duplicate `require`s and `require_relative`s.'
|
1459
|
+
Enabled: pending
|
1460
|
+
VersionAdded: '0.90'
|
1461
|
+
|
1462
|
+
Lint/DuplicateRescueException:
|
1463
|
+
Description: 'Checks that there are no repeated exceptions used in `rescue` expressions.'
|
1464
|
+
Enabled: pending
|
1465
|
+
VersionAdded: '0.89'
|
1466
|
+
|
1467
|
+
Lint/EachWithObjectArgument:
|
1468
|
+
Description: 'Check for immutable argument given to each_with_object.'
|
1469
|
+
Enabled: true
|
1470
|
+
VersionAdded: '0.31'
|
1471
|
+
|
1472
|
+
Lint/ElseLayout:
|
1473
|
+
Description: 'Check for odd code arrangement in an else block.'
|
1474
|
+
Enabled: true
|
1475
|
+
VersionAdded: '0.17'
|
1476
|
+
|
1477
|
+
Lint/EmptyConditionalBody:
|
1478
|
+
Description: 'This cop checks for the presence of `if`, `elsif` and `unless` branches without a body.'
|
1479
|
+
Enabled: 'pending'
|
1480
|
+
AllowComments: true
|
1481
|
+
VersionAdded: '0.89'
|
1482
|
+
|
1483
|
+
Lint/EmptyEnsure:
|
1484
|
+
Description: 'Checks for empty ensure block.'
|
1485
|
+
Enabled: true
|
1486
|
+
VersionAdded: '0.10'
|
1487
|
+
VersionChanged: '0.48'
|
1488
|
+
|
1489
|
+
Lint/EmptyExpression:
|
1490
|
+
Description: 'Checks for empty expressions.'
|
1491
|
+
Enabled: true
|
1492
|
+
VersionAdded: '0.45'
|
1493
|
+
|
1494
|
+
Lint/EmptyFile:
|
1495
|
+
Description: 'Enforces that Ruby source files are not empty.'
|
1496
|
+
Enabled: pending
|
1497
|
+
AllowComments: true
|
1498
|
+
VersionAdded: '0.90'
|
1499
|
+
|
1500
|
+
Lint/EmptyInterpolation:
|
1501
|
+
Description: 'Checks for empty string interpolation.'
|
1502
|
+
Enabled: true
|
1503
|
+
VersionAdded: '0.20'
|
1504
|
+
VersionChanged: '0.45'
|
1505
|
+
|
1506
|
+
Lint/EmptyWhen:
|
1507
|
+
Description: 'Checks for `when` branches with empty bodies.'
|
1508
|
+
Enabled: true
|
1509
|
+
AllowComments: true
|
1510
|
+
VersionAdded: '0.45'
|
1511
|
+
VersionChanged: '0.83'
|
1512
|
+
|
1513
|
+
Lint/EnsureReturn:
|
1514
|
+
Description: 'Do not use return in an ensure block.'
|
1515
|
+
StyleGuide: '#no-return-ensure'
|
1516
|
+
Enabled: true
|
1517
|
+
VersionAdded: '0.9'
|
1518
|
+
VersionChanged: '0.83'
|
1519
|
+
|
1520
|
+
Lint/ErbNewArguments:
|
1521
|
+
Description: 'Use `:trim_mode` and `:eoutvar` keyword arguments to `ERB.new`.'
|
1522
|
+
Enabled: true
|
1523
|
+
VersionAdded: '0.56'
|
1524
|
+
|
1525
|
+
Lint/FlipFlop:
|
1526
|
+
Description: 'Checks for flip-flops.'
|
1527
|
+
StyleGuide: '#no-flip-flops'
|
1528
|
+
Enabled: true
|
1529
|
+
VersionAdded: '0.16'
|
1530
|
+
|
1531
|
+
Lint/FloatComparison:
|
1532
|
+
Description: 'Checks for the presence of precise comparison of floating point numbers.'
|
1533
|
+
StyleGuide: '#float-comparison'
|
1534
|
+
Enabled: pending
|
1535
|
+
VersionAdded: '0.89'
|
1536
|
+
|
1537
|
+
Lint/FloatOutOfRange:
|
1538
|
+
Description: >-
|
1539
|
+
Catches floating-point literals too large or small for Ruby to
|
1540
|
+
represent.
|
1541
|
+
Enabled: true
|
1542
|
+
VersionAdded: '0.36'
|
1543
|
+
|
1544
|
+
Lint/FormatParameterMismatch:
|
1545
|
+
Description: 'The number of parameters to format/sprint must match the fields.'
|
1546
|
+
Enabled: true
|
1547
|
+
VersionAdded: '0.33'
|
1548
|
+
|
1549
|
+
Lint/HeredocMethodCallPosition:
|
1550
|
+
Description: >-
|
1551
|
+
Checks for the ordering of a method call where
|
1552
|
+
the receiver of the call is a HEREDOC.
|
1553
|
+
Enabled: false
|
1554
|
+
StyleGuide: '#heredoc-method-calls'
|
1555
|
+
VersionAdded: '0.68'
|
1556
|
+
|
1557
|
+
Lint/IdentityComparison:
|
1558
|
+
Description: 'Prefer `equal?` over `==` when comparing `object_id`.'
|
1559
|
+
Enabled: pending
|
1560
|
+
StyleGuide: '#identity-comparison'
|
1561
|
+
VersionAdded: '0.91'
|
1562
|
+
|
1563
|
+
Lint/ImplicitStringConcatenation:
|
1564
|
+
Description: >-
|
1565
|
+
Checks for adjacent string literals on the same line, which
|
1566
|
+
could better be represented as a single string literal.
|
1567
|
+
Enabled: true
|
1568
|
+
VersionAdded: '0.36'
|
1569
|
+
|
1570
|
+
Lint/IneffectiveAccessModifier:
|
1571
|
+
Description: >-
|
1572
|
+
Checks for attempts to use `private` or `protected` to set
|
1573
|
+
the visibility of a class method, which does not work.
|
1574
|
+
Enabled: true
|
1575
|
+
VersionAdded: '0.36'
|
1576
|
+
|
1577
|
+
Lint/InheritException:
|
1578
|
+
Description: 'Avoid inheriting from the `Exception` class.'
|
1579
|
+
Enabled: true
|
1580
|
+
VersionAdded: '0.41'
|
1581
|
+
# The default base class in favour of `Exception`.
|
1582
|
+
EnforcedStyle: runtime_error
|
1583
|
+
SupportedStyles:
|
1584
|
+
- runtime_error
|
1585
|
+
- standard_error
|
1586
|
+
|
1587
|
+
Lint/InterpolationCheck:
|
1588
|
+
Description: 'Raise warning for interpolation in single q strs.'
|
1589
|
+
Enabled: true
|
1590
|
+
Safe: false
|
1591
|
+
VersionAdded: '0.50'
|
1592
|
+
VersionChanged: '0.87'
|
1593
|
+
|
1594
|
+
Lint/LiteralAsCondition:
|
1595
|
+
Description: 'Checks of literals used in conditions.'
|
1596
|
+
Enabled: true
|
1597
|
+
VersionAdded: '0.51'
|
1598
|
+
|
1599
|
+
Lint/LiteralInInterpolation:
|
1600
|
+
Description: 'Checks for literals used in interpolation.'
|
1601
|
+
Enabled: true
|
1602
|
+
VersionAdded: '0.19'
|
1603
|
+
VersionChanged: '0.32'
|
1604
|
+
|
1605
|
+
Lint/Loop:
|
1606
|
+
Description: >-
|
1607
|
+
Use Kernel#loop with break rather than begin/end/until or
|
1608
|
+
begin/end/while for post-loop tests.
|
1609
|
+
StyleGuide: '#loop-with-break'
|
1610
|
+
Enabled: true
|
1611
|
+
VersionAdded: '0.9'
|
1612
|
+
VersionChanged: '0.89'
|
1613
|
+
|
1614
|
+
Lint/MissingCopEnableDirective:
|
1615
|
+
Description: 'Checks for a `# rubocop:enable` after `# rubocop:disable`.'
|
1616
|
+
Enabled: true
|
1617
|
+
VersionAdded: '0.52'
|
1618
|
+
# Maximum number of consecutive lines the cop can be disabled for.
|
1619
|
+
# 0 allows only single-line disables
|
1620
|
+
# 1 would mean the maximum allowed is the following:
|
1621
|
+
# # rubocop:disable SomeCop
|
1622
|
+
# a = 1
|
1623
|
+
# # rubocop:enable SomeCop
|
1624
|
+
# .inf for any size
|
1625
|
+
MaximumRangeSize: .inf
|
1626
|
+
|
1627
|
+
Lint/MissingSuper:
|
1628
|
+
Description: >-
|
1629
|
+
This cop checks for the presence of constructors and lifecycle callbacks
|
1630
|
+
without calls to `super`'.
|
1631
|
+
Enabled: pending
|
1632
|
+
VersionAdded: '0.89'
|
1633
|
+
|
1634
|
+
Lint/MixedRegexpCaptureTypes:
|
1635
|
+
Description: 'Do not mix named captures and numbered captures in a Regexp literal.'
|
1636
|
+
Enabled: pending
|
1637
|
+
VersionAdded: '0.85'
|
1638
|
+
|
1639
|
+
Lint/MultipleComparison:
|
1640
|
+
Description: "Use `&&` operator to compare multiple values."
|
1641
|
+
Enabled: true
|
1642
|
+
VersionAdded: '0.47'
|
1643
|
+
VersionChanged: '0.77'
|
1644
|
+
|
1645
|
+
Lint/NestedMethodDefinition:
|
1646
|
+
Description: 'Do not use nested method definitions.'
|
1647
|
+
StyleGuide: '#no-nested-methods'
|
1648
|
+
Enabled: true
|
1649
|
+
VersionAdded: '0.32'
|
1650
|
+
|
1651
|
+
Lint/NestedPercentLiteral:
|
1652
|
+
Description: 'Checks for nested percent literals.'
|
1653
|
+
Enabled: true
|
1654
|
+
VersionAdded: '0.52'
|
1655
|
+
|
1656
|
+
Lint/NextWithoutAccumulator:
|
1657
|
+
Description: >-
|
1658
|
+
Do not omit the accumulator when calling `next`
|
1659
|
+
in a `reduce`/`inject` block.
|
1660
|
+
Enabled: true
|
1661
|
+
VersionAdded: '0.36'
|
1662
|
+
|
1663
|
+
Lint/NonDeterministicRequireOrder:
|
1664
|
+
Description: 'Always sort arrays returned by Dir.glob when requiring files.'
|
1665
|
+
Enabled: true
|
1666
|
+
VersionAdded: '0.78'
|
1667
|
+
Safe: false
|
1668
|
+
|
1669
|
+
Lint/NonLocalExitFromIterator:
|
1670
|
+
Description: 'Do not use return in iterator to cause non-local exit.'
|
1671
|
+
Enabled: true
|
1672
|
+
VersionAdded: '0.30'
|
1673
|
+
|
1674
|
+
Lint/NumberConversion:
|
1675
|
+
Description: 'Checks unsafe usage of number conversion methods.'
|
1676
|
+
Enabled: false
|
1677
|
+
VersionAdded: '0.53'
|
1678
|
+
VersionChanged: '0.70'
|
1679
|
+
SafeAutoCorrect: false
|
1680
|
+
|
1681
|
+
Lint/OrderedMagicComments:
|
1682
|
+
Description: 'Checks the proper ordering of magic comments and whether a magic comment is not placed before a shebang.'
|
1683
|
+
Enabled: true
|
1684
|
+
VersionAdded: '0.53'
|
1685
|
+
|
1686
|
+
Lint/OutOfRangeRegexpRef:
|
1687
|
+
Description: 'Checks for out of range reference for Regexp because it always returns nil.'
|
1688
|
+
Enabled: pending
|
1689
|
+
Safe: false
|
1690
|
+
VersionAdded: '0.89'
|
1691
|
+
|
1692
|
+
Lint/ParenthesesAsGroupedExpression:
|
1693
|
+
Description: >-
|
1694
|
+
Checks for method calls with a space before the opening
|
1695
|
+
parenthesis.
|
1696
|
+
StyleGuide: '#parens-no-spaces'
|
1697
|
+
Enabled: true
|
1698
|
+
VersionAdded: '0.12'
|
1699
|
+
VersionChanged: '0.83'
|
1700
|
+
|
1701
|
+
Lint/PercentStringArray:
|
1702
|
+
Description: >-
|
1703
|
+
Checks for unwanted commas and quotes in %w/%W literals.
|
1704
|
+
Enabled: true
|
1705
|
+
Safe: false
|
1706
|
+
VersionAdded: '0.41'
|
1707
|
+
|
1708
|
+
Lint/PercentSymbolArray:
|
1709
|
+
Description: >-
|
1710
|
+
Checks for unwanted commas and colons in %i/%I literals.
|
1711
|
+
Enabled: true
|
1712
|
+
VersionAdded: '0.41'
|
1713
|
+
|
1714
|
+
Lint/RaiseException:
|
1715
|
+
Description: Checks for `raise` or `fail` statements which are raising `Exception` class.
|
1716
|
+
StyleGuide: '#raise-exception'
|
1717
|
+
Enabled: pending
|
1718
|
+
Safe: false
|
1719
|
+
VersionAdded: '0.81'
|
1720
|
+
VersionChanged: '0.86'
|
1721
|
+
AllowedImplicitNamespaces:
|
1722
|
+
- 'Gem'
|
1723
|
+
|
1724
|
+
Lint/RandOne:
|
1725
|
+
Description: >-
|
1726
|
+
Checks for `rand(1)` calls. Such calls always return `0`
|
1727
|
+
and most likely a mistake.
|
1728
|
+
Enabled: true
|
1729
|
+
VersionAdded: '0.36'
|
1730
|
+
|
1731
|
+
Lint/RedundantCopDisableDirective:
|
1732
|
+
Description: >-
|
1733
|
+
Checks for rubocop:disable comments that can be removed.
|
1734
|
+
Note: this cop is not disabled when disabling all cops.
|
1735
|
+
It must be explicitly disabled.
|
1736
|
+
Enabled: true
|
1737
|
+
VersionAdded: '0.76'
|
1738
|
+
|
1739
|
+
Lint/RedundantCopEnableDirective:
|
1740
|
+
Description: Checks for rubocop:enable comments that can be removed.
|
1741
|
+
Enabled: true
|
1742
|
+
VersionAdded: '0.76'
|
1743
|
+
|
1744
|
+
Lint/RedundantRequireStatement:
|
1745
|
+
Description: 'Checks for unnecessary `require` statement.'
|
1746
|
+
Enabled: true
|
1747
|
+
VersionAdded: '0.76'
|
1748
|
+
|
1749
|
+
Lint/RedundantSplatExpansion:
|
1750
|
+
Description: 'Checks for splat unnecessarily being called on literals.'
|
1751
|
+
Enabled: true
|
1752
|
+
VersionAdded: '0.76'
|
1753
|
+
|
1754
|
+
Lint/RedundantStringCoercion:
|
1755
|
+
Description: 'Checks for Object#to_s usage in string interpolation.'
|
1756
|
+
StyleGuide: '#no-to-s'
|
1757
|
+
Enabled: true
|
1758
|
+
VersionAdded: '0.19'
|
1759
|
+
VersionChanged: '0.77'
|
1760
|
+
|
1761
|
+
Lint/RedundantWithIndex:
|
1762
|
+
Description: 'Checks for redundant `with_index`.'
|
1763
|
+
Enabled: true
|
1764
|
+
VersionAdded: '0.50'
|
1765
|
+
|
1766
|
+
Lint/RedundantWithObject:
|
1767
|
+
Description: 'Checks for redundant `with_object`.'
|
1768
|
+
Enabled: true
|
1769
|
+
VersionAdded: '0.51'
|
1770
|
+
|
1771
|
+
Lint/RegexpAsCondition:
|
1772
|
+
Description: >-
|
1773
|
+
Do not use regexp literal as a condition.
|
1774
|
+
The regexp literal matches `$_` implicitly.
|
1775
|
+
Enabled: true
|
1776
|
+
VersionAdded: '0.51'
|
1777
|
+
VersionChanged: '0.86'
|
1778
|
+
|
1779
|
+
Lint/RequireParentheses:
|
1780
|
+
Description: >-
|
1781
|
+
Use parentheses in the method call to avoid confusion
|
1782
|
+
about precedence.
|
1783
|
+
Enabled: true
|
1784
|
+
VersionAdded: '0.18'
|
1785
|
+
|
1786
|
+
Lint/RescueException:
|
1787
|
+
Description: 'Avoid rescuing the Exception class.'
|
1788
|
+
StyleGuide: '#no-blind-rescues'
|
1789
|
+
Enabled: true
|
1790
|
+
VersionAdded: '0.9'
|
1791
|
+
VersionChanged: '0.27.1'
|
1792
|
+
|
1793
|
+
Lint/RescueType:
|
1794
|
+
Description: 'Avoid rescuing from non constants that could result in a `TypeError`.'
|
1795
|
+
Enabled: true
|
1796
|
+
VersionAdded: '0.49'
|
1797
|
+
|
1798
|
+
Lint/ReturnInVoidContext:
|
1799
|
+
Description: 'Checks for return in void context.'
|
1800
|
+
Enabled: true
|
1801
|
+
VersionAdded: '0.50'
|
1802
|
+
|
1803
|
+
Lint/SafeNavigationChain:
|
1804
|
+
Description: 'Do not chain ordinary method call after safe navigation operator.'
|
1805
|
+
Enabled: true
|
1806
|
+
VersionAdded: '0.47'
|
1807
|
+
VersionChanged: '0.77'
|
1808
|
+
AllowedMethods:
|
1809
|
+
- present?
|
1810
|
+
- blank?
|
1811
|
+
- presence
|
1812
|
+
- try
|
1813
|
+
- try!
|
1814
|
+
- in?
|
1815
|
+
|
1816
|
+
Lint/SafeNavigationConsistency:
|
1817
|
+
Description: >-
|
1818
|
+
Check to make sure that if safe navigation is used for a method
|
1819
|
+
call in an `&&` or `||` condition that safe navigation is used
|
1820
|
+
for all method calls on that same object.
|
1821
|
+
Enabled: true
|
1822
|
+
VersionAdded: '0.55'
|
1823
|
+
VersionChanged: '0.77'
|
1824
|
+
AllowedMethods:
|
1825
|
+
- present?
|
1826
|
+
- blank?
|
1827
|
+
- presence
|
1828
|
+
- try
|
1829
|
+
- try!
|
1830
|
+
|
1831
|
+
Lint/SafeNavigationWithEmpty:
|
1832
|
+
Description: 'Avoid `foo&.empty?` in conditionals.'
|
1833
|
+
Enabled: true
|
1834
|
+
VersionAdded: '0.62'
|
1835
|
+
VersionChanged: '0.87'
|
1836
|
+
|
1837
|
+
Lint/ScriptPermission:
|
1838
|
+
Description: 'Grant script file execute permission.'
|
1839
|
+
Enabled: true
|
1840
|
+
VersionAdded: '0.49'
|
1841
|
+
VersionChanged: '0.50'
|
1842
|
+
|
1843
|
+
Lint/SelfAssignment:
|
1844
|
+
Description: 'Checks for self-assignments.'
|
1845
|
+
Enabled: pending
|
1846
|
+
VersionAdded: '0.89'
|
1847
|
+
|
1848
|
+
Lint/SendWithMixinArgument:
|
1849
|
+
Description: 'Checks for `send` method when using mixin.'
|
1850
|
+
Enabled: true
|
1851
|
+
VersionAdded: '0.75'
|
1852
|
+
|
1853
|
+
Lint/ShadowedArgument:
|
1854
|
+
Description: 'Avoid reassigning arguments before they were used.'
|
1855
|
+
Enabled: true
|
1856
|
+
VersionAdded: '0.52'
|
1857
|
+
IgnoreImplicitReferences: false
|
1858
|
+
|
1859
|
+
|
1860
|
+
Lint/ShadowedException:
|
1861
|
+
Description: >-
|
1862
|
+
Avoid rescuing a higher level exception
|
1863
|
+
before a lower level exception.
|
1864
|
+
Enabled: true
|
1865
|
+
VersionAdded: '0.41'
|
1866
|
+
|
1867
|
+
Lint/ShadowingOuterLocalVariable:
|
1868
|
+
Description: >-
|
1869
|
+
Do not use the same name as outer local variable
|
1870
|
+
for block arguments or block local variables.
|
1871
|
+
Enabled: true
|
1872
|
+
VersionAdded: '0.9'
|
1873
|
+
|
1874
|
+
Lint/StructNewOverride:
|
1875
|
+
Description: 'Disallow overriding the `Struct` built-in methods via `Struct.new`.'
|
1876
|
+
Enabled: pending
|
1877
|
+
VersionAdded: '0.81'
|
1878
|
+
|
1879
|
+
Lint/SuppressedException:
|
1880
|
+
Description: "Don't suppress exceptions."
|
1881
|
+
StyleGuide: '#dont-hide-exceptions'
|
1882
|
+
Enabled: true
|
1883
|
+
AllowComments: true
|
1884
|
+
VersionAdded: '0.9'
|
1885
|
+
VersionChanged: '0.81'
|
1886
|
+
|
1887
|
+
Lint/Syntax:
|
1888
|
+
Description: 'Checks syntax error.'
|
1889
|
+
Enabled: true
|
1890
|
+
VersionAdded: '0.9'
|
1891
|
+
|
1892
|
+
|
1893
|
+
Lint/ToJSON:
|
1894
|
+
Description: 'Ensure #to_json includes an optional argument.'
|
1895
|
+
Enabled: true
|
1896
|
+
VersionAdded: '0.66'
|
1897
|
+
|
1898
|
+
Lint/TopLevelReturnWithArgument:
|
1899
|
+
Description: 'This cop detects top level return statements with argument.'
|
1900
|
+
Enabled: 'pending'
|
1901
|
+
VersionAdded: '0.89'
|
1902
|
+
|
1903
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
1904
|
+
Description: 'This cop checks for trailing commas in attribute declarations.'
|
1905
|
+
Enabled: pending
|
1906
|
+
VersionAdded: '0.90'
|
1907
|
+
|
1908
|
+
Lint/UnderscorePrefixedVariableName:
|
1909
|
+
Description: 'Do not use prefix `_` for a variable that is used.'
|
1910
|
+
Enabled: true
|
1911
|
+
VersionAdded: '0.21'
|
1912
|
+
AllowKeywordBlockArguments: false
|
1913
|
+
|
1914
|
+
Lint/UnifiedInteger:
|
1915
|
+
Description: 'Use Integer instead of Fixnum or Bignum.'
|
1916
|
+
Enabled: true
|
1917
|
+
VersionAdded: '0.43'
|
1918
|
+
|
1919
|
+
Lint/UnreachableCode:
|
1920
|
+
Description: 'Unreachable code.'
|
1921
|
+
Enabled: true
|
1922
|
+
VersionAdded: '0.9'
|
1923
|
+
|
1924
|
+
Lint/UnreachableLoop:
|
1925
|
+
Description: 'This cop checks for loops that will have at most one iteration.'
|
1926
|
+
Enabled: pending
|
1927
|
+
VersionAdded: '0.89'
|
1928
|
+
|
1929
|
+
Lint/UnusedBlockArgument:
|
1930
|
+
Description: 'Checks for unused block arguments.'
|
1931
|
+
StyleGuide: '#underscore-unused-vars'
|
1932
|
+
Enabled: true
|
1933
|
+
VersionAdded: '0.21'
|
1934
|
+
VersionChanged: '0.22'
|
1935
|
+
IgnoreEmptyBlocks: true
|
1936
|
+
AllowUnusedKeywordArguments: false
|
1937
|
+
|
1938
|
+
Lint/UnusedMethodArgument:
|
1939
|
+
Description: 'Checks for unused method arguments.'
|
1940
|
+
StyleGuide: '#underscore-unused-vars'
|
1941
|
+
Enabled: true
|
1942
|
+
VersionAdded: '0.21'
|
1943
|
+
VersionChanged: '0.81'
|
1944
|
+
AllowUnusedKeywordArguments: false
|
1945
|
+
IgnoreEmptyMethods: true
|
1946
|
+
IgnoreNotImplementedMethods: true
|
1947
|
+
|
1948
|
+
Lint/UriEscapeUnescape:
|
1949
|
+
Description: >-
|
1950
|
+
`URI.escape` method is obsolete and should not be used. Instead, use
|
1951
|
+
`CGI.escape`, `URI.encode_www_form` or `URI.encode_www_form_component`
|
1952
|
+
depending on your specific use case.
|
1953
|
+
Also `URI.unescape` method is obsolete and should not be used. Instead, use
|
1954
|
+
`CGI.unescape`, `URI.decode_www_form` or `URI.decode_www_form_component`
|
1955
|
+
depending on your specific use case.
|
1956
|
+
Enabled: true
|
1957
|
+
VersionAdded: '0.50'
|
1958
|
+
|
1959
|
+
Lint/UriRegexp:
|
1960
|
+
Description: 'Use `URI::DEFAULT_PARSER.make_regexp` instead of `URI.regexp`.'
|
1961
|
+
Enabled: true
|
1962
|
+
VersionAdded: '0.50'
|
1963
|
+
|
1964
|
+
Lint/UselessAccessModifier:
|
1965
|
+
Description: 'Checks for useless access modifiers.'
|
1966
|
+
Enabled: true
|
1967
|
+
VersionAdded: '0.20'
|
1968
|
+
VersionChanged: '0.83'
|
1969
|
+
ContextCreatingMethods: []
|
1970
|
+
MethodCreatingMethods: []
|
1971
|
+
|
1972
|
+
Lint/UselessAssignment:
|
1973
|
+
Description: 'Checks for useless assignment to a local variable.'
|
1974
|
+
StyleGuide: '#underscore-unused-vars'
|
1975
|
+
Enabled: true
|
1976
|
+
VersionAdded: '0.11'
|
1977
|
+
|
1978
|
+
Lint/UselessElseWithoutRescue:
|
1979
|
+
Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
|
1980
|
+
Enabled: true
|
1981
|
+
VersionAdded: '0.17'
|
1982
|
+
|
1983
|
+
Lint/UselessMethodDefinition:
|
1984
|
+
Description: 'Checks for useless method definitions.'
|
1985
|
+
Enabled: pending
|
1986
|
+
VersionAdded: '0.90'
|
1987
|
+
Safe: false
|
1988
|
+
AllowComments: true
|
1989
|
+
|
1990
|
+
Lint/UselessSetterCall:
|
1991
|
+
Description: 'Checks for useless setter call to a local variable.'
|
1992
|
+
Enabled: true
|
1993
|
+
VersionAdded: '0.13'
|
1994
|
+
VersionChanged: '0.80'
|
1995
|
+
Safe: false
|
1996
|
+
|
1997
|
+
Lint/UselessTimes:
|
1998
|
+
Description: 'Checks for useless `Integer#times` calls.'
|
1999
|
+
Enabled: pending
|
2000
|
+
VersionAdded: '0.91'
|
2001
|
+
Safe: false
|
2002
|
+
|
2003
|
+
Lint/Void:
|
2004
|
+
Description: 'Possible use of operator/literal/variable in void context.'
|
2005
|
+
Enabled: true
|
2006
|
+
VersionAdded: '0.9'
|
2007
|
+
CheckForMethodsWithNoSideEffects: false
|
2008
|
+
|
2009
|
+
#################### Metrics ###############################
|
2010
|
+
|
2011
|
+
Metrics/AbcSize:
|
2012
|
+
Description: >-
|
2013
|
+
A calculated magnitude based on number of assignments,
|
2014
|
+
branches, and conditions.
|
2015
|
+
Reference:
|
2016
|
+
- http://c2.com/cgi/wiki?AbcMetric
|
2017
|
+
- https://en.wikipedia.org/wiki/ABC_Software_Metric
|
2018
|
+
Enabled: true
|
2019
|
+
VersionAdded: '0.27'
|
2020
|
+
VersionChanged: '0.81'
|
2021
|
+
# The ABC size is a calculated magnitude, so this number can be an Integer or
|
2022
|
+
# a Float.
|
2023
|
+
IgnoredMethods: []
|
2024
|
+
Max: 17
|
2025
|
+
|
2026
|
+
Metrics/BlockLength:
|
2027
|
+
Description: 'Avoid long blocks with many lines.'
|
2028
|
+
Enabled: true
|
2029
|
+
VersionAdded: '0.44'
|
2030
|
+
VersionChanged: '0.87'
|
2031
|
+
CountComments: false # count full line comments?
|
2032
|
+
Max: 25
|
2033
|
+
CountAsOne: []
|
2034
|
+
ExcludedMethods:
|
2035
|
+
# By default, exclude the `#refine` method, as it tends to have larger
|
2036
|
+
# associated blocks.
|
2037
|
+
- refine
|
2038
|
+
Exclude:
|
2039
|
+
- '**/*.gemspec'
|
2040
|
+
|
2041
|
+
Metrics/BlockNesting:
|
2042
|
+
Description: 'Avoid excessive block nesting.'
|
2043
|
+
StyleGuide: '#three-is-the-number-thou-shalt-count'
|
2044
|
+
Enabled: true
|
2045
|
+
VersionAdded: '0.25'
|
2046
|
+
VersionChanged: '0.47'
|
2047
|
+
CountBlocks: false
|
2048
|
+
Max: 3
|
2049
|
+
|
2050
|
+
Metrics/ClassLength:
|
2051
|
+
Description: 'Avoid classes longer than 100 lines of code.'
|
2052
|
+
Enabled: true
|
2053
|
+
VersionAdded: '0.25'
|
2054
|
+
VersionChanged: '0.87'
|
2055
|
+
CountComments: false # count full line comments?
|
2056
|
+
Max: 100
|
2057
|
+
CountAsOne: []
|
2058
|
+
|
2059
|
+
# Avoid complex methods.
|
2060
|
+
Metrics/CyclomaticComplexity:
|
2061
|
+
Description: >-
|
2062
|
+
A complexity metric that is strongly correlated to the number
|
2063
|
+
of test cases needed to validate a method.
|
2064
|
+
Enabled: true
|
2065
|
+
VersionAdded: '0.25'
|
2066
|
+
VersionChanged: '0.81'
|
2067
|
+
IgnoredMethods: []
|
2068
|
+
Max: 7
|
2069
|
+
|
2070
|
+
Metrics/MethodLength:
|
2071
|
+
Description: 'Avoid methods longer than 10 lines of code.'
|
2072
|
+
StyleGuide: '#short-methods'
|
2073
|
+
Enabled: true
|
2074
|
+
VersionAdded: '0.25'
|
2075
|
+
VersionChanged: '0.87'
|
2076
|
+
CountComments: false # count full line comments?
|
2077
|
+
Max: 10
|
2078
|
+
CountAsOne: []
|
2079
|
+
ExcludedMethods: []
|
2080
|
+
|
2081
|
+
Metrics/ModuleLength:
|
2082
|
+
Description: 'Avoid modules longer than 100 lines of code.'
|
2083
|
+
Enabled: true
|
2084
|
+
VersionAdded: '0.31'
|
2085
|
+
VersionChanged: '0.87'
|
2086
|
+
CountComments: false # count full line comments?
|
2087
|
+
Max: 100
|
2088
|
+
CountAsOne: []
|
2089
|
+
|
2090
|
+
Metrics/ParameterLists:
|
2091
|
+
Description: 'Avoid parameter lists longer than three or four parameters.'
|
2092
|
+
StyleGuide: '#too-many-params'
|
2093
|
+
Enabled: true
|
2094
|
+
VersionAdded: '0.25'
|
2095
|
+
Max: 5
|
2096
|
+
CountKeywordArgs: true
|
2097
|
+
|
2098
|
+
Metrics/PerceivedComplexity:
|
2099
|
+
Description: >-
|
2100
|
+
A complexity metric geared towards measuring complexity for a
|
2101
|
+
human reader.
|
2102
|
+
Enabled: true
|
2103
|
+
VersionAdded: '0.25'
|
2104
|
+
VersionChanged: '0.81'
|
2105
|
+
IgnoredMethods: []
|
2106
|
+
Max: 8
|
2107
|
+
|
2108
|
+
################## Migration #############################
|
2109
|
+
|
2110
|
+
Migration/DepartmentName:
|
2111
|
+
Description: >-
|
2112
|
+
Check that cop names in rubocop:disable (etc) comments are
|
2113
|
+
given with department name.
|
2114
|
+
Enabled: true
|
2115
|
+
VersionAdded: '0.75'
|
2116
|
+
|
2117
|
+
#################### Naming ##############################
|
2118
|
+
|
2119
|
+
Naming/AccessorMethodName:
|
2120
|
+
Description: Check the naming of accessor methods for get_/set_.
|
2121
|
+
StyleGuide: '#accessor_mutator_method_names'
|
2122
|
+
Enabled: true
|
2123
|
+
VersionAdded: '0.50'
|
2124
|
+
|
2125
|
+
Naming/AsciiIdentifiers:
|
2126
|
+
Description: 'Use only ascii symbols in identifiers and constants.'
|
2127
|
+
StyleGuide: '#english-identifiers'
|
2128
|
+
Enabled: true
|
2129
|
+
VersionAdded: '0.50'
|
2130
|
+
VersionChanged: '0.87'
|
2131
|
+
AsciiConstants: true
|
2132
|
+
|
2133
|
+
Naming/BinaryOperatorParameterName:
|
2134
|
+
Description: 'When defining binary operators, name the argument other.'
|
2135
|
+
StyleGuide: '#other-arg'
|
2136
|
+
Enabled: true
|
2137
|
+
VersionAdded: '0.50'
|
2138
|
+
|
2139
|
+
Naming/BlockParameterName:
|
2140
|
+
Description: >-
|
2141
|
+
Checks for block parameter names that contain capital letters,
|
2142
|
+
end in numbers, or do not meet a minimal length.
|
2143
|
+
Enabled: true
|
2144
|
+
VersionAdded: '0.53'
|
2145
|
+
VersionChanged: '0.77'
|
2146
|
+
# Parameter names may be equal to or greater than this value
|
2147
|
+
MinNameLength: 1
|
2148
|
+
AllowNamesEndingInNumbers: true
|
2149
|
+
# Allowed names that will not register an offense
|
2150
|
+
AllowedNames: []
|
2151
|
+
# Forbidden names that will register an offense
|
2152
|
+
ForbiddenNames: []
|
2153
|
+
|
2154
|
+
Naming/ClassAndModuleCamelCase:
|
2155
|
+
Description: 'Use CamelCase for classes and modules.'
|
2156
|
+
StyleGuide: '#camelcase-classes'
|
2157
|
+
Enabled: true
|
2158
|
+
VersionAdded: '0.50'
|
2159
|
+
VersionChanged: '0.85'
|
2160
|
+
# Allowed class/module names can be specified here.
|
2161
|
+
# These can be full or part of the name.
|
2162
|
+
AllowedNames:
|
2163
|
+
- module_parent
|
2164
|
+
|
2165
|
+
Naming/ConstantName:
|
2166
|
+
Description: 'Constants should use SCREAMING_SNAKE_CASE.'
|
2167
|
+
StyleGuide: '#screaming-snake-case'
|
2168
|
+
Enabled: true
|
2169
|
+
VersionAdded: '0.50'
|
2170
|
+
|
2171
|
+
Naming/FileName:
|
2172
|
+
Description: 'Use snake_case for source file names.'
|
2173
|
+
StyleGuide: '#snake-case-files'
|
2174
|
+
Enabled: true
|
2175
|
+
VersionAdded: '0.50'
|
2176
|
+
# Camel case file names listed in `AllCops:Include` and all file names listed
|
2177
|
+
# in `AllCops:Exclude` are excluded by default. Add extra excludes here.
|
2178
|
+
Exclude: []
|
2179
|
+
# When `true`, requires that each source file should define a class or module
|
2180
|
+
# with a name which matches the file name (converted to ... case).
|
2181
|
+
# It further expects it to be nested inside modules which match the names
|
2182
|
+
# of subdirectories in its path.
|
2183
|
+
ExpectMatchingDefinition: false
|
2184
|
+
# When `false`, changes the behavior of ExpectMatchingDefinition to match only
|
2185
|
+
# whether each source file's class or module name matches the file name --
|
2186
|
+
# not whether the nested module hierarchy matches the subdirectory path.
|
2187
|
+
CheckDefinitionPathHierarchy: true
|
2188
|
+
# If non-`nil`, expect all source file names to match the following regex.
|
2189
|
+
# Only the file name itself is matched, not the entire file path.
|
2190
|
+
# Use anchors as necessary if you want to match the entire name rather than
|
2191
|
+
# just a part of it.
|
2192
|
+
Regex: ~
|
2193
|
+
# With `IgnoreExecutableScripts` set to `true`, this cop does not
|
2194
|
+
# report offending filenames for executable scripts (i.e. source
|
2195
|
+
# files with a shebang in the first line).
|
2196
|
+
IgnoreExecutableScripts: true
|
2197
|
+
AllowedAcronyms:
|
2198
|
+
- CLI
|
2199
|
+
- DSL
|
2200
|
+
- ACL
|
2201
|
+
- API
|
2202
|
+
- ASCII
|
2203
|
+
- CPU
|
2204
|
+
- CSS
|
2205
|
+
- DNS
|
2206
|
+
- EOF
|
2207
|
+
- GUID
|
2208
|
+
- HTML
|
2209
|
+
- HTTP
|
2210
|
+
- HTTPS
|
2211
|
+
- ID
|
2212
|
+
- IP
|
2213
|
+
- JSON
|
2214
|
+
- LHS
|
2215
|
+
- QPS
|
2216
|
+
- RAM
|
2217
|
+
- RHS
|
2218
|
+
- RPC
|
2219
|
+
- SLA
|
2220
|
+
- SMTP
|
2221
|
+
- SQL
|
2222
|
+
- SSH
|
2223
|
+
- TCP
|
2224
|
+
- TLS
|
2225
|
+
- TTL
|
2226
|
+
- UDP
|
2227
|
+
- UI
|
2228
|
+
- UID
|
2229
|
+
- UUID
|
2230
|
+
- URI
|
2231
|
+
- URL
|
2232
|
+
- UTF8
|
2233
|
+
- VM
|
2234
|
+
- XML
|
2235
|
+
- XMPP
|
2236
|
+
- XSRF
|
2237
|
+
- XSS
|
2238
|
+
|
2239
|
+
Naming/HeredocDelimiterCase:
|
2240
|
+
Description: 'Use configured case for heredoc delimiters.'
|
2241
|
+
StyleGuide: '#heredoc-delimiters'
|
2242
|
+
Enabled: true
|
2243
|
+
VersionAdded: '0.50'
|
2244
|
+
EnforcedStyle: uppercase
|
2245
|
+
SupportedStyles:
|
2246
|
+
- lowercase
|
2247
|
+
- uppercase
|
2248
|
+
|
2249
|
+
Naming/HeredocDelimiterNaming:
|
2250
|
+
Description: 'Use descriptive heredoc delimiters.'
|
2251
|
+
StyleGuide: '#heredoc-delimiters'
|
2252
|
+
Enabled: true
|
2253
|
+
VersionAdded: '0.50'
|
2254
|
+
ForbiddenDelimiters:
|
2255
|
+
- !ruby/regexp '/(^|\s)(EO[A-Z]{1}|END)(\s|$)/'
|
2256
|
+
|
2257
|
+
Naming/MemoizedInstanceVariableName:
|
2258
|
+
Description: >-
|
2259
|
+
Memoized method name should match memo instance variable name.
|
2260
|
+
Enabled: true
|
2261
|
+
VersionAdded: '0.53'
|
2262
|
+
VersionChanged: '0.58'
|
2263
|
+
EnforcedStyleForLeadingUnderscores: disallowed
|
2264
|
+
SupportedStylesForLeadingUnderscores:
|
2265
|
+
- disallowed
|
2266
|
+
- required
|
2267
|
+
- optional
|
2268
|
+
|
2269
|
+
Naming/MethodName:
|
2270
|
+
Description: 'Use the configured style when naming methods.'
|
2271
|
+
StyleGuide: '#snake-case-symbols-methods-vars'
|
2272
|
+
Enabled: true
|
2273
|
+
VersionAdded: '0.50'
|
2274
|
+
EnforcedStyle: snake_case
|
2275
|
+
SupportedStyles:
|
2276
|
+
- snake_case
|
2277
|
+
- camelCase
|
2278
|
+
# Method names matching patterns are always allowed.
|
2279
|
+
#
|
2280
|
+
# IgnoredPatterns:
|
2281
|
+
# - '\A\s*onSelectionBulkChange\s*'
|
2282
|
+
# - '\A\s*onSelectionCleared\s*'
|
2283
|
+
#
|
2284
|
+
IgnoredPatterns: []
|
2285
|
+
|
2286
|
+
Naming/MethodParameterName:
|
2287
|
+
Description: >-
|
2288
|
+
Checks for method parameter names that contain capital letters,
|
2289
|
+
end in numbers, or do not meet a minimal length.
|
2290
|
+
Enabled: true
|
2291
|
+
VersionAdded: '0.53'
|
2292
|
+
VersionChanged: '0.77'
|
2293
|
+
# Parameter names may be equal to or greater than this value
|
2294
|
+
MinNameLength: 3
|
2295
|
+
AllowNamesEndingInNumbers: true
|
2296
|
+
# Allowed names that will not register an offense
|
2297
|
+
AllowedNames:
|
2298
|
+
- at
|
2299
|
+
- by
|
2300
|
+
- db
|
2301
|
+
- id
|
2302
|
+
- in
|
2303
|
+
- io
|
2304
|
+
- ip
|
2305
|
+
- of
|
2306
|
+
- 'on'
|
2307
|
+
- os
|
2308
|
+
- pp
|
2309
|
+
- to
|
2310
|
+
# Forbidden names that will register an offense
|
2311
|
+
ForbiddenNames: []
|
2312
|
+
|
2313
|
+
Naming/PredicateName:
|
2314
|
+
Description: 'Check the names of predicate methods.'
|
2315
|
+
StyleGuide: '#bool-methods-qmark'
|
2316
|
+
Enabled: true
|
2317
|
+
VersionAdded: '0.50'
|
2318
|
+
VersionChanged: '0.77'
|
2319
|
+
# Predicate name prefixes.
|
2320
|
+
NamePrefix:
|
2321
|
+
- is_
|
2322
|
+
- has_
|
2323
|
+
- have_
|
2324
|
+
# Predicate name prefixes that should be removed.
|
2325
|
+
ForbiddenPrefixes:
|
2326
|
+
- is_
|
2327
|
+
- has_
|
2328
|
+
- have_
|
2329
|
+
# Predicate names which, despite having a forbidden prefix, or no `?`,
|
2330
|
+
# should still be accepted
|
2331
|
+
AllowedMethods:
|
2332
|
+
- is_a?
|
2333
|
+
# Method definition macros for dynamically generated methods.
|
2334
|
+
MethodDefinitionMacros:
|
2335
|
+
- define_method
|
2336
|
+
- define_singleton_method
|
2337
|
+
# Exclude Rspec specs because there is a strong convention to write spec
|
2338
|
+
# helpers in the form of `have_something` or `be_something`.
|
2339
|
+
Exclude:
|
2340
|
+
- 'spec/**/*'
|
2341
|
+
|
2342
|
+
Naming/RescuedExceptionsVariableName:
|
2343
|
+
Description: 'Use consistent rescued exceptions variables naming.'
|
2344
|
+
Enabled: true
|
2345
|
+
VersionAdded: '0.67'
|
2346
|
+
VersionChanged: '0.68'
|
2347
|
+
PreferredName: e
|
2348
|
+
|
2349
|
+
Naming/VariableName:
|
2350
|
+
Description: 'Use the configured style when naming variables.'
|
2351
|
+
StyleGuide: '#snake-case-symbols-methods-vars'
|
2352
|
+
Enabled: true
|
2353
|
+
VersionAdded: '0.50'
|
2354
|
+
EnforcedStyle: snake_case
|
2355
|
+
SupportedStyles:
|
2356
|
+
- snake_case
|
2357
|
+
- camelCase
|
2358
|
+
|
2359
|
+
Naming/VariableNumber:
|
2360
|
+
Description: 'Use the configured style when numbering variables.'
|
2361
|
+
Enabled: true
|
2362
|
+
VersionAdded: '0.50'
|
2363
|
+
EnforcedStyle: normalcase
|
2364
|
+
SupportedStyles:
|
2365
|
+
- snake_case
|
2366
|
+
- normalcase
|
2367
|
+
- non_integer
|
2368
|
+
|
2369
|
+
#################### Security ##############################
|
2370
|
+
|
2371
|
+
Security/Eval:
|
2372
|
+
Description: 'The use of eval represents a serious security risk.'
|
2373
|
+
Enabled: true
|
2374
|
+
VersionAdded: '0.47'
|
2375
|
+
|
2376
|
+
Security/JSONLoad:
|
2377
|
+
Description: >-
|
2378
|
+
Prefer usage of `JSON.parse` over `JSON.load` due to potential
|
2379
|
+
security issues. See reference for more information.
|
2380
|
+
Reference: 'https://ruby-doc.org/stdlib-2.7.0/libdoc/json/rdoc/JSON.html#method-i-load'
|
2381
|
+
Enabled: true
|
2382
|
+
VersionAdded: '0.43'
|
2383
|
+
VersionChanged: '0.44'
|
2384
|
+
# Autocorrect here will change to a method that may cause crashes depending
|
2385
|
+
# on the value of the argument.
|
2386
|
+
AutoCorrect: false
|
2387
|
+
SafeAutoCorrect: false
|
2388
|
+
|
2389
|
+
Security/MarshalLoad:
|
2390
|
+
Description: >-
|
2391
|
+
Avoid using of `Marshal.load` or `Marshal.restore` due to potential
|
2392
|
+
security issues. See reference for more information.
|
2393
|
+
Reference: 'https://ruby-doc.org/core-2.7.0/Marshal.html#module-Marshal-label-Security+considerations'
|
2394
|
+
Enabled: true
|
2395
|
+
VersionAdded: '0.47'
|
2396
|
+
|
2397
|
+
Security/Open:
|
2398
|
+
Description: 'The use of Kernel#open represents a serious security risk.'
|
2399
|
+
Enabled: true
|
2400
|
+
VersionAdded: '0.53'
|
2401
|
+
Safe: false
|
2402
|
+
|
2403
|
+
Security/YAMLLoad:
|
2404
|
+
Description: >-
|
2405
|
+
Prefer usage of `YAML.safe_load` over `YAML.load` due to potential
|
2406
|
+
security issues. See reference for more information.
|
2407
|
+
Reference: 'https://ruby-doc.org/stdlib-2.7.0/libdoc/yaml/rdoc/YAML.html#module-YAML-label-Security'
|
2408
|
+
Enabled: true
|
2409
|
+
VersionAdded: '0.47'
|
2410
|
+
SafeAutoCorrect: false
|
2411
|
+
|
2412
|
+
#################### Style ###############################
|
2413
|
+
|
2414
|
+
Style/AccessModifierDeclarations:
|
2415
|
+
Description: 'Checks style of how access modifiers are used.'
|
2416
|
+
Enabled: true
|
2417
|
+
VersionAdded: '0.57'
|
2418
|
+
VersionChanged: '0.81'
|
2419
|
+
EnforcedStyle: group
|
2420
|
+
SupportedStyles:
|
2421
|
+
- inline
|
2422
|
+
- group
|
2423
|
+
AllowModifiersOnSymbols: true
|
2424
|
+
|
2425
|
+
Style/AccessorGrouping:
|
2426
|
+
Description: 'Checks for grouping of accessors in `class` and `module` bodies.'
|
2427
|
+
Enabled: 'pending'
|
2428
|
+
VersionAdded: '0.87'
|
2429
|
+
EnforcedStyle: grouped
|
2430
|
+
SupportedStyles:
|
2431
|
+
# separated: each accessor goes in a separate statement.
|
2432
|
+
# grouped: accessors are grouped into a single statement.
|
2433
|
+
- separated
|
2434
|
+
- grouped
|
2435
|
+
|
2436
|
+
Style/Alias:
|
2437
|
+
Description: 'Use alias instead of alias_method.'
|
2438
|
+
StyleGuide: '#alias-method-lexically'
|
2439
|
+
Enabled: true
|
2440
|
+
VersionAdded: '0.9'
|
2441
|
+
VersionChanged: '0.36'
|
2442
|
+
EnforcedStyle: prefer_alias
|
2443
|
+
SupportedStyles:
|
2444
|
+
- prefer_alias
|
2445
|
+
- prefer_alias_method
|
2446
|
+
|
2447
|
+
Style/AndOr:
|
2448
|
+
Description: 'Use &&/|| instead of and/or.'
|
2449
|
+
StyleGuide: '#no-and-or-or'
|
2450
|
+
Enabled: true
|
2451
|
+
VersionAdded: '0.9'
|
2452
|
+
VersionChanged: '0.25'
|
2453
|
+
# Whether `and` and `or` are banned only in conditionals (conditionals)
|
2454
|
+
# or completely (always).
|
2455
|
+
EnforcedStyle: conditionals
|
2456
|
+
SupportedStyles:
|
2457
|
+
- always
|
2458
|
+
- conditionals
|
2459
|
+
|
2460
|
+
Style/ArrayCoercion:
|
2461
|
+
Description: >-
|
2462
|
+
Use Array() instead of explicit Array check or [*var], when dealing
|
2463
|
+
with a variable you want to treat as an Array, but you're not certain it's an array.
|
2464
|
+
StyleGuide: '#array-coercion'
|
2465
|
+
Safe: false
|
2466
|
+
Enabled: 'pending'
|
2467
|
+
VersionAdded: '0.88'
|
2468
|
+
|
2469
|
+
Style/ArrayJoin:
|
2470
|
+
Description: 'Use Array#join instead of Array#*.'
|
2471
|
+
StyleGuide: '#array-join'
|
2472
|
+
Enabled: true
|
2473
|
+
VersionAdded: '0.20'
|
2474
|
+
VersionChanged: '0.31'
|
2475
|
+
|
2476
|
+
Style/AsciiComments:
|
2477
|
+
Description: 'Use only ascii symbols in comments.'
|
2478
|
+
StyleGuide: '#english-comments'
|
2479
|
+
Enabled: true
|
2480
|
+
VersionAdded: '0.9'
|
2481
|
+
VersionChanged: '0.52'
|
2482
|
+
AllowedChars: []
|
2483
|
+
|
2484
|
+
Style/Attr:
|
2485
|
+
Description: 'Checks for uses of Module#attr.'
|
2486
|
+
StyleGuide: '#attr'
|
2487
|
+
Enabled: true
|
2488
|
+
VersionAdded: '0.9'
|
2489
|
+
VersionChanged: '0.12'
|
2490
|
+
|
2491
|
+
Style/AutoResourceCleanup:
|
2492
|
+
Description: 'Suggests the usage of an auto resource cleanup version of a method (if available).'
|
2493
|
+
Enabled: false
|
2494
|
+
VersionAdded: '0.30'
|
2495
|
+
|
2496
|
+
Style/BarePercentLiterals:
|
2497
|
+
Description: 'Checks if usage of %() or %Q() matches configuration.'
|
2498
|
+
StyleGuide: '#percent-q-shorthand'
|
2499
|
+
Enabled: true
|
2500
|
+
VersionAdded: '0.25'
|
2501
|
+
EnforcedStyle: bare_percent
|
2502
|
+
SupportedStyles:
|
2503
|
+
- percent_q
|
2504
|
+
- bare_percent
|
2505
|
+
|
2506
|
+
Style/BeginBlock:
|
2507
|
+
Description: 'Avoid the use of BEGIN blocks.'
|
2508
|
+
StyleGuide: '#no-BEGIN-blocks'
|
2509
|
+
Enabled: true
|
2510
|
+
VersionAdded: '0.9'
|
2511
|
+
|
2512
|
+
Style/BisectedAttrAccessor:
|
2513
|
+
Description: >-
|
2514
|
+
Checks for places where `attr_reader` and `attr_writer`
|
2515
|
+
for the same method can be combined into single `attr_accessor`.
|
2516
|
+
Enabled: 'pending'
|
2517
|
+
VersionAdded: '0.87'
|
2518
|
+
|
2519
|
+
Style/BlockComments:
|
2520
|
+
Description: 'Do not use block comments.'
|
2521
|
+
StyleGuide: '#no-block-comments'
|
2522
|
+
Enabled: true
|
2523
|
+
VersionAdded: '0.9'
|
2524
|
+
VersionChanged: '0.23'
|
2525
|
+
|
2526
|
+
Style/BlockDelimiters:
|
2527
|
+
Description: >-
|
2528
|
+
Avoid using {...} for multi-line blocks (multiline chaining is
|
2529
|
+
always ugly).
|
2530
|
+
Prefer {...} over do...end for single-line blocks.
|
2531
|
+
StyleGuide: '#single-line-blocks'
|
2532
|
+
Enabled: true
|
2533
|
+
VersionAdded: '0.30'
|
2534
|
+
VersionChanged: '0.35'
|
2535
|
+
EnforcedStyle: line_count_based
|
2536
|
+
SupportedStyles:
|
2537
|
+
# The `line_count_based` style enforces braces around single line blocks and
|
2538
|
+
# do..end around multi-line blocks.
|
2539
|
+
- line_count_based
|
2540
|
+
# The `semantic` style enforces braces around functional blocks, where the
|
2541
|
+
# primary purpose of the block is to return a value and do..end for
|
2542
|
+
# multi-line procedural blocks, where the primary purpose of the block is
|
2543
|
+
# its side-effects. Single-line procedural blocks may only use do-end,
|
2544
|
+
# unless AllowBracesOnProceduralOneLiners has a truthy value (see below).
|
2545
|
+
#
|
2546
|
+
# This looks at the usage of a block's method to determine its type (e.g. is
|
2547
|
+
# the result of a `map` assigned to a variable or passed to another
|
2548
|
+
# method) but exceptions are permitted in the `ProceduralMethods`,
|
2549
|
+
# `FunctionalMethods` and `IgnoredMethods` sections below.
|
2550
|
+
- semantic
|
2551
|
+
# The `braces_for_chaining` style enforces braces around single line blocks
|
2552
|
+
# and do..end around multi-line blocks, except for multi-line blocks whose
|
2553
|
+
# return value is being chained with another method (in which case braces
|
2554
|
+
# are enforced).
|
2555
|
+
- braces_for_chaining
|
2556
|
+
# The `always_braces` style always enforces braces.
|
2557
|
+
- always_braces
|
2558
|
+
ProceduralMethods:
|
2559
|
+
# Methods that are known to be procedural in nature but look functional from
|
2560
|
+
# their usage, e.g.
|
2561
|
+
#
|
2562
|
+
# time = Benchmark.realtime do
|
2563
|
+
# foo.bar
|
2564
|
+
# end
|
2565
|
+
#
|
2566
|
+
# Here, the return value of the block is discarded but the return value of
|
2567
|
+
# `Benchmark.realtime` is used.
|
2568
|
+
- benchmark
|
2569
|
+
- bm
|
2570
|
+
- bmbm
|
2571
|
+
- create
|
2572
|
+
- each_with_object
|
2573
|
+
- measure
|
2574
|
+
- new
|
2575
|
+
- realtime
|
2576
|
+
- tap
|
2577
|
+
- with_object
|
2578
|
+
FunctionalMethods:
|
2579
|
+
# Methods that are known to be functional in nature but look procedural from
|
2580
|
+
# their usage, e.g.
|
2581
|
+
#
|
2582
|
+
# let(:foo) { Foo.new }
|
2583
|
+
#
|
2584
|
+
# Here, the return value of `Foo.new` is used to define a `foo` helper but
|
2585
|
+
# doesn't appear to be used from the return value of `let`.
|
2586
|
+
- let
|
2587
|
+
- let!
|
2588
|
+
- subject
|
2589
|
+
- watch
|
2590
|
+
IgnoredMethods:
|
2591
|
+
# Methods that can be either procedural or functional and cannot be
|
2592
|
+
# categorised from their usage alone, e.g.
|
2593
|
+
#
|
2594
|
+
# foo = lambda do |x|
|
2595
|
+
# puts "Hello, #{x}"
|
2596
|
+
# end
|
2597
|
+
#
|
2598
|
+
# foo = lambda do |x|
|
2599
|
+
# x * 100
|
2600
|
+
# end
|
2601
|
+
#
|
2602
|
+
# Here, it is impossible to tell from the return value of `lambda` whether
|
2603
|
+
# the inner block's return value is significant.
|
2604
|
+
- lambda
|
2605
|
+
- proc
|
2606
|
+
- it
|
2607
|
+
# The AllowBracesOnProceduralOneLiners option is ignored unless the
|
2608
|
+
# EnforcedStyle is set to `semantic`. If so:
|
2609
|
+
#
|
2610
|
+
# If AllowBracesOnProceduralOneLiners is unspecified, or set to any
|
2611
|
+
# falsey value, then semantic purity is maintained, so one-line
|
2612
|
+
# procedural blocks must use do-end, not braces.
|
2613
|
+
#
|
2614
|
+
# # bad
|
2615
|
+
# collection.each { |element| puts element }
|
2616
|
+
#
|
2617
|
+
# # good
|
2618
|
+
# collection.each do |element| puts element end
|
2619
|
+
#
|
2620
|
+
# If AllowBracesOnProceduralOneLiners is set to any truthy value,
|
2621
|
+
# then one-line procedural blocks may use either style.
|
2622
|
+
#
|
2623
|
+
# # good
|
2624
|
+
# collection.each { |element| puts element }
|
2625
|
+
#
|
2626
|
+
# # also good
|
2627
|
+
# collection.each do |element| puts element end
|
2628
|
+
AllowBracesOnProceduralOneLiners: false
|
2629
|
+
# The BracesRequiredMethods overrides all other configurations except
|
2630
|
+
# IgnoredMethods. It can be used to enforce that all blocks for specific
|
2631
|
+
# methods use braces. For example, you can use this to enforce Sorbet
|
2632
|
+
# signatures use braces even when the rest of your codebase enforces
|
2633
|
+
# the `line_count_based` style.
|
2634
|
+
BracesRequiredMethods: []
|
2635
|
+
|
2636
|
+
Style/CaseEquality:
|
2637
|
+
Description: 'Avoid explicit use of the case equality operator(===).'
|
2638
|
+
StyleGuide: '#no-case-equality'
|
2639
|
+
Enabled: true
|
2640
|
+
VersionAdded: '0.9'
|
2641
|
+
VersionChanged: '0.89'
|
2642
|
+
# If AllowOnConstant is enabled, the cop will ignore violations when the receiver of
|
2643
|
+
# the case equality operator is a constant.
|
2644
|
+
#
|
2645
|
+
# # bad
|
2646
|
+
# /string/ === "string"
|
2647
|
+
#
|
2648
|
+
# # good
|
2649
|
+
# String === "string"
|
2650
|
+
AllowOnConstant: false
|
2651
|
+
|
2652
|
+
Style/CaseLikeIf:
|
2653
|
+
Description: 'This cop identifies places where `if-elsif` constructions can be replaced with `case-when`.'
|
2654
|
+
StyleGuide: '#case-vs-if-else'
|
2655
|
+
Enabled: 'pending'
|
2656
|
+
Safe: false
|
2657
|
+
VersionAdded: '0.88'
|
2658
|
+
|
2659
|
+
Style/CharacterLiteral:
|
2660
|
+
Description: 'Checks for uses of character literals.'
|
2661
|
+
StyleGuide: '#no-character-literals'
|
2662
|
+
Enabled: true
|
2663
|
+
VersionAdded: '0.9'
|
2664
|
+
|
2665
|
+
Style/ClassAndModuleChildren:
|
2666
|
+
Description: 'Checks style of children classes and modules.'
|
2667
|
+
StyleGuide: '#namespace-definition'
|
2668
|
+
# Moving from compact to nested children requires knowledge of whether the
|
2669
|
+
# outer parent is a module or a class. Moving from nested to compact requires
|
2670
|
+
# verification that the outer parent is defined elsewhere. Rubocop does not
|
2671
|
+
# have the knowledge to perform either operation safely and thus requires
|
2672
|
+
# manual oversight.
|
2673
|
+
SafeAutoCorrect: false
|
2674
|
+
Enabled: true
|
2675
|
+
VersionAdded: '0.19'
|
2676
|
+
#
|
2677
|
+
# Basically there are two different styles:
|
2678
|
+
#
|
2679
|
+
# `nested` - have each child on a separate line
|
2680
|
+
# class Foo
|
2681
|
+
# class Bar
|
2682
|
+
# end
|
2683
|
+
# end
|
2684
|
+
#
|
2685
|
+
# `compact` - combine definitions as much as possible
|
2686
|
+
# class Foo::Bar
|
2687
|
+
# end
|
2688
|
+
#
|
2689
|
+
# The compact style is only forced, for classes or modules with one child.
|
2690
|
+
EnforcedStyle: nested
|
2691
|
+
SupportedStyles:
|
2692
|
+
- nested
|
2693
|
+
- compact
|
2694
|
+
|
2695
|
+
Style/ClassCheck:
|
2696
|
+
Description: 'Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.'
|
2697
|
+
StyleGuide: '#is-a-vs-kind-of'
|
2698
|
+
Enabled: true
|
2699
|
+
VersionAdded: '0.24'
|
2700
|
+
EnforcedStyle: is_a?
|
2701
|
+
SupportedStyles:
|
2702
|
+
- is_a?
|
2703
|
+
- kind_of?
|
2704
|
+
|
2705
|
+
Style/ClassMethods:
|
2706
|
+
Description: 'Use self when defining module/class methods.'
|
2707
|
+
StyleGuide: '#def-self-class-methods'
|
2708
|
+
Enabled: true
|
2709
|
+
VersionAdded: '0.9'
|
2710
|
+
VersionChanged: '0.20'
|
2711
|
+
|
2712
|
+
Style/ClassMethodsDefinitions:
|
2713
|
+
Description: 'Enforces using `def self.method_name` or `class << self` to define class methods.'
|
2714
|
+
StyleGuide: '#def-self-class-methods'
|
2715
|
+
Enabled: false
|
2716
|
+
VersionAdded: '0.89'
|
2717
|
+
EnforcedStyle: def_self
|
2718
|
+
SupportedStyles:
|
2719
|
+
- def_self
|
2720
|
+
- self_class
|
2721
|
+
|
2722
|
+
Style/ClassVars:
|
2723
|
+
Description: 'Avoid the use of class variables.'
|
2724
|
+
StyleGuide: '#no-class-vars'
|
2725
|
+
Enabled: true
|
2726
|
+
VersionAdded: '0.13'
|
2727
|
+
|
2728
|
+
# Align with the style guide.
|
2729
|
+
Style/CollectionMethods:
|
2730
|
+
Description: 'Preferred collection methods.'
|
2731
|
+
StyleGuide: '#map-find-select-reduce-include-size'
|
2732
|
+
Enabled: false
|
2733
|
+
VersionAdded: '0.9'
|
2734
|
+
VersionChanged: '0.27'
|
2735
|
+
Safe: false
|
2736
|
+
# Mapping from undesired method to desired method
|
2737
|
+
# e.g. to use `detect` over `find`:
|
2738
|
+
#
|
2739
|
+
# Style/CollectionMethods:
|
2740
|
+
# PreferredMethods:
|
2741
|
+
# find: detect
|
2742
|
+
PreferredMethods:
|
2743
|
+
collect: 'map'
|
2744
|
+
collect!: 'map!'
|
2745
|
+
inject: 'reduce'
|
2746
|
+
detect: 'find'
|
2747
|
+
find_all: 'select'
|
2748
|
+
member?: 'include?'
|
2749
|
+
|
2750
|
+
Style/ColonMethodCall:
|
2751
|
+
Description: 'Do not use :: for method call.'
|
2752
|
+
StyleGuide: '#double-colons'
|
2753
|
+
Enabled: true
|
2754
|
+
VersionAdded: '0.9'
|
2755
|
+
|
2756
|
+
Style/ColonMethodDefinition:
|
2757
|
+
Description: 'Do not use :: for defining class methods.'
|
2758
|
+
StyleGuide: '#colon-method-definition'
|
2759
|
+
Enabled: true
|
2760
|
+
VersionAdded: '0.52'
|
2761
|
+
|
2762
|
+
Style/CombinableLoops:
|
2763
|
+
Description: >-
|
2764
|
+
Checks for places where multiple consecutive loops over the same data
|
2765
|
+
can be combined into a single loop.
|
2766
|
+
Enabled: pending
|
2767
|
+
Safe: false
|
2768
|
+
VersionAdded: '0.90'
|
2769
|
+
|
2770
|
+
Style/CommandLiteral:
|
2771
|
+
Description: 'Use `` or %x around command literals.'
|
2772
|
+
StyleGuide: '#percent-x'
|
2773
|
+
Enabled: true
|
2774
|
+
VersionAdded: '0.30'
|
2775
|
+
EnforcedStyle: backticks
|
2776
|
+
# backticks: Always use backticks.
|
2777
|
+
# percent_x: Always use `%x`.
|
2778
|
+
# mixed: Use backticks on single-line commands, and `%x` on multi-line commands.
|
2779
|
+
SupportedStyles:
|
2780
|
+
- backticks
|
2781
|
+
- percent_x
|
2782
|
+
- mixed
|
2783
|
+
# If `false`, the cop will always recommend using `%x` if one or more backticks
|
2784
|
+
# are found in the command string.
|
2785
|
+
AllowInnerBackticks: false
|
2786
|
+
|
2787
|
+
# Checks formatting of special comments
|
2788
|
+
Style/CommentAnnotation:
|
2789
|
+
Description: >-
|
2790
|
+
Checks formatting of special comments
|
2791
|
+
(TODO, FIXME, OPTIMIZE, HACK, REVIEW).
|
2792
|
+
StyleGuide: '#annotate-keywords'
|
2793
|
+
Enabled: true
|
2794
|
+
VersionAdded: '0.10'
|
2795
|
+
VersionChanged: '0.31'
|
2796
|
+
Keywords:
|
2797
|
+
- TODO
|
2798
|
+
- FIXME
|
2799
|
+
- OPTIMIZE
|
2800
|
+
- HACK
|
2801
|
+
- REVIEW
|
2802
|
+
|
2803
|
+
Style/CommentedKeyword:
|
2804
|
+
Description: 'Do not place comments on the same line as certain keywords.'
|
2805
|
+
Enabled: true
|
2806
|
+
VersionAdded: '0.51'
|
2807
|
+
|
2808
|
+
Style/ConditionalAssignment:
|
2809
|
+
Description: >-
|
2810
|
+
Use the return value of `if` and `case` statements for
|
2811
|
+
assignment to a variable and variable comparison instead
|
2812
|
+
of assigning that variable inside of each branch.
|
2813
|
+
Enabled: true
|
2814
|
+
VersionAdded: '0.36'
|
2815
|
+
VersionChanged: '0.47'
|
2816
|
+
EnforcedStyle: assign_to_condition
|
2817
|
+
SupportedStyles:
|
2818
|
+
- assign_to_condition
|
2819
|
+
- assign_inside_condition
|
2820
|
+
# When configured to `assign_to_condition`, `SingleLineConditionsOnly`
|
2821
|
+
# will only register an offense when all branches of a condition are
|
2822
|
+
# a single line.
|
2823
|
+
# When configured to `assign_inside_condition`, `SingleLineConditionsOnly`
|
2824
|
+
# will only register an offense for assignment to a condition that has
|
2825
|
+
# at least one multiline branch.
|
2826
|
+
SingleLineConditionsOnly: true
|
2827
|
+
IncludeTernaryExpressions: true
|
2828
|
+
|
2829
|
+
Style/ConstantVisibility:
|
2830
|
+
Description: >-
|
2831
|
+
Check that class- and module constants have
|
2832
|
+
visibility declarations.
|
2833
|
+
Enabled: false
|
2834
|
+
VersionAdded: '0.66'
|
2835
|
+
|
2836
|
+
# Checks that you have put a copyright in a comment before any code.
|
2837
|
+
#
|
2838
|
+
# You can override the default Notice in your .rubocop.yml file.
|
2839
|
+
#
|
2840
|
+
# In order to use autocorrect, you must supply a value for the
|
2841
|
+
# `AutocorrectNotice` key that matches the regexp Notice. A blank
|
2842
|
+
# `AutocorrectNotice` will cause an error during autocorrect.
|
2843
|
+
#
|
2844
|
+
# Autocorrect will add a copyright notice in a comment at the top
|
2845
|
+
# of the file immediately after any shebang or encoding comments.
|
2846
|
+
#
|
2847
|
+
# Example rubocop.yml:
|
2848
|
+
#
|
2849
|
+
# Style/Copyright:
|
2850
|
+
# Enabled: true
|
2851
|
+
# Notice: 'Copyright (\(c\) )?2015 Yahoo! Inc'
|
2852
|
+
# AutocorrectNotice: '# Copyright (c) 2015 Yahoo! Inc.'
|
2853
|
+
#
|
2854
|
+
Style/Copyright:
|
2855
|
+
Description: 'Include a copyright notice in each file before any code.'
|
2856
|
+
Enabled: false
|
2857
|
+
VersionAdded: '0.30'
|
2858
|
+
Notice: '^Copyright (\(c\) )?2[0-9]{3} .+'
|
2859
|
+
AutocorrectNotice: ''
|
2860
|
+
|
2861
|
+
Style/DateTime:
|
2862
|
+
Description: 'Use Time over DateTime.'
|
2863
|
+
StyleGuide: '#date--time'
|
2864
|
+
Enabled: false
|
2865
|
+
VersionAdded: '0.51'
|
2866
|
+
VersionChanged: '0.59'
|
2867
|
+
AllowCoercion: false
|
2868
|
+
|
2869
|
+
Style/DefWithParentheses:
|
2870
|
+
Description: 'Use def with parentheses when there are arguments.'
|
2871
|
+
StyleGuide: '#method-parens'
|
2872
|
+
Enabled: true
|
2873
|
+
VersionAdded: '0.9'
|
2874
|
+
VersionChanged: '0.12'
|
2875
|
+
|
2876
|
+
Style/Dir:
|
2877
|
+
Description: >-
|
2878
|
+
Use the `__dir__` method to retrieve the canonicalized
|
2879
|
+
absolute path to the current file.
|
2880
|
+
Enabled: true
|
2881
|
+
VersionAdded: '0.50'
|
2882
|
+
|
2883
|
+
Style/DisableCopsWithinSourceCodeDirective:
|
2884
|
+
Description: >-
|
2885
|
+
Forbids disabling/enabling cops within source code.
|
2886
|
+
Enabled: false
|
2887
|
+
VersionAdded: '0.82'
|
2888
|
+
|
2889
|
+
Style/Documentation:
|
2890
|
+
Description: 'Document classes and non-namespace modules.'
|
2891
|
+
Enabled: true
|
2892
|
+
VersionAdded: '0.9'
|
2893
|
+
Exclude:
|
2894
|
+
- 'spec/**/*'
|
2895
|
+
- 'test/**/*'
|
2896
|
+
|
2897
|
+
Style/DocumentationMethod:
|
2898
|
+
Description: 'Checks for missing documentation comment for public methods.'
|
2899
|
+
Enabled: false
|
2900
|
+
VersionAdded: '0.43'
|
2901
|
+
Exclude:
|
2902
|
+
- 'spec/**/*'
|
2903
|
+
- 'test/**/*'
|
2904
|
+
RequireForNonPublicMethods: false
|
2905
|
+
|
2906
|
+
Style/DoubleCopDisableDirective:
|
2907
|
+
Description: 'Checks for double rubocop:disable comments on a single line.'
|
2908
|
+
Enabled: true
|
2909
|
+
VersionAdded: '0.73'
|
2910
|
+
|
2911
|
+
Style/DoubleNegation:
|
2912
|
+
Description: 'Checks for uses of double negation (!!).'
|
2913
|
+
StyleGuide: '#no-bang-bang'
|
2914
|
+
Enabled: true
|
2915
|
+
VersionAdded: '0.19'
|
2916
|
+
VersionChanged: '0.84'
|
2917
|
+
EnforcedStyle: allowed_in_returns
|
2918
|
+
SafeAutoCorrect: false
|
2919
|
+
SupportedStyles:
|
2920
|
+
- allowed_in_returns
|
2921
|
+
- forbidden
|
2922
|
+
|
2923
|
+
Style/EachForSimpleLoop:
|
2924
|
+
Description: >-
|
2925
|
+
Use `Integer#times` for a simple loop which iterates a fixed
|
2926
|
+
number of times.
|
2927
|
+
Enabled: true
|
2928
|
+
VersionAdded: '0.41'
|
2929
|
+
|
2930
|
+
Style/EachWithObject:
|
2931
|
+
Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
|
2932
|
+
Enabled: true
|
2933
|
+
VersionAdded: '0.22'
|
2934
|
+
VersionChanged: '0.42'
|
2935
|
+
|
2936
|
+
Style/EmptyBlockParameter:
|
2937
|
+
Description: 'Omit pipes for empty block parameters.'
|
2938
|
+
Enabled: true
|
2939
|
+
VersionAdded: '0.52'
|
2940
|
+
|
2941
|
+
Style/EmptyCaseCondition:
|
2942
|
+
Description: 'Avoid empty condition in case statements.'
|
2943
|
+
Enabled: true
|
2944
|
+
VersionAdded: '0.40'
|
2945
|
+
|
2946
|
+
Style/EmptyElse:
|
2947
|
+
Description: 'Avoid empty else-clauses.'
|
2948
|
+
Enabled: true
|
2949
|
+
VersionAdded: '0.28'
|
2950
|
+
VersionChanged: '0.32'
|
2951
|
+
EnforcedStyle: both
|
2952
|
+
# empty - warn only on empty `else`
|
2953
|
+
# nil - warn on `else` with nil in it
|
2954
|
+
# both - warn on empty `else` and `else` with `nil` in it
|
2955
|
+
SupportedStyles:
|
2956
|
+
- empty
|
2957
|
+
- nil
|
2958
|
+
- both
|
2959
|
+
|
2960
|
+
Style/EmptyLambdaParameter:
|
2961
|
+
Description: 'Omit parens for empty lambda parameters.'
|
2962
|
+
Enabled: true
|
2963
|
+
VersionAdded: '0.52'
|
2964
|
+
|
2965
|
+
Style/EmptyLiteral:
|
2966
|
+
Description: 'Prefer literals to Array.new/Hash.new/String.new.'
|
2967
|
+
StyleGuide: '#literal-array-hash'
|
2968
|
+
Enabled: true
|
2969
|
+
VersionAdded: '0.9'
|
2970
|
+
VersionChanged: '0.12'
|
2971
|
+
|
2972
|
+
Style/EmptyMethod:
|
2973
|
+
Description: 'Checks the formatting of empty method definitions.'
|
2974
|
+
StyleGuide: '#no-single-line-methods'
|
2975
|
+
Enabled: true
|
2976
|
+
VersionAdded: '0.46'
|
2977
|
+
EnforcedStyle: compact
|
2978
|
+
SupportedStyles:
|
2979
|
+
- compact
|
2980
|
+
- expanded
|
2981
|
+
|
2982
|
+
Style/Encoding:
|
2983
|
+
Description: 'Use UTF-8 as the source file encoding.'
|
2984
|
+
StyleGuide: '#utf-8'
|
2985
|
+
Enabled: true
|
2986
|
+
VersionAdded: '0.9'
|
2987
|
+
VersionChanged: '0.50'
|
2988
|
+
|
2989
|
+
Style/EndBlock:
|
2990
|
+
Description: 'Avoid the use of END blocks.'
|
2991
|
+
StyleGuide: '#no-END-blocks'
|
2992
|
+
Enabled: true
|
2993
|
+
VersionAdded: '0.9'
|
2994
|
+
VersionChanged: '0.81'
|
2995
|
+
|
2996
|
+
Style/EvalWithLocation:
|
2997
|
+
Description: 'Pass `__FILE__` and `__LINE__` to `eval` method, as they are used by backtraces.'
|
2998
|
+
Enabled: true
|
2999
|
+
VersionAdded: '0.52'
|
3000
|
+
|
3001
|
+
Style/EvenOdd:
|
3002
|
+
Description: 'Favor the use of `Integer#even?` && `Integer#odd?`.'
|
3003
|
+
StyleGuide: '#predicate-methods'
|
3004
|
+
Enabled: true
|
3005
|
+
VersionAdded: '0.12'
|
3006
|
+
VersionChanged: '0.29'
|
3007
|
+
|
3008
|
+
Style/ExpandPathArguments:
|
3009
|
+
Description: "Use `expand_path(__dir__)` instead of `expand_path('..', __FILE__)`."
|
3010
|
+
Enabled: true
|
3011
|
+
VersionAdded: '0.53'
|
3012
|
+
|
3013
|
+
Style/ExplicitBlockArgument:
|
3014
|
+
Description: >-
|
3015
|
+
Consider using explicit block argument to avoid writing block literal
|
3016
|
+
that just passes its arguments to another block.
|
3017
|
+
StyleGuide: '#block-argument'
|
3018
|
+
Enabled: pending
|
3019
|
+
# May change the yielding arity.
|
3020
|
+
Safe: false
|
3021
|
+
VersionAdded: '0.89'
|
3022
|
+
|
3023
|
+
Style/ExponentialNotation:
|
3024
|
+
Description: 'When using exponential notation, favor a mantissa between 1 (inclusive) and 10 (exclusive).'
|
3025
|
+
StyleGuide: '#exponential-notation'
|
3026
|
+
Enabled: pending
|
3027
|
+
VersionAdded: '0.82'
|
3028
|
+
EnforcedStyle: scientific
|
3029
|
+
SupportedStyles:
|
3030
|
+
- scientific
|
3031
|
+
- engineering
|
3032
|
+
- integral
|
3033
|
+
|
3034
|
+
Style/FloatDivision:
|
3035
|
+
Description: 'For performing float division, coerce one side only.'
|
3036
|
+
StyleGuide: '#float-division'
|
3037
|
+
Reference: 'https://github.com/rubocop-hq/ruby-style-guide/issues/628'
|
3038
|
+
Enabled: true
|
3039
|
+
VersionAdded: '0.72'
|
3040
|
+
EnforcedStyle: single_coerce
|
3041
|
+
SupportedStyles:
|
3042
|
+
- left_coerce
|
3043
|
+
- right_coerce
|
3044
|
+
- single_coerce
|
3045
|
+
- fdiv
|
3046
|
+
|
3047
|
+
Style/For:
|
3048
|
+
Description: 'Checks use of for or each in multiline loops.'
|
3049
|
+
StyleGuide: '#no-for-loops'
|
3050
|
+
Enabled: true
|
3051
|
+
VersionAdded: '0.13'
|
3052
|
+
VersionChanged: '0.59'
|
3053
|
+
EnforcedStyle: each
|
3054
|
+
SupportedStyles:
|
3055
|
+
- each
|
3056
|
+
- for
|
3057
|
+
|
3058
|
+
Style/FormatString:
|
3059
|
+
Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
|
3060
|
+
StyleGuide: '#sprintf'
|
3061
|
+
Enabled: true
|
3062
|
+
VersionAdded: '0.19'
|
3063
|
+
VersionChanged: '0.49'
|
3064
|
+
EnforcedStyle: format
|
3065
|
+
SupportedStyles:
|
3066
|
+
- format
|
3067
|
+
- sprintf
|
3068
|
+
- percent
|
3069
|
+
|
3070
|
+
Style/FormatStringToken:
|
3071
|
+
Description: 'Use a consistent style for format string tokens.'
|
3072
|
+
Enabled: true
|
3073
|
+
EnforcedStyle: annotated
|
3074
|
+
SupportedStyles:
|
3075
|
+
# Prefer tokens which contain a sprintf like type annotation like
|
3076
|
+
# `%<name>s`, `%<age>d`, `%<score>f`
|
3077
|
+
- annotated
|
3078
|
+
# Prefer simple looking "template" style tokens like `%{name}`, `%{age}`
|
3079
|
+
- template
|
3080
|
+
- unannotated
|
3081
|
+
VersionAdded: '0.49'
|
3082
|
+
VersionChanged: '0.75'
|
3083
|
+
|
3084
|
+
Style/FrozenStringLiteralComment:
|
3085
|
+
Description: >-
|
3086
|
+
Add the frozen_string_literal comment to the top of files
|
3087
|
+
to help transition to frozen string literals by default.
|
3088
|
+
Enabled: true
|
3089
|
+
VersionAdded: '0.36'
|
3090
|
+
VersionChanged: '0.79'
|
3091
|
+
EnforcedStyle: always
|
3092
|
+
SupportedStyles:
|
3093
|
+
# `always` will always add the frozen string literal comment to a file
|
3094
|
+
# regardless of the Ruby version or if `freeze` or `<<` are called on a
|
3095
|
+
# string literal. It is possible that this will create errors.
|
3096
|
+
- always
|
3097
|
+
# `always_true` will add the frozen string literal comment to a file,
|
3098
|
+
# similarly to the `always` style, but will also change any disabled
|
3099
|
+
# comments (e.g. `# frozen_string_literal: false`) to be enabled.
|
3100
|
+
- always_true
|
3101
|
+
# `never` will enforce that the frozen string literal comment does not
|
3102
|
+
# exist in a file.
|
3103
|
+
- never
|
3104
|
+
SafeAutoCorrect: false
|
3105
|
+
|
3106
|
+
Style/GlobalStdStream:
|
3107
|
+
Description: 'Enforces the use of `$stdout/$stderr/$stdin` instead of `STDOUT/STDERR/STDIN`.'
|
3108
|
+
StyleGuide: '#global-stdout'
|
3109
|
+
Enabled: pending
|
3110
|
+
VersionAdded: '0.89'
|
3111
|
+
SafeAutoCorrect: false
|
3112
|
+
|
3113
|
+
Style/GlobalVars:
|
3114
|
+
Description: 'Do not introduce global variables.'
|
3115
|
+
StyleGuide: '#instance-vars'
|
3116
|
+
Reference: 'https://www.zenspider.com/ruby/quickref.html'
|
3117
|
+
Enabled: true
|
3118
|
+
VersionAdded: '0.13'
|
3119
|
+
# Built-in global variables are allowed by default.
|
3120
|
+
AllowedVariables: []
|
3121
|
+
|
3122
|
+
Style/GuardClause:
|
3123
|
+
Description: 'Check for conditionals that can be replaced with guard clauses.'
|
3124
|
+
StyleGuide: '#no-nested-conditionals'
|
3125
|
+
Enabled: true
|
3126
|
+
VersionAdded: '0.20'
|
3127
|
+
VersionChanged: '0.22'
|
3128
|
+
# `MinBodyLength` defines the number of lines of the a body of an `if` or `unless`
|
3129
|
+
# needs to have to trigger this cop
|
3130
|
+
MinBodyLength: 1
|
3131
|
+
|
3132
|
+
Style/HashAsLastArrayItem:
|
3133
|
+
Description: >-
|
3134
|
+
Checks for presence or absence of braces around hash literal as a last
|
3135
|
+
array item depending on configuration.
|
3136
|
+
StyleGuide: '#hash-literal-as-last-array-item'
|
3137
|
+
Enabled: 'pending'
|
3138
|
+
VersionAdded: '0.88'
|
3139
|
+
EnforcedStyle: braces
|
3140
|
+
SupportedStyles:
|
3141
|
+
- braces
|
3142
|
+
- no_braces
|
3143
|
+
|
3144
|
+
Style/HashEachMethods:
|
3145
|
+
Description: 'Use Hash#each_key and Hash#each_value.'
|
3146
|
+
StyleGuide: '#hash-each'
|
3147
|
+
Enabled: pending
|
3148
|
+
VersionAdded: '0.80'
|
3149
|
+
Safe: false
|
3150
|
+
|
3151
|
+
Style/HashLikeCase:
|
3152
|
+
Description: >-
|
3153
|
+
Checks for places where `case-when` represents a simple 1:1
|
3154
|
+
mapping and can be replaced with a hash lookup.
|
3155
|
+
Enabled: 'pending'
|
3156
|
+
VersionAdded: '0.88'
|
3157
|
+
# `MinBranchesCount` defines the number of branches `case` needs to have
|
3158
|
+
# to trigger this cop
|
3159
|
+
MinBranchesCount: 3
|
3160
|
+
|
3161
|
+
Style/HashSyntax:
|
3162
|
+
Description: >-
|
3163
|
+
Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
|
3164
|
+
{ :a => 1, :b => 2 }.
|
3165
|
+
StyleGuide: '#hash-literals'
|
3166
|
+
Enabled: true
|
3167
|
+
VersionAdded: '0.9'
|
3168
|
+
VersionChanged: '0.43'
|
3169
|
+
EnforcedStyle: ruby19
|
3170
|
+
SupportedStyles:
|
3171
|
+
# checks for 1.9 syntax (e.g. {a: 1}) for all symbol keys
|
3172
|
+
- ruby19
|
3173
|
+
# checks for hash rocket syntax for all hashes
|
3174
|
+
- hash_rockets
|
3175
|
+
# forbids mixed key syntaxes (e.g. {a: 1, :b => 2})
|
3176
|
+
- no_mixed_keys
|
3177
|
+
# enforces both ruby19 and no_mixed_keys styles
|
3178
|
+
- ruby19_no_mixed_keys
|
3179
|
+
# Force hashes that have a symbol value to use hash rockets
|
3180
|
+
UseHashRocketsWithSymbolValues: false
|
3181
|
+
# Do not suggest { a?: 1 } over { :a? => 1 } in ruby19 style
|
3182
|
+
PreferHashRocketsForNonAlnumEndingSymbols: false
|
3183
|
+
|
3184
|
+
Style/HashTransformKeys:
|
3185
|
+
Description: 'Prefer `transform_keys` over `each_with_object`, `map`, or `to_h`.'
|
3186
|
+
Enabled: 'pending'
|
3187
|
+
VersionAdded: '0.80'
|
3188
|
+
VersionChanged: '0.90'
|
3189
|
+
Safe: false
|
3190
|
+
|
3191
|
+
Style/HashTransformValues:
|
3192
|
+
Description: 'Prefer `transform_values` over `each_with_object`, `map`, or `to_h`.'
|
3193
|
+
Enabled: 'pending'
|
3194
|
+
VersionAdded: '0.80'
|
3195
|
+
VersionChanged: '0.90'
|
3196
|
+
Safe: false
|
3197
|
+
|
3198
|
+
Style/IdenticalConditionalBranches:
|
3199
|
+
Description: >-
|
3200
|
+
Checks that conditional statements do not have an identical
|
3201
|
+
line at the end of each branch, which can validly be moved
|
3202
|
+
out of the conditional.
|
3203
|
+
Enabled: true
|
3204
|
+
VersionAdded: '0.36'
|
3205
|
+
|
3206
|
+
Style/IfInsideElse:
|
3207
|
+
Description: 'Finds if nodes inside else, which can be converted to elsif.'
|
3208
|
+
Enabled: true
|
3209
|
+
AllowIfModifier: false
|
3210
|
+
VersionAdded: '0.36'
|
3211
|
+
|
3212
|
+
Style/IfUnlessModifier:
|
3213
|
+
Description: >-
|
3214
|
+
Favor modifier if/unless usage when you have a
|
3215
|
+
single-line body.
|
3216
|
+
StyleGuide: '#if-as-a-modifier'
|
3217
|
+
Enabled: true
|
3218
|
+
VersionAdded: '0.9'
|
3219
|
+
VersionChanged: '0.30'
|
3220
|
+
|
3221
|
+
Style/IfUnlessModifierOfIfUnless:
|
3222
|
+
Description: >-
|
3223
|
+
Avoid modifier if/unless usage on conditionals.
|
3224
|
+
Enabled: true
|
3225
|
+
VersionAdded: '0.39'
|
3226
|
+
VersionChanged: '0.87'
|
3227
|
+
|
3228
|
+
Style/IfWithSemicolon:
|
3229
|
+
Description: 'Do not use if x; .... Use the ternary operator instead.'
|
3230
|
+
StyleGuide: '#no-semicolon-ifs'
|
3231
|
+
Enabled: true
|
3232
|
+
VersionAdded: '0.9'
|
3233
|
+
VersionChanged: '0.83'
|
3234
|
+
|
3235
|
+
Style/ImplicitRuntimeError:
|
3236
|
+
Description: >-
|
3237
|
+
Use `raise` or `fail` with an explicit exception class and
|
3238
|
+
message, rather than just a message.
|
3239
|
+
Enabled: false
|
3240
|
+
VersionAdded: '0.41'
|
3241
|
+
|
3242
|
+
Style/InfiniteLoop:
|
3243
|
+
Description: 'Use Kernel#loop for infinite loops.'
|
3244
|
+
StyleGuide: '#infinite-loop'
|
3245
|
+
Enabled: true
|
3246
|
+
VersionAdded: '0.26'
|
3247
|
+
VersionChanged: '0.61'
|
3248
|
+
SafeAutoCorrect: true
|
3249
|
+
|
3250
|
+
Style/InlineComment:
|
3251
|
+
Description: 'Avoid trailing inline comments.'
|
3252
|
+
Enabled: false
|
3253
|
+
VersionAdded: '0.23'
|
3254
|
+
|
3255
|
+
Style/InverseMethods:
|
3256
|
+
Description: >-
|
3257
|
+
Use the inverse method instead of `!.method`
|
3258
|
+
if an inverse method is defined.
|
3259
|
+
Enabled: true
|
3260
|
+
Safe: false
|
3261
|
+
VersionAdded: '0.48'
|
3262
|
+
# `InverseMethods` are methods that can be inverted by a not (`not` or `!`)
|
3263
|
+
# The relationship of inverse methods only needs to be defined in one direction.
|
3264
|
+
# Keys and values both need to be defined as symbols.
|
3265
|
+
InverseMethods:
|
3266
|
+
:any?: :none?
|
3267
|
+
:even?: :odd?
|
3268
|
+
:==: :!=
|
3269
|
+
:=~: :!~
|
3270
|
+
:<: :>=
|
3271
|
+
:>: :<=
|
3272
|
+
# `ActiveSupport` defines some common inverse methods. They are listed below,
|
3273
|
+
# and not enabled by default.
|
3274
|
+
#:present?: :blank?,
|
3275
|
+
#:include?: :exclude?
|
3276
|
+
# `InverseBlocks` are methods that are inverted by inverting the return
|
3277
|
+
# of the block that is passed to the method
|
3278
|
+
InverseBlocks:
|
3279
|
+
:select: :reject
|
3280
|
+
:select!: :reject!
|
3281
|
+
|
3282
|
+
Style/IpAddresses:
|
3283
|
+
Description: "Don't include literal IP addresses in code."
|
3284
|
+
Enabled: false
|
3285
|
+
VersionAdded: '0.58'
|
3286
|
+
VersionChanged: '0.91'
|
3287
|
+
# Allow addresses to be permitted
|
3288
|
+
AllowedAddresses:
|
3289
|
+
- "::"
|
3290
|
+
# :: is a valid IPv6 address, but could potentially be legitimately in code
|
3291
|
+
Exclude:
|
3292
|
+
- '**/*.gemfile'
|
3293
|
+
- '**/Gemfile'
|
3294
|
+
- '**/gems.rb'
|
3295
|
+
- '**/*.gemspec'
|
3296
|
+
|
3297
|
+
Style/KeywordParametersOrder:
|
3298
|
+
Description: 'Enforces that optional keyword parameters are placed at the end of the parameters list.'
|
3299
|
+
StyleGuide: '#keyword-parameters-order'
|
3300
|
+
Enabled: pending
|
3301
|
+
VersionAdded: '0.90'
|
3302
|
+
|
3303
|
+
Style/Lambda:
|
3304
|
+
Description: 'Use the new lambda literal syntax for single-line blocks.'
|
3305
|
+
StyleGuide: '#lambda-multi-line'
|
3306
|
+
Enabled: true
|
3307
|
+
VersionAdded: '0.9'
|
3308
|
+
VersionChanged: '0.40'
|
3309
|
+
EnforcedStyle: line_count_dependent
|
3310
|
+
SupportedStyles:
|
3311
|
+
- line_count_dependent
|
3312
|
+
- lambda
|
3313
|
+
- literal
|
3314
|
+
|
3315
|
+
Style/LambdaCall:
|
3316
|
+
Description: 'Use lambda.call(...) instead of lambda.(...).'
|
3317
|
+
StyleGuide: '#proc-call'
|
3318
|
+
Enabled: true
|
3319
|
+
VersionAdded: '0.13'
|
3320
|
+
VersionChanged: '0.14'
|
3321
|
+
EnforcedStyle: call
|
3322
|
+
SupportedStyles:
|
3323
|
+
- call
|
3324
|
+
- braces
|
3325
|
+
|
3326
|
+
Style/LineEndConcatenation:
|
3327
|
+
Description: >-
|
3328
|
+
Use \ instead of + or << to concatenate two string literals at
|
3329
|
+
line end.
|
3330
|
+
Enabled: true
|
3331
|
+
SafeAutoCorrect: false
|
3332
|
+
VersionAdded: '0.18'
|
3333
|
+
VersionChanged: '0.64'
|
3334
|
+
|
3335
|
+
Style/MethodCallWithArgsParentheses:
|
3336
|
+
Description: 'Use parentheses for method calls with arguments.'
|
3337
|
+
StyleGuide: '#method-invocation-parens'
|
3338
|
+
Enabled: false
|
3339
|
+
VersionAdded: '0.47'
|
3340
|
+
VersionChanged: '0.61'
|
3341
|
+
IgnoreMacros: true
|
3342
|
+
IgnoredMethods: []
|
3343
|
+
IgnoredPatterns: []
|
3344
|
+
IncludedMacros: []
|
3345
|
+
AllowParenthesesInMultilineCall: false
|
3346
|
+
AllowParenthesesInChaining: false
|
3347
|
+
AllowParenthesesInCamelCaseMethod: false
|
3348
|
+
EnforcedStyle: require_parentheses
|
3349
|
+
SupportedStyles:
|
3350
|
+
- require_parentheses
|
3351
|
+
- omit_parentheses
|
3352
|
+
|
3353
|
+
Style/MethodCallWithoutArgsParentheses:
|
3354
|
+
Description: 'Do not use parentheses for method calls with no arguments.'
|
3355
|
+
StyleGuide: '#method-invocation-parens'
|
3356
|
+
Enabled: true
|
3357
|
+
IgnoredMethods: []
|
3358
|
+
VersionAdded: '0.47'
|
3359
|
+
VersionChanged: '0.55'
|
3360
|
+
|
3361
|
+
Style/MethodCalledOnDoEndBlock:
|
3362
|
+
Description: 'Avoid chaining a method call on a do...end block.'
|
3363
|
+
StyleGuide: '#single-line-blocks'
|
3364
|
+
Enabled: false
|
3365
|
+
VersionAdded: '0.14'
|
3366
|
+
|
3367
|
+
Style/MethodDefParentheses:
|
3368
|
+
Description: >-
|
3369
|
+
Checks if the method definitions have or don't have
|
3370
|
+
parentheses.
|
3371
|
+
StyleGuide: '#method-parens'
|
3372
|
+
Enabled: true
|
3373
|
+
VersionAdded: '0.16'
|
3374
|
+
VersionChanged: '0.35'
|
3375
|
+
EnforcedStyle: require_parentheses
|
3376
|
+
SupportedStyles:
|
3377
|
+
- require_parentheses
|
3378
|
+
- require_no_parentheses
|
3379
|
+
- require_no_parentheses_except_multiline
|
3380
|
+
|
3381
|
+
Style/MinMax:
|
3382
|
+
Description: >-
|
3383
|
+
Use `Enumerable#minmax` instead of `Enumerable#min`
|
3384
|
+
and `Enumerable#max` in conjunction.
|
3385
|
+
Enabled: true
|
3386
|
+
VersionAdded: '0.50'
|
3387
|
+
|
3388
|
+
Style/MissingElse:
|
3389
|
+
Description: >-
|
3390
|
+
Require if/case expressions to have an else branches.
|
3391
|
+
If enabled, it is recommended that
|
3392
|
+
Style/UnlessElse and Style/EmptyElse be enabled.
|
3393
|
+
This will conflict with Style/EmptyElse if
|
3394
|
+
Style/EmptyElse is configured to style "both".
|
3395
|
+
Enabled: false
|
3396
|
+
VersionAdded: '0.30'
|
3397
|
+
VersionChanged: '0.38'
|
3398
|
+
EnforcedStyle: both
|
3399
|
+
SupportedStyles:
|
3400
|
+
# if - warn when an if expression is missing an else branch
|
3401
|
+
# case - warn when a case expression is missing an else branch
|
3402
|
+
# both - warn when an if or case expression is missing an else branch
|
3403
|
+
- if
|
3404
|
+
- case
|
3405
|
+
- both
|
3406
|
+
|
3407
|
+
Style/MissingRespondToMissing:
|
3408
|
+
Description: >-
|
3409
|
+
Checks if `method_missing` is implemented
|
3410
|
+
without implementing `respond_to_missing`.
|
3411
|
+
StyleGuide: '#no-method-missing'
|
3412
|
+
Enabled: true
|
3413
|
+
VersionAdded: '0.56'
|
3414
|
+
|
3415
|
+
Style/MixinGrouping:
|
3416
|
+
Description: 'Checks for grouping of mixins in `class` and `module` bodies.'
|
3417
|
+
StyleGuide: '#mixin-grouping'
|
3418
|
+
Enabled: true
|
3419
|
+
VersionAdded: '0.48'
|
3420
|
+
VersionChanged: '0.49'
|
3421
|
+
EnforcedStyle: separated
|
3422
|
+
SupportedStyles:
|
3423
|
+
# separated: each mixed in module goes in a separate statement.
|
3424
|
+
# grouped: mixed in modules are grouped into a single statement.
|
3425
|
+
- separated
|
3426
|
+
- grouped
|
3427
|
+
|
3428
|
+
Style/MixinUsage:
|
3429
|
+
Description: 'Checks that `include`, `extend` and `prepend` exists at the top level.'
|
3430
|
+
Enabled: true
|
3431
|
+
VersionAdded: '0.51'
|
3432
|
+
|
3433
|
+
Style/ModuleFunction:
|
3434
|
+
Description: 'Checks for usage of `extend self` in modules.'
|
3435
|
+
StyleGuide: '#module-function'
|
3436
|
+
Enabled: true
|
3437
|
+
VersionAdded: '0.11'
|
3438
|
+
VersionChanged: '0.65'
|
3439
|
+
EnforcedStyle: module_function
|
3440
|
+
SupportedStyles:
|
3441
|
+
- module_function
|
3442
|
+
- extend_self
|
3443
|
+
- forbidden
|
3444
|
+
Autocorrect: false
|
3445
|
+
SafeAutoCorrect: false
|
3446
|
+
|
3447
|
+
Style/MultilineBlockChain:
|
3448
|
+
Description: 'Avoid multi-line chains of blocks.'
|
3449
|
+
StyleGuide: '#single-line-blocks'
|
3450
|
+
Enabled: true
|
3451
|
+
VersionAdded: '0.13'
|
3452
|
+
|
3453
|
+
Style/MultilineIfModifier:
|
3454
|
+
Description: 'Only use if/unless modifiers on single line statements.'
|
3455
|
+
StyleGuide: '#no-multiline-if-modifiers'
|
3456
|
+
Enabled: true
|
3457
|
+
VersionAdded: '0.45'
|
3458
|
+
|
3459
|
+
Style/MultilineIfThen:
|
3460
|
+
Description: 'Do not use then for multi-line if/unless.'
|
3461
|
+
StyleGuide: '#no-then'
|
3462
|
+
Enabled: true
|
3463
|
+
VersionAdded: '0.9'
|
3464
|
+
VersionChanged: '0.26'
|
3465
|
+
|
3466
|
+
Style/MultilineMemoization:
|
3467
|
+
Description: 'Wrap multiline memoizations in a `begin` and `end` block.'
|
3468
|
+
Enabled: true
|
3469
|
+
VersionAdded: '0.44'
|
3470
|
+
VersionChanged: '0.48'
|
3471
|
+
EnforcedStyle: keyword
|
3472
|
+
SupportedStyles:
|
3473
|
+
- keyword
|
3474
|
+
- braces
|
3475
|
+
|
3476
|
+
Style/MultilineMethodSignature:
|
3477
|
+
Description: 'Avoid multi-line method signatures.'
|
3478
|
+
Enabled: false
|
3479
|
+
VersionAdded: '0.59'
|
3480
|
+
|
3481
|
+
Style/MultilineTernaryOperator:
|
3482
|
+
Description: >-
|
3483
|
+
Avoid multi-line ?: (the ternary operator);
|
3484
|
+
use if/unless instead.
|
3485
|
+
StyleGuide: '#no-multiline-ternary'
|
3486
|
+
Enabled: true
|
3487
|
+
VersionAdded: '0.9'
|
3488
|
+
VersionChanged: '0.86'
|
3489
|
+
|
3490
|
+
Style/MultilineWhenThen:
|
3491
|
+
Description: 'Do not use then for multi-line when statement.'
|
3492
|
+
StyleGuide: '#no-then'
|
3493
|
+
Enabled: true
|
3494
|
+
VersionAdded: '0.73'
|
3495
|
+
|
3496
|
+
Style/MultipleComparison:
|
3497
|
+
Description: >-
|
3498
|
+
Avoid comparing a variable with multiple items in a conditional,
|
3499
|
+
use Array#include? instead.
|
3500
|
+
Enabled: true
|
3501
|
+
VersionAdded: '0.49'
|
3502
|
+
|
3503
|
+
Style/MutableConstant:
|
3504
|
+
Description: 'Do not assign mutable objects to constants.'
|
3505
|
+
Enabled: true
|
3506
|
+
VersionAdded: '0.34'
|
3507
|
+
VersionChanged: '0.65'
|
3508
|
+
EnforcedStyle: literals
|
3509
|
+
SupportedStyles:
|
3510
|
+
# literals: freeze literals assigned to constants
|
3511
|
+
# strict: freeze all constants
|
3512
|
+
# Strict mode is considered an experimental feature. It has not been updated
|
3513
|
+
# with an exhaustive list of all methods that will produce frozen objects so
|
3514
|
+
# there is a decent chance of getting some false positives. Luckily, there is
|
3515
|
+
# no harm in freezing an already frozen object.
|
3516
|
+
- literals
|
3517
|
+
- strict
|
3518
|
+
|
3519
|
+
Style/NegatedIf:
|
3520
|
+
Description: >-
|
3521
|
+
Favor unless over if for negative conditions
|
3522
|
+
(or control flow or).
|
3523
|
+
StyleGuide: '#unless-for-negatives'
|
3524
|
+
Enabled: true
|
3525
|
+
VersionAdded: '0.20'
|
3526
|
+
VersionChanged: '0.48'
|
3527
|
+
EnforcedStyle: both
|
3528
|
+
SupportedStyles:
|
3529
|
+
# both: prefix and postfix negated `if` should both use `unless`
|
3530
|
+
# prefix: only use `unless` for negated `if` statements positioned before the body of the statement
|
3531
|
+
# postfix: only use `unless` for negated `if` statements positioned after the body of the statement
|
3532
|
+
- both
|
3533
|
+
- prefix
|
3534
|
+
- postfix
|
3535
|
+
|
3536
|
+
Style/NegatedUnless:
|
3537
|
+
Description: 'Favor if over unless for negative conditions.'
|
3538
|
+
StyleGuide: '#if-for-negatives'
|
3539
|
+
Enabled: true
|
3540
|
+
VersionAdded: '0.69'
|
3541
|
+
EnforcedStyle: both
|
3542
|
+
SupportedStyles:
|
3543
|
+
# both: prefix and postfix negated `unless` should both use `if`
|
3544
|
+
# prefix: only use `if` for negated `unless` statements positioned before the body of the statement
|
3545
|
+
# postfix: only use `if` for negated `unless` statements positioned after the body of the statement
|
3546
|
+
- both
|
3547
|
+
- prefix
|
3548
|
+
- postfix
|
3549
|
+
|
3550
|
+
Style/NegatedWhile:
|
3551
|
+
Description: 'Favor until over while for negative conditions.'
|
3552
|
+
StyleGuide: '#until-for-negatives'
|
3553
|
+
Enabled: true
|
3554
|
+
VersionAdded: '0.20'
|
3555
|
+
|
3556
|
+
Style/NestedModifier:
|
3557
|
+
Description: 'Avoid using nested modifiers.'
|
3558
|
+
StyleGuide: '#no-nested-modifiers'
|
3559
|
+
Enabled: true
|
3560
|
+
VersionAdded: '0.35'
|
3561
|
+
|
3562
|
+
Style/NestedParenthesizedCalls:
|
3563
|
+
Description: >-
|
3564
|
+
Parenthesize method calls which are nested inside the
|
3565
|
+
argument list of another parenthesized method call.
|
3566
|
+
Enabled: true
|
3567
|
+
VersionAdded: '0.36'
|
3568
|
+
VersionChanged: '0.77'
|
3569
|
+
AllowedMethods:
|
3570
|
+
- be
|
3571
|
+
- be_a
|
3572
|
+
- be_an
|
3573
|
+
- be_between
|
3574
|
+
- be_falsey
|
3575
|
+
- be_kind_of
|
3576
|
+
- be_instance_of
|
3577
|
+
- be_truthy
|
3578
|
+
- be_within
|
3579
|
+
- eq
|
3580
|
+
- eql
|
3581
|
+
- end_with
|
3582
|
+
- include
|
3583
|
+
- match
|
3584
|
+
- raise_error
|
3585
|
+
- respond_to
|
3586
|
+
- start_with
|
3587
|
+
|
3588
|
+
Style/NestedTernaryOperator:
|
3589
|
+
Description: 'Use one expression per branch in a ternary operator.'
|
3590
|
+
StyleGuide: '#no-nested-ternary'
|
3591
|
+
Enabled: true
|
3592
|
+
VersionAdded: '0.9'
|
3593
|
+
VersionChanged: '0.86'
|
3594
|
+
|
3595
|
+
Style/Next:
|
3596
|
+
Description: 'Use `next` to skip iteration instead of a condition at the end.'
|
3597
|
+
StyleGuide: '#no-nested-conditionals'
|
3598
|
+
Enabled: true
|
3599
|
+
VersionAdded: '0.22'
|
3600
|
+
VersionChanged: '0.35'
|
3601
|
+
# With `always` all conditions at the end of an iteration needs to be
|
3602
|
+
# replaced by next - with `skip_modifier_ifs` the modifier if like this one
|
3603
|
+
# are ignored: [1, 2].each { |a| return 'yes' if a == 1 }
|
3604
|
+
EnforcedStyle: skip_modifier_ifs
|
3605
|
+
# `MinBodyLength` defines the number of lines of the a body of an `if` or `unless`
|
3606
|
+
# needs to have to trigger this cop
|
3607
|
+
MinBodyLength: 3
|
3608
|
+
SupportedStyles:
|
3609
|
+
- skip_modifier_ifs
|
3610
|
+
- always
|
3611
|
+
|
3612
|
+
Style/NilComparison:
|
3613
|
+
Description: 'Prefer x.nil? to x == nil.'
|
3614
|
+
StyleGuide: '#predicate-methods'
|
3615
|
+
Enabled: true
|
3616
|
+
VersionAdded: '0.12'
|
3617
|
+
VersionChanged: '0.59'
|
3618
|
+
EnforcedStyle: predicate
|
3619
|
+
SupportedStyles:
|
3620
|
+
- predicate
|
3621
|
+
- comparison
|
3622
|
+
|
3623
|
+
Style/NonNilCheck:
|
3624
|
+
Description: 'Checks for redundant nil checks.'
|
3625
|
+
StyleGuide: '#no-non-nil-checks'
|
3626
|
+
Enabled: true
|
3627
|
+
VersionAdded: '0.20'
|
3628
|
+
VersionChanged: '0.22'
|
3629
|
+
# With `IncludeSemanticChanges` set to `true`, this cop reports offenses for
|
3630
|
+
# `!x.nil?` and autocorrects that and `x != nil` to solely `x`, which is
|
3631
|
+
# **usually** OK, but might change behavior.
|
3632
|
+
#
|
3633
|
+
# With `IncludeSemanticChanges` set to `false`, this cop does not report
|
3634
|
+
# offenses for `!x.nil?` and does no changes that might change behavior.
|
3635
|
+
IncludeSemanticChanges: false
|
3636
|
+
|
3637
|
+
Style/Not:
|
3638
|
+
Description: 'Use ! instead of not.'
|
3639
|
+
StyleGuide: '#bang-not-not'
|
3640
|
+
Enabled: true
|
3641
|
+
VersionAdded: '0.9'
|
3642
|
+
VersionChanged: '0.20'
|
3643
|
+
|
3644
|
+
Style/NumericLiteralPrefix:
|
3645
|
+
Description: 'Use smallcase prefixes for numeric literals.'
|
3646
|
+
StyleGuide: '#numeric-literal-prefixes'
|
3647
|
+
Enabled: true
|
3648
|
+
VersionAdded: '0.41'
|
3649
|
+
EnforcedOctalStyle: zero_with_o
|
3650
|
+
SupportedOctalStyles:
|
3651
|
+
- zero_with_o
|
3652
|
+
- zero_only
|
3653
|
+
|
3654
|
+
|
3655
|
+
Style/NumericLiterals:
|
3656
|
+
Description: >-
|
3657
|
+
Add underscores to large numeric literals to improve their
|
3658
|
+
readability.
|
3659
|
+
StyleGuide: '#underscores-in-numerics'
|
3660
|
+
Enabled: true
|
3661
|
+
VersionAdded: '0.9'
|
3662
|
+
VersionChanged: '0.48'
|
3663
|
+
MinDigits: 5
|
3664
|
+
Strict: false
|
3665
|
+
|
3666
|
+
Style/NumericPredicate:
|
3667
|
+
Description: >-
|
3668
|
+
Checks for the use of predicate- or comparison methods for
|
3669
|
+
numeric comparisons.
|
3670
|
+
StyleGuide: '#predicate-methods'
|
3671
|
+
Safe: false
|
3672
|
+
# This will change to a new method call which isn't guaranteed to be on the
|
3673
|
+
# object. Switching these methods has to be done with knowledge of the types
|
3674
|
+
# of the variables which rubocop doesn't have.
|
3675
|
+
SafeAutoCorrect: false
|
3676
|
+
Enabled: true
|
3677
|
+
VersionAdded: '0.42'
|
3678
|
+
VersionChanged: '0.59'
|
3679
|
+
EnforcedStyle: predicate
|
3680
|
+
SupportedStyles:
|
3681
|
+
- predicate
|
3682
|
+
- comparison
|
3683
|
+
IgnoredMethods: []
|
3684
|
+
# Exclude RSpec specs because assertions like `expect(1).to be > 0` cause
|
3685
|
+
# false positives.
|
3686
|
+
Exclude:
|
3687
|
+
- 'spec/**/*'
|
3688
|
+
|
3689
|
+
Style/OneLineConditional:
|
3690
|
+
Description: >-
|
3691
|
+
Favor the ternary operator (?:) or multi-line constructs over
|
3692
|
+
single-line if/then/else/end constructs.
|
3693
|
+
StyleGuide: '#ternary-operator'
|
3694
|
+
Enabled: true
|
3695
|
+
AlwaysCorrectToMultiline: false
|
3696
|
+
VersionAdded: '0.9'
|
3697
|
+
VersionChanged: '0.90'
|
3698
|
+
|
3699
|
+
Style/OptionHash:
|
3700
|
+
Description: "Don't use option hashes when you can use keyword arguments."
|
3701
|
+
Enabled: false
|
3702
|
+
VersionAdded: '0.33'
|
3703
|
+
VersionChanged: '0.34'
|
3704
|
+
# A list of parameter names that will be flagged by this cop.
|
3705
|
+
SuspiciousParamNames:
|
3706
|
+
- options
|
3707
|
+
- opts
|
3708
|
+
- args
|
3709
|
+
- params
|
3710
|
+
- parameters
|
3711
|
+
|
3712
|
+
Style/OptionalArguments:
|
3713
|
+
Description: >-
|
3714
|
+
Checks for optional arguments that do not appear at the end
|
3715
|
+
of the argument list.
|
3716
|
+
StyleGuide: '#optional-arguments'
|
3717
|
+
Enabled: true
|
3718
|
+
Safe: false
|
3719
|
+
VersionAdded: '0.33'
|
3720
|
+
VersionChanged: '0.83'
|
3721
|
+
|
3722
|
+
Style/OptionalBooleanParameter:
|
3723
|
+
Description: 'Use keyword arguments when defining method with boolean argument.'
|
3724
|
+
StyleGuide: '#boolean-keyword-arguments'
|
3725
|
+
Enabled: pending
|
3726
|
+
Safe: false
|
3727
|
+
VersionAdded: '0.89'
|
3728
|
+
|
3729
|
+
Style/OrAssignment:
|
3730
|
+
Description: 'Recommend usage of double pipe equals (||=) where applicable.'
|
3731
|
+
StyleGuide: '#double-pipe-for-uninit'
|
3732
|
+
Enabled: true
|
3733
|
+
VersionAdded: '0.50'
|
3734
|
+
|
3735
|
+
Style/ParallelAssignment:
|
3736
|
+
Description: >-
|
3737
|
+
Check for simple usages of parallel assignment.
|
3738
|
+
It will only warn when the number of variables
|
3739
|
+
matches on both sides of the assignment.
|
3740
|
+
StyleGuide: '#parallel-assignment'
|
3741
|
+
Enabled: true
|
3742
|
+
VersionAdded: '0.32'
|
3743
|
+
|
3744
|
+
Style/ParenthesesAroundCondition:
|
3745
|
+
Description: >-
|
3746
|
+
Don't use parentheses around the condition of an
|
3747
|
+
if/unless/while.
|
3748
|
+
StyleGuide: '#no-parens-around-condition'
|
3749
|
+
Enabled: true
|
3750
|
+
VersionAdded: '0.9'
|
3751
|
+
VersionChanged: '0.56'
|
3752
|
+
AllowSafeAssignment: true
|
3753
|
+
AllowInMultilineConditions: false
|
3754
|
+
|
3755
|
+
Style/PercentLiteralDelimiters:
|
3756
|
+
Description: 'Use `%`-literal delimiters consistently.'
|
3757
|
+
StyleGuide: '#percent-literal-braces'
|
3758
|
+
Enabled: true
|
3759
|
+
VersionAdded: '0.19'
|
3760
|
+
# Specify the default preferred delimiter for all types with the 'default' key
|
3761
|
+
# Override individual delimiters (even with default specified) by specifying
|
3762
|
+
# an individual key
|
3763
|
+
PreferredDelimiters:
|
3764
|
+
default: ()
|
3765
|
+
'%i': '[]'
|
3766
|
+
'%I': '[]'
|
3767
|
+
'%r': '{}'
|
3768
|
+
'%w': '[]'
|
3769
|
+
'%W': '[]'
|
3770
|
+
VersionChanged: '0.48.1'
|
3771
|
+
|
3772
|
+
Style/PercentQLiterals:
|
3773
|
+
Description: 'Checks if uses of %Q/%q match the configured preference.'
|
3774
|
+
Enabled: true
|
3775
|
+
VersionAdded: '0.25'
|
3776
|
+
EnforcedStyle: lower_case_q
|
3777
|
+
SupportedStyles:
|
3778
|
+
- lower_case_q # Use `%q` when possible, `%Q` when necessary
|
3779
|
+
- upper_case_q # Always use `%Q`
|
3780
|
+
|
3781
|
+
Style/PerlBackrefs:
|
3782
|
+
Description: 'Avoid Perl-style regex back references.'
|
3783
|
+
StyleGuide: '#no-perl-regexp-last-matchers'
|
3784
|
+
Enabled: true
|
3785
|
+
VersionAdded: '0.13'
|
3786
|
+
|
3787
|
+
Style/PreferredHashMethods:
|
3788
|
+
Description: 'Checks use of `has_key?` and `has_value?` Hash methods.'
|
3789
|
+
StyleGuide: '#hash-key'
|
3790
|
+
Enabled: true
|
3791
|
+
Safe: false
|
3792
|
+
VersionAdded: '0.41'
|
3793
|
+
VersionChanged: '0.70'
|
3794
|
+
EnforcedStyle: short
|
3795
|
+
SupportedStyles:
|
3796
|
+
- short
|
3797
|
+
- verbose
|
3798
|
+
|
3799
|
+
Style/Proc:
|
3800
|
+
Description: 'Use proc instead of Proc.new.'
|
3801
|
+
StyleGuide: '#proc'
|
3802
|
+
Enabled: true
|
3803
|
+
VersionAdded: '0.9'
|
3804
|
+
VersionChanged: '0.18'
|
3805
|
+
|
3806
|
+
Style/RaiseArgs:
|
3807
|
+
Description: 'Checks the arguments passed to raise/fail.'
|
3808
|
+
StyleGuide: '#exception-class-messages'
|
3809
|
+
Enabled: true
|
3810
|
+
VersionAdded: '0.14'
|
3811
|
+
VersionChanged: '0.40'
|
3812
|
+
EnforcedStyle: exploded
|
3813
|
+
SupportedStyles:
|
3814
|
+
- compact # raise Exception.new(msg)
|
3815
|
+
- exploded # raise Exception, msg
|
3816
|
+
|
3817
|
+
Style/RandomWithOffset:
|
3818
|
+
Description: >-
|
3819
|
+
Prefer to use ranges when generating random numbers instead of
|
3820
|
+
integers with offsets.
|
3821
|
+
StyleGuide: '#random-numbers'
|
3822
|
+
Enabled: true
|
3823
|
+
VersionAdded: '0.52'
|
3824
|
+
|
3825
|
+
Style/RedundantAssignment:
|
3826
|
+
Description: 'Checks for redundant assignment before returning.'
|
3827
|
+
Enabled: 'pending'
|
3828
|
+
VersionAdded: '0.87'
|
3829
|
+
|
3830
|
+
Style/RedundantBegin:
|
3831
|
+
Description: "Don't use begin blocks when they are not needed."
|
3832
|
+
StyleGuide: '#begin-implicit'
|
3833
|
+
Enabled: true
|
3834
|
+
VersionAdded: '0.10'
|
3835
|
+
VersionChanged: '0.21'
|
3836
|
+
|
3837
|
+
Style/RedundantCapitalW:
|
3838
|
+
Description: 'Checks for %W when interpolation is not needed.'
|
3839
|
+
Enabled: true
|
3840
|
+
VersionAdded: '0.76'
|
3841
|
+
|
3842
|
+
Style/RedundantCondition:
|
3843
|
+
Description: 'Checks for unnecessary conditional expressions.'
|
3844
|
+
Enabled: true
|
3845
|
+
VersionAdded: '0.76'
|
3846
|
+
|
3847
|
+
Style/RedundantConditional:
|
3848
|
+
Description: "Don't return true/false from a conditional."
|
3849
|
+
Enabled: true
|
3850
|
+
VersionAdded: '0.50'
|
3851
|
+
|
3852
|
+
Style/RedundantException:
|
3853
|
+
Description: "Checks for an obsolete RuntimeException argument in raise/fail."
|
3854
|
+
StyleGuide: '#no-explicit-runtimeerror'
|
3855
|
+
Enabled: true
|
3856
|
+
VersionAdded: '0.14'
|
3857
|
+
VersionChanged: '0.29'
|
3858
|
+
|
3859
|
+
Style/RedundantFetchBlock:
|
3860
|
+
Description: >-
|
3861
|
+
Use `fetch(key, value)` instead of `fetch(key) { value }`
|
3862
|
+
when value has Numeric, Rational, Complex, Symbol or String type, `false`, `true`, `nil` or is a constant.
|
3863
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#hashfetch-with-argument-vs-hashfetch--block-code'
|
3864
|
+
Enabled: 'pending'
|
3865
|
+
Safe: false
|
3866
|
+
# If enabled, this cop will autocorrect usages of
|
3867
|
+
# `fetch` being called with block returning a constant.
|
3868
|
+
# This can be dangerous since constants will not be defined at that moment.
|
3869
|
+
SafeForConstants: false
|
3870
|
+
VersionAdded: '0.86'
|
3871
|
+
|
3872
|
+
Style/RedundantFileExtensionInRequire:
|
3873
|
+
Description: >-
|
3874
|
+
Checks for the presence of superfluous `.rb` extension in
|
3875
|
+
the filename provided to `require` and `require_relative`.
|
3876
|
+
StyleGuide: '#no-explicit-rb-to-require'
|
3877
|
+
Enabled: 'pending'
|
3878
|
+
VersionAdded: '0.88'
|
3879
|
+
|
3880
|
+
Style/RedundantFreeze:
|
3881
|
+
Description: "Checks usages of Object#freeze on immutable objects."
|
3882
|
+
Enabled: true
|
3883
|
+
VersionAdded: '0.34'
|
3884
|
+
VersionChanged: '0.66'
|
3885
|
+
|
3886
|
+
Style/RedundantInterpolation:
|
3887
|
+
Description: 'Checks for strings that are just an interpolated expression.'
|
3888
|
+
Enabled: true
|
3889
|
+
VersionAdded: '0.76'
|
3890
|
+
|
3891
|
+
Style/RedundantParentheses:
|
3892
|
+
Description: "Checks for parentheses that seem not to serve any purpose."
|
3893
|
+
Enabled: true
|
3894
|
+
VersionAdded: '0.36'
|
3895
|
+
|
3896
|
+
Style/RedundantPercentQ:
|
3897
|
+
Description: 'Checks for %q/%Q when single quotes or double quotes would do.'
|
3898
|
+
StyleGuide: '#percent-q'
|
3899
|
+
Enabled: true
|
3900
|
+
VersionAdded: '0.76'
|
3901
|
+
|
3902
|
+
Style/RedundantRegexpCharacterClass:
|
3903
|
+
Description: 'Checks for unnecessary single-element Regexp character classes.'
|
3904
|
+
Enabled: pending
|
3905
|
+
VersionAdded: '0.85'
|
3906
|
+
|
3907
|
+
Style/RedundantRegexpEscape:
|
3908
|
+
Description: 'Checks for redundant escapes in Regexps.'
|
3909
|
+
Enabled: pending
|
3910
|
+
VersionAdded: '0.85'
|
3911
|
+
|
3912
|
+
Style/RedundantReturn:
|
3913
|
+
Description: "Don't use return where it's not required."
|
3914
|
+
StyleGuide: '#no-explicit-return'
|
3915
|
+
Enabled: true
|
3916
|
+
VersionAdded: '0.10'
|
3917
|
+
VersionChanged: '0.14'
|
3918
|
+
# When `true` allows code like `return x, y`.
|
3919
|
+
AllowMultipleReturnValues: false
|
3920
|
+
|
3921
|
+
Style/RedundantSelf:
|
3922
|
+
Description: "Don't use self where it's not needed."
|
3923
|
+
StyleGuide: '#no-self-unless-required'
|
3924
|
+
Enabled: true
|
3925
|
+
VersionAdded: '0.10'
|
3926
|
+
VersionChanged: '0.13'
|
3927
|
+
|
3928
|
+
Style/RedundantSelfAssignment:
|
3929
|
+
Description: 'Checks for places where redundant assignments are made for in place modification methods.'
|
3930
|
+
Enabled: pending
|
3931
|
+
Safe: false
|
3932
|
+
VersionAdded: '0.90'
|
3933
|
+
|
3934
|
+
Style/RedundantSort:
|
3935
|
+
Description: >-
|
3936
|
+
Use `min` instead of `sort.first`,
|
3937
|
+
`max_by` instead of `sort_by...last`, etc.
|
3938
|
+
Enabled: true
|
3939
|
+
VersionAdded: '0.76'
|
3940
|
+
|
3941
|
+
Style/RedundantSortBy:
|
3942
|
+
Description: 'Use `sort` instead of `sort_by { |x| x }`.'
|
3943
|
+
Enabled: true
|
3944
|
+
VersionAdded: '0.36'
|
3945
|
+
|
3946
|
+
Style/RegexpLiteral:
|
3947
|
+
Description: 'Use / or %r around regular expressions.'
|
3948
|
+
StyleGuide: '#percent-r'
|
3949
|
+
Enabled: true
|
3950
|
+
VersionAdded: '0.9'
|
3951
|
+
VersionChanged: '0.30'
|
3952
|
+
EnforcedStyle: slashes
|
3953
|
+
# slashes: Always use slashes.
|
3954
|
+
# percent_r: Always use `%r`.
|
3955
|
+
# mixed: Use slashes on single-line regexes, and `%r` on multi-line regexes.
|
3956
|
+
SupportedStyles:
|
3957
|
+
- slashes
|
3958
|
+
- percent_r
|
3959
|
+
- mixed
|
3960
|
+
# If `false`, the cop will always recommend using `%r` if one or more slashes
|
3961
|
+
# are found in the regexp string.
|
3962
|
+
AllowInnerSlashes: false
|
3963
|
+
|
3964
|
+
Style/RescueModifier:
|
3965
|
+
Description: 'Avoid using rescue in its modifier form.'
|
3966
|
+
StyleGuide: '#no-rescue-modifiers'
|
3967
|
+
Enabled: true
|
3968
|
+
VersionAdded: '0.9'
|
3969
|
+
VersionChanged: '0.34'
|
3970
|
+
|
3971
|
+
Style/RescueStandardError:
|
3972
|
+
Description: 'Avoid rescuing without specifying an error class.'
|
3973
|
+
Enabled: true
|
3974
|
+
VersionAdded: '0.52'
|
3975
|
+
EnforcedStyle: explicit
|
3976
|
+
# implicit: Do not include the error class, `rescue`
|
3977
|
+
# explicit: Require an error class `rescue StandardError`
|
3978
|
+
SupportedStyles:
|
3979
|
+
- implicit
|
3980
|
+
- explicit
|
3981
|
+
|
3982
|
+
Style/ReturnNil:
|
3983
|
+
Description: 'Use return instead of return nil.'
|
3984
|
+
Enabled: false
|
3985
|
+
EnforcedStyle: return
|
3986
|
+
SupportedStyles:
|
3987
|
+
- return
|
3988
|
+
- return_nil
|
3989
|
+
VersionAdded: '0.50'
|
3990
|
+
|
3991
|
+
Style/SafeNavigation:
|
3992
|
+
Description: >-
|
3993
|
+
This cop transforms usages of a method call safeguarded by
|
3994
|
+
a check for the existence of the object to
|
3995
|
+
safe navigation (`&.`).
|
3996
|
+
Auto-correction is unsafe as it assumes the object will
|
3997
|
+
be `nil` or truthy, but never `false`.
|
3998
|
+
Enabled: true
|
3999
|
+
VersionAdded: '0.43'
|
4000
|
+
VersionChanged: '0.77'
|
4001
|
+
# Safe navigation may cause a statement to start returning `nil` in addition
|
4002
|
+
# to whatever it used to return.
|
4003
|
+
ConvertCodeThatCanStartToReturnNil: false
|
4004
|
+
AllowedMethods:
|
4005
|
+
- present?
|
4006
|
+
- blank?
|
4007
|
+
- presence
|
4008
|
+
- try
|
4009
|
+
- try!
|
4010
|
+
SafeAutoCorrect: false
|
4011
|
+
|
4012
|
+
Style/Sample:
|
4013
|
+
Description: >-
|
4014
|
+
Use `sample` instead of `shuffle.first`,
|
4015
|
+
`shuffle.last`, and `shuffle[Integer]`.
|
4016
|
+
Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
|
4017
|
+
Enabled: true
|
4018
|
+
VersionAdded: '0.30'
|
4019
|
+
|
4020
|
+
Style/SelfAssignment:
|
4021
|
+
Description: >-
|
4022
|
+
Checks for places where self-assignment shorthand should have
|
4023
|
+
been used.
|
4024
|
+
StyleGuide: '#self-assignment'
|
4025
|
+
Enabled: true
|
4026
|
+
VersionAdded: '0.19'
|
4027
|
+
VersionChanged: '0.29'
|
4028
|
+
|
4029
|
+
Style/Semicolon:
|
4030
|
+
Description: "Don't use semicolons to terminate expressions."
|
4031
|
+
StyleGuide: '#no-semicolon'
|
4032
|
+
Enabled: true
|
4033
|
+
VersionAdded: '0.9'
|
4034
|
+
VersionChanged: '0.19'
|
4035
|
+
# Allow `;` to separate several expressions on the same line.
|
4036
|
+
AllowAsExpressionSeparator: false
|
4037
|
+
|
4038
|
+
Style/Send:
|
4039
|
+
Description: 'Prefer `Object#__send__` or `Object#public_send` to `send`, as `send` may overlap with existing methods.'
|
4040
|
+
StyleGuide: '#prefer-public-send'
|
4041
|
+
Enabled: false
|
4042
|
+
VersionAdded: '0.33'
|
4043
|
+
|
4044
|
+
Style/SignalException:
|
4045
|
+
Description: 'Checks for proper usage of fail and raise.'
|
4046
|
+
StyleGuide: '#prefer-raise-over-fail'
|
4047
|
+
Enabled: true
|
4048
|
+
VersionAdded: '0.11'
|
4049
|
+
VersionChanged: '0.37'
|
4050
|
+
EnforcedStyle: only_raise
|
4051
|
+
SupportedStyles:
|
4052
|
+
- only_raise
|
4053
|
+
- only_fail
|
4054
|
+
- semantic
|
4055
|
+
|
4056
|
+
Style/SingleArgumentDig:
|
4057
|
+
Description: 'Avoid using single argument dig method.'
|
4058
|
+
Enabled: pending
|
4059
|
+
VersionAdded: '0.89'
|
4060
|
+
Safe: false
|
4061
|
+
|
4062
|
+
Style/SingleLineBlockParams:
|
4063
|
+
Description: 'Enforces the names of some block params.'
|
4064
|
+
Enabled: false
|
4065
|
+
VersionAdded: '0.16'
|
4066
|
+
VersionChanged: '0.47'
|
4067
|
+
Methods:
|
4068
|
+
- reduce:
|
4069
|
+
- acc
|
4070
|
+
- elem
|
4071
|
+
- inject:
|
4072
|
+
- acc
|
4073
|
+
- elem
|
4074
|
+
|
4075
|
+
Style/SingleLineMethods:
|
4076
|
+
Description: 'Avoid single-line methods.'
|
4077
|
+
StyleGuide: '#no-single-line-methods'
|
4078
|
+
Enabled: true
|
4079
|
+
VersionAdded: '0.9'
|
4080
|
+
VersionChanged: '0.19'
|
4081
|
+
AllowIfMethodIsEmpty: true
|
4082
|
+
|
4083
|
+
Style/SlicingWithRange:
|
4084
|
+
Description: 'Checks array slicing is done with endless ranges when suitable.'
|
4085
|
+
Enabled: pending
|
4086
|
+
VersionAdded: '0.83'
|
4087
|
+
Safe: false
|
4088
|
+
|
4089
|
+
Style/SoleNestedConditional:
|
4090
|
+
Description: >-
|
4091
|
+
Finds sole nested conditional nodes
|
4092
|
+
which can be merged into outer conditional node.
|
4093
|
+
Enabled: pending
|
4094
|
+
VersionAdded: '0.89'
|
4095
|
+
AllowModifier: false
|
4096
|
+
|
4097
|
+
Style/SpecialGlobalVars:
|
4098
|
+
Description: 'Avoid Perl-style global variables.'
|
4099
|
+
StyleGuide: '#no-cryptic-perlisms'
|
4100
|
+
Enabled: true
|
4101
|
+
VersionAdded: '0.13'
|
4102
|
+
VersionChanged: '0.36'
|
4103
|
+
SafeAutoCorrect: false
|
4104
|
+
EnforcedStyle: use_english_names
|
4105
|
+
SupportedStyles:
|
4106
|
+
- use_perl_names
|
4107
|
+
- use_english_names
|
4108
|
+
|
4109
|
+
Style/StabbyLambdaParentheses:
|
4110
|
+
Description: 'Check for the usage of parentheses around stabby lambda arguments.'
|
4111
|
+
StyleGuide: '#stabby-lambda-with-args'
|
4112
|
+
Enabled: true
|
4113
|
+
VersionAdded: '0.35'
|
4114
|
+
EnforcedStyle: require_parentheses
|
4115
|
+
SupportedStyles:
|
4116
|
+
- require_parentheses
|
4117
|
+
- require_no_parentheses
|
4118
|
+
|
4119
|
+
Style/StderrPuts:
|
4120
|
+
Description: 'Use `warn` instead of `$stderr.puts`.'
|
4121
|
+
StyleGuide: '#warn'
|
4122
|
+
Enabled: true
|
4123
|
+
VersionAdded: '0.51'
|
4124
|
+
|
4125
|
+
Style/StringConcatenation:
|
4126
|
+
Description: 'Checks for places where string concatenation can be replaced with string interpolation.'
|
4127
|
+
StyleGuide: '#string-interpolation'
|
4128
|
+
Enabled: pending
|
4129
|
+
Safe: false
|
4130
|
+
VersionAdded: '0.89'
|
4131
|
+
|
4132
|
+
Style/StringHashKeys:
|
4133
|
+
Description: 'Prefer symbols instead of strings as hash keys.'
|
4134
|
+
StyleGuide: '#symbols-as-keys'
|
4135
|
+
Enabled: false
|
4136
|
+
VersionAdded: '0.52'
|
4137
|
+
VersionChanged: '0.75'
|
4138
|
+
Safe: false
|
4139
|
+
|
4140
|
+
Style/StringLiterals:
|
4141
|
+
Description: 'Checks if uses of quotes match the configured preference.'
|
4142
|
+
StyleGuide: '#consistent-string-literals'
|
4143
|
+
Enabled: true
|
4144
|
+
VersionAdded: '0.9'
|
4145
|
+
VersionChanged: '0.36'
|
4146
|
+
EnforcedStyle: single_quotes
|
4147
|
+
SupportedStyles:
|
4148
|
+
- single_quotes
|
4149
|
+
- double_quotes
|
4150
|
+
# If `true`, strings which span multiple lines using `\` for continuation must
|
4151
|
+
# use the same type of quotes on each line.
|
4152
|
+
ConsistentQuotesInMultiline: false
|
4153
|
+
|
4154
|
+
Style/StringLiteralsInInterpolation:
|
4155
|
+
Description: >-
|
4156
|
+
Checks if uses of quotes inside expressions in interpolated
|
4157
|
+
strings match the configured preference.
|
4158
|
+
Enabled: true
|
4159
|
+
VersionAdded: '0.27'
|
4160
|
+
EnforcedStyle: single_quotes
|
4161
|
+
SupportedStyles:
|
4162
|
+
- single_quotes
|
4163
|
+
- double_quotes
|
4164
|
+
|
4165
|
+
Style/StringMethods:
|
4166
|
+
Description: 'Checks if configured preferred methods are used over non-preferred.'
|
4167
|
+
Enabled: false
|
4168
|
+
VersionAdded: '0.34'
|
4169
|
+
VersionChanged: '0.34.2'
|
4170
|
+
# Mapping from undesired method to desired_method
|
4171
|
+
# e.g. to use `to_sym` over `intern`:
|
4172
|
+
#
|
4173
|
+
# StringMethods:
|
4174
|
+
# PreferredMethods:
|
4175
|
+
# intern: to_sym
|
4176
|
+
PreferredMethods:
|
4177
|
+
intern: to_sym
|
4178
|
+
|
4179
|
+
Style/Strip:
|
4180
|
+
Description: 'Use `strip` instead of `lstrip.rstrip`.'
|
4181
|
+
Enabled: true
|
4182
|
+
VersionAdded: '0.36'
|
4183
|
+
|
4184
|
+
Style/StructInheritance:
|
4185
|
+
Description: 'Checks for inheritance from Struct.new.'
|
4186
|
+
StyleGuide: '#no-extend-struct-new'
|
4187
|
+
Enabled: true
|
4188
|
+
VersionAdded: '0.29'
|
4189
|
+
VersionChanged: '0.86'
|
4190
|
+
|
4191
|
+
Style/SymbolArray:
|
4192
|
+
Description: 'Use %i or %I for arrays of symbols.'
|
4193
|
+
StyleGuide: '#percent-i'
|
4194
|
+
Enabled: true
|
4195
|
+
VersionAdded: '0.9'
|
4196
|
+
VersionChanged: '0.49'
|
4197
|
+
EnforcedStyle: percent
|
4198
|
+
MinSize: 2
|
4199
|
+
SupportedStyles:
|
4200
|
+
- percent
|
4201
|
+
- brackets
|
4202
|
+
|
4203
|
+
Style/SymbolLiteral:
|
4204
|
+
Description: 'Use plain symbols instead of string symbols when possible.'
|
4205
|
+
Enabled: true
|
4206
|
+
VersionAdded: '0.30'
|
4207
|
+
|
4208
|
+
Style/SymbolProc:
|
4209
|
+
Description: 'Use symbols as procs instead of blocks when possible.'
|
4210
|
+
Enabled: true
|
4211
|
+
Safe: false
|
4212
|
+
VersionAdded: '0.26'
|
4213
|
+
VersionChanged: '0.64'
|
4214
|
+
# A list of method names to be ignored by the check.
|
4215
|
+
# The names should be fairly unique, otherwise you'll end up ignoring lots of code.
|
4216
|
+
IgnoredMethods:
|
4217
|
+
- respond_to
|
4218
|
+
- define_method
|
4219
|
+
|
4220
|
+
Style/TernaryParentheses:
|
4221
|
+
Description: 'Checks for use of parentheses around ternary conditions.'
|
4222
|
+
Enabled: true
|
4223
|
+
VersionAdded: '0.42'
|
4224
|
+
VersionChanged: '0.46'
|
4225
|
+
EnforcedStyle: require_no_parentheses
|
4226
|
+
SupportedStyles:
|
4227
|
+
- require_parentheses
|
4228
|
+
- require_no_parentheses
|
4229
|
+
- require_parentheses_when_complex
|
4230
|
+
AllowSafeAssignment: true
|
4231
|
+
|
4232
|
+
Style/TrailingBodyOnClass:
|
4233
|
+
Description: 'Class body goes below class statement.'
|
4234
|
+
Enabled: true
|
4235
|
+
VersionAdded: '0.53'
|
4236
|
+
|
4237
|
+
Style/TrailingBodyOnMethodDefinition:
|
4238
|
+
Description: 'Method body goes below definition.'
|
4239
|
+
Enabled: true
|
4240
|
+
VersionAdded: '0.52'
|
4241
|
+
|
4242
|
+
Style/TrailingBodyOnModule:
|
4243
|
+
Description: 'Module body goes below module statement.'
|
4244
|
+
Enabled: true
|
4245
|
+
VersionAdded: '0.53'
|
4246
|
+
|
4247
|
+
Style/TrailingCommaInArguments:
|
4248
|
+
Description: 'Checks for trailing comma in argument lists.'
|
4249
|
+
StyleGuide: '#no-trailing-params-comma'
|
4250
|
+
Enabled: true
|
4251
|
+
VersionAdded: '0.36'
|
4252
|
+
# If `comma`, the cop requires a comma after the last argument, but only for
|
4253
|
+
# parenthesized method calls where each argument is on its own line.
|
4254
|
+
# If `consistent_comma`, the cop requires a comma after the last argument,
|
4255
|
+
# for all parenthesized method calls with arguments.
|
4256
|
+
EnforcedStyleForMultiline: no_comma
|
4257
|
+
SupportedStylesForMultiline:
|
4258
|
+
- comma
|
4259
|
+
- consistent_comma
|
4260
|
+
- no_comma
|
4261
|
+
|
4262
|
+
Style/TrailingCommaInArrayLiteral:
|
4263
|
+
Description: 'Checks for trailing comma in array literals.'
|
4264
|
+
StyleGuide: '#no-trailing-array-commas'
|
4265
|
+
Enabled: true
|
4266
|
+
VersionAdded: '0.53'
|
4267
|
+
# If `comma`, the cop requires a comma after the last item in an array,
|
4268
|
+
# but only when each item is on its own line.
|
4269
|
+
# If `consistent_comma`, the cop requires a comma after the last item of all
|
4270
|
+
# non-empty, multiline array literals.
|
4271
|
+
EnforcedStyleForMultiline: no_comma
|
4272
|
+
SupportedStylesForMultiline:
|
4273
|
+
- comma
|
4274
|
+
- consistent_comma
|
4275
|
+
- no_comma
|
4276
|
+
|
4277
|
+
Style/TrailingCommaInBlockArgs:
|
4278
|
+
Description: 'Checks for useless trailing commas in block arguments.'
|
4279
|
+
Enabled: false
|
4280
|
+
Safe: false
|
4281
|
+
VersionAdded: '0.81'
|
4282
|
+
|
4283
|
+
Style/TrailingCommaInHashLiteral:
|
4284
|
+
Description: 'Checks for trailing comma in hash literals.'
|
4285
|
+
Enabled: true
|
4286
|
+
# If `comma`, the cop requires a comma after the last item in a hash,
|
4287
|
+
# but only when each item is on its own line.
|
4288
|
+
# If `consistent_comma`, the cop requires a comma after the last item of all
|
4289
|
+
# non-empty, multiline hash literals.
|
4290
|
+
EnforcedStyleForMultiline: no_comma
|
4291
|
+
SupportedStylesForMultiline:
|
4292
|
+
- comma
|
4293
|
+
- consistent_comma
|
4294
|
+
- no_comma
|
4295
|
+
VersionAdded: '0.53'
|
4296
|
+
|
4297
|
+
Style/TrailingMethodEndStatement:
|
4298
|
+
Description: 'Checks for trailing end statement on line of method body.'
|
4299
|
+
Enabled: true
|
4300
|
+
VersionAdded: '0.52'
|
4301
|
+
|
4302
|
+
Style/TrailingUnderscoreVariable:
|
4303
|
+
Description: >-
|
4304
|
+
Checks for the usage of unneeded trailing underscores at the
|
4305
|
+
end of parallel variable assignment.
|
4306
|
+
AllowNamedUnderscoreVariables: true
|
4307
|
+
Enabled: true
|
4308
|
+
VersionAdded: '0.31'
|
4309
|
+
VersionChanged: '0.35'
|
4310
|
+
|
4311
|
+
# `TrivialAccessors` requires exact name matches and doesn't allow
|
4312
|
+
# predicated methods by default.
|
4313
|
+
Style/TrivialAccessors:
|
4314
|
+
Description: 'Prefer attr_* methods to trivial readers/writers.'
|
4315
|
+
StyleGuide: '#attr_family'
|
4316
|
+
Enabled: true
|
4317
|
+
VersionAdded: '0.9'
|
4318
|
+
VersionChanged: '0.77'
|
4319
|
+
# When set to `false` the cop will suggest the use of accessor methods
|
4320
|
+
# in situations like:
|
4321
|
+
#
|
4322
|
+
# def name
|
4323
|
+
# @other_name
|
4324
|
+
# end
|
4325
|
+
#
|
4326
|
+
# This way you can uncover "hidden" attributes in your code.
|
4327
|
+
ExactNameMatch: true
|
4328
|
+
AllowPredicates: true
|
4329
|
+
# Allows trivial writers that don't end in an equal sign. e.g.
|
4330
|
+
#
|
4331
|
+
# def on_exception(action)
|
4332
|
+
# @on_exception=action
|
4333
|
+
# end
|
4334
|
+
# on_exception :restart
|
4335
|
+
#
|
4336
|
+
# Commonly used in DSLs
|
4337
|
+
AllowDSLWriters: false
|
4338
|
+
IgnoreClassMethods: false
|
4339
|
+
AllowedMethods:
|
4340
|
+
- to_ary
|
4341
|
+
- to_a
|
4342
|
+
- to_c
|
4343
|
+
- to_enum
|
4344
|
+
- to_h
|
4345
|
+
- to_hash
|
4346
|
+
- to_i
|
4347
|
+
- to_int
|
4348
|
+
- to_io
|
4349
|
+
- to_open
|
4350
|
+
- to_path
|
4351
|
+
- to_proc
|
4352
|
+
- to_r
|
4353
|
+
- to_regexp
|
4354
|
+
- to_str
|
4355
|
+
- to_s
|
4356
|
+
- to_sym
|
4357
|
+
|
4358
|
+
Style/UnlessElse:
|
4359
|
+
Description: >-
|
4360
|
+
Do not use unless with else. Rewrite these with the positive
|
4361
|
+
case first.
|
4362
|
+
StyleGuide: '#no-else-with-unless'
|
4363
|
+
Enabled: true
|
4364
|
+
VersionAdded: '0.9'
|
4365
|
+
|
4366
|
+
Style/UnpackFirst:
|
4367
|
+
Description: >-
|
4368
|
+
Checks for accessing the first element of `String#unpack`
|
4369
|
+
instead of using `unpack1`.
|
4370
|
+
Enabled: true
|
4371
|
+
VersionAdded: '0.54'
|
4372
|
+
|
4373
|
+
Style/VariableInterpolation:
|
4374
|
+
Description: >-
|
4375
|
+
Don't interpolate global, instance and class variables
|
4376
|
+
directly in strings.
|
4377
|
+
StyleGuide: '#curlies-interpolate'
|
4378
|
+
Enabled: true
|
4379
|
+
VersionAdded: '0.9'
|
4380
|
+
VersionChanged: '0.20'
|
4381
|
+
|
4382
|
+
Style/WhenThen:
|
4383
|
+
Description: 'Use when x then ... for one-line cases.'
|
4384
|
+
StyleGuide: '#one-line-cases'
|
4385
|
+
Enabled: true
|
4386
|
+
VersionAdded: '0.9'
|
4387
|
+
|
4388
|
+
Style/WhileUntilDo:
|
4389
|
+
Description: 'Checks for redundant do after while or until.'
|
4390
|
+
StyleGuide: '#no-multiline-while-do'
|
4391
|
+
Enabled: true
|
4392
|
+
VersionAdded: '0.9'
|
4393
|
+
|
4394
|
+
Style/WhileUntilModifier:
|
4395
|
+
Description: >-
|
4396
|
+
Favor modifier while/until usage when you have a
|
4397
|
+
single-line body.
|
4398
|
+
StyleGuide: '#while-as-a-modifier'
|
4399
|
+
Enabled: true
|
4400
|
+
VersionAdded: '0.9'
|
4401
|
+
VersionChanged: '0.30'
|
4402
|
+
|
4403
|
+
Style/WordArray:
|
4404
|
+
Description: 'Use %w or %W for arrays of words.'
|
4405
|
+
StyleGuide: '#percent-w'
|
4406
|
+
Enabled: true
|
4407
|
+
VersionAdded: '0.9'
|
4408
|
+
VersionChanged: '0.36'
|
4409
|
+
EnforcedStyle: percent
|
4410
|
+
SupportedStyles:
|
4411
|
+
# percent style: %w(word1 word2)
|
4412
|
+
- percent
|
4413
|
+
# bracket style: ['word1', 'word2']
|
4414
|
+
- brackets
|
4415
|
+
# The `MinSize` option causes the `WordArray` rule to be ignored for arrays
|
4416
|
+
# smaller than a certain size. The rule is only applied to arrays
|
4417
|
+
# whose element count is greater than or equal to `MinSize`.
|
4418
|
+
MinSize: 2
|
4419
|
+
# The regular expression `WordRegex` decides what is considered a word.
|
4420
|
+
WordRegex: !ruby/regexp '/\A(?:\p{Word}|\p{Word}-\p{Word}|\n|\t)+\z/'
|
4421
|
+
|
4422
|
+
Style/YodaCondition:
|
4423
|
+
Description: 'Forbid or enforce yoda conditions.'
|
4424
|
+
Reference: 'https://en.wikipedia.org/wiki/Yoda_conditions'
|
4425
|
+
Enabled: true
|
4426
|
+
EnforcedStyle: forbid_for_all_comparison_operators
|
4427
|
+
SupportedStyles:
|
4428
|
+
# check all comparison operators
|
4429
|
+
- forbid_for_all_comparison_operators
|
4430
|
+
# check only equality operators: `!=` and `==`
|
4431
|
+
- forbid_for_equality_operators_only
|
4432
|
+
# enforce yoda for all comparison operators
|
4433
|
+
- require_for_all_comparison_operators
|
4434
|
+
# enforce yoda only for equality operators: `!=` and `==`
|
4435
|
+
- require_for_equality_operators_only
|
4436
|
+
Safe: false
|
4437
|
+
VersionAdded: '0.49'
|
4438
|
+
VersionChanged: '0.75'
|
4439
|
+
|
4440
|
+
Style/ZeroLengthPredicate:
|
4441
|
+
Description: 'Use #empty? when testing for objects of length 0.'
|
4442
|
+
Enabled: true
|
4443
|
+
Safe: false
|
4444
|
+
VersionAdded: '0.37'
|
4445
|
+
VersionChanged: '0.39'
|