ory-hydra-client 2.1.1 → 2.2.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (539) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +12 -10
  3. data/README.md +12 -5
  4. data/docs/AcceptOAuth2LoginRequest.md +2 -0
  5. data/docs/CreateVerifiableCredentialRequestBody.md +22 -0
  6. data/docs/CredentialSupportedDraft00.md +24 -0
  7. data/docs/OidcApi.md +67 -0
  8. data/docs/OidcConfiguration.md +4 -0
  9. data/docs/RFC6749ErrorJson.md +26 -0
  10. data/docs/VerifiableCredentialPrimingResponse.md +32 -0
  11. data/docs/VerifiableCredentialProof.md +20 -0
  12. data/docs/VerifiableCredentialResponse.md +20 -0
  13. data/lib/ory-hydra-client/api/jwk_api.rb +1 -1
  14. data/lib/ory-hydra-client/api/metadata_api.rb +1 -1
  15. data/lib/ory-hydra-client/api/o_auth2_api.rb +1 -1
  16. data/lib/ory-hydra-client/api/oidc_api.rb +65 -1
  17. data/lib/ory-hydra-client/api/wellknown_api.rb +1 -1
  18. data/lib/ory-hydra-client/api_client.rb +1 -1
  19. data/lib/ory-hydra-client/api_error.rb +1 -1
  20. data/lib/ory-hydra-client/configuration.rb +1 -1
  21. data/lib/ory-hydra-client/models/accept_o_auth2_consent_request.rb +1 -1
  22. data/lib/ory-hydra-client/models/accept_o_auth2_consent_request_session.rb +1 -1
  23. data/lib/ory-hydra-client/models/accept_o_auth2_login_request.rb +12 -2
  24. data/lib/ory-hydra-client/models/create_json_web_key_set.rb +1 -1
  25. data/lib/ory-hydra-client/models/create_verifiable_credential_request_body.rb +239 -0
  26. data/lib/ory-hydra-client/models/credential_supported_draft00.rb +257 -0
  27. data/lib/ory-hydra-client/models/error_o_auth2.rb +1 -1
  28. data/lib/ory-hydra-client/models/generic_error.rb +1 -1
  29. data/lib/ory-hydra-client/models/get_version200_response.rb +1 -1
  30. data/lib/ory-hydra-client/models/health_not_ready_status.rb +1 -1
  31. data/lib/ory-hydra-client/models/health_status.rb +1 -1
  32. data/lib/ory-hydra-client/models/introspected_o_auth2_token.rb +1 -1
  33. data/lib/ory-hydra-client/models/is_ready200_response.rb +1 -1
  34. data/lib/ory-hydra-client/models/is_ready503_response.rb +1 -1
  35. data/lib/ory-hydra-client/models/json_patch.rb +1 -1
  36. data/lib/ory-hydra-client/models/json_web_key.rb +1 -1
  37. data/lib/ory-hydra-client/models/json_web_key_set.rb +1 -1
  38. data/lib/ory-hydra-client/models/o_auth2_client.rb +1 -1
  39. data/lib/ory-hydra-client/models/o_auth2_client_token_lifespans.rb +1 -1
  40. data/lib/ory-hydra-client/models/o_auth2_consent_request.rb +1 -1
  41. data/lib/ory-hydra-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
  42. data/lib/ory-hydra-client/models/o_auth2_consent_session.rb +1 -1
  43. data/lib/ory-hydra-client/models/o_auth2_consent_session_expires_at.rb +1 -1
  44. data/lib/ory-hydra-client/models/o_auth2_login_request.rb +1 -1
  45. data/lib/ory-hydra-client/models/o_auth2_logout_request.rb +1 -1
  46. data/lib/ory-hydra-client/models/o_auth2_redirect_to.rb +1 -1
  47. data/lib/ory-hydra-client/models/o_auth2_token_exchange.rb +1 -1
  48. data/lib/ory-hydra-client/models/oidc_configuration.rb +24 -2
  49. data/lib/ory-hydra-client/models/oidc_user_info.rb +1 -1
  50. data/lib/ory-hydra-client/models/pagination.rb +1 -1
  51. data/lib/ory-hydra-client/models/pagination_headers.rb +1 -1
  52. data/lib/ory-hydra-client/models/reject_o_auth2_request.rb +1 -1
  53. data/lib/ory-hydra-client/models/rfc6749_error_json.rb +255 -0
  54. data/lib/ory-hydra-client/models/token_pagination.rb +1 -1
  55. data/lib/ory-hydra-client/models/token_pagination_headers.rb +1 -1
  56. data/lib/ory-hydra-client/models/token_pagination_request_parameters.rb +1 -1
  57. data/lib/ory-hydra-client/models/token_pagination_response_headers.rb +1 -1
  58. data/lib/ory-hydra-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
  59. data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
  60. data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
  61. data/lib/ory-hydra-client/models/verifiable_credential_priming_response.rb +282 -0
  62. data/lib/ory-hydra-client/models/verifiable_credential_proof.rb +228 -0
  63. data/lib/ory-hydra-client/models/verifiable_credential_response.rb +228 -0
  64. data/lib/ory-hydra-client/models/version.rb +1 -1
  65. data/lib/ory-hydra-client/version.rb +2 -2
  66. data/lib/ory-hydra-client.rb +7 -1
  67. data/ory-hydra-client.gemspec +1 -1
  68. data/spec/api/jwk_api_spec.rb +1 -1
  69. data/spec/api/metadata_api_spec.rb +1 -1
  70. data/spec/api/o_auth2_api_spec.rb +1 -1
  71. data/spec/api/oidc_api_spec.rb +13 -1
  72. data/spec/api/wellknown_api_spec.rb +1 -1
  73. data/spec/api_client_spec.rb +1 -1
  74. data/spec/configuration_spec.rb +1 -1
  75. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
  76. data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
  77. data/spec/models/accept_o_auth2_login_request_spec.rb +7 -1
  78. data/spec/models/create_json_web_key_set_spec.rb +1 -1
  79. data/spec/models/create_verifiable_credential_request_body_spec.rb +46 -0
  80. data/spec/models/credential_supported_draft00_spec.rb +52 -0
  81. data/spec/models/error_o_auth2_spec.rb +1 -1
  82. data/spec/models/generic_error_spec.rb +1 -1
  83. data/spec/models/get_version200_response_spec.rb +1 -1
  84. data/spec/models/health_not_ready_status_spec.rb +1 -1
  85. data/spec/models/health_status_spec.rb +1 -1
  86. data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
  87. data/spec/models/is_ready200_response_spec.rb +1 -1
  88. data/spec/models/is_ready503_response_spec.rb +1 -1
  89. data/spec/models/json_patch_spec.rb +1 -1
  90. data/spec/models/json_web_key_set_spec.rb +1 -1
  91. data/spec/models/json_web_key_spec.rb +1 -1
  92. data/spec/models/o_auth2_client_spec.rb +1 -1
  93. data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
  94. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
  95. data/spec/models/o_auth2_consent_request_spec.rb +1 -1
  96. data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
  97. data/spec/models/o_auth2_consent_session_spec.rb +1 -1
  98. data/spec/models/o_auth2_login_request_spec.rb +1 -1
  99. data/spec/models/o_auth2_logout_request_spec.rb +1 -1
  100. data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
  101. data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
  102. data/spec/models/oidc_configuration_spec.rb +13 -1
  103. data/spec/models/oidc_user_info_spec.rb +1 -1
  104. data/spec/models/pagination_headers_spec.rb +1 -1
  105. data/spec/models/pagination_spec.rb +1 -1
  106. data/spec/models/reject_o_auth2_request_spec.rb +1 -1
  107. data/spec/models/rfc6749_error_json_spec.rb +58 -0
  108. data/spec/models/token_pagination_headers_spec.rb +1 -1
  109. data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
  110. data/spec/models/token_pagination_response_headers_spec.rb +1 -1
  111. data/spec/models/token_pagination_spec.rb +1 -1
  112. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  113. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  114. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
  115. data/spec/models/verifiable_credential_priming_response_spec.rb +76 -0
  116. data/spec/models/verifiable_credential_proof_spec.rb +40 -0
  117. data/spec/models/verifiable_credential_response_spec.rb +40 -0
  118. data/spec/models/version_spec.rb +1 -1
  119. data/spec/spec_helper.rb +1 -1
  120. data/vendor/bundle/ruby/2.5.0/bin/racc +27 -0
  121. data/vendor/bundle/ruby/2.5.0/cache/jaro_winkler-1.5.6.gem +0 -0
  122. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.23.0.gem +0 -0
  123. data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.3.gem +0 -0
  124. data/vendor/bundle/ruby/2.5.0/cache/racc-1.7.1.gem +0 -0
  125. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.2.gem +0 -0
  126. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.3.gem +0 -0
  127. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.6.gem +0 -0
  128. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.1.gem +0 -0
  129. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.6.gem +0 -0
  130. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  131. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  132. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/gem_make.out +6 -6
  133. data/vendor/bundle/ruby/2.5.0/{gems/jaro_winkler-1.5.4/ext → extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.6}/jaro_winkler/jaro_winkler_ext.so +0 -0
  134. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +2 -2
  135. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.1/gem_make.out +17 -0
  136. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.1/mkmf.log +56 -0
  137. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.1/racc/cparse.so +0 -0
  138. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.5 → stringio-3.0.6}/gem_make.out +6 -6
  139. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.5 → stringio-3.0.6}/mkmf.log +2 -2
  140. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.6/stringio.so +0 -0
  141. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  142. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  143. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/Makefile +2 -2
  144. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.o +0 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.o +0 -0
  146. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.o +0 -0
  147. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro_winkler.c +12 -7
  148. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro_winkler.o +0 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4/lib → jaro_winkler-1.5.6/ext}/jaro_winkler/jaro_winkler_ext.so +0 -0
  150. data/vendor/bundle/ruby/2.5.0/{extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4 → gems/jaro_winkler-1.5.6/lib}/jaro_winkler/jaro_winkler_ext.so +0 -0
  151. data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/version.rb +1 -1
  152. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.23.0/lib/parallel/version.rb +4 -0
  153. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.22.1 → parallel-1.23.0}/lib/parallel.rb +43 -3
  154. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/builders/default.rb +13 -24
  155. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/macruby.rb +3 -1
  156. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby18.rb +3 -1
  157. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby19.rb +3 -1
  158. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby20.rb +3 -1
  159. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby21.rb +3 -1
  160. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby22.rb +3 -1
  161. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby23.rb +3 -1
  162. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby24.rb +3 -1
  163. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby25.rb +3 -1
  164. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby26.rb +3 -1
  165. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby27.rb +3 -1
  166. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.3/lib/parser/ruby28.rb +8047 -0
  167. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby30.rb +3 -1
  168. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby31.rb +3 -1
  169. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby32.rb +3 -1
  170. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby33.rb +3 -1
  171. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/rubymotion.rb +3 -1
  172. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/version.rb +1 -1
  173. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/parser.gemspec +1 -1
  174. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
  175. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/COPYING +22 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ChangeLog +846 -0
  177. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/README.ja.rdoc +94 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/README.rdoc +79 -0
  179. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/TODO +5 -0
  180. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/bin/racc +320 -0
  181. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/en/NEWS.en.rdoc +282 -0
  182. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/en/grammar.en.rdoc +226 -0
  183. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/en/grammar2.en.rdoc +219 -0
  184. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/NEWS.ja.rdoc +307 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/command.ja.html +94 -0
  186. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/debug.ja.rdoc +36 -0
  187. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/grammar.ja.rdoc +348 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/index.ja.html +10 -0
  189. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/parser.ja.rdoc +125 -0
  190. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/usage.ja.html +414 -0
  191. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/MANIFEST +4 -0
  192. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/.sitearchdir.-.racc.time +0 -0
  193. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/Makefile +264 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/cparse.c +861 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/cparse.o +0 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/cparse.so +0 -0
  197. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/extconf.rb +9 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/compat.rb +33 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/cparse.so +0 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/debugflags.rb +60 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/exception.rb +16 -0
  202. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/grammar.rb +1114 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/grammarfileparser.rb +561 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/info.rb +17 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/iset.rb +92 -0
  206. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/logfilegenerator.rb +212 -0
  207. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/parser-text.rb +658 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/parser.rb +632 -0
  209. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/parserfilegenerator.rb +470 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/sourcetext.rb +35 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/state.rb +972 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/statetransitiontable.rb +311 -0
  213. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/static.rb +5 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc.rb +6 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/Changelog.md +8 -1
  216. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +1 -1
  217. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/reporter.rb +1 -1
  218. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/version.rb +1 -1
  219. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/Changelog.md +12 -5
  220. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/version.rb +1 -1
  221. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/include.rb +9 -2
  222. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/Changelog.md +9 -1
  223. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/method_double.rb +11 -4
  224. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/version.rb +1 -1
  225. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/Changelog.md +9 -1
  226. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/shell_out.rb +3 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/version.rb +1 -1
  228. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support.rb +8 -2
  229. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/.sitearchdir.time +0 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5 → stringio-3.0.6}/ext/stringio/Makefile +2 -2
  231. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5 → stringio-3.0.6}/ext/stringio/stringio.c +6 -11
  232. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/stringio.o +0 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/stringio.so +0 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/lib/stringio.so +0 -0
  235. data/vendor/bundle/ruby/2.5.0/specifications/{jaro_winkler-1.5.4.gemspec → jaro_winkler-1.5.6.gemspec} +7 -9
  236. data/vendor/bundle/ruby/2.5.0/specifications/{parallel-1.22.1.gemspec → parallel-1.23.0.gemspec} +4 -4
  237. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.2.2.0.gemspec → parser-3.2.2.3.gemspec} +7 -7
  238. data/vendor/bundle/ruby/2.5.0/specifications/racc-1.7.1.gemspec +27 -0
  239. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.12.1.gemspec → rspec-core-3.12.2.gemspec} +5 -5
  240. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.12.2.gemspec → rspec-expectations-3.12.3.gemspec} +5 -5
  241. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.12.5.gemspec → rspec-mocks-3.12.6.gemspec} +5 -5
  242. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-support-3.12.0.gemspec → rspec-support-3.12.1.gemspec} +5 -5
  243. data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.5.gemspec → stringio-3.0.6.gemspec} +3 -3
  244. metadata +426 -355
  245. data/vendor/bundle/ruby/2.5.0/cache/jaro_winkler-1.5.4.gem +0 -0
  246. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.22.1.gem +0 -0
  247. data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.0.gem +0 -0
  248. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.1.gem +0 -0
  249. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.2.gem +0 -0
  250. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.5.gem +0 -0
  251. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.0.gem +0 -0
  252. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.5.gem +0 -0
  253. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.5/stringio.so +0 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.o +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.22.1/lib/parallel/processor_count.rb +0 -44
  256. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.22.1/lib/parallel/version.rb +0 -4
  257. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.o +0 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.so +0 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/lib/stringio.so +0 -0
  260. /data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/gem.build_complete +0 -0
  261. /data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.5 → racc-1.7.1}/gem.build_complete +0 -0
  262. /data/vendor/bundle/ruby/2.5.0/{gems/jaro_winkler-1.5.4/ext/jaro_winkler/.sitearchdir.-.jaro_winkler.time → extensions/x86_64-linux/2.5.0/stringio-3.0.6/gem.build_complete} +0 -0
  263. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/LICENSE.txt +0 -0
  264. /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5/ext/stringio/.sitearchdir.time → jaro_winkler-1.5.6/ext/jaro_winkler/.sitearchdir.-.jaro_winkler.time} +0 -0
  265. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.c +0 -0
  266. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.h +0 -0
  267. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.c +0 -0
  268. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.h +0 -0
  269. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/extconf.rb +0 -0
  270. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.c +0 -0
  271. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.h +0 -0
  272. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/adjusting_table.rb +0 -0
  273. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/jaro_winkler_pure.rb +0 -0
  274. /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler.rb +0 -0
  275. /data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.22.1 → parallel-1.23.0}/MIT-LICENSE.txt +0 -0
  276. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/LICENSE.txt +0 -0
  277. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/bin/ruby-parse +0 -0
  278. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/bin/ruby-rewrite +0 -0
  279. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/gauntlet_parser.rb +0 -0
  280. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/all.rb +0 -0
  281. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ast/node.rb +0 -0
  282. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ast/processor.rb +0 -0
  283. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/base.rb +0 -0
  284. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/clobbering_error.rb +0 -0
  285. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/color.rb +0 -0
  286. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/context.rb +0 -0
  287. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/current.rb +0 -0
  288. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/current_arg_stack.rb +0 -0
  289. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/deprecation.rb +0 -0
  290. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/diagnostic/engine.rb +0 -0
  291. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/diagnostic.rb +0 -0
  292. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer/dedenter.rb +0 -0
  293. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer/explanation.rb +0 -0
  294. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer/literal.rb +0 -0
  295. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer/stack_state.rb +0 -0
  296. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer-F0.rb +0 -0
  297. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer-F1.rb +0 -0
  298. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer-strings.rb +0 -0
  299. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/max_numparam_stack.rb +0 -0
  300. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/messages.rb +0 -0
  301. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/meta.rb +0 -0
  302. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/rewriter.rb +0 -0
  303. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/runner/ruby_parse.rb +0 -0
  304. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/runner/ruby_rewrite.rb +0 -0
  305. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/runner.rb +0 -0
  306. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/buffer.rb +0 -0
  307. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/comment/associator.rb +0 -0
  308. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/comment.rb +0 -0
  309. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/collection.rb +0 -0
  310. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/condition.rb +0 -0
  311. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/constant.rb +0 -0
  312. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/definition.rb +0 -0
  313. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/for.rb +0 -0
  314. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/heredoc.rb +0 -0
  315. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/index.rb +0 -0
  316. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/keyword.rb +0 -0
  317. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/method_definition.rb +0 -0
  318. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/objc_kwarg.rb +0 -0
  319. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/operator.rb +0 -0
  320. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/rescue_body.rb +0 -0
  321. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/send.rb +0 -0
  322. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/ternary.rb +0 -0
  323. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/variable.rb +0 -0
  324. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map.rb +0 -0
  325. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/range.rb +0 -0
  326. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/rewriter/action.rb +0 -0
  327. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/rewriter.rb +0 -0
  328. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/tree_rewriter/action.rb +0 -0
  329. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/tree_rewriter.rb +0 -0
  330. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/static_environment.rb +0 -0
  331. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/syntax_error.rb +0 -0
  332. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/tree_rewriter.rb +0 -0
  333. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/variables_stack.rb +0 -0
  334. /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser.rb +0 -0
  335. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/.document +0 -0
  336. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/.yardopts +0 -0
  337. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/LICENSE.md +0 -0
  338. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/README.md +0 -0
  339. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/exe/rspec +0 -0
  340. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/autorun.rb +0 -0
  341. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
  342. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
  343. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  344. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  345. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/server.rb +0 -0
  346. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
  347. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  348. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/utilities.rb +0 -0
  349. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/configuration.rb +0 -0
  350. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/configuration_options.rb +0 -0
  351. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/did_you_mean.rb +0 -0
  352. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/drb.rb +0 -0
  353. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/dsl.rb +0 -0
  354. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/example.rb +0 -0
  355. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/example_group.rb +0 -0
  356. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/example_status_persister.rb +0 -0
  357. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/filter_manager.rb +0 -0
  358. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/flat_map.rb +0 -0
  359. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  360. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  361. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  362. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  363. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  364. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
  365. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  366. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  367. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/exception_presenter.rb +0 -0
  368. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  369. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  370. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/helpers.rb +0 -0
  371. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  372. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
  373. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  374. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  375. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  376. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  377. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/protocol.rb +0 -0
  378. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  379. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  380. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters.rb +0 -0
  381. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/hooks.rb +0 -0
  382. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/invocations.rb +0 -0
  383. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/memoized_helpers.rb +0 -0
  384. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/metadata.rb +0 -0
  385. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/metadata_filter.rb +0 -0
  386. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  387. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  388. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  389. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  390. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  391. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  392. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/notifications.rb +0 -0
  393. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/option_parser.rb +0 -0
  394. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/ordering.rb +0 -0
  395. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/output_wrapper.rb +0 -0
  396. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/pending.rb +0 -0
  397. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/profiler.rb +0 -0
  398. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/.rspec +0 -0
  399. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/project_initializer.rb +0 -0
  400. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/rake_task.rb +0 -0
  401. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/ruby_project.rb +0 -0
  402. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/runner.rb +0 -0
  403. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/sandbox.rb +0 -0
  404. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/set.rb +0 -0
  405. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/shared_context.rb +0 -0
  406. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/shared_example_group.rb +0 -0
  407. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/shell_escape.rb +0 -0
  408. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  409. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/warnings.rb +0 -0
  410. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/world.rb +0 -0
  411. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core.rb +0 -0
  412. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/.document +0 -0
  413. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/.yardopts +0 -0
  414. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/LICENSE.md +0 -0
  415. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/README.md +0 -0
  416. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  417. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/configuration.rb +0 -0
  418. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/expectation_target.rb +0 -0
  419. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/fail_with.rb +0 -0
  420. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  421. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/handler.rb +0 -0
  422. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/minitest_integration.rb +0 -0
  423. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/syntax.rb +0 -0
  424. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations.rb +0 -0
  425. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  426. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/all.rb +0 -0
  427. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  428. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be.rb +0 -0
  429. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  430. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  431. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  432. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  433. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/change.rb +0 -0
  434. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/compound.rb +0 -0
  435. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  436. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
  437. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/cover.rb +0 -0
  438. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eq.rb +0 -0
  439. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eql.rb +0 -0
  440. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/equal.rb +0 -0
  441. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/exist.rb +0 -0
  442. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/has.rb +0 -0
  443. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  444. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/match.rb +0 -0
  445. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/operators.rb +0 -0
  446. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/output.rb +0 -0
  447. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
  448. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  449. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  450. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  451. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  452. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/yield.rb +0 -0
  453. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in.rb +0 -0
  454. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/composable.rb +0 -0
  455. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/dsl.rb +0 -0
  456. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/english_phrasing.rb +0 -0
  457. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  458. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/fail_matchers.rb +0 -0
  459. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  460. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  461. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  462. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers.rb +0 -0
  463. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/.document +0 -0
  464. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/.yardopts +0 -0
  465. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/LICENSE.md +0 -0
  466. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/README.md +0 -0
  467. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  468. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  469. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  470. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  471. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  472. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  473. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  474. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  475. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  476. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance.rb +0 -0
  477. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
  478. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/argument_matchers.rb +0 -0
  479. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/configuration.rb +0 -0
  480. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/error_generator.rb +0 -0
  481. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/example_methods.rb +0 -0
  482. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  483. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/marshal_extension.rb +0 -0
  484. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  485. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  486. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/receive.rb +0 -0
  487. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  488. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  489. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/message_chain.rb +0 -0
  490. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/message_expectation.rb +0 -0
  491. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/method_reference.rb +0 -0
  492. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/minitest_integration.rb +0 -0
  493. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/mutate_const.rb +0 -0
  494. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/object_reference.rb +0 -0
  495. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/order_group.rb +0 -0
  496. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/proxy.rb +0 -0
  497. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/space.rb +0 -0
  498. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/standalone.rb +0 -0
  499. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/syntax.rb +0 -0
  500. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/targets.rb +0 -0
  501. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/test_double.rb +0 -0
  502. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/verifying_double.rb +0 -0
  503. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  504. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  505. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks.rb +0 -0
  506. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/LICENSE.md +0 -0
  507. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/README.md +0 -0
  508. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/caller_filter.rb +0 -0
  509. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/comparable_version.rb +0 -0
  510. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/differ.rb +0 -0
  511. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/directory_maker.rb +0 -0
  512. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/encoded_string.rb +0 -0
  513. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  514. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/hunk_generator.rb +0 -0
  515. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/matcher_definition.rb +0 -0
  516. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/method_signature_verifier.rb +0 -0
  517. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/mutex.rb +0 -0
  518. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/object_formatter.rb +0 -0
  519. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
  520. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
  521. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/ruby_features.rb +0 -0
  522. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/location.rb +0 -0
  523. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/node.rb +0 -0
  524. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/token.rb +0 -0
  525. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source.rb +0 -0
  526. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  527. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  528. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
  529. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/in_sub_process.rb +0 -0
  530. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  531. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  532. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
  533. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  534. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  535. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec.rb +0 -0
  536. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/warnings.rb +0 -0
  537. /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
  538. /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5 → stringio-3.0.6}/README.md +0 -0
  539. /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5 → stringio-3.0.6}/ext/stringio/extconf.rb +0 -0
@@ -0,0 +1,861 @@
1
+ /*
2
+
3
+ cparse.c -- Racc Runtime Core
4
+
5
+ Copyright (c) 1999-2006 Minero Aoki
6
+
7
+ This library is free software.
8
+ You can distribute/modify this program under the same terms of ruby.
9
+
10
+ */
11
+
12
+ #include <ruby.h>
13
+
14
+ #ifndef FALSE
15
+ #define FALSE 0
16
+ #endif
17
+ #ifndef TRUE
18
+ #define TRUE 1
19
+ #endif
20
+
21
+ /* -----------------------------------------------------------------------
22
+ Important Constants
23
+ ----------------------------------------------------------------------- */
24
+
25
+ #define RACC_VERSION "1.7.1"
26
+
27
+ #define DEFAULT_TOKEN -1
28
+ #define ERROR_TOKEN 1
29
+ #define FINAL_TOKEN 0
30
+
31
+ #define vDEFAULT_TOKEN INT2FIX(DEFAULT_TOKEN)
32
+ #define vERROR_TOKEN INT2FIX(ERROR_TOKEN)
33
+ #define vFINAL_TOKEN INT2FIX(FINAL_TOKEN)
34
+
35
+ /* -----------------------------------------------------------------------
36
+ File Local Variables
37
+ ----------------------------------------------------------------------- */
38
+
39
+ static VALUE RaccBug;
40
+ static VALUE CparseParams;
41
+
42
+ static ID id_yydebug;
43
+ static ID id_nexttoken;
44
+ static ID id_onerror;
45
+ static ID id_noreduce;
46
+ static ID id_errstatus;
47
+
48
+ static ID id_d_shift;
49
+ static ID id_d_reduce;
50
+ static ID id_d_accept;
51
+ static ID id_d_read_token;
52
+ static ID id_d_next_state;
53
+ static ID id_d_e_pop;
54
+
55
+ /* -----------------------------------------------------------------------
56
+ Utils
57
+ ----------------------------------------------------------------------- */
58
+
59
+ /* For backward compatibility */
60
+ #ifndef ID2SYM
61
+ # define ID2SYM(i) ULONG2NUM(i)
62
+ #endif
63
+ #ifndef SYM2ID
64
+ # define SYM2ID(v) ((ID)NUM2ULONG(v))
65
+ #endif
66
+ #ifndef SYMBOL_P
67
+ # define SYMBOL_P(v) FIXNUM_P(v)
68
+ #endif
69
+ #ifndef LONG2NUM
70
+ # define LONG2NUM(i) INT2NUM(i)
71
+ #endif
72
+
73
+ #ifndef HAVE_RB_ARY_SUBSEQ
74
+ # define rb_ary_subseq(ary, beg, len) rb_ary_new4(len, RARRAY_PTR(ary) + beg)
75
+ #endif
76
+
77
+ static ID value_to_id _((VALUE v));
78
+ static inline long num_to_long _((VALUE n));
79
+
80
+ static ID
81
+ value_to_id(VALUE v)
82
+ {
83
+ if (! SYMBOL_P(v)) {
84
+ rb_raise(rb_eTypeError, "not symbol");
85
+ }
86
+ return SYM2ID(v);
87
+ }
88
+
89
+ static inline long
90
+ num_to_long(VALUE n)
91
+ {
92
+ return NUM2LONG(n);
93
+ }
94
+
95
+ #define AREF(s, idx) \
96
+ ((0 <= idx && idx < RARRAY_LEN(s)) ? rb_ary_entry(s, idx) : Qnil)
97
+
98
+ /* -----------------------------------------------------------------------
99
+ Parser Stack Interfaces
100
+ ----------------------------------------------------------------------- */
101
+
102
+ static VALUE get_stack_tail _((VALUE stack, long len));
103
+ static void cut_stack_tail _((VALUE stack, long len));
104
+
105
+ static VALUE
106
+ get_stack_tail(VALUE stack, long len)
107
+ {
108
+ if (len < 0) return Qnil; /* system error */
109
+ if (len > RARRAY_LEN(stack)) len = RARRAY_LEN(stack);
110
+ return rb_ary_subseq(stack, RARRAY_LEN(stack) - len, len);
111
+ }
112
+
113
+ static void
114
+ cut_stack_tail(VALUE stack, long len)
115
+ {
116
+ while (len > 0) {
117
+ rb_ary_pop(stack);
118
+ len--;
119
+ }
120
+ }
121
+
122
+ #define STACK_INIT_LEN 64
123
+ #define NEW_STACK() rb_ary_new2(STACK_INIT_LEN)
124
+ #define PUSH(s, i) rb_ary_store(s, RARRAY_LEN(s), i)
125
+ #define POP(s) rb_ary_pop(s)
126
+ #define LAST_I(s) \
127
+ ((RARRAY_LEN(s) > 0) ? rb_ary_entry(s, RARRAY_LEN(s) - 1) : Qnil)
128
+ #define GET_TAIL(s, len) get_stack_tail(s, len)
129
+ #define CUT_TAIL(s, len) cut_stack_tail(s, len)
130
+
131
+ /* -----------------------------------------------------------------------
132
+ struct cparse_params
133
+ ----------------------------------------------------------------------- */
134
+
135
+ struct cparse_params {
136
+ VALUE value_v; /* VALUE version of this struct */
137
+
138
+ VALUE parser; /* parser object */
139
+
140
+ int lex_is_iterator;
141
+ VALUE lexer; /* scanner object */
142
+ ID lexmid; /* name of scanner method (must be an iterator) */
143
+
144
+ /* State transition tables (immutable)
145
+ Data structure is from Dragon Book 4.9 */
146
+ /* action table */
147
+ VALUE action_table;
148
+ VALUE action_check;
149
+ VALUE action_default;
150
+ VALUE action_pointer;
151
+ /* goto table */
152
+ VALUE goto_table;
153
+ VALUE goto_check;
154
+ VALUE goto_default;
155
+ VALUE goto_pointer;
156
+
157
+ long nt_base; /* NonTerminal BASE index */
158
+ VALUE reduce_table; /* reduce data table */
159
+ VALUE token_table; /* token conversion table */
160
+
161
+ /* parser stacks and parameters */
162
+ VALUE state;
163
+ long curstate;
164
+ VALUE vstack;
165
+ VALUE tstack;
166
+ VALUE t;
167
+ long shift_n;
168
+ long reduce_n;
169
+ long ruleno;
170
+
171
+ long errstatus; /* nonzero in error recovering mode */
172
+ long nerr; /* number of error */
173
+
174
+ int use_result_var;
175
+
176
+ VALUE retval; /* return value of parser routine */
177
+ long fin; /* parse result status */
178
+ #define CP_FIN_ACCEPT 1
179
+ #define CP_FIN_EOT 2
180
+ #define CP_FIN_CANTPOP 3
181
+
182
+ int debug; /* user level debug */
183
+ int sys_debug; /* system level debug */
184
+
185
+ long i; /* table index */
186
+ };
187
+
188
+ /* -----------------------------------------------------------------------
189
+ Parser Main Routines
190
+ ----------------------------------------------------------------------- */
191
+
192
+ static VALUE racc_cparse _((VALUE parser, VALUE arg, VALUE sysdebug));
193
+ static VALUE racc_yyparse _((VALUE parser, VALUE lexer, VALUE lexmid,
194
+ VALUE arg, VALUE sysdebug));
195
+
196
+ static void call_lexer _((struct cparse_params *v));
197
+ static VALUE lexer_i _((RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data)));
198
+
199
+ static VALUE assert_array _((VALUE a));
200
+ static long assert_integer _((VALUE n));
201
+ static VALUE assert_hash _((VALUE h));
202
+ static VALUE initialize_params _((VALUE vparams, VALUE parser, VALUE arg,
203
+ VALUE lexer, VALUE lexmid));
204
+ static void cparse_params_mark _((void *ptr));
205
+ static size_t cparse_params_memsize _((const void *ptr));
206
+
207
+ static void parse_main _((struct cparse_params *v,
208
+ VALUE tok, VALUE val, int resume));
209
+ static void extract_user_token _((struct cparse_params *v,
210
+ VALUE block_args, VALUE *tok, VALUE *val));
211
+ static void shift _((struct cparse_params* v, long act, VALUE tok, VALUE val));
212
+ static int reduce _((struct cparse_params* v, long act));
213
+ static rb_block_call_func reduce0;
214
+
215
+ #ifdef DEBUG
216
+ # define D_puts(msg) if (v->sys_debug) puts(msg)
217
+ # define D_printf(fmt,arg) if (v->sys_debug) printf(fmt,arg)
218
+ #else
219
+ # define D_puts(msg)
220
+ # define D_printf(fmt,arg)
221
+ #endif
222
+
223
+ #undef RUBY_UNTYPED_DATA_WARNING
224
+ #define RUBY_UNTYPED_DATA_WARNING 1
225
+
226
+ static const rb_data_type_t cparse_params_type = {
227
+ "racc/cparse",
228
+ {
229
+ cparse_params_mark,
230
+ RUBY_TYPED_DEFAULT_FREE,
231
+ cparse_params_memsize,
232
+ },
233
+ #ifdef RUBY_TYPED_FREE_IMMEDIATELY
234
+ 0, 0,
235
+ RUBY_TYPED_FREE_IMMEDIATELY,
236
+ #endif
237
+ };
238
+
239
+ static VALUE
240
+ racc_cparse(VALUE parser, VALUE arg, VALUE sysdebug)
241
+ {
242
+ VALUE vparams;
243
+ struct cparse_params *v;
244
+
245
+ vparams = TypedData_Make_Struct(CparseParams, struct cparse_params,
246
+ &cparse_params_type, v);
247
+ D_puts("starting cparse");
248
+ v->sys_debug = RTEST(sysdebug);
249
+ vparams = initialize_params(vparams, parser, arg, Qnil, Qnil);
250
+ v->lex_is_iterator = FALSE;
251
+ parse_main(v, Qnil, Qnil, 0);
252
+
253
+ RB_GC_GUARD(vparams);
254
+ return v->retval;
255
+ }
256
+
257
+ static VALUE
258
+ racc_yyparse(VALUE parser, VALUE lexer, VALUE lexmid, VALUE arg, VALUE sysdebug)
259
+ {
260
+ VALUE vparams;
261
+ struct cparse_params *v;
262
+
263
+ vparams = TypedData_Make_Struct(CparseParams, struct cparse_params,
264
+ &cparse_params_type, v);
265
+ v->sys_debug = RTEST(sysdebug);
266
+ D_puts("start C yyparse");
267
+ vparams = initialize_params(vparams, parser, arg, lexer, lexmid);
268
+ v->lex_is_iterator = TRUE;
269
+ D_puts("params initialized");
270
+ parse_main(v, Qnil, Qnil, 0);
271
+ call_lexer(v);
272
+ if (!v->fin) {
273
+ rb_raise(rb_eArgError, "%s() is finished before EndOfToken",
274
+ rb_id2name(v->lexmid));
275
+ }
276
+
277
+ RB_GC_GUARD(vparams);
278
+ return v->retval;
279
+ }
280
+
281
+ #ifdef HAVE_RB_BLOCK_CALL
282
+ static void
283
+ call_lexer(struct cparse_params *v)
284
+ {
285
+ rb_block_call(v->lexer, v->lexmid, 0, NULL, lexer_i, v->value_v);
286
+ }
287
+ #else
288
+ static VALUE
289
+ lexer_iter(VALUE data)
290
+ {
291
+ struct cparse_params *v = rb_check_typeddata(data, &cparse_params_type);
292
+
293
+ rb_funcall(v->lexer, v->lexmid, 0);
294
+ return Qnil;
295
+ }
296
+
297
+ static void
298
+ call_lexer(struct cparse_params *v)
299
+ {
300
+ rb_iterate(lexer_iter, v->value_v, lexer_i, v->value_v);
301
+ }
302
+ #endif
303
+
304
+ static VALUE
305
+ lexer_i(RB_BLOCK_CALL_FUNC_ARGLIST(block_args, data))
306
+ {
307
+ struct cparse_params *v = rb_check_typeddata(data, &cparse_params_type);
308
+ VALUE tok, val;
309
+
310
+ if (v->fin)
311
+ rb_raise(rb_eArgError, "extra token after EndOfToken");
312
+ extract_user_token(v, block_args, &tok, &val);
313
+ parse_main(v, tok, val, 1);
314
+ if (v->fin && v->fin != CP_FIN_ACCEPT)
315
+ rb_iter_break();
316
+ return Qnil;
317
+ }
318
+
319
+ static VALUE
320
+ assert_array(VALUE a)
321
+ {
322
+ Check_Type(a, T_ARRAY);
323
+ return a;
324
+ }
325
+
326
+ static VALUE
327
+ assert_hash(VALUE h)
328
+ {
329
+ Check_Type(h, T_HASH);
330
+ return h;
331
+ }
332
+
333
+ static long
334
+ assert_integer(VALUE n)
335
+ {
336
+ return NUM2LONG(n);
337
+ }
338
+
339
+ static VALUE
340
+ initialize_params(VALUE vparams, VALUE parser, VALUE arg, VALUE lexer, VALUE lexmid)
341
+ {
342
+ struct cparse_params *v = rb_check_typeddata(vparams, &cparse_params_type);
343
+
344
+ v->value_v = vparams;
345
+ v->parser = parser;
346
+ v->lexer = lexer;
347
+ if (! NIL_P(lexmid))
348
+ v->lexmid = value_to_id(lexmid);
349
+
350
+ v->debug = RTEST(rb_ivar_get(parser, id_yydebug));
351
+
352
+ Check_Type(arg, T_ARRAY);
353
+ if (!(13 <= RARRAY_LEN(arg) && RARRAY_LEN(arg) <= 14))
354
+ rb_raise(RaccBug, "[Racc Bug] wrong arg.size %ld", RARRAY_LEN(arg));
355
+ v->action_table = assert_array (rb_ary_entry(arg, 0));
356
+ v->action_check = assert_array (rb_ary_entry(arg, 1));
357
+ v->action_default = assert_array (rb_ary_entry(arg, 2));
358
+ v->action_pointer = assert_array (rb_ary_entry(arg, 3));
359
+ v->goto_table = assert_array (rb_ary_entry(arg, 4));
360
+ v->goto_check = assert_array (rb_ary_entry(arg, 5));
361
+ v->goto_default = assert_array (rb_ary_entry(arg, 6));
362
+ v->goto_pointer = assert_array (rb_ary_entry(arg, 7));
363
+ v->nt_base = assert_integer(rb_ary_entry(arg, 8));
364
+ v->reduce_table = assert_array (rb_ary_entry(arg, 9));
365
+ v->token_table = assert_hash (rb_ary_entry(arg, 10));
366
+ v->shift_n = assert_integer(rb_ary_entry(arg, 11));
367
+ v->reduce_n = assert_integer(rb_ary_entry(arg, 12));
368
+ if (RARRAY_LEN(arg) > 13) {
369
+ v->use_result_var = RTEST(rb_ary_entry(arg, 13));
370
+ }
371
+ else {
372
+ v->use_result_var = TRUE;
373
+ }
374
+
375
+ v->tstack = v->debug ? NEW_STACK() : Qnil;
376
+ v->vstack = NEW_STACK();
377
+ v->state = NEW_STACK();
378
+ v->curstate = 0;
379
+ PUSH(v->state, INT2FIX(0));
380
+ v->t = INT2FIX(FINAL_TOKEN + 1); /* must not init to FINAL_TOKEN */
381
+ v->nerr = 0;
382
+ v->errstatus = 0;
383
+ rb_ivar_set(parser, id_errstatus, LONG2NUM(v->errstatus));
384
+
385
+ v->retval = Qnil;
386
+ v->fin = 0;
387
+
388
+ v->lex_is_iterator = FALSE;
389
+
390
+ rb_iv_set(parser, "@vstack", v->vstack);
391
+ if (v->debug) {
392
+ rb_iv_set(parser, "@tstack", v->tstack);
393
+ }
394
+ else {
395
+ rb_iv_set(parser, "@tstack", Qnil);
396
+ }
397
+
398
+ return vparams;
399
+ }
400
+
401
+ static void
402
+ cparse_params_mark(void *ptr)
403
+ {
404
+ struct cparse_params *v = (struct cparse_params*)ptr;
405
+
406
+ rb_gc_mark(v->value_v);
407
+ rb_gc_mark(v->parser);
408
+ rb_gc_mark(v->lexer);
409
+ rb_gc_mark(v->action_table);
410
+ rb_gc_mark(v->action_check);
411
+ rb_gc_mark(v->action_default);
412
+ rb_gc_mark(v->action_pointer);
413
+ rb_gc_mark(v->goto_table);
414
+ rb_gc_mark(v->goto_check);
415
+ rb_gc_mark(v->goto_default);
416
+ rb_gc_mark(v->goto_pointer);
417
+ rb_gc_mark(v->reduce_table);
418
+ rb_gc_mark(v->token_table);
419
+ rb_gc_mark(v->state);
420
+ rb_gc_mark(v->vstack);
421
+ rb_gc_mark(v->tstack);
422
+ rb_gc_mark(v->t);
423
+ rb_gc_mark(v->retval);
424
+ }
425
+
426
+ static size_t
427
+ cparse_params_memsize(const void *ptr)
428
+ {
429
+ return sizeof(struct cparse_params);
430
+ }
431
+
432
+ static void
433
+ extract_user_token(struct cparse_params *v, VALUE block_args,
434
+ VALUE *tok, VALUE *val)
435
+ {
436
+ if (NIL_P(block_args)) {
437
+ /* EOF */
438
+ *tok = Qfalse;
439
+ *val = rb_str_new("$", 1);
440
+ return;
441
+ }
442
+
443
+ if (!RB_TYPE_P(block_args, T_ARRAY)) {
444
+ rb_raise(rb_eTypeError,
445
+ "%s() %s %"PRIsVALUE" (must be Array[2])",
446
+ v->lex_is_iterator ? rb_id2name(v->lexmid) : "next_token",
447
+ v->lex_is_iterator ? "yielded" : "returned",
448
+ rb_obj_class(block_args));
449
+ }
450
+ if (RARRAY_LEN(block_args) != 2) {
451
+ rb_raise(rb_eArgError,
452
+ "%s() %s wrong size of array (%ld for 2)",
453
+ v->lex_is_iterator ? rb_id2name(v->lexmid) : "next_token",
454
+ v->lex_is_iterator ? "yielded" : "returned",
455
+ RARRAY_LEN(block_args));
456
+ }
457
+ *tok = AREF(block_args, 0);
458
+ *val = AREF(block_args, 1);
459
+ }
460
+
461
+ #define SHIFT(v,act,tok,val) shift(v,act,tok,val)
462
+ #define REDUCE(v,act) do {\
463
+ switch (reduce(v,act)) { \
464
+ case 0: /* normal */ \
465
+ break; \
466
+ case 1: /* yyerror */ \
467
+ goto user_yyerror; \
468
+ case 2: /* yyaccept */ \
469
+ D_puts("u accept"); \
470
+ goto accept; \
471
+ default: \
472
+ break; \
473
+ } \
474
+ } while (0)
475
+
476
+ static void
477
+ parse_main(struct cparse_params *v, VALUE tok, VALUE val, int resume)
478
+ {
479
+ long i; /* table index */
480
+ long act; /* action type */
481
+ VALUE act_value; /* action type, VALUE version */
482
+ int read_next = 1; /* true if we need to read next token */
483
+ VALUE tmp;
484
+
485
+ if (resume)
486
+ goto resume;
487
+
488
+ while (1) {
489
+ D_puts("");
490
+ D_puts("---- enter new loop ----");
491
+ D_puts("");
492
+
493
+ D_printf("(act) k1=%ld\n", v->curstate);
494
+ tmp = AREF(v->action_pointer, v->curstate);
495
+ if (NIL_P(tmp)) goto notfound;
496
+ D_puts("(act) pointer[k1] ok");
497
+ i = NUM2LONG(tmp);
498
+
499
+ D_printf("read_next=%d\n", read_next);
500
+ if (read_next && (v->t != vFINAL_TOKEN)) {
501
+ if (v->lex_is_iterator) {
502
+ D_puts("resuming...");
503
+ if (v->fin) rb_raise(rb_eArgError, "token given after EOF");
504
+ v->i = i; /* save i */
505
+ return;
506
+ resume:
507
+ D_puts("resumed");
508
+ i = v->i; /* load i */
509
+ }
510
+ else {
511
+ D_puts("next_token");
512
+ tmp = rb_funcall(v->parser, id_nexttoken, 0);
513
+ extract_user_token(v, tmp, &tok, &val);
514
+ }
515
+ /* convert token */
516
+ v->t = rb_hash_aref(v->token_table, tok);
517
+ if (NIL_P(v->t)) {
518
+ v->t = vERROR_TOKEN;
519
+ }
520
+ D_printf("(act) t(k2)=%ld\n", NUM2LONG(v->t));
521
+ if (v->debug) {
522
+ rb_funcall(v->parser, id_d_read_token,
523
+ 3, v->t, tok, val);
524
+ }
525
+ }
526
+ read_next = 0;
527
+
528
+ i += NUM2LONG(v->t);
529
+ D_printf("(act) i=%ld\n", i);
530
+ if (i < 0) goto notfound;
531
+
532
+ act_value = AREF(v->action_table, i);
533
+ if (NIL_P(act_value)) goto notfound;
534
+ act = NUM2LONG(act_value);
535
+ D_printf("(act) table[i]=%ld\n", act);
536
+
537
+ tmp = AREF(v->action_check, i);
538
+ if (NIL_P(tmp)) goto notfound;
539
+ if (NUM2LONG(tmp) != v->curstate) goto notfound;
540
+ D_printf("(act) check[i]=%ld\n", NUM2LONG(tmp));
541
+
542
+ D_puts("(act) found");
543
+ act_fixed:
544
+ D_printf("act=%ld\n", act);
545
+ goto handle_act;
546
+
547
+ notfound:
548
+ D_puts("(act) not found: use default");
549
+ act_value = AREF(v->action_default, v->curstate);
550
+ act = NUM2LONG(act_value);
551
+ goto act_fixed;
552
+
553
+
554
+ handle_act:
555
+ if (act > 0 && act < v->shift_n) {
556
+ D_puts("shift");
557
+ if (v->errstatus > 0) {
558
+ v->errstatus--;
559
+ rb_ivar_set(v->parser, id_errstatus, LONG2NUM(v->errstatus));
560
+ }
561
+ SHIFT(v, act, v->t, val);
562
+ read_next = 1;
563
+ }
564
+ else if (act < 0 && act > -(v->reduce_n)) {
565
+ D_puts("reduce");
566
+ REDUCE(v, act);
567
+ }
568
+ else if (act == -(v->reduce_n)) {
569
+ goto error;
570
+ error_recovered:
571
+ ; /* goto label requires stmt */
572
+ }
573
+ else if (act == v->shift_n) {
574
+ D_puts("accept");
575
+ goto accept;
576
+ }
577
+ else {
578
+ rb_raise(RaccBug, "[Racc Bug] unknown act value %ld", act);
579
+ }
580
+
581
+ if (v->debug) {
582
+ rb_funcall(v->parser, id_d_next_state,
583
+ 2, LONG2NUM(v->curstate), v->state);
584
+ }
585
+ }
586
+ /* not reach */
587
+
588
+
589
+ accept:
590
+ if (v->debug) rb_funcall(v->parser, id_d_accept, 0);
591
+ v->retval = rb_ary_entry(v->vstack, 0);
592
+ v->fin = CP_FIN_ACCEPT;
593
+ return;
594
+
595
+
596
+ error:
597
+ D_printf("error detected, status=%ld\n", v->errstatus);
598
+ if (v->errstatus == 0) {
599
+ v->nerr++;
600
+ rb_funcall(v->parser, id_onerror,
601
+ 3, v->t, val, v->vstack);
602
+ }
603
+ user_yyerror:
604
+ if (v->errstatus == 3) {
605
+ if (v->t == vFINAL_TOKEN) {
606
+ v->retval = Qnil;
607
+ v->fin = CP_FIN_EOT;
608
+ return;
609
+ }
610
+ read_next = 1;
611
+ }
612
+ v->errstatus = 3;
613
+ rb_ivar_set(v->parser, id_errstatus, LONG2NUM(v->errstatus));
614
+
615
+ /* check if we can shift/reduce error token */
616
+ D_printf("(err) k1=%ld\n", v->curstate);
617
+ D_printf("(err) k2=%d (error)\n", ERROR_TOKEN);
618
+ while (1) {
619
+ tmp = AREF(v->action_pointer, v->curstate);
620
+ if (NIL_P(tmp)) goto error_pop;
621
+ D_puts("(err) pointer[k1] ok");
622
+
623
+ i = NUM2LONG(tmp) + ERROR_TOKEN;
624
+ D_printf("(err) i=%ld\n", i);
625
+ if (i < 0) goto error_pop;
626
+
627
+ act_value = AREF(v->action_table, i);
628
+ if (NIL_P(act_value)) {
629
+ D_puts("(err) table[i] == nil");
630
+ goto error_pop;
631
+ }
632
+ act = NUM2LONG(act_value);
633
+ D_printf("(err) table[i]=%ld\n", act);
634
+
635
+ tmp = AREF(v->action_check, i);
636
+ if (NIL_P(tmp)) {
637
+ D_puts("(err) check[i] == nil");
638
+ goto error_pop;
639
+ }
640
+ if (NUM2LONG(tmp) != v->curstate) {
641
+ D_puts("(err) check[i] != k1");
642
+ goto error_pop;
643
+ }
644
+
645
+ D_puts("(err) found: can handle error token");
646
+ break;
647
+
648
+ error_pop:
649
+ D_puts("(err) act not found: can't handle error token; pop");
650
+
651
+ if (RARRAY_LEN(v->state) <= 1) {
652
+ v->retval = Qnil;
653
+ v->fin = CP_FIN_CANTPOP;
654
+ return;
655
+ }
656
+ POP(v->state);
657
+ POP(v->vstack);
658
+ v->curstate = num_to_long(LAST_I(v->state));
659
+ if (v->debug) {
660
+ POP(v->tstack);
661
+ rb_funcall(v->parser, id_d_e_pop,
662
+ 3, v->state, v->tstack, v->vstack);
663
+ }
664
+ }
665
+
666
+ /* shift/reduce error token */
667
+ if (act > 0 && act < v->shift_n) {
668
+ D_puts("e shift");
669
+ SHIFT(v, act, ERROR_TOKEN, val);
670
+ }
671
+ else if (act < 0 && act > -(v->reduce_n)) {
672
+ D_puts("e reduce");
673
+ REDUCE(v, act);
674
+ }
675
+ else if (act == v->shift_n) {
676
+ D_puts("e accept");
677
+ goto accept;
678
+ }
679
+ else {
680
+ rb_raise(RaccBug, "[Racc Bug] unknown act value %ld", act);
681
+ }
682
+ goto error_recovered;
683
+ }
684
+
685
+ static void
686
+ shift(struct cparse_params *v, long act, VALUE tok, VALUE val)
687
+ {
688
+ PUSH(v->vstack, val);
689
+ if (v->debug) {
690
+ PUSH(v->tstack, tok);
691
+ rb_funcall(v->parser, id_d_shift,
692
+ 3, tok, v->tstack, v->vstack);
693
+ }
694
+ v->curstate = act;
695
+ PUSH(v->state, LONG2NUM(v->curstate));
696
+ }
697
+
698
+ static int
699
+ reduce(struct cparse_params *v, long act)
700
+ {
701
+ VALUE code;
702
+ v->ruleno = -act * 3;
703
+ code = rb_catch("racc_jump", reduce0, v->value_v);
704
+ v->errstatus = num_to_long(rb_ivar_get(v->parser, id_errstatus));
705
+ return NUM2INT(code);
706
+ }
707
+
708
+ static VALUE
709
+ reduce0(RB_BLOCK_CALL_FUNC_ARGLIST(_, data))
710
+ {
711
+ struct cparse_params *v = rb_check_typeddata(data, &cparse_params_type);
712
+ VALUE reduce_to, reduce_len, method_id;
713
+ long len;
714
+ ID mid;
715
+ VALUE tmp, tmp_t = Qundef, tmp_v = Qundef;
716
+ long i, k1, k2;
717
+ VALUE goto_state;
718
+
719
+ reduce_len = rb_ary_entry(v->reduce_table, v->ruleno);
720
+ reduce_to = rb_ary_entry(v->reduce_table, v->ruleno+1);
721
+ method_id = rb_ary_entry(v->reduce_table, v->ruleno+2);
722
+ len = NUM2LONG(reduce_len);
723
+ mid = value_to_id(method_id);
724
+
725
+ /* call action */
726
+ if (len == 0) {
727
+ tmp = Qnil;
728
+ if (mid != id_noreduce)
729
+ tmp_v = rb_ary_new();
730
+ if (v->debug)
731
+ tmp_t = rb_ary_new();
732
+ }
733
+ else {
734
+ if (mid != id_noreduce) {
735
+ tmp_v = GET_TAIL(v->vstack, len);
736
+ tmp = rb_ary_entry(tmp_v, 0);
737
+ }
738
+ else {
739
+ tmp = rb_ary_entry(v->vstack, RARRAY_LEN(v->vstack) - len);
740
+ }
741
+ CUT_TAIL(v->vstack, len);
742
+ if (v->debug) {
743
+ tmp_t = GET_TAIL(v->tstack, len);
744
+ CUT_TAIL(v->tstack, len);
745
+ }
746
+ CUT_TAIL(v->state, len);
747
+ }
748
+ if (mid != id_noreduce) {
749
+ if (v->use_result_var) {
750
+ tmp = rb_funcall(v->parser, mid,
751
+ 3, tmp_v, v->vstack, tmp);
752
+ }
753
+ else {
754
+ tmp = rb_funcall(v->parser, mid,
755
+ 2, tmp_v, v->vstack);
756
+ }
757
+ }
758
+
759
+ /* then push result */
760
+ PUSH(v->vstack, tmp);
761
+ if (v->debug) {
762
+ PUSH(v->tstack, reduce_to);
763
+ rb_funcall(v->parser, id_d_reduce,
764
+ 4, tmp_t, reduce_to, v->tstack, v->vstack);
765
+ }
766
+
767
+ /* calculate transition state */
768
+ if (RARRAY_LEN(v->state) == 0)
769
+ rb_raise(RaccBug, "state stack unexpectedly empty");
770
+ k2 = num_to_long(LAST_I(v->state));
771
+ k1 = num_to_long(reduce_to) - v->nt_base;
772
+ D_printf("(goto) k1=%ld\n", k1);
773
+ D_printf("(goto) k2=%ld\n", k2);
774
+
775
+ tmp = AREF(v->goto_pointer, k1);
776
+ if (NIL_P(tmp)) goto notfound;
777
+
778
+ i = NUM2LONG(tmp) + k2;
779
+ D_printf("(goto) i=%ld\n", i);
780
+ if (i < 0) goto notfound;
781
+
782
+ goto_state = AREF(v->goto_table, i);
783
+ if (NIL_P(goto_state)) {
784
+ D_puts("(goto) table[i] == nil");
785
+ goto notfound;
786
+ }
787
+ D_printf("(goto) table[i]=%ld (goto_state)\n", NUM2LONG(goto_state));
788
+
789
+ tmp = AREF(v->goto_check, i);
790
+ if (NIL_P(tmp)) {
791
+ D_puts("(goto) check[i] == nil");
792
+ goto notfound;
793
+ }
794
+ if (tmp != LONG2NUM(k1)) {
795
+ D_puts("(goto) check[i] != table[i]");
796
+ goto notfound;
797
+ }
798
+ D_printf("(goto) check[i]=%ld\n", NUM2LONG(tmp));
799
+
800
+ D_puts("(goto) found");
801
+ transit:
802
+ PUSH(v->state, goto_state);
803
+ v->curstate = NUM2LONG(goto_state);
804
+ return INT2FIX(0);
805
+
806
+ notfound:
807
+ D_puts("(goto) not found: use default");
808
+ /* overwrite `goto-state' by default value */
809
+ goto_state = AREF(v->goto_default, k1);
810
+ goto transit;
811
+ }
812
+
813
+ /* -----------------------------------------------------------------------
814
+ Ruby Interface
815
+ ----------------------------------------------------------------------- */
816
+
817
+ void
818
+ Init_cparse(void)
819
+ {
820
+ #ifdef HAVE_RB_EXT_RACTOR_SAFE
821
+ rb_ext_ractor_safe(true);
822
+ #endif
823
+
824
+ VALUE Racc, Parser;
825
+ ID id_racc = rb_intern_const("Racc");
826
+
827
+ if (rb_const_defined(rb_cObject, id_racc)) {
828
+ Racc = rb_const_get(rb_cObject, id_racc);
829
+ Parser = rb_const_get_at(Racc, rb_intern_const("Parser"));
830
+ }
831
+ else {
832
+ Racc = rb_define_module("Racc");
833
+ Parser = rb_define_class_under(Racc, "Parser", rb_cObject);
834
+ }
835
+ rb_define_private_method(Parser, "_racc_do_parse_c", racc_cparse, 2);
836
+ rb_define_private_method(Parser, "_racc_yyparse_c", racc_yyparse, 4);
837
+ rb_define_const(Parser, "Racc_Runtime_Core_Version_C",
838
+ rb_str_new2(RACC_VERSION));
839
+ rb_define_const(Parser, "Racc_Runtime_Core_Id_C",
840
+ rb_str_new2("$originalId: cparse.c,v 1.8 2006/07/06 11:39:46 aamine Exp $"));
841
+
842
+ CparseParams = rb_define_class_under(Racc, "CparseParams", rb_cObject);
843
+ rb_undef_alloc_func(CparseParams);
844
+ rb_undef_method(CparseParams, "initialize");
845
+ rb_undef_method(CparseParams, "initialize_copy");
846
+
847
+ RaccBug = rb_eRuntimeError;
848
+
849
+ id_yydebug = rb_intern_const("@yydebug");
850
+ id_nexttoken = rb_intern_const("next_token");
851
+ id_onerror = rb_intern_const("on_error");
852
+ id_noreduce = rb_intern_const("_reduce_none");
853
+ id_errstatus = rb_intern_const("@racc_error_status");
854
+
855
+ id_d_shift = rb_intern_const("racc_shift");
856
+ id_d_reduce = rb_intern_const("racc_reduce");
857
+ id_d_accept = rb_intern_const("racc_accept");
858
+ id_d_read_token = rb_intern_const("racc_read_token");
859
+ id_d_next_state = rb_intern_const("racc_next_state");
860
+ id_d_e_pop = rb_intern_const("racc_e_pop");
861
+ }