ory-client 1.22.86 → 1.22.88
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.lock +6 -6
- data/README.md +5 -5
- data/docs/AcceptOAuth2ConsentRequest.md +1 -1
- data/docs/AdminUpdateImportedApiKeyRequest.md +1 -1
- data/docs/AdminUpdateIssuedApiKeyRequest.md +1 -1
- data/docs/CreateEventStreamBody.md +8 -0
- data/docs/CreateProjectNormalizedPayload.md +20 -0
- data/docs/DeriveTokenRequest.md +4 -2
- data/docs/EventStream.md +9 -1
- data/docs/ImportApiKeyRequest.md +2 -2
- data/docs/ImportedApiKey.md +1 -1
- data/docs/IssueApiKeyRequest.md +1 -1
- data/docs/IssuedApiKey.md +1 -1
- data/docs/LoginFlowTestDebugPayload.md +2 -0
- data/docs/NormalizedProjectRevision.md +20 -0
- data/docs/OAuth2Api.md +13 -6
- data/docs/OAuth2ConsentRequest.md +2 -0
- data/docs/OAuth2ConsentSession.md +1 -1
- data/docs/OAuth2LoginRequest.md +2 -0
- data/docs/OnboardingPortalOrganization.md +2 -0
- data/docs/QuotaUsage.md +1 -1
- data/docs/SelfRevokeApiKeyRequest.md +1 -1
- data/docs/SetEventStreamBody.md +9 -1
- data/docs/Token.md +2 -0
- data/docs/UpdateLoginFlowWithLookupSecretMethod.md +3 -1
- data/docs/UpdateLoginFlowWithPasskeyMethod.md +3 -1
- data/docs/VerifyApiKeyRequest.md +4 -2
- data/docs/VerifyApiKeyResponse.md +2 -0
- data/docs/VerifyUserCodeRequest.md +2 -0
- data/lib/ory-client/api/api_keys_api.rb +1 -1
- data/lib/ory-client/api/courier_api.rb +1 -1
- data/lib/ory-client/api/elements_api.rb +1 -1
- data/lib/ory-client/api/events_api.rb +1 -1
- data/lib/ory-client/api/frontend_api.rb +1 -1
- data/lib/ory-client/api/identity_api.rb +1 -1
- data/lib/ory-client/api/jwk_api.rb +1 -1
- data/lib/ory-client/api/metadata_api.rb +1 -1
- data/lib/ory-client/api/o_auth2_api.rb +7 -1
- data/lib/ory-client/api/oidc_api.rb +1 -1
- data/lib/ory-client/api/permission_api.rb +1 -1
- data/lib/ory-client/api/project_api.rb +1 -1
- data/lib/ory-client/api/relationship_api.rb +1 -1
- data/lib/ory-client/api/wellknown_api.rb +1 -1
- data/lib/ory-client/api/workspace_api.rb +1 -1
- data/lib/ory-client/api_client.rb +2 -2
- data/lib/ory-client/api_error.rb +1 -1
- data/lib/ory-client/api_model_base.rb +1 -1
- data/lib/ory-client/configuration.rb +1 -1
- data/lib/ory-client/models/accept_device_user_code_request.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_consent_request.rb +2 -2
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
- data/lib/ory-client/models/account_experience_colors.rb +1 -1
- data/lib/ory-client/models/account_experience_configuration.rb +1 -1
- data/lib/ory-client/models/add_project_to_workspace_body.rb +1 -1
- data/lib/ory-client/models/add_workspace_organization_domain_body.rb +1 -1
- data/lib/ory-client/models/admin_identity_import_credentials_lookup_secret.rb +1 -1
- data/lib/ory-client/models/admin_identity_import_credentials_lookup_secret_config.rb +1 -1
- data/lib/ory-client/models/admin_revoke_imported_api_key_body.rb +1 -1
- data/lib/ory-client/models/admin_revoke_issued_api_key_body.rb +1 -1
- data/lib/ory-client/models/admin_rotate_issued_api_key_body.rb +1 -1
- data/lib/ory-client/models/admin_update_imported_api_key_request.rb +2 -2
- data/lib/ory-client/models/admin_update_issued_api_key_request.rb +2 -2
- data/lib/ory-client/models/ai_assistant_session_token.rb +1 -1
- data/lib/ory-client/models/any.rb +1 -1
- data/lib/ory-client/models/attribute.rb +1 -1
- data/lib/ory-client/models/attribute_filter.rb +1 -1
- data/lib/ory-client/models/attributes_count_datapoint.rb +1 -1
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/basic_organization.rb +1 -1
- data/lib/ory-client/models/batch_check_permission_body.rb +1 -1
- data/lib/ory-client/models/batch_check_permission_result.rb +1 -1
- data/lib/ory-client/models/batch_create_imported_api_keys_error_code.rb +1 -1
- data/lib/ory-client/models/batch_create_imported_api_keys_request.rb +1 -1
- data/lib/ory-client/models/batch_create_imported_api_keys_response.rb +1 -1
- data/lib/ory-client/models/batch_create_imported_api_keys_result.rb +1 -1
- data/lib/ory-client/models/batch_patch_identities_response.rb +1 -1
- data/lib/ory-client/models/batch_verify_api_keys_request.rb +1 -1
- data/lib/ory-client/models/batch_verify_api_keys_response.rb +1 -1
- data/lib/ory-client/models/billing_period_bucket.rb +1 -1
- data/lib/ory-client/models/check_opl_syntax_result.rb +1 -1
- data/lib/ory-client/models/check_permission_result.rb +1 -1
- data/lib/ory-client/models/check_permission_result_with_error.rb +1 -1
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/continue_with.rb +1 -1
- data/lib/ory-client/models/continue_with_device_authn_pin_entry_ui.rb +1 -1
- data/lib/ory-client/models/continue_with_device_authn_pin_entry_ui_data.rb +1 -1
- data/lib/ory-client/models/continue_with_recovery_ui.rb +1 -1
- data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +1 -1
- data/lib/ory-client/models/continue_with_redirect_browser_to.rb +1 -1
- data/lib/ory-client/models/continue_with_set_ory_session_token.rb +1 -1
- data/lib/ory-client/models/continue_with_settings_ui.rb +1 -1
- data/lib/ory-client/models/continue_with_settings_ui_flow.rb +1 -1
- data/lib/ory-client/models/continue_with_verification_ui.rb +1 -1
- data/lib/ory-client/models/continue_with_verification_ui_flow.rb +1 -1
- data/lib/ory-client/models/courier_message_status.rb +1 -1
- data/lib/ory-client/models/courier_message_type.rb +1 -1
- data/lib/ory-client/models/create_custom_domain_body.rb +1 -1
- data/lib/ory-client/models/create_event_stream_body.rb +56 -2
- data/lib/ory-client/models/create_fedcm_flow_response.rb +1 -1
- data/lib/ory-client/models/create_identity_body.rb +1 -1
- data/lib/ory-client/models/create_invite_response.rb +1 -1
- data/lib/ory-client/models/create_json_web_key_set.rb +1 -1
- data/lib/ory-client/models/create_onboarding_link_response.rb +1 -1
- data/lib/ory-client/models/create_organization_onboarding_portal_link_body.rb +1 -1
- data/lib/ory-client/models/create_project_api_key_body.rb +1 -1
- data/lib/ory-client/models/create_project_body.rb +1 -1
- data/lib/ory-client/models/create_project_branding.rb +1 -1
- data/lib/ory-client/models/create_project_member_invite_body.rb +1 -1
- data/lib/ory-client/models/create_project_normalized_payload.rb +104 -2
- data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +1 -1
- data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +1 -1
- data/lib/ory-client/models/create_relationship_body.rb +1 -1
- data/lib/ory-client/models/create_subscription_body.rb +1 -1
- data/lib/ory-client/models/create_subscription_common.rb +1 -1
- data/lib/ory-client/models/create_test_login_flow_body.rb +1 -1
- data/lib/ory-client/models/create_test_login_flow_from_onboarding_portal_link_body.rb +1 -1
- data/lib/ory-client/models/create_verifiable_credential_request_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_api_key_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_contact_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_member_invite_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_organization_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_subscription_body.rb +1 -1
- data/lib/ory-client/models/credential_supported_draft00.rb +1 -1
- data/lib/ory-client/models/custom_domain.rb +1 -1
- data/lib/ory-client/models/customer_portal_availability.rb +1 -1
- data/lib/ory-client/models/delete_my_sessions_count.rb +1 -1
- data/lib/ory-client/models/derive_token_request.rb +16 -3
- data/lib/ory-client/models/derive_token_response.rb +1 -1
- data/lib/ory-client/models/device_authn_android_authorization_list.rb +1 -1
- data/lib/ory-client/models/device_authn_android_key_description.rb +1 -1
- data/lib/ory-client/models/device_authn_android_root_of_trust.rb +1 -1
- data/lib/ory-client/models/device_authn_attestation.rb +1 -1
- data/lib/ory-client/models/device_authn_ios_att_stmt.rb +1 -1
- data/lib/ory-client/models/device_authn_ios_attestation.rb +1 -1
- data/lib/ory-client/models/device_authn_key.rb +1 -1
- data/lib/ory-client/models/device_authorization.rb +1 -1
- data/lib/ory-client/models/device_type.rb +1 -1
- data/lib/ory-client/models/device_user_auth_request.rb +1 -1
- data/lib/ory-client/models/domain_verification_status.rb +1 -1
- data/lib/ory-client/models/elements_configuration.rb +1 -1
- data/lib/ory-client/models/email_template_data.rb +1 -1
- data/lib/ory-client/models/email_template_data_body.rb +1 -1
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/error_browser_location_change_required.rb +1 -1
- data/lib/ory-client/models/error_flow_replaced.rb +1 -1
- data/lib/ory-client/models/error_generic.rb +1 -1
- data/lib/ory-client/models/error_o_auth2.rb +1 -1
- data/lib/ory-client/models/event_stream.rb +57 -3
- data/lib/ory-client/models/expanded_permission_tree.rb +1 -1
- data/lib/ory-client/models/feature_flags_catalog_entry.rb +1 -1
- data/lib/ory-client/models/flow_error.rb +1 -1
- data/lib/ory-client/models/generic_error.rb +1 -1
- data/lib/ory-client/models/generic_error_content.rb +1 -1
- data/lib/ory-client/models/generic_oidc_provider.rb +1 -1
- data/lib/ory-client/models/generic_usage.rb +1 -1
- data/lib/ory-client/models/get_attributes_count.rb +1 -1
- data/lib/ory-client/models/get_jwks_response.rb +1 -1
- data/lib/ory-client/models/get_jwks_response_jwks.rb +1 -1
- data/lib/ory-client/models/get_jwks_response_jwks_keys_inner.rb +1 -1
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
- data/lib/ory-client/models/get_metrics_count.rb +1 -1
- data/lib/ory-client/models/get_metrics_event_attributes.rb +1 -1
- data/lib/ory-client/models/get_metrics_event_types.rb +1 -1
- data/lib/ory-client/models/get_organization_response.rb +1 -1
- data/lib/ory-client/models/get_organizations_by_hostname_response.rb +1 -1
- data/lib/ory-client/models/get_project_events.rb +1 -1
- data/lib/ory-client/models/get_project_events_body.rb +1 -1
- data/lib/ory-client/models/get_project_metrics.rb +1 -1
- data/lib/ory-client/models/get_session_activity.rb +1 -1
- data/lib/ory-client/models/get_version200_response.rb +1 -1
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_code.rb +1 -1
- data/lib/ory-client/models/identity_credentials_code_address.rb +1 -1
- data/lib/ory-client/models/identity_credentials_lookup_secret_code.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/identity_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_credentials_web_authn.rb +1 -1
- data/lib/ory-client/models/identity_credentials_web_authn_attestation.rb +1 -1
- data/lib/ory-client/models/identity_credentials_web_authn_authenticator.rb +1 -1
- data/lib/ory-client/models/identity_credentials_web_authn_flags.rb +1 -1
- data/lib/ory-client/models/identity_patch.rb +1 -1
- data/lib/ory-client/models/identity_patch_response.rb +1 -1
- data/lib/ory-client/models/identity_schema_container.rb +1 -1
- data/lib/ory-client/models/identity_schema_preset.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_passkey.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_passkey_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_password_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_saml.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_saml_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_saml_config_provider.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_totp.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_totp_config.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_web_authn.rb +1 -1
- data/lib/ory-client/models/identity_with_credentials_web_authn_config.rb +1 -1
- data/lib/ory-client/models/import_api_key_request.rb +3 -2
- data/lib/ory-client/models/imported_api_key.rb +2 -2
- data/lib/ory-client/models/internal_get_project_branding_body.rb +1 -1
- data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +1 -1
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +1 -1
- data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
- data/lib/ory-client/models/invite_token_body.rb +1 -1
- data/lib/ory-client/models/invoice.rb +1 -1
- data/lib/ory-client/models/invoice_data_v1.rb +1 -1
- data/lib/ory-client/models/ip_restriction.rb +2 -2
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/issue_api_key_request.rb +2 -2
- data/lib/ory-client/models/issue_api_key_response.rb +1 -1
- data/lib/ory-client/models/issued_api_key.rb +2 -2
- data/lib/ory-client/models/json_patch.rb +1 -1
- data/lib/ory-client/models/json_web_key.rb +1 -1
- data/lib/ory-client/models/json_web_key_set.rb +1 -1
- data/lib/ory-client/models/keto_namespace.rb +1 -1
- data/lib/ory-client/models/key_state.rb +1 -1
- data/lib/ory-client/models/key_status.rb +1 -1
- data/lib/ory-client/models/key_visibility.rb +1 -1
- data/lib/ory-client/models/keyset_pagination_request_parameters.rb +1 -1
- data/lib/ory-client/models/keyset_pagination_response_headers.rb +1 -1
- data/lib/ory-client/models/line_item_v1.rb +1 -1
- data/lib/ory-client/models/list_event_streams.rb +1 -1
- data/lib/ory-client/models/list_imported_api_keys_response.rb +1 -1
- data/lib/ory-client/models/list_invoices_response.rb +1 -1
- data/lib/ory-client/models/list_issued_api_keys_response.rb +1 -1
- data/lib/ory-client/models/list_organizations_response.rb +1 -1
- data/lib/ory-client/models/list_workspace_contacts.rb +1 -1
- data/lib/ory-client/models/list_workspace_projects.rb +1 -1
- data/lib/ory-client/models/list_workspaces.rb +1 -1
- data/lib/ory-client/models/login_flow.rb +1 -1
- data/lib/ory-client/models/login_flow_state.rb +1 -1
- data/lib/ory-client/models/login_flow_test_context.rb +1 -1
- data/lib/ory-client/models/login_flow_test_debug_payload.rb +14 -2
- data/lib/ory-client/models/login_flow_test_schema_validation_error.rb +1 -1
- data/lib/ory-client/models/login_flow_test_step_error.rb +1 -1
- data/lib/ory-client/models/logout_flow.rb +1 -1
- data/lib/ory-client/models/manage_sessions_body.rb +1 -1
- data/lib/ory-client/models/manage_sessions_response.rb +1 -1
- data/lib/ory-client/models/managed_identity_schema.rb +1 -1
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +1 -1
- data/lib/ory-client/models/member_invite.rb +1 -1
- data/lib/ory-client/models/message.rb +1 -1
- data/lib/ory-client/models/message_dispatch.rb +1 -1
- data/lib/ory-client/models/metrics_datapoint.rb +1 -1
- data/lib/ory-client/models/namespace.rb +1 -1
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/normalized_project.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision.rb +104 -2
- data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_scim_client.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +1 -1
- data/lib/ory-client/models/null_value.rb +1 -1
- data/lib/ory-client/models/o_auth2_client.rb +1 -1
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_request.rb +14 -2
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_session.rb +2 -2
- data/lib/ory-client/models/o_auth2_login_request.rb +14 -2
- data/lib/ory-client/models/o_auth2_logout_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_redirect_to.rb +1 -1
- data/lib/ory-client/models/o_auth2_token_exchange.rb +1 -1
- data/lib/ory-client/models/oidc_configuration.rb +1 -1
- data/lib/ory-client/models/oidc_user_info.rb +1 -1
- data/lib/ory-client/models/onboarding_portal_link.rb +1 -1
- data/lib/ory-client/models/onboarding_portal_organization.rb +31 -2
- data/lib/ory-client/models/onboarding_portal_test_login_flow.rb +1 -1
- data/lib/ory-client/models/opl_parse_error.rb +1 -1
- data/lib/ory-client/models/opl_source_position.rb +1 -1
- data/lib/ory-client/models/opl_validate_result.rb +1 -1
- data/lib/ory-client/models/organization.rb +1 -1
- data/lib/ory-client/models/organization_body.rb +1 -1
- data/lib/ory-client/models/organization_by_hostname.rb +1 -1
- data/lib/ory-client/models/organization_onboarding_portal_links_response.rb +1 -1
- data/lib/ory-client/models/parse_error.rb +1 -1
- data/lib/ory-client/models/patch_identities_body.rb +1 -1
- data/lib/ory-client/models/patch_workspace_contact_body.rb +1 -1
- data/lib/ory-client/models/patch_workspace_member_body.rb +1 -1
- data/lib/ory-client/models/perform_native_logout_body.rb +1 -1
- data/lib/ory-client/models/permissions_on_workspace.rb +1 -1
- data/lib/ory-client/models/pin_config.rb +1 -1
- data/lib/ory-client/models/plan_details.rb +1 -1
- data/lib/ory-client/models/post_check_permission_body.rb +1 -1
- data/lib/ory-client/models/post_check_permission_or_error_body.rb +1 -1
- data/lib/ory-client/models/project.rb +1 -1
- data/lib/ory-client/models/project_api_key.rb +1 -1
- data/lib/ory-client/models/project_branding.rb +1 -1
- data/lib/ory-client/models/project_branding_colors.rb +1 -1
- data/lib/ory-client/models/project_branding_theme.rb +1 -1
- data/lib/ory-client/models/project_cors.rb +1 -1
- data/lib/ory-client/models/project_events_datapoint.rb +1 -1
- data/lib/ory-client/models/project_host.rb +1 -1
- data/lib/ory-client/models/project_member.rb +1 -1
- data/lib/ory-client/models/project_metadata.rb +1 -1
- data/lib/ory-client/models/project_service_account_experience.rb +1 -1
- data/lib/ory-client/models/project_service_identity.rb +1 -1
- data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
- data/lib/ory-client/models/project_service_permission.rb +1 -1
- data/lib/ory-client/models/project_service_talos.rb +1 -1
- data/lib/ory-client/models/project_services.rb +1 -1
- data/lib/ory-client/models/provider.rb +1 -1
- data/lib/ory-client/models/public_member_invite.rb +1 -1
- data/lib/ory-client/models/quota_usage.rb +4 -4
- data/lib/ory-client/models/rate_limit_policy.rb +1 -1
- data/lib/ory-client/models/recovery_code_for_identity.rb +1 -1
- data/lib/ory-client/models/recovery_flow.rb +1 -1
- data/lib/ory-client/models/recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/recovery_identity_address.rb +1 -1
- data/lib/ory-client/models/recovery_link_for_identity.rb +1 -1
- data/lib/ory-client/models/registration_flow.rb +1 -1
- data/lib/ory-client/models/registration_flow_state.rb +1 -1
- data/lib/ory-client/models/reject_o_auth2_request.rb +1 -1
- data/lib/ory-client/models/relation_query.rb +1 -1
- data/lib/ory-client/models/relationship.rb +1 -1
- data/lib/ory-client/models/relationship_namespaces.rb +1 -1
- data/lib/ory-client/models/relationship_patch.rb +1 -1
- data/lib/ory-client/models/relationships.rb +1 -1
- data/lib/ory-client/models/revision_account_experience_custom_translation.rb +1 -1
- data/lib/ory-client/models/revocation_reason.rb +1 -1
- data/lib/ory-client/models/rfc6749_error_json.rb +1 -1
- data/lib/ory-client/models/rotate_issued_api_key_response.rb +1 -1
- data/lib/ory-client/models/rotate_o_auth2_client_secret_body.rb +1 -1
- data/lib/ory-client/models/rotate_talos_key_body.rb +1 -1
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_revoke_api_key_request.rb +2 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
- data/lib/ory-client/models/session.rb +1 -1
- data/lib/ory-client/models/session_activity_datapoint.rb +1 -1
- data/lib/ory-client/models/session_authentication_method.rb +1 -1
- data/lib/ory-client/models/session_device.rb +1 -1
- data/lib/ory-client/models/set_custom_domain_body.rb +1 -1
- data/lib/ory-client/models/set_event_stream_body.rb +58 -4
- data/lib/ory-client/models/set_organization_from_onboarding_portal_link_body.rb +1 -1
- data/lib/ory-client/models/set_project.rb +1 -1
- data/lib/ory-client/models/set_project_branding_theme_body.rb +1 -1
- data/lib/ory-client/models/settings_flow.rb +1 -1
- data/lib/ory-client/models/settings_flow_state.rb +1 -1
- data/lib/ory-client/models/source_position.rb +1 -1
- data/lib/ory-client/models/status.rb +1 -1
- data/lib/ory-client/models/subject_set.rb +1 -1
- data/lib/ory-client/models/subscription.rb +1 -1
- data/lib/ory-client/models/successful_code_exchange_response.rb +1 -1
- data/lib/ory-client/models/successful_native_login.rb +1 -1
- data/lib/ory-client/models/successful_native_registration.rb +1 -1
- data/lib/ory-client/models/successful_project_update.rb +1 -1
- data/lib/ory-client/models/talos_retired_value.rb +1 -1
- data/lib/ory-client/models/tax_line_item.rb +1 -1
- data/lib/ory-client/models/time_interval.rb +1 -1
- data/lib/ory-client/models/token.rb +14 -2
- data/lib/ory-client/models/token_algorithm.rb +1 -1
- data/lib/ory-client/models/token_pagination.rb +1 -1
- data/lib/ory-client/models/token_pagination_headers.rb +1 -1
- data/lib/ory-client/models/token_pagination_request_parameters.rb +1 -1
- data/lib/ory-client/models/token_pagination_response_headers.rb +1 -1
- data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
- data/lib/ory-client/models/ui_container.rb +1 -1
- data/lib/ory-client/models/ui_node.rb +1 -1
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_division_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes_option.rb +1 -1
- data/lib/ory-client/models/ui_node_meta.rb +1 -1
- data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
- data/lib/ory-client/models/ui_text.rb +1 -1
- data/lib/ory-client/models/update_fedcm_flow_body.rb +1 -1
- data/lib/ory-client/models/update_identity_body.rb +1 -1
- data/lib/ory-client/models/update_login_flow_body.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_device_authn_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +15 -5
- data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +15 -5
- data/lib/ory-client/models/update_login_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_saml_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_totp_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_organization_onboarding_portal_link_body.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_body.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_saml_method.rb +1 -1
- data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_device_authn_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_device_authn_method_register.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_device_authn_method_rotate_secret.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_password_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_saml_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +1 -1
- data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +1 -1
- data/lib/ory-client/models/update_subscription_body.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_with_code_method.rb +1 -1
- data/lib/ory-client/models/update_verification_flow_with_link_method.rb +1 -1
- data/lib/ory-client/models/update_workspace_body.rb +1 -1
- data/lib/ory-client/models/update_workspace_organization_body.rb +1 -1
- data/lib/ory-client/models/usage.rb +1 -1
- data/lib/ory-client/models/user_verification.rb +1 -1
- data/lib/ory-client/models/validate_base_url_rewrite_request.rb +1 -1
- data/lib/ory-client/models/validate_base_url_rewrite_response.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_priming_response.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_proof.rb +1 -1
- data/lib/ory-client/models/verifiable_credential_response.rb +1 -1
- data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-client/models/verification_error_code.rb +3 -2
- data/lib/ory-client/models/verification_flow.rb +1 -1
- data/lib/ory-client/models/verification_flow_state.rb +1 -1
- data/lib/ory-client/models/verify_api_key_request.rb +18 -5
- data/lib/ory-client/models/verify_api_key_response.rb +14 -2
- data/lib/ory-client/models/verify_user_code_request.rb +14 -2
- data/lib/ory-client/models/version.rb +1 -1
- data/lib/ory-client/models/warning.rb +1 -1
- data/lib/ory-client/models/web_authn_related_origins.rb +1 -1
- data/lib/ory-client/models/workspace.rb +1 -1
- data/lib/ory-client/models/workspace_api_key.rb +1 -1
- data/lib/ory-client/models/workspace_contact.rb +1 -1
- data/lib/ory-client/models/workspace_contact_recipient.rb +1 -1
- data/lib/ory-client/models/workspace_contact_recipient_input.rb +1 -1
- data/lib/ory-client/models/workspace_organization.rb +1 -1
- data/lib/ory-client/version.rb +2 -2
- data/lib/ory-client.rb +1 -1
- data/ory-client.gemspec +1 -1
- data/spec/api/api_keys_api_spec.rb +1 -1
- data/spec/api/courier_api_spec.rb +1 -1
- data/spec/api/elements_api_spec.rb +1 -1
- data/spec/api/events_api_spec.rb +1 -1
- data/spec/api/frontend_api_spec.rb +1 -1
- data/spec/api/identity_api_spec.rb +1 -1
- data/spec/api/jwk_api_spec.rb +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/o_auth2_api_spec.rb +3 -1
- data/spec/api/oidc_api_spec.rb +1 -1
- data/spec/api/permission_api_spec.rb +1 -1
- data/spec/api/project_api_spec.rb +1 -1
- data/spec/api/relationship_api_spec.rb +1 -1
- data/spec/api/wellknown_api_spec.rb +1 -1
- data/spec/api/workspace_api_spec.rb +1 -1
- data/spec/models/accept_device_user_code_request_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
- data/spec/models/account_experience_colors_spec.rb +1 -1
- data/spec/models/account_experience_configuration_spec.rb +1 -1
- data/spec/models/add_project_to_workspace_body_spec.rb +1 -1
- data/spec/models/add_workspace_organization_domain_body_spec.rb +1 -1
- data/spec/models/admin_identity_import_credentials_lookup_secret_config_spec.rb +1 -1
- data/spec/models/admin_identity_import_credentials_lookup_secret_spec.rb +1 -1
- data/spec/models/admin_revoke_imported_api_key_body_spec.rb +1 -1
- data/spec/models/admin_revoke_issued_api_key_body_spec.rb +1 -1
- data/spec/models/admin_rotate_issued_api_key_body_spec.rb +1 -1
- data/spec/models/admin_update_imported_api_key_request_spec.rb +1 -1
- data/spec/models/admin_update_issued_api_key_request_spec.rb +1 -1
- data/spec/models/ai_assistant_session_token_spec.rb +1 -1
- data/spec/models/any_spec.rb +1 -1
- data/spec/models/attribute_filter_spec.rb +1 -1
- data/spec/models/attribute_spec.rb +1 -1
- data/spec/models/attributes_count_datapoint_spec.rb +1 -1
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/basic_organization_spec.rb +1 -1
- data/spec/models/batch_check_permission_body_spec.rb +1 -1
- data/spec/models/batch_check_permission_result_spec.rb +1 -1
- data/spec/models/batch_create_imported_api_keys_error_code_spec.rb +1 -1
- data/spec/models/batch_create_imported_api_keys_request_spec.rb +1 -1
- data/spec/models/batch_create_imported_api_keys_response_spec.rb +1 -1
- data/spec/models/batch_create_imported_api_keys_result_spec.rb +1 -1
- data/spec/models/batch_patch_identities_response_spec.rb +1 -1
- data/spec/models/batch_verify_api_keys_request_spec.rb +1 -1
- data/spec/models/batch_verify_api_keys_response_spec.rb +1 -1
- data/spec/models/billing_period_bucket_spec.rb +1 -1
- data/spec/models/check_opl_syntax_result_spec.rb +1 -1
- data/spec/models/check_permission_result_spec.rb +1 -1
- data/spec/models/check_permission_result_with_error_spec.rb +1 -1
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/continue_with_device_authn_pin_entry_ui_data_spec.rb +1 -1
- data/spec/models/continue_with_device_authn_pin_entry_ui_spec.rb +1 -1
- data/spec/models/continue_with_recovery_ui_flow_spec.rb +1 -1
- data/spec/models/continue_with_recovery_ui_spec.rb +1 -1
- data/spec/models/continue_with_redirect_browser_to_spec.rb +1 -1
- data/spec/models/continue_with_set_ory_session_token_spec.rb +1 -1
- data/spec/models/continue_with_settings_ui_flow_spec.rb +1 -1
- data/spec/models/continue_with_settings_ui_spec.rb +1 -1
- data/spec/models/continue_with_spec.rb +1 -1
- data/spec/models/continue_with_verification_ui_flow_spec.rb +1 -1
- data/spec/models/continue_with_verification_ui_spec.rb +1 -1
- data/spec/models/courier_message_status_spec.rb +1 -1
- data/spec/models/courier_message_type_spec.rb +1 -1
- data/spec/models/create_custom_domain_body_spec.rb +1 -1
- data/spec/models/create_event_stream_body_spec.rb +29 -1
- data/spec/models/create_fedcm_flow_response_spec.rb +1 -1
- data/spec/models/create_identity_body_spec.rb +1 -1
- data/spec/models/create_invite_response_spec.rb +1 -1
- data/spec/models/create_json_web_key_set_spec.rb +1 -1
- data/spec/models/create_onboarding_link_response_spec.rb +1 -1
- data/spec/models/create_organization_onboarding_portal_link_body_spec.rb +1 -1
- data/spec/models/create_project_api_key_body_spec.rb +1 -1
- data/spec/models/create_project_body_spec.rb +1 -1
- data/spec/models/create_project_branding_spec.rb +1 -1
- data/spec/models/create_project_member_invite_body_spec.rb +1 -1
- data/spec/models/create_project_normalized_payload_spec.rb +61 -1
- data/spec/models/create_recovery_code_for_identity_body_spec.rb +1 -1
- data/spec/models/create_recovery_link_for_identity_body_spec.rb +1 -1
- data/spec/models/create_relationship_body_spec.rb +1 -1
- data/spec/models/create_subscription_body_spec.rb +1 -1
- data/spec/models/create_subscription_common_spec.rb +1 -1
- data/spec/models/create_test_login_flow_body_spec.rb +1 -1
- data/spec/models/create_test_login_flow_from_onboarding_portal_link_body_spec.rb +1 -1
- data/spec/models/create_verifiable_credential_request_body_spec.rb +1 -1
- data/spec/models/create_workspace_api_key_body_spec.rb +1 -1
- data/spec/models/create_workspace_body_spec.rb +1 -1
- data/spec/models/create_workspace_contact_body_spec.rb +1 -1
- data/spec/models/create_workspace_member_invite_body_spec.rb +1 -1
- data/spec/models/create_workspace_organization_body_spec.rb +1 -1
- data/spec/models/create_workspace_subscription_body_spec.rb +1 -1
- data/spec/models/credential_supported_draft00_spec.rb +1 -1
- data/spec/models/custom_domain_spec.rb +1 -1
- data/spec/models/customer_portal_availability_spec.rb +1 -1
- data/spec/models/delete_my_sessions_count_spec.rb +1 -1
- data/spec/models/derive_token_request_spec.rb +7 -1
- data/spec/models/derive_token_response_spec.rb +1 -1
- data/spec/models/device_authn_android_authorization_list_spec.rb +1 -1
- data/spec/models/device_authn_android_key_description_spec.rb +1 -1
- data/spec/models/device_authn_android_root_of_trust_spec.rb +1 -1
- data/spec/models/device_authn_attestation_spec.rb +1 -1
- data/spec/models/device_authn_ios_att_stmt_spec.rb +1 -1
- data/spec/models/device_authn_ios_attestation_spec.rb +1 -1
- data/spec/models/device_authn_key_spec.rb +1 -1
- data/spec/models/device_authorization_spec.rb +1 -1
- data/spec/models/device_type_spec.rb +1 -1
- data/spec/models/device_user_auth_request_spec.rb +1 -1
- data/spec/models/domain_verification_status_spec.rb +1 -1
- data/spec/models/elements_configuration_spec.rb +1 -1
- data/spec/models/email_template_data_body_spec.rb +1 -1
- data/spec/models/email_template_data_spec.rb +1 -1
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/error_browser_location_change_required_spec.rb +1 -1
- data/spec/models/error_flow_replaced_spec.rb +1 -1
- data/spec/models/error_generic_spec.rb +1 -1
- data/spec/models/error_o_auth2_spec.rb +1 -1
- data/spec/models/event_stream_spec.rb +29 -1
- data/spec/models/expanded_permission_tree_spec.rb +1 -1
- data/spec/models/feature_flags_catalog_entry_spec.rb +1 -1
- data/spec/models/flow_error_spec.rb +1 -1
- data/spec/models/generic_error_content_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/generic_oidc_provider_spec.rb +1 -1
- data/spec/models/generic_usage_spec.rb +1 -1
- data/spec/models/get_attributes_count_spec.rb +1 -1
- data/spec/models/get_jwks_response_jwks_keys_inner_spec.rb +1 -1
- data/spec/models/get_jwks_response_jwks_spec.rb +1 -1
- data/spec/models/get_jwks_response_spec.rb +1 -1
- data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
- data/spec/models/get_metrics_count_spec.rb +1 -1
- data/spec/models/get_metrics_event_attributes_spec.rb +1 -1
- data/spec/models/get_metrics_event_types_spec.rb +1 -1
- data/spec/models/get_organization_response_spec.rb +1 -1
- data/spec/models/get_organizations_by_hostname_response_spec.rb +1 -1
- data/spec/models/get_project_events_body_spec.rb +1 -1
- data/spec/models/get_project_events_spec.rb +1 -1
- data/spec/models/get_project_metrics_spec.rb +1 -1
- data/spec/models/get_session_activity_spec.rb +1 -1
- data/spec/models/get_version200_response_spec.rb +1 -1
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/identity_credentials_code_address_spec.rb +1 -1
- data/spec/models/identity_credentials_code_spec.rb +1 -1
- data/spec/models/identity_credentials_lookup_secret_code_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_credentials_password_spec.rb +1 -1
- data/spec/models/identity_credentials_spec.rb +1 -1
- data/spec/models/identity_credentials_web_authn_attestation_spec.rb +1 -1
- data/spec/models/identity_credentials_web_authn_authenticator_spec.rb +1 -1
- data/spec/models/identity_credentials_web_authn_flags_spec.rb +1 -1
- data/spec/models/identity_credentials_web_authn_spec.rb +1 -1
- data/spec/models/identity_patch_response_spec.rb +1 -1
- data/spec/models/identity_patch_spec.rb +1 -1
- data/spec/models/identity_schema_container_spec.rb +1 -1
- data/spec/models/identity_schema_preset_spec.rb +1 -1
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_with_credentials_passkey_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_passkey_spec.rb +1 -1
- data/spec/models/identity_with_credentials_password_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_password_spec.rb +1 -1
- data/spec/models/identity_with_credentials_saml_config_provider_spec.rb +1 -1
- data/spec/models/identity_with_credentials_saml_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_saml_spec.rb +1 -1
- data/spec/models/identity_with_credentials_spec.rb +1 -1
- data/spec/models/identity_with_credentials_totp_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_totp_spec.rb +1 -1
- data/spec/models/identity_with_credentials_web_authn_config_spec.rb +1 -1
- data/spec/models/identity_with_credentials_web_authn_spec.rb +1 -1
- data/spec/models/import_api_key_request_spec.rb +1 -1
- data/spec/models/imported_api_key_spec.rb +1 -1
- data/spec/models/internal_get_project_branding_body_spec.rb +1 -1
- data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +1 -1
- data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +1 -1
- data/spec/models/internal_is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
- data/spec/models/invite_token_body_spec.rb +1 -1
- data/spec/models/invoice_data_v1_spec.rb +1 -1
- data/spec/models/invoice_spec.rb +1 -1
- data/spec/models/ip_restriction_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/issue_api_key_request_spec.rb +1 -1
- data/spec/models/issue_api_key_response_spec.rb +1 -1
- data/spec/models/issued_api_key_spec.rb +1 -1
- data/spec/models/json_patch_spec.rb +1 -1
- data/spec/models/json_web_key_set_spec.rb +1 -1
- data/spec/models/json_web_key_spec.rb +1 -1
- data/spec/models/keto_namespace_spec.rb +1 -1
- data/spec/models/key_state_spec.rb +1 -1
- data/spec/models/key_status_spec.rb +1 -1
- data/spec/models/key_visibility_spec.rb +1 -1
- data/spec/models/keyset_pagination_request_parameters_spec.rb +1 -1
- data/spec/models/keyset_pagination_response_headers_spec.rb +1 -1
- data/spec/models/line_item_v1_spec.rb +1 -1
- data/spec/models/list_event_streams_spec.rb +1 -1
- data/spec/models/list_imported_api_keys_response_spec.rb +1 -1
- data/spec/models/list_invoices_response_spec.rb +1 -1
- data/spec/models/list_issued_api_keys_response_spec.rb +1 -1
- data/spec/models/list_organizations_response_spec.rb +1 -1
- data/spec/models/list_workspace_contacts_spec.rb +1 -1
- data/spec/models/list_workspace_projects_spec.rb +1 -1
- data/spec/models/list_workspaces_spec.rb +1 -1
- data/spec/models/login_flow_spec.rb +1 -1
- data/spec/models/login_flow_state_spec.rb +1 -1
- data/spec/models/login_flow_test_context_spec.rb +1 -1
- data/spec/models/login_flow_test_debug_payload_spec.rb +7 -1
- data/spec/models/login_flow_test_schema_validation_error_spec.rb +1 -1
- data/spec/models/login_flow_test_step_error_spec.rb +1 -1
- data/spec/models/logout_flow_spec.rb +1 -1
- data/spec/models/manage_sessions_body_spec.rb +1 -1
- data/spec/models/manage_sessions_response_spec.rb +1 -1
- data/spec/models/managed_identity_schema_spec.rb +1 -1
- data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
- data/spec/models/member_invite_spec.rb +1 -1
- data/spec/models/message_dispatch_spec.rb +1 -1
- data/spec/models/message_spec.rb +1 -1
- data/spec/models/metrics_datapoint_spec.rb +1 -1
- data/spec/models/namespace_spec.rb +1 -1
- data/spec/models/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/normalized_project_revision_courier_channel_spec.rb +1 -1
- data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
- data/spec/models/normalized_project_revision_saml_provider_spec.rb +1 -1
- data/spec/models/normalized_project_revision_scim_client_spec.rb +1 -1
- data/spec/models/normalized_project_revision_spec.rb +61 -1
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
- data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +1 -1
- data/spec/models/normalized_project_spec.rb +1 -1
- data/spec/models/null_value_spec.rb +1 -1
- data/spec/models/o_auth2_client_spec.rb +1 -1
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_spec.rb +7 -1
- data/spec/models/o_auth2_consent_session_spec.rb +1 -1
- data/spec/models/o_auth2_login_request_spec.rb +7 -1
- data/spec/models/o_auth2_logout_request_spec.rb +1 -1
- data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
- data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
- data/spec/models/oidc_configuration_spec.rb +1 -1
- data/spec/models/oidc_user_info_spec.rb +1 -1
- data/spec/models/onboarding_portal_link_spec.rb +1 -1
- data/spec/models/onboarding_portal_organization_spec.rb +7 -1
- data/spec/models/onboarding_portal_test_login_flow_spec.rb +1 -1
- data/spec/models/opl_parse_error_spec.rb +1 -1
- data/spec/models/opl_source_position_spec.rb +1 -1
- data/spec/models/opl_validate_result_spec.rb +1 -1
- data/spec/models/organization_body_spec.rb +1 -1
- data/spec/models/organization_by_hostname_spec.rb +1 -1
- data/spec/models/organization_onboarding_portal_links_response_spec.rb +1 -1
- data/spec/models/organization_spec.rb +1 -1
- data/spec/models/parse_error_spec.rb +1 -1
- data/spec/models/patch_identities_body_spec.rb +1 -1
- data/spec/models/patch_workspace_contact_body_spec.rb +1 -1
- data/spec/models/patch_workspace_member_body_spec.rb +1 -1
- data/spec/models/perform_native_logout_body_spec.rb +1 -1
- data/spec/models/permissions_on_workspace_spec.rb +1 -1
- data/spec/models/pin_config_spec.rb +1 -1
- data/spec/models/plan_details_spec.rb +1 -1
- data/spec/models/post_check_permission_body_spec.rb +1 -1
- data/spec/models/post_check_permission_or_error_body_spec.rb +1 -1
- data/spec/models/project_api_key_spec.rb +1 -1
- data/spec/models/project_branding_colors_spec.rb +1 -1
- data/spec/models/project_branding_spec.rb +1 -1
- data/spec/models/project_branding_theme_spec.rb +1 -1
- data/spec/models/project_cors_spec.rb +1 -1
- data/spec/models/project_events_datapoint_spec.rb +1 -1
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_member_spec.rb +1 -1
- data/spec/models/project_metadata_spec.rb +1 -1
- data/spec/models/project_service_account_experience_spec.rb +1 -1
- data/spec/models/project_service_identity_spec.rb +1 -1
- data/spec/models/project_service_o_auth2_spec.rb +1 -1
- data/spec/models/project_service_permission_spec.rb +1 -1
- data/spec/models/project_service_talos_spec.rb +1 -1
- data/spec/models/project_services_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/provider_spec.rb +1 -1
- data/spec/models/public_member_invite_spec.rb +1 -1
- data/spec/models/quota_usage_spec.rb +2 -2
- data/spec/models/rate_limit_policy_spec.rb +1 -1
- data/spec/models/recovery_code_for_identity_spec.rb +1 -1
- data/spec/models/recovery_flow_spec.rb +1 -1
- data/spec/models/recovery_flow_state_spec.rb +1 -1
- data/spec/models/recovery_identity_address_spec.rb +1 -1
- data/spec/models/recovery_link_for_identity_spec.rb +1 -1
- data/spec/models/registration_flow_spec.rb +1 -1
- data/spec/models/registration_flow_state_spec.rb +1 -1
- data/spec/models/reject_o_auth2_request_spec.rb +1 -1
- data/spec/models/relation_query_spec.rb +1 -1
- data/spec/models/relationship_namespaces_spec.rb +1 -1
- data/spec/models/relationship_patch_spec.rb +1 -1
- data/spec/models/relationship_spec.rb +1 -1
- data/spec/models/relationships_spec.rb +1 -1
- data/spec/models/revision_account_experience_custom_translation_spec.rb +1 -1
- data/spec/models/revocation_reason_spec.rb +1 -1
- data/spec/models/rfc6749_error_json_spec.rb +1 -1
- data/spec/models/rotate_issued_api_key_response_spec.rb +1 -1
- data/spec/models/rotate_o_auth2_client_secret_body_spec.rb +1 -1
- data/spec/models/rotate_talos_key_body_spec.rb +1 -1
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_revoke_api_key_request_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
- data/spec/models/session_activity_datapoint_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +1 -1
- data/spec/models/session_device_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/set_custom_domain_body_spec.rb +1 -1
- data/spec/models/set_event_stream_body_spec.rb +29 -1
- data/spec/models/set_organization_from_onboarding_portal_link_body_spec.rb +1 -1
- data/spec/models/set_project_branding_theme_body_spec.rb +1 -1
- data/spec/models/set_project_spec.rb +1 -1
- data/spec/models/settings_flow_spec.rb +1 -1
- data/spec/models/settings_flow_state_spec.rb +1 -1
- data/spec/models/source_position_spec.rb +1 -1
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/subject_set_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/successful_code_exchange_response_spec.rb +1 -1
- data/spec/models/successful_native_login_spec.rb +1 -1
- data/spec/models/successful_native_registration_spec.rb +1 -1
- data/spec/models/successful_project_update_spec.rb +1 -1
- data/spec/models/talos_retired_value_spec.rb +1 -1
- data/spec/models/tax_line_item_spec.rb +1 -1
- data/spec/models/time_interval_spec.rb +1 -1
- data/spec/models/token_algorithm_spec.rb +1 -1
- data/spec/models/token_pagination_headers_spec.rb +1 -1
- data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
- data/spec/models/token_pagination_response_headers_spec.rb +1 -1
- data/spec/models/token_pagination_spec.rb +1 -1
- data/spec/models/token_spec.rb +7 -1
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
- data/spec/models/ui_container_spec.rb +1 -1
- data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
- data/spec/models/ui_node_attributes_spec.rb +1 -1
- data/spec/models/ui_node_division_attributes_spec.rb +1 -1
- data/spec/models/ui_node_image_attributes_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_option_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_spec.rb +1 -1
- data/spec/models/ui_node_meta_spec.rb +1 -1
- data/spec/models/ui_node_script_attributes_spec.rb +1 -1
- data/spec/models/ui_node_spec.rb +1 -1
- data/spec/models/ui_node_text_attributes_spec.rb +1 -1
- data/spec/models/ui_text_spec.rb +1 -1
- data/spec/models/update_fedcm_flow_body_spec.rb +1 -1
- data/spec/models/update_identity_body_spec.rb +1 -1
- data/spec/models/update_login_flow_body_spec.rb +1 -1
- data/spec/models/update_login_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_device_authn_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +7 -1
- data/spec/models/update_login_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_passkey_method_spec.rb +7 -1
- data/spec/models/update_login_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_saml_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_totp_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_organization_onboarding_portal_link_body_spec.rb +1 -1
- data/spec/models/update_recovery_flow_body_spec.rb +1 -1
- data/spec/models/update_recovery_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_recovery_flow_with_link_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_body_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_passkey_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_profile_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_saml_method_spec.rb +1 -1
- data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_body_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_device_authn_method_register_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_device_authn_method_rotate_secret_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_device_authn_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_lookup_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_oidc_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_passkey_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_password_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_profile_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_saml_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_totp_method_spec.rb +1 -1
- data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +1 -1
- data/spec/models/update_subscription_body_spec.rb +1 -1
- data/spec/models/update_verification_flow_body_spec.rb +1 -1
- data/spec/models/update_verification_flow_with_code_method_spec.rb +1 -1
- data/spec/models/update_verification_flow_with_link_method_spec.rb +1 -1
- data/spec/models/update_workspace_body_spec.rb +1 -1
- data/spec/models/update_workspace_organization_body_spec.rb +1 -1
- data/spec/models/usage_spec.rb +1 -1
- data/spec/models/user_verification_spec.rb +1 -1
- data/spec/models/validate_base_url_rewrite_request_spec.rb +1 -1
- data/spec/models/validate_base_url_rewrite_response_spec.rb +1 -1
- data/spec/models/verifiable_credential_priming_response_spec.rb +1 -1
- data/spec/models/verifiable_credential_proof_spec.rb +1 -1
- data/spec/models/verifiable_credential_response_spec.rb +1 -1
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/verification_error_code_spec.rb +1 -1
- data/spec/models/verification_flow_spec.rb +1 -1
- data/spec/models/verification_flow_state_spec.rb +1 -1
- data/spec/models/verify_api_key_request_spec.rb +7 -1
- data/spec/models/verify_api_key_response_spec.rb +7 -1
- data/spec/models/verify_user_code_request_spec.rb +7 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/models/web_authn_related_origins_spec.rb +1 -1
- data/spec/models/workspace_api_key_spec.rb +1 -1
- data/spec/models/workspace_contact_recipient_input_spec.rb +1 -1
- data/spec/models/workspace_contact_recipient_spec.rb +1 -1
- data/spec/models/workspace_contact_spec.rb +1 -1
- data/spec/models/workspace_organization_spec.rb +1 -1
- data/spec/models/workspace_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/cache/ethon-0.19.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.5.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.13.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/typhoeus-1.7.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/{io-console-0.9.4 → io-console-0.9.5}/gem_make.out +10 -10
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/{io-console-0.9.4 → io-console-0.9.5}/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/{io-console-0.9.4 → io-console-0.9.5}/mkmf.log +6 -6
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/psych-4.0.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/CHANGELOG.md +1120 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/README.md +261 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curl.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/classes.rb +337 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/codes.rb +28 -9
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/constants.rb +61 -4
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/form_options.rb +2 -1
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/functions.rb +107 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/infos.rb +104 -5
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/introspection.rb +139 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/introspection_constants.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/mime.rb +187 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/optional.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/options.rb +298 -71
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/settings.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/share.rb +165 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/share_constants.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/url.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/url_constants.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/callbacks.rb +281 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/features.rb +4 -1
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/files.rb +113 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/form.rb +65 -6
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/header.rb +103 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/headers_api.rb +79 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/actionable.rb +25 -3
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/get.rb +5 -1
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/post.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/postable.rb +9 -2
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/http/putable.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http.rb +16 -4
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/informations.rb +51 -2
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/mime.rb +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/mirror.rb +49 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/operations.rb +317 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/options.rb +369 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/queryable.rb +59 -14
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/response_callbacks.rb +33 -12
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/share.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/url.rb +32 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/util.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy.rb +185 -10
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/fork_safety.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/form_add.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/global_init.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/header.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/invalid_option.rb +3 -1
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/invalid_value.rb +15 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/mime.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/multi_add.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_assign.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/multi_fdset.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_perform.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_poll.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/multi_remove.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/multi_timeout.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_wait.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_wakeup.rb +12 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/select.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/set_option.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/share.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/unsupported_option.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/url.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/libc.rb +50 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/loggable.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/multi/operations.rb +472 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/multi/options.rb +219 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/multi/stack.rb +220 -0
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/multi.rb +51 -15
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon.rb +8 -9
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/ext/io/console/console.c +8 -3
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/ext/io/console/extconf.rb +7 -3
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/CHANGELOG.md +228 -1
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/README.md +766 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/UPGRADE.md +29 -0
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/rack/typhoeus/middleware/params_decoder/helper.rb +129 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/rack/typhoeus/middleware/params_decoder.rb +8 -19
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/rack/typhoeus.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/adapters/faraday.rb +89 -28
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/cache/dalli.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/cache/rails.rb +3 -1
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/cache/redis.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/config.rb +51 -7
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/easy_factory.rb +129 -23
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/errors/invalid_option.rb +23 -0
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/errors/no_response.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/errors/no_stub.rb +8 -1
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/errors/typhoeus_error.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/errors.rb +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/expectation.rb +33 -1
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/hydra/queueable.rb +29 -4
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/hydra.rb +423 -0
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/pool.rb +133 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/railtie.rb +4 -2
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/request/actions.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/request/callbacks.rb +11 -4
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/request/marshal.rb +5 -2
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/request/streamable.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/request.rb +510 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/response/cacheable.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/response/header.rb +325 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/response/informations.rb +75 -12
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/response/status.rb +4 -13
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/response.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/version.rb +3 -1
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus.rb +206 -0
- data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/typhoeus.gemspec +15 -3
- data/vendor/bundle/ruby/3.2.0/specifications/{ethon-0.18.0.gemspec → ethon-0.19.1.gemspec} +4 -4
- data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.9.4.gemspec → io-console-0.9.5.gemspec} +3 -3
- data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.12.0.gemspec → parser-3.3.13.0.gemspec} +4 -4
- data/vendor/bundle/ruby/3.2.0/specifications/{typhoeus-1.6.0.gemspec → typhoeus-1.7.1.gemspec} +5 -5
- metadata +225 -211
- data/vendor/bundle/ruby/3.2.0/cache/ethon-0.18.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.4.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.12.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/cache/typhoeus-1.6.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/CHANGELOG.md +0 -417
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/README.md +0 -118
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/curls/classes.rb +0 -65
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/curls/functions.rb +0 -58
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/curls/settings.rb +0 -12
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/callbacks.rb +0 -155
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/header.rb +0 -61
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/http/putable.rb +0 -25
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/mirror.rb +0 -36
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/operations.rb +0 -64
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/options.rb +0 -50
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/util.rb +0 -28
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/errors/invalid_value.rb +0 -13
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/libc.rb +0 -21
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/multi/operations.rb +0 -228
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/multi/options.rb +0 -117
- data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/multi/stack.rb +0 -49
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/README.md +0 -588
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -76
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/addable.rb +0 -23
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/before.rb +0 -31
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/block_connection.rb +0 -35
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/cacheable.rb +0 -15
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/memoizable.rb +0 -56
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/runnable.rb +0 -19
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/stubbable.rb +0 -28
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra.rb +0 -95
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/pool.rb +0 -70
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/before.rb +0 -30
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/block_connection.rb +0 -52
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/cacheable.rb +0 -38
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/memoizable.rb +0 -38
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/operations.rb +0 -40
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/responseable.rb +0 -29
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/stubbable.rb +0 -30
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request.rb +0 -223
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/response/header.rb +0 -105
- data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus.rb +0 -143
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/{io-console-0.9.4 → io-console-0.9.5}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/ethon.gemspec +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/debug_info.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/custom.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/delete.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/head.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/options.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/patch.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/put.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/params.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/ethon_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/.document +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/BSDL +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/COPYING +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/README.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/ext/io/console/Makefile +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/ext/io/console/win32_vk.inc +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/lib/io/console/size.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/gauntlet_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/all.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ast/node.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ast/processor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/base.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/builders/default.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/clobbering_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/context.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current_arg_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/deprecation.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic/engine.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/dedenter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/explanation.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/literal.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/stack_state.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-F0.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-F1.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-strings.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/macruby.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/max_numparam_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/meta.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby18.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby19.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby20.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby21.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby22.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby23.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby24.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby25.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby26.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby27.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby30.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby31.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby32.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby33.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby34.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rubymotion.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner/ruby_parse.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/buffer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/comment/associator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/comment.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/collection.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/condition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/constant.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/definition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/for.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/heredoc.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/index.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/keyword.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/method_definition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/operator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/rescue_body.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/send.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/ternary.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/variable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/range.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/static_environment.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/variables_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/parser.gemspec +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/CONTRIBUTING.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/LICENSE +0 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
module Ethon
|
|
3
|
+
class Easy
|
|
4
|
+
|
|
5
|
+
# This module contains all the logic around the callbacks,
|
|
6
|
+
# which are needed to interact with libcurl.
|
|
7
|
+
#
|
|
8
|
+
# @api private
|
|
9
|
+
module Callbacks
|
|
10
|
+
|
|
11
|
+
# :nodoc:
|
|
12
|
+
def self.included(base)
|
|
13
|
+
base.send(:attr_accessor, *[:response_body, :response_headers, :debug_info])
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# Set writefunction and headerfunction callback.
|
|
17
|
+
# They are called by libcurl in order to provide the header and
|
|
18
|
+
# the body from the request.
|
|
19
|
+
#
|
|
20
|
+
# @example Set callbacks.
|
|
21
|
+
# easy.set_callbacks
|
|
22
|
+
def set_callbacks
|
|
23
|
+
install_callbacks(handle)
|
|
24
|
+
reset_transfer_state
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Reset the state that belongs to a single transfer. Reusing an Easy must
|
|
28
|
+
# replace the previous response instead of appending to it.
|
|
29
|
+
def reset_transfer_state
|
|
30
|
+
rewind_request_body
|
|
31
|
+
@response_body = @response_body_io ? nil : String.new
|
|
32
|
+
@response_headers = String.new
|
|
33
|
+
@headers_called = false
|
|
34
|
+
@debug_info = Ethon::Easy::DebugInfo.new
|
|
35
|
+
@request_body_read = 0
|
|
36
|
+
@return_code = nil
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Returns the body write callback.
|
|
40
|
+
#
|
|
41
|
+
# @example Return the callback.
|
|
42
|
+
# easy.body_write_callback
|
|
43
|
+
#
|
|
44
|
+
# @return [ Proc ] The callback.
|
|
45
|
+
def body_write_callback
|
|
46
|
+
@body_write_callback ||= proc do |stream, size, num, object|
|
|
47
|
+
begin
|
|
48
|
+
headers_user_callback_result = headers
|
|
49
|
+
result = body(chunk = stream.read_string(size * num))
|
|
50
|
+
if @response_body_io && result != :abort && headers_user_callback_result != :abort
|
|
51
|
+
write_response_body(@response_body_io, chunk)
|
|
52
|
+
elsif result == :unyielded && !@response_body_io && headers_user_callback_result != :abort
|
|
53
|
+
@response_body << chunk
|
|
54
|
+
end
|
|
55
|
+
(result != :abort && headers_user_callback_result != :abort) ? size * num : -1
|
|
56
|
+
rescue Exception => e
|
|
57
|
+
@callback_error ||= e
|
|
58
|
+
0
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Returns the header write callback.
|
|
64
|
+
#
|
|
65
|
+
# @example Return the callback.
|
|
66
|
+
# easy.header_write_callback
|
|
67
|
+
#
|
|
68
|
+
# @return [ Proc ] The callback.
|
|
69
|
+
def header_write_callback
|
|
70
|
+
@header_write_callback ||= proc {|stream, size, num, object|
|
|
71
|
+
begin
|
|
72
|
+
@response_headers << stream.read_string(size * num)
|
|
73
|
+
size * num
|
|
74
|
+
rescue Exception => e
|
|
75
|
+
@callback_error ||= e
|
|
76
|
+
0
|
|
77
|
+
end
|
|
78
|
+
}
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# This callback is called for every debug message libcurl emits while
|
|
82
|
+
# verbose mode is enabled.
|
|
83
|
+
#
|
|
84
|
+
# Messages are written through +Ethon.logger+ at the debug level. The
|
|
85
|
+
# user observer registered with #debugfunction is called as well.
|
|
86
|
+
#
|
|
87
|
+
# @example Return the callback.
|
|
88
|
+
# easy.debug_callback
|
|
89
|
+
#
|
|
90
|
+
# @return [ Proc ] The callback.
|
|
91
|
+
def debug_callback
|
|
92
|
+
@debug_callback ||= proc {|handle, type, data, size, udata|
|
|
93
|
+
begin
|
|
94
|
+
message = data.read_string(size)
|
|
95
|
+
@debug_info.add type, message
|
|
96
|
+
|
|
97
|
+
if [:ssl_data_in, :ssl_data_out].include?(type)
|
|
98
|
+
log_debug("[#{size} bytes data]")
|
|
99
|
+
elsif [:data_in, :data_out].include?(type)
|
|
100
|
+
# Body data stays in #debug_info; logging it would duplicate the
|
|
101
|
+
# response body in the application log.
|
|
102
|
+
else
|
|
103
|
+
log_debug(message)
|
|
104
|
+
end
|
|
105
|
+
@user_debug_callback.call(handle, type, data, size, udata) if @user_debug_callback
|
|
106
|
+
rescue Exception => e
|
|
107
|
+
@callback_error ||= e
|
|
108
|
+
end
|
|
109
|
+
0
|
|
110
|
+
}
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
def set_progress_callback
|
|
114
|
+
# CURLOPT_XFERINFOFUNCTION was added in libcurl 7.32.0.
|
|
115
|
+
option = if Curl.version_at_least?("7.32.0")
|
|
116
|
+
:xferinfofunction
|
|
117
|
+
else
|
|
118
|
+
:progressfunction
|
|
119
|
+
end
|
|
120
|
+
Curl.set_option(option, progress_callback, handle)
|
|
121
|
+
# Remember which callback is effective so a duplicate can restore it.
|
|
122
|
+
@progress_source = :internal
|
|
123
|
+
@internal_progress_option = option
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Returns the progress callback.
|
|
127
|
+
#
|
|
128
|
+
# @example Return the callback.
|
|
129
|
+
# easy.progress_callback
|
|
130
|
+
#
|
|
131
|
+
# @return [ Proc ] The callback.
|
|
132
|
+
def progress_callback
|
|
133
|
+
@progress_callback ||= proc do |_, dltotal, dlnow, ultotal, ulnow|
|
|
134
|
+
begin
|
|
135
|
+
progress(dltotal, dlnow, ultotal, ulnow)
|
|
136
|
+
0
|
|
137
|
+
rescue Exception => e
|
|
138
|
+
@callback_error ||= e
|
|
139
|
+
0
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# A completion callback may start the next transfer on this Easy. Keep
|
|
145
|
+
# the finished transfer's callback error so the caller still sees it;
|
|
146
|
+
# the next transfer starts without it once the error is raised.
|
|
147
|
+
def clear_callback_error
|
|
148
|
+
@callback_error = nil unless @completing
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# The transfer teardown in #perform, #complete, and Multi#check already
|
|
152
|
+
# finishes the response stream. Finishing it here again could close a
|
|
153
|
+
# stream a completion callback installed for the next transfer, or
|
|
154
|
+
# replace the callback error with a teardown error.
|
|
155
|
+
def raise_callback_error
|
|
156
|
+
return unless @callback_error
|
|
157
|
+
|
|
158
|
+
error = @callback_error
|
|
159
|
+
@callback_error = nil
|
|
160
|
+
raise error
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# Set the read callback. This callback is used by libcurl to
|
|
164
|
+
# read data when performing a PUT request.
|
|
165
|
+
#
|
|
166
|
+
# @example Set the callback.
|
|
167
|
+
# easy.set_read_callback("a=1")
|
|
168
|
+
#
|
|
169
|
+
# @param [ String ] body The body.
|
|
170
|
+
def set_read_callback(body)
|
|
171
|
+
@request_body_read = 0
|
|
172
|
+
@request_body = body
|
|
173
|
+
# Remember where a seekable body starts so reusing the Easy replays the
|
|
174
|
+
# same range instead of finding the IO at EOF.
|
|
175
|
+
@request_body_start = begin
|
|
176
|
+
body.pos if body.respond_to?(:seek) && body.respond_to?(:pos)
|
|
177
|
+
rescue IOError, SystemCallError
|
|
178
|
+
nil
|
|
179
|
+
end
|
|
180
|
+
@read_callback = proc do |stream, size, num, object|
|
|
181
|
+
begin
|
|
182
|
+
size = size * num
|
|
183
|
+
remaining = if body.respond_to?(:byteslice)
|
|
184
|
+
body.bytesize - @request_body_read
|
|
185
|
+
elsif body.respond_to?(:read)
|
|
186
|
+
# IO-like bodies advance their own position.
|
|
187
|
+
body.size - body.pos if body.respond_to?(:size) && body.respond_to?(:pos)
|
|
188
|
+
elsif body.respond_to?(:size)
|
|
189
|
+
body.size - @request_body_read
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
size = remaining if remaining && size > remaining
|
|
193
|
+
|
|
194
|
+
chunk = if size > 0
|
|
195
|
+
if body.respond_to?(:byteslice)
|
|
196
|
+
body.byteslice(@request_body_read, size)
|
|
197
|
+
elsif body.respond_to?(:read)
|
|
198
|
+
body.read(size)
|
|
199
|
+
else
|
|
200
|
+
body[@request_body_read, size]
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# libcurl expects the number of bytes actually copied into the
|
|
205
|
+
# buffer. IO-like bodies may return fewer bytes than requested.
|
|
206
|
+
chunk_size = chunk ? chunk.bytesize : 0
|
|
207
|
+
if chunk_size > 0
|
|
208
|
+
stream.write_string(chunk, chunk_size)
|
|
209
|
+
@request_body_read += chunk_size
|
|
210
|
+
end
|
|
211
|
+
chunk_size
|
|
212
|
+
rescue Exception => e
|
|
213
|
+
@callback_error ||= e
|
|
214
|
+
0
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
readfunction(&@read_callback)
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Returns the body read callback.
|
|
221
|
+
#
|
|
222
|
+
# @example Return the callback.
|
|
223
|
+
# easy.read_callback
|
|
224
|
+
#
|
|
225
|
+
# @return [ Proc ] The callback.
|
|
226
|
+
def read_callback
|
|
227
|
+
@read_callback
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
private
|
|
231
|
+
|
|
232
|
+
# IO#write may accept fewer bytes than it was given, especially for
|
|
233
|
+
# nonblocking or wrapper IOs. libcurl must only see the chunk as handled
|
|
234
|
+
# once every byte reached the destination. IOs that return nil (or a
|
|
235
|
+
# non-integer) keep the historical "wrote everything" behavior.
|
|
236
|
+
def write_response_body(io, chunk)
|
|
237
|
+
offset = 0
|
|
238
|
+
total = chunk.bytesize
|
|
239
|
+
while offset < total
|
|
240
|
+
pending = offset.zero? ? chunk : chunk.byteslice(offset, total - offset)
|
|
241
|
+
written = io.write(pending)
|
|
242
|
+
return unless written.is_a?(Integer)
|
|
243
|
+
|
|
244
|
+
raise IOError, "response body write made no progress" if written <= 0
|
|
245
|
+
offset += written
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# Install the callbacks that fill the Ruby-side response state. The
|
|
250
|
+
# handle is passed explicitly so callers do not have to go through
|
|
251
|
+
# #handle, which would create a handle as a side effect.
|
|
252
|
+
def install_callbacks(target)
|
|
253
|
+
Curl.set_option(:writefunction, body_write_callback, target)
|
|
254
|
+
Curl.set_option(:headerfunction, header_write_callback, target)
|
|
255
|
+
Curl.set_option(:debugfunction, debug_callback, target)
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
# Log a libcurl debug message through Ethon.logger. The default level is
|
|
259
|
+
# INFO, so applications opt in by lowering the logger level.
|
|
260
|
+
def log_debug(message)
|
|
261
|
+
return if message.empty?
|
|
262
|
+
|
|
263
|
+
logger = Ethon.logger
|
|
264
|
+
return unless logger.debug?
|
|
265
|
+
|
|
266
|
+
logger.debug { message.sub(/\n+\z/, "") }
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# Seek a request body back to where it was when the callback was
|
|
270
|
+
# installed. Pipes and other non-seekable bodies are left alone.
|
|
271
|
+
def rewind_request_body
|
|
272
|
+
return unless @request_body_start
|
|
273
|
+
return unless @request_body.respond_to?(:seek)
|
|
274
|
+
|
|
275
|
+
@request_body.seek(@request_body_start)
|
|
276
|
+
rescue IOError, SystemCallError
|
|
277
|
+
nil
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
end
|
|
@@ -24,7 +24,10 @@ module Ethon
|
|
|
24
24
|
!!(Curl.version_info[:features] & Curl::VERSION_ASYNCHDNS)
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
# CURLOPT_TIMEOUT_MS was added in libcurl 7.16.2.
|
|
28
|
+
def supports_timeout_ms?
|
|
29
|
+
Curl.version_at_least?("7.16.2")
|
|
30
|
+
end
|
|
28
31
|
|
|
29
32
|
end
|
|
30
33
|
end
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
module Ethon
|
|
3
|
+
class Easy
|
|
4
|
+
# This module contains logic for streaming response bodies to Ruby IOs.
|
|
5
|
+
module Files
|
|
6
|
+
# Stream the response body to a path or writable Ruby object. Ethon closes
|
|
7
|
+
# files it opens from paths; caller-provided objects remain caller-owned.
|
|
8
|
+
# Pass nil to restore in-memory response buffering.
|
|
9
|
+
def file=(destination)
|
|
10
|
+
# Resolve the handle first. Opening a path truncates it, so a cleaned
|
|
11
|
+
# up or fork-inherited handle must not touch the destination before the
|
|
12
|
+
# error is raised.
|
|
13
|
+
handle
|
|
14
|
+
|
|
15
|
+
# Install the new destination before releasing the old one. A failed
|
|
16
|
+
# open must leave the previous destination and its buffered response
|
|
17
|
+
# usable instead of leaving the Easy pointed at a path that cannot be
|
|
18
|
+
# opened.
|
|
19
|
+
# Pathname-like objects may also implement #write. Prefer the path when
|
|
20
|
+
# the object is not an IO (File and Tempfile expose #fileno).
|
|
21
|
+
if destination.respond_to?(:to_path) && !destination.respond_to?(:fileno)
|
|
22
|
+
replace_response_body_path(destination.to_path)
|
|
23
|
+
elsif destination.respond_to?(:write)
|
|
24
|
+
replace_response_body_io(destination)
|
|
25
|
+
elsif destination
|
|
26
|
+
replace_response_body_path(destination.to_s)
|
|
27
|
+
else
|
|
28
|
+
clear_response_body_io
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
@response_body = @response_body_io ? nil : String.new
|
|
32
|
+
destination
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
alias writedata= file=
|
|
36
|
+
|
|
37
|
+
def prepare_response_body_io
|
|
38
|
+
return unless @response_body_path && !@response_body_io
|
|
39
|
+
|
|
40
|
+
@response_body_io = File.open(@response_body_path, "wb")
|
|
41
|
+
@owns_response_body_io = true
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def close_response_body_io
|
|
45
|
+
@response_body_io.close if @owns_response_body_io && @response_body_io && !@response_body_io.closed?
|
|
46
|
+
@response_body_io = nil
|
|
47
|
+
@owns_response_body_io = false
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
def clear_response_body_io
|
|
51
|
+
close_response_body_io
|
|
52
|
+
@response_body_path = nil
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Flush buffered writes without closing a caller-owned IO. Response
|
|
56
|
+
# callbacks and readers should see the complete body before the transfer
|
|
57
|
+
# is treated as finished.
|
|
58
|
+
def flush_response_body_io
|
|
59
|
+
io = @response_body_io
|
|
60
|
+
return unless io
|
|
61
|
+
return if io.respond_to?(:closed?) && io.closed?
|
|
62
|
+
|
|
63
|
+
io.flush if io.respond_to?(:flush)
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Finish the destination used by one transfer. A completion callback may
|
|
67
|
+
# already have installed the destination for the next transfer; only the
|
|
68
|
+
# stream this transfer wrote to belongs to it.
|
|
69
|
+
#
|
|
70
|
+
# @param [ IO, nil ] io The destination that transfer used.
|
|
71
|
+
def finish_response_body_io(io = @response_body_io)
|
|
72
|
+
return unless @response_body_io && @response_body_io.equal?(io)
|
|
73
|
+
|
|
74
|
+
if @owns_response_body_io
|
|
75
|
+
close_response_body_io
|
|
76
|
+
else
|
|
77
|
+
flush_response_body_io
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
private
|
|
82
|
+
|
|
83
|
+
# Open the new path first. If that fails, or if the old destination
|
|
84
|
+
# cannot be released, the previous state stays in place.
|
|
85
|
+
def replace_response_body_path(path)
|
|
86
|
+
io = File.open(path, "wb")
|
|
87
|
+
begin
|
|
88
|
+
clear_response_body_io
|
|
89
|
+
rescue Exception
|
|
90
|
+
close_quietly(io)
|
|
91
|
+
raise
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
@response_body_path = path
|
|
95
|
+
@response_body_io = io
|
|
96
|
+
@owns_response_body_io = true
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
def replace_response_body_io(io)
|
|
100
|
+
clear_response_body_io
|
|
101
|
+
@response_body_io = io
|
|
102
|
+
@owns_response_body_io = false
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
def close_quietly(io)
|
|
106
|
+
io.close unless io.closed?
|
|
107
|
+
rescue StandardError
|
|
108
|
+
# The caller is already handling the failure that kept us from
|
|
109
|
+
# installing the new destination.
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
@@ -57,7 +57,7 @@ module Ethon
|
|
|
57
57
|
# @return [ Boolean ] True if form is multipart, else false.
|
|
58
58
|
def multipart?
|
|
59
59
|
return true if @multipart
|
|
60
|
-
|
|
60
|
+
contains_file?(@params)
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
# Add form elements to libcurl.
|
|
@@ -65,20 +65,77 @@ module Ethon
|
|
|
65
65
|
# @example Add form to libcurl.
|
|
66
66
|
# form.materialize
|
|
67
67
|
def materialize
|
|
68
|
+
unless Curl.respond_to?(:formadd)
|
|
69
|
+
raise NotImplementedError,
|
|
70
|
+
"curl_formadd is not supported by this libcurl; use the MIME API instead"
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
ensure_named_fields!
|
|
68
74
|
query_pairs.each { |pair| form_add(pair.first.to_s, pair.last) }
|
|
69
75
|
end
|
|
70
76
|
|
|
77
|
+
# Build a MIME structure for this form.
|
|
78
|
+
#
|
|
79
|
+
# @example Build a MIME structure.
|
|
80
|
+
# form.mime
|
|
81
|
+
#
|
|
82
|
+
# @return [ Ethon::Curl::Mime ] The MIME structure.
|
|
83
|
+
def mime
|
|
84
|
+
@mime ||= begin
|
|
85
|
+
ensure_named_fields!
|
|
86
|
+
structure = Ethon::Curl::Mime.new(@easy)
|
|
87
|
+
query_pairs.each do |pair|
|
|
88
|
+
part = structure.addpart
|
|
89
|
+
name, content = pair
|
|
90
|
+
part.name = name.to_s
|
|
91
|
+
if content.is_a?(Queryable::FileInfo)
|
|
92
|
+
part.file = content[2]
|
|
93
|
+
part.filename = content[0]
|
|
94
|
+
part.type = content[1]
|
|
95
|
+
else
|
|
96
|
+
part.data = content.to_s
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
structure
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
71
103
|
private
|
|
72
104
|
|
|
73
|
-
|
|
74
|
-
|
|
105
|
+
# A multipart part needs a field name. A raw String body is one pair and
|
|
106
|
+
# has no name, which used to produce an unnamed part through the MIME API
|
|
107
|
+
# and a NoMethodError through the form API.
|
|
108
|
+
def ensure_named_fields!
|
|
109
|
+
return unless query_pairs.any? { |pair| pair.is_a?(String) }
|
|
110
|
+
|
|
111
|
+
raise ArgumentError, "multipart bodies require a Hash of fields"
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
def contains_file?(value)
|
|
115
|
+
case value
|
|
116
|
+
when Hash
|
|
117
|
+
value.values.any? { |item| contains_file?(item) }
|
|
75
118
|
when Array
|
|
119
|
+
value.any? { |item| contains_file?(item) }
|
|
120
|
+
else
|
|
121
|
+
value.is_a?(File) || (defined?(Tempfile) && value.is_a?(Tempfile))
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
def form_add(name, content)
|
|
126
|
+
name = validate_header_line(:name, name.to_s)
|
|
127
|
+
code = case content
|
|
128
|
+
when Queryable::FileInfo
|
|
129
|
+
# The form API writes these into Content-Disposition headers. Older
|
|
130
|
+
# libcurl versions do not escape them.
|
|
131
|
+
filename = validate_header_line(:filename, content[0].to_s)
|
|
132
|
+
content_type = validate_header_line(:content_type, content[1].to_s)
|
|
76
133
|
Curl.formadd(first, last,
|
|
77
134
|
:form_option, :copyname, :pointer, name,
|
|
78
135
|
:form_option, :namelength, :long, name.bytesize,
|
|
79
136
|
:form_option, :file, :string, content[2],
|
|
80
|
-
:form_option, :filename, :string,
|
|
81
|
-
:form_option, :contenttype, :string,
|
|
137
|
+
:form_option, :filename, :string, filename,
|
|
138
|
+
:form_option, :contenttype, :string, content_type,
|
|
82
139
|
:form_option, :end
|
|
83
140
|
)
|
|
84
141
|
else
|
|
@@ -91,6 +148,8 @@ module Ethon
|
|
|
91
148
|
)
|
|
92
149
|
end
|
|
93
150
|
|
|
151
|
+
raise Errors::FormAdd.new(code) unless code == 0
|
|
152
|
+
|
|
94
153
|
setup_garbage_collection
|
|
95
154
|
end
|
|
96
155
|
|
|
@@ -100,7 +159,7 @@ module Ethon
|
|
|
100
159
|
# to. So this results in (pseudo-c):
|
|
101
160
|
# form_data_cleanup_handler = *first
|
|
102
161
|
# curl_form_free(form_data_cleanup_handler)
|
|
103
|
-
@form_data_cleanup_handler ||=
|
|
162
|
+
@form_data_cleanup_handler ||= Curl::FormData.new(@first.get_pointer(0))
|
|
104
163
|
end
|
|
105
164
|
end
|
|
106
165
|
end
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
module Ethon
|
|
3
|
+
class Easy
|
|
4
|
+
# This module contains the logic around adding headers to libcurl.
|
|
5
|
+
#
|
|
6
|
+
# @api private
|
|
7
|
+
module Header
|
|
8
|
+
# Return the request headers, return empty hash if none.
|
|
9
|
+
#
|
|
10
|
+
# The returned hash is an independent snapshot of the headers that were
|
|
11
|
+
# sent to libcurl. Mutating the hash or a value passed to #headers=
|
|
12
|
+
# afterwards cannot change either the handle or this snapshot, and
|
|
13
|
+
# mutating the returned hash or its values does not change the request.
|
|
14
|
+
#
|
|
15
|
+
# @example Return the request headers.
|
|
16
|
+
# easy.request_headers
|
|
17
|
+
#
|
|
18
|
+
# @return [ Hash ] The request headers.
|
|
19
|
+
def request_headers
|
|
20
|
+
copy_headers(@headers || {})
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Set the headers.
|
|
24
|
+
#
|
|
25
|
+
# @example Set the headers.
|
|
26
|
+
# easy.headers = {'User-Agent' => 'ethon'}
|
|
27
|
+
#
|
|
28
|
+
# @param [ Hash ] value The headers.
|
|
29
|
+
def headers=(value)
|
|
30
|
+
# Snapshot before building the list so the stored value is exactly the
|
|
31
|
+
# set that libcurl accepted. Copy the values too: mutating a
|
|
32
|
+
# caller-owned header value in place would otherwise change the
|
|
33
|
+
# snapshot.
|
|
34
|
+
headers = copy_headers(value || {})
|
|
35
|
+
list = build_slist(headers)
|
|
36
|
+
begin
|
|
37
|
+
Curl.set_option(:httpheader, list, handle)
|
|
38
|
+
rescue Exception
|
|
39
|
+
Curl.slist_free_all(list) if list
|
|
40
|
+
raise
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
@headers = headers.freeze
|
|
44
|
+
@header_list = list && Curl::Slist.new(list)
|
|
45
|
+
end
|
|
46
|
+
alias request_headers= headers=
|
|
47
|
+
|
|
48
|
+
# Return header_list.
|
|
49
|
+
#
|
|
50
|
+
# @example Return header_list.
|
|
51
|
+
# easy.header_list
|
|
52
|
+
#
|
|
53
|
+
# @return [ FFI::Pointer ] The header list.
|
|
54
|
+
def header_list
|
|
55
|
+
@header_list
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Compose libcurl header string from key and value.
|
|
59
|
+
# Also replaces null bytes, because libcurl will complain
|
|
60
|
+
# otherwise.
|
|
61
|
+
#
|
|
62
|
+
# @example Compose header.
|
|
63
|
+
# easy.compose_header('User-Agent', 'Ethon')
|
|
64
|
+
#
|
|
65
|
+
# @param [ String ] key The header name.
|
|
66
|
+
# @param [ String ] value The header value.
|
|
67
|
+
#
|
|
68
|
+
# @return [ String ] The composed header.
|
|
69
|
+
def compose_header(key, value)
|
|
70
|
+
header = if key.to_s.end_with?(';') && value.to_s.empty?
|
|
71
|
+
key.to_s
|
|
72
|
+
else
|
|
73
|
+
"#{key}: #{value}"
|
|
74
|
+
end
|
|
75
|
+
header = Util.escape_zero_byte(header)
|
|
76
|
+
# libcurl sends custom headers verbatim, so CR/LF would inject
|
|
77
|
+
# additional headers into the request.
|
|
78
|
+
Util.validate_header_line(:headers, header)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
private
|
|
82
|
+
|
|
83
|
+
# Copy a header hash so callers and the Easy cannot change each other's
|
|
84
|
+
# header values in place. Values that cannot be copied are kept as they
|
|
85
|
+
# are; header values are normally strings.
|
|
86
|
+
def copy_headers(headers)
|
|
87
|
+
headers.each_with_object({}) do |(key, value), copy|
|
|
88
|
+
copy[key] = begin
|
|
89
|
+
value.dup
|
|
90
|
+
rescue TypeError
|
|
91
|
+
value
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Build a curl_slist for the headers. Compose first so an invalid header
|
|
97
|
+
# does not leave a partial native list behind.
|
|
98
|
+
def build_slist(headers)
|
|
99
|
+
Curl::Slist.build(headers.map { |key, value| compose_header(key, value) })
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
module Ethon
|
|
3
|
+
class Easy
|
|
4
|
+
# Structured access to response headers via curl_easy_header.
|
|
5
|
+
module HeadersApi
|
|
6
|
+
# libcurl's request number for the last request in a transfer. Redirects
|
|
7
|
+
# and multi-state authentication can produce several requests, and the
|
|
8
|
+
# response the caller sees comes from the last one.
|
|
9
|
+
LAST_REQUEST = -1
|
|
10
|
+
|
|
11
|
+
# Return a parsed response header.
|
|
12
|
+
#
|
|
13
|
+
# @param [ String ] name The header name.
|
|
14
|
+
# @param [ Integer ] index The instance index for repeated headers.
|
|
15
|
+
# @param [ Integer, Symbol, Array ] origin CURLH_* origin bits.
|
|
16
|
+
# @param [ Integer ] request The request number, -1 for the last request.
|
|
17
|
+
#
|
|
18
|
+
# @return [ Ethon::Curl::Header ] The header.
|
|
19
|
+
def header(name, index = 0, origin = Curl::HeaderOrigin[:header], request = LAST_REQUEST)
|
|
20
|
+
unless Curl.respond_to?(:easy_header)
|
|
21
|
+
raise NotImplementedError, "curl_easy_header is not supported by this libcurl"
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
output = ::FFI::MemoryPointer.new(:pointer)
|
|
25
|
+
code = Curl.easy_header(handle, name.to_s, index, header_origin(origin), request, output)
|
|
26
|
+
raise Errors::Header.new(code) unless code == :ok
|
|
27
|
+
|
|
28
|
+
Curl::Header.new(Curl::HeaderData.new(output.read_pointer))
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Enumerate response headers.
|
|
32
|
+
#
|
|
33
|
+
# @param [ Integer, Symbol, Array ] origin CURLH_* origin bits.
|
|
34
|
+
# @param [ Integer ] request The request number, -1 for the last request.
|
|
35
|
+
#
|
|
36
|
+
# @return [ Enumerator, self ] The headers.
|
|
37
|
+
def each_header(origin = Curl::HeaderOrigin[:header], request = LAST_REQUEST)
|
|
38
|
+
unless Curl.respond_to?(:easy_nextheader)
|
|
39
|
+
raise NotImplementedError, "curl_easy_nextheader is not supported by this libcurl"
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
origin = header_origin(origin)
|
|
43
|
+
return enum_for(:each_header, origin, request) unless block_given?
|
|
44
|
+
|
|
45
|
+
previous = nil
|
|
46
|
+
loop do
|
|
47
|
+
header = Curl.easy_nextheader(handle, origin, request, previous)
|
|
48
|
+
break if header.null?
|
|
49
|
+
|
|
50
|
+
yield Curl::Header.new(header)
|
|
51
|
+
previous = header
|
|
52
|
+
end
|
|
53
|
+
self
|
|
54
|
+
end
|
|
55
|
+
alias headers_list each_header
|
|
56
|
+
|
|
57
|
+
private
|
|
58
|
+
|
|
59
|
+
def header_origin(origin)
|
|
60
|
+
case origin
|
|
61
|
+
when Array
|
|
62
|
+
origin.inject(0) do |mask, item|
|
|
63
|
+
value = Curl::HeaderOrigin[item]
|
|
64
|
+
raise Errors::InvalidValue.new(:header_origin, item) unless value && value != 0
|
|
65
|
+
mask | value
|
|
66
|
+
end
|
|
67
|
+
when Symbol
|
|
68
|
+
value = Curl::HeaderOrigin[origin]
|
|
69
|
+
raise Errors::InvalidValue.new(:header_origin, origin) unless value && value != 0
|
|
70
|
+
value
|
|
71
|
+
else
|
|
72
|
+
origin
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
include HeadersApi
|
|
78
|
+
end
|
|
79
|
+
end
|