ory-client 1.8.1 → 1.11.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +11 -10
- data/docs/CreateProjectBody.md +2 -2
- data/docs/CreateProjectNormalizedPayload.md +25 -5
- data/docs/IdentityApi.md +9 -9
- data/docs/IdentityCredentials.md +1 -1
- data/docs/LoginFlow.md +1 -1
- data/docs/MetadataApi.md +0 -134
- data/docs/MigrationOptions.md +1 -1
- data/docs/NormalizedProject.md +3 -1
- data/docs/NormalizedProjectRevision.md +24 -4
- data/docs/PlanDetails.md +2 -0
- data/docs/ProjectMetadata.md +3 -1
- data/docs/QuotaUsage.md +1 -1
- data/docs/RegistrationFlow.md +1 -1
- data/docs/Subscription.md +1 -1
- data/docs/SuccessfulNativeLogin.md +2 -0
- data/docs/UiNode.md +1 -1
- data/docs/UiNodeAnchorAttributes.md +1 -1
- data/docs/UiNodeImageAttributes.md +1 -1
- data/docs/UiNodeInputAttributes.md +3 -1
- data/docs/UiNodeScriptAttributes.md +1 -1
- data/docs/UiNodeTextAttributes.md +1 -1
- data/docs/UpdateLoginFlowBody.md +3 -0
- data/docs/UpdateLoginFlowWithPasskeyMethod.md +22 -0
- data/docs/UpdateRegistrationFlowBody.md +3 -0
- data/docs/UpdateRegistrationFlowWithPasskeyMethod.md +26 -0
- data/docs/UpdateRegistrationFlowWithProfileMethod.md +26 -0
- data/docs/UpdateSettingsFlowBody.md +3 -0
- data/docs/UpdateSettingsFlowWithPasskeyMethod.md +24 -0
- data/lib/ory-client/api/courier_api.rb +2 -2
- data/lib/ory-client/api/events_api.rb +2 -2
- data/lib/ory-client/api/frontend_api.rb +2 -2
- data/lib/ory-client/api/identity_api.rb +12 -12
- data/lib/ory-client/api/jwk_api.rb +2 -2
- data/lib/ory-client/api/metadata_api.rb +2 -116
- data/lib/ory-client/api/o_auth2_api.rb +2 -2
- data/lib/ory-client/api/oidc_api.rb +2 -2
- data/lib/ory-client/api/permission_api.rb +2 -2
- data/lib/ory-client/api/project_api.rb +2 -2
- data/lib/ory-client/api/relationship_api.rb +2 -2
- data/lib/ory-client/api/wellknown_api.rb +2 -2
- data/lib/ory-client/api_client.rb +2 -2
- data/lib/ory-client/api_error.rb +2 -2
- data/lib/ory-client/configuration.rb +2 -2
- 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 +2 -2
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +2 -2
- data/lib/ory-client/models/active_project_in_console.rb +2 -2
- data/lib/ory-client/models/attribute.rb +2 -2
- data/lib/ory-client/models/attribute_filter.rb +2 -2
- data/lib/ory-client/models/attributes_count_datapoint.rb +2 -2
- data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
- data/lib/ory-client/models/batch_patch_identities_response.rb +2 -2
- data/lib/ory-client/models/check_opl_syntax_result.rb +2 -2
- data/lib/ory-client/models/check_permission_result.rb +2 -2
- data/lib/ory-client/models/cloud_account.rb +2 -2
- data/lib/ory-client/models/consistency_request_parameters.rb +2 -2
- data/lib/ory-client/models/continue_with.rb +2 -2
- data/lib/ory-client/models/continue_with_recovery_ui.rb +2 -2
- data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +2 -2
- data/lib/ory-client/models/continue_with_set_ory_session_token.rb +2 -2
- data/lib/ory-client/models/continue_with_settings_ui.rb +2 -2
- data/lib/ory-client/models/continue_with_settings_ui_flow.rb +2 -2
- data/lib/ory-client/models/continue_with_verification_ui.rb +2 -2
- data/lib/ory-client/models/continue_with_verification_ui_flow.rb +2 -2
- data/lib/ory-client/models/courier_message_status.rb +2 -2
- data/lib/ory-client/models/courier_message_type.rb +2 -2
- data/lib/ory-client/models/create_custom_domain_body.rb +2 -2
- data/lib/ory-client/models/create_event_stream_body.rb +2 -2
- data/lib/ory-client/models/create_identity_body.rb +2 -2
- data/lib/ory-client/models/create_invite_response.rb +2 -2
- data/lib/ory-client/models/create_json_web_key_set.rb +2 -2
- data/lib/ory-client/models/create_project_api_key_request.rb +2 -2
- data/lib/ory-client/models/create_project_body.rb +6 -6
- data/lib/ory-client/models/create_project_branding.rb +2 -2
- data/lib/ory-client/models/create_project_member_invite_body.rb +2 -2
- data/lib/ory-client/models/create_project_normalized_payload.rb +111 -11
- data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +2 -2
- data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +2 -2
- data/lib/ory-client/models/create_relationship_body.rb +2 -2
- data/lib/ory-client/models/create_subscription_body.rb +2 -2
- data/lib/ory-client/models/create_subscription_common.rb +2 -2
- data/lib/ory-client/models/create_verifiable_credential_request_body.rb +2 -2
- data/lib/ory-client/models/create_workspace_member_invite_body.rb +2 -2
- data/lib/ory-client/models/create_workspace_payload.rb +2 -2
- data/lib/ory-client/models/create_workspace_subscription_body.rb +2 -2
- data/lib/ory-client/models/credential_supported_draft00.rb +2 -2
- data/lib/ory-client/models/custom_domain.rb +2 -2
- data/lib/ory-client/models/delete_my_sessions_count.rb +2 -2
- data/lib/ory-client/models/email_template_data.rb +2 -2
- data/lib/ory-client/models/email_template_data_body.rb +2 -2
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +2 -2
- data/lib/ory-client/models/error_browser_location_change_required.rb +2 -2
- data/lib/ory-client/models/error_flow_replaced.rb +2 -2
- data/lib/ory-client/models/error_generic.rb +2 -2
- data/lib/ory-client/models/error_o_auth2.rb +2 -2
- data/lib/ory-client/models/event_stream.rb +2 -2
- data/lib/ory-client/models/expanded_permission_tree.rb +2 -2
- data/lib/ory-client/models/flow_error.rb +2 -2
- data/lib/ory-client/models/generic_error.rb +2 -2
- data/lib/ory-client/models/generic_error_content.rb +2 -2
- data/lib/ory-client/models/generic_usage.rb +2 -2
- data/lib/ory-client/models/get_attributes_count_response.rb +2 -2
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +2 -2
- data/lib/ory-client/models/get_metrics_event_attributes_response.rb +2 -2
- data/lib/ory-client/models/get_metrics_event_types_response.rb +2 -2
- data/lib/ory-client/models/get_organization_response.rb +2 -2
- data/lib/ory-client/models/get_project_events_body.rb +2 -2
- data/lib/ory-client/models/get_project_events_response.rb +2 -2
- data/lib/ory-client/models/get_project_metrics_response.rb +2 -2
- data/lib/ory-client/models/get_session_activity_response.rb +2 -2
- data/lib/ory-client/models/get_version200_response.rb +2 -2
- data/lib/ory-client/models/health_not_ready_status.rb +2 -2
- data/lib/ory-client/models/health_status.rb +2 -2
- data/lib/ory-client/models/identity.rb +2 -2
- data/lib/ory-client/models/identity_credentials.rb +5 -5
- data/lib/ory-client/models/identity_credentials_code.rb +2 -2
- data/lib/ory-client/models/identity_credentials_oidc.rb +2 -2
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +2 -2
- data/lib/ory-client/models/identity_credentials_password.rb +2 -2
- data/lib/ory-client/models/identity_patch.rb +2 -2
- data/lib/ory-client/models/identity_patch_response.rb +2 -2
- data/lib/ory-client/models/identity_schema_container.rb +2 -2
- data/lib/ory-client/models/identity_schema_preset.rb +2 -2
- data/lib/ory-client/models/identity_with_credentials.rb +2 -2
- data/lib/ory-client/models/identity_with_credentials_oidc.rb +2 -2
- data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +2 -2
- data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +2 -2
- data/lib/ory-client/models/identity_with_credentials_password.rb +2 -2
- data/lib/ory-client/models/identity_with_credentials_password_config.rb +2 -2
- data/lib/ory-client/models/internal_get_project_branding_body.rb +2 -2
- data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +2 -2
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +2 -2
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_response.rb +2 -2
- data/lib/ory-client/models/introspected_o_auth2_token.rb +2 -2
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +2 -2
- data/lib/ory-client/models/json_patch.rb +2 -2
- data/lib/ory-client/models/json_web_key.rb +2 -2
- data/lib/ory-client/models/json_web_key_set.rb +2 -2
- data/lib/ory-client/models/keto_namespace.rb +2 -2
- data/lib/ory-client/models/list_event_streams.rb +2 -2
- data/lib/ory-client/models/list_my_workspaces_response.rb +2 -2
- data/lib/ory-client/models/list_organizations_response.rb +2 -2
- data/lib/ory-client/models/list_workspace_projects_response.rb +2 -2
- data/lib/ory-client/models/login_flow.rb +5 -5
- data/lib/ory-client/models/login_flow_state.rb +2 -2
- data/lib/ory-client/models/logout_flow.rb +2 -2
- data/lib/ory-client/models/managed_identity_schema.rb +2 -2
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +2 -2
- data/lib/ory-client/models/member_invite.rb +2 -2
- data/lib/ory-client/models/message.rb +2 -2
- data/lib/ory-client/models/message_dispatch.rb +2 -2
- data/lib/ory-client/models/metrics_datapoint.rb +2 -2
- data/lib/ory-client/models/migration_options.rb +5 -5
- data/lib/ory-client/models/namespace.rb +2 -2
- data/lib/ory-client/models/needs_privileged_session_error.rb +2 -2
- data/lib/ory-client/models/normalized_project.rb +15 -6
- data/lib/ory-client/models/normalized_project_revision.rb +108 -7
- data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +2 -2
- data/lib/ory-client/models/normalized_project_revision_hook.rb +2 -2
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +2 -2
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +2 -2
- data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +2 -2
- data/lib/ory-client/models/o_auth2_client.rb +2 -2
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +2 -2
- data/lib/ory-client/models/o_auth2_consent_request.rb +2 -2
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +2 -2
- data/lib/ory-client/models/o_auth2_consent_session.rb +2 -2
- data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +2 -2
- data/lib/ory-client/models/o_auth2_login_request.rb +2 -2
- data/lib/ory-client/models/o_auth2_logout_request.rb +2 -2
- data/lib/ory-client/models/o_auth2_redirect_to.rb +2 -2
- data/lib/ory-client/models/o_auth2_token_exchange.rb +2 -2
- data/lib/ory-client/models/oidc_configuration.rb +2 -2
- data/lib/ory-client/models/oidc_user_info.rb +2 -2
- data/lib/ory-client/models/organization.rb +2 -2
- data/lib/ory-client/models/organization_body.rb +2 -2
- data/lib/ory-client/models/pagination.rb +2 -2
- data/lib/ory-client/models/pagination_headers.rb +2 -2
- data/lib/ory-client/models/parse_error.rb +2 -2
- data/lib/ory-client/models/patch_identities_body.rb +2 -2
- data/lib/ory-client/models/perform_native_logout_body.rb +2 -2
- data/lib/ory-client/models/permissions_on_workpace_response.rb +2 -2
- data/lib/ory-client/models/plan.rb +2 -2
- data/lib/ory-client/models/plan_details.rb +13 -3
- data/lib/ory-client/models/post_check_permission_body.rb +2 -2
- data/lib/ory-client/models/post_check_permission_or_error_body.rb +2 -2
- data/lib/ory-client/models/project.rb +2 -2
- data/lib/ory-client/models/project_api_key.rb +2 -2
- data/lib/ory-client/models/project_branding.rb +2 -2
- data/lib/ory-client/models/project_branding_colors.rb +2 -2
- data/lib/ory-client/models/project_branding_theme.rb +2 -2
- data/lib/ory-client/models/project_cors.rb +2 -2
- data/lib/ory-client/models/project_events_datapoint.rb +2 -2
- data/lib/ory-client/models/project_host.rb +2 -2
- data/lib/ory-client/models/project_member.rb +2 -2
- data/lib/ory-client/models/project_metadata.rb +15 -6
- data/lib/ory-client/models/project_service_identity.rb +2 -2
- data/lib/ory-client/models/project_service_o_auth2.rb +2 -2
- data/lib/ory-client/models/project_service_permission.rb +2 -2
- data/lib/ory-client/models/project_services.rb +2 -2
- data/lib/ory-client/models/quota_usage.rb +5 -5
- data/lib/ory-client/models/recovery_code_for_identity.rb +2 -2
- data/lib/ory-client/models/recovery_flow.rb +2 -2
- data/lib/ory-client/models/recovery_flow_state.rb +2 -2
- data/lib/ory-client/models/recovery_identity_address.rb +2 -2
- data/lib/ory-client/models/recovery_link_for_identity.rb +2 -2
- data/lib/ory-client/models/registration_flow.rb +5 -5
- data/lib/ory-client/models/registration_flow_state.rb +2 -2
- data/lib/ory-client/models/reject_o_auth2_request.rb +2 -2
- data/lib/ory-client/models/relation_query.rb +2 -2
- data/lib/ory-client/models/relationship.rb +2 -2
- data/lib/ory-client/models/relationship_namespaces.rb +2 -2
- data/lib/ory-client/models/relationship_patch.rb +2 -2
- data/lib/ory-client/models/relationships.rb +2 -2
- data/lib/ory-client/models/rfc6749_error_json.rb +2 -2
- data/lib/ory-client/models/schema_patch.rb +2 -2
- data/lib/ory-client/models/self_service_flow_expired_error.rb +2 -2
- data/lib/ory-client/models/session.rb +2 -2
- data/lib/ory-client/models/session_activity_datapoint.rb +2 -2
- data/lib/ory-client/models/session_authentication_method.rb +2 -2
- data/lib/ory-client/models/session_device.rb +2 -2
- data/lib/ory-client/models/set_active_project_in_console_body.rb +2 -2
- data/lib/ory-client/models/set_custom_domain_body.rb +2 -2
- data/lib/ory-client/models/set_event_stream_body.rb +2 -2
- data/lib/ory-client/models/set_project.rb +2 -2
- data/lib/ory-client/models/set_project_branding_theme_body.rb +2 -2
- data/lib/ory-client/models/settings_flow.rb +2 -2
- data/lib/ory-client/models/settings_flow_state.rb +2 -2
- data/lib/ory-client/models/source_position.rb +2 -2
- data/lib/ory-client/models/subject_set.rb +2 -2
- data/lib/ory-client/models/subscription.rb +3 -3
- data/lib/ory-client/models/successful_code_exchange_response.rb +2 -2
- data/lib/ory-client/models/successful_native_login.rb +15 -3
- data/lib/ory-client/models/successful_native_registration.rb +2 -2
- data/lib/ory-client/models/successful_project_update.rb +2 -2
- data/lib/ory-client/models/token_pagination.rb +2 -2
- data/lib/ory-client/models/token_pagination_headers.rb +2 -2
- data/lib/ory-client/models/token_pagination_request_parameters.rb +2 -2
- data/lib/ory-client/models/token_pagination_response_headers.rb +2 -2
- data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +2 -2
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +2 -2
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +2 -2
- data/lib/ory-client/models/ui_container.rb +2 -2
- data/lib/ory-client/models/ui_node.rb +5 -5
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +37 -3
- data/lib/ory-client/models/ui_node_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_image_attributes.rb +37 -3
- data/lib/ory-client/models/ui_node_input_attributes.rb +26 -4
- data/lib/ory-client/models/ui_node_meta.rb +2 -2
- data/lib/ory-client/models/ui_node_script_attributes.rb +37 -3
- data/lib/ory-client/models/ui_node_text_attributes.rb +37 -3
- data/lib/ory-client/models/ui_text.rb +2 -2
- data/lib/ory-client/models/update_identity_body.rb +2 -2
- data/lib/ory-client/models/update_login_flow_body.rb +4 -2
- data/lib/ory-client/models/update_login_flow_with_code_method.rb +2 -2
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +2 -2
- data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +2 -2
- data/lib/ory-client/models/{is_ready200_response.rb → update_login_flow_with_passkey_method.rb} +38 -17
- data/lib/ory-client/models/update_login_flow_with_password_method.rb +2 -2
- data/lib/ory-client/models/update_login_flow_with_totp_method.rb +2 -2
- data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +2 -2
- data/lib/ory-client/models/update_recovery_flow_body.rb +2 -2
- data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +2 -2
- data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +2 -2
- data/lib/ory-client/models/update_registration_flow_body.rb +4 -2
- data/lib/ory-client/models/update_registration_flow_with_code_method.rb +2 -2
- data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +2 -2
- data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +270 -0
- data/lib/ory-client/models/update_registration_flow_with_password_method.rb +2 -2
- data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +270 -0
- data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +2 -2
- data/lib/ory-client/models/update_settings_flow_body.rb +4 -2
- data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +2 -2
- data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +2 -2
- data/lib/ory-client/models/{is_ready503_response.rb → update_settings_flow_with_passkey_method.rb} +48 -19
- data/lib/ory-client/models/update_settings_flow_with_password_method.rb +2 -2
- data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +2 -2
- data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +2 -2
- data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +2 -2
- data/lib/ory-client/models/update_subscription_body.rb +2 -2
- data/lib/ory-client/models/update_verification_flow_body.rb +2 -2
- data/lib/ory-client/models/update_verification_flow_with_code_method.rb +2 -2
- data/lib/ory-client/models/update_verification_flow_with_link_method.rb +2 -2
- data/lib/ory-client/models/update_workspace_payload.rb +2 -2
- data/lib/ory-client/models/usage.rb +2 -2
- data/lib/ory-client/models/verifiable_credential_priming_response.rb +2 -2
- data/lib/ory-client/models/verifiable_credential_proof.rb +2 -2
- data/lib/ory-client/models/verifiable_credential_response.rb +2 -2
- data/lib/ory-client/models/verifiable_identity_address.rb +2 -2
- data/lib/ory-client/models/verification_flow.rb +2 -2
- data/lib/ory-client/models/verification_flow_state.rb +2 -2
- data/lib/ory-client/models/version.rb +2 -2
- data/lib/ory-client/models/warning.rb +2 -2
- data/lib/ory-client/models/workspace.rb +2 -2
- data/lib/ory-client/models/workspace_meta.rb +2 -2
- data/lib/ory-client/version.rb +3 -3
- data/lib/ory-client.rb +6 -4
- data/ory-client.gemspec +2 -2
- data/spec/api/courier_api_spec.rb +2 -2
- data/spec/api/events_api_spec.rb +2 -2
- data/spec/api/frontend_api_spec.rb +2 -2
- data/spec/api/identity_api_spec.rb +5 -5
- data/spec/api/jwk_api_spec.rb +2 -2
- data/spec/api/metadata_api_spec.rb +2 -24
- data/spec/api/o_auth2_api_spec.rb +2 -2
- data/spec/api/oidc_api_spec.rb +2 -2
- data/spec/api/permission_api_spec.rb +2 -2
- data/spec/api/project_api_spec.rb +2 -2
- data/spec/api/relationship_api_spec.rb +2 -2
- data/spec/api/wellknown_api_spec.rb +2 -2
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +2 -2
- data/spec/models/accept_o_auth2_consent_request_spec.rb +2 -2
- data/spec/models/accept_o_auth2_login_request_spec.rb +2 -2
- data/spec/models/active_project_in_console_spec.rb +2 -2
- data/spec/models/attribute_filter_spec.rb +2 -2
- data/spec/models/attribute_spec.rb +2 -2
- data/spec/models/attributes_count_datapoint_spec.rb +2 -2
- data/spec/models/authenticator_assurance_level_spec.rb +2 -2
- data/spec/models/batch_patch_identities_response_spec.rb +2 -2
- data/spec/models/check_opl_syntax_result_spec.rb +2 -2
- data/spec/models/check_permission_result_spec.rb +2 -2
- data/spec/models/cloud_account_spec.rb +2 -2
- data/spec/models/consistency_request_parameters_spec.rb +2 -2
- data/spec/models/continue_with_recovery_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_recovery_ui_spec.rb +2 -2
- data/spec/models/continue_with_set_ory_session_token_spec.rb +2 -2
- data/spec/models/continue_with_settings_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_settings_ui_spec.rb +2 -2
- data/spec/models/continue_with_spec.rb +2 -2
- data/spec/models/continue_with_verification_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_verification_ui_spec.rb +2 -2
- data/spec/models/courier_message_status_spec.rb +2 -2
- data/spec/models/courier_message_type_spec.rb +2 -2
- data/spec/models/create_custom_domain_body_spec.rb +2 -2
- data/spec/models/create_event_stream_body_spec.rb +2 -2
- data/spec/models/create_identity_body_spec.rb +2 -2
- data/spec/models/create_invite_response_spec.rb +2 -2
- data/spec/models/create_json_web_key_set_spec.rb +2 -2
- data/spec/models/create_project_api_key_request_spec.rb +2 -2
- data/spec/models/create_project_body_spec.rb +3 -3
- data/spec/models/create_project_branding_spec.rb +2 -2
- data/spec/models/create_project_member_invite_body_spec.rb +2 -2
- data/spec/models/create_project_normalized_payload_spec.rb +63 -3
- data/spec/models/create_recovery_code_for_identity_body_spec.rb +2 -2
- data/spec/models/create_recovery_link_for_identity_body_spec.rb +2 -2
- data/spec/models/create_relationship_body_spec.rb +2 -2
- data/spec/models/create_subscription_body_spec.rb +2 -2
- data/spec/models/create_subscription_common_spec.rb +2 -2
- data/spec/models/create_verifiable_credential_request_body_spec.rb +2 -2
- data/spec/models/create_workspace_member_invite_body_spec.rb +2 -2
- data/spec/models/create_workspace_payload_spec.rb +2 -2
- data/spec/models/create_workspace_subscription_body_spec.rb +2 -2
- data/spec/models/credential_supported_draft00_spec.rb +2 -2
- data/spec/models/custom_domain_spec.rb +2 -2
- data/spec/models/delete_my_sessions_count_spec.rb +2 -2
- data/spec/models/email_template_data_body_spec.rb +2 -2
- data/spec/models/email_template_data_spec.rb +2 -2
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
- data/spec/models/error_browser_location_change_required_spec.rb +2 -2
- data/spec/models/error_flow_replaced_spec.rb +2 -2
- data/spec/models/error_generic_spec.rb +2 -2
- data/spec/models/error_o_auth2_spec.rb +2 -2
- data/spec/models/event_stream_spec.rb +2 -2
- data/spec/models/expanded_permission_tree_spec.rb +2 -2
- data/spec/models/flow_error_spec.rb +2 -2
- data/spec/models/generic_error_content_spec.rb +2 -2
- data/spec/models/generic_error_spec.rb +2 -2
- data/spec/models/generic_usage_spec.rb +2 -2
- data/spec/models/get_attributes_count_response_spec.rb +2 -2
- data/spec/models/get_managed_identity_schema_location_spec.rb +2 -2
- data/spec/models/get_metrics_event_attributes_response_spec.rb +2 -2
- data/spec/models/get_metrics_event_types_response_spec.rb +2 -2
- data/spec/models/get_organization_response_spec.rb +2 -2
- data/spec/models/get_project_events_body_spec.rb +2 -2
- data/spec/models/get_project_events_response_spec.rb +2 -2
- data/spec/models/get_project_metrics_response_spec.rb +2 -2
- data/spec/models/get_session_activity_response_spec.rb +2 -2
- data/spec/models/get_version200_response_spec.rb +2 -2
- data/spec/models/health_not_ready_status_spec.rb +2 -2
- data/spec/models/health_status_spec.rb +2 -2
- data/spec/models/identity_credentials_code_spec.rb +2 -2
- data/spec/models/identity_credentials_oidc_provider_spec.rb +2 -2
- data/spec/models/identity_credentials_oidc_spec.rb +2 -2
- data/spec/models/identity_credentials_password_spec.rb +2 -2
- data/spec/models/identity_credentials_spec.rb +3 -3
- data/spec/models/identity_patch_response_spec.rb +2 -2
- data/spec/models/identity_patch_spec.rb +2 -2
- data/spec/models/identity_schema_container_spec.rb +2 -2
- data/spec/models/identity_schema_preset_spec.rb +2 -2
- data/spec/models/identity_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_config_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_spec.rb +2 -2
- data/spec/models/identity_with_credentials_password_config_spec.rb +2 -2
- data/spec/models/identity_with_credentials_password_spec.rb +2 -2
- data/spec/models/identity_with_credentials_spec.rb +2 -2
- data/spec/models/internal_get_project_branding_body_spec.rb +2 -2
- data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +2 -2
- data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +2 -2
- data/spec/models/internal_is_owner_for_project_by_slug_response_spec.rb +2 -2
- data/spec/models/introspected_o_auth2_token_spec.rb +2 -2
- data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
- data/spec/models/json_patch_spec.rb +2 -2
- data/spec/models/json_web_key_set_spec.rb +2 -2
- data/spec/models/json_web_key_spec.rb +2 -2
- data/spec/models/keto_namespace_spec.rb +2 -2
- data/spec/models/list_event_streams_spec.rb +2 -2
- data/spec/models/list_my_workspaces_response_spec.rb +2 -2
- data/spec/models/list_organizations_response_spec.rb +2 -2
- data/spec/models/list_workspace_projects_response_spec.rb +2 -2
- data/spec/models/login_flow_spec.rb +3 -3
- data/spec/models/login_flow_state_spec.rb +2 -2
- data/spec/models/logout_flow_spec.rb +2 -2
- data/spec/models/managed_identity_schema_spec.rb +2 -2
- data/spec/models/managed_identity_schema_validation_result_spec.rb +2 -2
- data/spec/models/member_invite_spec.rb +2 -2
- data/spec/models/message_dispatch_spec.rb +2 -2
- data/spec/models/message_spec.rb +2 -2
- data/spec/models/metrics_datapoint_spec.rb +2 -2
- data/spec/models/migration_options_spec.rb +3 -3
- data/spec/models/namespace_spec.rb +2 -2
- data/spec/models/needs_privileged_session_error_spec.rb +2 -2
- data/spec/models/normalized_project_revision_courier_channel_spec.rb +2 -2
- data/spec/models/normalized_project_revision_hook_spec.rb +2 -2
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +2 -2
- data/spec/models/normalized_project_revision_spec.rb +62 -2
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
- data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +2 -2
- data/spec/models/normalized_project_spec.rb +9 -3
- data/spec/models/o_auth2_client_spec.rb +2 -2
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +2 -2
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +2 -2
- data/spec/models/o_auth2_consent_request_spec.rb +2 -2
- data/spec/models/o_auth2_consent_session_expires_at_spec.rb +2 -2
- data/spec/models/o_auth2_consent_session_spec.rb +2 -2
- data/spec/models/o_auth2_login_request_spec.rb +2 -2
- data/spec/models/o_auth2_logout_request_spec.rb +2 -2
- data/spec/models/o_auth2_redirect_to_spec.rb +2 -2
- data/spec/models/o_auth2_token_exchange_spec.rb +2 -2
- data/spec/models/oidc_configuration_spec.rb +2 -2
- data/spec/models/oidc_user_info_spec.rb +2 -2
- data/spec/models/organization_body_spec.rb +2 -2
- data/spec/models/organization_spec.rb +2 -2
- data/spec/models/pagination_headers_spec.rb +2 -2
- data/spec/models/pagination_spec.rb +2 -2
- data/spec/models/parse_error_spec.rb +2 -2
- data/spec/models/patch_identities_body_spec.rb +2 -2
- data/spec/models/perform_native_logout_body_spec.rb +2 -2
- data/spec/models/permissions_on_workpace_response_spec.rb +2 -2
- data/spec/models/plan_details_spec.rb +8 -2
- data/spec/models/plan_spec.rb +2 -2
- data/spec/models/post_check_permission_body_spec.rb +2 -2
- data/spec/models/post_check_permission_or_error_body_spec.rb +2 -2
- data/spec/models/project_api_key_spec.rb +2 -2
- data/spec/models/project_branding_colors_spec.rb +2 -2
- data/spec/models/project_branding_spec.rb +2 -2
- data/spec/models/project_branding_theme_spec.rb +2 -2
- data/spec/models/project_cors_spec.rb +2 -2
- data/spec/models/project_events_datapoint_spec.rb +2 -2
- data/spec/models/project_host_spec.rb +2 -2
- data/spec/models/project_member_spec.rb +2 -2
- data/spec/models/project_metadata_spec.rb +9 -3
- data/spec/models/project_service_identity_spec.rb +2 -2
- data/spec/models/project_service_o_auth2_spec.rb +2 -2
- data/spec/models/project_service_permission_spec.rb +2 -2
- data/spec/models/project_services_spec.rb +2 -2
- data/spec/models/project_spec.rb +2 -2
- data/spec/models/quota_usage_spec.rb +3 -3
- data/spec/models/recovery_code_for_identity_spec.rb +2 -2
- data/spec/models/recovery_flow_spec.rb +2 -2
- data/spec/models/recovery_flow_state_spec.rb +2 -2
- data/spec/models/recovery_identity_address_spec.rb +2 -2
- data/spec/models/recovery_link_for_identity_spec.rb +2 -2
- data/spec/models/registration_flow_spec.rb +3 -3
- data/spec/models/registration_flow_state_spec.rb +2 -2
- data/spec/models/reject_o_auth2_request_spec.rb +2 -2
- data/spec/models/relation_query_spec.rb +2 -2
- data/spec/models/relationship_namespaces_spec.rb +2 -2
- data/spec/models/relationship_patch_spec.rb +2 -2
- data/spec/models/relationship_spec.rb +2 -2
- data/spec/models/relationships_spec.rb +2 -2
- data/spec/models/rfc6749_error_json_spec.rb +2 -2
- data/spec/models/schema_patch_spec.rb +2 -2
- data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
- data/spec/models/session_activity_datapoint_spec.rb +2 -2
- data/spec/models/session_authentication_method_spec.rb +2 -2
- data/spec/models/session_device_spec.rb +2 -2
- data/spec/models/session_spec.rb +2 -2
- data/spec/models/set_active_project_in_console_body_spec.rb +2 -2
- data/spec/models/set_custom_domain_body_spec.rb +2 -2
- data/spec/models/set_event_stream_body_spec.rb +2 -2
- data/spec/models/set_project_branding_theme_body_spec.rb +2 -2
- data/spec/models/set_project_spec.rb +2 -2
- data/spec/models/settings_flow_spec.rb +2 -2
- data/spec/models/settings_flow_state_spec.rb +2 -2
- data/spec/models/source_position_spec.rb +2 -2
- data/spec/models/subject_set_spec.rb +2 -2
- data/spec/models/subscription_spec.rb +2 -2
- data/spec/models/successful_code_exchange_response_spec.rb +2 -2
- data/spec/models/successful_native_login_spec.rb +8 -2
- data/spec/models/successful_native_registration_spec.rb +2 -2
- data/spec/models/successful_project_update_spec.rb +2 -2
- data/spec/models/token_pagination_headers_spec.rb +2 -2
- data/spec/models/token_pagination_request_parameters_spec.rb +2 -2
- data/spec/models/token_pagination_response_headers_spec.rb +2 -2
- data/spec/models/token_pagination_spec.rb +2 -2
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +2 -2
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +2 -2
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +2 -2
- data/spec/models/ui_container_spec.rb +2 -2
- data/spec/models/ui_node_anchor_attributes_spec.rb +6 -2
- data/spec/models/ui_node_attributes_spec.rb +2 -2
- data/spec/models/ui_node_image_attributes_spec.rb +6 -2
- data/spec/models/ui_node_input_attributes_spec.rb +12 -2
- data/spec/models/ui_node_meta_spec.rb +2 -2
- data/spec/models/ui_node_script_attributes_spec.rb +6 -2
- data/spec/models/ui_node_spec.rb +3 -3
- data/spec/models/ui_node_text_attributes_spec.rb +6 -2
- data/spec/models/ui_text_spec.rb +2 -2
- data/spec/models/update_identity_body_spec.rb +2 -2
- data/spec/models/update_login_flow_body_spec.rb +2 -2
- data/spec/models/update_login_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_passkey_method_spec.rb +48 -0
- data/spec/models/update_login_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_totp_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_recovery_flow_body_spec.rb +2 -2
- data/spec/models/update_recovery_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_recovery_flow_with_link_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_body_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_passkey_method_spec.rb +60 -0
- data/spec/models/update_registration_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_profile_method_spec.rb +60 -0
- data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_body_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_lookup_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_passkey_method_spec.rb +54 -0
- data/spec/models/update_settings_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_profile_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_totp_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_subscription_body_spec.rb +2 -2
- data/spec/models/update_verification_flow_body_spec.rb +2 -2
- data/spec/models/update_verification_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_verification_flow_with_link_method_spec.rb +2 -2
- data/spec/models/update_workspace_payload_spec.rb +2 -2
- data/spec/models/usage_spec.rb +2 -2
- data/spec/models/verifiable_credential_priming_response_spec.rb +2 -2
- data/spec/models/verifiable_credential_proof_spec.rb +2 -2
- data/spec/models/verifiable_credential_response_spec.rb +2 -2
- data/spec/models/verifiable_identity_address_spec.rb +2 -2
- data/spec/models/verification_flow_spec.rb +2 -2
- data/spec/models/verification_flow_state_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/models/warning_spec.rb +2 -2
- data/spec/models/workspace_meta_spec.rb +2 -2
- data/spec/models/workspace_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/2.7.0/cache/method_source-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/parser-3.3.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/ffi-1.16.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/jaro_winkler-1.5.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/psych-4.0.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/racc-1.7.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-linux/2.7.0/stringio-3.1.0/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.7.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.7.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.7.0/gems/method_source-1.1.0/CHANGELOG.md +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/Gemfile +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/README.markdown +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/lib/method_source/code_helpers.rb +3 -3
- data/vendor/bundle/ruby/2.7.0/gems/method_source-1.1.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/lib/method_source.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/method_source-1.1.0/method_source.gemspec +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/spec/method_source_spec.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/spec/spec_helper.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/gauntlet_parser.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/parser-3.3.1.0/lib/parser/all.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ast/processor.rb +3 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/current.rb +18 -18
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/macruby.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby18.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby19.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby20.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby21.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby22.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby23.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby24.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby25.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby26.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby27.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby30.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby31.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby32.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby33.rb +5 -5
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby34.rb +4 -4
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/rubymotion.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/runner/ruby_parse.rb +3 -3
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/runner/ruby_rewrite.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/runner.rb +19 -19
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/buffer.rb +6 -1
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/tree_rewriter/action.rb +5 -4
- data/vendor/bundle/ruby/2.7.0/gems/parser-3.3.1.0/lib/parser/static_environment.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/parser-3.3.1.0/lib/parser/unknown_encoding_in_magic_comment_error.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/2.7.0/gems/parser-3.3.1.0/lib/parser.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.7.0/gems/racc-1.7.3/ext/racc/cparse/Makefile +2 -2
- data/vendor/bundle/ruby/2.7.0/gems/stringio-3.1.0/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.7.0/specifications/{method_source-1.0.0.gemspec → method_source-1.1.0.gemspec} +4 -15
- data/vendor/bundle/ruby/2.7.0/specifications/{parser-3.3.0.5.gemspec → parser-3.3.1.0.gemspec} +4 -4
- metadata +118 -110
- data/docs/IsReady200Response.md +0 -18
- data/docs/IsReady503Response.md +0 -18
- data/spec/models/is_ready200_response_spec.rb +0 -36
- data/spec/models/is_ready503_response_spec.rb +0 -36
- data/vendor/bundle/ruby/2.7.0/cache/method_source-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/parser-3.3.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/method_source-1.0.0/.circleci/config.yml +0 -139
- data/vendor/bundle/ruby/2.7.0/gems/method_source-1.0.0/CHANGELOG.md +0 -10
- data/vendor/bundle/ruby/2.7.0/gems/method_source-1.0.0/lib/method_source/version.rb +0 -3
- data/vendor/bundle/ruby/2.7.0/gems/method_source-1.0.0/method_source.gemspec +0 -33
- data/vendor/bundle/ruby/2.7.0/gems/parser-3.3.0.5/lib/parser/all.rb +0 -17
- data/vendor/bundle/ruby/2.7.0/gems/parser-3.3.0.5/lib/parser/static_environment.rb +0 -99
- data/vendor/bundle/ruby/2.7.0/gems/parser-3.3.0.5/lib/parser.rb +0 -90
- /data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/.gemtest +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/Rakefile +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/lib/method_source/source_location.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{method_source-1.0.0 → method_source-1.1.0}/spec/method_source/code_helpers_spec.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ast/node.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/base.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/builders/default.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/clobbering_error.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/context.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/current_arg_stack.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/deprecation.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/diagnostic/engine.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/diagnostic.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/lexer/dedenter.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/lexer/explanation.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/lexer/literal.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/lexer/stack_state.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/lexer-F0.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/lexer-F1.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/lexer-strings.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/max_numparam_stack.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/meta.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/ruby28.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/comment/associator.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/comment.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/collection.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/condition.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/constant.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/definition.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/for.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/heredoc.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/index.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/keyword.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/method_definition.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/operator.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/rescue_body.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/send.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/ternary.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map/variable.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/map.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/range.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/variables_stack.rb +0 -0
- /data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/parser.gemspec +0 -0
@@ -8,7 +8,7 @@
|
|
8
8
|
require 'racc/parser.rb'
|
9
9
|
|
10
10
|
|
11
|
-
|
11
|
+
require_relative '../parser'
|
12
12
|
|
13
13
|
module Parser
|
14
14
|
class Ruby33 < Parser::Base
|
@@ -9905,7 +9905,7 @@ def _reduce_291(val, _values, result)
|
|
9905
9905
|
end
|
9906
9906
|
|
9907
9907
|
if @context.in_dynamic_block? && context.in_def &&
|
9908
|
-
@static_env.
|
9908
|
+
@static_env.declared_anonymous_blockarg_in_current_scpe? && @static_env.parent_has_anonymous_blockarg?
|
9909
9909
|
diagnostic :error, :ambiguous_anonymous_blockarg, nil, val[0]
|
9910
9910
|
end
|
9911
9911
|
|
@@ -9958,7 +9958,7 @@ def _reduce_299(val, _values, result)
|
|
9958
9958
|
end
|
9959
9959
|
|
9960
9960
|
if @context.in_dynamic_block? && context.in_def &&
|
9961
|
-
@static_env.
|
9961
|
+
@static_env.declared_anonymous_restarg_in_current_scope? && @static_env.parent_has_anonymous_restarg?
|
9962
9962
|
diagnostic :error, :ambiguous_anonymous_restarg, nil, val[0]
|
9963
9963
|
end
|
9964
9964
|
|
@@ -10977,7 +10977,7 @@ end
|
|
10977
10977
|
|
10978
10978
|
def _reduce_457(val, _values, result)
|
10979
10979
|
result = @context.in_kwarg
|
10980
|
-
|
10980
|
+
|
10981
10981
|
@lexer.state = :expr_beg
|
10982
10982
|
@lexer.command_start = false
|
10983
10983
|
@context.in_kwarg = true
|
@@ -12492,7 +12492,7 @@ def _reduce_715(val, _values, result)
|
|
12492
12492
|
end
|
12493
12493
|
|
12494
12494
|
if @context.in_dynamic_block? && context.in_def &&
|
12495
|
-
@static_env.
|
12495
|
+
@static_env.declared_anonymous_kwrestarg_in_current_scope? && @static_env.parent_has_anonymous_kwrestarg?
|
12496
12496
|
diagnostic :error, :ambiguous_anonymous_kwrestarg, nil, val[0]
|
12497
12497
|
end
|
12498
12498
|
|
@@ -8,7 +8,7 @@
|
|
8
8
|
require 'racc/parser.rb'
|
9
9
|
|
10
10
|
|
11
|
-
|
11
|
+
require_relative '../parser'
|
12
12
|
|
13
13
|
module Parser
|
14
14
|
class Ruby34 < Parser::Base
|
@@ -9905,7 +9905,7 @@ def _reduce_291(val, _values, result)
|
|
9905
9905
|
end
|
9906
9906
|
|
9907
9907
|
if @context.in_dynamic_block? && context.in_def &&
|
9908
|
-
@static_env.
|
9908
|
+
@static_env.declared_anonymous_blockarg_in_current_scpe? && @static_env.parent_has_anonymous_blockarg?
|
9909
9909
|
diagnostic :error, :ambiguous_anonymous_blockarg, nil, val[0]
|
9910
9910
|
end
|
9911
9911
|
|
@@ -9958,7 +9958,7 @@ def _reduce_299(val, _values, result)
|
|
9958
9958
|
end
|
9959
9959
|
|
9960
9960
|
if @context.in_dynamic_block? && context.in_def &&
|
9961
|
-
@static_env.
|
9961
|
+
@static_env.declared_anonymous_restarg_in_current_scope? && @static_env.parent_has_anonymous_restarg?
|
9962
9962
|
diagnostic :error, :ambiguous_anonymous_restarg, nil, val[0]
|
9963
9963
|
end
|
9964
9964
|
|
@@ -12492,7 +12492,7 @@ def _reduce_715(val, _values, result)
|
|
12492
12492
|
end
|
12493
12493
|
|
12494
12494
|
if @context.in_dynamic_block? && context.in_def &&
|
12495
|
-
@static_env.
|
12495
|
+
@static_env.declared_anonymous_kwrestarg_in_current_scope? && @static_env.parent_has_anonymous_kwrestarg?
|
12496
12496
|
diagnostic :error, :ambiguous_anonymous_kwrestarg, nil, val[0]
|
12497
12497
|
end
|
12498
12498
|
|
@@ -4,7 +4,7 @@ require 'benchmark'
|
|
4
4
|
require 'find'
|
5
5
|
require 'optparse'
|
6
6
|
|
7
|
-
|
7
|
+
require_relative '../parser'
|
8
8
|
|
9
9
|
module Parser
|
10
10
|
|
@@ -64,87 +64,87 @@ module Parser
|
|
64
64
|
end
|
65
65
|
|
66
66
|
opts.on '--18', 'Parse as Ruby 1.8.7 would' do
|
67
|
-
|
67
|
+
require_relative 'ruby18'
|
68
68
|
@parser_class = Parser::Ruby18
|
69
69
|
end
|
70
70
|
|
71
71
|
opts.on '--19', 'Parse as Ruby 1.9.3 would' do
|
72
|
-
|
72
|
+
require_relative 'ruby19'
|
73
73
|
@parser_class = Parser::Ruby19
|
74
74
|
end
|
75
75
|
|
76
76
|
opts.on '--20', 'Parse as Ruby 2.0 would' do
|
77
|
-
|
77
|
+
require_relative 'ruby20'
|
78
78
|
@parser_class = Parser::Ruby20
|
79
79
|
end
|
80
80
|
|
81
81
|
opts.on '--21', 'Parse as Ruby 2.1 would' do
|
82
|
-
|
82
|
+
require_relative 'ruby21'
|
83
83
|
@parser_class = Parser::Ruby21
|
84
84
|
end
|
85
85
|
|
86
86
|
opts.on '--22', 'Parse as Ruby 2.2 would' do
|
87
|
-
|
87
|
+
require_relative 'ruby22'
|
88
88
|
@parser_class = Parser::Ruby22
|
89
89
|
end
|
90
90
|
|
91
91
|
opts.on '--23', 'Parse as Ruby 2.3 would' do
|
92
|
-
|
92
|
+
require_relative 'ruby23'
|
93
93
|
@parser_class = Parser::Ruby23
|
94
94
|
end
|
95
95
|
|
96
96
|
opts.on '--24', 'Parse as Ruby 2.4 would' do
|
97
|
-
|
97
|
+
require_relative 'ruby24'
|
98
98
|
@parser_class = Parser::Ruby24
|
99
99
|
end
|
100
100
|
|
101
101
|
opts.on '--25', 'Parse as Ruby 2.5 would' do
|
102
|
-
|
102
|
+
require_relative 'ruby25'
|
103
103
|
@parser_class = Parser::Ruby25
|
104
104
|
end
|
105
105
|
|
106
106
|
opts.on '--26', 'Parse as Ruby 2.6 would' do
|
107
|
-
|
107
|
+
require_relative 'ruby26'
|
108
108
|
@parser_class = Parser::Ruby26
|
109
109
|
end
|
110
110
|
|
111
111
|
opts.on '--27', 'Parse as Ruby 2.7 would' do
|
112
|
-
|
112
|
+
require_relative 'ruby27'
|
113
113
|
@parser_class = Parser::Ruby27
|
114
114
|
end
|
115
115
|
|
116
116
|
opts.on '--30', 'Parse as Ruby 3.0 would' do
|
117
|
-
|
117
|
+
require_relative 'ruby30'
|
118
118
|
@parser_class = Parser::Ruby30
|
119
119
|
end
|
120
120
|
|
121
121
|
opts.on '--31', 'Parse as Ruby 3.1 would' do
|
122
|
-
|
122
|
+
require_relative 'ruby31'
|
123
123
|
@parser_class = Parser::Ruby31
|
124
124
|
end
|
125
125
|
|
126
126
|
opts.on '--32', 'Parse as Ruby 3.2 would' do
|
127
|
-
|
127
|
+
require_relative 'ruby32'
|
128
128
|
@parser_class = Parser::Ruby32
|
129
129
|
end
|
130
130
|
|
131
131
|
opts.on '--33', 'Parse as Ruby 3.3 would' do
|
132
|
-
|
132
|
+
require_relative 'ruby33'
|
133
133
|
@parser_class = Parser::Ruby33
|
134
134
|
end
|
135
135
|
|
136
136
|
opts.on '--34', 'Parse as Ruby 3.4 would' do
|
137
|
-
|
137
|
+
require_relative 'ruby34'
|
138
138
|
@parser_class = Parser::Ruby34
|
139
139
|
end
|
140
140
|
|
141
141
|
opts.on '--mac', 'Parse as MacRuby 0.12 would' do
|
142
|
-
|
142
|
+
require_relative 'macruby'
|
143
143
|
@parser_class = Parser::MacRuby
|
144
144
|
end
|
145
145
|
|
146
146
|
opts.on '--ios', 'Parse as mid-2015 RubyMotion would' do
|
147
|
-
|
147
|
+
require_relative 'rubymotion'
|
148
148
|
@parser_class = Parser::RubyMotion
|
149
149
|
end
|
150
150
|
|
@@ -193,7 +193,7 @@ module Parser
|
|
193
193
|
end
|
194
194
|
|
195
195
|
if @parser_class.nil?
|
196
|
-
|
196
|
+
require_relative 'current'
|
197
197
|
@parser_class = Parser::CurrentRuby
|
198
198
|
end
|
199
199
|
end
|
data/vendor/bundle/ruby/2.7.0/gems/{parser-3.3.0.5 → parser-3.3.1.0}/lib/parser/source/buffer.rb
RENAMED
@@ -46,6 +46,7 @@ module Parser
|
|
46
46
|
# magic encoding comment or UTF-8 BOM. `string` can be in any encoding.
|
47
47
|
#
|
48
48
|
# @param [String] string
|
49
|
+
# @raise [Parser::UnknownEncodingInMagicComment] if the encoding is not recognized
|
49
50
|
# @return [String, nil] encoding name, if recognized
|
50
51
|
#
|
51
52
|
def self.recognize_encoding(string)
|
@@ -66,7 +67,11 @@ module Parser
|
|
66
67
|
return nil if encoding_line.nil? || encoding_line[0] != '#'
|
67
68
|
|
68
69
|
if (result = ENCODING_RE.match(encoding_line))
|
69
|
-
|
70
|
+
begin
|
71
|
+
Encoding.find(result[3] || result[4] || result[6])
|
72
|
+
rescue ArgumentError => e
|
73
|
+
raise Parser::UnknownEncodingInMagicComment, e.message
|
74
|
+
end
|
70
75
|
else
|
71
76
|
nil
|
72
77
|
end
|
@@ -6,9 +6,10 @@ module Parser
|
|
6
6
|
# @api private
|
7
7
|
#
|
8
8
|
# Actions are arranged in a tree and get combined so that:
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
9
|
+
#
|
10
|
+
# * Children are strictly contained by their parent
|
11
|
+
# * Siblings are all disjointed from one another and ordered
|
12
|
+
# * Only actions with `replacement == nil` may have children
|
12
13
|
#
|
13
14
|
class TreeRewriter::Action
|
14
15
|
attr_reader :range, :replacement, :insert_before, :insert_after
|
@@ -60,7 +61,7 @@ module Parser
|
|
60
61
|
|
61
62
|
##
|
62
63
|
# A root action has its range set to the whole source range, even
|
63
|
-
# though it typically
|
64
|
+
# though it typically does not act on that range.
|
64
65
|
# This method returns the action as if it was a child action with
|
65
66
|
# its range contracted.
|
66
67
|
# @return [Action]
|
@@ -0,0 +1,134 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Parser
|
4
|
+
|
5
|
+
class StaticEnvironment
|
6
|
+
FORWARD_ARGS = :FORWARD_ARGS
|
7
|
+
|
8
|
+
ANONYMOUS_RESTARG_IN_CURRENT_SCOPE = :ANONYMOUS_RESTARG_IN_CURRENT_SCOPE
|
9
|
+
ANONYMOUS_RESTARG_INHERITED = :ANONYMOUS_RESTARG_INHERITED
|
10
|
+
|
11
|
+
ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE = :ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE
|
12
|
+
ANONYMOUS_KWRESTARG_INHERITED = :ANONYMOUS_KWRESTARG_INHERITED
|
13
|
+
|
14
|
+
ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE = :ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE
|
15
|
+
ANONYMOUS_BLOCKARG_INHERITED = :ANONYMOUS_BLOCKARG_INHERITED
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
reset
|
19
|
+
end
|
20
|
+
|
21
|
+
def reset
|
22
|
+
@variables = Set[]
|
23
|
+
@stack = []
|
24
|
+
end
|
25
|
+
|
26
|
+
def extend_static
|
27
|
+
@stack.push(@variables)
|
28
|
+
@variables = Set[]
|
29
|
+
|
30
|
+
self
|
31
|
+
end
|
32
|
+
|
33
|
+
def extend_dynamic
|
34
|
+
@stack.push(@variables)
|
35
|
+
@variables = @variables.dup
|
36
|
+
if @variables.delete(ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE)
|
37
|
+
@variables.add(ANONYMOUS_BLOCKARG_INHERITED)
|
38
|
+
end
|
39
|
+
if @variables.delete(ANONYMOUS_RESTARG_IN_CURRENT_SCOPE)
|
40
|
+
@variables.add(ANONYMOUS_RESTARG_INHERITED)
|
41
|
+
end
|
42
|
+
if @variables.delete(ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE)
|
43
|
+
@variables.add(ANONYMOUS_KWRESTARG_INHERITED)
|
44
|
+
end
|
45
|
+
|
46
|
+
self
|
47
|
+
end
|
48
|
+
|
49
|
+
def unextend
|
50
|
+
@variables = @stack.pop
|
51
|
+
|
52
|
+
self
|
53
|
+
end
|
54
|
+
|
55
|
+
def declare(name)
|
56
|
+
@variables.add(name.to_sym)
|
57
|
+
|
58
|
+
self
|
59
|
+
end
|
60
|
+
|
61
|
+
def declared?(name)
|
62
|
+
@variables.include?(name.to_sym)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Forward args
|
66
|
+
|
67
|
+
def declare_forward_args
|
68
|
+
declare(FORWARD_ARGS)
|
69
|
+
end
|
70
|
+
|
71
|
+
def declared_forward_args?
|
72
|
+
declared?(FORWARD_ARGS)
|
73
|
+
end
|
74
|
+
|
75
|
+
# Anonymous blockarg
|
76
|
+
|
77
|
+
def declare_anonymous_blockarg
|
78
|
+
declare(ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE)
|
79
|
+
end
|
80
|
+
|
81
|
+
def declared_anonymous_blockarg?
|
82
|
+
declared?(ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE) || declared?(ANONYMOUS_BLOCKARG_INHERITED)
|
83
|
+
end
|
84
|
+
|
85
|
+
def declared_anonymous_blockarg_in_current_scpe?
|
86
|
+
declared?(ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE)
|
87
|
+
end
|
88
|
+
|
89
|
+
def parent_has_anonymous_blockarg?
|
90
|
+
@stack.any? { |variables| variables.include?(ANONYMOUS_BLOCKARG_IN_CURRENT_SCOPE) }
|
91
|
+
end
|
92
|
+
|
93
|
+
# Anonymous restarg
|
94
|
+
|
95
|
+
def declare_anonymous_restarg
|
96
|
+
declare(ANONYMOUS_RESTARG_IN_CURRENT_SCOPE)
|
97
|
+
end
|
98
|
+
|
99
|
+
def declared_anonymous_restarg?
|
100
|
+
declared?(ANONYMOUS_RESTARG_IN_CURRENT_SCOPE) || declared?(ANONYMOUS_RESTARG_INHERITED)
|
101
|
+
end
|
102
|
+
|
103
|
+
def declared_anonymous_restarg_in_current_scope?
|
104
|
+
declared?(ANONYMOUS_RESTARG_IN_CURRENT_SCOPE)
|
105
|
+
end
|
106
|
+
|
107
|
+
def parent_has_anonymous_restarg?
|
108
|
+
@stack.any? { |variables| variables.include?(ANONYMOUS_RESTARG_IN_CURRENT_SCOPE) }
|
109
|
+
end
|
110
|
+
|
111
|
+
# Anonymous kwresarg
|
112
|
+
|
113
|
+
def declare_anonymous_kwrestarg
|
114
|
+
declare(ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE)
|
115
|
+
end
|
116
|
+
|
117
|
+
def declared_anonymous_kwrestarg?
|
118
|
+
declared?(ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE) || declared?(ANONYMOUS_KWRESTARG_INHERITED)
|
119
|
+
end
|
120
|
+
|
121
|
+
def declared_anonymous_kwrestarg_in_current_scope?
|
122
|
+
declared?(ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE)
|
123
|
+
end
|
124
|
+
|
125
|
+
def parent_has_anonymous_kwrestarg?
|
126
|
+
@stack.any? { |variables| variables.include?(ANONYMOUS_KWRESTARG_IN_CURRENT_SCOPE) }
|
127
|
+
end
|
128
|
+
|
129
|
+
def empty?
|
130
|
+
@stack.empty?
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Parser
|
4
|
+
##
|
5
|
+
# {Parser::UnknownEncodingInMagicComment} is raised when a magic encoding
|
6
|
+
# comment is encountered that the currently running Ruby version doesn't
|
7
|
+
# recognize. It inherits from {ArgumentError} since that is the exception
|
8
|
+
# Ruby itself raises when trying to execute a file with an unknown encoding.
|
9
|
+
# As such, it is also not a {Parser::SyntaxError}.
|
10
|
+
#
|
11
|
+
# @api public
|
12
|
+
#
|
13
|
+
class UnknownEncodingInMagicComment < ArgumentError
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
if RUBY_VERSION =~ /^1\.[89]\./
|
4
|
+
require_relative 'parser/version'
|
5
|
+
raise LoadError, <<-UNSUPPORTED_VERSION_MSG
|
6
|
+
parser v#{Parser::VERSION} cannot run on Ruby #{RUBY_VERSION}.
|
7
|
+
Please upgrade to Ruby 2.0.0 or higher, or use an older version of the parser gem.
|
8
|
+
UNSUPPORTED_VERSION_MSG
|
9
|
+
end
|
10
|
+
|
11
|
+
require 'set'
|
12
|
+
require 'racc/parser'
|
13
|
+
|
14
|
+
require 'ast'
|
15
|
+
|
16
|
+
##
|
17
|
+
# @api public
|
18
|
+
#
|
19
|
+
module Parser
|
20
|
+
require_relative 'parser/version'
|
21
|
+
require_relative 'parser/messages'
|
22
|
+
require_relative 'parser/deprecation'
|
23
|
+
|
24
|
+
module AST
|
25
|
+
require_relative 'parser/ast/node'
|
26
|
+
require_relative 'parser/ast/processor'
|
27
|
+
require_relative 'parser/meta'
|
28
|
+
end
|
29
|
+
|
30
|
+
module Source
|
31
|
+
require_relative 'parser/source/buffer'
|
32
|
+
require_relative 'parser/source/range'
|
33
|
+
|
34
|
+
require_relative 'parser/source/comment'
|
35
|
+
require_relative 'parser/source/comment/associator'
|
36
|
+
|
37
|
+
require_relative 'parser/source/rewriter'
|
38
|
+
require_relative 'parser/source/rewriter/action'
|
39
|
+
require_relative 'parser/source/tree_rewriter'
|
40
|
+
require_relative 'parser/source/tree_rewriter/action'
|
41
|
+
|
42
|
+
require_relative 'parser/source/map'
|
43
|
+
require_relative 'parser/source/map/operator'
|
44
|
+
require_relative 'parser/source/map/collection'
|
45
|
+
require_relative 'parser/source/map/constant'
|
46
|
+
require_relative 'parser/source/map/variable'
|
47
|
+
require_relative 'parser/source/map/keyword'
|
48
|
+
require_relative 'parser/source/map/definition'
|
49
|
+
require_relative 'parser/source/map/method_definition'
|
50
|
+
require_relative 'parser/source/map/send'
|
51
|
+
require_relative 'parser/source/map/index'
|
52
|
+
require_relative 'parser/source/map/condition'
|
53
|
+
require_relative 'parser/source/map/ternary'
|
54
|
+
require_relative 'parser/source/map/for'
|
55
|
+
require_relative 'parser/source/map/rescue_body'
|
56
|
+
require_relative 'parser/source/map/heredoc'
|
57
|
+
require_relative 'parser/source/map/objc_kwarg'
|
58
|
+
end
|
59
|
+
|
60
|
+
require_relative 'parser/syntax_error'
|
61
|
+
require_relative 'parser/clobbering_error'
|
62
|
+
require_relative 'parser/unknown_encoding_in_magic_comment_error'
|
63
|
+
require_relative 'parser/diagnostic'
|
64
|
+
require_relative 'parser/diagnostic/engine'
|
65
|
+
|
66
|
+
require_relative 'parser/static_environment'
|
67
|
+
|
68
|
+
if RUBY_ENGINE == 'truffleruby'
|
69
|
+
require_relative 'parser/lexer-F0'
|
70
|
+
else
|
71
|
+
require_relative 'parser/lexer-F1'
|
72
|
+
end
|
73
|
+
require_relative 'parser/lexer-strings'
|
74
|
+
require_relative 'parser/lexer/literal'
|
75
|
+
require_relative 'parser/lexer/stack_state'
|
76
|
+
require_relative 'parser/lexer/dedenter'
|
77
|
+
|
78
|
+
module Builders
|
79
|
+
require_relative 'parser/builders/default'
|
80
|
+
end
|
81
|
+
|
82
|
+
require_relative 'parser/context'
|
83
|
+
require_relative 'parser/max_numparam_stack'
|
84
|
+
require_relative 'parser/current_arg_stack'
|
85
|
+
require_relative 'parser/variables_stack'
|
86
|
+
|
87
|
+
require_relative 'parser/base'
|
88
|
+
|
89
|
+
require_relative 'parser/rewriter'
|
90
|
+
require_relative 'parser/tree_rewriter'
|
91
|
+
end
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20240506-3691-90cy5k
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20240506-3691-90cy5k
|
36
36
|
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
37
37
|
rubyarchdir = $(rubyarchprefix)/$(ruby_version)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20240506-3691-jouzp2
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20240506-3691-jouzp2
|
36
36
|
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
37
37
|
rubyarchdir = $(rubyarchprefix)/$(ruby_version)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20240506-3691-weal8i
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20240506-3691-weal8i
|
36
36
|
sitedir = $(DESTDIR)/usr/local/lib/site_ruby
|
37
37
|
rubyarchdir = $(rubyarchprefix)/$(ruby_version)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -1,14 +1,15 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: method_source 1.
|
2
|
+
# stub: method_source 1.1.0 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "method_source".freeze
|
6
|
-
s.version = "1.
|
6
|
+
s.version = "1.1.0"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
|
+
s.metadata = { "changelog_uri" => "https://github.com/banister/method_source/blob/master/CHANGELOG.md" } if s.respond_to? :metadata=
|
9
10
|
s.require_paths = ["lib".freeze]
|
10
11
|
s.authors = ["John Mair (banisterfiend)".freeze]
|
11
|
-
s.date = "
|
12
|
+
s.date = "2024-04-15"
|
12
13
|
s.description = "retrieve the sourcecode for a method".freeze
|
13
14
|
s.email = "jrmair@gmail.com".freeze
|
14
15
|
s.homepage = "http://banisterfiend.wordpress.com".freeze
|
@@ -17,16 +18,4 @@ Gem::Specification.new do |s|
|
|
17
18
|
s.summary = "retrieve the sourcecode for a method".freeze
|
18
19
|
|
19
20
|
s.installed_by_version = "3.2.5" if s.respond_to? :installed_by_version
|
20
|
-
|
21
|
-
if s.respond_to? :specification_version then
|
22
|
-
s.specification_version = 4
|
23
|
-
end
|
24
|
-
|
25
|
-
if s.respond_to? :add_runtime_dependency then
|
26
|
-
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.6"])
|
27
|
-
s.add_development_dependency(%q<rake>.freeze, ["~> 0.9"])
|
28
|
-
else
|
29
|
-
s.add_dependency(%q<rspec>.freeze, ["~> 3.6"])
|
30
|
-
s.add_dependency(%q<rake>.freeze, ["~> 0.9"])
|
31
|
-
end
|
32
21
|
end
|