embed_workflow 0.3.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +9 -0
- data/Gemfile.lock +89 -0
- data/LICENSE +21 -0
- data/README.md +235 -0
- data/Rakefile +10 -0
- data/docs/AccountsApi.md +358 -0
- data/docs/ActionTypesApi.md +497 -0
- data/docs/ActionsApi.md +475 -0
- data/docs/AppConnectionsApi.md +371 -0
- data/docs/AvailableAppsApi.md +145 -0
- data/docs/CatchHookRequest.md +18 -0
- data/docs/CreateActionType422Response.md +22 -0
- data/docs/CreateActionTypeRequest.md +50 -0
- data/docs/CreateActionTypeRequestFormDraftInner.md +32 -0
- data/docs/CreateActionTypeRequestIconDraft.md +22 -0
- data/docs/CreateAppConnectionRequest.md +24 -0
- data/docs/CreateUserToken200Response.md +18 -0
- data/docs/CreateUserTokenRequest.md +20 -0
- data/docs/CreateWorkflow201Response.md +92 -0
- data/docs/CreateWorkflowRequest.md +32 -0
- data/docs/CreateWorkflowRequestTemplateDraft.md +20 -0
- data/docs/CreateWorkflowRequestTemplateDraftNodesInner.md +48 -0
- data/docs/DataFieldsApi.md +233 -0
- data/docs/DeleteActionType200Response.md +18 -0
- data/docs/DeleteWorkflow200Response.md +49 -0
- data/docs/DeleteWorkflow200ResponseOneOf.md +18 -0
- data/docs/DeleteWorkflow200ResponseOneOf1.md +18 -0
- data/docs/DiscardWorkflowDraftRequest.md +20 -0
- data/docs/EvaluateExpression200Response.md +18 -0
- data/docs/EvaluateExpressionRequest.md +20 -0
- data/docs/EventsApi.md +81 -0
- data/docs/ExecuteWorkflow201Response.md +50 -0
- data/docs/ExecuteWorkflowRequest.md +22 -0
- data/docs/ExecutionsApi.md +225 -0
- data/docs/ExportConfiguration200Response.md +18 -0
- data/docs/ExportConfiguration200ResponseConfiguration.md +49 -0
- data/docs/ImportConfiguration201Response.md +28 -0
- data/docs/ImportConfigurationRequest.md +20 -0
- data/docs/ImportConfigurationRequestSchema.md +49 -0
- data/docs/InstallApp201Response.md +50 -0
- data/docs/InstallAppRequest.md +20 -0
- data/docs/InstalledAppsApi.md +282 -0
- data/docs/ListActionTypes200Response.md +20 -0
- data/docs/ListActionTypes200ResponseCollectionInner.md +106 -0
- data/docs/ListActionTypes200ResponseMeta.md +22 -0
- data/docs/ListActions200Response.md +20 -0
- data/docs/ListActions200ResponseCollectionInner.md +58 -0
- data/docs/ListAppConnections200Response.md +20 -0
- data/docs/ListAppConnections200ResponseCollectionInner.md +32 -0
- data/docs/ListAvailableApps200Response.md +20 -0
- data/docs/ListAvailableApps200ResponseCollectionInner.md +32 -0
- data/docs/ListDataFields200Response.md +20 -0
- data/docs/ListDataFields200ResponseCollectionInner.md +46 -0
- data/docs/ListDataFieldsTypeParameter.md +49 -0
- data/docs/ListEvents200Response.md +20 -0
- data/docs/ListEvents200ResponseCollectionInner.md +36 -0
- data/docs/ListInstalledApps200Response.md +20 -0
- data/docs/ListInstalledApps200ResponseCollectionInner.md +48 -0
- data/docs/ListTriggers200Response.md +20 -0
- data/docs/ListTriggers200ResponseCollectionInner.md +50 -0
- data/docs/ListUsers200Response.md +20 -0
- data/docs/ListUsers200ResponseCollectionInner.md +38 -0
- data/docs/ListWorkflowExecutions200Response.md +20 -0
- data/docs/ListWorkflowVersions200Response.md +20 -0
- data/docs/ListWorkflowVersions200ResponseCollectionInner.md +30 -0
- data/docs/ListWorkflows200Response.md +20 -0
- data/docs/ListWorkflows200ResponseCollectionInner.md +76 -0
- data/docs/PaymentsApi.md +81 -0
- data/docs/PublishWorkflowRequest.md +18 -0
- data/docs/RetrieveAccount200Response.md +46 -0
- data/docs/RetrieveAccountUsage200Response.md +30 -0
- data/docs/RetrieveAvailableApp200Response.md +34 -0
- data/docs/RetrieveExecution200Response.md +54 -0
- data/docs/RetryActionRequest.md +20 -0
- data/docs/StopExecutionsRequest.md +20 -0
- data/docs/TriggerWorkflowRequest.md +26 -0
- data/docs/TriggersApi.md +289 -0
- data/docs/UpdateAccountRequest.md +38 -0
- data/docs/UpdateAccountRequestActionTypeCategoriesInner.md +24 -0
- data/docs/UpdateAccountRequestActionTypeCategoriesInnerIcon.md +22 -0
- data/docs/UpdateAccountRequestUserDataSchemaInner.md +26 -0
- data/docs/UpdateActionTypeRequest.md +52 -0
- data/docs/UpdateInstalledAppRequest.md +18 -0
- data/docs/UpdateTriggerRequest.md +20 -0
- data/docs/UpdateWorkflowRequest.md +38 -0
- data/docs/UpsertUserRequest.md +26 -0
- data/docs/UsersApi.md +361 -0
- data/docs/WorkflowsApi.md +892 -0
- data/embed_workflow.gemspec +40 -0
- data/lib/embed_workflow/api/accounts_api.rb +364 -0
- data/lib/embed_workflow/api/action_types_api.rb +531 -0
- data/lib/embed_workflow/api/actions_api.rb +468 -0
- data/lib/embed_workflow/api/app_connections_api.rb +368 -0
- data/lib/embed_workflow/api/available_apps_api.rb +141 -0
- data/lib/embed_workflow/api/data_fields_api.rb +232 -0
- data/lib/embed_workflow/api/events_api.rb +86 -0
- data/lib/embed_workflow/api/executions_api.rb +225 -0
- data/lib/embed_workflow/api/installed_apps_api.rb +276 -0
- data/lib/embed_workflow/api/payments_api.rb +86 -0
- data/lib/embed_workflow/api/triggers_api.rb +281 -0
- data/lib/embed_workflow/api/users_api.rb +359 -0
- data/lib/embed_workflow/api/workflows_api.rb +926 -0
- data/lib/embed_workflow/api_client.rb +431 -0
- data/lib/embed_workflow/api_error.rb +58 -0
- data/lib/embed_workflow/configuration.rb +389 -0
- data/lib/embed_workflow/models/catch_hook_request.rb +222 -0
- data/lib/embed_workflow/models/create_action_type422_response.rb +256 -0
- data/lib/embed_workflow/models/create_action_type_request.rb +388 -0
- data/lib/embed_workflow/models/create_action_type_request_form_draft_inner.rb +342 -0
- data/lib/embed_workflow/models/create_action_type_request_icon_draft.rb +245 -0
- data/lib/embed_workflow/models/create_app_connection_request.rb +273 -0
- data/lib/embed_workflow/models/create_user_token200_response.rb +222 -0
- data/lib/embed_workflow/models/create_user_token_request.rb +227 -0
- data/lib/embed_workflow/models/create_workflow201_response.rb +660 -0
- data/lib/embed_workflow/models/create_workflow_request.rb +295 -0
- data/lib/embed_workflow/models/create_workflow_request_template_draft.rb +244 -0
- data/lib/embed_workflow/models/create_workflow_request_template_draft_nodes_inner.rb +431 -0
- data/lib/embed_workflow/models/delete_action_type200_response.rb +222 -0
- data/lib/embed_workflow/models/delete_workflow200_response.rb +106 -0
- data/lib/embed_workflow/models/delete_workflow200_response_one_of.rb +223 -0
- data/lib/embed_workflow/models/delete_workflow200_response_one_of1.rb +223 -0
- data/lib/embed_workflow/models/discard_workflow_draft_request.rb +229 -0
- data/lib/embed_workflow/models/evaluate_expression200_response.rb +214 -0
- data/lib/embed_workflow/models/evaluate_expression_request.rb +241 -0
- data/lib/embed_workflow/models/execute_workflow201_response.rb +383 -0
- data/lib/embed_workflow/models/execute_workflow_request.rb +275 -0
- data/lib/embed_workflow/models/export_configuration200_response.rb +214 -0
- data/lib/embed_workflow/models/export_configuration200_response_configuration.rb +105 -0
- data/lib/embed_workflow/models/import_configuration201_response.rb +275 -0
- data/lib/embed_workflow/models/import_configuration_request.rb +259 -0
- data/lib/embed_workflow/models/import_configuration_request_schema.rb +106 -0
- data/lib/embed_workflow/models/install_app201_response.rb +388 -0
- data/lib/embed_workflow/models/install_app_request.rb +234 -0
- data/lib/embed_workflow/models/list_action_types200_response.rb +239 -0
- data/lib/embed_workflow/models/list_action_types200_response_collection_inner.rb +755 -0
- data/lib/embed_workflow/models/list_action_types200_response_meta.rb +233 -0
- data/lib/embed_workflow/models/list_actions200_response.rb +239 -0
- data/lib/embed_workflow/models/list_actions200_response_collection_inner.rb +429 -0
- data/lib/embed_workflow/models/list_app_connections200_response.rb +239 -0
- data/lib/embed_workflow/models/list_app_connections200_response_collection_inner.rb +288 -0
- data/lib/embed_workflow/models/list_available_apps200_response.rb +239 -0
- data/lib/embed_workflow/models/list_available_apps200_response_collection_inner.rb +287 -0
- data/lib/embed_workflow/models/list_data_fields200_response.rb +239 -0
- data/lib/embed_workflow/models/list_data_fields200_response_collection_inner.rb +369 -0
- data/lib/embed_workflow/models/list_data_fields_type_parameter.rb +105 -0
- data/lib/embed_workflow/models/list_events200_response.rb +239 -0
- data/lib/embed_workflow/models/list_events200_response_collection_inner.rb +312 -0
- data/lib/embed_workflow/models/list_installed_apps200_response.rb +239 -0
- data/lib/embed_workflow/models/list_installed_apps200_response_collection_inner.rb +376 -0
- data/lib/embed_workflow/models/list_triggers200_response.rb +239 -0
- data/lib/embed_workflow/models/list_triggers200_response_collection_inner.rb +387 -0
- data/lib/embed_workflow/models/list_users200_response.rb +239 -0
- data/lib/embed_workflow/models/list_users200_response_collection_inner.rb +326 -0
- data/lib/embed_workflow/models/list_workflow_executions200_response.rb +239 -0
- data/lib/embed_workflow/models/list_workflow_versions200_response.rb +239 -0
- data/lib/embed_workflow/models/list_workflow_versions200_response_collection_inner.rb +278 -0
- data/lib/embed_workflow/models/list_workflows200_response.rb +239 -0
- data/lib/embed_workflow/models/list_workflows200_response_collection_inner.rb +562 -0
- data/lib/embed_workflow/models/publish_workflow_request.rb +217 -0
- data/lib/embed_workflow/models/retrieve_account200_response.rb +371 -0
- data/lib/embed_workflow/models/retrieve_account_usage200_response.rb +275 -0
- data/lib/embed_workflow/models/retrieve_available_app200_response.rb +299 -0
- data/lib/embed_workflow/models/retrieve_execution200_response.rb +405 -0
- data/lib/embed_workflow/models/retry_action_request.rb +239 -0
- data/lib/embed_workflow/models/stop_executions_request.rb +232 -0
- data/lib/embed_workflow/models/trigger_workflow_request.rb +263 -0
- data/lib/embed_workflow/models/update_account_request.rb +327 -0
- data/lib/embed_workflow/models/update_account_request_action_type_categories_inner.rb +258 -0
- data/lib/embed_workflow/models/update_account_request_action_type_categories_inner_icon.rb +233 -0
- data/lib/embed_workflow/models/update_account_request_user_data_schema_inner.rb +271 -0
- data/lib/embed_workflow/models/update_action_type_request.rb +384 -0
- data/lib/embed_workflow/models/update_installed_app_request.rb +217 -0
- data/lib/embed_workflow/models/update_trigger_request.rb +225 -0
- data/lib/embed_workflow/models/update_workflow_request.rb +329 -0
- data/lib/embed_workflow/models/upsert_user_request.rb +259 -0
- data/lib/embed_workflow/version.rb +12 -2
- data/lib/embed_workflow.rb +244 -29
- data/spec/api/accounts_api_spec.rb +92 -0
- data/spec/api/action_types_api_spec.rb +116 -0
- data/spec/api/actions_api_spec.rb +125 -0
- data/spec/api/app_connections_api_spec.rb +97 -0
- data/spec/api/available_apps_api_spec.rb +57 -0
- data/spec/api/data_fields_api_spec.rb +76 -0
- data/spec/api/events_api_spec.rb +48 -0
- data/spec/api/executions_api_spec.rb +72 -0
- data/spec/api/installed_apps_api_spec.rb +79 -0
- data/spec/api/payments_api_spec.rb +48 -0
- data/spec/api/triggers_api_spec.rb +82 -0
- data/spec/api/users_api_spec.rb +94 -0
- data/spec/api/workflows_api_spec.rb +190 -0
- data/spec/models/catch_hook_request_spec.rb +36 -0
- data/spec/models/create_action_type422_response_spec.rb +48 -0
- data/spec/models/create_action_type_request_form_draft_inner_spec.rb +82 -0
- data/spec/models/create_action_type_request_icon_draft_spec.rb +48 -0
- data/spec/models/create_action_type_request_spec.rb +126 -0
- data/spec/models/create_app_connection_request_spec.rb +54 -0
- data/spec/models/create_user_token200_response_spec.rb +36 -0
- data/spec/models/create_user_token_request_spec.rb +42 -0
- data/spec/models/create_workflow201_response_spec.rb +266 -0
- data/spec/models/create_workflow_request_spec.rb +78 -0
- data/spec/models/create_workflow_request_template_draft_nodes_inner_spec.rb +134 -0
- data/spec/models/create_workflow_request_template_draft_spec.rb +42 -0
- data/spec/models/delete_action_type200_response_spec.rb +36 -0
- data/spec/models/delete_workflow200_response_one_of1_spec.rb +36 -0
- data/spec/models/delete_workflow200_response_one_of_spec.rb +36 -0
- data/spec/models/delete_workflow200_response_spec.rb +32 -0
- data/spec/models/discard_workflow_draft_request_spec.rb +42 -0
- data/spec/models/evaluate_expression200_response_spec.rb +36 -0
- data/spec/models/evaluate_expression_request_spec.rb +42 -0
- data/spec/models/execute_workflow201_response_spec.rb +132 -0
- data/spec/models/execute_workflow_request_spec.rb +52 -0
- data/spec/models/export_configuration200_response_configuration_spec.rb +32 -0
- data/spec/models/export_configuration200_response_spec.rb +36 -0
- data/spec/models/import_configuration201_response_spec.rb +66 -0
- data/spec/models/import_configuration_request_schema_spec.rb +32 -0
- data/spec/models/import_configuration_request_spec.rb +46 -0
- data/spec/models/install_app201_response_spec.rb +132 -0
- data/spec/models/install_app_request_spec.rb +42 -0
- data/spec/models/list_action_types200_response_collection_inner_spec.rb +312 -0
- data/spec/models/list_action_types200_response_meta_spec.rb +48 -0
- data/spec/models/list_action_types200_response_spec.rb +42 -0
- data/spec/models/list_actions200_response_collection_inner_spec.rb +156 -0
- data/spec/models/list_actions200_response_spec.rb +42 -0
- data/spec/models/list_app_connections200_response_collection_inner_spec.rb +78 -0
- data/spec/models/list_app_connections200_response_spec.rb +42 -0
- data/spec/models/list_available_apps200_response_collection_inner_spec.rb +78 -0
- data/spec/models/list_available_apps200_response_spec.rb +42 -0
- data/spec/models/list_data_fields200_response_collection_inner_spec.rb +120 -0
- data/spec/models/list_data_fields200_response_spec.rb +42 -0
- data/spec/models/list_data_fields_type_parameter_spec.rb +32 -0
- data/spec/models/list_events200_response_collection_inner_spec.rb +90 -0
- data/spec/models/list_events200_response_spec.rb +42 -0
- data/spec/models/list_installed_apps200_response_collection_inner_spec.rb +126 -0
- data/spec/models/list_installed_apps200_response_spec.rb +42 -0
- data/spec/models/list_triggers200_response_collection_inner_spec.rb +132 -0
- data/spec/models/list_triggers200_response_spec.rb +42 -0
- data/spec/models/list_users200_response_collection_inner_spec.rb +96 -0
- data/spec/models/list_users200_response_spec.rb +42 -0
- data/spec/models/list_workflow_executions200_response_spec.rb +42 -0
- data/spec/models/list_workflow_versions200_response_collection_inner_spec.rb +72 -0
- data/spec/models/list_workflow_versions200_response_spec.rb +42 -0
- data/spec/models/list_workflows200_response_collection_inner_spec.rb +214 -0
- data/spec/models/list_workflows200_response_spec.rb +42 -0
- data/spec/models/publish_workflow_request_spec.rb +36 -0
- data/spec/models/retrieve_account200_response_spec.rb +120 -0
- data/spec/models/retrieve_account_usage200_response_spec.rb +72 -0
- data/spec/models/retrieve_available_app200_response_spec.rb +84 -0
- data/spec/models/retrieve_execution200_response_spec.rb +144 -0
- data/spec/models/retry_action_request_spec.rb +42 -0
- data/spec/models/stop_executions_request_spec.rb +42 -0
- data/spec/models/trigger_workflow_request_spec.rb +60 -0
- data/spec/models/update_account_request_action_type_categories_inner_icon_spec.rb +48 -0
- data/spec/models/update_account_request_action_type_categories_inner_spec.rb +54 -0
- data/spec/models/update_account_request_spec.rb +96 -0
- data/spec/models/update_account_request_user_data_schema_inner_spec.rb +60 -0
- data/spec/models/update_action_type_request_spec.rb +132 -0
- data/spec/models/update_installed_app_request_spec.rb +36 -0
- data/spec/models/update_trigger_request_spec.rb +42 -0
- data/spec/models/update_workflow_request_spec.rb +96 -0
- data/spec/models/upsert_user_request_spec.rb +60 -0
- data/spec/spec_helper.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/bin/byebug +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/coderay +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/pry +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/racc +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/rake +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/rspec +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/rubocop +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/ruby-parse +29 -0
- data/vendor/bundle/ruby/3.2.0/bin/ruby-rewrite +29 -0
- data/vendor/bundle/ruby/3.2.0/cache/ast-2.4.3.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/byebug-13.0.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/coderay-1.1.3.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/date-3.5.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.6.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/faraday-2.14.3.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/faraday-multipart-1.2.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/faraday-net_http-3.4.4.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.8.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/jaro_winkler-1.5.6.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/json-2.20.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/logger-1.7.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/method_source-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/multipart-post-2.4.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/net-http-0.9.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/parallel-1.28.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.11.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/pry-0.16.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/pry-byebug-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/psych-5.4.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/racc-1.8.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rainbow-3.1.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rake-13.0.6.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/reline-0.6.3.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-3.13.2.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-core-3.13.6.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-expectations-3.13.5.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-mocks-3.13.8.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rspec-support-3.13.7.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/rubocop-0.66.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/ruby-progressbar-1.13.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/stringio-3.2.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/unicode-display_width-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/uri-1.1.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +42 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/date_core.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +24 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/mkmf.log +93 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/gem_make.out +31 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.8.2/mkmf.log +457 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +29 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/json-2.20.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/json-2.20.0/gem_make.out +31 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/json-2.20.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/json-2.20.0/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/json-2.20.0/mkmf.log +358 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/gem_make.out +28 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/mkmf.log +37 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +18 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +19 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/mkmf.log +33 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/stringio.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.3/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.3/README.YARD.md +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.3/lib/ast/node.rb +268 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.3/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.3/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.3/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/ast-2.4.3/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/CHANGELOG.md +980 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/CONTRIBUTING.md +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/GUIDE.md +1806 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/LICENSE +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/README.md +197 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/exe/byebug +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug/breakpoint.c +522 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug/byebug.c +906 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug/byebug.h +147 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug/context.c +682 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug/threads.c +254 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/breakpoint.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/break.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/catch.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/condition.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/continue.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/delete.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/edit.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/info/breakpoints.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/info/display.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/info/file.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/irb.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/kill.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/pry.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/skip.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/source.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/thread/resume.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/tracevar.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/undisplay.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/var/const.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands/where.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/commands.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/core.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/eval.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/file.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/parse.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/string.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/toggle.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/helpers/var.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/history.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/interfaces/local_interface.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/interfaces/script_interface.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/printers/base.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/remote/client.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/bin/coderay +215 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/html/output.rb +164 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/java_script.rb +236 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/tokens.rb +164 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/coderay-1.1.3/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/BSDL +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/README.md +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/date_core.c +10065 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/date_parse.c +3086 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/date_strftime.c +638 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/date_strptime.c +704 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/date_tmx.h +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/extconf.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/prereq.mk +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/zonetab.h +1564 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date/zonetab.list +330 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/lib/date.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/lib/date_core.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/.rspec +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/CHANGELOG.md +518 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/CODE_OF_CONDUCT.md +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/CONTRIBUTING.md +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/CONTRIBUTORS.md +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/LICENCE.md +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/Manifest.txt +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/README.md +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/Rakefile +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/SECURITY.md +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/bin/ldiff +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/backports.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/callbacks.rb +327 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/htmldiff.rb +160 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/hunk.rb +379 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/internals.rb +308 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/ldiff.rb +189 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs/version.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff/lcs.rb +742 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/mise.toml +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/123_x +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/456_x +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/empty +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/file1.bin +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/file2.bin +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/four_lines +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/four_lines_with_missing_new_line +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line1-e +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line1-f +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line2-e +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line2-f +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.chef-e +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.chef-f +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line1-e +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line1-f +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line2-e +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line2-f +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1 +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-c +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-e +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-f +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-u +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2 +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-c +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-e +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-f +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-u +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-c +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-e +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-f +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-u +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2 +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-c +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-e +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-f +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-u +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-c +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-e +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-f +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-u +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-c +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-e +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-f +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-u +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1 +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-c +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-e +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-f +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-u +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2 +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-c +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-e +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-f +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-u +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/new-chef +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/new-chef2 +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/old-chef +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/fixtures/old-chef2 +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/issues_spec.rb +160 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/ldiff_spec.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/sdiff_spec.rb +216 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/spec_helper.rb +376 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/traverse_balanced_spec.rb +312 -0
- data/vendor/bundle/ruby/3.2.0/gems/diff-lcs-1.6.2/spec/traverse_sequences_spec.rb +137 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/CHANGELOG.md +574 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/LICENSE.md +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/README.md +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/Rakefile +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/examples/client_spec.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/examples/client_test.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/adapter/test.rb +319 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/adapter.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/adapter_registry.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/connection.rb +567 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/encoders/flat_params_encoder.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/encoders/nested_params_encoder.rb +193 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/error.rb +202 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/logging/formatter.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/methods.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/middleware.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/middleware_registry.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/options/connection_options.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/options/env.rb +204 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/options/proxy_options.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/options/request_options.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/options/ssl_options.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/options.rb +219 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/parameters.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/rack_builder.rb +248 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/request/authorization.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/request/instrumentation.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/request/json.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/request/url_encoded.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/request.rb +139 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/response/json.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/response/logger.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/response/raise_error.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/response.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/utils/headers.rb +150 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/utils/params_hash.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/utils.rb +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/lib/faraday.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/external_adapters/faraday_specs_setup.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/adapter/test_spec.rb +460 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/adapter_registry_spec.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/adapter_spec.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/connection_spec.rb +860 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/error_spec.rb +175 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/middleware_registry_spec.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/middleware_spec.rb +213 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/options/env_spec.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/options/options_spec.rb +297 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/options/proxy_options_spec.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/options/request_options_spec.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/params_encoders/flat_spec.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/params_encoders/nested_spec.rb +179 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/rack_builder_spec.rb +317 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/request/authorization_spec.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/request/instrumentation_spec.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/request/json_spec.rb +199 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/request/url_encoded_spec.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/request_spec.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/response/json_spec.rb +206 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/response/logger_spec.rb +299 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/response/raise_error_spec.rb +286 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/response_spec.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/utils/headers_spec.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday/utils_spec.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/faraday_spec.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/spec_helper.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/support/disabling_stub.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/support/fake_safe_buffer.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/support/faraday_middleware_subclasses.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/support/helper_methods.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/support/shared_examples/adapter.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/support/shared_examples/params_encoder.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/support/shared_examples/request_method.rb +263 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-2.14.3/spec/support/streaming_response_checker.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-multipart-1.2.0/CHANGELOG.md +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-multipart-1.2.0/LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-multipart-1.2.0/README.md +170 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-multipart-1.2.0/lib/faraday/multipart/file_part.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-multipart-1.2.0/lib/faraday/multipart/middleware.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-multipart-1.2.0/lib/faraday/multipart/param_part.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-multipart-1.2.0/lib/faraday/multipart/version.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-multipart-1.2.0/lib/faraday/multipart.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-net_http-3.4.4/LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-net_http-3.4.4/README.md +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-net_http-3.4.4/lib/faraday/adapter/net_http.rb +205 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-net_http-3.4.4/lib/faraday/net_http/version.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/faraday-net_http-3.4.4/lib/faraday/net_http.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/BSDL +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/README.md +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/ext/io/console/Makefile +271 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/ext/io/console/console.c +2022 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/ext/io/console/extconf.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/ext/io/console/win32_vk.inc +1390 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/lib/io/console/size.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/io-console-0.8.2/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro_winkler.c +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/BSDL +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/CHANGES.md +798 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/LEGAL +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/README.md +308 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/fbuffer/fbuffer.h +259 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/generator/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/generator/extconf.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/generator/generator.c +1997 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/json.h +179 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/parser/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/parser/extconf.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/parser/parser.c +2827 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/simd/conf.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/simd/simd.h +208 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/vendor/fast_float_parser.h +814 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/vendor/fpconv.c +480 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/ext/json/ext/vendor/jeaiii-ltoa.h +267 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/json.gemspec +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/bigdecimal.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/complex.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/core.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/date.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/date_time.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/exception.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/ostruct.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/range.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/rational.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/regexp.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/set.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/string.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/struct.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/symbol.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/add/time.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/common.rb +1173 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/ext/generator/state.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/ext.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/generic_object.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/truffle_ruby/generator.rb +755 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/json-2.20.0/lib/json.rb +689 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/.document +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/.rdoc_options +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/BSDL +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/README.md +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/lib/logger/errors.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/lib/logger/formatter.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/lib/logger/log_device.rb +265 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/lib/logger/period.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/lib/logger/severity.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/lib/logger/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/logger-1.7.0/lib/logger.rb +789 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/.gemtest +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/.yardopts +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/CHANGELOG.md +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/Gemfile +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/LICENSE +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/README.markdown +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/Rakefile +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/lib/method_source.rb +177 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/method_source.gemspec +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/spec/method_source_spec.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/method_source-1.1.0/spec/spec_helper.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/changelog.md +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/composite_io.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/multipart/post/composite_read_io.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/multipart/post/multipartable.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/multipart/post/parts.rb +148 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/multipart/post/upload_io.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/multipart/post/version.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/multipart/post.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/multipart_post.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/multipartable.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/net/http/post/multipart.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/lib/parts.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/license.md +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/multipart-post-2.4.1/readme.md +170 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/BSDL +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/README.md +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/doc/net-http/examples.rdoc +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/doc/net-http/included_getters.rdoc +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/exceptions.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/generic_request.rb +429 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/header.rb +985 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/proxy_delta.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/request.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/requests.rb +444 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/response.rb +739 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/responses.rb +1242 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http/status.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/http.rb +2608 -0
- data/vendor/bundle/ruby/3.2.0/gems/net-http-0.9.1/lib/net/https.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/parallel-1.28.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/parallel-1.28.0/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/parallel-1.28.0/lib/parallel.rb +719 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/LICENSE.txt +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/all.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ast/processor.rb +293 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/base.rb +294 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/builders/default.rb +2351 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/context.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/current.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/current_arg_stack.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/lexer/dedenter.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/lexer/literal.rb +284 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/lexer-F0.rb +12931 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/lexer-F1.rb +14884 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/lexer-strings.rb +5433 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/macruby.rb +9634 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/max_numparam_stack.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/messages.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/meta.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby18.rb +9272 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby19.rb +9558 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby20.rb +10229 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby21.rb +10203 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby22.rb +10302 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby23.rb +10322 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby24.rb +10454 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby25.rb +10374 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby26.rb +10352 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby27.rb +11948 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby30.rb +12244 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby31.rb +12717 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby32.rb +12705 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby33.rb +12590 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/ruby34.rb +12597 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/rubymotion.rb +9515 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/runner.rb +299 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/buffer.rb +369 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/comment/associator.rb +233 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/comment.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/method_definition.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/tree_rewriter/action.rb +243 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/source/tree_rewriter.rb +431 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/static_environment.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/unknown_encoding_in_magic_comment_error.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/variables_stack.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/lib/parser.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/parser-3.3.11.1/parser.gemspec +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/CHANGELOG.md +1211 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/LICENSE +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/README.md +469 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/bin/pry +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/basic_object.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/block_command.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/class_command.rb +194 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/cli.rb +211 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/code/code_file.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/code/code_range.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/code/loc.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/code.rb +357 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/code_object.rb +197 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/color_printer.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/command.rb +520 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/command_set.rb +418 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/command_state.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/amend_line.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/bang.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/bang_pry.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/cat/abstract_formatter.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/cat/exception_formatter.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/cat/file_formatter.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/cat/input_expression_formatter.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/cat.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/cd.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/change_inspector.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/change_prompt.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/clear_screen.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/code_collector.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/disable_pry.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/easter_eggs.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/edit/exception_patcher.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/edit/file_and_line_locator.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/edit.rb +225 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/exit.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/exit_all.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/exit_program.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/find_method.rb +199 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/fix_indent.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/help.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/hist.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/import_set.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/jump_to.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/list_inspectors.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/config.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/constants.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/formatter.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/globals.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/grep.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/instance_vars.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/interrogatable.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/jruby_hacks.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/local_names.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/local_vars.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/ls_entity.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/methods.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/methods_helper.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ls.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/nesting.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/play.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/pry_backtrace.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/pry_version.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/raise_up.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/reload_code.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/reset.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/ri.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/save_file.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/shell_command.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/shell_mode.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/show_doc.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/show_info.rb +234 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/show_input.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/show_source.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/stat.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/switch_to.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/toggle_color.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/watch_expression/expression.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/watch_expression.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/whereami.rb +205 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/commands/wtf.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/config/attributable.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/config/lazy_value.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/config/memoized_value.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/config/value.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/config.rb +321 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/control_d_handler.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/core_extensions.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/editor.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/env.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/exception_handler.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/exceptions.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/forwardable.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/helpers/command_helpers.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/helpers/documentation_helpers.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/helpers/options_helpers.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/helpers/platform.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/helpers/table.rb +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/helpers/text.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/helpers.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/history.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/hooks.rb +180 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/indent.rb +414 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/input/simple_stdio.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/input_completer.rb +283 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/input_lock.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/inspector.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/method/disowned.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/method/patcher.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/method/weird_method_locator.rb +222 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/method.rb +599 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/object_path.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/output.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/pager.rb +249 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/prompt.rb +214 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/pry_class.rb +371 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/pry_instance.rb +663 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/repl.rb +326 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/repl_file_loader.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/ring.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/slop/commands.rb +190 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/slop/option.rb +210 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/slop.rb +672 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/syntax_highlighter.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/system_command_handler.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/testable/evalable.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/testable/mockable.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/testable/pry_tester.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/testable/utility.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/testable/variables.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/testable.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/warning.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/wrapped_module/candidate.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry/wrapped_module.rb +382 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-0.16.0/lib/pry.rb +148 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/CHANGELOG.md +252 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/README.md +189 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/byebug/processors/pry_processor.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry/byebug/breakpoints.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/base.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/cli.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/backtrace.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/breakpoint.rb +137 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/continue.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/down.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/exit_all.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/finish.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/frame.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/next.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/step.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands/up.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/commands.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/control_d_handler.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/helpers/breakpoints.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/helpers/location.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/helpers/multiline.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/helpers/navigation.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/pry_ext.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/pry_remote_ext.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug/version.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.12.0/lib/pry-byebug.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/CONTRIBUTING.md +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/LICENSE +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/README.md +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/Makefile +291 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/depend +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/extconf.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych.c +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych_emitter.c +589 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych_parser.c +575 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych_to_ruby.c +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych_yaml_tree.c +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/class_loader.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/core_ext.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/exception.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/nodes/node.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/parser.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/scalar_scanner.rb +142 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/visitors/to_ruby.rb +479 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/visitors/visitor.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/visitors/yaml_tree.rb +626 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych.rb +794 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/BSDL +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ChangeLog +846 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/TODO +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/bin/racc +320 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +218 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +219 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/doc/ja/command.ja.html +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +348 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/doc/ja/index.ja.html +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/doc/ja/usage.ja.html +414 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse/cparse.c +840 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse/extconf.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/compat.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/debugflags.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/exception.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/grammar.rb +1191 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +667 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/info.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/iset.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +212 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/parser-text.rb +644 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/parser.rb +630 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +473 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/state.rb +976 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +311 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc/static.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/lib/racc.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/Changelog.md +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/color.rb +150 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/ext/string.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/global.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/null_presenter.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/presenter.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/string_utils.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow/x11_color_names.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rainbow-3.1.1/lib/rainbow.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/History.rdoc +2403 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/rake.gemspec +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/BSDL +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/README.md +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/config.rb +378 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/face.rb +199 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/history.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/io/ansi.rb +310 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/io/dumb.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/io/windows.rb +530 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/io.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/key_actor/base.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/key_actor/composite.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/key_actor/emacs.rb +517 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/key_actor/vi_command.rb +518 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/key_actor/vi_insert.rb +517 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/key_actor.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/key_stroke.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/kill_ring.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/line_editor.rb +2356 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/unicode/east_asian_width.rb +1292 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/unicode.rb +421 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/lib/reline.rb +527 -0
- data/vendor/bundle/ruby/3.2.0/gems/reline-0.6.3/license_of_rb-readline +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-3.13.2/LICENSE.md +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-3.13.2/README.md +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-3.13.2/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-3.13.2/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/.yardopts +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/Changelog.md +2447 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/LICENSE.md +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/README.md +389 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/exe/rspec +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/fork_runner.rb +140 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/utilities.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/configuration.rb +2419 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/configuration_options.rb +240 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/did_you_mean.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/example.rb +666 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/example_group.rb +912 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/console_codes.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/exception_presenter.rb +553 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/helpers.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_printer.rb +412 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_snippet_extractor.rb +122 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/json_formatter.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters.rb +279 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/memoized_helpers.rb +580 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/notifications.rb +523 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/option_parser.rb +325 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/ordering.rb +208 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/pending.rb +157 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/rake_task.rb +190 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/reporter.rb +266 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/runner.rb +216 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core/world.rb +287 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.6/lib/rspec/core.rb +212 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/.yardopts +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/Changelog.md +1366 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/README.md +326 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb +255 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/configuration.rb +244 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/expectation_target.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/failure_aggregator.rb +236 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/handler.rb +181 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/base_matcher.rb +225 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/change.rb +452 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/compound.rb +293 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/contain_exactly.rb +312 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/count_expectation.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/eq.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/eql.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/has.rb +194 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/include.rb +218 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/match.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/output.rb +207 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/raise_error.rb +275 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/satisfy.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/yield.rb +375 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/dsl.rb +546 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/english_phrasing.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/matcher_delegator.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/matcher_protocol.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/multi_matcher_diff.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers.rb +1046 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/.yardopts +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/Changelog.md +1351 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/README.md +465 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/proxy.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/recorder.rb +301 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/argument_list_matcher.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/argument_matchers.rb +366 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/error_generator.rb +390 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/matchers/receive.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/message_expectation.rb +856 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/method_double.rb +316 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/method_reference.rb +214 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/order_group.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/proxy.rb +517 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/test_double.rb +174 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/verifying_double.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/verifying_proxy.rb +221 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-mocks-3.13.8/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/Changelog.md +444 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/LICENSE.md +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/README.md +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/caller_filter.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/comparable_version.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/differ.rb +216 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/directory_maker.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/encoded_string.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/fuzzy_matcher.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/hunk_generator.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/matcher_definition.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/method_signature_verifier.rb +467 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/mutex.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/object_formatter.rb +279 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/recursive_const_methods.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/reentrant_mutex.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/ruby_features.rb +221 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/source/location.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/source/node.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/source/token.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/source.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/deprecation_helpers.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/diff_helpers.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/formatting_support.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/in_sub_process.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/library_wide_checks.rb +152 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/shell_out.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/stderr_splitter.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/string_matcher.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/with_isolated_directory.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/with_isolated_stderr.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/spec.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/version.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/warnings.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support/with_keywords_when_needed.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.13.7/lib/rspec/support.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/README.md +221 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/bin/console +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/bin/setup +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/config/default.yml +4408 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/exe/rubocop +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/builder.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/block_node.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/def_node.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +251 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/range_node.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/resbody_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/node.rb +642 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/ast/traversal.rb +183 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cli.rb +307 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/comment_config.rb +200 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/config.rb +716 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/config_loader.rb +214 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/config_loader_resolver.rb +198 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/autocorrect_logic.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/commissioner.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/cop.rb +244 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/alignment_corrector.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/configuration_injector.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator.rb +217 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_hash.rb +315 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_parameters.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_end_newline.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_comment.rb +160 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +142 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_of_line.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/extra_spacing.rb +246 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +244 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_array.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_assignment.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_hash.rb +184 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_heredoc.rb +294 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_consistency.rb +201 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_comment_space.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_block_layout.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +222 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +175 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +165 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_operators.rb +163 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +229 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +151 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/tab.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/assignment_in_condition.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/debugger.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_methods.rb +241 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/erb_new_arguments.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +190 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/handle_exceptions.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/inherit_exception.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/number_conversion.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/to_json.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unified_integer.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_block_argument.rb +149 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_method_argument.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_assignment.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_setter_call.rb +165 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/void.rb +170 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/message_annotator.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/line_length.rb +204 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/documentation_comment.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/hash_alignment.rb +143 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/rescue_node.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/surrounding_space.rb +144 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_rails_version.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/file_name.rb +205 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/method_name.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_name.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/offense.rb +194 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/caller.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/case_when_splat.rb +177 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/casecmp.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/chain_array_allocation.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/compare_with_block.rb +122 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/count.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/detect.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/double_start_end_with.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/end_with.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/fixed_size.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/flat_map.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/inefficient_hash_search.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/open_struct.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/range_include.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_match.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_merge.rb +183 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/regexp_match.rb +265 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/reverse_each.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/sample.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/size.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/start_with.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/string_replacement.rb +173 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/times_map.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unfreeze_string.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unneeded_sort.rb +165 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/uri_default_parser.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/action_filter.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_record_aliases.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_support_aliases.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_job.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_record.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/assert_not.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/belongs_to.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/blank.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/bulk_change_table.rb +289 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/create_table_with_timestamps.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/date.rb +156 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate.rb +135 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/dynamic_find_by.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/enum_uniqueness.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/environment_comparison.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/exit.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/file_path.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_by.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_each.rb +52 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_many_or_has_one_dependent.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_positional_arguments.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_status.rb +186 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/ignored_skip_action_filter_option.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/inverse_of.rb +246 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/lexically_scoped_action_filter.rb +149 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/link_to_blank.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/not_null_column.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output_safety.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/pluralization_grammar.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/presence.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/present.rb +149 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb +135 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reflection_class_name.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/refute_methods.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/relative_date_constant.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/request_referer.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reversible_migration.rb +286 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/safe_navigation.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/save_bang.rb +316 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/skips_model_validations.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/time_zone.rb +231 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/unknown_env.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/validation.rb +106 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/registry.rb +190 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/access_modifier_declarations.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/alias.rb +141 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/attr.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_comments.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_delimiters.rb +315 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +190 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_and_module_children.rb +153 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_methods.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/commented_keyword.rb +87 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/conditional_assignment.rb +698 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/constant_visibility.rb +66 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/copyright.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation_method.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string_token.rb +170 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +180 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/guard_clause.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_inside_else.rb +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inverse_methods.rb +167 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +368 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_grouping.rb +150 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_usage.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/module_function.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_modifier.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/non_nil_check.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_predicate.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/one_line_conditional.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/optional_arguments.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/or_assignment.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parentheses_around_condition.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/random_with_offset.rb +161 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_parentheses.rb +222 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_return.rb +169 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_self.rb +154 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/safe_navigation.rb +253 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/semicolon.rb +90 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_methods.rb +76 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/special_global_vars.rb +213 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stderr_puts.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_hash_keys.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/struct_inheritance.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_proc.rb +130 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ternary_parentheses.rb +194 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unless_else.rb +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/variable_interpolation.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/yoda_condition.rb +140 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/team.rb +190 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/util.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force.rb +464 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/core_ext/string.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/error.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/file_finder.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_config_formatter.rb +219 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/formatter_set.rb +105 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/simple_text_formatter.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/tap_formatter.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/magic_comment.rb +210 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/node_pattern.rb +584 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/options.rb +441 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/processed_source.rb +210 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/rake_task.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/remote_config.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/result_cache.rb +191 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/rspec/cop_helper.rb +95 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/rspec/expect_offense.rb +237 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_contexts.rb +96 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_examples.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/rspec/support.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/runner.rb +353 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/target_finder.rb +187 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/token.rb +114 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/rubocop-0.66.0/lib/rubocop.rb +654 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/Rakefile +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb +234 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/calculators/length.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/percentage.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/rate.rb +39 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/time.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/string.rb +38 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/output.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/progress.rb +108 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/time.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/timer.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/.rdoc_options +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/NEWS.md +326 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/README.md +45 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/docs/io.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio/.document +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio/Makefile +269 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio/extconf.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio/stringio.c +2110 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/CHANGELOG.md +121 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/README.md +124 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/.document +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/.rdoc_options +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/BSDL +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/COPYING +56 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/README.md +55 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/docs/kernel.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/common.rb +922 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/file.rb +100 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/ftp.rb +267 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/generic.rb +1592 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/http.rb +137 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/https.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/ldap.rb +261 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/ldaps.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/mailto.rb +293 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/rfc2396_parser.rb +547 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/rfc3986_parser.rb +206 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/version.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/ws.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri/wss.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/uri-1.1.1/lib/uri.rb +104 -0
- data/vendor/bundle/ruby/3.2.0/specifications/ast-2.4.3.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/byebug-13.0.0.gemspec +32 -0
- data/vendor/bundle/ruby/3.2.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/vendor/bundle/ruby/3.2.0/specifications/date-3.5.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.2.0/specifications/diff-lcs-1.6.2.gemspec +35 -0
- data/vendor/bundle/ruby/3.2.0/specifications/faraday-2.14.3.gemspec +0 -0
- data/vendor/bundle/ruby/3.2.0/specifications/faraday-multipart-1.2.0.gemspec +26 -0
- data/vendor/bundle/ruby/3.2.0/specifications/faraday-net_http-3.4.4.gemspec +26 -0
- data/vendor/bundle/ruby/3.2.0/specifications/io-console-0.8.2.gemspec +25 -0
- data/vendor/bundle/ruby/3.2.0/specifications/jaro_winkler-1.5.6.gemspec +30 -0
- data/vendor/bundle/ruby/3.2.0/specifications/json-2.20.0.gemspec +0 -0
- data/vendor/bundle/ruby/3.2.0/specifications/logger-1.7.0.gemspec +22 -0
- data/vendor/bundle/ruby/3.2.0/specifications/method_source-1.1.0.gemspec +21 -0
- data/vendor/bundle/ruby/3.2.0/specifications/multipart-post-2.4.1.gemspec +21 -0
- data/vendor/bundle/ruby/3.2.0/specifications/net-http-0.9.1.gemspec +27 -0
- data/vendor/bundle/ruby/3.2.0/specifications/parallel-1.28.0.gemspec +21 -0
- data/vendor/bundle/ruby/3.2.0/specifications/parser-3.3.11.1.gemspec +37 -0
- data/vendor/bundle/ruby/3.2.0/specifications/pry-0.16.0.gemspec +30 -0
- data/vendor/bundle/ruby/3.2.0/specifications/pry-byebug-3.12.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/psych-5.4.0.gemspec +32 -0
- data/vendor/bundle/ruby/3.2.0/specifications/racc-1.8.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/3.2.0/specifications/reline-0.6.3.gemspec +26 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-3.13.2.gemspec +31 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-core-3.13.6.gemspec +31 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-expectations-3.13.5.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-mocks-3.13.8.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rspec-support-3.13.7.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/rubocop-0.66.0.gemspec +38 -0
- data/vendor/bundle/ruby/3.2.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/stringio-3.2.0.gemspec +26 -0
- data/vendor/bundle/ruby/3.2.0/specifications/unicode-display_width-1.5.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.2.0/specifications/uri-1.1.1.gemspec +23 -0
- metadata +2416 -27
- data/lib/embed_workflow/actions.rb +0 -19
- data/lib/embed_workflow/app_connections.rb +0 -75
- data/lib/embed_workflow/base.rb +0 -19
- data/lib/embed_workflow/catch_hook.rb +0 -24
- data/lib/embed_workflow/client.rb +0 -128
- data/lib/embed_workflow/errors.rb +0 -17
- data/lib/embed_workflow/executions.rb +0 -28
- data/lib/embed_workflow/trigger.rb +0 -31
- data/lib/embed_workflow/users.rb +0 -52
- data/lib/embed_workflow/workflows.rb +0 -107
|
@@ -0,0 +1,2608 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
#
|
|
3
|
+
# = net/http.rb
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 1999-2007 Yukihiro Matsumoto
|
|
6
|
+
# Copyright (c) 1999-2007 Minero Aoki
|
|
7
|
+
# Copyright (c) 2001 GOTOU Yuuzou
|
|
8
|
+
#
|
|
9
|
+
# Written and maintained by Minero Aoki <aamine@loveruby.net>.
|
|
10
|
+
# HTTPS support added by GOTOU Yuuzou <gotoyuzo@notwork.org>.
|
|
11
|
+
#
|
|
12
|
+
# This file is derived from "http-access.rb".
|
|
13
|
+
#
|
|
14
|
+
# Documented by Minero Aoki; converted to RDoc by William Webber.
|
|
15
|
+
#
|
|
16
|
+
# This program is free software. You can re-distribute and/or
|
|
17
|
+
# modify this program under the same terms of ruby itself ---
|
|
18
|
+
# Ruby Distribution License or GNU General Public License.
|
|
19
|
+
#
|
|
20
|
+
# See Net::HTTP for an overview and examples.
|
|
21
|
+
#
|
|
22
|
+
|
|
23
|
+
require 'net/protocol'
|
|
24
|
+
require 'uri'
|
|
25
|
+
require 'resolv'
|
|
26
|
+
autoload :OpenSSL, 'openssl'
|
|
27
|
+
|
|
28
|
+
module Net #:nodoc:
|
|
29
|
+
|
|
30
|
+
# :stopdoc:
|
|
31
|
+
class HTTPBadResponse < StandardError; end
|
|
32
|
+
class HTTPHeaderSyntaxError < StandardError; end
|
|
33
|
+
# :startdoc:
|
|
34
|
+
|
|
35
|
+
# \Class \Net::HTTP provides a rich library that implements the client
|
|
36
|
+
# in a client-server model that uses the \HTTP request-response protocol.
|
|
37
|
+
# For information about \HTTP, see:
|
|
38
|
+
#
|
|
39
|
+
# - {Hypertext Transfer Protocol}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol].
|
|
40
|
+
# - {Technical overview}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Technical_overview].
|
|
41
|
+
#
|
|
42
|
+
# == About the Examples
|
|
43
|
+
#
|
|
44
|
+
# :include: doc/net-http/examples.rdoc
|
|
45
|
+
#
|
|
46
|
+
# == Strategies
|
|
47
|
+
#
|
|
48
|
+
# - If you will make only a few GET requests,
|
|
49
|
+
# consider using {OpenURI}[https://docs.ruby-lang.org/en/master/OpenURI.html].
|
|
50
|
+
# - If you will make only a few requests of all kinds,
|
|
51
|
+
# consider using the various singleton convenience methods in this class.
|
|
52
|
+
# Each of the following methods automatically starts and finishes
|
|
53
|
+
# a {session}[rdoc-ref:Net::HTTP@Sessions] that sends a single request:
|
|
54
|
+
#
|
|
55
|
+
# # Return string response body.
|
|
56
|
+
# Net::HTTP.get(hostname, path)
|
|
57
|
+
# Net::HTTP.get(uri)
|
|
58
|
+
#
|
|
59
|
+
# # Write string response body to $stdout.
|
|
60
|
+
# Net::HTTP.get_print(hostname, path)
|
|
61
|
+
# Net::HTTP.get_print(uri)
|
|
62
|
+
#
|
|
63
|
+
# # Return response as Net::HTTPResponse object.
|
|
64
|
+
# Net::HTTP.get_response(hostname, path)
|
|
65
|
+
# Net::HTTP.get_response(uri)
|
|
66
|
+
# data = '{"title": "foo", "body": "bar", "userId": 1}'
|
|
67
|
+
# Net::HTTP.post(uri, data)
|
|
68
|
+
# params = {title: 'foo', body: 'bar', userId: 1}
|
|
69
|
+
# Net::HTTP.post_form(uri, params)
|
|
70
|
+
# data = '{"title": "foo", "body": "bar", "userId": 1}'
|
|
71
|
+
# Net::HTTP.put(uri, data)
|
|
72
|
+
#
|
|
73
|
+
# - If performance is important, consider using sessions, which lower request overhead.
|
|
74
|
+
# This {session}[rdoc-ref:Net::HTTP@Sessions] has multiple requests for
|
|
75
|
+
# {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]
|
|
76
|
+
# and {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]:
|
|
77
|
+
#
|
|
78
|
+
# Net::HTTP.start(hostname) do |http|
|
|
79
|
+
# # Session started automatically before block execution.
|
|
80
|
+
# http.get(path)
|
|
81
|
+
# http.head(path)
|
|
82
|
+
# body = 'Some text'
|
|
83
|
+
# http.post(path, body) # Can also have a block.
|
|
84
|
+
# http.put(path, body)
|
|
85
|
+
# http.delete(path)
|
|
86
|
+
# http.options(path)
|
|
87
|
+
# http.trace(path)
|
|
88
|
+
# http.patch(path, body) # Can also have a block.
|
|
89
|
+
# http.copy(path)
|
|
90
|
+
# http.lock(path, body)
|
|
91
|
+
# http.mkcol(path, body)
|
|
92
|
+
# http.move(path)
|
|
93
|
+
# http.propfind(path, body)
|
|
94
|
+
# http.proppatch(path, body)
|
|
95
|
+
# http.unlock(path, body)
|
|
96
|
+
# # Session finished automatically at block exit.
|
|
97
|
+
# end
|
|
98
|
+
#
|
|
99
|
+
# The methods cited above are convenience methods that, via their few arguments,
|
|
100
|
+
# allow minimal control over the requests.
|
|
101
|
+
# For greater control, consider using {request objects}[rdoc-ref:Net::HTTPRequest].
|
|
102
|
+
#
|
|
103
|
+
# == URIs
|
|
104
|
+
#
|
|
105
|
+
# On the internet, a URI
|
|
106
|
+
# ({Universal Resource Identifier}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier])
|
|
107
|
+
# is a string that identifies a particular resource.
|
|
108
|
+
# It consists of some or all of: scheme, hostname, path, query, and fragment;
|
|
109
|
+
# see {URI syntax}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Syntax].
|
|
110
|
+
#
|
|
111
|
+
# A Ruby {URI::Generic}[https://docs.ruby-lang.org/en/master/URI/Generic.html] object
|
|
112
|
+
# represents an internet URI.
|
|
113
|
+
# It provides, among others, methods
|
|
114
|
+
# +scheme+, +hostname+, +path+, +query+, and +fragment+.
|
|
115
|
+
#
|
|
116
|
+
# === Schemes
|
|
117
|
+
#
|
|
118
|
+
# An internet \URI has
|
|
119
|
+
# a {scheme}[https://en.wikipedia.org/wiki/List_of_URI_schemes].
|
|
120
|
+
#
|
|
121
|
+
# The two schemes supported in \Net::HTTP are <tt>'https'</tt> and <tt>'http'</tt>:
|
|
122
|
+
#
|
|
123
|
+
# uri.scheme # => "https"
|
|
124
|
+
# URI('http://example.com').scheme # => "http"
|
|
125
|
+
#
|
|
126
|
+
# === Hostnames
|
|
127
|
+
#
|
|
128
|
+
# A hostname identifies a server (host) to which requests may be sent:
|
|
129
|
+
#
|
|
130
|
+
# hostname = uri.hostname # => "jsonplaceholder.typicode.com"
|
|
131
|
+
# Net::HTTP.start(hostname) do |http|
|
|
132
|
+
# # Some HTTP stuff.
|
|
133
|
+
# end
|
|
134
|
+
#
|
|
135
|
+
# === Paths
|
|
136
|
+
#
|
|
137
|
+
# A host-specific path identifies a resource on the host:
|
|
138
|
+
#
|
|
139
|
+
# _uri = uri.dup
|
|
140
|
+
# _uri.path = '/todos/1'
|
|
141
|
+
# hostname = _uri.hostname
|
|
142
|
+
# path = _uri.path
|
|
143
|
+
# Net::HTTP.get(hostname, path)
|
|
144
|
+
#
|
|
145
|
+
# === Queries
|
|
146
|
+
#
|
|
147
|
+
# A host-specific query adds name/value pairs to the URI:
|
|
148
|
+
#
|
|
149
|
+
# _uri = uri.dup
|
|
150
|
+
# params = {userId: 1, completed: false}
|
|
151
|
+
# _uri.query = URI.encode_www_form(params)
|
|
152
|
+
# _uri # => #<URI::HTTPS https://jsonplaceholder.typicode.com?userId=1&completed=false>
|
|
153
|
+
# Net::HTTP.get(_uri)
|
|
154
|
+
#
|
|
155
|
+
# === Fragments
|
|
156
|
+
#
|
|
157
|
+
# A {URI fragment}[https://en.wikipedia.org/wiki/URI_fragment] has no effect
|
|
158
|
+
# in \Net::HTTP;
|
|
159
|
+
# the same data is returned, regardless of whether a fragment is included.
|
|
160
|
+
#
|
|
161
|
+
# == Request Headers
|
|
162
|
+
#
|
|
163
|
+
# Request headers may be used to pass additional information to the host,
|
|
164
|
+
# similar to arguments passed in a method call;
|
|
165
|
+
# each header is a name/value pair.
|
|
166
|
+
#
|
|
167
|
+
# Each of the \Net::HTTP methods that sends a request to the host
|
|
168
|
+
# has optional argument +headers+,
|
|
169
|
+
# where the headers are expressed as a hash of field-name/value pairs:
|
|
170
|
+
#
|
|
171
|
+
# headers = {Accept: 'application/json', Connection: 'Keep-Alive'}
|
|
172
|
+
# Net::HTTP.get(uri, headers)
|
|
173
|
+
#
|
|
174
|
+
# See lists of both standard request fields and common request fields at
|
|
175
|
+
# {Request Fields}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Request_fields].
|
|
176
|
+
# A host may also accept other custom fields.
|
|
177
|
+
#
|
|
178
|
+
# == \HTTP Sessions
|
|
179
|
+
#
|
|
180
|
+
# A _session_ is a connection between a server (host) and a client that:
|
|
181
|
+
#
|
|
182
|
+
# - Is begun by instance method Net::HTTP#start.
|
|
183
|
+
# - May contain any number of requests.
|
|
184
|
+
# - Is ended by instance method Net::HTTP#finish.
|
|
185
|
+
#
|
|
186
|
+
# See example sessions at {Strategies}[rdoc-ref:Net::HTTP@Strategies].
|
|
187
|
+
#
|
|
188
|
+
# === Session Using \Net::HTTP.start
|
|
189
|
+
#
|
|
190
|
+
# If you have many requests to make to a single host (and port),
|
|
191
|
+
# consider using singleton method Net::HTTP.start with a block;
|
|
192
|
+
# the method handles the session automatically by:
|
|
193
|
+
#
|
|
194
|
+
# - Calling #start before block execution.
|
|
195
|
+
# - Executing the block.
|
|
196
|
+
# - Calling #finish after block execution.
|
|
197
|
+
#
|
|
198
|
+
# In the block, you can use these instance methods,
|
|
199
|
+
# each of which that sends a single request:
|
|
200
|
+
#
|
|
201
|
+
# - {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]:
|
|
202
|
+
#
|
|
203
|
+
# - #get, #request_get: GET.
|
|
204
|
+
# - #head, #request_head: HEAD.
|
|
205
|
+
# - #post, #request_post: POST.
|
|
206
|
+
# - #delete: DELETE.
|
|
207
|
+
# - #options: OPTIONS.
|
|
208
|
+
# - #trace: TRACE.
|
|
209
|
+
# - #patch: PATCH.
|
|
210
|
+
#
|
|
211
|
+
# - {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]:
|
|
212
|
+
#
|
|
213
|
+
# - #copy: COPY.
|
|
214
|
+
# - #lock: LOCK.
|
|
215
|
+
# - #mkcol: MKCOL.
|
|
216
|
+
# - #move: MOVE.
|
|
217
|
+
# - #propfind: PROPFIND.
|
|
218
|
+
# - #proppatch: PROPPATCH.
|
|
219
|
+
# - #unlock: UNLOCK.
|
|
220
|
+
#
|
|
221
|
+
# === Session Using \Net::HTTP.start and \Net::HTTP.finish
|
|
222
|
+
#
|
|
223
|
+
# You can manage a session manually using methods #start and #finish:
|
|
224
|
+
#
|
|
225
|
+
# http = Net::HTTP.new(hostname)
|
|
226
|
+
# http.start
|
|
227
|
+
# http.get('/todos/1')
|
|
228
|
+
# http.get('/todos/2')
|
|
229
|
+
# http.delete('/posts/1')
|
|
230
|
+
# http.finish # Needed to free resources.
|
|
231
|
+
#
|
|
232
|
+
# === Single-Request Session
|
|
233
|
+
#
|
|
234
|
+
# Certain convenience methods automatically handle a session by:
|
|
235
|
+
#
|
|
236
|
+
# - Creating an \HTTP object
|
|
237
|
+
# - Starting a session.
|
|
238
|
+
# - Sending a single request.
|
|
239
|
+
# - Finishing the session.
|
|
240
|
+
# - Destroying the object.
|
|
241
|
+
#
|
|
242
|
+
# Such methods that send GET requests:
|
|
243
|
+
#
|
|
244
|
+
# - ::get: Returns the string response body.
|
|
245
|
+
# - ::get_print: Writes the string response body to $stdout.
|
|
246
|
+
# - ::get_response: Returns a Net::HTTPResponse object.
|
|
247
|
+
#
|
|
248
|
+
# Such methods that send POST requests:
|
|
249
|
+
#
|
|
250
|
+
# - ::post: Posts data to the host.
|
|
251
|
+
# - ::post_form: Posts form data to the host.
|
|
252
|
+
#
|
|
253
|
+
# == \HTTP Requests and Responses
|
|
254
|
+
#
|
|
255
|
+
# Many of the methods above are convenience methods,
|
|
256
|
+
# each of which sends a request and returns a string
|
|
257
|
+
# without directly using \Net::HTTPRequest and \Net::HTTPResponse objects.
|
|
258
|
+
#
|
|
259
|
+
# You can, however, directly create a request object, send the request,
|
|
260
|
+
# and retrieve the response object; see:
|
|
261
|
+
#
|
|
262
|
+
# - Net::HTTPRequest.
|
|
263
|
+
# - Net::HTTPResponse.
|
|
264
|
+
#
|
|
265
|
+
# == Following Redirection
|
|
266
|
+
#
|
|
267
|
+
# Each returned response is an instance of a subclass of Net::HTTPResponse.
|
|
268
|
+
# See the {response class hierarchy}[rdoc-ref:Net::HTTPResponse@Response+Subclasses].
|
|
269
|
+
#
|
|
270
|
+
# In particular, class Net::HTTPRedirection is the parent
|
|
271
|
+
# of all redirection classes.
|
|
272
|
+
# This allows you to craft a case statement to handle redirections properly:
|
|
273
|
+
#
|
|
274
|
+
# def fetch(uri, limit = 10)
|
|
275
|
+
# # You should choose a better exception.
|
|
276
|
+
# raise ArgumentError, 'Too many HTTP redirects' if limit == 0
|
|
277
|
+
#
|
|
278
|
+
# res = Net::HTTP.get_response(URI(uri))
|
|
279
|
+
# case res
|
|
280
|
+
# when Net::HTTPSuccess # Any success class.
|
|
281
|
+
# res
|
|
282
|
+
# when Net::HTTPRedirection # Any redirection class.
|
|
283
|
+
# location = res['Location']
|
|
284
|
+
# warn "Redirected to #{location}"
|
|
285
|
+
# fetch(location, limit - 1)
|
|
286
|
+
# else # Any other class.
|
|
287
|
+
# res.value
|
|
288
|
+
# end
|
|
289
|
+
# end
|
|
290
|
+
#
|
|
291
|
+
# fetch(uri)
|
|
292
|
+
#
|
|
293
|
+
# == Basic Authentication
|
|
294
|
+
#
|
|
295
|
+
# Basic authentication is performed according to
|
|
296
|
+
# {RFC2617}[http://www.ietf.org/rfc/rfc2617.txt]:
|
|
297
|
+
#
|
|
298
|
+
# req = Net::HTTP::Get.new(uri)
|
|
299
|
+
# req.basic_auth('user', 'pass')
|
|
300
|
+
# res = Net::HTTP.start(hostname) do |http|
|
|
301
|
+
# http.request(req)
|
|
302
|
+
# end
|
|
303
|
+
#
|
|
304
|
+
# == Streaming Response Bodies
|
|
305
|
+
#
|
|
306
|
+
# By default \Net::HTTP reads an entire response into memory. If you are
|
|
307
|
+
# handling large files or wish to implement a progress bar you can instead
|
|
308
|
+
# stream the body directly to an IO.
|
|
309
|
+
#
|
|
310
|
+
# Net::HTTP.start(hostname) do |http|
|
|
311
|
+
# req = Net::HTTP::Get.new(uri)
|
|
312
|
+
# http.request(req) do |res|
|
|
313
|
+
# open('t.tmp', 'w') do |f|
|
|
314
|
+
# res.read_body do |chunk|
|
|
315
|
+
# f.write chunk
|
|
316
|
+
# end
|
|
317
|
+
# end
|
|
318
|
+
# end
|
|
319
|
+
# end
|
|
320
|
+
#
|
|
321
|
+
# == HTTPS
|
|
322
|
+
#
|
|
323
|
+
# HTTPS is enabled for an \HTTP connection by Net::HTTP#use_ssl=:
|
|
324
|
+
#
|
|
325
|
+
# Net::HTTP.start(hostname, :use_ssl => true) do |http|
|
|
326
|
+
# req = Net::HTTP::Get.new(uri)
|
|
327
|
+
# res = http.request(req)
|
|
328
|
+
# end
|
|
329
|
+
#
|
|
330
|
+
# Or if you simply want to make a GET request, you may pass in a URI
|
|
331
|
+
# object that has an \HTTPS URL. \Net::HTTP automatically turns on TLS
|
|
332
|
+
# verification if the URI object has a 'https' URI scheme:
|
|
333
|
+
#
|
|
334
|
+
# uri # => #<URI::HTTPS https://jsonplaceholder.typicode.com/>
|
|
335
|
+
# Net::HTTP.get(uri)
|
|
336
|
+
#
|
|
337
|
+
# == Proxy Server
|
|
338
|
+
#
|
|
339
|
+
# An \HTTP object can have
|
|
340
|
+
# a {proxy server}[https://en.wikipedia.org/wiki/Proxy_server].
|
|
341
|
+
#
|
|
342
|
+
# You can create an \HTTP object with a proxy server
|
|
343
|
+
# using method Net::HTTP.new or method Net::HTTP.start.
|
|
344
|
+
#
|
|
345
|
+
# The proxy may be defined either by argument +p_addr+
|
|
346
|
+
# or by environment variable <tt>'http_proxy'</tt>.
|
|
347
|
+
#
|
|
348
|
+
# === Proxy Using Argument +p_addr+ as a \String
|
|
349
|
+
#
|
|
350
|
+
# When argument +p_addr+ is a string hostname,
|
|
351
|
+
# the returned +http+ has the given host as its proxy:
|
|
352
|
+
#
|
|
353
|
+
# http = Net::HTTP.new(hostname, nil, 'proxy.example')
|
|
354
|
+
# http.proxy? # => true
|
|
355
|
+
# http.proxy_from_env? # => false
|
|
356
|
+
# http.proxy_address # => "proxy.example"
|
|
357
|
+
# # These use default values.
|
|
358
|
+
# http.proxy_port # => 80
|
|
359
|
+
# http.proxy_user # => nil
|
|
360
|
+
# http.proxy_pass # => nil
|
|
361
|
+
#
|
|
362
|
+
# The port, username, and password for the proxy may also be given:
|
|
363
|
+
#
|
|
364
|
+
# http = Net::HTTP.new(hostname, nil, 'proxy.example', 8000, 'pname', 'ppass')
|
|
365
|
+
# # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=false>
|
|
366
|
+
# http.proxy? # => true
|
|
367
|
+
# http.proxy_from_env? # => false
|
|
368
|
+
# http.proxy_address # => "proxy.example"
|
|
369
|
+
# http.proxy_port # => 8000
|
|
370
|
+
# http.proxy_user # => "pname"
|
|
371
|
+
# http.proxy_pass # => "ppass"
|
|
372
|
+
#
|
|
373
|
+
# === Proxy Using '<tt>ENV['http_proxy']</tt>'
|
|
374
|
+
#
|
|
375
|
+
# When environment variable <tt>'http_proxy'</tt>
|
|
376
|
+
# is set to a \URI string,
|
|
377
|
+
# the returned +http+ will have the server at that URI as its proxy;
|
|
378
|
+
# note that the \URI string must have a protocol
|
|
379
|
+
# such as <tt>'http'</tt> or <tt>'https'</tt>:
|
|
380
|
+
#
|
|
381
|
+
# ENV['http_proxy'] = 'http://example.com'
|
|
382
|
+
# http = Net::HTTP.new(hostname)
|
|
383
|
+
# http.proxy? # => true
|
|
384
|
+
# http.proxy_from_env? # => true
|
|
385
|
+
# http.proxy_address # => "example.com"
|
|
386
|
+
# # These use default values.
|
|
387
|
+
# http.proxy_port # => 80
|
|
388
|
+
# http.proxy_user # => nil
|
|
389
|
+
# http.proxy_pass # => nil
|
|
390
|
+
#
|
|
391
|
+
# The \URI string may include proxy username, password, and port number:
|
|
392
|
+
#
|
|
393
|
+
# ENV['http_proxy'] = 'http://pname:ppass@example.com:8000'
|
|
394
|
+
# http = Net::HTTP.new(hostname)
|
|
395
|
+
# http.proxy? # => true
|
|
396
|
+
# http.proxy_from_env? # => true
|
|
397
|
+
# http.proxy_address # => "example.com"
|
|
398
|
+
# http.proxy_port # => 8000
|
|
399
|
+
# http.proxy_user # => "pname"
|
|
400
|
+
# http.proxy_pass # => "ppass"
|
|
401
|
+
#
|
|
402
|
+
# === Filtering Proxies
|
|
403
|
+
#
|
|
404
|
+
# With method Net::HTTP.new (but not Net::HTTP.start),
|
|
405
|
+
# you can use argument +p_no_proxy+ to filter proxies:
|
|
406
|
+
#
|
|
407
|
+
# - Reject a certain address:
|
|
408
|
+
#
|
|
409
|
+
# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example')
|
|
410
|
+
# http.proxy_address # => nil
|
|
411
|
+
#
|
|
412
|
+
# - Reject certain domains or subdomains:
|
|
413
|
+
#
|
|
414
|
+
# http = Net::HTTP.new('example.com', nil, 'my.proxy.example', 8000, 'pname', 'ppass', 'proxy.example')
|
|
415
|
+
# http.proxy_address # => nil
|
|
416
|
+
#
|
|
417
|
+
# - Reject certain addresses and port combinations:
|
|
418
|
+
#
|
|
419
|
+
# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example:1234')
|
|
420
|
+
# http.proxy_address # => "proxy.example"
|
|
421
|
+
#
|
|
422
|
+
# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'proxy.example:8000')
|
|
423
|
+
# http.proxy_address # => nil
|
|
424
|
+
#
|
|
425
|
+
# - Reject a list of the types above delimited using a comma:
|
|
426
|
+
#
|
|
427
|
+
# http = Net::HTTP.new('example.com', nil, 'proxy.example', 8000, 'pname', 'ppass', 'my.proxy,proxy.example:8000')
|
|
428
|
+
# http.proxy_address # => nil
|
|
429
|
+
#
|
|
430
|
+
# http = Net::HTTP.new('example.com', nil, 'my.proxy', 8000, 'pname', 'ppass', 'my.proxy,proxy.example:8000')
|
|
431
|
+
# http.proxy_address # => nil
|
|
432
|
+
#
|
|
433
|
+
# == Compression and Decompression
|
|
434
|
+
#
|
|
435
|
+
# \Net::HTTP does not compress the body of a request before sending.
|
|
436
|
+
#
|
|
437
|
+
# By default, \Net::HTTP adds header <tt>'Accept-Encoding'</tt>
|
|
438
|
+
# to a new {request object}[rdoc-ref:Net::HTTPRequest]:
|
|
439
|
+
#
|
|
440
|
+
# Net::HTTP::Get.new(uri)['Accept-Encoding']
|
|
441
|
+
# # => "gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
|
|
442
|
+
#
|
|
443
|
+
# This requests the server to zip-encode the response body if there is one;
|
|
444
|
+
# the server is not required to do so.
|
|
445
|
+
#
|
|
446
|
+
# \Net::HTTP does not automatically decompress a response body
|
|
447
|
+
# if the response has header <tt>'Content-Range'</tt>.
|
|
448
|
+
#
|
|
449
|
+
# Otherwise decompression (or not) depends on the value of header
|
|
450
|
+
# {Content-Encoding}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#content-encoding-response-header]:
|
|
451
|
+
#
|
|
452
|
+
# - <tt>'deflate'</tt>, <tt>'gzip'</tt>, or <tt>'x-gzip'</tt>:
|
|
453
|
+
# decompresses the body and deletes the header.
|
|
454
|
+
# - <tt>'none'</tt> or <tt>'identity'</tt>:
|
|
455
|
+
# does not decompress the body, but deletes the header.
|
|
456
|
+
# - Any other value:
|
|
457
|
+
# leaves the body and header unchanged.
|
|
458
|
+
#
|
|
459
|
+
# == What's Here
|
|
460
|
+
#
|
|
461
|
+
# First, what's elsewhere. Class Net::HTTP:
|
|
462
|
+
#
|
|
463
|
+
# - Inherits from {class Object}[https://docs.ruby-lang.org/en/master/Object.html#class-Object-label-What-27s+Here].
|
|
464
|
+
#
|
|
465
|
+
# This is a categorized summary of methods and attributes.
|
|
466
|
+
#
|
|
467
|
+
# === \Net::HTTP Objects
|
|
468
|
+
#
|
|
469
|
+
# - {::new}[rdoc-ref:Net::HTTP.new]:
|
|
470
|
+
# Creates a new instance.
|
|
471
|
+
# - {#inspect}[rdoc-ref:Net::HTTP#inspect]:
|
|
472
|
+
# Returns a string representation of +self+.
|
|
473
|
+
#
|
|
474
|
+
# === Sessions
|
|
475
|
+
#
|
|
476
|
+
# - {::start}[rdoc-ref:Net::HTTP.start]:
|
|
477
|
+
# Begins a new session in a new \Net::HTTP object.
|
|
478
|
+
# - {#started?}[rdoc-ref:Net::HTTP#started?]:
|
|
479
|
+
# Returns whether in a session.
|
|
480
|
+
# - {#finish}[rdoc-ref:Net::HTTP#finish]:
|
|
481
|
+
# Ends an active session.
|
|
482
|
+
# - {#start}[rdoc-ref:Net::HTTP#start]:
|
|
483
|
+
# Begins a new session in an existing \Net::HTTP object (+self+).
|
|
484
|
+
#
|
|
485
|
+
# === Connections
|
|
486
|
+
#
|
|
487
|
+
# - {:continue_timeout}[rdoc-ref:Net::HTTP#continue_timeout]:
|
|
488
|
+
# Returns the continue timeout.
|
|
489
|
+
# - {#continue_timeout=}[rdoc-ref:Net::HTTP#continue_timeout=]:
|
|
490
|
+
# Sets the continue timeout seconds.
|
|
491
|
+
# - {:keep_alive_timeout}[rdoc-ref:Net::HTTP#keep_alive_timeout]:
|
|
492
|
+
# Returns the keep-alive timeout.
|
|
493
|
+
# - {:keep_alive_timeout=}[rdoc-ref:Net::HTTP#keep_alive_timeout=]:
|
|
494
|
+
# Sets the keep-alive timeout.
|
|
495
|
+
# - {:max_retries}[rdoc-ref:Net::HTTP#max_retries]:
|
|
496
|
+
# Returns the maximum retries.
|
|
497
|
+
# - {#max_retries=}[rdoc-ref:Net::HTTP#max_retries=]:
|
|
498
|
+
# Sets the maximum retries.
|
|
499
|
+
# - {:open_timeout}[rdoc-ref:Net::HTTP#open_timeout]:
|
|
500
|
+
# Returns the open timeout.
|
|
501
|
+
# - {:open_timeout=}[rdoc-ref:Net::HTTP#open_timeout=]:
|
|
502
|
+
# Sets the open timeout.
|
|
503
|
+
# - {:read_timeout}[rdoc-ref:Net::HTTP#read_timeout]:
|
|
504
|
+
# Returns the open timeout.
|
|
505
|
+
# - {:read_timeout=}[rdoc-ref:Net::HTTP#read_timeout=]:
|
|
506
|
+
# Sets the read timeout.
|
|
507
|
+
# - {:ssl_timeout}[rdoc-ref:Net::HTTP#ssl_timeout]:
|
|
508
|
+
# Returns the ssl timeout.
|
|
509
|
+
# - {:ssl_timeout=}[rdoc-ref:Net::HTTP#ssl_timeout=]:
|
|
510
|
+
# Sets the ssl timeout.
|
|
511
|
+
# - {:write_timeout}[rdoc-ref:Net::HTTP#write_timeout]:
|
|
512
|
+
# Returns the write timeout.
|
|
513
|
+
# - {write_timeout=}[rdoc-ref:Net::HTTP#write_timeout=]:
|
|
514
|
+
# Sets the write timeout.
|
|
515
|
+
#
|
|
516
|
+
# === Requests
|
|
517
|
+
#
|
|
518
|
+
# - {::get}[rdoc-ref:Net::HTTP.get]:
|
|
519
|
+
# Sends a GET request and returns the string response body.
|
|
520
|
+
# - {::get_print}[rdoc-ref:Net::HTTP.get_print]:
|
|
521
|
+
# Sends a GET request and write the string response body to $stdout.
|
|
522
|
+
# - {::get_response}[rdoc-ref:Net::HTTP.get_response]:
|
|
523
|
+
# Sends a GET request and returns a response object.
|
|
524
|
+
# - {::post_form}[rdoc-ref:Net::HTTP.post_form]:
|
|
525
|
+
# Sends a POST request with form data and returns a response object.
|
|
526
|
+
# - {::post}[rdoc-ref:Net::HTTP.post]:
|
|
527
|
+
# Sends a POST request with data and returns a response object.
|
|
528
|
+
# - {::put}[rdoc-ref:Net::HTTP.put]:
|
|
529
|
+
# Sends a PUT request with data and returns a response object.
|
|
530
|
+
# - {#copy}[rdoc-ref:Net::HTTP#copy]:
|
|
531
|
+
# Sends a COPY request and returns a response object.
|
|
532
|
+
# - {#delete}[rdoc-ref:Net::HTTP#delete]:
|
|
533
|
+
# Sends a DELETE request and returns a response object.
|
|
534
|
+
# - {#get}[rdoc-ref:Net::HTTP#get]:
|
|
535
|
+
# Sends a GET request and returns a response object.
|
|
536
|
+
# - {#head}[rdoc-ref:Net::HTTP#head]:
|
|
537
|
+
# Sends a HEAD request and returns a response object.
|
|
538
|
+
# - {#lock}[rdoc-ref:Net::HTTP#lock]:
|
|
539
|
+
# Sends a LOCK request and returns a response object.
|
|
540
|
+
# - {#mkcol}[rdoc-ref:Net::HTTP#mkcol]:
|
|
541
|
+
# Sends a MKCOL request and returns a response object.
|
|
542
|
+
# - {#move}[rdoc-ref:Net::HTTP#move]:
|
|
543
|
+
# Sends a MOVE request and returns a response object.
|
|
544
|
+
# - {#options}[rdoc-ref:Net::HTTP#options]:
|
|
545
|
+
# Sends a OPTIONS request and returns a response object.
|
|
546
|
+
# - {#patch}[rdoc-ref:Net::HTTP#patch]:
|
|
547
|
+
# Sends a PATCH request and returns a response object.
|
|
548
|
+
# - {#post}[rdoc-ref:Net::HTTP#post]:
|
|
549
|
+
# Sends a POST request and returns a response object.
|
|
550
|
+
# - {#propfind}[rdoc-ref:Net::HTTP#propfind]:
|
|
551
|
+
# Sends a PROPFIND request and returns a response object.
|
|
552
|
+
# - {#proppatch}[rdoc-ref:Net::HTTP#proppatch]:
|
|
553
|
+
# Sends a PROPPATCH request and returns a response object.
|
|
554
|
+
# - {#put}[rdoc-ref:Net::HTTP#put]:
|
|
555
|
+
# Sends a PUT request and returns a response object.
|
|
556
|
+
# - {#request}[rdoc-ref:Net::HTTP#request]:
|
|
557
|
+
# Sends a request and returns a response object.
|
|
558
|
+
# - {#request_get}[rdoc-ref:Net::HTTP#request_get]:
|
|
559
|
+
# Sends a GET request and forms a response object;
|
|
560
|
+
# if a block given, calls the block with the object,
|
|
561
|
+
# otherwise returns the object.
|
|
562
|
+
# - {#request_head}[rdoc-ref:Net::HTTP#request_head]:
|
|
563
|
+
# Sends a HEAD request and forms a response object;
|
|
564
|
+
# if a block given, calls the block with the object,
|
|
565
|
+
# otherwise returns the object.
|
|
566
|
+
# - {#request_post}[rdoc-ref:Net::HTTP#request_post]:
|
|
567
|
+
# Sends a POST request and forms a response object;
|
|
568
|
+
# if a block given, calls the block with the object,
|
|
569
|
+
# otherwise returns the object.
|
|
570
|
+
# - {#send_request}[rdoc-ref:Net::HTTP#send_request]:
|
|
571
|
+
# Sends a request and returns a response object.
|
|
572
|
+
# - {#trace}[rdoc-ref:Net::HTTP#trace]:
|
|
573
|
+
# Sends a TRACE request and returns a response object.
|
|
574
|
+
# - {#unlock}[rdoc-ref:Net::HTTP#unlock]:
|
|
575
|
+
# Sends an UNLOCK request and returns a response object.
|
|
576
|
+
#
|
|
577
|
+
# === Responses
|
|
578
|
+
#
|
|
579
|
+
# - {:close_on_empty_response}[rdoc-ref:Net::HTTP#close_on_empty_response]:
|
|
580
|
+
# Returns whether to close connection on empty response.
|
|
581
|
+
# - {:close_on_empty_response=}[rdoc-ref:Net::HTTP#close_on_empty_response=]:
|
|
582
|
+
# Sets whether to close connection on empty response.
|
|
583
|
+
# - {:ignore_eof}[rdoc-ref:Net::HTTP#ignore_eof]:
|
|
584
|
+
# Returns whether to ignore end-of-file when reading a response body
|
|
585
|
+
# with <tt>Content-Length</tt> headers.
|
|
586
|
+
# - {:ignore_eof=}[rdoc-ref:Net::HTTP#ignore_eof=]:
|
|
587
|
+
# Sets whether to ignore end-of-file when reading a response body
|
|
588
|
+
# with <tt>Content-Length</tt> headers.
|
|
589
|
+
# - {:response_body_encoding}[rdoc-ref:Net::HTTP#response_body_encoding]:
|
|
590
|
+
# Returns the encoding to use for the response body.
|
|
591
|
+
# - {#response_body_encoding=}[rdoc-ref:Net::HTTP#response_body_encoding=]:
|
|
592
|
+
# Sets the response body encoding.
|
|
593
|
+
#
|
|
594
|
+
# === Proxies
|
|
595
|
+
#
|
|
596
|
+
# - {:proxy_address}[rdoc-ref:Net::HTTP#proxy_address]:
|
|
597
|
+
# Returns the proxy address.
|
|
598
|
+
# - {:proxy_address=}[rdoc-ref:Net::HTTP#proxy_address=]:
|
|
599
|
+
# Sets the proxy address.
|
|
600
|
+
# - {::proxy_class?}[rdoc-ref:Net::HTTP.proxy_class?]:
|
|
601
|
+
# Returns whether +self+ is a proxy class.
|
|
602
|
+
# - {#proxy?}[rdoc-ref:Net::HTTP#proxy?]:
|
|
603
|
+
# Returns whether +self+ has a proxy.
|
|
604
|
+
# - {#proxy_address}[rdoc-ref:Net::HTTP#proxy_address]:
|
|
605
|
+
# Returns the proxy address.
|
|
606
|
+
# - {#proxy_from_env?}[rdoc-ref:Net::HTTP#proxy_from_env?]:
|
|
607
|
+
# Returns whether the proxy is taken from an environment variable.
|
|
608
|
+
# - {:proxy_from_env=}[rdoc-ref:Net::HTTP#proxy_from_env=]:
|
|
609
|
+
# Sets whether the proxy is to be taken from an environment variable.
|
|
610
|
+
# - {:proxy_pass}[rdoc-ref:Net::HTTP#proxy_pass]:
|
|
611
|
+
# Returns the proxy password.
|
|
612
|
+
# - {:proxy_pass=}[rdoc-ref:Net::HTTP#proxy_pass=]:
|
|
613
|
+
# Sets the proxy password.
|
|
614
|
+
# - {:proxy_port}[rdoc-ref:Net::HTTP#proxy_port]:
|
|
615
|
+
# Returns the proxy port.
|
|
616
|
+
# - {:proxy_port=}[rdoc-ref:Net::HTTP#proxy_port=]:
|
|
617
|
+
# Sets the proxy port.
|
|
618
|
+
# - {#proxy_user}[rdoc-ref:Net::HTTP#proxy_user]:
|
|
619
|
+
# Returns the proxy user name.
|
|
620
|
+
# - {:proxy_user=}[rdoc-ref:Net::HTTP#proxy_user=]:
|
|
621
|
+
# Sets the proxy user.
|
|
622
|
+
#
|
|
623
|
+
# === Security
|
|
624
|
+
#
|
|
625
|
+
# - {:ca_file}[rdoc-ref:Net::HTTP#ca_file]:
|
|
626
|
+
# Returns the path to a CA certification file.
|
|
627
|
+
# - {:ca_file=}[rdoc-ref:Net::HTTP#ca_file=]:
|
|
628
|
+
# Sets the path to a CA certification file.
|
|
629
|
+
# - {:ca_path}[rdoc-ref:Net::HTTP#ca_path]:
|
|
630
|
+
# Returns the path of to CA directory containing certification files.
|
|
631
|
+
# - {:ca_path=}[rdoc-ref:Net::HTTP#ca_path=]:
|
|
632
|
+
# Sets the path of to CA directory containing certification files.
|
|
633
|
+
# - {:cert}[rdoc-ref:Net::HTTP#cert]:
|
|
634
|
+
# Returns the OpenSSL::X509::Certificate object to be used for client certification.
|
|
635
|
+
# - {:cert=}[rdoc-ref:Net::HTTP#cert=]:
|
|
636
|
+
# Sets the OpenSSL::X509::Certificate object to be used for client certification.
|
|
637
|
+
# - {:cert_store}[rdoc-ref:Net::HTTP#cert_store]:
|
|
638
|
+
# Returns the X509::Store to be used for verifying peer certificate.
|
|
639
|
+
# - {:cert_store=}[rdoc-ref:Net::HTTP#cert_store=]:
|
|
640
|
+
# Sets the X509::Store to be used for verifying peer certificate.
|
|
641
|
+
# - {:ciphers}[rdoc-ref:Net::HTTP#ciphers]:
|
|
642
|
+
# Returns the available SSL ciphers.
|
|
643
|
+
# - {:ciphers=}[rdoc-ref:Net::HTTP#ciphers=]:
|
|
644
|
+
# Sets the available SSL ciphers.
|
|
645
|
+
# - {:extra_chain_cert}[rdoc-ref:Net::HTTP#extra_chain_cert]:
|
|
646
|
+
# Returns the extra X509 certificates to be added to the certificate chain.
|
|
647
|
+
# - {:extra_chain_cert=}[rdoc-ref:Net::HTTP#extra_chain_cert=]:
|
|
648
|
+
# Sets the extra X509 certificates to be added to the certificate chain.
|
|
649
|
+
# - {:key}[rdoc-ref:Net::HTTP#key]:
|
|
650
|
+
# Returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
|
|
651
|
+
# - {:key=}[rdoc-ref:Net::HTTP#key=]:
|
|
652
|
+
# Sets the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
|
|
653
|
+
# - {:max_version}[rdoc-ref:Net::HTTP#max_version]:
|
|
654
|
+
# Returns the maximum SSL version.
|
|
655
|
+
# - {:max_version=}[rdoc-ref:Net::HTTP#max_version=]:
|
|
656
|
+
# Sets the maximum SSL version.
|
|
657
|
+
# - {:min_version}[rdoc-ref:Net::HTTP#min_version]:
|
|
658
|
+
# Returns the minimum SSL version.
|
|
659
|
+
# - {:min_version=}[rdoc-ref:Net::HTTP#min_version=]:
|
|
660
|
+
# Sets the minimum SSL version.
|
|
661
|
+
# - {#peer_cert}[rdoc-ref:Net::HTTP#peer_cert]:
|
|
662
|
+
# Returns the X509 certificate chain for the session's socket peer.
|
|
663
|
+
# - {:ssl_version}[rdoc-ref:Net::HTTP#ssl_version]:
|
|
664
|
+
# Returns the SSL version.
|
|
665
|
+
# - {:ssl_version=}[rdoc-ref:Net::HTTP#ssl_version=]:
|
|
666
|
+
# Sets the SSL version.
|
|
667
|
+
# - {#use_ssl=}[rdoc-ref:Net::HTTP#use_ssl=]:
|
|
668
|
+
# Sets whether a new session is to use Transport Layer Security.
|
|
669
|
+
# - {#use_ssl?}[rdoc-ref:Net::HTTP#use_ssl?]:
|
|
670
|
+
# Returns whether +self+ uses SSL.
|
|
671
|
+
# - {:verify_callback}[rdoc-ref:Net::HTTP#verify_callback]:
|
|
672
|
+
# Returns the callback for the server certification verification.
|
|
673
|
+
# - {:verify_callback=}[rdoc-ref:Net::HTTP#verify_callback=]:
|
|
674
|
+
# Sets the callback for the server certification verification.
|
|
675
|
+
# - {:verify_depth}[rdoc-ref:Net::HTTP#verify_depth]:
|
|
676
|
+
# Returns the maximum depth for the certificate chain verification.
|
|
677
|
+
# - {:verify_depth=}[rdoc-ref:Net::HTTP#verify_depth=]:
|
|
678
|
+
# Sets the maximum depth for the certificate chain verification.
|
|
679
|
+
# - {:verify_hostname}[rdoc-ref:Net::HTTP#verify_hostname]:
|
|
680
|
+
# Returns the flags for server the certification verification at the beginning of the SSL/TLS session.
|
|
681
|
+
# - {:verify_hostname=}[rdoc-ref:Net::HTTP#verify_hostname=]:
|
|
682
|
+
# Sets he flags for server the certification verification at the beginning of the SSL/TLS session.
|
|
683
|
+
# - {:verify_mode}[rdoc-ref:Net::HTTP#verify_mode]:
|
|
684
|
+
# Returns the flags for server the certification verification at the beginning of the SSL/TLS session.
|
|
685
|
+
# - {:verify_mode=}[rdoc-ref:Net::HTTP#verify_mode=]:
|
|
686
|
+
# Sets the flags for server the certification verification at the beginning of the SSL/TLS session.
|
|
687
|
+
#
|
|
688
|
+
# === Addresses and Ports
|
|
689
|
+
#
|
|
690
|
+
# - {:address}[rdoc-ref:Net::HTTP#address]:
|
|
691
|
+
# Returns the string host name or host IP.
|
|
692
|
+
# - {::default_port}[rdoc-ref:Net::HTTP.default_port]:
|
|
693
|
+
# Returns integer 80, the default port to use for HTTP requests.
|
|
694
|
+
# - {::http_default_port}[rdoc-ref:Net::HTTP.http_default_port]:
|
|
695
|
+
# Returns integer 80, the default port to use for HTTP requests.
|
|
696
|
+
# - {::https_default_port}[rdoc-ref:Net::HTTP.https_default_port]:
|
|
697
|
+
# Returns integer 443, the default port to use for HTTPS requests.
|
|
698
|
+
# - {#ipaddr}[rdoc-ref:Net::HTTP#ipaddr]:
|
|
699
|
+
# Returns the IP address for the connection.
|
|
700
|
+
# - {#ipaddr=}[rdoc-ref:Net::HTTP#ipaddr=]:
|
|
701
|
+
# Sets the IP address for the connection.
|
|
702
|
+
# - {:local_host}[rdoc-ref:Net::HTTP#local_host]:
|
|
703
|
+
# Returns the string local host used to establish the connection.
|
|
704
|
+
# - {:local_host=}[rdoc-ref:Net::HTTP#local_host=]:
|
|
705
|
+
# Sets the string local host used to establish the connection.
|
|
706
|
+
# - {:local_port}[rdoc-ref:Net::HTTP#local_port]:
|
|
707
|
+
# Returns the integer local port used to establish the connection.
|
|
708
|
+
# - {:local_port=}[rdoc-ref:Net::HTTP#local_port=]:
|
|
709
|
+
# Sets the integer local port used to establish the connection.
|
|
710
|
+
# - {:port}[rdoc-ref:Net::HTTP#port]:
|
|
711
|
+
# Returns the integer port number.
|
|
712
|
+
#
|
|
713
|
+
# === \HTTP Version
|
|
714
|
+
#
|
|
715
|
+
# - {::version_1_2?}[rdoc-ref:Net::HTTP.version_1_2?]
|
|
716
|
+
# (aliased as {::version_1_2}[rdoc-ref:Net::HTTP.version_1_2]):
|
|
717
|
+
# Returns true; retained for compatibility.
|
|
718
|
+
#
|
|
719
|
+
# === Debugging
|
|
720
|
+
#
|
|
721
|
+
# - {#set_debug_output}[rdoc-ref:Net::HTTP#set_debug_output]:
|
|
722
|
+
# Sets the output stream for debugging.
|
|
723
|
+
#
|
|
724
|
+
class HTTP < Protocol
|
|
725
|
+
|
|
726
|
+
# :stopdoc:
|
|
727
|
+
VERSION = "0.9.1"
|
|
728
|
+
HTTPVersion = '1.1'
|
|
729
|
+
begin
|
|
730
|
+
require 'zlib'
|
|
731
|
+
HAVE_ZLIB=true
|
|
732
|
+
rescue LoadError
|
|
733
|
+
HAVE_ZLIB=false
|
|
734
|
+
end
|
|
735
|
+
# :startdoc:
|
|
736
|
+
|
|
737
|
+
# Returns +true+; retained for compatibility.
|
|
738
|
+
def HTTP.version_1_2
|
|
739
|
+
true
|
|
740
|
+
end
|
|
741
|
+
|
|
742
|
+
# Returns +true+; retained for compatibility.
|
|
743
|
+
def HTTP.version_1_2?
|
|
744
|
+
true
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
# Returns +false+; retained for compatibility.
|
|
748
|
+
def HTTP.version_1_1? #:nodoc:
|
|
749
|
+
false
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
class << HTTP
|
|
753
|
+
alias is_version_1_1? version_1_1? #:nodoc:
|
|
754
|
+
alias is_version_1_2? version_1_2? #:nodoc:
|
|
755
|
+
end
|
|
756
|
+
|
|
757
|
+
# :call-seq:
|
|
758
|
+
# Net::HTTP.get_print(hostname, path, port = 80) -> nil
|
|
759
|
+
# Net::HTTP:get_print(uri, headers = {}, port = uri.port) -> nil
|
|
760
|
+
#
|
|
761
|
+
# Like Net::HTTP.get, but writes the returned body to $stdout;
|
|
762
|
+
# returns +nil+.
|
|
763
|
+
def HTTP.get_print(uri_or_host, path_or_headers = nil, port = nil)
|
|
764
|
+
get_response(uri_or_host, path_or_headers, port) {|res|
|
|
765
|
+
res.read_body do |chunk|
|
|
766
|
+
$stdout.print chunk
|
|
767
|
+
end
|
|
768
|
+
}
|
|
769
|
+
nil
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
# :call-seq:
|
|
773
|
+
# Net::HTTP.get(hostname, path, port = 80) -> body
|
|
774
|
+
# Net::HTTP:get(uri, headers = {}, port = uri.port) -> body
|
|
775
|
+
#
|
|
776
|
+
# Sends a GET request and returns the \HTTP response body as a string.
|
|
777
|
+
#
|
|
778
|
+
# With string arguments +hostname+ and +path+:
|
|
779
|
+
#
|
|
780
|
+
# hostname = 'jsonplaceholder.typicode.com'
|
|
781
|
+
# path = '/todos/1'
|
|
782
|
+
# puts Net::HTTP.get(hostname, path)
|
|
783
|
+
#
|
|
784
|
+
# Output:
|
|
785
|
+
#
|
|
786
|
+
# {
|
|
787
|
+
# "userId": 1,
|
|
788
|
+
# "id": 1,
|
|
789
|
+
# "title": "delectus aut autem",
|
|
790
|
+
# "completed": false
|
|
791
|
+
# }
|
|
792
|
+
#
|
|
793
|
+
# With URI object +uri+ and optional hash argument +headers+:
|
|
794
|
+
#
|
|
795
|
+
# uri = URI('https://jsonplaceholder.typicode.com/todos/1')
|
|
796
|
+
# headers = {'Content-type' => 'application/json; charset=UTF-8'}
|
|
797
|
+
# Net::HTTP.get(uri, headers)
|
|
798
|
+
#
|
|
799
|
+
# Related:
|
|
800
|
+
#
|
|
801
|
+
# - Net::HTTP::Get: request class for \HTTP method +GET+.
|
|
802
|
+
# - Net::HTTP#get: convenience method for \HTTP method +GET+.
|
|
803
|
+
#
|
|
804
|
+
def HTTP.get(uri_or_host, path_or_headers = nil, port = nil)
|
|
805
|
+
get_response(uri_or_host, path_or_headers, port).body
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
# :call-seq:
|
|
809
|
+
# Net::HTTP.get_response(hostname, path, port = 80) -> http_response
|
|
810
|
+
# Net::HTTP:get_response(uri, headers = {}, port = uri.port) -> http_response
|
|
811
|
+
#
|
|
812
|
+
# Like Net::HTTP.get, but returns a Net::HTTPResponse object
|
|
813
|
+
# instead of the body string.
|
|
814
|
+
def HTTP.get_response(uri_or_host, path_or_headers = nil, port = nil, &block)
|
|
815
|
+
if path_or_headers && !path_or_headers.is_a?(Hash)
|
|
816
|
+
host = uri_or_host
|
|
817
|
+
path = path_or_headers
|
|
818
|
+
new(host, port || HTTP.default_port).start {|http|
|
|
819
|
+
return http.request_get(path, &block)
|
|
820
|
+
}
|
|
821
|
+
else
|
|
822
|
+
uri = uri_or_host
|
|
823
|
+
headers = path_or_headers
|
|
824
|
+
start(uri.hostname, uri.port,
|
|
825
|
+
:use_ssl => uri.scheme == 'https') {|http|
|
|
826
|
+
return http.request_get(uri, headers, &block)
|
|
827
|
+
}
|
|
828
|
+
end
|
|
829
|
+
end
|
|
830
|
+
|
|
831
|
+
# Posts data to a host; returns a Net::HTTPResponse object.
|
|
832
|
+
#
|
|
833
|
+
# Argument +url+ must be a URL;
|
|
834
|
+
# argument +data+ must be a string:
|
|
835
|
+
#
|
|
836
|
+
# _uri = uri.dup
|
|
837
|
+
# _uri.path = '/posts'
|
|
838
|
+
# data = '{"title": "foo", "body": "bar", "userId": 1}'
|
|
839
|
+
# headers = {'content-type': 'application/json'}
|
|
840
|
+
# res = Net::HTTP.post(_uri, data, headers) # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
841
|
+
# puts res.body
|
|
842
|
+
#
|
|
843
|
+
# Output:
|
|
844
|
+
#
|
|
845
|
+
# {
|
|
846
|
+
# "title": "foo",
|
|
847
|
+
# "body": "bar",
|
|
848
|
+
# "userId": 1,
|
|
849
|
+
# "id": 101
|
|
850
|
+
# }
|
|
851
|
+
#
|
|
852
|
+
# Related:
|
|
853
|
+
#
|
|
854
|
+
# - Net::HTTP::Post: request class for \HTTP method +POST+.
|
|
855
|
+
# - Net::HTTP#post: convenience method for \HTTP method +POST+.
|
|
856
|
+
#
|
|
857
|
+
def HTTP.post(url, data, header = nil)
|
|
858
|
+
start(url.hostname, url.port,
|
|
859
|
+
:use_ssl => url.scheme == 'https' ) {|http|
|
|
860
|
+
http.post(url, data, header)
|
|
861
|
+
}
|
|
862
|
+
end
|
|
863
|
+
|
|
864
|
+
# Posts data to a host; returns a Net::HTTPResponse object.
|
|
865
|
+
#
|
|
866
|
+
# Argument +url+ must be a URI;
|
|
867
|
+
# argument +data+ must be a hash:
|
|
868
|
+
#
|
|
869
|
+
# _uri = uri.dup
|
|
870
|
+
# _uri.path = '/posts'
|
|
871
|
+
# data = {title: 'foo', body: 'bar', userId: 1}
|
|
872
|
+
# res = Net::HTTP.post_form(_uri, data) # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
873
|
+
# puts res.body
|
|
874
|
+
#
|
|
875
|
+
# Output:
|
|
876
|
+
#
|
|
877
|
+
# {
|
|
878
|
+
# "title": "foo",
|
|
879
|
+
# "body": "bar",
|
|
880
|
+
# "userId": "1",
|
|
881
|
+
# "id": 101
|
|
882
|
+
# }
|
|
883
|
+
#
|
|
884
|
+
def HTTP.post_form(url, params)
|
|
885
|
+
req = Post.new(url)
|
|
886
|
+
req.form_data = params
|
|
887
|
+
req.basic_auth url.user, url.password if url.user
|
|
888
|
+
start(url.hostname, url.port,
|
|
889
|
+
:use_ssl => url.scheme == 'https' ) {|http|
|
|
890
|
+
http.request(req)
|
|
891
|
+
}
|
|
892
|
+
end
|
|
893
|
+
|
|
894
|
+
# Sends a PUT request to the server; returns a Net::HTTPResponse object.
|
|
895
|
+
#
|
|
896
|
+
# Argument +url+ must be a URL;
|
|
897
|
+
# argument +data+ must be a string:
|
|
898
|
+
#
|
|
899
|
+
# _uri = uri.dup
|
|
900
|
+
# _uri.path = '/posts'
|
|
901
|
+
# data = '{"title": "foo", "body": "bar", "userId": 1}'
|
|
902
|
+
# headers = {'content-type': 'application/json'}
|
|
903
|
+
# res = Net::HTTP.put(_uri, data, headers) # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
904
|
+
# puts res.body
|
|
905
|
+
#
|
|
906
|
+
# Output:
|
|
907
|
+
#
|
|
908
|
+
# {
|
|
909
|
+
# "title": "foo",
|
|
910
|
+
# "body": "bar",
|
|
911
|
+
# "userId": 1,
|
|
912
|
+
# "id": 101
|
|
913
|
+
# }
|
|
914
|
+
#
|
|
915
|
+
# Related:
|
|
916
|
+
#
|
|
917
|
+
# - Net::HTTP::Put: request class for \HTTP method +PUT+.
|
|
918
|
+
# - Net::HTTP#put: convenience method for \HTTP method +PUT+.
|
|
919
|
+
#
|
|
920
|
+
def HTTP.put(url, data, header = nil)
|
|
921
|
+
start(url.hostname, url.port,
|
|
922
|
+
:use_ssl => url.scheme == 'https' ) {|http|
|
|
923
|
+
http.put(url, data, header)
|
|
924
|
+
}
|
|
925
|
+
end
|
|
926
|
+
|
|
927
|
+
#
|
|
928
|
+
# \HTTP session management
|
|
929
|
+
#
|
|
930
|
+
|
|
931
|
+
# Returns integer +80+, the default port to use for \HTTP requests:
|
|
932
|
+
#
|
|
933
|
+
# Net::HTTP.default_port # => 80
|
|
934
|
+
#
|
|
935
|
+
def HTTP.default_port
|
|
936
|
+
http_default_port()
|
|
937
|
+
end
|
|
938
|
+
|
|
939
|
+
# Returns integer +80+, the default port to use for \HTTP requests:
|
|
940
|
+
#
|
|
941
|
+
# Net::HTTP.http_default_port # => 80
|
|
942
|
+
#
|
|
943
|
+
def HTTP.http_default_port
|
|
944
|
+
80
|
|
945
|
+
end
|
|
946
|
+
|
|
947
|
+
# Returns integer +443+, the default port to use for HTTPS requests:
|
|
948
|
+
#
|
|
949
|
+
# Net::HTTP.https_default_port # => 443
|
|
950
|
+
#
|
|
951
|
+
def HTTP.https_default_port
|
|
952
|
+
443
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
def HTTP.socket_type #:nodoc: obsolete
|
|
956
|
+
BufferedIO
|
|
957
|
+
end
|
|
958
|
+
|
|
959
|
+
# :call-seq:
|
|
960
|
+
# HTTP.start(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, opts) -> http
|
|
961
|
+
# HTTP.start(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, opts) {|http| ... } -> object
|
|
962
|
+
#
|
|
963
|
+
# Creates a new \Net::HTTP object, +http+, via \Net::HTTP.new:
|
|
964
|
+
#
|
|
965
|
+
# - For arguments +address+ and +port+, see Net::HTTP.new.
|
|
966
|
+
# - For proxy-defining arguments +p_addr+ through +p_pass+,
|
|
967
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
968
|
+
# - For argument +opts+, see below.
|
|
969
|
+
#
|
|
970
|
+
# With no block given:
|
|
971
|
+
#
|
|
972
|
+
# - Calls <tt>http.start</tt> with no block (see #start),
|
|
973
|
+
# which opens a TCP connection and \HTTP session.
|
|
974
|
+
# - Returns +http+.
|
|
975
|
+
# - The caller should call #finish to close the session:
|
|
976
|
+
#
|
|
977
|
+
# http = Net::HTTP.start(hostname)
|
|
978
|
+
# http.started? # => true
|
|
979
|
+
# http.finish
|
|
980
|
+
# http.started? # => false
|
|
981
|
+
#
|
|
982
|
+
# With a block given:
|
|
983
|
+
#
|
|
984
|
+
# - Calls <tt>http.start</tt> with the block (see #start), which:
|
|
985
|
+
#
|
|
986
|
+
# - Opens a TCP connection and \HTTP session.
|
|
987
|
+
# - Calls the block,
|
|
988
|
+
# which may make any number of requests to the host.
|
|
989
|
+
# - Closes the \HTTP session and TCP connection on block exit.
|
|
990
|
+
# - Returns the block's value +object+.
|
|
991
|
+
#
|
|
992
|
+
# - Returns +object+.
|
|
993
|
+
#
|
|
994
|
+
# Example:
|
|
995
|
+
#
|
|
996
|
+
# hostname = 'jsonplaceholder.typicode.com'
|
|
997
|
+
# Net::HTTP.start(hostname) do |http|
|
|
998
|
+
# puts http.get('/todos/1').body
|
|
999
|
+
# puts http.get('/todos/2').body
|
|
1000
|
+
# end
|
|
1001
|
+
#
|
|
1002
|
+
# Output:
|
|
1003
|
+
#
|
|
1004
|
+
# {
|
|
1005
|
+
# "userId": 1,
|
|
1006
|
+
# "id": 1,
|
|
1007
|
+
# "title": "delectus aut autem",
|
|
1008
|
+
# "completed": false
|
|
1009
|
+
# }
|
|
1010
|
+
# {
|
|
1011
|
+
# "userId": 1,
|
|
1012
|
+
# "id": 2,
|
|
1013
|
+
# "title": "quis ut nam facilis et officia qui",
|
|
1014
|
+
# "completed": false
|
|
1015
|
+
# }
|
|
1016
|
+
#
|
|
1017
|
+
# If the last argument given is a hash, it is the +opts+ hash,
|
|
1018
|
+
# where each key is a method or accessor to be called,
|
|
1019
|
+
# and its value is the value to be set.
|
|
1020
|
+
#
|
|
1021
|
+
# The keys may include:
|
|
1022
|
+
#
|
|
1023
|
+
# - #ca_file
|
|
1024
|
+
# - #ca_path
|
|
1025
|
+
# - #cert
|
|
1026
|
+
# - #cert_store
|
|
1027
|
+
# - #ciphers
|
|
1028
|
+
# - #close_on_empty_response
|
|
1029
|
+
# - +ipaddr+ (calls #ipaddr=)
|
|
1030
|
+
# - #keep_alive_timeout
|
|
1031
|
+
# - #key
|
|
1032
|
+
# - #open_timeout
|
|
1033
|
+
# - #read_timeout
|
|
1034
|
+
# - #ssl_timeout
|
|
1035
|
+
# - #ssl_version
|
|
1036
|
+
# - +use_ssl+ (calls #use_ssl=)
|
|
1037
|
+
# - #verify_callback
|
|
1038
|
+
# - #verify_depth
|
|
1039
|
+
# - #verify_mode
|
|
1040
|
+
# - #write_timeout
|
|
1041
|
+
#
|
|
1042
|
+
# Note: If +port+ is +nil+ and <tt>opts[:use_ssl]</tt> is a truthy value,
|
|
1043
|
+
# the value passed to +new+ is Net::HTTP.https_default_port, not +port+.
|
|
1044
|
+
#
|
|
1045
|
+
def HTTP.start(address, *arg, &block) # :yield: +http+
|
|
1046
|
+
arg.pop if opt = Hash.try_convert(arg[-1])
|
|
1047
|
+
port, p_addr, p_port, p_user, p_pass = *arg
|
|
1048
|
+
p_addr = :ENV if arg.size < 2
|
|
1049
|
+
port = https_default_port if !port && opt && opt[:use_ssl]
|
|
1050
|
+
http = new(address, port, p_addr, p_port, p_user, p_pass)
|
|
1051
|
+
http.ipaddr = opt[:ipaddr] if opt && opt[:ipaddr]
|
|
1052
|
+
|
|
1053
|
+
if opt
|
|
1054
|
+
if opt[:use_ssl]
|
|
1055
|
+
opt = {verify_mode: OpenSSL::SSL::VERIFY_PEER}.update(opt)
|
|
1056
|
+
end
|
|
1057
|
+
http.methods.grep(/\A(\w+)=\z/) do |meth|
|
|
1058
|
+
key = $1.to_sym
|
|
1059
|
+
opt.key?(key) or next
|
|
1060
|
+
http.__send__(meth, opt[key])
|
|
1061
|
+
end
|
|
1062
|
+
end
|
|
1063
|
+
|
|
1064
|
+
http.start(&block)
|
|
1065
|
+
end
|
|
1066
|
+
|
|
1067
|
+
class << HTTP
|
|
1068
|
+
alias newobj new # :nodoc:
|
|
1069
|
+
end
|
|
1070
|
+
|
|
1071
|
+
# Returns a new \Net::HTTP object +http+
|
|
1072
|
+
# (but does not open a TCP connection or \HTTP session).
|
|
1073
|
+
#
|
|
1074
|
+
# With only string argument +address+ given
|
|
1075
|
+
# (and <tt>ENV['http_proxy']</tt> undefined or +nil+),
|
|
1076
|
+
# the returned +http+:
|
|
1077
|
+
#
|
|
1078
|
+
# - Has the given address.
|
|
1079
|
+
# - Has the default port number, Net::HTTP.default_port (80).
|
|
1080
|
+
# - Has no proxy.
|
|
1081
|
+
#
|
|
1082
|
+
# Example:
|
|
1083
|
+
#
|
|
1084
|
+
# http = Net::HTTP.new(hostname)
|
|
1085
|
+
# # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=false>
|
|
1086
|
+
# http.address # => "jsonplaceholder.typicode.com"
|
|
1087
|
+
# http.port # => 80
|
|
1088
|
+
# http.proxy? # => false
|
|
1089
|
+
#
|
|
1090
|
+
# With integer argument +port+ also given,
|
|
1091
|
+
# the returned +http+ has the given port:
|
|
1092
|
+
#
|
|
1093
|
+
# http = Net::HTTP.new(hostname, 8000)
|
|
1094
|
+
# # => #<Net::HTTP jsonplaceholder.typicode.com:8000 open=false>
|
|
1095
|
+
# http.port # => 8000
|
|
1096
|
+
#
|
|
1097
|
+
# For proxy-defining arguments +p_addr+ through +p_no_proxy+,
|
|
1098
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1099
|
+
#
|
|
1100
|
+
def HTTP.new(address, port = nil, p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, p_no_proxy = nil, p_use_ssl = nil)
|
|
1101
|
+
http = super address, port
|
|
1102
|
+
|
|
1103
|
+
if proxy_class? then # from Net::HTTP::Proxy()
|
|
1104
|
+
http.proxy_from_env = @proxy_from_env
|
|
1105
|
+
http.proxy_address = @proxy_address
|
|
1106
|
+
http.proxy_port = @proxy_port
|
|
1107
|
+
http.proxy_user = @proxy_user
|
|
1108
|
+
http.proxy_pass = @proxy_pass
|
|
1109
|
+
http.proxy_use_ssl = @proxy_use_ssl
|
|
1110
|
+
elsif p_addr == :ENV then
|
|
1111
|
+
http.proxy_from_env = true
|
|
1112
|
+
else
|
|
1113
|
+
if p_addr && p_no_proxy && !URI::Generic.use_proxy?(address, address, port, p_no_proxy)
|
|
1114
|
+
p_addr = nil
|
|
1115
|
+
p_port = nil
|
|
1116
|
+
end
|
|
1117
|
+
http.proxy_address = p_addr
|
|
1118
|
+
http.proxy_port = p_port || default_port
|
|
1119
|
+
http.proxy_user = p_user
|
|
1120
|
+
http.proxy_pass = p_pass
|
|
1121
|
+
http.proxy_use_ssl = p_use_ssl
|
|
1122
|
+
end
|
|
1123
|
+
|
|
1124
|
+
http
|
|
1125
|
+
end
|
|
1126
|
+
|
|
1127
|
+
class << HTTP
|
|
1128
|
+
# Allows to set the default configuration that will be used
|
|
1129
|
+
# when creating a new connection.
|
|
1130
|
+
#
|
|
1131
|
+
# Example:
|
|
1132
|
+
#
|
|
1133
|
+
# Net::HTTP.default_configuration = {
|
|
1134
|
+
# read_timeout: 1,
|
|
1135
|
+
# write_timeout: 1
|
|
1136
|
+
# }
|
|
1137
|
+
# http = Net::HTTP.new(hostname)
|
|
1138
|
+
# http.open_timeout # => 60
|
|
1139
|
+
# http.read_timeout # => 1
|
|
1140
|
+
# http.write_timeout # => 1
|
|
1141
|
+
#
|
|
1142
|
+
attr_accessor :default_configuration
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
# Creates a new \Net::HTTP object for the specified server address,
|
|
1146
|
+
# without opening the TCP connection or initializing the \HTTP session.
|
|
1147
|
+
# The +address+ should be a DNS hostname or IP address.
|
|
1148
|
+
def initialize(address, port = nil) # :nodoc:
|
|
1149
|
+
defaults = {
|
|
1150
|
+
keep_alive_timeout: 2,
|
|
1151
|
+
close_on_empty_response: false,
|
|
1152
|
+
open_timeout: 60,
|
|
1153
|
+
read_timeout: 60,
|
|
1154
|
+
write_timeout: 60,
|
|
1155
|
+
continue_timeout: nil,
|
|
1156
|
+
max_retries: 1,
|
|
1157
|
+
debug_output: nil,
|
|
1158
|
+
response_body_encoding: false,
|
|
1159
|
+
ignore_eof: true
|
|
1160
|
+
}
|
|
1161
|
+
options = defaults.merge(self.class.default_configuration || {})
|
|
1162
|
+
|
|
1163
|
+
@address = address
|
|
1164
|
+
@port = (port || HTTP.default_port)
|
|
1165
|
+
@ipaddr = nil
|
|
1166
|
+
@local_host = nil
|
|
1167
|
+
@local_port = nil
|
|
1168
|
+
@curr_http_version = HTTPVersion
|
|
1169
|
+
@keep_alive_timeout = options[:keep_alive_timeout]
|
|
1170
|
+
@last_communicated = nil
|
|
1171
|
+
@close_on_empty_response = options[:close_on_empty_response]
|
|
1172
|
+
@socket = nil
|
|
1173
|
+
@started = false
|
|
1174
|
+
@open_timeout = options[:open_timeout]
|
|
1175
|
+
@read_timeout = options[:read_timeout]
|
|
1176
|
+
@write_timeout = options[:write_timeout]
|
|
1177
|
+
@continue_timeout = options[:continue_timeout]
|
|
1178
|
+
@max_retries = options[:max_retries]
|
|
1179
|
+
@debug_output = options[:debug_output]
|
|
1180
|
+
@response_body_encoding = options[:response_body_encoding]
|
|
1181
|
+
@ignore_eof = options[:ignore_eof]
|
|
1182
|
+
@tcpsocket_supports_open_timeout = nil
|
|
1183
|
+
|
|
1184
|
+
@proxy_from_env = false
|
|
1185
|
+
@proxy_uri = nil
|
|
1186
|
+
@proxy_address = nil
|
|
1187
|
+
@proxy_port = nil
|
|
1188
|
+
@proxy_user = nil
|
|
1189
|
+
@proxy_pass = nil
|
|
1190
|
+
@proxy_use_ssl = nil
|
|
1191
|
+
|
|
1192
|
+
@use_ssl = false
|
|
1193
|
+
@ssl_context = nil
|
|
1194
|
+
@ssl_session = nil
|
|
1195
|
+
@sspi_enabled = false
|
|
1196
|
+
SSL_IVNAMES.each do |ivname|
|
|
1197
|
+
instance_variable_set ivname, nil
|
|
1198
|
+
end
|
|
1199
|
+
end
|
|
1200
|
+
|
|
1201
|
+
# Returns a string representation of +self+:
|
|
1202
|
+
#
|
|
1203
|
+
# Net::HTTP.new(hostname).inspect
|
|
1204
|
+
# # => "#<Net::HTTP jsonplaceholder.typicode.com:80 open=false>"
|
|
1205
|
+
#
|
|
1206
|
+
def inspect
|
|
1207
|
+
"#<#{self.class} #{@address}:#{@port} open=#{started?}>"
|
|
1208
|
+
end
|
|
1209
|
+
|
|
1210
|
+
# *WARNING* This method opens a serious security hole.
|
|
1211
|
+
# Never use this method in production code.
|
|
1212
|
+
#
|
|
1213
|
+
# Sets the output stream for debugging:
|
|
1214
|
+
#
|
|
1215
|
+
# http = Net::HTTP.new(hostname)
|
|
1216
|
+
# File.open('t.tmp', 'w') do |file|
|
|
1217
|
+
# http.set_debug_output(file)
|
|
1218
|
+
# http.start
|
|
1219
|
+
# http.get('/nosuch/1')
|
|
1220
|
+
# http.finish
|
|
1221
|
+
# end
|
|
1222
|
+
# puts File.read('t.tmp')
|
|
1223
|
+
#
|
|
1224
|
+
# Output:
|
|
1225
|
+
#
|
|
1226
|
+
# opening connection to jsonplaceholder.typicode.com:80...
|
|
1227
|
+
# opened
|
|
1228
|
+
# <- "GET /nosuch/1 HTTP/1.1\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nUser-Agent: Ruby\r\nHost: jsonplaceholder.typicode.com\r\n\r\n"
|
|
1229
|
+
# -> "HTTP/1.1 404 Not Found\r\n"
|
|
1230
|
+
# -> "Date: Mon, 12 Dec 2022 21:14:11 GMT\r\n"
|
|
1231
|
+
# -> "Content-Type: application/json; charset=utf-8\r\n"
|
|
1232
|
+
# -> "Content-Length: 2\r\n"
|
|
1233
|
+
# -> "Connection: keep-alive\r\n"
|
|
1234
|
+
# -> "X-Powered-By: Express\r\n"
|
|
1235
|
+
# -> "X-Ratelimit-Limit: 1000\r\n"
|
|
1236
|
+
# -> "X-Ratelimit-Remaining: 999\r\n"
|
|
1237
|
+
# -> "X-Ratelimit-Reset: 1670879660\r\n"
|
|
1238
|
+
# -> "Vary: Origin, Accept-Encoding\r\n"
|
|
1239
|
+
# -> "Access-Control-Allow-Credentials: true\r\n"
|
|
1240
|
+
# -> "Cache-Control: max-age=43200\r\n"
|
|
1241
|
+
# -> "Pragma: no-cache\r\n"
|
|
1242
|
+
# -> "Expires: -1\r\n"
|
|
1243
|
+
# -> "X-Content-Type-Options: nosniff\r\n"
|
|
1244
|
+
# -> "Etag: W/\"2-vyGp6PvFo4RvsFtPoIWeCReyIC8\"\r\n"
|
|
1245
|
+
# -> "Via: 1.1 vegur\r\n"
|
|
1246
|
+
# -> "CF-Cache-Status: MISS\r\n"
|
|
1247
|
+
# -> "Server-Timing: cf-q-config;dur=1.3000000762986e-05\r\n"
|
|
1248
|
+
# -> "Report-To: {\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yOr40jo%2BwS1KHzhTlVpl54beJ5Wx2FcG4gGV0XVrh3X9OlR5q4drUn2dkt5DGO4GDcE%2BVXT7CNgJvGs%2BZleIyMu8CLieFiDIvOviOY3EhHg94m0ZNZgrEdpKD0S85S507l1vsEwEHkoTm%2Ff19SiO\"}],\"group\":\"cf-nel\",\"max_age\":604800}\r\n"
|
|
1249
|
+
# -> "NEL: {\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}\r\n"
|
|
1250
|
+
# -> "Server: cloudflare\r\n"
|
|
1251
|
+
# -> "CF-RAY: 778977dc484ce591-DFW\r\n"
|
|
1252
|
+
# -> "alt-svc: h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400\r\n"
|
|
1253
|
+
# -> "\r\n"
|
|
1254
|
+
# reading 2 bytes...
|
|
1255
|
+
# -> "{}"
|
|
1256
|
+
# read 2 bytes
|
|
1257
|
+
# Conn keep-alive
|
|
1258
|
+
#
|
|
1259
|
+
def set_debug_output(output)
|
|
1260
|
+
warn 'Net::HTTP#set_debug_output called after HTTP started', uplevel: 1 if started?
|
|
1261
|
+
@debug_output = output
|
|
1262
|
+
end
|
|
1263
|
+
|
|
1264
|
+
# Returns the string host name or host IP given as argument +address+ in ::new.
|
|
1265
|
+
attr_reader :address
|
|
1266
|
+
|
|
1267
|
+
# Returns the integer port number given as argument +port+ in ::new.
|
|
1268
|
+
attr_reader :port
|
|
1269
|
+
|
|
1270
|
+
# Sets or returns the string local host used to establish the connection;
|
|
1271
|
+
# initially +nil+.
|
|
1272
|
+
attr_accessor :local_host
|
|
1273
|
+
|
|
1274
|
+
# Sets or returns the integer local port used to establish the connection;
|
|
1275
|
+
# initially +nil+.
|
|
1276
|
+
attr_accessor :local_port
|
|
1277
|
+
|
|
1278
|
+
# Returns the encoding to use for the response body;
|
|
1279
|
+
# see #response_body_encoding=.
|
|
1280
|
+
attr_reader :response_body_encoding
|
|
1281
|
+
|
|
1282
|
+
# Sets the encoding to be used for the response body;
|
|
1283
|
+
# returns the encoding.
|
|
1284
|
+
#
|
|
1285
|
+
# The given +value+ may be:
|
|
1286
|
+
#
|
|
1287
|
+
# - An Encoding object.
|
|
1288
|
+
# - The name of an encoding.
|
|
1289
|
+
# - An alias for an encoding name.
|
|
1290
|
+
#
|
|
1291
|
+
# See {Encoding}[https://docs.ruby-lang.org/en/master/Encoding.html].
|
|
1292
|
+
#
|
|
1293
|
+
# Examples:
|
|
1294
|
+
#
|
|
1295
|
+
# http = Net::HTTP.new(hostname)
|
|
1296
|
+
# http.response_body_encoding = Encoding::US_ASCII # => #<Encoding:US-ASCII>
|
|
1297
|
+
# http.response_body_encoding = 'US-ASCII' # => "US-ASCII"
|
|
1298
|
+
# http.response_body_encoding = 'ASCII' # => "ASCII"
|
|
1299
|
+
#
|
|
1300
|
+
def response_body_encoding=(value)
|
|
1301
|
+
value = Encoding.find(value) if value.is_a?(String)
|
|
1302
|
+
@response_body_encoding = value
|
|
1303
|
+
end
|
|
1304
|
+
|
|
1305
|
+
# Sets whether to determine the proxy from environment variable
|
|
1306
|
+
# '<tt>ENV['http_proxy']</tt>';
|
|
1307
|
+
# see {Proxy Using ENV['http_proxy']}[rdoc-ref:Net::HTTP@Proxy+Using+-27ENV-5B-27http_proxy-27-5D-27].
|
|
1308
|
+
attr_writer :proxy_from_env
|
|
1309
|
+
|
|
1310
|
+
# Sets the proxy address;
|
|
1311
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1312
|
+
attr_writer :proxy_address
|
|
1313
|
+
|
|
1314
|
+
# Sets the proxy port;
|
|
1315
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1316
|
+
attr_writer :proxy_port
|
|
1317
|
+
|
|
1318
|
+
# Sets the proxy user;
|
|
1319
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1320
|
+
attr_writer :proxy_user
|
|
1321
|
+
|
|
1322
|
+
# Sets the proxy password;
|
|
1323
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1324
|
+
attr_writer :proxy_pass
|
|
1325
|
+
|
|
1326
|
+
# Sets whether the proxy uses SSL;
|
|
1327
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1328
|
+
attr_writer :proxy_use_ssl
|
|
1329
|
+
|
|
1330
|
+
# Returns the IP address for the connection.
|
|
1331
|
+
#
|
|
1332
|
+
# If the session has not been started,
|
|
1333
|
+
# returns the value set by #ipaddr=,
|
|
1334
|
+
# or +nil+ if it has not been set:
|
|
1335
|
+
#
|
|
1336
|
+
# http = Net::HTTP.new(hostname)
|
|
1337
|
+
# http.ipaddr # => nil
|
|
1338
|
+
# http.ipaddr = '172.67.155.76'
|
|
1339
|
+
# http.ipaddr # => "172.67.155.76"
|
|
1340
|
+
#
|
|
1341
|
+
# If the session has been started,
|
|
1342
|
+
# returns the IP address from the socket:
|
|
1343
|
+
#
|
|
1344
|
+
# http = Net::HTTP.new(hostname)
|
|
1345
|
+
# http.start
|
|
1346
|
+
# http.ipaddr # => "172.67.155.76"
|
|
1347
|
+
# http.finish
|
|
1348
|
+
#
|
|
1349
|
+
def ipaddr
|
|
1350
|
+
started? ? @socket.io.peeraddr[3] : @ipaddr
|
|
1351
|
+
end
|
|
1352
|
+
|
|
1353
|
+
# Sets the IP address for the connection:
|
|
1354
|
+
#
|
|
1355
|
+
# http = Net::HTTP.new(hostname)
|
|
1356
|
+
# http.ipaddr # => nil
|
|
1357
|
+
# http.ipaddr = '172.67.155.76'
|
|
1358
|
+
# http.ipaddr # => "172.67.155.76"
|
|
1359
|
+
#
|
|
1360
|
+
# The IP address may not be set if the session has been started.
|
|
1361
|
+
def ipaddr=(addr)
|
|
1362
|
+
raise IOError, "ipaddr value changed, but session already started" if started?
|
|
1363
|
+
@ipaddr = addr
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
# Sets or returns the numeric (\Integer or \Float) number of seconds
|
|
1367
|
+
# to wait for a connection to open;
|
|
1368
|
+
# initially 60.
|
|
1369
|
+
# If the connection is not made in the given interval,
|
|
1370
|
+
# an exception is raised.
|
|
1371
|
+
attr_accessor :open_timeout
|
|
1372
|
+
|
|
1373
|
+
# Returns the numeric (\Integer or \Float) number of seconds
|
|
1374
|
+
# to wait for one block to be read (via one read(2) call);
|
|
1375
|
+
# see #read_timeout=.
|
|
1376
|
+
attr_reader :read_timeout
|
|
1377
|
+
|
|
1378
|
+
# Returns the numeric (\Integer or \Float) number of seconds
|
|
1379
|
+
# to wait for one block to be written (via one write(2) call);
|
|
1380
|
+
# see #write_timeout=.
|
|
1381
|
+
attr_reader :write_timeout
|
|
1382
|
+
|
|
1383
|
+
# Sets the maximum number of times to retry an idempotent request in case of
|
|
1384
|
+
# \Net::ReadTimeout, IOError, EOFError, Errno::ECONNRESET,
|
|
1385
|
+
# Errno::ECONNABORTED, Errno::EPIPE, OpenSSL::SSL::SSLError,
|
|
1386
|
+
# Timeout::Error.
|
|
1387
|
+
# The initial value is 1.
|
|
1388
|
+
#
|
|
1389
|
+
# Argument +retries+ must be a non-negative numeric value:
|
|
1390
|
+
#
|
|
1391
|
+
# http = Net::HTTP.new(hostname)
|
|
1392
|
+
# http.max_retries = 2 # => 2
|
|
1393
|
+
# http.max_retries # => 2
|
|
1394
|
+
#
|
|
1395
|
+
def max_retries=(retries)
|
|
1396
|
+
retries = retries.to_int
|
|
1397
|
+
if retries < 0
|
|
1398
|
+
raise ArgumentError, 'max_retries should be non-negative integer number'
|
|
1399
|
+
end
|
|
1400
|
+
@max_retries = retries
|
|
1401
|
+
end
|
|
1402
|
+
|
|
1403
|
+
# Returns the maximum number of times to retry an idempotent request;
|
|
1404
|
+
# see #max_retries=.
|
|
1405
|
+
attr_reader :max_retries
|
|
1406
|
+
|
|
1407
|
+
# Sets the read timeout, in seconds, for +self+ to integer +sec+;
|
|
1408
|
+
# the initial value is 60.
|
|
1409
|
+
#
|
|
1410
|
+
# Argument +sec+ must be a non-negative numeric value:
|
|
1411
|
+
#
|
|
1412
|
+
# http = Net::HTTP.new(hostname)
|
|
1413
|
+
# http.read_timeout # => 60
|
|
1414
|
+
# http.get('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>
|
|
1415
|
+
# http.read_timeout = 0
|
|
1416
|
+
# http.get('/todos/1') # Raises Net::ReadTimeout.
|
|
1417
|
+
#
|
|
1418
|
+
def read_timeout=(sec)
|
|
1419
|
+
@socket.read_timeout = sec if @socket
|
|
1420
|
+
@read_timeout = sec
|
|
1421
|
+
end
|
|
1422
|
+
|
|
1423
|
+
# Sets the write timeout, in seconds, for +self+ to integer +sec+;
|
|
1424
|
+
# the initial value is 60.
|
|
1425
|
+
#
|
|
1426
|
+
# Argument +sec+ must be a non-negative numeric value:
|
|
1427
|
+
#
|
|
1428
|
+
# _uri = uri.dup
|
|
1429
|
+
# _uri.path = '/posts'
|
|
1430
|
+
# body = 'bar' * 200000
|
|
1431
|
+
# data = <<EOF
|
|
1432
|
+
# {"title": "foo", "body": "#{body}", "userId": "1"}
|
|
1433
|
+
# EOF
|
|
1434
|
+
# headers = {'content-type': 'application/json'}
|
|
1435
|
+
# http = Net::HTTP.new(hostname)
|
|
1436
|
+
# http.write_timeout # => 60
|
|
1437
|
+
# http.post(_uri.path, data, headers)
|
|
1438
|
+
# # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
1439
|
+
# http.write_timeout = 0
|
|
1440
|
+
# http.post(_uri.path, data, headers) # Raises Net::WriteTimeout.
|
|
1441
|
+
#
|
|
1442
|
+
def write_timeout=(sec)
|
|
1443
|
+
@socket.write_timeout = sec if @socket
|
|
1444
|
+
@write_timeout = sec
|
|
1445
|
+
end
|
|
1446
|
+
|
|
1447
|
+
# Returns the continue timeout value;
|
|
1448
|
+
# see continue_timeout=.
|
|
1449
|
+
attr_reader :continue_timeout
|
|
1450
|
+
|
|
1451
|
+
# Sets the continue timeout value,
|
|
1452
|
+
# which is the number of seconds to wait for an expected 100 Continue response.
|
|
1453
|
+
# If the \HTTP object does not receive a response in this many seconds
|
|
1454
|
+
# it sends the request body.
|
|
1455
|
+
def continue_timeout=(sec)
|
|
1456
|
+
@socket.continue_timeout = sec if @socket
|
|
1457
|
+
@continue_timeout = sec
|
|
1458
|
+
end
|
|
1459
|
+
|
|
1460
|
+
# Sets or returns the numeric (\Integer or \Float) number of seconds
|
|
1461
|
+
# to keep the connection open after a request is sent;
|
|
1462
|
+
# initially 2.
|
|
1463
|
+
# If a new request is made during the given interval,
|
|
1464
|
+
# the still-open connection is used;
|
|
1465
|
+
# otherwise the connection will have been closed
|
|
1466
|
+
# and a new connection is opened.
|
|
1467
|
+
attr_accessor :keep_alive_timeout
|
|
1468
|
+
|
|
1469
|
+
# Sets or returns whether to ignore end-of-file when reading a response body
|
|
1470
|
+
# with <tt>Content-Length</tt> headers;
|
|
1471
|
+
# initially +true+.
|
|
1472
|
+
attr_accessor :ignore_eof
|
|
1473
|
+
|
|
1474
|
+
# Returns +true+ if the \HTTP session has been started:
|
|
1475
|
+
#
|
|
1476
|
+
# http = Net::HTTP.new(hostname)
|
|
1477
|
+
# http.started? # => false
|
|
1478
|
+
# http.start
|
|
1479
|
+
# http.started? # => true
|
|
1480
|
+
# http.finish # => nil
|
|
1481
|
+
# http.started? # => false
|
|
1482
|
+
#
|
|
1483
|
+
# Net::HTTP.start(hostname) do |http|
|
|
1484
|
+
# http.started?
|
|
1485
|
+
# end # => true
|
|
1486
|
+
# http.started? # => false
|
|
1487
|
+
#
|
|
1488
|
+
def started?
|
|
1489
|
+
@started
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1492
|
+
alias active? started? #:nodoc: obsolete
|
|
1493
|
+
|
|
1494
|
+
# Sets or returns whether to close the connection when the response is empty;
|
|
1495
|
+
# initially +false+.
|
|
1496
|
+
attr_accessor :close_on_empty_response
|
|
1497
|
+
|
|
1498
|
+
# Returns +true+ if +self+ uses SSL, +false+ otherwise.
|
|
1499
|
+
# See Net::HTTP#use_ssl=.
|
|
1500
|
+
def use_ssl?
|
|
1501
|
+
@use_ssl
|
|
1502
|
+
end
|
|
1503
|
+
|
|
1504
|
+
# Sets whether a new session is to use
|
|
1505
|
+
# {Transport Layer Security}[https://en.wikipedia.org/wiki/Transport_Layer_Security]:
|
|
1506
|
+
#
|
|
1507
|
+
# Raises IOError if attempting to change during a session.
|
|
1508
|
+
#
|
|
1509
|
+
# Raises OpenSSL::SSL::SSLError if the port is not an HTTPS port.
|
|
1510
|
+
def use_ssl=(flag)
|
|
1511
|
+
flag = flag ? true : false
|
|
1512
|
+
if started? and @use_ssl != flag
|
|
1513
|
+
raise IOError, "use_ssl value changed, but session already started"
|
|
1514
|
+
end
|
|
1515
|
+
@use_ssl = flag
|
|
1516
|
+
end
|
|
1517
|
+
|
|
1518
|
+
SSL_ATTRIBUTES = [
|
|
1519
|
+
:ca_file,
|
|
1520
|
+
:ca_path,
|
|
1521
|
+
:cert,
|
|
1522
|
+
:cert_store,
|
|
1523
|
+
:ciphers,
|
|
1524
|
+
:extra_chain_cert,
|
|
1525
|
+
:key,
|
|
1526
|
+
:ssl_timeout,
|
|
1527
|
+
:ssl_version,
|
|
1528
|
+
:min_version,
|
|
1529
|
+
:max_version,
|
|
1530
|
+
:verify_callback,
|
|
1531
|
+
:verify_depth,
|
|
1532
|
+
:verify_mode,
|
|
1533
|
+
:verify_hostname,
|
|
1534
|
+
].freeze # :nodoc:
|
|
1535
|
+
|
|
1536
|
+
SSL_IVNAMES = SSL_ATTRIBUTES.map { |a| "@#{a}".to_sym }.freeze # :nodoc:
|
|
1537
|
+
|
|
1538
|
+
# Sets or returns the path to a CA certification file in PEM format.
|
|
1539
|
+
attr_accessor :ca_file
|
|
1540
|
+
|
|
1541
|
+
# Sets or returns the path of to CA directory
|
|
1542
|
+
# containing certification files in PEM format.
|
|
1543
|
+
attr_accessor :ca_path
|
|
1544
|
+
|
|
1545
|
+
# Sets or returns the OpenSSL::X509::Certificate object
|
|
1546
|
+
# to be used for client certification.
|
|
1547
|
+
attr_accessor :cert
|
|
1548
|
+
|
|
1549
|
+
# Sets or returns the X509::Store to be used for verifying peer certificate.
|
|
1550
|
+
attr_accessor :cert_store
|
|
1551
|
+
|
|
1552
|
+
# Sets or returns the available SSL ciphers.
|
|
1553
|
+
# See {OpenSSL::SSL::SSLContext#ciphers=}[OpenSSL::SSL::SSL::Context#ciphers=].
|
|
1554
|
+
attr_accessor :ciphers
|
|
1555
|
+
|
|
1556
|
+
# Sets or returns the extra X509 certificates to be added to the certificate chain.
|
|
1557
|
+
# See {OpenSSL::SSL::SSLContext#add_certificate}[OpenSSL::SSL::SSL::Context#add_certificate].
|
|
1558
|
+
attr_accessor :extra_chain_cert
|
|
1559
|
+
|
|
1560
|
+
# Sets or returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
|
|
1561
|
+
attr_accessor :key
|
|
1562
|
+
|
|
1563
|
+
# Sets or returns the SSL timeout seconds.
|
|
1564
|
+
attr_accessor :ssl_timeout
|
|
1565
|
+
|
|
1566
|
+
# Sets or returns the SSL version.
|
|
1567
|
+
# See {OpenSSL::SSL::SSLContext#ssl_version=}[OpenSSL::SSL::SSL::Context#ssl_version=].
|
|
1568
|
+
attr_accessor :ssl_version
|
|
1569
|
+
|
|
1570
|
+
# Sets or returns the minimum SSL version.
|
|
1571
|
+
# See {OpenSSL::SSL::SSLContext#min_version=}[OpenSSL::SSL::SSL::Context#min_version=].
|
|
1572
|
+
attr_accessor :min_version
|
|
1573
|
+
|
|
1574
|
+
# Sets or returns the maximum SSL version.
|
|
1575
|
+
# See {OpenSSL::SSL::SSLContext#max_version=}[OpenSSL::SSL::SSL::Context#max_version=].
|
|
1576
|
+
attr_accessor :max_version
|
|
1577
|
+
|
|
1578
|
+
# Sets or returns the callback for the server certification verification.
|
|
1579
|
+
attr_accessor :verify_callback
|
|
1580
|
+
|
|
1581
|
+
# Sets or returns the maximum depth for the certificate chain verification.
|
|
1582
|
+
attr_accessor :verify_depth
|
|
1583
|
+
|
|
1584
|
+
# Sets or returns the flags for server the certification verification
|
|
1585
|
+
# at the beginning of the SSL/TLS session.
|
|
1586
|
+
# OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER are acceptable.
|
|
1587
|
+
attr_accessor :verify_mode
|
|
1588
|
+
|
|
1589
|
+
# Sets or returns whether to verify that the server certificate is valid
|
|
1590
|
+
# for the hostname.
|
|
1591
|
+
# See {OpenSSL::SSL::SSLContext#verify_hostname=}[OpenSSL::SSL::SSL::Context#verify_hostname=].
|
|
1592
|
+
attr_accessor :verify_hostname
|
|
1593
|
+
|
|
1594
|
+
# Returns the X509 certificate chain (an array of strings)
|
|
1595
|
+
# for the session's socket peer,
|
|
1596
|
+
# or +nil+ if none.
|
|
1597
|
+
def peer_cert
|
|
1598
|
+
if not use_ssl? or not @socket
|
|
1599
|
+
return nil
|
|
1600
|
+
end
|
|
1601
|
+
@socket.io.peer_cert
|
|
1602
|
+
end
|
|
1603
|
+
|
|
1604
|
+
# Starts an \HTTP session.
|
|
1605
|
+
#
|
|
1606
|
+
# Without a block, returns +self+:
|
|
1607
|
+
#
|
|
1608
|
+
# http = Net::HTTP.new(hostname)
|
|
1609
|
+
# # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=false>
|
|
1610
|
+
# http.start
|
|
1611
|
+
# # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=true>
|
|
1612
|
+
# http.started? # => true
|
|
1613
|
+
# http.finish
|
|
1614
|
+
#
|
|
1615
|
+
# With a block, calls the block with +self+,
|
|
1616
|
+
# finishes the session when the block exits,
|
|
1617
|
+
# and returns the block's value:
|
|
1618
|
+
#
|
|
1619
|
+
# http.start do |http|
|
|
1620
|
+
# http
|
|
1621
|
+
# end
|
|
1622
|
+
# # => #<Net::HTTP jsonplaceholder.typicode.com:80 open=false>
|
|
1623
|
+
# http.started? # => false
|
|
1624
|
+
#
|
|
1625
|
+
def start # :yield: http
|
|
1626
|
+
raise IOError, 'HTTP session already opened' if @started
|
|
1627
|
+
if block_given?
|
|
1628
|
+
begin
|
|
1629
|
+
do_start
|
|
1630
|
+
return yield(self)
|
|
1631
|
+
ensure
|
|
1632
|
+
do_finish
|
|
1633
|
+
end
|
|
1634
|
+
end
|
|
1635
|
+
do_start
|
|
1636
|
+
self
|
|
1637
|
+
end
|
|
1638
|
+
|
|
1639
|
+
# Finishes the \HTTP session:
|
|
1640
|
+
#
|
|
1641
|
+
# http = Net::HTTP.new(hostname)
|
|
1642
|
+
# http.start
|
|
1643
|
+
# http.started? # => true
|
|
1644
|
+
# http.finish # => nil
|
|
1645
|
+
# http.started? # => false
|
|
1646
|
+
#
|
|
1647
|
+
# Raises IOError if not in a session.
|
|
1648
|
+
def finish
|
|
1649
|
+
raise IOError, 'HTTP session not yet started' unless started?
|
|
1650
|
+
do_finish
|
|
1651
|
+
end
|
|
1652
|
+
|
|
1653
|
+
# :stopdoc:
|
|
1654
|
+
def do_start
|
|
1655
|
+
connect
|
|
1656
|
+
@started = true
|
|
1657
|
+
end
|
|
1658
|
+
private :do_start
|
|
1659
|
+
|
|
1660
|
+
def connect
|
|
1661
|
+
if use_ssl?
|
|
1662
|
+
# reference early to load OpenSSL before connecting,
|
|
1663
|
+
# as OpenSSL may take time to load.
|
|
1664
|
+
@ssl_context = OpenSSL::SSL::SSLContext.new
|
|
1665
|
+
end
|
|
1666
|
+
|
|
1667
|
+
if proxy? then
|
|
1668
|
+
conn_addr = proxy_address
|
|
1669
|
+
conn_port = proxy_port
|
|
1670
|
+
else
|
|
1671
|
+
conn_addr = conn_address
|
|
1672
|
+
conn_port = port
|
|
1673
|
+
end
|
|
1674
|
+
|
|
1675
|
+
debug "opening connection to #{conn_addr}:#{conn_port}..."
|
|
1676
|
+
begin
|
|
1677
|
+
s = timeouted_connect(conn_addr, conn_port)
|
|
1678
|
+
rescue => e
|
|
1679
|
+
if (defined?(IO::TimeoutError) && e.is_a?(IO::TimeoutError)) || e.is_a?(Errno::ETIMEDOUT) # for compatibility with previous versions
|
|
1680
|
+
e = Net::OpenTimeout.new(e)
|
|
1681
|
+
end
|
|
1682
|
+
raise e, "Failed to open TCP connection to " +
|
|
1683
|
+
"#{conn_addr}:#{conn_port} (#{e.message})"
|
|
1684
|
+
end
|
|
1685
|
+
s.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
|
|
1686
|
+
debug "opened"
|
|
1687
|
+
if use_ssl?
|
|
1688
|
+
if proxy?
|
|
1689
|
+
if @proxy_use_ssl
|
|
1690
|
+
proxy_sock = OpenSSL::SSL::SSLSocket.new(s)
|
|
1691
|
+
ssl_socket_connect(proxy_sock, @open_timeout)
|
|
1692
|
+
else
|
|
1693
|
+
proxy_sock = s
|
|
1694
|
+
end
|
|
1695
|
+
proxy_sock = BufferedIO.new(proxy_sock, read_timeout: @read_timeout,
|
|
1696
|
+
write_timeout: @write_timeout,
|
|
1697
|
+
continue_timeout: @continue_timeout,
|
|
1698
|
+
debug_output: @debug_output)
|
|
1699
|
+
buf = +"CONNECT #{conn_address}:#{@port} HTTP/#{HTTPVersion}\r\n" \
|
|
1700
|
+
"Host: #{@address}:#{@port}\r\n"
|
|
1701
|
+
if proxy_user
|
|
1702
|
+
credential = ["#{proxy_user}:#{proxy_pass}"].pack('m0')
|
|
1703
|
+
buf << "Proxy-Authorization: Basic #{credential}\r\n"
|
|
1704
|
+
end
|
|
1705
|
+
buf << "\r\n"
|
|
1706
|
+
proxy_sock.write(buf)
|
|
1707
|
+
HTTPResponse.read_new(proxy_sock).value
|
|
1708
|
+
# assuming nothing left in buffers after successful CONNECT response
|
|
1709
|
+
end
|
|
1710
|
+
|
|
1711
|
+
ssl_parameters = Hash.new
|
|
1712
|
+
iv_list = instance_variables
|
|
1713
|
+
SSL_IVNAMES.each_with_index do |ivname, i|
|
|
1714
|
+
if iv_list.include?(ivname)
|
|
1715
|
+
value = instance_variable_get(ivname)
|
|
1716
|
+
unless value.nil?
|
|
1717
|
+
ssl_parameters[SSL_ATTRIBUTES[i]] = value
|
|
1718
|
+
end
|
|
1719
|
+
end
|
|
1720
|
+
end
|
|
1721
|
+
@ssl_context.set_params(ssl_parameters)
|
|
1722
|
+
unless @ssl_context.session_cache_mode.nil? # a dummy method on JRuby
|
|
1723
|
+
@ssl_context.session_cache_mode =
|
|
1724
|
+
OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT |
|
|
1725
|
+
OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_STORE
|
|
1726
|
+
end
|
|
1727
|
+
if @ssl_context.respond_to?(:session_new_cb) # not implemented under JRuby
|
|
1728
|
+
@ssl_context.session_new_cb = proc {|sock, sess| @ssl_session = sess }
|
|
1729
|
+
end
|
|
1730
|
+
|
|
1731
|
+
# Still do the post_connection_check below even if connecting
|
|
1732
|
+
# to IP address
|
|
1733
|
+
verify_hostname = @ssl_context.verify_hostname
|
|
1734
|
+
|
|
1735
|
+
# Server Name Indication (SNI) RFC 3546/6066
|
|
1736
|
+
case @address
|
|
1737
|
+
when Resolv::IPv4::Regex, Resolv::IPv6::Regex
|
|
1738
|
+
# don't set SNI, as IP addresses in SNI is not valid
|
|
1739
|
+
# per RFC 6066, section 3.
|
|
1740
|
+
|
|
1741
|
+
# Avoid openssl warning
|
|
1742
|
+
@ssl_context.verify_hostname = false
|
|
1743
|
+
else
|
|
1744
|
+
ssl_host_address = @address
|
|
1745
|
+
end
|
|
1746
|
+
|
|
1747
|
+
debug "starting SSL for #{conn_addr}:#{conn_port}..."
|
|
1748
|
+
s = OpenSSL::SSL::SSLSocket.new(s, @ssl_context)
|
|
1749
|
+
s.sync_close = true
|
|
1750
|
+
s.hostname = ssl_host_address if s.respond_to?(:hostname=) && ssl_host_address
|
|
1751
|
+
|
|
1752
|
+
if @ssl_session and
|
|
1753
|
+
Process.clock_gettime(Process::CLOCK_REALTIME) < @ssl_session.time.to_f + @ssl_session.timeout
|
|
1754
|
+
s.session = @ssl_session
|
|
1755
|
+
end
|
|
1756
|
+
ssl_socket_connect(s, @open_timeout)
|
|
1757
|
+
if (@ssl_context.verify_mode != OpenSSL::SSL::VERIFY_NONE) && verify_hostname
|
|
1758
|
+
s.post_connection_check(@address)
|
|
1759
|
+
end
|
|
1760
|
+
debug "SSL established, protocol: #{s.ssl_version}, cipher: #{s.cipher[0]}"
|
|
1761
|
+
end
|
|
1762
|
+
@socket = BufferedIO.new(s, read_timeout: @read_timeout,
|
|
1763
|
+
write_timeout: @write_timeout,
|
|
1764
|
+
continue_timeout: @continue_timeout,
|
|
1765
|
+
debug_output: @debug_output)
|
|
1766
|
+
@last_communicated = nil
|
|
1767
|
+
on_connect
|
|
1768
|
+
rescue => exception
|
|
1769
|
+
if s
|
|
1770
|
+
debug "Conn close because of connect error #{exception}"
|
|
1771
|
+
s.close
|
|
1772
|
+
end
|
|
1773
|
+
raise
|
|
1774
|
+
end
|
|
1775
|
+
private :connect
|
|
1776
|
+
|
|
1777
|
+
tcp_socket_parameters = TCPSocket.instance_method(:initialize).parameters
|
|
1778
|
+
TCP_SOCKET_NEW_HAS_OPEN_TIMEOUT = if tcp_socket_parameters != [[:rest]]
|
|
1779
|
+
tcp_socket_parameters.include?([:key, :open_timeout])
|
|
1780
|
+
else
|
|
1781
|
+
# Use Socket.tcp to find out since there is no parameters information for TCPSocket#initialize
|
|
1782
|
+
# See discussion in https://github.com/ruby/net-http/pull/224
|
|
1783
|
+
Socket.method(:tcp).parameters.include?([:key, :open_timeout])
|
|
1784
|
+
end
|
|
1785
|
+
private_constant :TCP_SOCKET_NEW_HAS_OPEN_TIMEOUT
|
|
1786
|
+
|
|
1787
|
+
def timeouted_connect(conn_addr, conn_port)
|
|
1788
|
+
if TCP_SOCKET_NEW_HAS_OPEN_TIMEOUT
|
|
1789
|
+
TCPSocket.open(conn_addr, conn_port, @local_host, @local_port, open_timeout: @open_timeout)
|
|
1790
|
+
else
|
|
1791
|
+
Timeout.timeout(@open_timeout, Net::OpenTimeout) {
|
|
1792
|
+
TCPSocket.open(conn_addr, conn_port, @local_host, @local_port)
|
|
1793
|
+
}
|
|
1794
|
+
end
|
|
1795
|
+
end
|
|
1796
|
+
private :timeouted_connect
|
|
1797
|
+
|
|
1798
|
+
def on_connect
|
|
1799
|
+
end
|
|
1800
|
+
private :on_connect
|
|
1801
|
+
|
|
1802
|
+
def do_finish
|
|
1803
|
+
@started = false
|
|
1804
|
+
@socket.close if @socket
|
|
1805
|
+
@socket = nil
|
|
1806
|
+
end
|
|
1807
|
+
private :do_finish
|
|
1808
|
+
|
|
1809
|
+
#
|
|
1810
|
+
# proxy
|
|
1811
|
+
#
|
|
1812
|
+
|
|
1813
|
+
public
|
|
1814
|
+
|
|
1815
|
+
# no proxy
|
|
1816
|
+
@is_proxy_class = false
|
|
1817
|
+
@proxy_from_env = false
|
|
1818
|
+
@proxy_addr = nil
|
|
1819
|
+
@proxy_port = nil
|
|
1820
|
+
@proxy_user = nil
|
|
1821
|
+
@proxy_pass = nil
|
|
1822
|
+
@proxy_use_ssl = nil
|
|
1823
|
+
|
|
1824
|
+
# Creates an \HTTP proxy class which behaves like \Net::HTTP, but
|
|
1825
|
+
# performs all access via the specified proxy.
|
|
1826
|
+
#
|
|
1827
|
+
# This class is obsolete. You may pass these same parameters directly to
|
|
1828
|
+
# \Net::HTTP.new. See Net::HTTP.new for details of the arguments.
|
|
1829
|
+
def HTTP.Proxy(p_addr = :ENV, p_port = nil, p_user = nil, p_pass = nil, p_use_ssl = nil) #:nodoc:
|
|
1830
|
+
return self unless p_addr
|
|
1831
|
+
|
|
1832
|
+
Class.new(self) {
|
|
1833
|
+
@is_proxy_class = true
|
|
1834
|
+
|
|
1835
|
+
if p_addr == :ENV then
|
|
1836
|
+
@proxy_from_env = true
|
|
1837
|
+
@proxy_address = nil
|
|
1838
|
+
@proxy_port = nil
|
|
1839
|
+
else
|
|
1840
|
+
@proxy_from_env = false
|
|
1841
|
+
@proxy_address = p_addr
|
|
1842
|
+
@proxy_port = p_port || default_port
|
|
1843
|
+
end
|
|
1844
|
+
|
|
1845
|
+
@proxy_user = p_user
|
|
1846
|
+
@proxy_pass = p_pass
|
|
1847
|
+
@proxy_use_ssl = p_use_ssl
|
|
1848
|
+
}
|
|
1849
|
+
end
|
|
1850
|
+
|
|
1851
|
+
# :startdoc:
|
|
1852
|
+
|
|
1853
|
+
class << HTTP
|
|
1854
|
+
# Returns true if self is a class which was created by HTTP::Proxy.
|
|
1855
|
+
def proxy_class?
|
|
1856
|
+
defined?(@is_proxy_class) ? @is_proxy_class : false
|
|
1857
|
+
end
|
|
1858
|
+
|
|
1859
|
+
# Returns the address of the proxy host, or +nil+ if none;
|
|
1860
|
+
# see Net::HTTP@Proxy+Server.
|
|
1861
|
+
attr_reader :proxy_address
|
|
1862
|
+
|
|
1863
|
+
# Returns the port number of the proxy host, or +nil+ if none;
|
|
1864
|
+
# see Net::HTTP@Proxy+Server.
|
|
1865
|
+
attr_reader :proxy_port
|
|
1866
|
+
|
|
1867
|
+
# Returns the user name for accessing the proxy, or +nil+ if none;
|
|
1868
|
+
# see Net::HTTP@Proxy+Server.
|
|
1869
|
+
attr_reader :proxy_user
|
|
1870
|
+
|
|
1871
|
+
# Returns the password for accessing the proxy, or +nil+ if none;
|
|
1872
|
+
# see Net::HTTP@Proxy+Server.
|
|
1873
|
+
attr_reader :proxy_pass
|
|
1874
|
+
|
|
1875
|
+
# Use SSL when talking to the proxy. If Net::HTTP does not use a proxy, nil.
|
|
1876
|
+
attr_reader :proxy_use_ssl
|
|
1877
|
+
end
|
|
1878
|
+
|
|
1879
|
+
# Returns +true+ if a proxy server is defined, +false+ otherwise;
|
|
1880
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1881
|
+
def proxy?
|
|
1882
|
+
!!(@proxy_from_env ? proxy_uri : @proxy_address)
|
|
1883
|
+
end
|
|
1884
|
+
|
|
1885
|
+
# Returns +true+ if the proxy server is defined in the environment,
|
|
1886
|
+
# +false+ otherwise;
|
|
1887
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1888
|
+
def proxy_from_env?
|
|
1889
|
+
@proxy_from_env
|
|
1890
|
+
end
|
|
1891
|
+
|
|
1892
|
+
# The proxy URI determined from the environment for this connection.
|
|
1893
|
+
def proxy_uri # :nodoc:
|
|
1894
|
+
return if @proxy_uri == false
|
|
1895
|
+
@proxy_uri ||= URI::HTTP.new(
|
|
1896
|
+
"http", nil, address, port, nil, nil, nil, nil, nil
|
|
1897
|
+
).find_proxy || false
|
|
1898
|
+
@proxy_uri || nil
|
|
1899
|
+
end
|
|
1900
|
+
|
|
1901
|
+
# Returns the address of the proxy server, if defined, +nil+ otherwise;
|
|
1902
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1903
|
+
def proxy_address
|
|
1904
|
+
if @proxy_from_env then
|
|
1905
|
+
proxy_uri&.hostname
|
|
1906
|
+
else
|
|
1907
|
+
@proxy_address
|
|
1908
|
+
end
|
|
1909
|
+
end
|
|
1910
|
+
|
|
1911
|
+
# Returns the port number of the proxy server, if defined, +nil+ otherwise;
|
|
1912
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1913
|
+
def proxy_port
|
|
1914
|
+
if @proxy_from_env then
|
|
1915
|
+
proxy_uri&.port
|
|
1916
|
+
else
|
|
1917
|
+
@proxy_port
|
|
1918
|
+
end
|
|
1919
|
+
end
|
|
1920
|
+
|
|
1921
|
+
# Returns the user name of the proxy server, if defined, +nil+ otherwise;
|
|
1922
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1923
|
+
def proxy_user
|
|
1924
|
+
if @proxy_from_env
|
|
1925
|
+
user = proxy_uri&.user
|
|
1926
|
+
unescape(user) if user
|
|
1927
|
+
else
|
|
1928
|
+
@proxy_user
|
|
1929
|
+
end
|
|
1930
|
+
end
|
|
1931
|
+
|
|
1932
|
+
# Returns the password of the proxy server, if defined, +nil+ otherwise;
|
|
1933
|
+
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
|
|
1934
|
+
def proxy_pass
|
|
1935
|
+
if @proxy_from_env
|
|
1936
|
+
pass = proxy_uri&.password
|
|
1937
|
+
unescape(pass) if pass
|
|
1938
|
+
else
|
|
1939
|
+
@proxy_pass
|
|
1940
|
+
end
|
|
1941
|
+
end
|
|
1942
|
+
|
|
1943
|
+
alias proxyaddr proxy_address #:nodoc: obsolete
|
|
1944
|
+
alias proxyport proxy_port #:nodoc: obsolete
|
|
1945
|
+
|
|
1946
|
+
private
|
|
1947
|
+
# :stopdoc:
|
|
1948
|
+
|
|
1949
|
+
def unescape(value)
|
|
1950
|
+
require 'cgi/escape'
|
|
1951
|
+
require 'cgi/util' unless defined?(CGI::EscapeExt)
|
|
1952
|
+
CGI.unescape(value)
|
|
1953
|
+
end
|
|
1954
|
+
|
|
1955
|
+
# without proxy, obsolete
|
|
1956
|
+
|
|
1957
|
+
def conn_address # :nodoc:
|
|
1958
|
+
@ipaddr || address()
|
|
1959
|
+
end
|
|
1960
|
+
|
|
1961
|
+
def conn_port # :nodoc:
|
|
1962
|
+
port()
|
|
1963
|
+
end
|
|
1964
|
+
|
|
1965
|
+
def edit_path(path)
|
|
1966
|
+
if proxy?
|
|
1967
|
+
if path.start_with?("ftp://") || use_ssl?
|
|
1968
|
+
path
|
|
1969
|
+
else
|
|
1970
|
+
"http://#{addr_port}#{path}"
|
|
1971
|
+
end
|
|
1972
|
+
else
|
|
1973
|
+
path
|
|
1974
|
+
end
|
|
1975
|
+
end
|
|
1976
|
+
# :startdoc:
|
|
1977
|
+
|
|
1978
|
+
#
|
|
1979
|
+
# HTTP operations
|
|
1980
|
+
#
|
|
1981
|
+
|
|
1982
|
+
public
|
|
1983
|
+
|
|
1984
|
+
# :call-seq:
|
|
1985
|
+
# get(path, initheader = nil) {|res| ... }
|
|
1986
|
+
#
|
|
1987
|
+
# Sends a GET request to the server;
|
|
1988
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
1989
|
+
#
|
|
1990
|
+
# The request is based on the Net::HTTP::Get object
|
|
1991
|
+
# created from string +path+ and initial headers hash +initheader+.
|
|
1992
|
+
#
|
|
1993
|
+
# With a block given, calls the block with the response body:
|
|
1994
|
+
#
|
|
1995
|
+
# http = Net::HTTP.new(hostname)
|
|
1996
|
+
# http.get('/todos/1') do |res|
|
|
1997
|
+
# p res
|
|
1998
|
+
# end # => #<Net::HTTPOK 200 OK readbody=true>
|
|
1999
|
+
#
|
|
2000
|
+
# Output:
|
|
2001
|
+
#
|
|
2002
|
+
# "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}"
|
|
2003
|
+
#
|
|
2004
|
+
# With no block given, simply returns the response object:
|
|
2005
|
+
#
|
|
2006
|
+
# http.get('/') # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2007
|
+
#
|
|
2008
|
+
# Related:
|
|
2009
|
+
#
|
|
2010
|
+
# - Net::HTTP::Get: request class for \HTTP method GET.
|
|
2011
|
+
# - Net::HTTP.get: sends GET request, returns response body.
|
|
2012
|
+
#
|
|
2013
|
+
def get(path, initheader = nil, dest = nil, &block) # :yield: +body_segment+
|
|
2014
|
+
res = nil
|
|
2015
|
+
|
|
2016
|
+
request(Get.new(path, initheader)) {|r|
|
|
2017
|
+
r.read_body dest, &block
|
|
2018
|
+
res = r
|
|
2019
|
+
}
|
|
2020
|
+
res
|
|
2021
|
+
end
|
|
2022
|
+
|
|
2023
|
+
# Sends a HEAD request to the server;
|
|
2024
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2025
|
+
#
|
|
2026
|
+
# The request is based on the Net::HTTP::Head object
|
|
2027
|
+
# created from string +path+ and initial headers hash +initheader+:
|
|
2028
|
+
#
|
|
2029
|
+
# res = http.head('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2030
|
+
# res.body # => nil
|
|
2031
|
+
# res.to_hash.take(3)
|
|
2032
|
+
# # =>
|
|
2033
|
+
# [["date", ["Wed, 15 Feb 2023 15:25:42 GMT"]],
|
|
2034
|
+
# ["content-type", ["application/json; charset=utf-8"]],
|
|
2035
|
+
# ["connection", ["close"]]]
|
|
2036
|
+
#
|
|
2037
|
+
def head(path, initheader = nil)
|
|
2038
|
+
request(Head.new(path, initheader))
|
|
2039
|
+
end
|
|
2040
|
+
|
|
2041
|
+
# :call-seq:
|
|
2042
|
+
# post(path, data, initheader = nil) {|res| ... }
|
|
2043
|
+
#
|
|
2044
|
+
# Sends a POST request to the server;
|
|
2045
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2046
|
+
#
|
|
2047
|
+
# The request is based on the Net::HTTP::Post object
|
|
2048
|
+
# created from string +path+, string +data+, and initial headers hash +initheader+.
|
|
2049
|
+
#
|
|
2050
|
+
# With a block given, calls the block with the response body:
|
|
2051
|
+
#
|
|
2052
|
+
# data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
|
|
2053
|
+
# http = Net::HTTP.new(hostname)
|
|
2054
|
+
# http.post('/todos', data) do |res|
|
|
2055
|
+
# p res
|
|
2056
|
+
# end # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
2057
|
+
#
|
|
2058
|
+
# Output:
|
|
2059
|
+
#
|
|
2060
|
+
# "{\n \"{\\\"userId\\\": 1, \\\"id\\\": 1, \\\"title\\\": \\\"delectus aut autem\\\", \\\"completed\\\": false}\": \"\",\n \"id\": 201\n}"
|
|
2061
|
+
#
|
|
2062
|
+
# With no block given, simply returns the response object:
|
|
2063
|
+
#
|
|
2064
|
+
# http.post('/todos', data) # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
2065
|
+
#
|
|
2066
|
+
# Related:
|
|
2067
|
+
#
|
|
2068
|
+
# - Net::HTTP::Post: request class for \HTTP method POST.
|
|
2069
|
+
# - Net::HTTP.post: sends POST request, returns response body.
|
|
2070
|
+
#
|
|
2071
|
+
def post(path, data, initheader = nil, dest = nil, &block) # :yield: +body_segment+
|
|
2072
|
+
send_entity(path, data, initheader, dest, Post, &block)
|
|
2073
|
+
end
|
|
2074
|
+
|
|
2075
|
+
# :call-seq:
|
|
2076
|
+
# patch(path, data, initheader = nil) {|res| ... }
|
|
2077
|
+
#
|
|
2078
|
+
# Sends a PATCH request to the server;
|
|
2079
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2080
|
+
#
|
|
2081
|
+
# The request is based on the Net::HTTP::Patch object
|
|
2082
|
+
# created from string +path+, string +data+, and initial headers hash +initheader+.
|
|
2083
|
+
#
|
|
2084
|
+
# With a block given, calls the block with the response body:
|
|
2085
|
+
#
|
|
2086
|
+
# data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
|
|
2087
|
+
# http = Net::HTTP.new(hostname)
|
|
2088
|
+
# http.patch('/todos/1', data) do |res|
|
|
2089
|
+
# p res
|
|
2090
|
+
# end # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2091
|
+
#
|
|
2092
|
+
# Output:
|
|
2093
|
+
#
|
|
2094
|
+
# "{\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false,\n \"{\\\"userId\\\": 1, \\\"id\\\": 1, \\\"title\\\": \\\"delectus aut autem\\\", \\\"completed\\\": false}\": \"\"\n}"
|
|
2095
|
+
#
|
|
2096
|
+
# With no block given, simply returns the response object:
|
|
2097
|
+
#
|
|
2098
|
+
# http.patch('/todos/1', data) # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
2099
|
+
#
|
|
2100
|
+
def patch(path, data, initheader = nil, dest = nil, &block) # :yield: +body_segment+
|
|
2101
|
+
send_entity(path, data, initheader, dest, Patch, &block)
|
|
2102
|
+
end
|
|
2103
|
+
|
|
2104
|
+
# Sends a PUT request to the server;
|
|
2105
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2106
|
+
#
|
|
2107
|
+
# The request is based on the Net::HTTP::Put object
|
|
2108
|
+
# created from string +path+, string +data+, and initial headers hash +initheader+.
|
|
2109
|
+
#
|
|
2110
|
+
# data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
|
|
2111
|
+
# http = Net::HTTP.new(hostname)
|
|
2112
|
+
# http.put('/todos/1', data) # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2113
|
+
#
|
|
2114
|
+
# Related:
|
|
2115
|
+
#
|
|
2116
|
+
# - Net::HTTP::Put: request class for \HTTP method PUT.
|
|
2117
|
+
# - Net::HTTP.put: sends PUT request, returns response body.
|
|
2118
|
+
#
|
|
2119
|
+
def put(path, data, initheader = nil)
|
|
2120
|
+
request(Put.new(path, initheader), data)
|
|
2121
|
+
end
|
|
2122
|
+
|
|
2123
|
+
# Sends a PROPPATCH request to the server;
|
|
2124
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2125
|
+
#
|
|
2126
|
+
# The request is based on the Net::HTTP::Proppatch object
|
|
2127
|
+
# created from string +path+, string +body+, and initial headers hash +initheader+.
|
|
2128
|
+
#
|
|
2129
|
+
# data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
|
|
2130
|
+
# http = Net::HTTP.new(hostname)
|
|
2131
|
+
# http.proppatch('/todos/1', data)
|
|
2132
|
+
#
|
|
2133
|
+
def proppatch(path, body, initheader = nil)
|
|
2134
|
+
request(Proppatch.new(path, initheader), body)
|
|
2135
|
+
end
|
|
2136
|
+
|
|
2137
|
+
# Sends a LOCK request to the server;
|
|
2138
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2139
|
+
#
|
|
2140
|
+
# The request is based on the Net::HTTP::Lock object
|
|
2141
|
+
# created from string +path+, string +body+, and initial headers hash +initheader+.
|
|
2142
|
+
#
|
|
2143
|
+
# data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
|
|
2144
|
+
# http = Net::HTTP.new(hostname)
|
|
2145
|
+
# http.lock('/todos/1', data)
|
|
2146
|
+
#
|
|
2147
|
+
def lock(path, body, initheader = nil)
|
|
2148
|
+
request(Lock.new(path, initheader), body)
|
|
2149
|
+
end
|
|
2150
|
+
|
|
2151
|
+
# Sends an UNLOCK request to the server;
|
|
2152
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2153
|
+
#
|
|
2154
|
+
# The request is based on the Net::HTTP::Unlock object
|
|
2155
|
+
# created from string +path+, string +body+, and initial headers hash +initheader+.
|
|
2156
|
+
#
|
|
2157
|
+
# data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
|
|
2158
|
+
# http = Net::HTTP.new(hostname)
|
|
2159
|
+
# http.unlock('/todos/1', data)
|
|
2160
|
+
#
|
|
2161
|
+
def unlock(path, body, initheader = nil)
|
|
2162
|
+
request(Unlock.new(path, initheader), body)
|
|
2163
|
+
end
|
|
2164
|
+
|
|
2165
|
+
# Sends an Options request to the server;
|
|
2166
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2167
|
+
#
|
|
2168
|
+
# The request is based on the Net::HTTP::Options object
|
|
2169
|
+
# created from string +path+ and initial headers hash +initheader+.
|
|
2170
|
+
#
|
|
2171
|
+
# http = Net::HTTP.new(hostname)
|
|
2172
|
+
# http.options('/')
|
|
2173
|
+
#
|
|
2174
|
+
def options(path, initheader = nil)
|
|
2175
|
+
request(Options.new(path, initheader))
|
|
2176
|
+
end
|
|
2177
|
+
|
|
2178
|
+
# Sends a PROPFIND request to the server;
|
|
2179
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2180
|
+
#
|
|
2181
|
+
# The request is based on the Net::HTTP::Propfind object
|
|
2182
|
+
# created from string +path+, string +body+, and initial headers hash +initheader+.
|
|
2183
|
+
#
|
|
2184
|
+
# data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
|
|
2185
|
+
# http = Net::HTTP.new(hostname)
|
|
2186
|
+
# http.propfind('/todos/1', data)
|
|
2187
|
+
#
|
|
2188
|
+
def propfind(path, body = nil, initheader = {'Depth' => '0'})
|
|
2189
|
+
request(Propfind.new(path, initheader), body)
|
|
2190
|
+
end
|
|
2191
|
+
|
|
2192
|
+
# Sends a DELETE request to the server;
|
|
2193
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2194
|
+
#
|
|
2195
|
+
# The request is based on the Net::HTTP::Delete object
|
|
2196
|
+
# created from string +path+ and initial headers hash +initheader+.
|
|
2197
|
+
#
|
|
2198
|
+
# http = Net::HTTP.new(hostname)
|
|
2199
|
+
# http.delete('/todos/1')
|
|
2200
|
+
#
|
|
2201
|
+
def delete(path, initheader = {'Depth' => 'Infinity'})
|
|
2202
|
+
request(Delete.new(path, initheader))
|
|
2203
|
+
end
|
|
2204
|
+
|
|
2205
|
+
# Sends a MOVE request to the server;
|
|
2206
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2207
|
+
#
|
|
2208
|
+
# The request is based on the Net::HTTP::Move object
|
|
2209
|
+
# created from string +path+ and initial headers hash +initheader+.
|
|
2210
|
+
#
|
|
2211
|
+
# http = Net::HTTP.new(hostname)
|
|
2212
|
+
# http.move('/todos/1')
|
|
2213
|
+
#
|
|
2214
|
+
def move(path, initheader = nil)
|
|
2215
|
+
request(Move.new(path, initheader))
|
|
2216
|
+
end
|
|
2217
|
+
|
|
2218
|
+
# Sends a COPY request to the server;
|
|
2219
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2220
|
+
#
|
|
2221
|
+
# The request is based on the Net::HTTP::Copy object
|
|
2222
|
+
# created from string +path+ and initial headers hash +initheader+.
|
|
2223
|
+
#
|
|
2224
|
+
# http = Net::HTTP.new(hostname)
|
|
2225
|
+
# http.copy('/todos/1')
|
|
2226
|
+
#
|
|
2227
|
+
def copy(path, initheader = nil)
|
|
2228
|
+
request(Copy.new(path, initheader))
|
|
2229
|
+
end
|
|
2230
|
+
|
|
2231
|
+
# Sends a MKCOL request to the server;
|
|
2232
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2233
|
+
#
|
|
2234
|
+
# The request is based on the Net::HTTP::Mkcol object
|
|
2235
|
+
# created from string +path+, string +body+, and initial headers hash +initheader+.
|
|
2236
|
+
#
|
|
2237
|
+
# data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
|
|
2238
|
+
# http.mkcol('/todos/1', data)
|
|
2239
|
+
# http = Net::HTTP.new(hostname)
|
|
2240
|
+
#
|
|
2241
|
+
def mkcol(path, body = nil, initheader = nil)
|
|
2242
|
+
request(Mkcol.new(path, initheader), body)
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
# Sends a TRACE request to the server;
|
|
2246
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2247
|
+
#
|
|
2248
|
+
# The request is based on the Net::HTTP::Trace object
|
|
2249
|
+
# created from string +path+ and initial headers hash +initheader+.
|
|
2250
|
+
#
|
|
2251
|
+
# http = Net::HTTP.new(hostname)
|
|
2252
|
+
# http.trace('/todos/1')
|
|
2253
|
+
#
|
|
2254
|
+
def trace(path, initheader = nil)
|
|
2255
|
+
request(Trace.new(path, initheader))
|
|
2256
|
+
end
|
|
2257
|
+
|
|
2258
|
+
# Sends a GET request to the server;
|
|
2259
|
+
# forms the response into a Net::HTTPResponse object.
|
|
2260
|
+
#
|
|
2261
|
+
# The request is based on the Net::HTTP::Get object
|
|
2262
|
+
# created from string +path+ and initial headers hash +initheader+.
|
|
2263
|
+
#
|
|
2264
|
+
# With no block given, returns the response object:
|
|
2265
|
+
#
|
|
2266
|
+
# http = Net::HTTP.new(hostname)
|
|
2267
|
+
# http.request_get('/todos') # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2268
|
+
#
|
|
2269
|
+
# With a block given, calls the block with the response object
|
|
2270
|
+
# and returns the response object:
|
|
2271
|
+
#
|
|
2272
|
+
# http.request_get('/todos') do |res|
|
|
2273
|
+
# p res
|
|
2274
|
+
# end # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2275
|
+
#
|
|
2276
|
+
# Output:
|
|
2277
|
+
#
|
|
2278
|
+
# #<Net::HTTPOK 200 OK readbody=false>
|
|
2279
|
+
#
|
|
2280
|
+
def request_get(path, initheader = nil, &block) # :yield: +response+
|
|
2281
|
+
request(Get.new(path, initheader), &block)
|
|
2282
|
+
end
|
|
2283
|
+
|
|
2284
|
+
# Sends a HEAD request to the server;
|
|
2285
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2286
|
+
#
|
|
2287
|
+
# The request is based on the Net::HTTP::Head object
|
|
2288
|
+
# created from string +path+ and initial headers hash +initheader+.
|
|
2289
|
+
#
|
|
2290
|
+
# http = Net::HTTP.new(hostname)
|
|
2291
|
+
# http.head('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2292
|
+
#
|
|
2293
|
+
def request_head(path, initheader = nil, &block)
|
|
2294
|
+
request(Head.new(path, initheader), &block)
|
|
2295
|
+
end
|
|
2296
|
+
|
|
2297
|
+
# Sends a POST request to the server;
|
|
2298
|
+
# forms the response into a Net::HTTPResponse object.
|
|
2299
|
+
#
|
|
2300
|
+
# The request is based on the Net::HTTP::Post object
|
|
2301
|
+
# created from string +path+, string +data+, and initial headers hash +initheader+.
|
|
2302
|
+
#
|
|
2303
|
+
# With no block given, returns the response object:
|
|
2304
|
+
#
|
|
2305
|
+
# http = Net::HTTP.new(hostname)
|
|
2306
|
+
# http.post('/todos', 'xyzzy')
|
|
2307
|
+
# # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
2308
|
+
#
|
|
2309
|
+
# With a block given, calls the block with the response body
|
|
2310
|
+
# and returns the response object:
|
|
2311
|
+
#
|
|
2312
|
+
# http.post('/todos', 'xyzzy') do |res|
|
|
2313
|
+
# p res
|
|
2314
|
+
# end # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
2315
|
+
#
|
|
2316
|
+
# Output:
|
|
2317
|
+
#
|
|
2318
|
+
# "{\n \"xyzzy\": \"\",\n \"id\": 201\n}"
|
|
2319
|
+
#
|
|
2320
|
+
def request_post(path, data, initheader = nil, &block) # :yield: +response+
|
|
2321
|
+
request Post.new(path, initheader), data, &block
|
|
2322
|
+
end
|
|
2323
|
+
|
|
2324
|
+
# Sends a PUT request to the server;
|
|
2325
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2326
|
+
#
|
|
2327
|
+
# The request is based on the Net::HTTP::Put object
|
|
2328
|
+
# created from string +path+, string +data+, and initial headers hash +initheader+.
|
|
2329
|
+
#
|
|
2330
|
+
# http = Net::HTTP.new(hostname)
|
|
2331
|
+
# http.put('/todos/1', 'xyzzy')
|
|
2332
|
+
# # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2333
|
+
#
|
|
2334
|
+
def request_put(path, data, initheader = nil, &block) #:nodoc:
|
|
2335
|
+
request Put.new(path, initheader), data, &block
|
|
2336
|
+
end
|
|
2337
|
+
|
|
2338
|
+
alias get2 request_get #:nodoc: obsolete
|
|
2339
|
+
alias head2 request_head #:nodoc: obsolete
|
|
2340
|
+
alias post2 request_post #:nodoc: obsolete
|
|
2341
|
+
alias put2 request_put #:nodoc: obsolete
|
|
2342
|
+
|
|
2343
|
+
# Sends an \HTTP request to the server;
|
|
2344
|
+
# returns an instance of a subclass of Net::HTTPResponse.
|
|
2345
|
+
#
|
|
2346
|
+
# The request is based on the Net::HTTPRequest object
|
|
2347
|
+
# created from string +path+, string +data+, and initial headers hash +header+.
|
|
2348
|
+
# That object is an instance of the
|
|
2349
|
+
# {subclass of Net::HTTPRequest}[rdoc-ref:Net::HTTPRequest@Request+Subclasses],
|
|
2350
|
+
# that corresponds to the given uppercase string +name+,
|
|
2351
|
+
# which must be
|
|
2352
|
+
# an {HTTP request method}[https://en.wikipedia.org/wiki/HTTP#Request_methods]
|
|
2353
|
+
# or a {WebDAV request method}[https://en.wikipedia.org/wiki/WebDAV#Implementation].
|
|
2354
|
+
#
|
|
2355
|
+
# Examples:
|
|
2356
|
+
#
|
|
2357
|
+
# http = Net::HTTP.new(hostname)
|
|
2358
|
+
# http.send_request('GET', '/todos/1')
|
|
2359
|
+
# # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2360
|
+
# http.send_request('POST', '/todos', 'xyzzy')
|
|
2361
|
+
# # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
2362
|
+
#
|
|
2363
|
+
def send_request(name, path, data = nil, header = nil)
|
|
2364
|
+
has_response_body = name != 'HEAD'
|
|
2365
|
+
r = HTTPGenericRequest.new(name,(data ? true : false),has_response_body,path,header)
|
|
2366
|
+
request r, data
|
|
2367
|
+
end
|
|
2368
|
+
|
|
2369
|
+
# Sends the given request +req+ to the server;
|
|
2370
|
+
# forms the response into a Net::HTTPResponse object.
|
|
2371
|
+
#
|
|
2372
|
+
# The given +req+ must be an instance of a
|
|
2373
|
+
# {subclass of Net::HTTPRequest}[rdoc-ref:Net::HTTPRequest@Request+Subclasses].
|
|
2374
|
+
# Argument +body+ should be given only if needed for the request.
|
|
2375
|
+
#
|
|
2376
|
+
# With no block given, returns the response object:
|
|
2377
|
+
#
|
|
2378
|
+
# http = Net::HTTP.new(hostname)
|
|
2379
|
+
#
|
|
2380
|
+
# req = Net::HTTP::Get.new('/todos/1')
|
|
2381
|
+
# http.request(req)
|
|
2382
|
+
# # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2383
|
+
#
|
|
2384
|
+
# req = Net::HTTP::Post.new('/todos')
|
|
2385
|
+
# http.request(req, 'xyzzy')
|
|
2386
|
+
# # => #<Net::HTTPCreated 201 Created readbody=true>
|
|
2387
|
+
#
|
|
2388
|
+
# With a block given, calls the block with the response and returns the response:
|
|
2389
|
+
#
|
|
2390
|
+
# req = Net::HTTP::Get.new('/todos/1')
|
|
2391
|
+
# http.request(req) do |res|
|
|
2392
|
+
# p res
|
|
2393
|
+
# end # => #<Net::HTTPOK 200 OK readbody=true>
|
|
2394
|
+
#
|
|
2395
|
+
# Output:
|
|
2396
|
+
#
|
|
2397
|
+
# #<Net::HTTPOK 200 OK readbody=false>
|
|
2398
|
+
#
|
|
2399
|
+
def request(req, body = nil, &block) # :yield: +response+
|
|
2400
|
+
unless started?
|
|
2401
|
+
start {
|
|
2402
|
+
req['connection'] ||= 'close'
|
|
2403
|
+
return request(req, body, &block)
|
|
2404
|
+
}
|
|
2405
|
+
end
|
|
2406
|
+
if proxy_user()
|
|
2407
|
+
req.proxy_basic_auth proxy_user(), proxy_pass() unless use_ssl?
|
|
2408
|
+
end
|
|
2409
|
+
req.set_body_internal body
|
|
2410
|
+
res = transport_request(req, &block)
|
|
2411
|
+
if sspi_auth?(res)
|
|
2412
|
+
sspi_auth(req)
|
|
2413
|
+
res = transport_request(req, &block)
|
|
2414
|
+
end
|
|
2415
|
+
res
|
|
2416
|
+
end
|
|
2417
|
+
|
|
2418
|
+
private
|
|
2419
|
+
|
|
2420
|
+
# Executes a request which uses a representation
|
|
2421
|
+
# and returns its body.
|
|
2422
|
+
def send_entity(path, data, initheader, dest, type, &block)
|
|
2423
|
+
res = nil
|
|
2424
|
+
request(type.new(path, initheader), data) {|r|
|
|
2425
|
+
r.read_body dest, &block
|
|
2426
|
+
res = r
|
|
2427
|
+
}
|
|
2428
|
+
res
|
|
2429
|
+
end
|
|
2430
|
+
|
|
2431
|
+
# :stopdoc:
|
|
2432
|
+
|
|
2433
|
+
IDEMPOTENT_METHODS_ = %w/GET HEAD PUT DELETE OPTIONS TRACE/.freeze # :nodoc:
|
|
2434
|
+
|
|
2435
|
+
def transport_request(req)
|
|
2436
|
+
count = 0
|
|
2437
|
+
begin
|
|
2438
|
+
begin_transport req
|
|
2439
|
+
res = catch(:response) {
|
|
2440
|
+
begin
|
|
2441
|
+
req.exec @socket, @curr_http_version, edit_path(req.path)
|
|
2442
|
+
rescue Errno::EPIPE
|
|
2443
|
+
# Failure when writing full request, but we can probably
|
|
2444
|
+
# still read the received response.
|
|
2445
|
+
end
|
|
2446
|
+
|
|
2447
|
+
begin
|
|
2448
|
+
res = HTTPResponse.read_new(@socket)
|
|
2449
|
+
res.decode_content = req.decode_content
|
|
2450
|
+
res.body_encoding = @response_body_encoding
|
|
2451
|
+
res.ignore_eof = @ignore_eof
|
|
2452
|
+
end while res.kind_of?(HTTPInformation)
|
|
2453
|
+
|
|
2454
|
+
res.uri = req.uri
|
|
2455
|
+
|
|
2456
|
+
res
|
|
2457
|
+
}
|
|
2458
|
+
res.reading_body(@socket, req.response_body_permitted?) {
|
|
2459
|
+
if block_given?
|
|
2460
|
+
count = max_retries # Don't restart in the middle of a download
|
|
2461
|
+
yield res
|
|
2462
|
+
end
|
|
2463
|
+
}
|
|
2464
|
+
rescue Net::OpenTimeout
|
|
2465
|
+
raise
|
|
2466
|
+
rescue Net::ReadTimeout, IOError, EOFError,
|
|
2467
|
+
Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE, Errno::ETIMEDOUT,
|
|
2468
|
+
# avoid a dependency on OpenSSL
|
|
2469
|
+
defined?(OpenSSL::SSL) ? OpenSSL::SSL::SSLError : IOError,
|
|
2470
|
+
Timeout::Error => exception
|
|
2471
|
+
if count < max_retries && IDEMPOTENT_METHODS_.include?(req.method)
|
|
2472
|
+
count += 1
|
|
2473
|
+
@socket.close if @socket
|
|
2474
|
+
debug "Conn close because of error #{exception}, and retry"
|
|
2475
|
+
retry
|
|
2476
|
+
end
|
|
2477
|
+
debug "Conn close because of error #{exception}"
|
|
2478
|
+
@socket.close if @socket
|
|
2479
|
+
raise
|
|
2480
|
+
end
|
|
2481
|
+
|
|
2482
|
+
end_transport req, res
|
|
2483
|
+
res
|
|
2484
|
+
rescue => exception
|
|
2485
|
+
debug "Conn close because of error #{exception}"
|
|
2486
|
+
@socket.close if @socket
|
|
2487
|
+
raise exception
|
|
2488
|
+
end
|
|
2489
|
+
|
|
2490
|
+
def begin_transport(req)
|
|
2491
|
+
if @socket.closed?
|
|
2492
|
+
connect
|
|
2493
|
+
elsif @last_communicated
|
|
2494
|
+
if @last_communicated + @keep_alive_timeout < Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
|
2495
|
+
debug 'Conn close because of keep_alive_timeout'
|
|
2496
|
+
@socket.close
|
|
2497
|
+
connect
|
|
2498
|
+
elsif @socket.io.to_io.wait_readable(0) && @socket.eof?
|
|
2499
|
+
debug "Conn close because of EOF"
|
|
2500
|
+
@socket.close
|
|
2501
|
+
connect
|
|
2502
|
+
end
|
|
2503
|
+
end
|
|
2504
|
+
|
|
2505
|
+
if not req.response_body_permitted? and @close_on_empty_response
|
|
2506
|
+
req['connection'] ||= 'close'
|
|
2507
|
+
end
|
|
2508
|
+
|
|
2509
|
+
req.update_uri address, port, use_ssl?
|
|
2510
|
+
req['host'] ||= addr_port()
|
|
2511
|
+
end
|
|
2512
|
+
|
|
2513
|
+
def end_transport(req, res)
|
|
2514
|
+
@curr_http_version = res.http_version
|
|
2515
|
+
@last_communicated = nil
|
|
2516
|
+
if @socket.closed?
|
|
2517
|
+
debug 'Conn socket closed'
|
|
2518
|
+
elsif not res.body and @close_on_empty_response
|
|
2519
|
+
debug 'Conn close'
|
|
2520
|
+
@socket.close
|
|
2521
|
+
elsif keep_alive?(req, res)
|
|
2522
|
+
debug 'Conn keep-alive'
|
|
2523
|
+
@last_communicated = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
|
2524
|
+
else
|
|
2525
|
+
debug 'Conn close'
|
|
2526
|
+
@socket.close
|
|
2527
|
+
end
|
|
2528
|
+
end
|
|
2529
|
+
|
|
2530
|
+
def keep_alive?(req, res)
|
|
2531
|
+
return false if req.connection_close?
|
|
2532
|
+
if @curr_http_version <= '1.0'
|
|
2533
|
+
res.connection_keep_alive?
|
|
2534
|
+
else # HTTP/1.1 or later
|
|
2535
|
+
not res.connection_close?
|
|
2536
|
+
end
|
|
2537
|
+
end
|
|
2538
|
+
|
|
2539
|
+
def sspi_auth?(res)
|
|
2540
|
+
return false unless @sspi_enabled
|
|
2541
|
+
if res.kind_of?(HTTPProxyAuthenticationRequired) and
|
|
2542
|
+
proxy? and res["Proxy-Authenticate"].include?("Negotiate")
|
|
2543
|
+
begin
|
|
2544
|
+
require 'win32/sspi'
|
|
2545
|
+
true
|
|
2546
|
+
rescue LoadError
|
|
2547
|
+
false
|
|
2548
|
+
end
|
|
2549
|
+
else
|
|
2550
|
+
false
|
|
2551
|
+
end
|
|
2552
|
+
end
|
|
2553
|
+
|
|
2554
|
+
def sspi_auth(req)
|
|
2555
|
+
n = Win32::SSPI::NegotiateAuth.new
|
|
2556
|
+
req["Proxy-Authorization"] = "Negotiate #{n.get_initial_token}"
|
|
2557
|
+
# Some versions of ISA will close the connection if this isn't present.
|
|
2558
|
+
req["Connection"] = "Keep-Alive"
|
|
2559
|
+
req["Proxy-Connection"] = "Keep-Alive"
|
|
2560
|
+
res = transport_request(req)
|
|
2561
|
+
authphrase = res["Proxy-Authenticate"] or return res
|
|
2562
|
+
req["Proxy-Authorization"] = "Negotiate #{n.complete_authentication(authphrase)}"
|
|
2563
|
+
rescue => err
|
|
2564
|
+
raise HTTPAuthenticationError.new('HTTP authentication failed', err)
|
|
2565
|
+
end
|
|
2566
|
+
|
|
2567
|
+
#
|
|
2568
|
+
# utils
|
|
2569
|
+
#
|
|
2570
|
+
|
|
2571
|
+
private
|
|
2572
|
+
|
|
2573
|
+
def addr_port
|
|
2574
|
+
addr = address
|
|
2575
|
+
addr = "[#{addr}]" if addr.include?(":")
|
|
2576
|
+
default_port = use_ssl? ? HTTP.https_default_port : HTTP.http_default_port
|
|
2577
|
+
default_port == port ? addr : "#{addr}:#{port}"
|
|
2578
|
+
end
|
|
2579
|
+
|
|
2580
|
+
# Adds a message to debugging output
|
|
2581
|
+
def debug(msg)
|
|
2582
|
+
return unless @debug_output
|
|
2583
|
+
@debug_output << msg
|
|
2584
|
+
@debug_output << "\n"
|
|
2585
|
+
end
|
|
2586
|
+
|
|
2587
|
+
alias_method :D, :debug
|
|
2588
|
+
end
|
|
2589
|
+
|
|
2590
|
+
# for backward compatibility until Ruby 4.0
|
|
2591
|
+
# https://bugs.ruby-lang.org/issues/20900
|
|
2592
|
+
# https://github.com/bblimke/webmock/pull/1081
|
|
2593
|
+
HTTPSession = HTTP
|
|
2594
|
+
deprecate_constant :HTTPSession
|
|
2595
|
+
end
|
|
2596
|
+
|
|
2597
|
+
require_relative 'http/exceptions'
|
|
2598
|
+
|
|
2599
|
+
require_relative 'http/header'
|
|
2600
|
+
|
|
2601
|
+
require_relative 'http/generic_request'
|
|
2602
|
+
require_relative 'http/request'
|
|
2603
|
+
require_relative 'http/requests'
|
|
2604
|
+
|
|
2605
|
+
require_relative 'http/response'
|
|
2606
|
+
require_relative 'http/responses'
|
|
2607
|
+
|
|
2608
|
+
require_relative 'http/proxy_delta'
|