ory-client 0.0.1.alpha80 → 0.0.1.alpha84
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/README.md +5 -5
- data/lib/ory-client/api/metadata_api.rb +1 -1
- data/lib/ory-client/api/v0alpha0_api.rb +1 -1
- data/lib/ory-client/api/v0alpha2_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/active_project.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
- data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
- data/lib/ory-client/models/api_token.rb +1 -1
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/cname_settings.rb +1 -1
- data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/create_subscription_payload.rb +1 -1
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/generic_error.rb +1 -1
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_type.rb +1 -1
- data/lib/ory-client/models/identity_preset.rb +1 -1
- data/lib/ory-client/models/identity_schema.rb +1 -1
- data/lib/ory-client/models/identity_schema_location.rb +1 -1
- data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
- data/lib/ory-client/models/identity_state.rb +1 -1
- data/lib/ory-client/models/inline_object.rb +1 -1
- data/lib/ory-client/models/inline_response200.rb +1 -1
- data/lib/ory-client/models/inline_response2001.rb +1 -1
- data/lib/ory-client/models/inline_response503.rb +1 -1
- data/lib/ory-client/models/invite_payload.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
- data/lib/ory-client/models/json_error.rb +1 -1
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/null_plan.rb +1 -1
- data/lib/ory-client/models/pagination.rb +1 -1
- data/lib/ory-client/models/project.rb +1 -1
- data/lib/ory-client/models/project_host.rb +1 -1
- data/lib/ory-client/models/project_invite.rb +1 -1
- data/lib/ory-client/models/project_revision.rb +1 -1
- data/lib/ory-client/models/project_revision_hook.rb +1 -1
- data/lib/ory-client/models/project_revision_identity_schema.rb +1 -1
- data/lib/ory-client/models/project_revision_third_party_login_provider.rb +1 -1
- data/lib/ory-client/models/project_slug.rb +1 -1
- data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
- data/lib/ory-client/models/recovery_address.rb +1 -1
- data/lib/ory-client/models/revoked_sessions.rb +1 -1
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
- data/lib/ory-client/models/self_service_error.rb +1 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
- data/lib/ory-client/models/self_service_login_flow.rb +1 -1
- data/lib/ory-client/models/self_service_logout_url.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
- data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
- data/lib/ory-client/models/session.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/settings_profile_form_config.rb +1 -1
- data/lib/ory-client/models/stripe_customer_response.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/subscription.rb +1 -1
- data/lib/ory-client/models/successful_project_config_update.rb +1 -1
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
- data/lib/ory-client/models/successful_self_service_registration_without_browser.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_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/update_project_config_config.rb +1 -1
- data/lib/ory-client/models/update_subscription_payload.rb +1 -1
- data/lib/ory-client/models/verifiable_identity_address.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/version.rb +2 -2
- data/lib/ory-client.rb +1 -1
- data/ory-client.gemspec +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/v0alpha0_api_spec.rb +1 -1
- data/spec/api/v0alpha2_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/active_project_spec.rb +1 -1
- data/spec/models/admin_create_identity_body_spec.rb +1 -1
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
- data/spec/models/admin_update_identity_body_spec.rb +1 -1
- data/spec/models/api_token_spec.rb +1 -1
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/cname_settings_spec.rb +1 -1
- data/spec/models/create_custom_hostname_body_spec.rb +1 -1
- data/spec/models/create_subscription_payload_spec.rb +1 -1
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/generic_error_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_spec.rb +1 -1
- data/spec/models/identity_credentials_type_spec.rb +1 -1
- data/spec/models/identity_preset_spec.rb +1 -1
- data/spec/models/identity_schema_location_spec.rb +1 -1
- data/spec/models/identity_schema_spec.rb +1 -1
- data/spec/models/identity_schema_validation_result_spec.rb +1 -1
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/identity_state_spec.rb +1 -1
- data/spec/models/inline_object_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/inline_response503_spec.rb +1 -1
- data/spec/models/invite_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/json_error_spec.rb +1 -1
- data/spec/models/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/null_plan_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_invite_spec.rb +1 -1
- data/spec/models/project_revision_hook_spec.rb +1 -1
- data/spec/models/project_revision_identity_schema_spec.rb +1 -1
- data/spec/models/project_revision_spec.rb +1 -1
- data/spec/models/project_revision_third_party_login_provider_spec.rb +1 -1
- data/spec/models/project_slug_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/quota_project_member_seats_spec.rb +1 -1
- data/spec/models/recovery_address_spec.rb +1 -1
- data/spec/models/revoked_sessions_spec.rb +1 -1
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
- data/spec/models/self_service_error_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
- data/spec/models/self_service_login_flow_spec.rb +1 -1
- data/spec/models/self_service_logout_url_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
- data/spec/models/self_service_recovery_link_spec.rb +1 -1
- data/spec/models/self_service_registration_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_state_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/settings_profile_form_config_spec.rb +1 -1
- data/spec/models/stripe_customer_response_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/successful_project_config_update_spec.rb +1 -1
- data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
- data/spec/models/successful_self_service_registration_without_browser_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_custom_hostname_body_spec.rb +1 -1
- data/spec/models/update_project_config_config_spec.rb +1 -1
- data/spec/models/update_subscription_payload_spec.rb +1 -1
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.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.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/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/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.10.0 → rspec-3.11.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.10.0 → rspec-3.11.0}/README.md +5 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.10.0 → rspec-3.11.0}/lib/rspec/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.10.0 → rspec-3.11.0}/lib/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/Changelog.md +14 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/README.md +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/bisect/fork_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/bisect/utilities.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/configuration.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/example.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/example_group.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/example_status_persister.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/console_codes.rb +17 -9
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/exception_presenter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/helpers.rb +9 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/html_printer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/formatters.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/hooks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/invocations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/memoized_helpers.rb +29 -3
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/metadata_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/notifications.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/option_parser.rb +5 -4
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/ordering.rb +12 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/output_wrapper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/pending.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/project_initializer/.rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/reporter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core/world.rb +14 -4
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.2 → rspec-core-3.11.0}/lib/rspec/core.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/Changelog.md +14 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/README.md +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/expectation_target.rb +39 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/failure_aggregator.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/base_matcher.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/change.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/compound.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/exist.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/include.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/output.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/raise_error.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/throw_symbol.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/yield.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/composable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/dsl.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers/matcher_protocol.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/lib/rspec/matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/Changelog.md +10 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/README.md +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/matchers/receive.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/matchers/receive_message_chain.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/message_expectation.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/method_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/test_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/verifying_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/Changelog.md +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/README.md +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/caller_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/comparable_version.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/differ.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/directory_maker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/encoded_string.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/hunk_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/matcher_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/method_signature_verifier.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/mutex.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/object_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/recursive_const_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/reentrant_mutex.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/ruby_features.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/source/location.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/source/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/source/token.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/source.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/formatting_support.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/in_sub_process.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/shell_out.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/string_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.3 → rspec-support-3.11.0}/lib/rspec/support.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-3.10.0.gemspec → rspec-3.11.0.gemspec} +14 -14
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.10.2.gemspec → rspec-core-3.11.0.gemspec} +8 -8
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.10.2.gemspec → rspec-expectations-3.11.0.gemspec} +8 -8
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.10.3.gemspec → rspec-mocks-3.11.0.gemspec} +8 -8
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-support-3.10.3.gemspec → rspec-support-3.11.0.gemspec} +5 -5
- metadata +233 -233
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.10.3.gem +0 -0
data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.2 → rspec-expectations-3.11.0}/README.md
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
# RSpec Expectations [![Build Status](https://github.com/rspec/rspec-expectations/workflows/RSpec%20CI/badge.svg
|
1
|
+
# RSpec Expectations [![Build Status](https://github.com/rspec/rspec-expectations/workflows/RSpec%20CI/badge.svg)](https://github.com/rspec/rspec-expectations/actions) [![Code Climate](https://codeclimate.com/github/rspec/rspec-expectations.svg)](https://codeclimate.com/github/rspec/rspec-expectations)
|
2
2
|
|
3
3
|
RSpec::Expectations lets you express expected outcomes on an object in an
|
4
4
|
example.
|
File without changes
|
File without changes
|
@@ -42,7 +42,7 @@ module RSpec
|
|
42
42
|
elsif block
|
43
43
|
raise ArgumentError, "You cannot pass both an argument and a block to `expect`."
|
44
44
|
else
|
45
|
-
new(value)
|
45
|
+
ValueExpectationTarget.new(value)
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
@@ -90,6 +90,44 @@ module RSpec
|
|
90
90
|
include InstanceMethods
|
91
91
|
end
|
92
92
|
|
93
|
+
# @private
|
94
|
+
# Validates the provided matcher to ensure it supports block
|
95
|
+
# expectations, in order to avoid user confusion when they
|
96
|
+
# use a block thinking the expectation will be on the return
|
97
|
+
# value of the block rather than the block itself.
|
98
|
+
class ValueExpectationTarget < ExpectationTarget
|
99
|
+
def to(matcher=nil, message=nil, &block)
|
100
|
+
enforce_value_expectation(matcher)
|
101
|
+
super
|
102
|
+
end
|
103
|
+
|
104
|
+
def not_to(matcher=nil, message=nil, &block)
|
105
|
+
enforce_value_expectation(matcher)
|
106
|
+
super
|
107
|
+
end
|
108
|
+
|
109
|
+
private
|
110
|
+
|
111
|
+
def enforce_value_expectation(matcher)
|
112
|
+
return if supports_value_expectations?(matcher)
|
113
|
+
|
114
|
+
RSpec.deprecate(
|
115
|
+
"expect(value).to #{RSpec::Support::ObjectFormatter.format(matcher)}",
|
116
|
+
:message =>
|
117
|
+
"The implicit block expectation syntax is deprecated, you should pass " \
|
118
|
+
"a block rather than an argument to `expect` to use the provided " \
|
119
|
+
"block expectation matcher or the matcher must implement " \
|
120
|
+
"`supports_value_expectations?`. e.g `expect { value }.to " \
|
121
|
+
"#{RSpec::Support::ObjectFormatter.format(matcher)}` not " \
|
122
|
+
"`expect(value).to #{RSpec::Support::ObjectFormatter.format(matcher)}`"
|
123
|
+
)
|
124
|
+
end
|
125
|
+
|
126
|
+
def supports_value_expectations?(matcher)
|
127
|
+
!matcher.respond_to?(:supports_value_expectations?) || matcher.supports_value_expectations?
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
93
131
|
# @private
|
94
132
|
# Validates the provided matcher to ensure it supports block
|
95
133
|
# expectations, in order to avoid user confusion when they
|
File without changes
|
@@ -80,7 +80,7 @@ module RSpec
|
|
80
80
|
all_errors = failures + other_errors
|
81
81
|
|
82
82
|
case all_errors.size
|
83
|
-
when 0 then return
|
83
|
+
when 0 then return true
|
84
84
|
when 1 then RSpec::Support.notify_failure all_errors.first
|
85
85
|
else RSpec::Support.notify_failure MultipleExpectationsNotMetError.new(self)
|
86
86
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -77,6 +77,11 @@ module RSpec
|
|
77
77
|
true
|
78
78
|
end
|
79
79
|
|
80
|
+
# @private
|
81
|
+
def supports_value_expectations?
|
82
|
+
false
|
83
|
+
end
|
84
|
+
|
80
85
|
private
|
81
86
|
|
82
87
|
def initialize(receiver=nil, message=nil, &block)
|
@@ -158,6 +163,11 @@ module RSpec
|
|
158
163
|
true
|
159
164
|
end
|
160
165
|
|
166
|
+
# @private
|
167
|
+
def supports_value_expectations?
|
168
|
+
false
|
169
|
+
end
|
170
|
+
|
161
171
|
private
|
162
172
|
|
163
173
|
def failure_reason
|
@@ -201,6 +211,11 @@ module RSpec
|
|
201
211
|
true
|
202
212
|
end
|
203
213
|
|
214
|
+
# @private
|
215
|
+
def supports_value_expectations?
|
216
|
+
false
|
217
|
+
end
|
218
|
+
|
204
219
|
private
|
205
220
|
|
206
221
|
def perform_change(event_proc)
|
@@ -337,6 +352,8 @@ module RSpec
|
|
337
352
|
class ChangeDetails
|
338
353
|
attr_reader :actual_after
|
339
354
|
|
355
|
+
UNDEFINED = Module.new.freeze
|
356
|
+
|
340
357
|
def initialize(matcher_name, receiver=nil, message=nil, &block)
|
341
358
|
if receiver && !message
|
342
359
|
raise(
|
@@ -351,6 +368,11 @@ module RSpec
|
|
351
368
|
@receiver = receiver
|
352
369
|
@message = message
|
353
370
|
@value_proc = block
|
371
|
+
# TODO: temporary measure to mute warning of access to an initialized
|
372
|
+
# instance variable when a deprecated implicit block expectation
|
373
|
+
# syntax is used. This may be removed once `fail` is used, and the
|
374
|
+
# matcher never issues this warning.
|
375
|
+
@actual_after = UNDEFINED
|
354
376
|
end
|
355
377
|
|
356
378
|
def value_representation
|
@@ -26,11 +26,19 @@ module RSpec
|
|
26
26
|
"#{matcher_1.description} #{conjunction} #{matcher_2.description}"
|
27
27
|
end
|
28
28
|
|
29
|
+
# @api private
|
29
30
|
def supports_block_expectations?
|
30
31
|
matcher_supports_block_expectations?(matcher_1) &&
|
31
32
|
matcher_supports_block_expectations?(matcher_2)
|
32
33
|
end
|
33
34
|
|
35
|
+
# @api private
|
36
|
+
def supports_value_expectations?
|
37
|
+
matcher_supports_value_expectations?(matcher_1) &&
|
38
|
+
matcher_supports_value_expectations?(matcher_2)
|
39
|
+
end
|
40
|
+
|
41
|
+
# @api private
|
34
42
|
def expects_call_stack_jump?
|
35
43
|
NestedEvaluator.matcher_expects_call_stack_jump?(matcher_1) ||
|
36
44
|
NestedEvaluator.matcher_expects_call_stack_jump?(matcher_2)
|
@@ -102,6 +110,12 @@ module RSpec
|
|
102
110
|
false
|
103
111
|
end
|
104
112
|
|
113
|
+
def matcher_supports_value_expectations?(matcher)
|
114
|
+
matcher.supports_value_expectations?
|
115
|
+
rescue NoMethodError
|
116
|
+
true
|
117
|
+
end
|
118
|
+
|
105
119
|
def matcher_is_diffable?(matcher)
|
106
120
|
matcher.diffable?
|
107
121
|
rescue NoMethodError
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -129,6 +129,11 @@ module RSpec
|
|
129
129
|
true
|
130
130
|
end
|
131
131
|
|
132
|
+
# @private
|
133
|
+
def supports_value_expectations?
|
134
|
+
false
|
135
|
+
end
|
136
|
+
|
132
137
|
private
|
133
138
|
|
134
139
|
def failure_reason
|
@@ -169,6 +174,11 @@ module RSpec
|
|
169
174
|
true
|
170
175
|
end
|
171
176
|
|
177
|
+
# @private
|
178
|
+
def supports_value_expectations?
|
179
|
+
false
|
180
|
+
end
|
181
|
+
|
172
182
|
private
|
173
183
|
|
174
184
|
def positive_failure_reason
|
@@ -231,6 +241,11 @@ module RSpec
|
|
231
241
|
true
|
232
242
|
end
|
233
243
|
|
244
|
+
# @private
|
245
|
+
def supports_value_expectations?
|
246
|
+
false
|
247
|
+
end
|
248
|
+
|
234
249
|
private
|
235
250
|
|
236
251
|
def positive_failure_reason
|
@@ -328,6 +343,11 @@ module RSpec
|
|
328
343
|
true
|
329
344
|
end
|
330
345
|
|
346
|
+
# @private
|
347
|
+
def supports_value_expectations?
|
348
|
+
false
|
349
|
+
end
|
350
|
+
|
331
351
|
private
|
332
352
|
|
333
353
|
def expected_arg_description
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -60,6 +60,12 @@ module RSpec
|
|
60
60
|
# @return [Boolean] true if this matcher can be used in block expressions.
|
61
61
|
# @note If not defined, RSpec assumes a value of `false` for this method.
|
62
62
|
|
63
|
+
# @!method supports_value_expectations?
|
64
|
+
# Indicates that this matcher can be used in a value expectation expression,
|
65
|
+
# such as `expect(foo).to eq(bar)`.
|
66
|
+
# @return [Boolean] true if this matcher can be used in value expressions.
|
67
|
+
# @note If not defined, RSpec assumes a value of `true` for this method.
|
68
|
+
|
63
69
|
# @!method expects_call_stack_jump?
|
64
70
|
# Indicates that when this matcher is used in a block expectation
|
65
71
|
# expression, it expects the block to use a ruby construct that causes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,7 +1,15 @@
|
|
1
1
|
### Development
|
2
|
-
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.11.0...3-11-maintenance)
|
3
3
|
|
4
|
-
### 3.
|
4
|
+
### 3.11.0 / 2022-02-09
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.10.3...v3.11.0)
|
6
|
+
|
7
|
+
Enhancements:
|
8
|
+
|
9
|
+
* Add `and_invoke` implementation for configuring responses to `receive`
|
10
|
+
(and `receive_messages`) with multiple callable objects. (Kyle Smith, #1411)
|
11
|
+
|
12
|
+
### 3.10.3 / 2022-01-28
|
5
13
|
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.10.2...v3.10.3)
|
6
14
|
|
7
15
|
Bug Fixes:
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# RSpec Mocks [![Build Status](https://github.com/rspec/rspec-mocks/workflows/RSpec%20CI/badge.svg
|
1
|
+
# RSpec Mocks [![Build Status](https://github.com/rspec/rspec-mocks/workflows/RSpec%20CI/badge.svg)](https://github.com/rspec/rspec-mocks/actions) [![Code Climate](https://codeclimate.com/github/rspec/rspec-mocks.svg)](https://codeclimate.com/github/rspec/rspec-mocks)
|
2
2
|
rspec-mocks is a test-double framework for rspec with support for method stubs,
|
3
3
|
fakes, and message expectations on generated test-doubles and real objects
|
4
4
|
alike.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -13,7 +13,7 @@ module RSpec
|
|
13
13
|
@recorded_customizations = []
|
14
14
|
end
|
15
15
|
|
16
|
-
[:with, :and_return, :and_throw, :and_raise, :and_yield, :and_call_original].each do |msg|
|
16
|
+
[:with, :and_return, :and_invoke, :and_throw, :and_raise, :and_yield, :and_call_original].each do |msg|
|
17
17
|
define_method(msg) do |*args, &block|
|
18
18
|
@recorded_customizations << ExpectationCustomization.new(msg, args, block)
|
19
19
|
self
|
File without changes
|
File without changes
|
@@ -85,6 +85,48 @@ module RSpec
|
|
85
85
|
nil
|
86
86
|
end
|
87
87
|
|
88
|
+
# Tells the object to invoke a Proc when it receives the message. Given
|
89
|
+
# more than one value, the result of the first Proc is returned the first
|
90
|
+
# time the message is received, the result of the second Proc is returned
|
91
|
+
# the next time, etc, etc.
|
92
|
+
#
|
93
|
+
# If the message is received more times than there are Procs, the result of
|
94
|
+
# the last Proc is returned for every subsequent call.
|
95
|
+
#
|
96
|
+
# @return [nil] No further chaining is supported after this.
|
97
|
+
# @example
|
98
|
+
# allow(api).to receive(:get_foo).and_invoke(-> { raise ApiTimeout })
|
99
|
+
# api.get_foo # => raises ApiTimeout
|
100
|
+
# api.get_foo # => raises ApiTimeout
|
101
|
+
#
|
102
|
+
# allow(api).to receive(:get_foo).and_invoke(-> { raise ApiTimeout }, -> { raise ApiTimeout }, -> { :a_foo })
|
103
|
+
# api.get_foo # => raises ApiTimeout
|
104
|
+
# api.get_foo # => rasies ApiTimeout
|
105
|
+
# api.get_foo # => :a_foo
|
106
|
+
# api.get_foo # => :a_foo
|
107
|
+
# api.get_foo # => :a_foo
|
108
|
+
# # etc
|
109
|
+
def and_invoke(first_proc, *procs)
|
110
|
+
raise_already_invoked_error_if_necessary(__method__)
|
111
|
+
if negative?
|
112
|
+
raise "`and_invoke` is not supported with negative message expectations"
|
113
|
+
end
|
114
|
+
|
115
|
+
if block_given?
|
116
|
+
raise ArgumentError, "Implementation blocks aren't supported with `and_invoke`"
|
117
|
+
end
|
118
|
+
|
119
|
+
procs.unshift(first_proc)
|
120
|
+
if procs.any? { |p| !p.respond_to?(:call) }
|
121
|
+
raise ArgumentError, "Arguments to `and_invoke` must be callable."
|
122
|
+
end
|
123
|
+
|
124
|
+
@expected_received_count = [@expected_received_count, procs.size].max unless ignoring_args? || (@expected_received_count == 0 && @at_least)
|
125
|
+
self.terminal_implementation_action = AndInvokeImplementation.new(procs)
|
126
|
+
|
127
|
+
nil
|
128
|
+
end
|
129
|
+
|
88
130
|
# Tells the object to delegate to the original unmodified method
|
89
131
|
# when it receives the message.
|
90
132
|
#
|
@@ -684,6 +726,24 @@ module RSpec
|
|
684
726
|
end
|
685
727
|
end
|
686
728
|
|
729
|
+
# Handles the implementation of an `and_invoke` implementation.
|
730
|
+
# @private
|
731
|
+
class AndInvokeImplementation
|
732
|
+
def initialize(procs_to_invoke)
|
733
|
+
@procs_to_invoke = procs_to_invoke
|
734
|
+
end
|
735
|
+
|
736
|
+
def call(*args, &block)
|
737
|
+
proc = if @procs_to_invoke.size > 1
|
738
|
+
@procs_to_invoke.shift
|
739
|
+
else
|
740
|
+
@procs_to_invoke.first
|
741
|
+
end
|
742
|
+
|
743
|
+
proc.call(*args, &block)
|
744
|
+
end
|
745
|
+
end
|
746
|
+
|
687
747
|
# Represents a configured implementation. Takes into account
|
688
748
|
# any number of sub-implementations.
|
689
749
|
# @private
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.3 → rspec-mocks-3.11.0}/lib/rspec/mocks.rb
RENAMED
File without changes
|