ory-client 1.5.2 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -13
- data/README.md +11 -8
- data/docs/AcceptOAuth2ConsentRequest.md +2 -0
- data/docs/CreateIdentityBody.md +1 -1
- data/docs/CreateProjectBody.md +2 -0
- data/docs/CreateProjectNormalizedPayload.md +8 -0
- data/docs/CreateSubscriptionBody.md +2 -4
- data/docs/CreateSubscriptionCommon.md +24 -0
- data/docs/CreateWorkspacePayload.md +18 -0
- data/docs/CreateWorkspaceSubscriptionBody.md +24 -0
- data/docs/FrontendApi.md +3 -1
- data/docs/Identity.md +1 -1
- data/docs/IdentityApi.md +7 -5
- data/docs/IdentityCredentials.md +1 -1
- data/docs/IdentityCredentialsCode.md +1 -1
- data/docs/ListMyWorkspacesResponse.md +1 -1
- data/docs/ListWorkspaceProjectsResponse.md +22 -0
- data/docs/LoginFlow.md +1 -1
- data/docs/MigrationOptions.md +20 -0
- data/docs/NormalizedProjectRevision.md +6 -0
- data/docs/NormalizedProjectRevisionThirdPartyProvider.md +2 -0
- data/docs/OAuth2Client.md +2 -0
- data/docs/OAuth2ConsentSession.md +2 -0
- data/docs/PermissionApi.md +2 -2
- data/docs/ProjectApi.md +1 -1
- data/docs/ProjectMetadata.md +2 -0
- data/docs/QuotaUsage.md +1 -1
- data/docs/RegistrationFlow.md +1 -1
- data/docs/UpdateIdentityBody.md +1 -1
- data/docs/WorkspaceMeta.md +28 -0
- 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 +4 -1
- data/lib/ory-client/api/identity_api.rb +11 -8
- 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 +3 -3
- data/lib/ory-client/api/project_api.rb +1 -1
- data/lib/ory-client/api/relationship_api.rb +1 -1
- data/lib/ory-client/api/wellknown_api.rb +1 -1
- data/lib/ory-client/api_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_o_auth2_consent_request.rb +11 -2
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
- data/lib/ory-client/models/active_project_in_console.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/batch_patch_identities_response.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/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_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_identity_body.rb +37 -2
- 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_project_api_key_request.rb +1 -1
- data/lib/ory-client/models/create_project_body.rb +51 -2
- 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 +59 -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 +10 -17
- data/lib/ory-client/models/create_subscription_common.rb +304 -0
- data/lib/ory-client/models/create_verifiable_credential_request_body.rb +1 -1
- data/lib/ory-client/models/create_workspace_member_invite_body.rb +1 -1
- data/lib/ory-client/models/{stripe_customer.rb → create_workspace_payload.rb} +17 -11
- data/lib/ory-client/models/create_workspace_subscription_body.rb +304 -0
- 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/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_response.rb +1 -1
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
- data/lib/ory-client/models/get_metrics_event_attributes_response.rb +1 -1
- data/lib/ory-client/models/get_metrics_event_types_response.rb +1 -1
- data/lib/ory-client/models/get_organization_response.rb +1 -1
- data/lib/ory-client/models/get_project_events_body.rb +1 -1
- data/lib/ory-client/models/get_project_events_response.rb +1 -1
- data/lib/ory-client/models/get_project_metrics_response.rb +1 -1
- data/lib/ory-client/models/get_session_activity_response.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 +37 -2
- data/lib/ory-client/models/identity_credentials.rb +37 -2
- data/lib/ory-client/models/identity_credentials_code.rb +2 -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/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_body.rb +1 -1
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_response.rb +1 -1
- data/lib/ory-client/models/internal_provision_mock_subscription.rb +1 -1
- data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/is_ready200_response.rb +1 -1
- data/lib/ory-client/models/is_ready503_response.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/list_event_streams.rb +1 -1
- data/lib/ory-client/models/list_my_workspaces_response.rb +2 -2
- data/lib/ory-client/models/list_organizations_response.rb +1 -1
- data/lib/ory-client/models/list_workspace_projects_response.rb +254 -0
- data/lib/ory-client/models/login_flow.rb +37 -2
- 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/migration_options.rb +286 -0
- 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 +32 -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_third_party_provider.rb +12 -2
- data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +1 -1
- data/lib/ory-client/models/o_auth2_client.rb +12 -2
- 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 +11 -2
- data/lib/ory-client/models/o_auth2_consent_session_expires_at.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/organization.rb +1 -1
- data/lib/ory-client/models/organization_body.rb +1 -1
- data/lib/ory-client/models/pagination.rb +1 -1
- data/lib/ory-client/models/pagination_headers.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/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_metadata.rb +29 -2
- 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/quota_usage.rb +4 -4
- data/lib/ory-client/models/recovery_code_for_identity.rb +1 -1
- data/lib/ory-client/models/recovery_flow.rb +1 -1
- data/lib/ory-client/models/recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/recovery_identity_address.rb +1 -1
- data/lib/ory-client/models/recovery_link_for_identity.rb +1 -1
- data/lib/ory-client/models/registration_flow.rb +37 -2
- 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/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_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/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_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_identity_body.rb +37 -2
- 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_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_password_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_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_password_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_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_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 -2
- 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/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/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_meta.rb +286 -0
- data/lib/ory-client/version.rb +2 -2
- data/lib/ory-client.rb +7 -4
- 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 +2 -1
- data/spec/api/identity_api_spec.rb +4 -3
- 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 +2 -2
- data/spec/api/project_api_spec.rb +1 -1
- data/spec/api/relationship_api_spec.rb +1 -1
- data/spec/api/wellknown_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_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 +7 -1
- data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
- data/spec/models/active_project_in_console_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/batch_patch_identities_response_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/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_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_identity_body_spec.rb +5 -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_project_api_key_request_spec.rb +1 -1
- data/spec/models/create_project_body_spec.rb +11 -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 +29 -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 -7
- data/spec/models/create_subscription_common_spec.rb +60 -0
- data/spec/models/create_verifiable_credential_request_body_spec.rb +1 -1
- data/spec/models/create_workspace_member_invite_body_spec.rb +1 -1
- data/spec/models/{stripe_customer_spec.rb → create_workspace_payload_spec.rb} +8 -8
- data/spec/models/create_workspace_subscription_body_spec.rb +60 -0
- 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/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_response_spec.rb +1 -1
- data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
- data/spec/models/get_metrics_event_attributes_response_spec.rb +1 -1
- data/spec/models/get_metrics_event_types_response_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_response_spec.rb +1 -1
- data/spec/models/get_project_metrics_response_spec.rb +1 -1
- data/spec/models/get_session_activity_response_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_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 +5 -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 +5 -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_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_response_spec.rb +1 -1
- data/spec/models/internal_provision_mock_subscription_spec.rb +1 -1
- data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/is_ready200_response_spec.rb +1 -1
- data/spec/models/is_ready503_response_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/list_event_streams_spec.rb +1 -1
- data/spec/models/list_my_workspaces_response_spec.rb +1 -1
- data/spec/models/list_organizations_response_spec.rb +1 -1
- data/spec/models/list_workspace_projects_response_spec.rb +46 -0
- data/spec/models/login_flow_spec.rb +5 -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/migration_options_spec.rb +48 -0
- 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_spec.rb +19 -1
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +7 -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 +7 -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_expires_at_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_spec.rb +7 -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/organization_body_spec.rb +1 -1
- data/spec/models/organization_spec.rb +1 -1
- data/spec/models/pagination_headers_spec.rb +1 -1
- data/spec/models/pagination_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/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_metadata_spec.rb +11 -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/quota_usage_spec.rb +2 -2
- 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 +5 -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/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_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/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_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_identity_body_spec.rb +5 -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_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_password_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_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_password_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_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_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/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/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/models/workspace_meta_spec.rb +64 -0
- data/spec/models/workspace_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.5.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.16.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.16.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Contributing.md +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/History.md +86 -55
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/License.md +6 -4
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Rakefile +36 -27
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/bin/htmldiff +4 -4
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/array.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.1/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/block.rb +4 -4
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/callbacks.rb +9 -7
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/change.rb +19 -19
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/htmldiff.rb +24 -16
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/hunk.rb +35 -30
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/internals.rb +17 -17
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/ldiff.rb +37 -35
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs.rb +57 -55
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff-lcs.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.1/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/diff_spec.rb +14 -14
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/hunk_spec.rb +19 -19
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.1/spec/issues_spec.rb +160 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/lcs_spec.rb +11 -11
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/ldiff_spec.rb +13 -11
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/patch_spec.rb +84 -84
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.1/spec/sdiff_spec.rb +216 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/spec_helper.rb +76 -74
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.1/spec/traverse_balanced_spec.rb +312 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/traverse_sequences_spec.rb +31 -31
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.3/ext/racc/cparse/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.12.0 → rspec-3.13.0}/lib/rspec/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/Changelog.md +26 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/README.md +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/configuration.rb +30 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/configuration_options.rb +6 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/exception_presenter.rb +27 -6
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/json_formatter.rb +7 -6
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/notifications.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/ordering.rb +40 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/output_wrapper.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/runner.rb +5 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/Changelog.md +17 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/fail_with.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/base_matcher.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/compound.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/eq.rb +5 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/eql.rb +5 -1
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.13.0/lib/rspec/matchers/matcher_delegator.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3/lib/rspec/matchers/expecteds_for_multiple_diffs.rb → rspec-expectations-3.13.0/lib/rspec/matchers/multi_matcher_diff.rb} +16 -16
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/Changelog.md +15 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/README.md +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/recorder.rb +11 -9
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/argument_matchers.rb +51 -7
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/Changelog.md +20 -3
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/caller_filter.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/comparable_version.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/differ.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/directory_maker.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/encoded_string.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/fuzzy_matcher.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/hunk_generator.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/matcher_definition.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/method_signature_verifier.rb +7 -3
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/mutex.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/object_formatter.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/recursive_const_methods.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/reentrant_mutex.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/ruby_features.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/source/location.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/source/node.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/source/token.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/source.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/deprecation_helpers.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/diff_helpers.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/formatting_support.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/in_sub_process.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/library_wide_checks.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/shell_out.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/stderr_splitter.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/string_matcher.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/with_isolated_directory.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec/with_isolated_stderr.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/spec.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/version.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/warnings.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support/with_keywords_when_needed.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/lib/rspec/support.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/{diff-lcs-1.5.0.gemspec → diff-lcs-1.5.1.gemspec} +11 -11
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-3.12.0.gemspec → rspec-3.13.0.gemspec} +13 -13
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.12.2.gemspec → rspec-core-3.13.0.gemspec} +8 -8
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.12.3.gemspec → rspec-expectations-3.13.0.gemspec} +8 -8
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.12.6.gemspec → rspec-mocks-3.13.0.gemspec} +11 -11
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-support-3.12.1.gemspec → rspec-support-3.13.0.gemspec} +5 -5
- metadata +320 -308
- data/docs/IdentityCredentialsType.md +0 -15
- data/docs/IdentityState.md +0 -15
- data/docs/StripeCustomer.md +0 -18
- data/lib/ory-client/models/identity_credentials_type.rb +0 -41
- data/lib/ory-client/models/identity_state.rb +0 -37
- data/spec/models/identity_credentials_type_spec.rb +0 -28
- data/spec/models/identity_state_spec.rb +0 -28
- data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.6.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +0 -89
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +0 -154
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +0 -214
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +0 -310
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.3/lib/rspec/matchers/matcher_delegator.rb +0 -35
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/.rspec +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Code-of-Conduct.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/Manifest.txt +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/README.rdoc +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/bin/ldiff +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/docs/COPYING.txt +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/docs/artistic.txt +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/lib/diff/lcs/string.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/aX +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/bXaX +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ds1.csv +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ds2.csv +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff-c +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff-e +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff-f +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff-u +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef-c +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef-e +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef-f +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef-u +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2 +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-c +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-d +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-e +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-f +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/ldiff/output.diff.chef2-u +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/new-chef +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/new-chef2 +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/old-chef +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.5.0 → diff-lcs-1.5.1}/spec/fixtures/old-chef2 +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.12.0 → rspec-3.13.0}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.12.0 → rspec-3.13.0}/README.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.12.0 → rspec-3.13.0}/lib/rspec.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/.document +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/exe/rspec +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/autorun.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/backtrace_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/bisect/coordinator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/bisect/fork_runner.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/bisect/server.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/bisect/shell_command.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/bisect/utilities.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/did_you_mean.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/drb.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/dsl.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/example.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/example_group.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/example_status_persister.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/filter_manager.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/flat_map.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/console_codes.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/html_printer.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/protocol.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/formatters.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/hooks.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/invocations.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/memoized_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/metadata.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/metadata_filter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/option_parser.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/pending.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/profiler.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/project_initializer/.rspec +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/project_initializer.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/rake_task.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/reporter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/ruby_project.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/sandbox.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/set.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/shared_context.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/shared_example_group.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/shell_escape.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/warnings.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core/world.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.2 → rspec-core-3.13.0}/lib/rspec/core.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/.document +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/README.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/configuration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/expectation_target.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/handler.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations/syntax.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/expectations.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/all.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/be.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/change.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/exist.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/has.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/include.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/match.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/operators.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/output.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in/yield.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/built_in.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/composable.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/dsl.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/english_phrasing.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.3 → rspec-expectations-3.13.0}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/.document +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/any_instance.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/configuration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/example_methods.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/matchers/receive.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/message_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/method_double.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/method_reference.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/mutate_const.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/object_reference.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/order_group.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/space.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/standalone.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/syntax.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/targets.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/test_double.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/verifying_double.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.6 → rspec-mocks-3.13.0}/lib/rspec/mocks.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.1 → rspec-support-3.13.0}/README.md +0 -0
@@ -0,0 +1,216 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "spec_helper"
|
4
|
+
|
5
|
+
describe "Diff::LCS.sdiff" do
|
6
|
+
include Diff::LCS::SpecHelper::Matchers
|
7
|
+
|
8
|
+
shared_examples "compare sequences correctly" do
|
9
|
+
it "compares s1 -> s2 correctly" do
|
10
|
+
expect(Diff::LCS.sdiff(s1, s2)).to eq(context_diff(result))
|
11
|
+
end
|
12
|
+
|
13
|
+
it "compares s2 -> s1 correctly" do
|
14
|
+
expect(Diff::LCS.sdiff(s2, s1)).to eq(context_diff(reverse_sdiff(result)))
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe "using seq1 & seq2" do
|
19
|
+
let(:s1) { seq1 }
|
20
|
+
let(:s2) { seq2 }
|
21
|
+
let(:result) { correct_forward_sdiff }
|
22
|
+
|
23
|
+
it_has_behavior "compare sequences correctly"
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "using %w(abc def yyy xxx ghi jkl) & %w(abc dxf xxx ghi jkl)" do
|
27
|
+
let(:s1) { %w[abc def yyy xxx ghi jkl] }
|
28
|
+
let(:s2) { %w[abc dxf xxx ghi jkl] }
|
29
|
+
let(:result) {
|
30
|
+
# standard:disable Layout/ExtraSpacing
|
31
|
+
[
|
32
|
+
["=", [0, "abc"], [0, "abc"]],
|
33
|
+
["!", [1, "def"], [1, "dxf"]],
|
34
|
+
["-", [2, "yyy"], [2, nil]],
|
35
|
+
["=", [3, "xxx"], [2, "xxx"]],
|
36
|
+
["=", [4, "ghi"], [3, "ghi"]],
|
37
|
+
["=", [5, "jkl"], [4, "jkl"]]
|
38
|
+
]
|
39
|
+
# standard:enable Layout/ExtraSpacing
|
40
|
+
}
|
41
|
+
|
42
|
+
it_has_behavior "compare sequences correctly"
|
43
|
+
end
|
44
|
+
|
45
|
+
describe "using %w(a b c d e) & %w(a e)" do
|
46
|
+
let(:s1) { %w[a b c d e] }
|
47
|
+
let(:s2) { %w[a e] }
|
48
|
+
let(:result) {
|
49
|
+
[
|
50
|
+
["=", [0, "a"], [0, "a"]],
|
51
|
+
["-", [1, "b"], [1, nil]],
|
52
|
+
["-", [2, "c"], [1, nil]],
|
53
|
+
["-", [3, "d"], [1, nil]],
|
54
|
+
["=", [4, "e"], [1, "e"]]
|
55
|
+
]
|
56
|
+
}
|
57
|
+
|
58
|
+
it_has_behavior "compare sequences correctly"
|
59
|
+
end
|
60
|
+
|
61
|
+
describe "using %w(a e) & %w(a b c d e)" do
|
62
|
+
let(:s1) { %w[a e] }
|
63
|
+
let(:s2) { %w[a b c d e] }
|
64
|
+
let(:result) {
|
65
|
+
[
|
66
|
+
["=", [0, "a"], [0, "a"]],
|
67
|
+
["+", [1, nil], [1, "b"]],
|
68
|
+
["+", [1, nil], [2, "c"]],
|
69
|
+
["+", [1, nil], [3, "d"]],
|
70
|
+
["=", [1, "e"], [4, "e"]]
|
71
|
+
]
|
72
|
+
}
|
73
|
+
|
74
|
+
it_has_behavior "compare sequences correctly"
|
75
|
+
end
|
76
|
+
|
77
|
+
describe "using %w(v x a e) & %w(w y a b c d e)" do
|
78
|
+
let(:s1) { %w[v x a e] }
|
79
|
+
let(:s2) { %w[w y a b c d e] }
|
80
|
+
let(:result) {
|
81
|
+
[
|
82
|
+
["!", [0, "v"], [0, "w"]],
|
83
|
+
["!", [1, "x"], [1, "y"]],
|
84
|
+
["=", [2, "a"], [2, "a"]],
|
85
|
+
["+", [3, nil], [3, "b"]],
|
86
|
+
["+", [3, nil], [4, "c"]],
|
87
|
+
["+", [3, nil], [5, "d"]],
|
88
|
+
["=", [3, "e"], [6, "e"]]
|
89
|
+
]
|
90
|
+
}
|
91
|
+
|
92
|
+
it_has_behavior "compare sequences correctly"
|
93
|
+
end
|
94
|
+
|
95
|
+
describe "using %w(x a e) & %w(a b c d e)" do
|
96
|
+
let(:s1) { %w[x a e] }
|
97
|
+
let(:s2) { %w[a b c d e] }
|
98
|
+
let(:result) {
|
99
|
+
[
|
100
|
+
["-", [0, "x"], [0, nil]],
|
101
|
+
["=", [1, "a"], [0, "a"]],
|
102
|
+
["+", [2, nil], [1, "b"]],
|
103
|
+
["+", [2, nil], [2, "c"]],
|
104
|
+
["+", [2, nil], [3, "d"]],
|
105
|
+
["=", [2, "e"], [4, "e"]]
|
106
|
+
]
|
107
|
+
}
|
108
|
+
|
109
|
+
it_has_behavior "compare sequences correctly"
|
110
|
+
end
|
111
|
+
|
112
|
+
describe "using %w(a e) & %w(x a b c d e)" do
|
113
|
+
let(:s1) { %w[a e] }
|
114
|
+
let(:s2) { %w[x a b c d e] }
|
115
|
+
let(:result) {
|
116
|
+
[
|
117
|
+
["+", [0, nil], [0, "x"]],
|
118
|
+
["=", [0, "a"], [1, "a"]],
|
119
|
+
["+", [1, nil], [2, "b"]],
|
120
|
+
["+", [1, nil], [3, "c"]],
|
121
|
+
["+", [1, nil], [4, "d"]],
|
122
|
+
["=", [1, "e"], [5, "e"]]
|
123
|
+
]
|
124
|
+
}
|
125
|
+
|
126
|
+
it_has_behavior "compare sequences correctly"
|
127
|
+
end
|
128
|
+
|
129
|
+
describe "using %w(a e v) & %w(x a b c d e w x)" do
|
130
|
+
let(:s1) { %w[a e v] }
|
131
|
+
let(:s2) { %w[x a b c d e w x] }
|
132
|
+
let(:result) {
|
133
|
+
[
|
134
|
+
["+", [0, nil], [0, "x"]],
|
135
|
+
["=", [0, "a"], [1, "a"]],
|
136
|
+
["+", [1, nil], [2, "b"]],
|
137
|
+
["+", [1, nil], [3, "c"]],
|
138
|
+
["+", [1, nil], [4, "d"]],
|
139
|
+
["=", [1, "e"], [5, "e"]],
|
140
|
+
["!", [2, "v"], [6, "w"]],
|
141
|
+
["+", [3, nil], [7, "x"]]
|
142
|
+
]
|
143
|
+
}
|
144
|
+
|
145
|
+
it_has_behavior "compare sequences correctly"
|
146
|
+
end
|
147
|
+
|
148
|
+
describe "using %w() & %w(a b c)" do
|
149
|
+
let(:s1) { %w[] }
|
150
|
+
let(:s2) { %w[a b c] }
|
151
|
+
let(:result) {
|
152
|
+
[
|
153
|
+
["+", [0, nil], [0, "a"]],
|
154
|
+
["+", [0, nil], [1, "b"]],
|
155
|
+
["+", [0, nil], [2, "c"]]
|
156
|
+
]
|
157
|
+
}
|
158
|
+
|
159
|
+
it_has_behavior "compare sequences correctly"
|
160
|
+
end
|
161
|
+
|
162
|
+
describe "using %w(a b c) & %w(1)" do
|
163
|
+
let(:s1) { %w[a b c] }
|
164
|
+
let(:s2) { %w[1] }
|
165
|
+
let(:result) {
|
166
|
+
[
|
167
|
+
["!", [0, "a"], [0, "1"]],
|
168
|
+
["-", [1, "b"], [1, nil]],
|
169
|
+
["-", [2, "c"], [1, nil]]
|
170
|
+
]
|
171
|
+
}
|
172
|
+
|
173
|
+
it_has_behavior "compare sequences correctly"
|
174
|
+
end
|
175
|
+
|
176
|
+
describe "using %w(a b c) & %w(c)" do
|
177
|
+
let(:s1) { %w[a b c] }
|
178
|
+
let(:s2) { %w[c] }
|
179
|
+
let(:result) {
|
180
|
+
[
|
181
|
+
["-", [0, "a"], [0, nil]],
|
182
|
+
["-", [1, "b"], [0, nil]],
|
183
|
+
["=", [2, "c"], [0, "c"]]
|
184
|
+
]
|
185
|
+
}
|
186
|
+
|
187
|
+
it_has_behavior "compare sequences correctly"
|
188
|
+
end
|
189
|
+
|
190
|
+
describe "using %w(abcd efgh ijkl mnop) & []" do
|
191
|
+
let(:s1) { %w[abcd efgh ijkl mnop] }
|
192
|
+
let(:s2) { [] }
|
193
|
+
let(:result) {
|
194
|
+
[
|
195
|
+
["-", [0, "abcd"], [0, nil]],
|
196
|
+
["-", [1, "efgh"], [0, nil]],
|
197
|
+
["-", [2, "ijkl"], [0, nil]],
|
198
|
+
["-", [3, "mnop"], [0, nil]]
|
199
|
+
]
|
200
|
+
}
|
201
|
+
|
202
|
+
it_has_behavior "compare sequences correctly"
|
203
|
+
end
|
204
|
+
|
205
|
+
describe "using [[1,2]] & []" do
|
206
|
+
let(:s1) { [[1, 2]] }
|
207
|
+
let(:s2) { [] }
|
208
|
+
let(:result) {
|
209
|
+
[
|
210
|
+
["-", [0, [1, 2]], [0, nil]]
|
211
|
+
]
|
212
|
+
}
|
213
|
+
|
214
|
+
it_has_behavior "compare sequences correctly"
|
215
|
+
end
|
216
|
+
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require "rubygems"
|
4
|
+
require "pathname"
|
5
5
|
|
6
|
-
require
|
6
|
+
require "psych" if RUBY_VERSION >= "1.9"
|
7
7
|
|
8
|
-
if ENV[
|
9
|
-
require
|
8
|
+
if ENV["COVERAGE"]
|
9
|
+
require "simplecov"
|
10
10
|
|
11
11
|
def require_do(resource)
|
12
12
|
require resource
|
@@ -17,13 +17,13 @@ if ENV['COVERAGE']
|
|
17
17
|
|
18
18
|
formatters = [SimpleCov::Formatter::HTMLFormatter]
|
19
19
|
|
20
|
-
require_do(
|
20
|
+
require_do("simplecov-rcov") {
|
21
21
|
formatters << SimpleCov::Formatter::RcovFormatter
|
22
22
|
}
|
23
|
-
require_do(
|
23
|
+
require_do("simplecov-vim/formatter") {
|
24
24
|
formatters << SimpleCov::Formatter::VimFormatter
|
25
25
|
}
|
26
|
-
require_do(
|
26
|
+
require_do("simplecov-sublime-ruby-coverage") {
|
27
27
|
formatters << SimpleCov::Formatter::SublimeRubyCoverageFormatter
|
28
28
|
}
|
29
29
|
|
@@ -32,11 +32,11 @@ if ENV['COVERAGE']
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
file
|
36
|
-
path
|
35
|
+
file = Pathname.new(__FILE__).expand_path
|
36
|
+
path = file.parent
|
37
37
|
parent = path.parent
|
38
38
|
|
39
|
-
$:.unshift parent.join(
|
39
|
+
$:.unshift parent.join("lib")
|
40
40
|
|
41
41
|
module CaptureSubprocessIO
|
42
42
|
def _synchronize
|
@@ -48,9 +48,9 @@ module CaptureSubprocessIO
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def _capture_subprocess_io
|
51
|
-
require
|
51
|
+
require "tempfile"
|
52
52
|
|
53
|
-
captured_stdout, captured_stderr = Tempfile.new(
|
53
|
+
captured_stdout, captured_stderr = Tempfile.new("out"), Tempfile.new("err")
|
54
54
|
|
55
55
|
orig_stdout, orig_stderr = $stdout.dup, $stderr.dup
|
56
56
|
$stdout.reopen captured_stdout
|
@@ -71,62 +71,63 @@ module CaptureSubprocessIO
|
|
71
71
|
private :_capture_subprocess_io
|
72
72
|
end
|
73
73
|
|
74
|
-
require
|
74
|
+
require "diff-lcs"
|
75
75
|
|
76
76
|
module Diff::LCS::SpecHelper
|
77
77
|
def hello
|
78
|
-
|
78
|
+
"hello"
|
79
79
|
end
|
80
80
|
|
81
81
|
def hello_ary
|
82
|
-
%w
|
82
|
+
%w[h e l l o]
|
83
83
|
end
|
84
84
|
|
85
85
|
def seq1
|
86
|
-
%w
|
86
|
+
%w[a b c e h j l m n p]
|
87
87
|
end
|
88
88
|
|
89
89
|
def skipped_seq1
|
90
|
-
%w
|
90
|
+
%w[a h n p]
|
91
91
|
end
|
92
92
|
|
93
93
|
def seq2
|
94
|
-
%w
|
94
|
+
%w[b c d e f j k l m r s t]
|
95
95
|
end
|
96
96
|
|
97
97
|
def skipped_seq2
|
98
|
-
%w
|
98
|
+
%w[d f k r s t]
|
99
99
|
end
|
100
100
|
|
101
101
|
def word_sequence
|
102
|
-
%w
|
102
|
+
%w[abcd efgh ijkl mnopqrstuvwxyz]
|
103
103
|
end
|
104
104
|
|
105
105
|
def correct_lcs
|
106
|
-
%w
|
106
|
+
%w[b c e j l m]
|
107
107
|
end
|
108
108
|
|
109
|
+
# standard:disable Layout/ExtraSpacing
|
109
110
|
def correct_forward_diff
|
110
111
|
[
|
111
112
|
[
|
112
|
-
[
|
113
|
+
["-", 0, "a"]
|
113
114
|
],
|
114
115
|
[
|
115
|
-
[
|
116
|
+
["+", 2, "d"]
|
116
117
|
],
|
117
118
|
[
|
118
|
-
[
|
119
|
-
[
|
119
|
+
["-", 4, "h"],
|
120
|
+
["+", 4, "f"]
|
120
121
|
],
|
121
122
|
[
|
122
|
-
[
|
123
|
+
["+", 6, "k"]
|
123
124
|
],
|
124
125
|
[
|
125
|
-
[
|
126
|
-
[
|
127
|
-
[
|
128
|
-
[
|
129
|
-
[
|
126
|
+
["-", 8, "n"],
|
127
|
+
["+", 9, "r"],
|
128
|
+
["-", 9, "p"],
|
129
|
+
["+", 10, "s"],
|
130
|
+
["+", 11, "t"]
|
130
131
|
]
|
131
132
|
]
|
132
133
|
end
|
@@ -134,52 +135,53 @@ module Diff::LCS::SpecHelper
|
|
134
135
|
def correct_backward_diff
|
135
136
|
[
|
136
137
|
[
|
137
|
-
[
|
138
|
+
["+", 0, "a"]
|
138
139
|
],
|
139
140
|
[
|
140
|
-
[
|
141
|
+
["-", 2, "d"]
|
141
142
|
],
|
142
143
|
[
|
143
|
-
[
|
144
|
-
[
|
144
|
+
["-", 4, "f"],
|
145
|
+
["+", 4, "h"]
|
145
146
|
],
|
146
147
|
[
|
147
|
-
[
|
148
|
+
["-", 6, "k"]
|
148
149
|
],
|
149
150
|
[
|
150
|
-
[
|
151
|
-
[
|
152
|
-
[
|
153
|
-
[
|
154
|
-
[
|
151
|
+
["-", 9, "r"],
|
152
|
+
["+", 8, "n"],
|
153
|
+
["-", 10, "s"],
|
154
|
+
["+", 9, "p"],
|
155
|
+
["-", 11, "t"]
|
155
156
|
]
|
156
157
|
]
|
157
158
|
end
|
158
159
|
|
159
160
|
def correct_forward_sdiff
|
160
161
|
[
|
161
|
-
[
|
162
|
-
[
|
163
|
-
[
|
164
|
-
[
|
165
|
-
[
|
166
|
-
[
|
167
|
-
[
|
168
|
-
[
|
169
|
-
[
|
170
|
-
[
|
171
|
-
[
|
172
|
-
[
|
173
|
-
[
|
162
|
+
["-", [0, "a"], [0, nil]],
|
163
|
+
["=", [1, "b"], [0, "b"]],
|
164
|
+
["=", [2, "c"], [1, "c"]],
|
165
|
+
["+", [3, nil], [2, "d"]],
|
166
|
+
["=", [3, "e"], [3, "e"]],
|
167
|
+
["!", [4, "h"], [4, "f"]],
|
168
|
+
["=", [5, "j"], [5, "j"]],
|
169
|
+
["+", [6, nil], [6, "k"]],
|
170
|
+
["=", [6, "l"], [7, "l"]],
|
171
|
+
["=", [7, "m"], [8, "m"]],
|
172
|
+
["!", [8, "n"], [9, "r"]],
|
173
|
+
["!", [9, "p"], [10, "s"]],
|
174
|
+
["+", [10, nil], [11, "t"]]
|
174
175
|
]
|
175
176
|
end
|
177
|
+
# standard:enable Layout/ExtraSpacing
|
176
178
|
|
177
179
|
def reverse_sdiff(forward_sdiff)
|
178
180
|
forward_sdiff.map { |line|
|
179
181
|
line[1], line[2] = line[2], line[1]
|
180
182
|
case line[0]
|
181
|
-
when
|
182
|
-
when
|
183
|
+
when "-" then line[0] = "+"
|
184
|
+
when "+" then line[0] = "-"
|
183
185
|
end
|
184
186
|
line
|
185
187
|
}
|
@@ -195,8 +197,8 @@ module Diff::LCS::SpecHelper
|
|
195
197
|
|
196
198
|
def format_diffs(diffs)
|
197
199
|
diffs.map { |e|
|
198
|
-
if e.
|
199
|
-
e.map { |f| f.to_a.join }.join(
|
200
|
+
if e.is_a?(Array)
|
201
|
+
e.map { |f| f.to_a.join }.join(", ")
|
200
202
|
else
|
201
203
|
e.to_a.join
|
202
204
|
end
|
@@ -224,10 +226,10 @@ module Diff::LCS::SpecHelper
|
|
224
226
|
change_result.each do |line|
|
225
227
|
line = [line[0], line[2], line[1]]
|
226
228
|
case line[0]
|
227
|
-
when
|
228
|
-
line[0] =
|
229
|
-
when
|
230
|
-
line[0] =
|
229
|
+
when "<"
|
230
|
+
line[0] = ">"
|
231
|
+
when ">"
|
232
|
+
line[0] = "<"
|
231
233
|
end
|
232
234
|
new_result << line
|
233
235
|
end
|
@@ -238,9 +240,9 @@ module Diff::LCS::SpecHelper
|
|
238
240
|
new_result = []
|
239
241
|
change_result.each do |line|
|
240
242
|
case line[0]
|
241
|
-
when
|
242
|
-
new_result << [
|
243
|
-
new_result << [
|
243
|
+
when "!"
|
244
|
+
new_result << ["<", line[1], line[2]]
|
245
|
+
new_result << [">", line[1] + 1, line[2]]
|
244
246
|
else
|
245
247
|
new_result << line
|
246
248
|
end
|
@@ -317,19 +319,19 @@ module Diff::LCS::SpecHelper
|
|
317
319
|
end
|
318
320
|
|
319
321
|
def match(event)
|
320
|
-
@result << [
|
322
|
+
@result << ["=", event.old_position, event.new_position]
|
321
323
|
end
|
322
324
|
|
323
325
|
def discard_a(event)
|
324
|
-
@result << [
|
326
|
+
@result << ["<", event.old_position, event.new_position]
|
325
327
|
end
|
326
328
|
|
327
329
|
def discard_b(event)
|
328
|
-
@result << [
|
330
|
+
@result << [">", event.old_position, event.new_position]
|
329
331
|
end
|
330
332
|
|
331
333
|
def change(event)
|
332
|
-
@result << [
|
334
|
+
@result << ["!", event.old_position, event.new_position]
|
333
335
|
end
|
334
336
|
end
|
335
337
|
cb.reset
|
@@ -355,9 +357,7 @@ module Diff::LCS::SpecHelper
|
|
355
357
|
|
356
358
|
matcher :correctly_map_sequence do |s1|
|
357
359
|
match do |actual|
|
358
|
-
actual.
|
359
|
-
expect(ee).to be_nil_or_match_values(ii, s1, @s2)
|
360
|
-
}
|
360
|
+
actual.each_index { |ii| expect(actual[ii]).to be_nil_or_match_values(ii, s1, @s2) }
|
361
361
|
end
|
362
362
|
|
363
363
|
chain :to_other_sequence do |s2|
|
@@ -369,6 +369,8 @@ end
|
|
369
369
|
|
370
370
|
RSpec.configure do |conf|
|
371
371
|
conf.include Diff::LCS::SpecHelper
|
372
|
-
conf.alias_it_should_behave_like_to :it_has_behavior,
|
372
|
+
conf.alias_it_should_behave_like_to :it_has_behavior, "has behavior:"
|
373
|
+
# standard:disable Style/HashSyntax
|
373
374
|
conf.filter_run_excluding :broken => true
|
375
|
+
# standard:enable Style/HashSyntax
|
374
376
|
end
|