ory-client 1.1.33 → 1.1.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (615) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -3
  3. data/README.md +8 -5
  4. data/docs/CreateSubscriptionBody.md +2 -0
  5. data/docs/FrontendApi.md +3 -1
  6. data/docs/GetProjectMetricsResponse.md +18 -0
  7. data/docs/IdentityApi.md +2 -2
  8. data/docs/InternalProvisionMockSubscription.md +2 -0
  9. data/docs/MetricsDatapoint.md +20 -0
  10. data/docs/NormalizedProjectRevisionThirdPartyProvider.md +2 -0
  11. data/docs/ProjectApi.md +78 -0
  12. data/docs/QuotaUsage.md +1 -1
  13. data/docs/SessionAuthenticationMethod.md +3 -1
  14. data/docs/Subscription.md +2 -0
  15. data/docs/UpdateLoginFlowWithOidcMethod.md +1 -1
  16. data/docs/UpdateRegistrationFlowWithOidcMethod.md +1 -1
  17. data/docs/UpdateSettingsFlowWithOidcMethod.md +1 -1
  18. data/docs/UpdateVerificationFlowWithLinkMethod.md +1 -1
  19. data/lib/ory-client/api/courier_api.rb +1 -1
  20. data/lib/ory-client/api/frontend_api.rb +4 -1
  21. data/lib/ory-client/api/identity_api.rb +7 -3
  22. data/lib/ory-client/api/jwk_api.rb +1 -1
  23. data/lib/ory-client/api/metadata_api.rb +1 -1
  24. data/lib/ory-client/api/o_auth2_api.rb +1 -1
  25. data/lib/ory-client/api/oidc_api.rb +1 -1
  26. data/lib/ory-client/api/permission_api.rb +1 -1
  27. data/lib/ory-client/api/project_api.rb +95 -1
  28. data/lib/ory-client/api/relationship_api.rb +1 -1
  29. data/lib/ory-client/api/wellknown_api.rb +1 -1
  30. data/lib/ory-client/api_client.rb +1 -1
  31. data/lib/ory-client/api_error.rb +1 -1
  32. data/lib/ory-client/configuration.rb +1 -1
  33. data/lib/ory-client/models/accept_o_auth2_consent_request.rb +1 -1
  34. data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
  35. data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
  36. data/lib/ory-client/models/active_project_in_console.rb +1 -1
  37. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  38. data/lib/ory-client/models/batch_patch_identities_response.rb +1 -1
  39. data/lib/ory-client/models/check_opl_syntax_result.rb +1 -1
  40. data/lib/ory-client/models/check_permission_result.rb +1 -1
  41. data/lib/ory-client/models/cloud_account.rb +1 -1
  42. data/lib/ory-client/models/continue_with.rb +1 -1
  43. data/lib/ory-client/models/continue_with_set_ory_session_token.rb +1 -1
  44. data/lib/ory-client/models/continue_with_verification_ui.rb +1 -1
  45. data/lib/ory-client/models/continue_with_verification_ui_flow.rb +1 -1
  46. data/lib/ory-client/models/courier_message_status.rb +1 -1
  47. data/lib/ory-client/models/courier_message_type.rb +1 -1
  48. data/lib/ory-client/models/create_custom_domain_body.rb +1 -1
  49. data/lib/ory-client/models/create_identity_body.rb +1 -1
  50. data/lib/ory-client/models/create_json_web_key_set.rb +1 -1
  51. data/lib/ory-client/models/create_project_api_key_request.rb +1 -1
  52. data/lib/ory-client/models/create_project_body.rb +1 -1
  53. data/lib/ory-client/models/create_project_branding.rb +1 -1
  54. data/lib/ory-client/models/create_project_invite.rb +1 -1
  55. data/lib/ory-client/models/create_project_invites_response.rb +1 -1
  56. data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +1 -1
  57. data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +1 -1
  58. data/lib/ory-client/models/create_relationship_body.rb +1 -1
  59. data/lib/ory-client/models/create_subscription_body.rb +24 -2
  60. data/lib/ory-client/models/custom_domain.rb +1 -1
  61. data/lib/ory-client/models/delete_my_sessions_count.rb +1 -1
  62. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  63. data/lib/ory-client/models/error_browser_location_change_required.rb +1 -1
  64. data/lib/ory-client/models/error_flow_replaced.rb +1 -1
  65. data/lib/ory-client/models/error_generic.rb +1 -1
  66. data/lib/ory-client/models/error_o_auth2.rb +1 -1
  67. data/lib/ory-client/models/expanded_permission_tree.rb +1 -1
  68. data/lib/ory-client/models/flow_error.rb +1 -1
  69. data/lib/ory-client/models/generic_error.rb +1 -1
  70. data/lib/ory-client/models/generic_error_content.rb +1 -1
  71. data/lib/ory-client/models/generic_usage.rb +1 -1
  72. data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
  73. data/lib/ory-client/models/get_project_metrics_response.rb +228 -0
  74. data/lib/ory-client/models/get_version200_response.rb +1 -1
  75. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  76. data/lib/ory-client/models/health_status.rb +1 -1
  77. data/lib/ory-client/models/identity.rb +1 -1
  78. data/lib/ory-client/models/identity_credentials.rb +1 -1
  79. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  80. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  81. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  82. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  83. data/lib/ory-client/models/identity_patch.rb +1 -1
  84. data/lib/ory-client/models/identity_patch_response.rb +1 -1
  85. data/lib/ory-client/models/identity_schema_container.rb +1 -1
  86. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  87. data/lib/ory-client/models/identity_state.rb +1 -1
  88. data/lib/ory-client/models/identity_with_credentials.rb +1 -1
  89. data/lib/ory-client/models/identity_with_credentials_oidc.rb +1 -1
  90. data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +1 -1
  91. data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +1 -1
  92. data/lib/ory-client/models/identity_with_credentials_password.rb +1 -1
  93. data/lib/ory-client/models/identity_with_credentials_password_config.rb +1 -1
  94. data/lib/ory-client/models/internal_get_project_branding_body.rb +1 -1
  95. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +1 -1
  96. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_response.rb +1 -1
  97. data/lib/ory-client/models/internal_provision_mock_subscription.rb +29 -2
  98. data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
  99. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  100. data/lib/ory-client/models/is_ready200_response.rb +1 -1
  101. data/lib/ory-client/models/is_ready503_response.rb +1 -1
  102. data/lib/ory-client/models/json_patch.rb +1 -1
  103. data/lib/ory-client/models/json_web_key.rb +1 -1
  104. data/lib/ory-client/models/json_web_key_set.rb +1 -1
  105. data/lib/ory-client/models/keto_namespace.rb +1 -1
  106. data/lib/ory-client/models/login_flow.rb +1 -1
  107. data/lib/ory-client/models/logout_flow.rb +1 -1
  108. data/lib/ory-client/models/managed_identity_schema.rb +1 -1
  109. data/lib/ory-client/models/managed_identity_schema_validation_result.rb +1 -1
  110. data/lib/ory-client/models/message.rb +1 -1
  111. data/lib/ory-client/models/message_dispatch.rb +1 -1
  112. data/lib/ory-client/models/metrics_datapoint.rb +241 -0
  113. data/lib/ory-client/models/namespace.rb +1 -1
  114. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  115. data/lib/ory-client/models/normalized_project.rb +1 -1
  116. data/lib/ory-client/models/normalized_project_revision.rb +1 -1
  117. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
  118. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -1
  119. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +46 -2
  120. data/lib/ory-client/models/o_auth2_client.rb +1 -1
  121. data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +1 -1
  122. data/lib/ory-client/models/o_auth2_consent_request.rb +1 -1
  123. data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
  124. data/lib/ory-client/models/o_auth2_consent_session.rb +1 -1
  125. data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +1 -1
  126. data/lib/ory-client/models/o_auth2_login_request.rb +1 -1
  127. data/lib/ory-client/models/o_auth2_logout_request.rb +1 -1
  128. data/lib/ory-client/models/o_auth2_redirect_to.rb +1 -1
  129. data/lib/ory-client/models/o_auth2_token_exchange.rb +1 -1
  130. data/lib/ory-client/models/oidc_configuration.rb +1 -1
  131. data/lib/ory-client/models/oidc_user_info.rb +1 -1
  132. data/lib/ory-client/models/pagination.rb +1 -1
  133. data/lib/ory-client/models/pagination_headers.rb +1 -1
  134. data/lib/ory-client/models/parse_error.rb +1 -1
  135. data/lib/ory-client/models/patch_identities_body.rb +1 -1
  136. data/lib/ory-client/models/perform_native_logout_body.rb +1 -1
  137. data/lib/ory-client/models/plan.rb +1 -1
  138. data/lib/ory-client/models/plan_details.rb +1 -1
  139. data/lib/ory-client/models/post_check_permission_body.rb +1 -1
  140. data/lib/ory-client/models/post_check_permission_or_error_body.rb +1 -1
  141. data/lib/ory-client/models/project.rb +1 -1
  142. data/lib/ory-client/models/project_api_key.rb +1 -1
  143. data/lib/ory-client/models/project_branding.rb +1 -1
  144. data/lib/ory-client/models/project_branding_colors.rb +1 -1
  145. data/lib/ory-client/models/project_branding_theme.rb +1 -1
  146. data/lib/ory-client/models/project_host.rb +1 -1
  147. data/lib/ory-client/models/project_invite.rb +1 -1
  148. data/lib/ory-client/models/project_metadata.rb +1 -1
  149. data/lib/ory-client/models/project_service_identity.rb +1 -1
  150. data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
  151. data/lib/ory-client/models/project_service_permission.rb +1 -1
  152. data/lib/ory-client/models/project_services.rb +1 -1
  153. data/lib/ory-client/models/quota_usage.rb +4 -4
  154. data/lib/ory-client/models/recovery_code_for_identity.rb +1 -1
  155. data/lib/ory-client/models/recovery_flow.rb +1 -1
  156. data/lib/ory-client/models/recovery_flow_state.rb +1 -1
  157. data/lib/ory-client/models/recovery_identity_address.rb +1 -1
  158. data/lib/ory-client/models/recovery_link_for_identity.rb +1 -1
  159. data/lib/ory-client/models/registration_flow.rb +1 -1
  160. data/lib/ory-client/models/reject_o_auth2_request.rb +1 -1
  161. data/lib/ory-client/models/relation_query.rb +1 -1
  162. data/lib/ory-client/models/relationship.rb +1 -1
  163. data/lib/ory-client/models/relationship_namespaces.rb +1 -1
  164. data/lib/ory-client/models/relationship_patch.rb +1 -1
  165. data/lib/ory-client/models/relationships.rb +1 -1
  166. data/lib/ory-client/models/schema_patch.rb +1 -1
  167. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  168. data/lib/ory-client/models/session.rb +1 -1
  169. data/lib/ory-client/models/session_authentication_method.rb +15 -5
  170. data/lib/ory-client/models/session_device.rb +1 -1
  171. data/lib/ory-client/models/set_active_project_in_console_body.rb +1 -1
  172. data/lib/ory-client/models/set_custom_domain_body.rb +1 -1
  173. data/lib/ory-client/models/set_project.rb +1 -1
  174. data/lib/ory-client/models/set_project_branding_theme_body.rb +1 -1
  175. data/lib/ory-client/models/settings_flow.rb +1 -1
  176. data/lib/ory-client/models/settings_flow_state.rb +1 -1
  177. data/lib/ory-client/models/source_position.rb +1 -1
  178. data/lib/ory-client/models/stripe_customer.rb +1 -1
  179. data/lib/ory-client/models/subject_set.rb +1 -1
  180. data/lib/ory-client/models/subscription.rb +29 -2
  181. data/lib/ory-client/models/successful_code_exchange_response.rb +1 -1
  182. data/lib/ory-client/models/successful_native_login.rb +1 -1
  183. data/lib/ory-client/models/successful_native_registration.rb +1 -1
  184. data/lib/ory-client/models/successful_project_update.rb +1 -1
  185. data/lib/ory-client/models/token_pagination.rb +1 -1
  186. data/lib/ory-client/models/token_pagination_headers.rb +1 -1
  187. data/lib/ory-client/models/token_pagination_request_parameters.rb +1 -1
  188. data/lib/ory-client/models/token_pagination_response_headers.rb +1 -1
  189. data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
  190. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
  191. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
  192. data/lib/ory-client/models/ui_container.rb +1 -1
  193. data/lib/ory-client/models/ui_node.rb +1 -1
  194. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  195. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  196. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  197. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  198. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  199. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  200. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  201. data/lib/ory-client/models/ui_text.rb +1 -1
  202. data/lib/ory-client/models/update_identity_body.rb +1 -1
  203. data/lib/ory-client/models/update_login_flow_body.rb +1 -1
  204. data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +1 -1
  205. data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +2 -2
  206. data/lib/ory-client/models/update_login_flow_with_password_method.rb +1 -1
  207. data/lib/ory-client/models/update_login_flow_with_totp_method.rb +1 -1
  208. data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +1 -1
  209. data/lib/ory-client/models/update_recovery_flow_body.rb +1 -1
  210. data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +1 -1
  211. data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +1 -1
  212. data/lib/ory-client/models/update_registration_flow_body.rb +1 -1
  213. data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +2 -2
  214. data/lib/ory-client/models/update_registration_flow_with_password_method.rb +1 -1
  215. data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +1 -1
  216. data/lib/ory-client/models/update_settings_flow_body.rb +1 -1
  217. data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +1 -1
  218. data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +2 -2
  219. data/lib/ory-client/models/update_settings_flow_with_password_method.rb +1 -1
  220. data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +1 -1
  221. data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +1 -1
  222. data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +1 -1
  223. data/lib/ory-client/models/update_subscription_body.rb +1 -1
  224. data/lib/ory-client/models/update_verification_flow_body.rb +1 -1
  225. data/lib/ory-client/models/update_verification_flow_with_code_method.rb +1 -1
  226. data/lib/ory-client/models/update_verification_flow_with_link_method.rb +36 -2
  227. data/lib/ory-client/models/usage.rb +1 -1
  228. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  229. data/lib/ory-client/models/verification_flow.rb +1 -1
  230. data/lib/ory-client/models/verification_flow_state.rb +1 -1
  231. data/lib/ory-client/models/version.rb +1 -1
  232. data/lib/ory-client/models/warning.rb +1 -1
  233. data/lib/ory-client/version.rb +2 -2
  234. data/lib/ory-client.rb +3 -1
  235. data/ory-client.gemspec +1 -1
  236. data/spec/api/courier_api_spec.rb +1 -1
  237. data/spec/api/frontend_api_spec.rb +2 -1
  238. data/spec/api/identity_api_spec.rb +2 -2
  239. data/spec/api/jwk_api_spec.rb +1 -1
  240. data/spec/api/metadata_api_spec.rb +1 -1
  241. data/spec/api/o_auth2_api_spec.rb +1 -1
  242. data/spec/api/oidc_api_spec.rb +1 -1
  243. data/spec/api/permission_api_spec.rb +1 -1
  244. data/spec/api/project_api_spec.rb +16 -1
  245. data/spec/api/relationship_api_spec.rb +1 -1
  246. data/spec/api/wellknown_api_spec.rb +1 -1
  247. data/spec/api_client_spec.rb +1 -1
  248. data/spec/configuration_spec.rb +1 -1
  249. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
  250. data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
  251. data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
  252. data/spec/models/active_project_in_console_spec.rb +1 -1
  253. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  254. data/spec/models/batch_patch_identities_response_spec.rb +1 -1
  255. data/spec/models/check_opl_syntax_result_spec.rb +1 -1
  256. data/spec/models/check_permission_result_spec.rb +1 -1
  257. data/spec/models/cloud_account_spec.rb +1 -1
  258. data/spec/models/continue_with_set_ory_session_token_spec.rb +1 -1
  259. data/spec/models/continue_with_spec.rb +1 -1
  260. data/spec/models/continue_with_verification_ui_flow_spec.rb +1 -1
  261. data/spec/models/continue_with_verification_ui_spec.rb +1 -1
  262. data/spec/models/courier_message_status_spec.rb +1 -1
  263. data/spec/models/courier_message_type_spec.rb +1 -1
  264. data/spec/models/create_custom_domain_body_spec.rb +1 -1
  265. data/spec/models/create_identity_body_spec.rb +1 -1
  266. data/spec/models/create_json_web_key_set_spec.rb +1 -1
  267. data/spec/models/create_project_api_key_request_spec.rb +1 -1
  268. data/spec/models/create_project_body_spec.rb +1 -1
  269. data/spec/models/create_project_branding_spec.rb +1 -1
  270. data/spec/models/create_project_invite_spec.rb +1 -1
  271. data/spec/models/create_project_invites_response_spec.rb +1 -1
  272. data/spec/models/create_recovery_code_for_identity_body_spec.rb +1 -1
  273. data/spec/models/create_recovery_link_for_identity_body_spec.rb +1 -1
  274. data/spec/models/create_relationship_body_spec.rb +1 -1
  275. data/spec/models/create_subscription_body_spec.rb +11 -1
  276. data/spec/models/custom_domain_spec.rb +1 -1
  277. data/spec/models/delete_my_sessions_count_spec.rb +1 -1
  278. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  279. data/spec/models/error_browser_location_change_required_spec.rb +1 -1
  280. data/spec/models/error_flow_replaced_spec.rb +1 -1
  281. data/spec/models/error_generic_spec.rb +1 -1
  282. data/spec/models/error_o_auth2_spec.rb +1 -1
  283. data/spec/models/expanded_permission_tree_spec.rb +1 -1
  284. data/spec/models/flow_error_spec.rb +1 -1
  285. data/spec/models/generic_error_content_spec.rb +1 -1
  286. data/spec/models/generic_error_spec.rb +1 -1
  287. data/spec/models/generic_usage_spec.rb +1 -1
  288. data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
  289. data/spec/models/get_project_metrics_response_spec.rb +34 -0
  290. data/spec/models/get_version200_response_spec.rb +1 -1
  291. data/spec/models/health_not_ready_status_spec.rb +1 -1
  292. data/spec/models/health_status_spec.rb +1 -1
  293. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  294. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  295. data/spec/models/identity_credentials_password_spec.rb +1 -1
  296. data/spec/models/identity_credentials_spec.rb +1 -1
  297. data/spec/models/identity_credentials_type_spec.rb +1 -1
  298. data/spec/models/identity_patch_response_spec.rb +1 -1
  299. data/spec/models/identity_patch_spec.rb +1 -1
  300. data/spec/models/identity_schema_container_spec.rb +1 -1
  301. data/spec/models/identity_schema_preset_spec.rb +1 -1
  302. data/spec/models/identity_spec.rb +1 -1
  303. data/spec/models/identity_state_spec.rb +1 -1
  304. data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +1 -1
  305. data/spec/models/identity_with_credentials_oidc_config_spec.rb +1 -1
  306. data/spec/models/identity_with_credentials_oidc_spec.rb +1 -1
  307. data/spec/models/identity_with_credentials_password_config_spec.rb +1 -1
  308. data/spec/models/identity_with_credentials_password_spec.rb +1 -1
  309. data/spec/models/identity_with_credentials_spec.rb +1 -1
  310. data/spec/models/internal_get_project_branding_body_spec.rb +1 -1
  311. data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +1 -1
  312. data/spec/models/internal_is_owner_for_project_by_slug_response_spec.rb +1 -1
  313. data/spec/models/internal_provision_mock_subscription_spec.rb +11 -1
  314. data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
  315. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  316. data/spec/models/is_ready200_response_spec.rb +1 -1
  317. data/spec/models/is_ready503_response_spec.rb +1 -1
  318. data/spec/models/json_patch_spec.rb +1 -1
  319. data/spec/models/json_web_key_set_spec.rb +1 -1
  320. data/spec/models/json_web_key_spec.rb +1 -1
  321. data/spec/models/keto_namespace_spec.rb +1 -1
  322. data/spec/models/login_flow_spec.rb +1 -1
  323. data/spec/models/logout_flow_spec.rb +1 -1
  324. data/spec/models/managed_identity_schema_spec.rb +1 -1
  325. data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
  326. data/spec/models/message_dispatch_spec.rb +1 -1
  327. data/spec/models/message_spec.rb +1 -1
  328. data/spec/models/metrics_datapoint_spec.rb +40 -0
  329. data/spec/models/namespace_spec.rb +1 -1
  330. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  331. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  332. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  333. data/spec/models/normalized_project_revision_spec.rb +1 -1
  334. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +11 -1
  335. data/spec/models/normalized_project_spec.rb +1 -1
  336. data/spec/models/o_auth2_client_spec.rb +1 -1
  337. data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
  338. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
  339. data/spec/models/o_auth2_consent_request_spec.rb +1 -1
  340. data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
  341. data/spec/models/o_auth2_consent_session_spec.rb +1 -1
  342. data/spec/models/o_auth2_login_request_spec.rb +1 -1
  343. data/spec/models/o_auth2_logout_request_spec.rb +1 -1
  344. data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
  345. data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
  346. data/spec/models/oidc_configuration_spec.rb +1 -1
  347. data/spec/models/oidc_user_info_spec.rb +1 -1
  348. data/spec/models/pagination_headers_spec.rb +1 -1
  349. data/spec/models/pagination_spec.rb +1 -1
  350. data/spec/models/parse_error_spec.rb +1 -1
  351. data/spec/models/patch_identities_body_spec.rb +1 -1
  352. data/spec/models/perform_native_logout_body_spec.rb +1 -1
  353. data/spec/models/plan_details_spec.rb +1 -1
  354. data/spec/models/plan_spec.rb +1 -1
  355. data/spec/models/post_check_permission_body_spec.rb +1 -1
  356. data/spec/models/post_check_permission_or_error_body_spec.rb +1 -1
  357. data/spec/models/project_api_key_spec.rb +1 -1
  358. data/spec/models/project_branding_colors_spec.rb +1 -1
  359. data/spec/models/project_branding_spec.rb +1 -1
  360. data/spec/models/project_branding_theme_spec.rb +1 -1
  361. data/spec/models/project_host_spec.rb +1 -1
  362. data/spec/models/project_invite_spec.rb +1 -1
  363. data/spec/models/project_metadata_spec.rb +1 -1
  364. data/spec/models/project_service_identity_spec.rb +1 -1
  365. data/spec/models/project_service_o_auth2_spec.rb +1 -1
  366. data/spec/models/project_service_permission_spec.rb +1 -1
  367. data/spec/models/project_services_spec.rb +1 -1
  368. data/spec/models/project_spec.rb +1 -1
  369. data/spec/models/quota_usage_spec.rb +2 -2
  370. data/spec/models/recovery_code_for_identity_spec.rb +1 -1
  371. data/spec/models/recovery_flow_spec.rb +1 -1
  372. data/spec/models/recovery_flow_state_spec.rb +1 -1
  373. data/spec/models/recovery_identity_address_spec.rb +1 -1
  374. data/spec/models/recovery_link_for_identity_spec.rb +1 -1
  375. data/spec/models/registration_flow_spec.rb +1 -1
  376. data/spec/models/reject_o_auth2_request_spec.rb +1 -1
  377. data/spec/models/relation_query_spec.rb +1 -1
  378. data/spec/models/relationship_namespaces_spec.rb +1 -1
  379. data/spec/models/relationship_patch_spec.rb +1 -1
  380. data/spec/models/relationship_spec.rb +1 -1
  381. data/spec/models/relationships_spec.rb +1 -1
  382. data/spec/models/schema_patch_spec.rb +1 -1
  383. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  384. data/spec/models/session_authentication_method_spec.rb +7 -1
  385. data/spec/models/session_device_spec.rb +1 -1
  386. data/spec/models/session_spec.rb +1 -1
  387. data/spec/models/set_active_project_in_console_body_spec.rb +1 -1
  388. data/spec/models/set_custom_domain_body_spec.rb +1 -1
  389. data/spec/models/set_project_branding_theme_body_spec.rb +1 -1
  390. data/spec/models/set_project_spec.rb +1 -1
  391. data/spec/models/settings_flow_spec.rb +1 -1
  392. data/spec/models/settings_flow_state_spec.rb +1 -1
  393. data/spec/models/source_position_spec.rb +1 -1
  394. data/spec/models/stripe_customer_spec.rb +1 -1
  395. data/spec/models/subject_set_spec.rb +1 -1
  396. data/spec/models/subscription_spec.rb +11 -1
  397. data/spec/models/successful_code_exchange_response_spec.rb +1 -1
  398. data/spec/models/successful_native_login_spec.rb +1 -1
  399. data/spec/models/successful_native_registration_spec.rb +1 -1
  400. data/spec/models/successful_project_update_spec.rb +1 -1
  401. data/spec/models/token_pagination_headers_spec.rb +1 -1
  402. data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
  403. data/spec/models/token_pagination_response_headers_spec.rb +1 -1
  404. data/spec/models/token_pagination_spec.rb +1 -1
  405. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  406. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  407. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
  408. data/spec/models/ui_container_spec.rb +1 -1
  409. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  410. data/spec/models/ui_node_attributes_spec.rb +1 -1
  411. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  412. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  413. data/spec/models/ui_node_meta_spec.rb +1 -1
  414. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  415. data/spec/models/ui_node_spec.rb +1 -1
  416. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  417. data/spec/models/ui_text_spec.rb +1 -1
  418. data/spec/models/update_identity_body_spec.rb +1 -1
  419. data/spec/models/update_login_flow_body_spec.rb +1 -1
  420. data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +1 -1
  421. data/spec/models/update_login_flow_with_oidc_method_spec.rb +1 -1
  422. data/spec/models/update_login_flow_with_password_method_spec.rb +1 -1
  423. data/spec/models/update_login_flow_with_totp_method_spec.rb +1 -1
  424. data/spec/models/update_login_flow_with_web_authn_method_spec.rb +1 -1
  425. data/spec/models/update_recovery_flow_body_spec.rb +1 -1
  426. data/spec/models/update_recovery_flow_with_code_method_spec.rb +1 -1
  427. data/spec/models/update_recovery_flow_with_link_method_spec.rb +1 -1
  428. data/spec/models/update_registration_flow_body_spec.rb +1 -1
  429. data/spec/models/update_registration_flow_with_oidc_method_spec.rb +1 -1
  430. data/spec/models/update_registration_flow_with_password_method_spec.rb +1 -1
  431. data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +1 -1
  432. data/spec/models/update_settings_flow_body_spec.rb +1 -1
  433. data/spec/models/update_settings_flow_with_lookup_method_spec.rb +1 -1
  434. data/spec/models/update_settings_flow_with_oidc_method_spec.rb +1 -1
  435. data/spec/models/update_settings_flow_with_password_method_spec.rb +1 -1
  436. data/spec/models/update_settings_flow_with_profile_method_spec.rb +1 -1
  437. data/spec/models/update_settings_flow_with_totp_method_spec.rb +1 -1
  438. data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +1 -1
  439. data/spec/models/update_subscription_body_spec.rb +1 -1
  440. data/spec/models/update_verification_flow_body_spec.rb +1 -1
  441. data/spec/models/update_verification_flow_with_code_method_spec.rb +1 -1
  442. data/spec/models/update_verification_flow_with_link_method_spec.rb +5 -1
  443. data/spec/models/usage_spec.rb +1 -1
  444. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  445. data/spec/models/verification_flow_spec.rb +1 -1
  446. data/spec/models/verification_flow_state_spec.rb +1 -1
  447. data/spec/models/version_spec.rb +1 -1
  448. data/spec/models/warning_spec.rb +1 -1
  449. data/spec/spec_helper.rb +1 -1
  450. data/vendor/bundle/ruby/2.5.0/bin/racc +27 -0
  451. data/vendor/bundle/ruby/2.5.0/cache/jaro_winkler-1.5.6.gem +0 -0
  452. data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.3.gem +0 -0
  453. data/vendor/bundle/ruby/2.5.0/cache/racc-1.7.0.gem +0 -0
  454. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  455. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  456. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/gem_make.out +6 -6
  457. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/jaro_winkler/jaro_winkler_ext.so +0 -0
  458. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +2 -2
  459. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.0/gem_make.out +17 -0
  460. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.0/mkmf.log +56 -0
  461. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.0/racc/cparse.so +0 -0
  462. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.6/gem_make.out +2 -2
  463. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.6/mkmf.log +1 -1
  464. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  465. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  466. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/.sitearchdir.-.jaro_winkler.time +0 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/Makefile +2 -2
  468. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.o +0 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.o +0 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.o +0 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro_winkler.c +5 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro_winkler.o +0 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro_winkler_ext.so +0 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/lib/jaro_winkler/version.rb +1 -1
  476. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/macruby.rb +3 -1
  477. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby18.rb +3 -1
  478. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby19.rb +3 -1
  479. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby20.rb +3 -1
  480. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby21.rb +3 -1
  481. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby22.rb +3 -1
  482. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby23.rb +3 -1
  483. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby24.rb +3 -1
  484. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby25.rb +3 -1
  485. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby26.rb +3 -1
  486. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby27.rb +3 -1
  487. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby30.rb +3 -1
  488. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby31.rb +3 -1
  489. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby32.rb +3 -1
  490. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby33.rb +3 -1
  491. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/rubymotion.rb +3 -1
  492. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/version.rb +1 -1
  493. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/parser.gemspec +1 -1
  494. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
  495. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/COPYING +22 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/ChangeLog +846 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/README.ja.rdoc +94 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/README.rdoc +79 -0
  499. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/TODO +5 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/bin/racc +320 -0
  501. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/en/NEWS.en.rdoc +282 -0
  502. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/en/grammar.en.rdoc +226 -0
  503. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/en/grammar2.en.rdoc +219 -0
  504. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/ja/NEWS.ja.rdoc +307 -0
  505. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/ja/command.ja.html +94 -0
  506. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/ja/debug.ja.rdoc +36 -0
  507. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/ja/grammar.ja.rdoc +348 -0
  508. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/ja/index.ja.html +10 -0
  509. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/ja/parser.ja.rdoc +125 -0
  510. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/doc/ja/usage.ja.html +414 -0
  511. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/ext/racc/MANIFEST +4 -0
  512. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/ext/racc/cparse/.sitearchdir.-.racc.time +0 -0
  513. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/ext/racc/cparse/Makefile +264 -0
  514. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/ext/racc/cparse/cparse.c +861 -0
  515. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/ext/racc/cparse/cparse.o +0 -0
  516. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/ext/racc/cparse/cparse.so +0 -0
  517. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/ext/racc/cparse/extconf.rb +9 -0
  518. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/compat.rb +33 -0
  519. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/cparse.so +0 -0
  520. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/debugflags.rb +60 -0
  521. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/exception.rb +16 -0
  522. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/grammar.rb +1114 -0
  523. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/grammarfileparser.rb +561 -0
  524. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/info.rb +17 -0
  525. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/iset.rb +92 -0
  526. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/logfilegenerator.rb +212 -0
  527. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/parser-text.rb +658 -0
  528. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/parser.rb +632 -0
  529. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/parserfilegenerator.rb +470 -0
  530. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/sourcetext.rb +35 -0
  531. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/state.rb +972 -0
  532. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/statetransitiontable.rb +311 -0
  533. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc/static.rb +5 -0
  534. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.0/lib/racc.rb +6 -0
  535. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/Makefile +2 -2
  536. data/vendor/bundle/ruby/2.5.0/specifications/{jaro_winkler-1.5.5.gemspec → jaro_winkler-1.5.6.gemspec} +4 -4
  537. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.2.2.1.gemspec → parser-3.2.2.3.gemspec} +7 -7
  538. data/vendor/bundle/ruby/2.5.0/specifications/racc-1.7.0.gemspec +27 -0
  539. metadata +166 -111
  540. data/vendor/bundle/ruby/2.5.0/cache/jaro_winkler-1.5.5.gem +0 -0
  541. data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.1.gem +0 -0
  542. /data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/gem.build_complete +0 -0
  543. /data/vendor/bundle/ruby/2.5.0/{gems/jaro_winkler-1.5.5/ext/jaro_winkler/.sitearchdir.-.jaro_winkler.time → extensions/x86_64-linux/2.5.0/racc-1.7.0/gem.build_complete} +0 -0
  544. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/LICENSE.txt +0 -0
  545. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.c +0 -0
  546. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.h +0 -0
  547. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.c +0 -0
  548. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.h +0 -0
  549. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/extconf.rb +0 -0
  550. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.c +0 -0
  551. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.h +0 -0
  552. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/lib/jaro_winkler/adjusting_table.rb +0 -0
  553. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/lib/jaro_winkler/jaro_winkler_pure.rb +0 -0
  554. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.5 → jaro_winkler-1.5.6}/lib/jaro_winkler.rb +0 -0
  555. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/LICENSE.txt +0 -0
  556. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/bin/ruby-parse +0 -0
  557. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/bin/ruby-rewrite +0 -0
  558. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/gauntlet_parser.rb +0 -0
  559. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/all.rb +0 -0
  560. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ast/node.rb +0 -0
  561. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ast/processor.rb +0 -0
  562. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/base.rb +0 -0
  563. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/builders/default.rb +0 -0
  564. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/clobbering_error.rb +0 -0
  565. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/color.rb +0 -0
  566. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/context.rb +0 -0
  567. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/current.rb +0 -0
  568. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/current_arg_stack.rb +0 -0
  569. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/deprecation.rb +0 -0
  570. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/diagnostic/engine.rb +0 -0
  571. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/diagnostic.rb +0 -0
  572. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/lexer/dedenter.rb +0 -0
  573. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/lexer/explanation.rb +0 -0
  574. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/lexer/literal.rb +0 -0
  575. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/lexer/stack_state.rb +0 -0
  576. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/lexer-F0.rb +0 -0
  577. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/lexer-F1.rb +0 -0
  578. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/lexer-strings.rb +0 -0
  579. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/max_numparam_stack.rb +0 -0
  580. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/messages.rb +0 -0
  581. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/meta.rb +0 -0
  582. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/rewriter.rb +0 -0
  583. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/ruby28.rb +0 -0
  584. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/runner/ruby_parse.rb +0 -0
  585. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/runner/ruby_rewrite.rb +0 -0
  586. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/runner.rb +0 -0
  587. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/buffer.rb +0 -0
  588. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/comment/associator.rb +0 -0
  589. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/comment.rb +0 -0
  590. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/collection.rb +0 -0
  591. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/condition.rb +0 -0
  592. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/constant.rb +0 -0
  593. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/definition.rb +0 -0
  594. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/for.rb +0 -0
  595. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/heredoc.rb +0 -0
  596. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/index.rb +0 -0
  597. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/keyword.rb +0 -0
  598. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/method_definition.rb +0 -0
  599. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/objc_kwarg.rb +0 -0
  600. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/operator.rb +0 -0
  601. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/rescue_body.rb +0 -0
  602. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/send.rb +0 -0
  603. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/ternary.rb +0 -0
  604. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map/variable.rb +0 -0
  605. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/map.rb +0 -0
  606. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/range.rb +0 -0
  607. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/rewriter/action.rb +0 -0
  608. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/rewriter.rb +0 -0
  609. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/tree_rewriter/action.rb +0 -0
  610. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/source/tree_rewriter.rb +0 -0
  611. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/static_environment.rb +0 -0
  612. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/syntax_error.rb +0 -0
  613. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/tree_rewriter.rb +0 -0
  614. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser/variables_stack.rb +0 -0
  615. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.1 → parser-3.2.2.3}/lib/parser.rb +0 -0
@@ -0,0 +1,658 @@
1
+ module Racc
2
+ PARSER_TEXT = <<'__end_of_file__'
3
+ # frozen_string_literal: false
4
+ #--
5
+ # Copyright (c) 1999-2006 Minero Aoki
6
+ #
7
+ # This program is free software.
8
+ # You can distribute/modify this program under the same terms of ruby.
9
+ #
10
+ # As a special exception, when this code is copied by Racc
11
+ # into a Racc output file, you may use that output file
12
+ # without restriction.
13
+ #++
14
+
15
+ unless $".find {|p| p.end_with?('/racc/info.rb')}
16
+ $".push 'racc/info.rb'
17
+ #--
18
+ #
19
+ #
20
+ #
21
+ # Copyright (c) 1999-2006 Minero Aoki
22
+ #
23
+ # This program is free software.
24
+ # You can distribute/modify this program under the same terms of ruby.
25
+ # see the file "COPYING".
26
+ #
27
+ #++
28
+
29
+ module Racc
30
+ VERSION = '1.6.2'
31
+ Version = VERSION
32
+ Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
33
+ end
34
+
35
+ end
36
+
37
+
38
+ unless defined?(NotImplementedError)
39
+ NotImplementedError = NotImplementError # :nodoc:
40
+ end
41
+
42
+ module Racc
43
+ class ParseError < StandardError; end
44
+ end
45
+ unless defined?(::ParseError)
46
+ ParseError = Racc::ParseError # :nodoc:
47
+ end
48
+
49
+ # Racc is a LALR(1) parser generator.
50
+ # It is written in Ruby itself, and generates Ruby programs.
51
+ #
52
+ # == Command-line Reference
53
+ #
54
+ # racc [-o<var>filename</var>] [--output-file=<var>filename</var>]
55
+ # [-e<var>rubypath</var>] [--executable=<var>rubypath</var>]
56
+ # [-v] [--verbose]
57
+ # [-O<var>filename</var>] [--log-file=<var>filename</var>]
58
+ # [-g] [--debug]
59
+ # [-E] [--embedded]
60
+ # [-l] [--no-line-convert]
61
+ # [-c] [--line-convert-all]
62
+ # [-a] [--no-omit-actions]
63
+ # [-C] [--check-only]
64
+ # [-S] [--output-status]
65
+ # [--version] [--copyright] [--help] <var>grammarfile</var>
66
+ #
67
+ # [+grammarfile+]
68
+ # Racc grammar file. Any extension is permitted.
69
+ # [-o+outfile+, --output-file=+outfile+]
70
+ # A filename for output. default is <+filename+>.tab.rb
71
+ # [-O+filename+, --log-file=+filename+]
72
+ # Place logging output in file +filename+.
73
+ # Default log file name is <+filename+>.output.
74
+ # [-e+rubypath+, --executable=+rubypath+]
75
+ # output executable file(mode 755). where +path+ is the Ruby interpreter.
76
+ # [-v, --verbose]
77
+ # verbose mode. create +filename+.output file, like yacc's y.output file.
78
+ # [-g, --debug]
79
+ # add debug code to parser class. To display debuggin information,
80
+ # use this '-g' option and set @yydebug true in parser class.
81
+ # [-E, --embedded]
82
+ # Output parser which doesn't need runtime files (racc/parser.rb).
83
+ # [-C, --check-only]
84
+ # Check syntax of racc grammar file and quit.
85
+ # [-S, --output-status]
86
+ # Print messages time to time while compiling.
87
+ # [-l, --no-line-convert]
88
+ # turns off line number converting.
89
+ # [-c, --line-convert-all]
90
+ # Convert line number of actions, inner, header and footer.
91
+ # [-a, --no-omit-actions]
92
+ # Call all actions, even if an action is empty.
93
+ # [--version]
94
+ # print Racc version and quit.
95
+ # [--copyright]
96
+ # Print copyright and quit.
97
+ # [--help]
98
+ # Print usage and quit.
99
+ #
100
+ # == Generating Parser Using Racc
101
+ #
102
+ # To compile Racc grammar file, simply type:
103
+ #
104
+ # $ racc parse.y
105
+ #
106
+ # This creates Ruby script file "parse.tab.y". The -o option can change the output filename.
107
+ #
108
+ # == Writing A Racc Grammar File
109
+ #
110
+ # If you want your own parser, you have to write a grammar file.
111
+ # A grammar file contains the name of your parser class, grammar for the parser,
112
+ # user code, and anything else.
113
+ # When writing a grammar file, yacc's knowledge is helpful.
114
+ # If you have not used yacc before, Racc is not too difficult.
115
+ #
116
+ # Here's an example Racc grammar file.
117
+ #
118
+ # class Calcparser
119
+ # rule
120
+ # target: exp { print val[0] }
121
+ #
122
+ # exp: exp '+' exp
123
+ # | exp '*' exp
124
+ # | '(' exp ')'
125
+ # | NUMBER
126
+ # end
127
+ #
128
+ # Racc grammar files resemble yacc files.
129
+ # But (of course), this is Ruby code.
130
+ # yacc's $$ is the 'result', $0, $1... is
131
+ # an array called 'val', and $-1, $-2... is an array called '_values'.
132
+ #
133
+ # See the {Grammar File Reference}[rdoc-ref:lib/racc/rdoc/grammar.en.rdoc] for
134
+ # more information on grammar files.
135
+ #
136
+ # == Parser
137
+ #
138
+ # Then you must prepare the parse entry method. There are two types of
139
+ # parse methods in Racc, Racc::Parser#do_parse and Racc::Parser#yyparse
140
+ #
141
+ # Racc::Parser#do_parse is simple.
142
+ #
143
+ # It's yyparse() of yacc, and Racc::Parser#next_token is yylex().
144
+ # This method must returns an array like [TOKENSYMBOL, ITS_VALUE].
145
+ # EOF is [false, false].
146
+ # (TOKENSYMBOL is a Ruby symbol (taken from String#intern) by default.
147
+ # If you want to change this, see the grammar reference.
148
+ #
149
+ # Racc::Parser#yyparse is little complicated, but useful.
150
+ # It does not use Racc::Parser#next_token, instead it gets tokens from any iterator.
151
+ #
152
+ # For example, <code>yyparse(obj, :scan)</code> causes
153
+ # calling +obj#scan+, and you can return tokens by yielding them from +obj#scan+.
154
+ #
155
+ # == Debugging
156
+ #
157
+ # When debugging, "-v" or/and the "-g" option is helpful.
158
+ #
159
+ # "-v" creates verbose log file (.output).
160
+ # "-g" creates a "Verbose Parser".
161
+ # Verbose Parser prints the internal status when parsing.
162
+ # But it's _not_ automatic.
163
+ # You must use -g option and set +@yydebug+ to +true+ in order to get output.
164
+ # -g option only creates the verbose parser.
165
+ #
166
+ # === Racc reported syntax error.
167
+ #
168
+ # Isn't there too many "end"?
169
+ # grammar of racc file is changed in v0.10.
170
+ #
171
+ # Racc does not use '%' mark, while yacc uses huge number of '%' marks..
172
+ #
173
+ # === Racc reported "XXXX conflicts".
174
+ #
175
+ # Try "racc -v xxxx.y".
176
+ # It causes producing racc's internal log file, xxxx.output.
177
+ #
178
+ # === Generated parsers does not work correctly
179
+ #
180
+ # Try "racc -g xxxx.y".
181
+ # This command let racc generate "debugging parser".
182
+ # Then set @yydebug=true in your parser.
183
+ # It produces a working log of your parser.
184
+ #
185
+ # == Re-distributing Racc runtime
186
+ #
187
+ # A parser, which is created by Racc, requires the Racc runtime module;
188
+ # racc/parser.rb.
189
+ #
190
+ # Ruby 1.8.x comes with Racc runtime module,
191
+ # you need NOT distribute Racc runtime files.
192
+ #
193
+ # If you want to include the Racc runtime module with your parser.
194
+ # This can be done by using '-E' option:
195
+ #
196
+ # $ racc -E -omyparser.rb myparser.y
197
+ #
198
+ # This command creates myparser.rb which `includes' Racc runtime.
199
+ # Only you must do is to distribute your parser file (myparser.rb).
200
+ #
201
+ # Note: parser.rb is ruby license, but your parser is not.
202
+ # Your own parser is completely yours.
203
+ module Racc
204
+
205
+ unless defined?(Racc_No_Extensions)
206
+ Racc_No_Extensions = false # :nodoc:
207
+ end
208
+
209
+ class Parser
210
+
211
+ Racc_Runtime_Version = ::Racc::VERSION
212
+ Racc_Runtime_Core_Version_R = ::Racc::VERSION
213
+
214
+ begin
215
+ if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
216
+ require 'jruby'
217
+ require 'racc/cparse-jruby.jar'
218
+ com.headius.racc.Cparse.new.load(JRuby.runtime, false)
219
+ else
220
+ require 'racc/cparse'
221
+ end
222
+
223
+ unless new.respond_to?(:_racc_do_parse_c, true)
224
+ raise LoadError, 'old cparse.so'
225
+ end
226
+ if Racc_No_Extensions
227
+ raise LoadError, 'selecting ruby version of racc runtime core'
228
+ end
229
+
230
+ Racc_Main_Parsing_Routine = :_racc_do_parse_c # :nodoc:
231
+ Racc_YY_Parse_Method = :_racc_yyparse_c # :nodoc:
232
+ Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_C # :nodoc:
233
+ Racc_Runtime_Type = 'c' # :nodoc:
234
+ rescue LoadError
235
+ Racc_Main_Parsing_Routine = :_racc_do_parse_rb
236
+ Racc_YY_Parse_Method = :_racc_yyparse_rb
237
+ Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_R
238
+ Racc_Runtime_Type = 'ruby'
239
+ end
240
+
241
+ def Parser.racc_runtime_type # :nodoc:
242
+ Racc_Runtime_Type
243
+ end
244
+
245
+ def _racc_setup
246
+ @yydebug = false unless self.class::Racc_debug_parser
247
+ @yydebug = false unless defined?(@yydebug)
248
+ if @yydebug
249
+ @racc_debug_out = $stderr unless defined?(@racc_debug_out)
250
+ @racc_debug_out ||= $stderr
251
+ end
252
+ arg = self.class::Racc_arg
253
+ arg[13] = true if arg.size < 14
254
+ arg
255
+ end
256
+
257
+ def _racc_init_sysvars
258
+ @racc_state = [0]
259
+ @racc_tstack = []
260
+ @racc_vstack = []
261
+
262
+ @racc_t = nil
263
+ @racc_val = nil
264
+
265
+ @racc_read_next = true
266
+
267
+ @racc_user_yyerror = false
268
+ @racc_error_status = 0
269
+ end
270
+
271
+ # The entry point of the parser. This method is used with #next_token.
272
+ # If Racc wants to get token (and its value), calls next_token.
273
+ #
274
+ # Example:
275
+ # def parse
276
+ # @q = [[1,1],
277
+ # [2,2],
278
+ # [3,3],
279
+ # [false, '$']]
280
+ # do_parse
281
+ # end
282
+ #
283
+ # def next_token
284
+ # @q.shift
285
+ # end
286
+ class_eval <<~RUBY, __FILE__, __LINE__ + 1
287
+ def do_parse
288
+ #{Racc_Main_Parsing_Routine}(_racc_setup(), false)
289
+ end
290
+ RUBY
291
+
292
+ # The method to fetch next token.
293
+ # If you use #do_parse method, you must implement #next_token.
294
+ #
295
+ # The format of return value is [TOKEN_SYMBOL, VALUE].
296
+ # +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
297
+ # for 'IDENT'. ";" (String) for ';'.
298
+ #
299
+ # The final symbol (End of file) must be false.
300
+ def next_token
301
+ raise NotImplementedError, "#{self.class}\#next_token is not defined"
302
+ end
303
+
304
+ def _racc_do_parse_rb(arg, in_debug)
305
+ action_table, action_check, action_default, action_pointer,
306
+ _, _, _, _,
307
+ _, _, token_table, * = arg
308
+
309
+ _racc_init_sysvars
310
+ tok = act = i = nil
311
+
312
+ catch(:racc_end_parse) {
313
+ while true
314
+ if i = action_pointer[@racc_state[-1]]
315
+ if @racc_read_next
316
+ if @racc_t != 0 # not EOF
317
+ tok, @racc_val = next_token()
318
+ unless tok # EOF
319
+ @racc_t = 0
320
+ else
321
+ @racc_t = (token_table[tok] or 1) # error token
322
+ end
323
+ racc_read_token(@racc_t, tok, @racc_val) if @yydebug
324
+ @racc_read_next = false
325
+ end
326
+ end
327
+ i += @racc_t
328
+ unless i >= 0 and
329
+ act = action_table[i] and
330
+ action_check[i] == @racc_state[-1]
331
+ act = action_default[@racc_state[-1]]
332
+ end
333
+ else
334
+ act = action_default[@racc_state[-1]]
335
+ end
336
+ while act = _racc_evalact(act, arg)
337
+ ;
338
+ end
339
+ end
340
+ }
341
+ end
342
+
343
+ # Another entry point for the parser.
344
+ # If you use this method, you must implement RECEIVER#METHOD_ID method.
345
+ #
346
+ # RECEIVER#METHOD_ID is a method to get next token.
347
+ # It must 'yield' the token, which format is [TOKEN-SYMBOL, VALUE].
348
+ class_eval <<~RUBY, __FILE__, __LINE__ + 1
349
+ def yyparse(recv, mid)
350
+ #{Racc_YY_Parse_Method}(recv, mid, _racc_setup(), false)
351
+ end
352
+ RUBY
353
+
354
+ def _racc_yyparse_rb(recv, mid, arg, c_debug)
355
+ action_table, action_check, action_default, action_pointer,
356
+ _, _, _, _,
357
+ _, _, token_table, * = arg
358
+
359
+ _racc_init_sysvars
360
+
361
+ catch(:racc_end_parse) {
362
+ until i = action_pointer[@racc_state[-1]]
363
+ while act = _racc_evalact(action_default[@racc_state[-1]], arg)
364
+ ;
365
+ end
366
+ end
367
+ recv.__send__(mid) do |tok, val|
368
+ unless tok
369
+ @racc_t = 0
370
+ else
371
+ @racc_t = (token_table[tok] or 1) # error token
372
+ end
373
+ @racc_val = val
374
+ @racc_read_next = false
375
+
376
+ i += @racc_t
377
+ unless i >= 0 and
378
+ act = action_table[i] and
379
+ action_check[i] == @racc_state[-1]
380
+ act = action_default[@racc_state[-1]]
381
+ end
382
+ while act = _racc_evalact(act, arg)
383
+ ;
384
+ end
385
+
386
+ while !(i = action_pointer[@racc_state[-1]]) ||
387
+ ! @racc_read_next ||
388
+ @racc_t == 0 # $
389
+ unless i and i += @racc_t and
390
+ i >= 0 and
391
+ act = action_table[i] and
392
+ action_check[i] == @racc_state[-1]
393
+ act = action_default[@racc_state[-1]]
394
+ end
395
+ while act = _racc_evalact(act, arg)
396
+ ;
397
+ end
398
+ end
399
+ end
400
+ }
401
+ end
402
+
403
+ ###
404
+ ### common
405
+ ###
406
+
407
+ def _racc_evalact(act, arg)
408
+ action_table, action_check, _, action_pointer,
409
+ _, _, _, _,
410
+ _, _, _, shift_n,
411
+ reduce_n, * = arg
412
+ nerr = 0 # tmp
413
+
414
+ if act > 0 and act < shift_n
415
+ #
416
+ # shift
417
+ #
418
+ if @racc_error_status > 0
419
+ @racc_error_status -= 1 unless @racc_t <= 1 # error token or EOF
420
+ end
421
+ @racc_vstack.push @racc_val
422
+ @racc_state.push act
423
+ @racc_read_next = true
424
+ if @yydebug
425
+ @racc_tstack.push @racc_t
426
+ racc_shift @racc_t, @racc_tstack, @racc_vstack
427
+ end
428
+
429
+ elsif act < 0 and act > -reduce_n
430
+ #
431
+ # reduce
432
+ #
433
+ code = catch(:racc_jump) {
434
+ @racc_state.push _racc_do_reduce(arg, act)
435
+ false
436
+ }
437
+ if code
438
+ case code
439
+ when 1 # yyerror
440
+ @racc_user_yyerror = true # user_yyerror
441
+ return -reduce_n
442
+ when 2 # yyaccept
443
+ return shift_n
444
+ else
445
+ raise '[Racc Bug] unknown jump code'
446
+ end
447
+ end
448
+
449
+ elsif act == shift_n
450
+ #
451
+ # accept
452
+ #
453
+ racc_accept if @yydebug
454
+ throw :racc_end_parse, @racc_vstack[0]
455
+
456
+ elsif act == -reduce_n
457
+ #
458
+ # error
459
+ #
460
+ case @racc_error_status
461
+ when 0
462
+ unless arg[21] # user_yyerror
463
+ nerr += 1
464
+ on_error @racc_t, @racc_val, @racc_vstack
465
+ end
466
+ when 3
467
+ if @racc_t == 0 # is $
468
+ # We're at EOF, and another error occurred immediately after
469
+ # attempting auto-recovery
470
+ throw :racc_end_parse, nil
471
+ end
472
+ @racc_read_next = true
473
+ end
474
+ @racc_user_yyerror = false
475
+ @racc_error_status = 3
476
+ while true
477
+ if i = action_pointer[@racc_state[-1]]
478
+ i += 1 # error token
479
+ if i >= 0 and
480
+ (act = action_table[i]) and
481
+ action_check[i] == @racc_state[-1]
482
+ break
483
+ end
484
+ end
485
+ throw :racc_end_parse, nil if @racc_state.size <= 1
486
+ @racc_state.pop
487
+ @racc_vstack.pop
488
+ if @yydebug
489
+ @racc_tstack.pop
490
+ racc_e_pop @racc_state, @racc_tstack, @racc_vstack
491
+ end
492
+ end
493
+ return act
494
+
495
+ else
496
+ raise "[Racc Bug] unknown action #{act.inspect}"
497
+ end
498
+
499
+ racc_next_state(@racc_state[-1], @racc_state) if @yydebug
500
+
501
+ nil
502
+ end
503
+
504
+ def _racc_do_reduce(arg, act)
505
+ _, _, _, _,
506
+ goto_table, goto_check, goto_default, goto_pointer,
507
+ nt_base, reduce_table, _, _,
508
+ _, use_result, * = arg
509
+
510
+ state = @racc_state
511
+ vstack = @racc_vstack
512
+ tstack = @racc_tstack
513
+
514
+ i = act * -3
515
+ len = reduce_table[i]
516
+ reduce_to = reduce_table[i+1]
517
+ method_id = reduce_table[i+2]
518
+ void_array = []
519
+
520
+ tmp_t = tstack[-len, len] if @yydebug
521
+ tmp_v = vstack[-len, len]
522
+ tstack[-len, len] = void_array if @yydebug
523
+ vstack[-len, len] = void_array
524
+ state[-len, len] = void_array
525
+
526
+ # tstack must be updated AFTER method call
527
+ if use_result
528
+ vstack.push __send__(method_id, tmp_v, vstack, tmp_v[0])
529
+ else
530
+ vstack.push __send__(method_id, tmp_v, vstack)
531
+ end
532
+ tstack.push reduce_to
533
+
534
+ racc_reduce(tmp_t, reduce_to, tstack, vstack) if @yydebug
535
+
536
+ k1 = reduce_to - nt_base
537
+ if i = goto_pointer[k1]
538
+ i += state[-1]
539
+ if i >= 0 and (curstate = goto_table[i]) and goto_check[i] == k1
540
+ return curstate
541
+ end
542
+ end
543
+ goto_default[k1]
544
+ end
545
+
546
+ # This method is called when a parse error is found.
547
+ #
548
+ # ERROR_TOKEN_ID is an internal ID of token which caused error.
549
+ # You can get string representation of this ID by calling
550
+ # #token_to_str.
551
+ #
552
+ # ERROR_VALUE is a value of error token.
553
+ #
554
+ # value_stack is a stack of symbol values.
555
+ # DO NOT MODIFY this object.
556
+ #
557
+ # This method raises ParseError by default.
558
+ #
559
+ # If this method returns, parsers enter "error recovering mode".
560
+ def on_error(t, val, vstack)
561
+ raise ParseError, sprintf("\nparse error on value %s (%s)",
562
+ val.inspect, token_to_str(t) || '?')
563
+ end
564
+
565
+ # Enter error recovering mode.
566
+ # This method does not call #on_error.
567
+ def yyerror
568
+ throw :racc_jump, 1
569
+ end
570
+
571
+ # Exit parser.
572
+ # Return value is +Symbol_Value_Stack[0]+.
573
+ def yyaccept
574
+ throw :racc_jump, 2
575
+ end
576
+
577
+ # Leave error recovering mode.
578
+ def yyerrok
579
+ @racc_error_status = 0
580
+ end
581
+
582
+ # For debugging output
583
+ def racc_read_token(t, tok, val)
584
+ @racc_debug_out.print 'read '
585
+ @racc_debug_out.print tok.inspect, '(', racc_token2str(t), ') '
586
+ @racc_debug_out.puts val.inspect
587
+ @racc_debug_out.puts
588
+ end
589
+
590
+ def racc_shift(tok, tstack, vstack)
591
+ @racc_debug_out.puts "shift #{racc_token2str tok}"
592
+ racc_print_stacks tstack, vstack
593
+ @racc_debug_out.puts
594
+ end
595
+
596
+ def racc_reduce(toks, sim, tstack, vstack)
597
+ out = @racc_debug_out
598
+ out.print 'reduce '
599
+ if toks.empty?
600
+ out.print ' <none>'
601
+ else
602
+ toks.each {|t| out.print ' ', racc_token2str(t) }
603
+ end
604
+ out.puts " --> #{racc_token2str(sim)}"
605
+ racc_print_stacks tstack, vstack
606
+ @racc_debug_out.puts
607
+ end
608
+
609
+ def racc_accept
610
+ @racc_debug_out.puts 'accept'
611
+ @racc_debug_out.puts
612
+ end
613
+
614
+ def racc_e_pop(state, tstack, vstack)
615
+ @racc_debug_out.puts 'error recovering mode: pop token'
616
+ racc_print_states state
617
+ racc_print_stacks tstack, vstack
618
+ @racc_debug_out.puts
619
+ end
620
+
621
+ def racc_next_state(curstate, state)
622
+ @racc_debug_out.puts "goto #{curstate}"
623
+ racc_print_states state
624
+ @racc_debug_out.puts
625
+ end
626
+
627
+ def racc_print_stacks(t, v)
628
+ out = @racc_debug_out
629
+ out.print ' ['
630
+ t.each_index do |i|
631
+ out.print ' (', racc_token2str(t[i]), ' ', v[i].inspect, ')'
632
+ end
633
+ out.puts ' ]'
634
+ end
635
+
636
+ def racc_print_states(s)
637
+ out = @racc_debug_out
638
+ out.print ' ['
639
+ s.each {|st| out.print ' ', st }
640
+ out.puts ' ]'
641
+ end
642
+
643
+ def racc_token2str(tok)
644
+ self.class::Racc_token_to_s_table[tok] or
645
+ raise "[Racc Bug] can't convert token #{tok} to string"
646
+ end
647
+
648
+ # Convert internal ID of token symbol to the string.
649
+ def token_to_str(t)
650
+ self.class::Racc_token_to_s_table[t]
651
+ end
652
+
653
+ end
654
+
655
+ end
656
+
657
+ __end_of_file__
658
+ end