ory-client 0.0.1.alpha45 → 0.0.1.alpha49

Sign up to get free protection for your applications and to get access to all the features.
Files changed (297) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +11 -5
  4. data/docs/Pagination.md +20 -0
  5. data/docs/RevokedSessions.md +18 -0
  6. data/docs/UiNodeScriptAttributes.md +2 -0
  7. data/docs/V0alpha2Api.md +286 -2
  8. data/lib/ory-client/api/metadata_api.rb +1 -1
  9. data/lib/ory-client/api/v0alpha0_api.rb +1 -1
  10. data/lib/ory-client/api/v0alpha2_api.rb +298 -7
  11. data/lib/ory-client/api_client.rb +1 -1
  12. data/lib/ory-client/api_error.rb +1 -1
  13. data/lib/ory-client/configuration.rb +1 -1
  14. data/lib/ory-client/models/active_project.rb +1 -1
  15. data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
  16. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  17. data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
  18. data/lib/ory-client/models/api_token.rb +1 -1
  19. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  20. data/lib/ory-client/models/cname_settings.rb +1 -1
  21. data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
  22. data/lib/ory-client/models/create_subscription_payload.rb +1 -1
  23. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  24. data/lib/ory-client/models/generic_error.rb +1 -1
  25. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  26. data/lib/ory-client/models/health_status.rb +1 -1
  27. data/lib/ory-client/models/identity.rb +1 -1
  28. data/lib/ory-client/models/identity_credentials.rb +1 -1
  29. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  30. data/lib/ory-client/models/identity_preset.rb +1 -1
  31. data/lib/ory-client/models/identity_schema.rb +1 -1
  32. data/lib/ory-client/models/identity_schema_location.rb +1 -1
  33. data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
  34. data/lib/ory-client/models/identity_state.rb +1 -1
  35. data/lib/ory-client/models/inline_response200.rb +1 -1
  36. data/lib/ory-client/models/inline_response2001.rb +1 -1
  37. data/lib/ory-client/models/inline_response503.rb +1 -1
  38. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  39. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  40. data/lib/ory-client/models/json_error.rb +1 -1
  41. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  42. data/lib/ory-client/models/null_plan.rb +1 -1
  43. data/lib/ory-client/models/pagination.rb +272 -0
  44. data/lib/ory-client/models/project.rb +1 -1
  45. data/lib/ory-client/models/project_host.rb +1 -1
  46. data/lib/ory-client/models/project_lookup_secret_config.rb +1 -1
  47. data/lib/ory-client/models/project_oidc_config.rb +1 -1
  48. data/lib/ory-client/models/project_password_config.rb +1 -1
  49. data/lib/ory-client/models/project_patch.rb +1 -1
  50. data/lib/ory-client/models/project_recovery_config.rb +1 -1
  51. data/lib/ory-client/models/project_revision.rb +1 -1
  52. data/lib/ory-client/models/project_slug.rb +1 -1
  53. data/lib/ory-client/models/project_totp_config.rb +1 -1
  54. data/lib/ory-client/models/project_verification_config.rb +1 -1
  55. data/lib/ory-client/models/project_web_authn_config.rb +1 -1
  56. data/lib/ory-client/models/recovery_address.rb +1 -1
  57. data/lib/ory-client/models/redirection_config.rb +1 -1
  58. data/lib/ory-client/models/redirection_field.rb +1 -1
  59. data/lib/ory-client/models/revoked_sessions.rb +219 -0
  60. data/lib/ory-client/models/schema_patch.rb +1 -1
  61. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  62. data/lib/ory-client/models/self_service_error.rb +1 -1
  63. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  64. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  65. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  66. data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
  67. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  68. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  69. data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
  70. data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
  71. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  72. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  73. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  74. data/lib/ory-client/models/session.rb +1 -1
  75. data/lib/ory-client/models/session_authentication_method.rb +1 -1
  76. data/lib/ory-client/models/session_device.rb +1 -1
  77. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  78. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  79. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
  80. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  81. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  82. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
  83. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  84. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
  85. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  86. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  87. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  88. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
  89. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  90. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  91. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
  92. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  93. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  94. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  95. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  96. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  97. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  98. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  99. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  100. data/lib/ory-client/models/subscription.rb +1 -1
  101. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  102. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  103. data/lib/ory-client/models/ui_container.rb +1 -1
  104. data/lib/ory-client/models/ui_node.rb +1 -1
  105. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  106. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  107. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  108. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  109. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  110. data/lib/ory-client/models/ui_node_script_attributes.rb +17 -2
  111. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  112. data/lib/ory-client/models/ui_text.rb +1 -1
  113. data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
  114. data/lib/ory-client/models/update_subscription_payload.rb +1 -1
  115. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  116. data/lib/ory-client/models/version.rb +1 -1
  117. data/lib/ory-client/version.rb +2 -2
  118. data/lib/ory-client.rb +3 -1
  119. data/ory-client.gemspec +1 -1
  120. data/spec/api/metadata_api_spec.rb +1 -1
  121. data/spec/api/v0alpha0_api_spec.rb +1 -1
  122. data/spec/api/v0alpha2_api_spec.rb +56 -1
  123. data/spec/api_client_spec.rb +1 -1
  124. data/spec/configuration_spec.rb +1 -1
  125. data/spec/models/active_project_spec.rb +1 -1
  126. data/spec/models/admin_create_identity_body_spec.rb +1 -1
  127. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  128. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  129. data/spec/models/api_token_spec.rb +1 -1
  130. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  131. data/spec/models/cname_settings_spec.rb +1 -1
  132. data/spec/models/create_custom_hostname_body_spec.rb +1 -1
  133. data/spec/models/create_subscription_payload_spec.rb +1 -1
  134. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  135. data/spec/models/generic_error_spec.rb +1 -1
  136. data/spec/models/health_not_ready_status_spec.rb +1 -1
  137. data/spec/models/health_status_spec.rb +1 -1
  138. data/spec/models/identity_credentials_spec.rb +1 -1
  139. data/spec/models/identity_credentials_type_spec.rb +1 -1
  140. data/spec/models/identity_preset_spec.rb +1 -1
  141. data/spec/models/identity_schema_location_spec.rb +1 -1
  142. data/spec/models/identity_schema_spec.rb +1 -1
  143. data/spec/models/identity_schema_validation_result_spec.rb +1 -1
  144. data/spec/models/identity_spec.rb +1 -1
  145. data/spec/models/identity_state_spec.rb +1 -1
  146. data/spec/models/inline_response2001_spec.rb +1 -1
  147. data/spec/models/inline_response200_spec.rb +1 -1
  148. data/spec/models/inline_response503_spec.rb +1 -1
  149. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  150. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  151. data/spec/models/json_error_spec.rb +1 -1
  152. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  153. data/spec/models/null_plan_spec.rb +1 -1
  154. data/spec/models/pagination_spec.rb +40 -0
  155. data/spec/models/project_host_spec.rb +1 -1
  156. data/spec/models/project_lookup_secret_config_spec.rb +1 -1
  157. data/spec/models/project_oidc_config_spec.rb +1 -1
  158. data/spec/models/project_password_config_spec.rb +1 -1
  159. data/spec/models/project_patch_spec.rb +1 -1
  160. data/spec/models/project_recovery_config_spec.rb +1 -1
  161. data/spec/models/project_revision_spec.rb +1 -1
  162. data/spec/models/project_slug_spec.rb +1 -1
  163. data/spec/models/project_spec.rb +1 -1
  164. data/spec/models/project_totp_config_spec.rb +1 -1
  165. data/spec/models/project_verification_config_spec.rb +1 -1
  166. data/spec/models/project_web_authn_config_spec.rb +1 -1
  167. data/spec/models/recovery_address_spec.rb +1 -1
  168. data/spec/models/redirection_config_spec.rb +1 -1
  169. data/spec/models/redirection_field_spec.rb +1 -1
  170. data/spec/models/revoked_sessions_spec.rb +34 -0
  171. data/spec/models/schema_patch_spec.rb +1 -1
  172. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  173. data/spec/models/self_service_error_spec.rb +1 -1
  174. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  175. data/spec/models/self_service_login_flow_spec.rb +1 -1
  176. data/spec/models/self_service_logout_url_spec.rb +1 -1
  177. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  178. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  179. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  180. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  181. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  182. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  183. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  184. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  185. data/spec/models/session_authentication_method_spec.rb +1 -1
  186. data/spec/models/session_device_spec.rb +1 -1
  187. data/spec/models/session_spec.rb +1 -1
  188. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  189. data/spec/models/stripe_customer_response_spec.rb +1 -1
  190. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  191. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  192. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  193. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  194. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  195. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
  196. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  197. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  198. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  199. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  200. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  201. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  202. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  203. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  204. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  205. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  206. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  207. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  208. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  209. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  210. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  211. data/spec/models/subscription_spec.rb +1 -1
  212. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  213. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  214. data/spec/models/ui_container_spec.rb +1 -1
  215. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  216. data/spec/models/ui_node_attributes_spec.rb +1 -1
  217. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  218. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  219. data/spec/models/ui_node_meta_spec.rb +1 -1
  220. data/spec/models/ui_node_script_attributes_spec.rb +7 -1
  221. data/spec/models/ui_node_spec.rb +1 -1
  222. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  223. data/spec/models/ui_text_spec.rb +1 -1
  224. data/spec/models/update_custom_hostname_body_spec.rb +1 -1
  225. data/spec/models/update_subscription_payload_spec.rb +1 -1
  226. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  227. data/spec/models/version_spec.rb +1 -1
  228. data/spec/spec_helper.rb +1 -1
  229. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.10.2.gem +0 -0
  230. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  231. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  232. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  233. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  234. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
  235. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
  236. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  237. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  238. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  239. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  240. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/.document +0 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/.yardopts +0 -0
  242. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/Changelog.md +15 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/LICENSE.md +0 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/README.md +1 -1
  245. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/configuration.rb +0 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/expectation_target.rb +3 -5
  248. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/fail_with.rb +0 -0
  249. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/handler.rb +0 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/minitest_integration.rb +0 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/syntax.rb +0 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations/version.rb +1 -1
  254. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/expectations.rb +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/all.rb +0 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be.rb +0 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/change.rb +0 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/compound.rb +0 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/cover.rb +0 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/eq.rb +0 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/eql.rb +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/equal.rb +0 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/exist.rb +0 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/has.rb +0 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/include.rb +1 -1
  275. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/match.rb +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/operators.rb +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/output.rb +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/raise_error.rb +9 -3
  279. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in/yield.rb +0 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/built_in.rb +0 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/composable.rb +0 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/dsl.rb +0 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/english_phrasing.rb +0 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/fail_matchers.rb +0 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.10.2}/lib/rspec/matchers.rb +0 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
  295. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.10.1.gemspec → rspec-expectations-3.10.2.gemspec} +8 -8
  296. metadata +66 -58
  297. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.10.1.gem +0 -0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -55,6 +55,12 @@ describe OryClient::UiNodeScriptAttributes do
55
55
  end
56
56
  end
57
57
 
58
+ describe 'test attribute "nonce"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
58
64
  describe 'test attribute "referrerpolicy"' do
59
65
  it 'should work' do
60
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.45
6
+ The version of the OpenAPI document: v0.0.1-alpha.49
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
2
- /usr/bin/ruby2.5 -r ./siteconf20220114-3498-1flat4j.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20220117-3500-1bp0yek.rb extconf.rb
3
3
  creating Makefile
4
4
 
5
5
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
@@ -16,4 +16,4 @@ linking shared-object byebug/byebug.so
16
16
 
17
17
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
18
18
  make "DESTDIR=" install
19
- /usr/bin/install -c -m 0755 byebug.so ./.gem.20220114-3498-nzzi2t/byebug
19
+ /usr/bin/install -c -m 0755 byebug.so ./.gem.20220117-3500-vy4ani/byebug
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c
2
- /usr/bin/ruby2.5 -r ./siteconf20220114-3498-18qpjuj.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20220117-3500-f05eqq.rb extconf.rb
3
3
  /usr/lib/ruby/2.5.0/mkmf.rb:1554: warning: Insecure world writable dir /go/bin in PATH, mode 040777
4
4
  checking for ffi_prep_closure_loc() in -lffi... yes
5
5
  checking for ffi_prep_cif_var()... yes
@@ -41,4 +41,4 @@ linking shared-object ffi_c.so
41
41
 
42
42
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c
43
43
  make "DESTDIR=" install
44
- /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20220114-3498-1q7vtld
44
+ /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20220117-3500-sm44fb
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
2
- /usr/bin/ruby2.5 -r ./siteconf20220114-3498-13xbosk.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20220117-3500-mkf2pu.rb extconf.rb
3
3
  creating Makefile
4
4
 
5
5
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
@@ -35,4 +35,4 @@ linking shared-object jaro_winkler/jaro_winkler_ext.so
35
35
 
36
36
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
37
37
  make "DESTDIR=" install
38
- /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20220114-3498-1235qx8/jaro_winkler
38
+ /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20220117-3500-8w87mz/jaro_winkler
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych
2
- /usr/bin/ruby2.5 -r ./siteconf20220114-3498-zwvyyw.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20220117-3500-7lsewq.rb extconf.rb
3
3
  checking for yaml.h... no
4
4
  checking for _WIN32... no
5
5
  checking for dlfcn.h... yes
@@ -38,4 +38,4 @@ linking shared-object psych.so
38
38
 
39
39
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych
40
40
  make "DESTDIR=" install
41
- /usr/bin/install -c -m 0755 psych.so ./.gem.20220114-3498-zcikzo
41
+ /usr/bin/install -c -m 0755 psych.so ./.gem.20220117-3500-a9b54f
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio
2
- /usr/bin/ruby2.5 -r ./siteconf20220114-3498-1w7q12i.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20220117-3500-1won0nd.rb extconf.rb
3
3
  checking for rb_io_extract_modeenc() in ruby/io.h... no
4
4
  creating Makefile
5
5
 
@@ -13,4 +13,4 @@ linking shared-object stringio.so
13
13
 
14
14
  current directory: /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio
15
15
  make "DESTDIR=" install
16
- /usr/bin/install -c -m 0755 stringio.so ./.gem.20220114-3498-n2jt2a
16
+ /usr/bin/install -c -m 0755 stringio.so ./.gem.20220117-3500-ngsdap
@@ -39,7 +39,7 @@ checked program was:
39
39
  /* end */
40
40
 
41
41
  "gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/ruby2.5-ADJMZV/ruby2.5-2.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.5 -lpthread -lgmp -ldl -lcrypt -lm -lc"
42
- /usr/bin/ld: /tmp/ccHB0IR7.o: in function `t':
42
+ /usr/bin/ld: /tmp/ccPq3wzr.o: in function `t':
43
43
  /sdk/clients/client/ruby/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/conftest.c:16: undefined reference to `rb_io_extract_modeenc'
44
44
  collect2: error: ld returned 1 exit status
45
45
  checked program was:
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20220114-3498-nzzi2t
35
- sitelibdir = $(DESTDIR)./.gem.20220114-3498-nzzi2t
34
+ sitearchdir = $(DESTDIR)./.gem.20220117-3500-vy4ani
35
+ sitelibdir = $(DESTDIR)./.gem.20220117-3500-vy4ani
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20220114-3498-1q7vtld
35
- sitelibdir = $(DESTDIR)./.gem.20220114-3498-1q7vtld
34
+ sitearchdir = $(DESTDIR)./.gem.20220117-3500-sm44fb
35
+ sitelibdir = $(DESTDIR)./.gem.20220117-3500-sm44fb
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20220114-3498-1235qx8
35
- sitelibdir = $(DESTDIR)./.gem.20220114-3498-1235qx8
34
+ sitearchdir = $(DESTDIR)./.gem.20220117-3500-8w87mz
35
+ sitelibdir = $(DESTDIR)./.gem.20220117-3500-8w87mz
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20220114-3498-zcikzo
35
- sitelibdir = $(DESTDIR)./.gem.20220114-3498-zcikzo
34
+ sitearchdir = $(DESTDIR)./.gem.20220117-3500-a9b54f
35
+ sitelibdir = $(DESTDIR)./.gem.20220117-3500-a9b54f
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -1,3 +1,18 @@
1
+ ### Development
2
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.10.2...3-10-maintenance)
3
+
4
+ ### 3.10.2 / 2022-01-14
5
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.10.1...v3.10.2)
6
+
7
+ Bug Fixes:
8
+
9
+ * Fix support for dynamic matchers for expectation target checks (Phil Pirozhkov, #1294)
10
+ * Fix `expect(array).to include(hash).times`, previously this would fail due to
11
+ matching the entire array as a single hash, rather than a member of the hash.
12
+ (Slava Kardakov, #1322)
13
+ * Ensure `raise_error` matches works with the `error_highlight` option from Ruby 3.1.
14
+ (Peter Goldstein, #1339)
15
+
1
16
  ### 3.10.1 / 2020-12-27
2
17
  [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.10.0...v3.10.1)
3
18
 
@@ -1,4 +1,4 @@
1
- # RSpec Expectations [![Build Status](https://secure.travis-ci.org/rspec/rspec-expectations.svg?branch=main)](http://travis-ci.org/rspec/rspec-expectations) [![Code Climate](https://codeclimate.com/github/rspec/rspec-expectations.svg)](https://codeclimate.com/github/rspec/rspec-expectations)
1
+ # RSpec Expectations [![Build Status](https://github.com/rspec/rspec-expectations/workflows/RSpec%20CI/badge.svg?branch=3-10-maintenance)](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.
@@ -57,7 +57,7 @@ module RSpec
57
57
  # expect { perform }.to raise_error
58
58
  # @param [Matcher]
59
59
  # matcher
60
- # @param [String or Proc] message optional message to display when the expectation fails
60
+ # @param [String, Proc] message optional message to display when the expectation fails
61
61
  # @return [Boolean] true if the expectation succeeds (else raises)
62
62
  # @see RSpec::Matchers
63
63
  def to(matcher=nil, message=nil, &block)
@@ -70,7 +70,7 @@ module RSpec
70
70
  # expect(value).not_to eq(5)
71
71
  # @param [Matcher]
72
72
  # matcher
73
- # @param [String or Proc] message optional message to display when the expectation fails
73
+ # @param [String, Proc] message optional message to display when the expectation fails
74
74
  # @return [Boolean] false if the negative expectation succeeds (else raises)
75
75
  # @see RSpec::Matchers
76
76
  def not_to(matcher=nil, message=nil, &block)
@@ -118,9 +118,7 @@ module RSpec
118
118
  end
119
119
 
120
120
  def supports_block_expectations?(matcher)
121
- matcher.supports_block_expectations?
122
- rescue NoMethodError
123
- false
121
+ matcher.respond_to?(:supports_block_expectations?) && matcher.supports_block_expectations?
124
122
  end
125
123
  end
126
124
  end
@@ -2,7 +2,7 @@ module RSpec
2
2
  module Expectations
3
3
  # @private
4
4
  module Version
5
- STRING = '3.10.1'
5
+ STRING = '3.10.2'
6
6
  end
7
7
  end
8
8
  end
@@ -182,7 +182,7 @@ module RSpec
182
182
  when String
183
183
  actual.scan(expected.first).length
184
184
  when Enumerable
185
- count_enumerable(expected.first)
185
+ count_enumerable(Hash === expected ? expected : expected.first)
186
186
  else
187
187
  raise NotImplementedError, 'Count constraints are implemented for Enumerable and String values only'
188
188
  end
@@ -59,7 +59,7 @@ module RSpec
59
59
  given_proc.call
60
60
  rescue Exception => @actual_error
61
61
  if values_match?(@expected_error, @actual_error) ||
62
- values_match?(@expected_error, @actual_error.message)
62
+ values_match?(@expected_error, actual_error_message)
63
63
  @raised_expected_error = true
64
64
  @with_expected_message = verify_message
65
65
  end
@@ -93,7 +93,7 @@ module RSpec
93
93
  # @api private
94
94
  # @return [String]
95
95
  def failure_message
96
- @eval_block ? @actual_error.message : "expected #{expected_error}#{given_error}"
96
+ @eval_block ? actual_error_message : "expected #{expected_error}#{given_error}"
97
97
  end
98
98
 
99
99
  # @api private
@@ -110,6 +110,12 @@ module RSpec
110
110
 
111
111
  private
112
112
 
113
+ def actual_error_message
114
+ return nil unless @actual_error
115
+
116
+ @actual_error.respond_to?(:original_message) ? @actual_error.original_message : @actual_error.message
117
+ end
118
+
113
119
  def expectation_matched?
114
120
  error_and_message_match? && block_matches?
115
121
  end
@@ -138,7 +144,7 @@ module RSpec
138
144
 
139
145
  def verify_message
140
146
  return true if @expected_message.nil?
141
- values_match?(@expected_message, @actual_error.message.to_s)
147
+ values_match?(@expected_message, actual_error_message.to_s)
142
148
  end
143
149
 
144
150
  def warn_for_negative_false_positives!
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20220114-3498-n2jt2a
35
- sitelibdir = $(DESTDIR)./.gem.20220114-3498-n2jt2a
34
+ sitearchdir = $(DESTDIR)./.gem.20220117-3500-ngsdap
35
+ sitelibdir = $(DESTDIR)./.gem.20220117-3500-ngsdap
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -1,16 +1,16 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: rspec-expectations 3.10.1 ruby lib
2
+ # stub: rspec-expectations 3.10.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "rspec-expectations".freeze
6
- s.version = "3.10.1"
6
+ s.version = "3.10.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
- s.metadata = { "bug_tracker_uri" => "https://github.com/rspec/rspec-expectations/issues", "changelog_uri" => "https://github.com/rspec/rspec-expectations/blob/v3.10.1/Changelog.md", "documentation_uri" => "https://rspec.info/documentation/", "mailing_list_uri" => "https://groups.google.com/forum/#!forum/rspec", "source_code_uri" => "https://github.com/rspec/rspec-expectations" } if s.respond_to? :metadata=
9
+ s.metadata = { "bug_tracker_uri" => "https://github.com/rspec/rspec-expectations/issues", "changelog_uri" => "https://github.com/rspec/rspec-expectations/blob/v3.10.2/Changelog.md", "documentation_uri" => "https://rspec.info/documentation/", "mailing_list_uri" => "https://groups.google.com/forum/#!forum/rspec", "source_code_uri" => "https://github.com/rspec/rspec-expectations" } if s.respond_to? :metadata=
10
10
  s.require_paths = ["lib".freeze]
11
11
  s.authors = ["Steven Baker".freeze, "David Chelimsky".freeze, "Myron Marston".freeze]
12
12
  s.cert_chain = ["-----BEGIN CERTIFICATE-----\nMIIF1TCCA72gAwIBAgIJAPXjfUbCjdXUMA0GCSqGSIb3DQEBBQUAMIGAMQswCQYD\nVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEO\nMAwGA1UECgwFUlNwZWMxEzARBgNVBAMMCnJzcGVjLmluZm8xJTAjBgkqhkiG9w0B\nCQEWFnJzcGVjQGdvb2dsZWdyb3Vwcy5jb20wHhcNMTQxMjIzMDkzNTIyWhcNMjQx\nMjIyMDkzNTIyWjCBgDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24x\nEDAOBgNVBAcMB1NlYXR0bGUxDjAMBgNVBAoMBVJTcGVjMRMwEQYDVQQDDApyc3Bl\nYy5pbmZvMSUwIwYJKoZIhvcNAQkBFhZyc3BlY0Bnb29nbGVncm91cHMuY29tMIIC\nIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAsSmjgcHaKlD0jizRJowi2bGI\nKMOHnJoExxRNHHxH+3w9kkl95YldvDRVX495b13ZCzwRe0AyqX24wq04tp0G5Z5C\ne/w2pnNK4ol1eECPwQu+YGpepeODlZICL5gwQspe0cDifbBnHx5QySMiPpvx6bC0\ntQTox0ppDIaMhch8IPCwyoE4DQK5bpsdwnLSHTsQjUIb7IM8tUMpd/iKrJgNffwc\n6gC1TmhIlzQoB26nCNh9uK7xZjUM+sGECzvcYuImchUaIgJA/ybrlZS+m/hxzvBo\nmLnn/xNEC6Vz5HG+3TR0Gb0cSUf6XUu2s51Jk/SJi3MhCZp2gs9OUg4EVZNzQVkZ\nefLBjAZG2Mxk14JyB4/Omc+Jk0ajprINCBbUNnxzCJrYDM3J9TVWIwyUGNX/U3MO\ns3tMAT+EVgx/mZMPnBO8EULlyF51MRUp3Wy9Mnw8AYLk30UnMG5AjqgO5JNyFlA7\nXeh3EVdWY3vMB1pkhPwlsenpcmj5gOzrd54lELOVbCGHCf48iSqeflY2Lhe0pvzK\nblXCJBDmtrebvus291rM/dHcbEfK1SVd5Wut/n131iouf6dnNCFskFygDcgBbthC\ngpEMqf80lEmhX59VUsm0Pv6OEo+ZPHBvXPiJA6DShQh9t3YtpwyA8uVDMbT/i32u\n2FUsqZbbJcCmkBrGposCAwEAAaNQME4wHQYDVR0OBBYEFPPvQ5XT0Nvuhi6k+hrW\nVv35J+TeMB8GA1UdIwQYMBaAFPPvQ5XT0Nvuhi6k+hrWVv35J+TeMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQEFBQADggIBAIqbQSWH2aAF537DKwAMB8nMFsoe24MD\ngtuQAyjTtbH+QBE4N2RdQF/sU7Y3PYR7nqdrCsYc3RxyqM5XXi7I3IYdpfe1RuxY\n+pyPzVQsPPDhMlJlCrwJsADnxlpxZlAgxYSLKOan55ihscaAWA90wqRUrf/ZJM36\n8LWCPVn5teIt5aaxZWX68RMxa+AXvpbtJOBwXLkIFk3apD8CX4DhelIdw67DbkUe\nghUd/u62qrnqBTVgditt7OoWIZjzh24/Fda5d0MxZyvLILGOrf5bN4cTbe/q9Cid\nXrik7Upm+mu3y3yQIfrw85xybHq6iNXyYHvCdSrFfCIKrGpd/0CAdmYnJlx59Fk/\nUbD3Eyx4psBSkU+WKO0Uf+3zNI7N/nVeNIwU/Ft+l8l7/K+427656c+ZGWDO0Gt/\nBeEOSTDKP7qQ1T+JvMrBcBQo+i0cnRT10J1aoV90BhxsvWTRizIbugbaqR6Tq3bj\nAkt00cIlNSplL6DenIAKSh5kF7s0tRD0tC3bNkZmNjNGkdoGEcUODEpTB3RHKKiu\ne6k2Jg6m00z5vGFQhOnROG/QaUzMA3A3mFBe1RHFo07xd0pFeoeWL3vF69Gx9Jwp\nZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ\nF3MdtaDehhjC\n-----END CERTIFICATE-----\n".freeze]
13
- s.date = "2020-12-27"
13
+ s.date = "2022-01-14"
14
14
  s.description = "rspec-expectations provides a simple, readable API to express expected outcomes of a code example.".freeze
15
15
  s.email = "rspec@googlegroups.com".freeze
16
16
  s.homepage = "https://github.com/rspec/rspec-expectations".freeze
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.rdoc_options = ["--charset=UTF-8".freeze]
19
19
  s.required_ruby_version = Gem::Requirement.new(">= 1.8.7".freeze)
20
20
  s.rubygems_version = "2.7.6.2".freeze
21
- s.summary = "rspec-expectations-3.10.1".freeze
21
+ s.summary = "rspec-expectations-3.10.2".freeze
22
22
 
23
23
  s.installed_by_version = "2.7.6.2" if s.respond_to? :installed_by_version
24
24
 
@@ -29,14 +29,14 @@ Gem::Specification.new do |s|
29
29
  s.add_runtime_dependency(%q<rspec-support>.freeze, ["~> 3.10.0"])
30
30
  s.add_runtime_dependency(%q<diff-lcs>.freeze, ["< 2.0", ">= 1.2.0"])
31
31
  s.add_development_dependency(%q<aruba>.freeze, ["~> 0.14.10"])
32
- s.add_development_dependency(%q<cucumber>.freeze, ["~> 1.3"])
32
+ s.add_development_dependency(%q<cucumber>.freeze, [">= 1.3"])
33
33
  s.add_development_dependency(%q<minitest>.freeze, ["~> 5.2"])
34
34
  s.add_development_dependency(%q<rake>.freeze, ["> 10.0.0"])
35
35
  else
36
36
  s.add_dependency(%q<rspec-support>.freeze, ["~> 3.10.0"])
37
37
  s.add_dependency(%q<diff-lcs>.freeze, ["< 2.0", ">= 1.2.0"])
38
38
  s.add_dependency(%q<aruba>.freeze, ["~> 0.14.10"])
39
- s.add_dependency(%q<cucumber>.freeze, ["~> 1.3"])
39
+ s.add_dependency(%q<cucumber>.freeze, [">= 1.3"])
40
40
  s.add_dependency(%q<minitest>.freeze, ["~> 5.2"])
41
41
  s.add_dependency(%q<rake>.freeze, ["> 10.0.0"])
42
42
  end
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
44
44
  s.add_dependency(%q<rspec-support>.freeze, ["~> 3.10.0"])
45
45
  s.add_dependency(%q<diff-lcs>.freeze, ["< 2.0", ">= 1.2.0"])
46
46
  s.add_dependency(%q<aruba>.freeze, ["~> 0.14.10"])
47
- s.add_dependency(%q<cucumber>.freeze, ["~> 1.3"])
47
+ s.add_dependency(%q<cucumber>.freeze, [">= 1.3"])
48
48
  s.add_dependency(%q<minitest>.freeze, ["~> 5.2"])
49
49
  s.add_dependency(%q<rake>.freeze, ["> 10.0.0"])
50
50
  end