ory-client 1.22.7 → 1.22.9
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 +4 -4
- data/README.md +5 -5
- data/docs/AccountExperienceConfiguration.md +2 -0
- data/docs/CreateProjectNormalizedPayload.md +2 -0
- data/docs/FrontendApi.md +4 -4
- data/docs/NormalizedProjectRevision.md +2 -0
- data/docs/OnboardingPortalOrganization.md +1 -1
- data/docs/ProjectApi.md +5 -5
- data/docs/RecoveryIdentityAddress.md +1 -1
- data/lib/ory-client/api/courier_api.rb +1 -1
- data/lib/ory-client/api/events_api.rb +1 -1
- data/lib/ory-client/api/frontend_api.rb +5 -5
- 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 +1 -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 +11 -11
- 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 +1 -1
- data/lib/ory-client/api_error.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 +1 -1
- 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 +30 -2
- data/lib/ory-client/models/active_project_in_console.rb +1 -1
- data/lib/ory-client/models/add_project_to_workspace_body.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_patch_identities_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/consistency_request_parameters.rb +1 -1
- data/lib/ory-client/models/continue_with.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 +1 -1
- 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_organization_onboarding_portal_link_body.rb +1 -1
- data/lib/ory-client/models/create_project_api_key_request.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 +13 -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_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_member_invite_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/delete_my_sessions_count.rb +1 -1
- data/lib/ory-client/models/device_authorization.rb +1 -1
- data/lib/ory-client/models/device_user_auth_request.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 +1 -1
- data/lib/ory-client/models/expanded_permission_tree.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_usage.rb +1 -1
- data/lib/ory-client/models/get_attributes_count.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_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_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_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_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/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/is_owner_for_project_by_slug.rb +1 -1
- 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/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_invoices_response.rb +1 -1
- data/lib/ory-client/models/list_organizations_response.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/logout_flow.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/money.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 +13 -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/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 +1 -1
- 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 +1 -1
- data/lib/ory-client/models/o_auth2_login_request.rb +1 -1
- 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 +18 -2
- 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_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/perform_native_logout_body.rb +1 -1
- data/lib/ory-client/models/permissions_on_workspace.rb +1 -1
- data/lib/ory-client/models/plan.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_services.rb +1 -1
- data/lib/ory-client/models/provider.rb +1 -1
- data/lib/ory-client/models/quota_usage.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 -18
- 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/rfc6749_error_json.rb +1 -1
- data/lib/ory-client/models/schema_patch.rb +1 -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_active_project_in_console_body.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 +1 -1
- 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/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/tax_line_item.rb +1 -1
- data/lib/ory-client/models/time_interval.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_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_identifier_first_method.rb +1 -1
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +1 -1
- 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 +1 -1
- 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_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/usage.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_flow.rb +1 -1
- data/lib/ory-client/models/verification_flow_state.rb +1 -1
- data/lib/ory-client/models/verify_user_code_request.rb +1 -1
- data/lib/ory-client/models/version.rb +1 -1
- data/lib/ory-client/models/warning.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/version.rb +2 -2
- data/lib/ory-client.rb +1 -1
- data/ory-client.gemspec +1 -1
- data/spec/api/courier_api_spec.rb +1 -1
- data/spec/api/events_api_spec.rb +1 -1
- data/spec/api/frontend_api_spec.rb +3 -3
- 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 +1 -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 +6 -6
- 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 +7 -1
- data/spec/models/active_project_in_console_spec.rb +1 -1
- data/spec/models/add_project_to_workspace_body_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_patch_identities_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/consistency_request_parameters_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 +1 -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_organization_onboarding_portal_link_body_spec.rb +1 -1
- data/spec/models/create_project_api_key_request_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 +7 -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_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_member_invite_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/delete_my_sessions_count_spec.rb +1 -1
- data/spec/models/device_authorization_spec.rb +1 -1
- data/spec/models/device_user_auth_request_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 +1 -1
- data/spec/models/expanded_permission_tree_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_usage_spec.rb +1 -1
- data/spec/models/get_attributes_count_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_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_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_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_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/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/is_owner_for_project_by_slug_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/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_invoices_response_spec.rb +1 -1
- data/spec/models/list_organizations_response_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/logout_flow_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/money_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 +7 -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/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 +1 -1
- data/spec/models/o_auth2_consent_session_spec.rb +1 -1
- data/spec/models/o_auth2_login_request_spec.rb +1 -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 +1 -1
- data/spec/models/organization_body_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/perform_native_logout_body_spec.rb +1 -1
- data/spec/models/permissions_on_workspace_spec.rb +1 -1
- data/spec/models/plan_details_spec.rb +1 -1
- data/spec/models/plan_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_services_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/provider_spec.rb +1 -1
- data/spec/models/quota_usage_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/rfc6749_error_json_spec.rb +1 -1
- data/spec/models/schema_patch_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_active_project_in_console_body_spec.rb +1 -1
- data/spec/models/set_custom_domain_body_spec.rb +1 -1
- data/spec/models/set_event_stream_body_spec.rb +1 -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/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/tax_line_item_spec.rb +1 -1
- data/spec/models/time_interval_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/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_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_identifier_first_method_spec.rb +1 -1
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +1 -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 +1 -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_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/usage_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_flow_spec.rb +1 -1
- data/spec/models/verification_flow_state_spec.rb +1 -1
- data/spec/models/verify_user_code_request_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/models/workspace_api_key_spec.rb +1 -1
- data/spec/models/workspace_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/cache/parser-3.3.10.0.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/rspec-mocks-3.13.7.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/stringio-3.1.8.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-12.0.0/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.17.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/jaro_winkler-1.5.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/psych-4.0.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/racc-1.8.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/{stringio-3.1.7 → stringio-3.1.8}/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.1.8/stringio.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/byebug-12.0.0/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.17.2/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/current.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/Changelog.md +8 -1
- data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/test_double.rb +4 -3
- data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.8/.rdoc_options +5 -0
- data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/NEWS.md +31 -0
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.8/docs/io.rb +3 -0
- data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/ext/stringio/stringio.c +340 -91
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.8/ext/stringio/stringio.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.8/ext/stringio/stringio.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.8/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/3.1.0/specifications/{parser-3.3.9.0.gemspec → parser-3.3.10.0.gemspec} +4 -4
- data/vendor/bundle/ruby/3.1.0/specifications/{rspec-mocks-3.13.6.gemspec → rspec-mocks-3.13.7.gemspec} +4 -4
- data/vendor/bundle/ruby/3.1.0/specifications/{stringio-3.1.7.gemspec → stringio-3.1.8.gemspec} +4 -4
- metadata +153 -153
- data/vendor/bundle/ruby/3.1.0/cache/parser-3.3.9.0.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/rspec-mocks-3.13.6.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/stringio-3.1.7.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.1.7/stringio.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.7/.rdoc_options +0 -2
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.7/docs/io.rb +0 -8
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.7/ext/stringio/stringio.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.7/ext/stringio/stringio.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.7/lib/stringio.so +0 -0
- /data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/{stringio-3.1.7 → stringio-3.1.8}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/{stringio-3.1.7 → stringio-3.1.8}/mkmf.log +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/gauntlet_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/all.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ast/node.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ast/processor.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/base.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/builders/default.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/clobbering_error.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/context.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/current_arg_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/deprecation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/diagnostic/engine.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/diagnostic.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/lexer/dedenter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/lexer/explanation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/lexer/literal.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/lexer/stack_state.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/lexer-F0.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/lexer-F1.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/lexer-strings.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/macruby.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/max_numparam_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/meta.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby18.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby19.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby20.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby21.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby22.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby23.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby24.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby25.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby26.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby27.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby30.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby31.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby32.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby33.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/ruby34.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/rubymotion.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/runner/ruby_parse.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/runner.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/buffer.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/comment/associator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/comment.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/collection.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/condition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/constant.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/definition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/for.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/heredoc.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/index.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/keyword.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/method_definition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/operator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/rescue_body.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/send.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/ternary.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map/variable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/map.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/range.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/source/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/static_environment.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser/variables_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/lib/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.9.0 → parser-3.3.10.0}/parser.gemspec +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/.document +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/.yardopts +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/README.md +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/any_instance.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/argument_matchers.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/configuration.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/example_methods.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/marshal_extension.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/matchers/receive.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/message_chain.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/method_double.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/method_reference.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/minitest_integration.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/mutate_const.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/object_reference.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/order_group.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/proxy.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/space.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/standalone.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/syntax.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/targets.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/verifying_double.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{rspec-mocks-3.13.6 → rspec-mocks-3.13.7}/lib/rspec/mocks.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/.document +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/COPYING +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/README.md +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/ext/stringio/.document +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/ext/stringio/.sitearchdir.time +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/ext/stringio/extconf.rb +0 -0
data/vendor/bundle/ruby/3.1.0/gems/{stringio-3.1.7 → stringio-3.1.8}/ext/stringio/stringio.c
RENAMED
|
@@ -13,13 +13,14 @@
|
|
|
13
13
|
**********************************************************************/
|
|
14
14
|
|
|
15
15
|
static const char *const
|
|
16
|
-
STRINGIO_VERSION = "3.1.
|
|
16
|
+
STRINGIO_VERSION = "3.1.8";
|
|
17
17
|
|
|
18
18
|
#include <stdbool.h>
|
|
19
19
|
|
|
20
20
|
#include "ruby.h"
|
|
21
21
|
#include "ruby/io.h"
|
|
22
22
|
#include "ruby/encoding.h"
|
|
23
|
+
#include "ruby/version.h"
|
|
23
24
|
#if defined(HAVE_FCNTL_H) || defined(_WIN32)
|
|
24
25
|
#include <fcntl.h>
|
|
25
26
|
#elif defined(HAVE_SYS_FCNTL_H)
|
|
@@ -35,6 +36,19 @@ STRINGIO_VERSION = "3.1.7";
|
|
|
35
36
|
# define rb_class_new_instance_kw(argc, argv, klass, kw_splat) rb_class_new_instance(argc, argv, klass)
|
|
36
37
|
#endif
|
|
37
38
|
|
|
39
|
+
static inline bool
|
|
40
|
+
str_chilled_p(VALUE str)
|
|
41
|
+
{
|
|
42
|
+
#if (RUBY_API_VERSION_MAJOR == 3 && RUBY_API_VERSION_MINOR >= 4) || RUBY_API_VERSION_MAJOR >= 4
|
|
43
|
+
// Do not attempt to modify chilled strings on Ruby 3.4+
|
|
44
|
+
// RUBY_FL_USER2 == STR_CHILLED_LITERAL
|
|
45
|
+
// RUBY_FL_USER3 == STR_CHILLED_SYMBOL_TO_S
|
|
46
|
+
return FL_TEST_RAW(str, RUBY_FL_USER2 | RUBY_FL_USER3);
|
|
47
|
+
#else
|
|
48
|
+
return false;
|
|
49
|
+
#endif
|
|
50
|
+
}
|
|
51
|
+
|
|
38
52
|
#ifndef HAVE_TYPE_RB_IO_MODE_T
|
|
39
53
|
typedef int rb_io_mode_t;
|
|
40
54
|
#endif
|
|
@@ -189,6 +203,18 @@ check_modifiable(struct StringIO *ptr)
|
|
|
189
203
|
}
|
|
190
204
|
}
|
|
191
205
|
|
|
206
|
+
static inline bool
|
|
207
|
+
outside_p(struct StringIO *ptr, long pos)
|
|
208
|
+
{
|
|
209
|
+
return NIL_P(ptr->string) || pos >= RSTRING_LEN(ptr->string);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
static inline bool
|
|
213
|
+
eos_p(struct StringIO *ptr)
|
|
214
|
+
{
|
|
215
|
+
return outside_p(ptr, ptr->pos);
|
|
216
|
+
}
|
|
217
|
+
|
|
192
218
|
static VALUE
|
|
193
219
|
strio_s_allocate(VALUE klass)
|
|
194
220
|
{
|
|
@@ -199,17 +225,32 @@ strio_s_allocate(VALUE klass)
|
|
|
199
225
|
* call-seq:
|
|
200
226
|
* StringIO.new(string = '', mode = 'r+') -> new_stringio
|
|
201
227
|
*
|
|
202
|
-
* Note that +mode+ defaults to <tt>'r'</tt> if +string+ is frozen.
|
|
203
|
-
*
|
|
204
228
|
* Returns a new \StringIO instance formed from +string+ and +mode+;
|
|
205
|
-
*
|
|
229
|
+
* the instance should be closed when no longer needed:
|
|
206
230
|
*
|
|
207
|
-
* strio = StringIO.new
|
|
231
|
+
* strio = StringIO.new
|
|
232
|
+
* strio.string # => ""
|
|
233
|
+
* strio.closed_read? # => false
|
|
234
|
+
* strio.closed_write? # => false
|
|
208
235
|
* strio.close
|
|
209
236
|
*
|
|
210
|
-
*
|
|
237
|
+
* If +string+ is frozen, the default +mode+ is <tt>'r'</tt>:
|
|
211
238
|
*
|
|
212
|
-
*
|
|
239
|
+
* strio = StringIO.new('foo'.freeze)
|
|
240
|
+
* strio.string # => "foo"
|
|
241
|
+
* strio.closed_read? # => false
|
|
242
|
+
* strio.closed_write? # => true
|
|
243
|
+
* strio.close
|
|
244
|
+
*
|
|
245
|
+
* Argument +mode+ must be a valid
|
|
246
|
+
* {Access Mode}[https://docs.ruby-lang.org/en/master/File.html#class-File-label-Access+Modes],
|
|
247
|
+
* which may be a string or an integer constant:
|
|
248
|
+
*
|
|
249
|
+
* StringIO.new('foo', 'w+')
|
|
250
|
+
* StringIO.new('foo', File::RDONLY)
|
|
251
|
+
*
|
|
252
|
+
* Related: StringIO.open
|
|
253
|
+
* (passes the \StringIO object to the block; closes the object automatically on block exit).
|
|
213
254
|
*/
|
|
214
255
|
static VALUE
|
|
215
256
|
strio_initialize(int argc, VALUE *argv, VALUE self)
|
|
@@ -344,23 +385,20 @@ strio_finalize(VALUE self)
|
|
|
344
385
|
|
|
345
386
|
/*
|
|
346
387
|
* call-seq:
|
|
347
|
-
* StringIO.open(string = '', mode = 'r+')
|
|
388
|
+
* StringIO.open(string = '', mode = 'r+') -> new_stringio
|
|
389
|
+
* StringIO.open(string = '', mode = 'r+') {|strio| ... } -> object
|
|
348
390
|
*
|
|
349
|
-
*
|
|
391
|
+
* Creates new \StringIO instance by calling <tt>StringIO.new(string, mode)</tt>.
|
|
350
392
|
*
|
|
351
|
-
*
|
|
352
|
-
* see {Access Modes}[rdoc-ref:File@Access+Modes].
|
|
353
|
-
*
|
|
354
|
-
* With no block, returns the new instance:
|
|
393
|
+
* With no block given, returns the new instance:
|
|
355
394
|
*
|
|
356
395
|
* strio = StringIO.open # => #<StringIO>
|
|
357
396
|
*
|
|
358
|
-
* With a block, calls the block with the new instance
|
|
397
|
+
* With a block given, calls the block with the new instance
|
|
359
398
|
* and returns the block's value;
|
|
360
|
-
* closes the instance on block exit
|
|
399
|
+
* closes the instance on block exit:
|
|
361
400
|
*
|
|
362
|
-
* StringIO.open {|strio|
|
|
363
|
-
* # => #<StringIO>
|
|
401
|
+
* StringIO.open('foo') {|strio| strio.string.upcase } # => "FOO"
|
|
364
402
|
*
|
|
365
403
|
* Related: StringIO.new.
|
|
366
404
|
*/
|
|
@@ -386,7 +424,7 @@ strio_s_new(int argc, VALUE *argv, VALUE klass)
|
|
|
386
424
|
}
|
|
387
425
|
|
|
388
426
|
/*
|
|
389
|
-
* Returns +false
|
|
427
|
+
* Returns +false+; for compatibility with IO.
|
|
390
428
|
*/
|
|
391
429
|
static VALUE
|
|
392
430
|
strio_false(VALUE self)
|
|
@@ -396,7 +434,7 @@ strio_false(VALUE self)
|
|
|
396
434
|
}
|
|
397
435
|
|
|
398
436
|
/*
|
|
399
|
-
* Returns +nil
|
|
437
|
+
* Returns +nil+; for compatibility with IO.
|
|
400
438
|
*/
|
|
401
439
|
static VALUE
|
|
402
440
|
strio_nil(VALUE self)
|
|
@@ -406,7 +444,7 @@ strio_nil(VALUE self)
|
|
|
406
444
|
}
|
|
407
445
|
|
|
408
446
|
/*
|
|
409
|
-
* Returns
|
|
447
|
+
* Returns +self+; for compatibility with IO.
|
|
410
448
|
*/
|
|
411
449
|
static VALUE
|
|
412
450
|
strio_self(VALUE self)
|
|
@@ -416,7 +454,7 @@ strio_self(VALUE self)
|
|
|
416
454
|
}
|
|
417
455
|
|
|
418
456
|
/*
|
|
419
|
-
* Returns 0
|
|
457
|
+
* Returns 0; for compatibility with IO.
|
|
420
458
|
*/
|
|
421
459
|
static VALUE
|
|
422
460
|
strio_0(VALUE self)
|
|
@@ -476,7 +514,7 @@ strio_get_string(VALUE self)
|
|
|
476
514
|
* call-seq:
|
|
477
515
|
* string = other_string -> other_string
|
|
478
516
|
*
|
|
479
|
-
*
|
|
517
|
+
* Replaces the stored string with +other_string+, and sets the position to zero;
|
|
480
518
|
* returns +other_string+:
|
|
481
519
|
*
|
|
482
520
|
* StringIO.open('foo') do |strio|
|
|
@@ -490,7 +528,7 @@ strio_get_string(VALUE self)
|
|
|
490
528
|
* "foo"
|
|
491
529
|
* "bar"
|
|
492
530
|
*
|
|
493
|
-
* Related: StringIO#string (returns the
|
|
531
|
+
* Related: StringIO#string (returns the stored string).
|
|
494
532
|
*/
|
|
495
533
|
static VALUE
|
|
496
534
|
strio_set_string(VALUE self, VALUE string)
|
|
@@ -511,11 +549,16 @@ strio_set_string(VALUE self, VALUE string)
|
|
|
511
549
|
* call-seq:
|
|
512
550
|
* close -> nil
|
|
513
551
|
*
|
|
514
|
-
* Closes +self+ for both reading and writing
|
|
552
|
+
* Closes +self+ for both reading and writing; returns +nil+:
|
|
515
553
|
*
|
|
516
|
-
*
|
|
554
|
+
* strio = StringIO.new
|
|
555
|
+
* strio.closed? # => false
|
|
556
|
+
* strio.close # => nil
|
|
557
|
+
* strio.closed? # => true
|
|
558
|
+
* strio.read # Raises IOError: not opened for reading
|
|
559
|
+
* strio.write # Raises IOError: not opened for writing
|
|
517
560
|
*
|
|
518
|
-
* Related: StringIO#close_read, StringIO#close_write.
|
|
561
|
+
* Related: StringIO#close_read, StringIO#close_write, StringIO.closed?.
|
|
519
562
|
*/
|
|
520
563
|
static VALUE
|
|
521
564
|
strio_close(VALUE self)
|
|
@@ -529,9 +572,16 @@ strio_close(VALUE self)
|
|
|
529
572
|
* call-seq:
|
|
530
573
|
* close_read -> nil
|
|
531
574
|
*
|
|
532
|
-
* Closes +self+ for reading;
|
|
575
|
+
* Closes +self+ for reading;
|
|
576
|
+
* closed-write setting remains unchanged;
|
|
577
|
+
* returns +nil+:
|
|
533
578
|
*
|
|
534
|
-
*
|
|
579
|
+
* strio = StringIO.new
|
|
580
|
+
* strio.closed_read? # => false
|
|
581
|
+
* strio.close_read # => nil
|
|
582
|
+
* strio.closed_read? # => true
|
|
583
|
+
* strio.closed_write? # => false
|
|
584
|
+
* strio.read # Raises IOError: not opened for reading
|
|
535
585
|
*
|
|
536
586
|
* Related: StringIO#close, StringIO#close_write.
|
|
537
587
|
*/
|
|
@@ -550,11 +600,16 @@ strio_close_read(VALUE self)
|
|
|
550
600
|
* call-seq:
|
|
551
601
|
* close_write -> nil
|
|
552
602
|
*
|
|
553
|
-
* Closes +self+ for writing; closed-read setting remains unchanged
|
|
603
|
+
* Closes +self+ for writing; closed-read setting remains unchanged; returns +nil+:
|
|
554
604
|
*
|
|
555
|
-
*
|
|
605
|
+
* strio = StringIO.new
|
|
606
|
+
* strio.closed_write? # => false
|
|
607
|
+
* strio.close_write # => nil
|
|
608
|
+
* strio.closed_write? # => true
|
|
609
|
+
* strio.closed_read? # => false
|
|
610
|
+
* strio.write('foo') # Raises IOError: not opened for writing
|
|
556
611
|
*
|
|
557
|
-
* Related: StringIO#close, StringIO#close_read
|
|
612
|
+
* Related: StringIO#close, StringIO#close_read, StringIO#closed_write?.
|
|
558
613
|
*/
|
|
559
614
|
static VALUE
|
|
560
615
|
strio_close_write(VALUE self)
|
|
@@ -571,8 +626,16 @@ strio_close_write(VALUE self)
|
|
|
571
626
|
* call-seq:
|
|
572
627
|
* closed? -> true or false
|
|
573
628
|
*
|
|
574
|
-
* Returns
|
|
575
|
-
*
|
|
629
|
+
* Returns whether +self+ is closed for both reading and writing:
|
|
630
|
+
*
|
|
631
|
+
* strio = StringIO.new
|
|
632
|
+
* strio.closed? # => false # Open for reading and writing.
|
|
633
|
+
* strio.close_read
|
|
634
|
+
* strio.closed? # => false # Still open for writing.
|
|
635
|
+
* strio.close_write
|
|
636
|
+
* strio.closed? # => true # Now closed for both.
|
|
637
|
+
*
|
|
638
|
+
* Related: StringIO.closed_read?, StringIO.closed_write?.
|
|
576
639
|
*/
|
|
577
640
|
static VALUE
|
|
578
641
|
strio_closed(VALUE self)
|
|
@@ -586,7 +649,14 @@ strio_closed(VALUE self)
|
|
|
586
649
|
* call-seq:
|
|
587
650
|
* closed_read? -> true or false
|
|
588
651
|
*
|
|
589
|
-
* Returns
|
|
652
|
+
* Returns whether +self+ is closed for reading:
|
|
653
|
+
*
|
|
654
|
+
* strio = StringIO.new
|
|
655
|
+
* strio.closed_read? # => false
|
|
656
|
+
* strio.close_read
|
|
657
|
+
* strio.closed_read? # => true
|
|
658
|
+
*
|
|
659
|
+
* Related: StringIO#closed?, StringIO#closed_write?, StringIO#close_read.
|
|
590
660
|
*/
|
|
591
661
|
static VALUE
|
|
592
662
|
strio_closed_read(VALUE self)
|
|
@@ -600,7 +670,14 @@ strio_closed_read(VALUE self)
|
|
|
600
670
|
* call-seq:
|
|
601
671
|
* closed_write? -> true or false
|
|
602
672
|
*
|
|
603
|
-
* Returns
|
|
673
|
+
* Returns whether +self+ is closed for writing:
|
|
674
|
+
*
|
|
675
|
+
* strio = StringIO.new
|
|
676
|
+
* strio.closed_write? # => false
|
|
677
|
+
* strio.close_write
|
|
678
|
+
* strio.closed_write? # => true
|
|
679
|
+
*
|
|
680
|
+
* Related: StringIO#close_write, StringIO#closed?, StringIO#closed_read?.
|
|
604
681
|
*/
|
|
605
682
|
static VALUE
|
|
606
683
|
strio_closed_write(VALUE self)
|
|
@@ -614,19 +691,26 @@ static struct StringIO *
|
|
|
614
691
|
strio_to_read(VALUE self)
|
|
615
692
|
{
|
|
616
693
|
struct StringIO *ptr = readable(self);
|
|
617
|
-
if (
|
|
618
|
-
|
|
619
|
-
return NULL;
|
|
694
|
+
if (eos_p(ptr)) return NULL;
|
|
695
|
+
return ptr;
|
|
620
696
|
}
|
|
621
697
|
|
|
622
698
|
/*
|
|
623
699
|
* call-seq:
|
|
624
700
|
* eof? -> true or false
|
|
625
701
|
*
|
|
626
|
-
* Returns +
|
|
627
|
-
*
|
|
702
|
+
* Returns whether +self+ is positioned at end-of-stream:
|
|
703
|
+
*
|
|
704
|
+
* strio = StringIO.new('foo')
|
|
705
|
+
* strio.pos # => 0
|
|
706
|
+
* strio.eof? # => false
|
|
707
|
+
* strio.read # => "foo"
|
|
708
|
+
* strio.pos # => 3
|
|
709
|
+
* strio.eof? # => true
|
|
710
|
+
* strio.close_read
|
|
711
|
+
* strio.eof? # Raises IOError: not opened for reading
|
|
628
712
|
*
|
|
629
|
-
*
|
|
713
|
+
* Related: StringIO#pos.
|
|
630
714
|
*/
|
|
631
715
|
static VALUE
|
|
632
716
|
strio_eof(VALUE self)
|
|
@@ -690,7 +774,7 @@ strio_set_lineno(VALUE self, VALUE lineno)
|
|
|
690
774
|
* binmode -> self
|
|
691
775
|
*
|
|
692
776
|
* Sets the data mode in +self+ to binary mode;
|
|
693
|
-
* see {Data Mode}[
|
|
777
|
+
* see {Data Mode}[https://docs.ruby-lang.org/en/master/File.html#class-File-label-Data+Mode].
|
|
694
778
|
*
|
|
695
779
|
*/
|
|
696
780
|
static VALUE
|
|
@@ -823,7 +907,11 @@ strio_seek(int argc, VALUE *argv, VALUE self)
|
|
|
823
907
|
offset = ptr->pos;
|
|
824
908
|
break;
|
|
825
909
|
case 2:
|
|
826
|
-
|
|
910
|
+
if (NIL_P(ptr->string)) {
|
|
911
|
+
offset = 0;
|
|
912
|
+
} else {
|
|
913
|
+
offset = RSTRING_LEN(ptr->string);
|
|
914
|
+
}
|
|
827
915
|
break;
|
|
828
916
|
default:
|
|
829
917
|
error_inval("invalid whence");
|
|
@@ -856,10 +944,9 @@ strio_get_sync(VALUE self)
|
|
|
856
944
|
* call-seq:
|
|
857
945
|
* each_byte {|byte| ... } -> self
|
|
858
946
|
*
|
|
859
|
-
*
|
|
860
|
-
* see {Byte IO}[rdoc-ref:IO@Byte+IO].
|
|
947
|
+
* :include: stringio/each_byte.rdoc
|
|
861
948
|
*
|
|
862
|
-
*
|
|
949
|
+
* Related: StringIO#each_char, StringIO#each_codepoint, StringIO#each_line.
|
|
863
950
|
*/
|
|
864
951
|
static VALUE
|
|
865
952
|
strio_each_byte(VALUE self)
|
|
@@ -877,10 +964,10 @@ strio_each_byte(VALUE self)
|
|
|
877
964
|
|
|
878
965
|
/*
|
|
879
966
|
* call-seq:
|
|
880
|
-
* getc -> character or nil
|
|
967
|
+
* getc -> character, byte, or nil
|
|
968
|
+
*
|
|
969
|
+
* :include: stringio/getc.rdoc
|
|
881
970
|
*
|
|
882
|
-
* Reads and returns the next character from the stream;
|
|
883
|
-
* see {Character IO}[rdoc-ref:IO@Character+IO].
|
|
884
971
|
*/
|
|
885
972
|
static VALUE
|
|
886
973
|
strio_getc(VALUE self)
|
|
@@ -892,7 +979,7 @@ strio_getc(VALUE self)
|
|
|
892
979
|
int len;
|
|
893
980
|
char *p;
|
|
894
981
|
|
|
895
|
-
if (
|
|
982
|
+
if (eos_p(ptr)) {
|
|
896
983
|
return Qnil;
|
|
897
984
|
}
|
|
898
985
|
p = RSTRING_PTR(str)+pos;
|
|
@@ -903,17 +990,17 @@ strio_getc(VALUE self)
|
|
|
903
990
|
|
|
904
991
|
/*
|
|
905
992
|
* call-seq:
|
|
906
|
-
* getbyte ->
|
|
993
|
+
* getbyte -> integer or nil
|
|
994
|
+
*
|
|
995
|
+
* :include: stringio/getbyte.rdoc
|
|
907
996
|
*
|
|
908
|
-
* Reads and returns the next 8-bit byte from the stream;
|
|
909
|
-
* see {Byte IO}[rdoc-ref:IO@Byte+IO].
|
|
910
997
|
*/
|
|
911
998
|
static VALUE
|
|
912
999
|
strio_getbyte(VALUE self)
|
|
913
1000
|
{
|
|
914
1001
|
struct StringIO *ptr = readable(self);
|
|
915
1002
|
int c;
|
|
916
|
-
if (
|
|
1003
|
+
if (eos_p(ptr)) {
|
|
917
1004
|
return Qnil;
|
|
918
1005
|
}
|
|
919
1006
|
c = RSTRING_PTR(ptr->string)[ptr->pos++];
|
|
@@ -1082,12 +1169,11 @@ strio_readbyte(VALUE self)
|
|
|
1082
1169
|
|
|
1083
1170
|
/*
|
|
1084
1171
|
* call-seq:
|
|
1085
|
-
* each_char {|
|
|
1172
|
+
* each_char {|char| ... } -> self
|
|
1086
1173
|
*
|
|
1087
|
-
*
|
|
1088
|
-
* see {Character IO}[rdoc-ref:IO@Character+IO].
|
|
1174
|
+
* :include: stringio/each_char.rdoc
|
|
1089
1175
|
*
|
|
1090
|
-
*
|
|
1176
|
+
* Related: StringIO#each_byte, StringIO#each_codepoint, StringIO#each_line.
|
|
1091
1177
|
*/
|
|
1092
1178
|
static VALUE
|
|
1093
1179
|
strio_each_char(VALUE self)
|
|
@@ -1106,10 +1192,9 @@ strio_each_char(VALUE self)
|
|
|
1106
1192
|
* call-seq:
|
|
1107
1193
|
* each_codepoint {|codepoint| ... } -> self
|
|
1108
1194
|
*
|
|
1109
|
-
*
|
|
1110
|
-
* see {Codepoint IO}[rdoc-ref:IO@Codepoint+IO].
|
|
1195
|
+
* :include: stringio/each_codepoint.rdoc
|
|
1111
1196
|
*
|
|
1112
|
-
*
|
|
1197
|
+
* Related: StringIO#each_byte, StringIO#each_char, StringIO#each_line.
|
|
1113
1198
|
*/
|
|
1114
1199
|
static VALUE
|
|
1115
1200
|
strio_each_codepoint(VALUE self)
|
|
@@ -1343,9 +1428,8 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr)
|
|
|
1343
1428
|
* gets(limit, chomp: false) -> string or nil
|
|
1344
1429
|
* gets(sep, limit, chomp: false) -> string or nil
|
|
1345
1430
|
*
|
|
1346
|
-
*
|
|
1347
|
-
*
|
|
1348
|
-
* see {Line IO}[rdoc-ref:IO@Line+IO].
|
|
1431
|
+
* :include: stringio/gets.rdoc
|
|
1432
|
+
*
|
|
1349
1433
|
*/
|
|
1350
1434
|
static VALUE
|
|
1351
1435
|
strio_gets(int argc, VALUE *argv, VALUE self)
|
|
@@ -1382,15 +1466,177 @@ strio_readline(int argc, VALUE *argv, VALUE self)
|
|
|
1382
1466
|
}
|
|
1383
1467
|
|
|
1384
1468
|
/*
|
|
1469
|
+
* :markup: markdown
|
|
1470
|
+
*
|
|
1385
1471
|
* call-seq:
|
|
1386
1472
|
* each_line(sep = $/, chomp: false) {|line| ... } -> self
|
|
1387
1473
|
* each_line(limit, chomp: false) {|line| ... } -> self
|
|
1388
1474
|
* each_line(sep, limit, chomp: false) {|line| ... } -> self
|
|
1389
1475
|
*
|
|
1390
|
-
*
|
|
1391
|
-
*
|
|
1392
|
-
*
|
|
1393
|
-
*
|
|
1476
|
+
* With a block given calls the block with each remaining line (see "Position" below) in the stream;
|
|
1477
|
+
* returns `self`.
|
|
1478
|
+
*
|
|
1479
|
+
* Leaves stream position as end-of-stream.
|
|
1480
|
+
*
|
|
1481
|
+
* **No Arguments**
|
|
1482
|
+
*
|
|
1483
|
+
* With no arguments given,
|
|
1484
|
+
* reads lines using the default record separator global variable `$/`, whose initial value is `"\n"`.
|
|
1485
|
+
*
|
|
1486
|
+
* ```
|
|
1487
|
+
* strio = StringIO.new(TEXT)
|
|
1488
|
+
* strio.each_line {|line| p line }
|
|
1489
|
+
* strio.eof? # => true
|
|
1490
|
+
* ```
|
|
1491
|
+
*
|
|
1492
|
+
* Output:
|
|
1493
|
+
*
|
|
1494
|
+
* ```
|
|
1495
|
+
* "First line\n"
|
|
1496
|
+
* "Second line\n"
|
|
1497
|
+
* "\n"
|
|
1498
|
+
* "Fourth line\n"
|
|
1499
|
+
* "Fifth line\n"
|
|
1500
|
+
* ```
|
|
1501
|
+
*
|
|
1502
|
+
* **Argument `sep`**
|
|
1503
|
+
*
|
|
1504
|
+
* With only string argument `sep` given,
|
|
1505
|
+
* reads lines using that string as the record separator:
|
|
1506
|
+
*
|
|
1507
|
+
* ```
|
|
1508
|
+
* strio = StringIO.new(TEXT)
|
|
1509
|
+
* strio.each_line(' ') {|line| p line }
|
|
1510
|
+
* ```
|
|
1511
|
+
*
|
|
1512
|
+
* Output:
|
|
1513
|
+
*
|
|
1514
|
+
* ```
|
|
1515
|
+
* "First "
|
|
1516
|
+
* "line\nSecond "
|
|
1517
|
+
* "line\n\nFourth "
|
|
1518
|
+
* "line\nFifth "
|
|
1519
|
+
* "line\n"
|
|
1520
|
+
* ```
|
|
1521
|
+
*
|
|
1522
|
+
* **Argument `limit`**
|
|
1523
|
+
*
|
|
1524
|
+
* With only integer argument `limit` given,
|
|
1525
|
+
* reads lines using the default record separator global variable `$/`, whose initial value is `"\n"`;
|
|
1526
|
+
* also limits the size (in characters) of each line to the given limit:
|
|
1527
|
+
*
|
|
1528
|
+
* ```
|
|
1529
|
+
* strio = StringIO.new(TEXT)
|
|
1530
|
+
* strio.each_line(10) {|line| p line }
|
|
1531
|
+
* ```
|
|
1532
|
+
*
|
|
1533
|
+
* Output:
|
|
1534
|
+
*
|
|
1535
|
+
* ```
|
|
1536
|
+
* "First line"
|
|
1537
|
+
* "\n"
|
|
1538
|
+
* "Second lin"
|
|
1539
|
+
* "e\n"
|
|
1540
|
+
* "\n"
|
|
1541
|
+
* "Fourth lin"
|
|
1542
|
+
* "e\n"
|
|
1543
|
+
* "Fifth line"
|
|
1544
|
+
* "\n"
|
|
1545
|
+
* ```
|
|
1546
|
+
* **Arguments `sep` and `limit`**
|
|
1547
|
+
*
|
|
1548
|
+
* With arguments `sep` and `limit` both given,
|
|
1549
|
+
* honors both:
|
|
1550
|
+
*
|
|
1551
|
+
* ```
|
|
1552
|
+
* strio = StringIO.new(TEXT)
|
|
1553
|
+
* strio.each_line(' ', 10) {|line| p line }
|
|
1554
|
+
* ```
|
|
1555
|
+
*
|
|
1556
|
+
* Output:
|
|
1557
|
+
*
|
|
1558
|
+
* ```
|
|
1559
|
+
* "First "
|
|
1560
|
+
* "line\nSecon"
|
|
1561
|
+
* "d "
|
|
1562
|
+
* "line\n\nFour"
|
|
1563
|
+
* "th "
|
|
1564
|
+
* "line\nFifth"
|
|
1565
|
+
* " "
|
|
1566
|
+
* "line\n"
|
|
1567
|
+
* ```
|
|
1568
|
+
*
|
|
1569
|
+
* **Position**
|
|
1570
|
+
*
|
|
1571
|
+
* As stated above, method `each` _remaining_ line in the stream.
|
|
1572
|
+
*
|
|
1573
|
+
* In the examples above each `strio` object starts with its position at beginning-of-stream;
|
|
1574
|
+
* but in other cases the position may be anywhere (see StringIO#pos):
|
|
1575
|
+
*
|
|
1576
|
+
* ```
|
|
1577
|
+
* strio = StringIO.new(TEXT)
|
|
1578
|
+
* strio.pos = 30 # Set stream position to character 30.
|
|
1579
|
+
* strio.each_line {|line| p line }
|
|
1580
|
+
* ```
|
|
1581
|
+
*
|
|
1582
|
+
* Output:
|
|
1583
|
+
*
|
|
1584
|
+
* ```
|
|
1585
|
+
* " line\n"
|
|
1586
|
+
* "Fifth line\n"
|
|
1587
|
+
* ```
|
|
1588
|
+
*
|
|
1589
|
+
* **Special Record Separators**
|
|
1590
|
+
*
|
|
1591
|
+
* Like some methds in class `IO`, StringIO.each honors two special record separators;
|
|
1592
|
+
* see {Special Line Separators}[https://docs.ruby-lang.org/en/master/IO.html#class-IO-label-Special+Line+Separator+Values].
|
|
1593
|
+
*
|
|
1594
|
+
* ```
|
|
1595
|
+
* strio = StringIO.new(TEXT)
|
|
1596
|
+
* strio.each_line('') {|line| p line } # Read as paragraphs (separated by blank lines).
|
|
1597
|
+
* ```
|
|
1598
|
+
*
|
|
1599
|
+
* Output:
|
|
1600
|
+
*
|
|
1601
|
+
* ```
|
|
1602
|
+
* "First line\nSecond line\n\n"
|
|
1603
|
+
* "Fourth line\nFifth line\n"
|
|
1604
|
+
* ```
|
|
1605
|
+
*
|
|
1606
|
+
* ```
|
|
1607
|
+
* strio = StringIO.new(TEXT)
|
|
1608
|
+
* strio.each_line(nil) {|line| p line } # "Slurp"; read it all.
|
|
1609
|
+
* ```
|
|
1610
|
+
*
|
|
1611
|
+
* Output:
|
|
1612
|
+
*
|
|
1613
|
+
* ```
|
|
1614
|
+
* "First line\nSecond line\n\nFourth line\nFifth line\n"
|
|
1615
|
+
* ```
|
|
1616
|
+
*
|
|
1617
|
+
* **Keyword Argument `chomp`**
|
|
1618
|
+
*
|
|
1619
|
+
* With keyword argument `chomp` given as `true` (the default is `false`),
|
|
1620
|
+
* removes trailing newline (if any) from each line:
|
|
1621
|
+
*
|
|
1622
|
+
* ```
|
|
1623
|
+
* strio = StringIO.new(TEXT)
|
|
1624
|
+
* strio.each_line(chomp: true) {|line| p line }
|
|
1625
|
+
* ```
|
|
1626
|
+
*
|
|
1627
|
+
* Output:
|
|
1628
|
+
*
|
|
1629
|
+
* ```
|
|
1630
|
+
* "First line"
|
|
1631
|
+
* "Second line"
|
|
1632
|
+
* ""
|
|
1633
|
+
* "Fourth line"
|
|
1634
|
+
* "Fifth line"
|
|
1635
|
+
* ```
|
|
1636
|
+
*
|
|
1637
|
+
* With no block given, returns a new {Enumerator}[https://docs.ruby-lang.org/en/master/Enumerator.html].
|
|
1638
|
+
*
|
|
1639
|
+
* Related: StringIO.each_byte, StringIO.each_char, StringIO.each_codepoint.
|
|
1394
1640
|
*/
|
|
1395
1641
|
static VALUE
|
|
1396
1642
|
strio_each(int argc, VALUE *argv, VALUE self)
|
|
@@ -1591,10 +1837,9 @@ strio_read(int argc, VALUE *argv, VALUE self)
|
|
|
1591
1837
|
if (len < 0) {
|
|
1592
1838
|
rb_raise(rb_eArgError, "negative length %ld given", len);
|
|
1593
1839
|
}
|
|
1594
|
-
if (
|
|
1595
|
-
(NIL_P(ptr->string) || ptr->pos >= RSTRING_LEN(ptr->string))) {
|
|
1840
|
+
if (eos_p(ptr)) {
|
|
1596
1841
|
if (!NIL_P(str)) rb_str_resize(str, 0);
|
|
1597
|
-
return Qnil;
|
|
1842
|
+
return len > 0 ? Qnil : rb_str_new(0, 0);
|
|
1598
1843
|
}
|
|
1599
1844
|
binary = 1;
|
|
1600
1845
|
break;
|
|
@@ -1670,7 +1915,7 @@ strio_pread(int argc, VALUE *argv, VALUE self)
|
|
|
1670
1915
|
|
|
1671
1916
|
struct StringIO *ptr = readable(self);
|
|
1672
1917
|
|
|
1673
|
-
if (
|
|
1918
|
+
if (outside_p(ptr, offset)) {
|
|
1674
1919
|
rb_eof_error();
|
|
1675
1920
|
}
|
|
1676
1921
|
|
|
@@ -1801,12 +2046,20 @@ strio_truncate(VALUE self, VALUE len)
|
|
|
1801
2046
|
}
|
|
1802
2047
|
|
|
1803
2048
|
/*
|
|
1804
|
-
*
|
|
1805
|
-
*
|
|
2049
|
+
* call-seq:
|
|
2050
|
+
* external_encoding -> encoding or nil
|
|
2051
|
+
*
|
|
2052
|
+
* Returns an Encoding object that represents the encoding of the string;
|
|
2053
|
+
* see {Encoding}[https://docs.ruby-lang.org/en/master/Encoding.html]:
|
|
2054
|
+
*
|
|
2055
|
+
* strio = StringIO.new('foo')
|
|
2056
|
+
* strio.external_encoding # => #<Encoding:UTF-8>
|
|
2057
|
+
*
|
|
2058
|
+
* Returns +nil+ if +self+ has no string and is in write mode:
|
|
2059
|
+
*
|
|
2060
|
+
* strio = StringIO.new(nil, 'w+')
|
|
2061
|
+
* strio.external_encoding # => nil
|
|
1806
2062
|
*
|
|
1807
|
-
* Returns the Encoding object that represents the encoding of the file.
|
|
1808
|
-
* If the stream is write mode and no encoding is specified, returns
|
|
1809
|
-
* +nil+.
|
|
1810
2063
|
*/
|
|
1811
2064
|
|
|
1812
2065
|
static VALUE
|
|
@@ -1818,10 +2071,9 @@ strio_external_encoding(VALUE self)
|
|
|
1818
2071
|
|
|
1819
2072
|
/*
|
|
1820
2073
|
* call-seq:
|
|
1821
|
-
*
|
|
2074
|
+
* internal_encoding -> nil
|
|
1822
2075
|
*
|
|
1823
|
-
* Returns
|
|
1824
|
-
* specified. Otherwise returns +nil+.
|
|
2076
|
+
* Returns +nil+; for compatibility with IO.
|
|
1825
2077
|
*/
|
|
1826
2078
|
|
|
1827
2079
|
static VALUE
|
|
@@ -1864,7 +2116,7 @@ strio_set_encoding(int argc, VALUE *argv, VALUE self)
|
|
|
1864
2116
|
}
|
|
1865
2117
|
}
|
|
1866
2118
|
ptr->enc = enc;
|
|
1867
|
-
if (!NIL_P(ptr->string) && WRITABLE(self)) {
|
|
2119
|
+
if (!NIL_P(ptr->string) && WRITABLE(self) && !str_chilled_p(ptr->string)) {
|
|
1868
2120
|
rb_enc_associate(ptr->string, enc);
|
|
1869
2121
|
}
|
|
1870
2122
|
|
|
@@ -1890,16 +2142,9 @@ strio_set_encoding_by_bom(VALUE self)
|
|
|
1890
2142
|
}
|
|
1891
2143
|
|
|
1892
2144
|
/*
|
|
1893
|
-
*
|
|
1894
|
-
* {IO}[rdoc-ref:IO];
|
|
1895
|
-
* see {IO}[rdoc-ref:IO].
|
|
1896
|
-
*
|
|
1897
|
-
* === About the Examples
|
|
1898
|
-
*
|
|
1899
|
-
* Examples on this page assume that \StringIO has been required:
|
|
1900
|
-
*
|
|
1901
|
-
* require 'stringio'
|
|
2145
|
+
* :markup: markdown
|
|
1902
2146
|
*
|
|
2147
|
+
* :include: stringio/stringio.md
|
|
1903
2148
|
*/
|
|
1904
2149
|
void
|
|
1905
2150
|
Init_stringio(void)
|
|
@@ -1907,7 +2152,7 @@ Init_stringio(void)
|
|
|
1907
2152
|
#undef rb_intern
|
|
1908
2153
|
|
|
1909
2154
|
#ifdef HAVE_RB_EXT_RACTOR_SAFE
|
|
1910
|
-
|
|
2155
|
+
rb_ext_ractor_safe(true);
|
|
1911
2156
|
#endif
|
|
1912
2157
|
|
|
1913
2158
|
VALUE StringIO = rb_define_class("StringIO", rb_cObject);
|
|
@@ -1999,7 +2244,9 @@ Init_stringio(void)
|
|
|
1999
2244
|
rb_define_method(StringIO, "set_encoding_by_bom", strio_set_encoding_by_bom, 0);
|
|
2000
2245
|
|
|
2001
2246
|
{
|
|
2247
|
+
/* :stopdoc: */
|
|
2002
2248
|
VALUE mReadable = rb_define_module_under(rb_cIO, "generic_readable");
|
|
2249
|
+
/* :startdoc: */
|
|
2003
2250
|
rb_define_method(mReadable, "readchar", strio_readchar, 0);
|
|
2004
2251
|
rb_define_method(mReadable, "readbyte", strio_readbyte, 0);
|
|
2005
2252
|
rb_define_method(mReadable, "readline", strio_readline, -1);
|
|
@@ -2009,7 +2256,9 @@ Init_stringio(void)
|
|
|
2009
2256
|
rb_include_module(StringIO, mReadable);
|
|
2010
2257
|
}
|
|
2011
2258
|
{
|
|
2259
|
+
/* :stopdoc: */
|
|
2012
2260
|
VALUE mWritable = rb_define_module_under(rb_cIO, "generic_writable");
|
|
2261
|
+
/* :startdoc: */
|
|
2013
2262
|
rb_define_method(mWritable, "<<", strio_addstr, 1);
|
|
2014
2263
|
rb_define_method(mWritable, "print", strio_print, -1);
|
|
2015
2264
|
rb_define_method(mWritable, "printf", strio_printf, -1);
|